cancel
Showing results for 
Search instead for 
Did you mean: 

BADI to add leading zero to material in DP

Former Member
0 Kudos

Hello,

I wanted to check if there is a BADI that can be used while generating CVC (/sapapo/mc62) that will add leading zeros to the product number (9amatnr) while uploading CVCs from FLAT FILE.

Thanks,

Sanju

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member583013
Active Contributor
0 Kudos

Hi,

To create CVCwith leading zeros you have 2 options:

1.In flat file itself insert the leading zero

2.using BADI /SAPAPO/SDP_MASTER you can change the input values before creating CVC in APO

Regards,

Sunitha

Former Member
0 Kudos

Hi Sanju,

Write a Formula in the Transformation to concatenate the zeros for the 9AMATNR

Example: '000000000000' & APO Product

hope this will help you

Regards

Venkat

Former Member
0 Kudos

Dear Sanju

I think by using the flat file you are loading the data in Info cube first and than you are creating CVCs based on this infocube. If yes, I will suggest to remove the leading zero in the update rule itself while loading the data in Infocube.

Thank

Amol

Former Member
0 Kudos

Hello,

I am basically trying to create CVC from a TAB delimited file using tcode /sapapo/mc62. The file will be loaded on Application server and /sapapo/mc62 will pick up the tab delimited file in background. I want a FM or BADI that can pad leading zero in front of the material Characteristics when CVCs are generated.

Please advise.

I am not planning to load the file into infocube and generate CVC from infocube.

Thanks

Former Member
0 Kudos

why do u need the leading zeroes ?

Former Member
0 Kudos

Try /SAPAPO/SDP_MASTER.

Thanks

Mani Suresh