Quantcast
Channel: SCN : All Content - SAP Business Workflow
Viewing all articles
Browse latest Browse all 995

issue while triggering workflow BUS2030- changed event

$
0
0

Hi All,

 

I am facing an issue.  We are creating an enquiry from VA11 tcode. After creating the enquiry, the user goes to VA12 tcode  and change the status from VA12 -> goto -> header -> status -> object status . ( screenshot attached).


Header - status.PNG


If the status is released, then the workflow should trigger.


now I have used the user exit  -  USEREXIT_SAVE_DOCUMENT ( MV45AFZZ ) to trigger this workflow.

The field is RV45A-ASTTX.

If RV45A-ASTTX = 'REL'.

trigger workflow.. ( bus2030 -> changed)

otherwise not..


Now i have done the coding for the above issue.

The problem is - even if the user does not change the status to 'released' and change any other field in the enquiry from va12, the same event is triggered ( BUS2030 -> changed ) .


User does not want to go to any other tcode to release this order.


Hence, my check (enquiry is released) fails. How should I handle his situation.


Regards

Meenakshi



Viewing all articles
Browse latest Browse all 995

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>