Application Development 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: 

bapi_salesorder_createfromdat2 using lsmw

Former Member
0 Kudos

hello experts,

i have been succesfull in running bapi for sales order create throug abap.

Now i am trying to use it through LSMW

when selecting idoc generation option it gives me this message

[ File 'SOADD_SOADD_SOADD.lsmw.conv' transferred for

Idoc generation ]

but when i select the Start Idoc Processing it i s giving me following errors ..

-


status 51 :Material sd0000000000000001 is not defined for sales org.TTS1 , distr.ch

status 51 :Error in VBAPKOM 000010

status 51 :Item 000020 does not exist

status 51 :Sales document was not changed

-


Basically i am new to Idocs , can any one help me with this .

3 REPLIES 3

Former Member
0 Kudos

It looks like an application level error.

Verify that your material exists, and has been extended for the sales org and distribution channel you've specified (material master, org level/sales view)

0 Kudos

hi got where i was getting wrong the idoc got posted also

0 Kudos

But , i am not abale to get how should i give multiple partner detail

it runs fine with single single partner role but in my case i have to give both,

ship-to-party and sold-to-party

if possible send me some options .

Thank you.