Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_MATERIAL_SAVEDATA error

Former Member
0 Likes
1,420

Hi experts ,

I am having problem while uploading a sfg material . when i upload it through my upload program it gives me error "Profit center 1000/1121 does not exist" ,though it has been created .........and for same material if we create it manually through MM01 it gets created without error...........my programme is running properly for other material.

error file is attached herewith.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,163

Hi Sachin,

Try calling the conversion routine "CONVERSION_EXIT_ALPHA_INPUT" to the profit center and pass the new value to your upload program.

Hope this will solve your issues.

Thanks,

Gupta

7 REPLIES 7
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,163

Can you check internal format value validity (conversion exit ALPHA, leading space ?) as well as validity dates (via KE03)

(As it works with transaction which convert data from external format input to internal format, I suspect a classic conversion-exit error.)

Regards,

Raymond

Read only

Former Member
0 Likes
1,164

Hi Sachin,

Try calling the conversion routine "CONVERSION_EXIT_ALPHA_INPUT" to the profit center and pass the new value to your upload program.

Hope this will solve your issues.

Thanks,

Gupta

Read only

Former Member
0 Likes
1,163

Hi.

Please check whether you have passed the Profit center value at PLANTDATA-PROFIT_CTR.

Do check this & let me know...

~Guru

Read only

Former Member
0 Likes
1,163

yes i have already passed the data to plantdata-PROFIT_CTR.

Read only

Former Member
0 Likes
1,163

by using same programme i have already uploaded materials but at that time profit center was not defined

Read only

sebastian_hockmann2
Participant
0 Likes
1,163

Hello.

the idoc is not created properly. Not used field have to be set to /.

If you use transaction MASS with BUS1001 you can see the idoc resulting

from your data.

Here you can see your error.

Best regards,
Sebastian

Read only

0 Likes
1,163

Hello.

you have to set the breakpoint in fm "IDOC_INPUT_MATMAS01". It will be called from Tx MASS.

BR,
Sebastian