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

Material mster data uploading using Bapi

Former Member
0 Likes
492

Hi

I am uploading the material master data using lsmw-bapi. It showing the status records 51-Application document not posted. The message was 'Key fields for use data SALESDATA and checkbox structure SALESDATAX are' .

Please help me

Regards

GAnesh

3 REPLIES 3
Read only

JL23
Active Contributor
0 Likes
455

when you are in LSMW step 16 Create IDoc Overview

double click the IDOC in red

in IDOC display, drill down to the message below status 51

double click the icon in fron of the message and you will get a pop-up with long text.

there are hyperlinks in the pop-up.

copy the number into memory, then click the hyperlink "proceed" to display the apllication log.

.

enter the application log number and execute (this is transaction MM90, you can run it without number, but it takes much longer

Now you should be able to see the full messages and reasons for the failure.

Read only

Former Member
0 Likes
455

hi,

before using in LSMW, try to execute that in using BAPI 'BAPI_MATERIAL_SAVEDATA', whatever fields u have used in SALESDATA that u have to make it as 'X' in SALESDATAX.

Read only

0 Likes
455

Hi,

This error comes when you have entered the field values in SALESDATA structure and the corresponding checkboxes are not checked in the SALESDATAX structure and vice versa.

Please check you input.

It would solve the problem definitely.

Thanks,

Manish