Skip to Content
author's profile photo Former Member
Former Member


bapi_salesorder_creatfromdat2 - can it be used to create sales order for BOM materials.

How. Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 01:07 PM


    You can use this method to create sales orders.

    You must enter at least sales order header data (via ORDER_HEADER_IN

    structure) and partner data (via the ORDER_PARTNERS table) as input


    Enter the item data via the ORDER_ITEMS_IN table. You can allocate item

    numbers manually, by filling in the relevant fields, or the system does

    it, according to the settings for Customizing, by leaving the relevant

    fields blank.

    If you have configurable items, you must enter the configuration data in


    ORDER_CFGS_VALUE tables.

    Credit cards can be transferred via the BAPICCARD structure, on the one

    hand, data for card identification, on the other, data for a transaction

    which has taken place in an external system.

    Once you have created the sales order successfully, you will receive the

    document number (SALESDOCUMENT field). Any errors that may occur will be

    announced via the RETURN parameter.

    If no sales area has been created in the sales order header, then the

    system creates the sales area from the sold-to party or ship-to party,

    who has been entered in the partner table. If a clear sales area cannot

    be created, you will receive a system message, and the sales order will

    not be created.


    Renjith Michael.

    Add a comment
    10|10000 characters needed characters exceeded

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.