Skip to Content
0

how to get the response whenever click the Add button from GRPO in SAP Business one.

Sep 11, 2017 at 02:10 PM

37

avatar image
Former Member

capture.jpg

We need to get the response whenever click the add button from GRPO. it was success and add external updates after creating the document. how to check success response when ever click the Add button in SAP business one.

capture.jpg (97.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
ANKIT CHAUHAN
Sep 11, 2017 at 03:06 PM
0

Hi Suresh,

You can refer to Form Data Events for the same which can be used something as below:

The following program will be executed once the GRPO is added to the system successfully.

public override void Handle_SBO_DataEvent(ref BusinessObjectInfo BusinessObjectInfo, out bool BubbleEvent)
        {
            BubbleEvent = true;

            if (BusinessObjectInfo.BeforeAction == false)
            {
                switch (BusinessObjectInfo.EventType)
                {
                    case BoEventTypes.et_FORM_DATA_ADD:
                        {
                            switch (BusinessObjectInfo.FormTypeEx)
                            {
                                case "143":
                                    {
                                    }break;
                            }
                        } break;
             }
       }

Kind regards,

ANKIT CHAUHAN

SAP SME Support

Share
10 |10000 characters needed characters left characters exceeded