cancel
Showing results for 
Search instead for 
Did you mean: 

Save Data to ECC Before Workflow Ends

benjamin_allsopp
Active Participant
0 Kudos

Hello,

We're implementing MDG-M and we have some fairly long and complicated processes.

There is a requirement now to save some data from an MDG CR down to SAP ECC database tables mid process and without closing the CR.

Is there any standard method/ way that I could save data from staging tables to ECC and still allow the CR to continue to the next step?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Benjamin,

Have you checked the BAdI of System Method for Rule-Based Workflow ?

BAdI Definition: USMD_SSW_SYSTEM_METHOD_CALLER

Method: CALL_SYSTEM_METHOD

Inside the method you will get the CR number as importing parameter. From the CR number, you could read complete CR data in that CR using API methods.

This could be the ideal place where you could write your updation code or call BAPI's to update the ECC tables.


But choose the right step in RBW for calling the synchronous method.

benjamin_allsopp
Active Participant
0 Kudos

Hi,

Thanks for this.

It works...it was slightly more complicated as I had to call the SMT mapping engine to map the data to the right fields in the ECC structures before calling the BAPI to save down to database.

Answers (0)