Skip to Content
avatar image
Former Member

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

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 11, 2017 at 03:06 PM

    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

    Add comment
    10|10000 characters needed characters exceeded