cancel
Showing results for 
Search instead for 
Did you mean: 

Event for successful submission of SBO form

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Thanks it is working fine

Answers (0)