on 08-10-2011 11:39 AM
Hi Experts,
I have a scenario in which i want to run a particular code after only the successful submission of any SBO form like GRPO.
The code should also not run in case of pressing the add button and we have any error on form. In my current scenario i am using item press event for item "ADD Button" on GRPO. But my code is also running if i miss any thing (SAY DATE). In this case my code is running an every press of add but ,i want it on every successful submission of form instead of add button.
I have also tried using DATA Event but it is also not helping. It is also gets failed in case of any error or the code also runs in case of any update on the same form.
I want to run the code only once in case of successful add event
Thanks
Amit
Hi Amit,
Try This.....
Write Your code in Form Data Event
If BusinessObjectInfo.FormTypeEx = "143" And BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD And BusinessObjectInfo.BeforeAction = False And BusinessObjectInfo.ActionSuccess = True Then
''............. ur code
end if
Thanks
Shafi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.