Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 02 at 05:36 PM

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

    or join course on open.sap.com for LTMC and Data Migration to SAP S/4HANA

    Add comment
    10|10000 characters needed characters exceeded

  • 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

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 09 at 05:59 PM

    Hi Amanda,

    where you able to create a custom migration object using the API mentioned? I am currently trying the same, but using the fm BAPI_BUPA_CREATE_FROM_DATA. No errors occur during upload, but neither is any data uploaded. So it would be good to hear if your approach was successful.

    Thanks and regards,

    Tolga A

    Add comment
    10|10000 characters needed characters exceeded