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

Create Sales order using ORDERS05 idoc

Hi Experts,

i need to create sales order from an external system using Idocs. we are using ORDERS05. We needs to save data in some custom fields. hence we have extended the idoc. But the Z* fields are not at the screen level. The function module 'IDOC_INPUT_ORDERS' uses call transaction and hence we are unable to save data in the Z fields.

Please advice some alternate approach.

We are looking into the possibility of using a custom function module and calling the create BAPI. Please advice is there is a better approach.

Thanks & Regards,

Amit

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Feb 10, 2010 at 09:44 AM

    Hi, we had a same requirement and solved this by adding the Z fields on the additional data B screen in the sales order. We added some screen logic to make these fields visible or ready for input at some conditions. So ready for input just in case of IDOC processing.

    Next to that we also added coding in the sales order processing IDOC exits to fill these fields from IDOC.

    Regards Jack

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 10, 2010 at 08:03 AM

    hi

    Kindly use the below bapi to create the sales order and identify the fields in the sales order and use the same.

    BAPI_SALESORDER_CREATEFROMDAT2'

    REgards

    Damu

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      The process code ORDE does not use BAPIs. It uses call transaction to VA01. This is the reason i am facing the problem. The custom fields which i have are not in the VA01 screen.

      The BAPi is called by IDOC_INPUT_SALESORDER_CREATEFR for message type SALESORDER_CREATEFROMDAT202. But i am not sure if this works.

      Regards,

      Amit

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.