cancel
Showing results for 
Search instead for 
Did you mean: 

Check Key Mapping Exist for BP and delete via Program

01-10-2024 7:05 AM
deepakmk1996 Explorer
1859 views 2 comments
0 Likes
SAP Managed Tags
Subscribe

Hello SAP Experts,

We a building a custom report for our one of requirement, where we have to read the Key Mapping for our BP (Just like we do from NWBC UI in MDG), if key mapping exits for for thst BP, we have to delete key Mapping for Vendor linked with that BP via Programatically and log should be there in CDPOS and CDHDR Tables.

Is there any Standard process to to read the Key Mapping and delete the mapping.

Any pointers will be appreciated.

Thanks!

0 Likes

Accepted Solutions (0)

Answers (2)

Answers (2)

RiccardoBrogi
Product and Topic Expert
Product and Topic Expert

Hello deepakmk1996,

Some time ago, other members of the MDG community wrote a couple nice blog covering this specific topic.

I'd recommend you to go through:

Regards,

R.

headofants
Explorer
0 Likes

Have a look at the Key Mapping API class that SAP provides - CL_MDG_MATCHING_API_BS. You'll find methods to read, add, and delete key mappings. Not sure if the logs get added in CDHDR/CDPOS. Doesn't SAP have separate change document functionality for key mappings under IDMIMG that you can enable?