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: 

Quan field in lsmw

Former Member
0 Kudos

hi SDN ers,

I have created one lsmw for open sales order using bapi.

Every field in the file updated datas successfully except quantity. i declared quantity field as char(15). Reading and converting the data is right.

When executing in idoc its created sale order with all the datas. but the quantity field does not contain any values.

1 ACCEPTED SOLUTION

bpawanchand
Active Contributor
0 Kudos

hi

Pass the quantity field into a CHAr type variable and then pass it to LSMW.

Regards

Pavan

2 REPLIES 2

bpawanchand
Active Contributor
0 Kudos

hi

Pass the quantity field into a CHAr type variable and then pass it to LSMW.

Regards

Pavan

Former Member
0 Kudos

Hi,

In SAP, u need to fill the schedule line details in BAPI (BAPISCHDL) only then the quantity field will get populated.

Hence fill the schedule line details in BAPI and pass it to Idoc. The quantity field will be populated.

Regards,

Asif