Skip to Content

Migrate BP data from legacy system to SAP S/4HANA using the API CL_MD_BP_MAINTAIN

Nov 27, 2017 at 12:43 PM


avatar image

Hello experts!!

Could someone help me, please?
I was searching about the new SAP tool, Migration Cockpit (LTMC), to migrate BP data from a legacy system to a SAP S/4HANA, and I found this SAP note:

It says that the RFC used until now is obsolete and recommend to use the API CL_MD_BP_MAINTAIN. However, it doens't give any details about how to use it.

Do you have any directions to give me about how to proceed?

Thank you so much!

Amanda Bezerra

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Unmesh Salvi Feb 02 at 05:36 PM

Just call method in Function Module and pass the data to the same.

or join course on for LTMC and Data Migration to SAP S/4HANA

10 |10000 characters needed characters left characters exceeded
Dharshan A
Feb 23 at 06:15 PM

Hi Amanda,

Unmesh Salvi is right as it requires knowledge about creation of custom object in S/4 Migration Cockpit.

I cannot talk from BP perspective as i am not expert in that area, but i can give you an idea on how to use the infromation from note to implement a Migration cockpit object.

Below are the high level steps to be followed:

1. Create a function module which accepts structure CVIS_EI_EXTERN , has a flag to simulate test mode and BAPIRET2 structure returning messages.

2. In the function module you can call VALIDATE_SINGLE method and then MAINTAIN method of the class CL_MD_BP_MAINTAIN with the data as per note 2417298.

2. Create a custom object in LTMOM using the function module created as mentioned above. The source structure definition can be deduced from CVIS_EI_EXTERN

3. Generate object, download excel and enjoy!!

Please note that there can be multiple designs in implementation, like for example, you can still breakup the CVIS_EI_EXTERN structure for file template and then prepare it in the function module.

Thanks and Regards,

Dharshan A

10 |10000 characters needed characters left characters exceeded