cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos
122

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.

Accepted Solutions (1)

Accepted Solutions (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Answers (0)