Skip to Content
avatar image
Former Member

Quan field in lsmw

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 01, 2008 at 12:16 PM

    hi

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

    Regards

    Pavan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 02:26 AM

    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

    Add comment
    10|10000 characters needed characters exceeded