Skip to Content

Reg : BAPI in sales order

Hi All,

Am using BAPI_SALES ORDER_CREATEFROMDAT2 to create sales order am getting the sales order number the problem is when i opened the sales order the order quantity has not been updated even though i pass it, it is blank. The item data which i appended is below,

*---->Item Data

itemdata-material = t_sales-material.

itemdata-target_qty = t_sales-target_qty.

itemdata-itm_number = t_sales-itm_number.

itemdata-wbs_elem = t_sales-wbs_elem.

APPEND itemdata.

*---->Item Data Checkbox

itemdatax-material = 'X'.

itemdatax-target_qty = 'X'.

itemdatax-itm_number = t_sales-itm_number.

itemdatax-wbs_elem = 'X'.

APPEND itemdatax.

Even though i have passed the target_qty its not updating,canyone come across this scenario like this.kindly provide your solution regarding this scenario.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 12, 2008 at 05:31 PM

    You need to Fill these two also with appropriate information then only you can see that Qty.

    ORDER_SCHEDULES_IN
    ORDER_SCHEDULES_INX

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi vijay,

      I have already given the schedule data which i shown below,

      *---->Schedule Line Data

      scheduledata-req_qty = t_sales-req_qty.

      scheduledata-itm_number = t_sales-item_numb.

      APPEND scheduledata.

      *---->Checkbox Schedule Line Data

      scheduledatax-req_qty = 'I'.

      scheduledatax-itm_number = t_sales-item_numb.

      APPEND scheduledatax.

      but still not working any other idea.

      Regards,

      Suresh.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.