Skip to Content
0
Jan 11, 2012 at 01:46 AM

Copy KF for a product at a location to the same product at another location

99 Views

Hi all

I am trying to copy a Key Figure for a material, say M at location A to the same key figure for the same material M at location B.

I am using a BAPi to do this. ( The copying happens in the same version ). This is order series copying.

The BAPI being used is /SAPAPO?RRP_LC_PEGID_GET_IO to get the data and prior to that, i use /SAPAPO/DM_MATERIAL_GET_PEGID to get the PEGID.

I need the value for the parameters that would make this BAPI work.

I have just tried putting in the PEGID and it says COM error and the program is terminated.

Any help on making this work successfully is totally appreciated.

Thanks

Ruchi