Creating sales_order  with idoc orders05

I have probed my test of the orders05 idoc for create a sales order, i have been using the we19 transaction, now i want to create a job, and i need to know if there is a transaction standard for read the files of the port and process it, or if i have to make a z that reads the directory and call the IDOC_INPUT_ORDERS.
Thanks in advance.
Regards

Is this what you want to know :
When an IDOC comes into the system, is there a standard way of handling it and automatically creating a sales order or do you have to create a Z program to process the IDOC separately?
The partner profile process code will define who handles the IDOC.
I believe you have already set up the partner profile,
If not set up the partner profile and the inbound process code of ORDE on the partner for message type ORDERS05 should do the trick.
You can see the FM to process code linkage in transaction WE42.
Message was edited by:
        Srihari Hebbar

Similar Messages

  • Confirm sales order with idoc ORDERS05

    Hi everybody.
    I´d like to know if it´s possible to confirm a sales orders with idoc ORDERS05 and message type ORDCHG and posting FM IDOC_INPUT_ORDCHG_VMI.
    How would I have to fill the idoc data??
    Thanks a lot

    Hi,
    For inbound idoc you can use  the message Orders , process code ORDE and the function mdoule IDOC_INPUT_ORDERS to create  a sales order.
    Regards,
    Nagaraj

  • Problems with idoc ORDERS05

    Hi experts,
    I created a new Z segment for idoc ORDERS05 and it works fine. This idoc is generated whenever a PO is created or modified. But if the PO has locked or deleted items, there is no segment for this items in the IDOC. Should I modify any code or something in SPRO??
    Thanks in advance,
    Maria

    Hi again...
    I'm trying to make a copy of the standr FM IDOC_OUTPUT_ORDERS because I think it may be easier to add the segments I need. I have also created in tx. WE41a new operation code ZME10 with my new fm. An in tx. WE20 I have assigned ZME10.
    The problem is when I run ME9F i get this error:
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_FUNC',
    was neither
    caught nor passed along using a RAISING clause, in the procedure
    "NEW_DYN_PERFORM" "(FORM)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    The program "RSNASTED" contains the CALL FUNCTION statement.
    The name of the function module to be called is "ZIDOC_OUTPUT_ORDERS".
    but "ZIDOC_OUTPUT_ORDERS" cannot be found in its function group.
    Any idea ??
    thanks in advance !

  • Configuration data on sales order not update with idoc ORDERS05

    Hi All,
    I'm trying to post Inbound ORDERS05 to create a sales order with configuration data. In particular i'm using the messsage type ORDERS, process code J3AA (identification J_4A_IDOC_INPUT_ORDERS).
    On the IDOC tree, segments E1CUREF,E1CUCFG,E1CUINS,E1CUVAL are correctly valorized.
    It is creating the order but not updating the configuration data, can someone please let me know if there are other fields/Segments that need to be populated in order to get the config updated in the sales order ?
    Thanks
    Piergiorgio

    Hi ,
    I am facing similar issue ( Configuring data in orders idoc )
    Please give  your inputs if your successfully
    Thanks,
    Raghu..

  • IDoc - ORDERS05 - Inbound - IHREZ_E

    What segment/field/qualif should I be using to populate the field VBKD-IHREZ_E at the header level?
    When creating a new sales order, I am able to populate VBKD-IHREZ_E at the item level by using E2EDP02/BELNR and qualifyier 044.
    However, i would like to populate the field at the header level but haven't been able to find the right segment/field
    Thank you for your help

    I'm not suer about you scenario, but we create sales orders with IDoc ORDERS05 (since SAP R3 46C).
    We create segment E1EDK02 with QUALF "069" and BELNR "XY". After IDoc processing we have the value "XY" in VBKD-IHREZ_E.

  • Problem creating sales order using IDoc ORDERS05 (Inbound)

    Hello Experts,
    We are trying to create a sales order using the IDoc ORDERS05 with process code ORDE for creating sales order. I am getting the following error "VKORG, VTWEG, SPART cannot be determined for customer 0000006000 , vendor
    Diagnosis
    No sales organization, distribution channel or division were sent to the IDOC. This data is necessary if a sales order is to be added automatically. If this data is unavailable, you cannot create a sales order document.
    I was not able to find the fields to fill the distribution channel and divison in the Idoc structure. I have filled in Sales organization in E1EDK14 segment as 3000.
    I am not able to figure out the cause for the error.
    Same data works fine from BAPI_SALESORDER_CREATEFROMDAT2.
    Please help.
    Thanks,
    Suma
    Edited by: Suma B on Jun 17, 2008 11:12 AM

    Hello Suma
    In this case I would recommend to debug the IDoc processing.
    Call transaction WE19 and start the inbound processing of your IDoc in debugging mode. The error message will most likely occur in function module IDOC_INPUT_ORDERS.
      LOOP AT idoc_contrl.
    * SET/GET Parameter und interne Tabellen neu initialisieren
    * initialize SET/GET Parameter and internal tables
        PERFORM initialize_organizational_data.
    * IDOC-Segmente in die entsprechenden Anwendungsdaten übernehmen
    * Move IDOC to internal tables
        PERFORM interpret_idoc_orders.                    "<= check here
    * Prüfen ob gewisse Segmente gefüllt sind
    * check IDOC-Segments
        PERFORM check_idoc_segments.                 "<= check here
    * Prüfen und Ermitteln von Organisationsdaten
    * check internal tables and determine organization data
    Regards
      Uwe

  • Message with IDOC number, created by LSMW, missing in job log in SM37

    Hi gurus,
    We have a temporary interface which uses LSMW to create IDOCs and update in SAP. It's used for materials, BOMs and document info records. In LSMW we have defined standard message types MATMAS_BAPI, BOMMAT and DOCUMENT_LOAD for the IDOCs. All these have the same problem.
    A background job runs and starts LSMW. In the job log in SM37 I want to see which IDOCs were created. For some reason this is different in my development system and my test system, and as far as I know all settings should be the same. In the test system LSMW creates more message lines in the job log, than it does in the dev system. Message number E0-097 is "IDOC XXXX added", and this is missing in the dev system.
    This is what it looks like in the dev system:
    Data transfer started for object 'MATMAS' (project 'X', subobject 'Y')             /SAPDMC/LSMW   501    I
    Import program executed successfully                                                             /SAPDMC/LSMW   509    I
    File 'XXX.lsmw.read' exists                                                                               /SAPDMC/LSMW   502    I
    Conversion program executed successfully                                                    /SAPDMC/LSMW   513    I
    Data transfer terminated for object 'MATMAS' (project 'X', subproject 'Y')       /SAPDMC/LSMW  516    I
    And this is what it looks like in the test system. More information, which is exactly what I want in dev system too:
    Data transfer started for object 'MATMAS' (project 'X', subobject 'Y')             /SAPDMC/LSMW   501    I
    Import program executed successfully                                                             /SAPDMC/LSMW  509    I
    File 'XXX.lsmw.read' exists                                                                               /SAPDMC/LSMW  502    I
    Conversion program executed successfully                                                    /SAPDMC/LSMW  513    I
    File 'XXX.lsmw.conv' exists                                                                              /SAPDMC/LSMW   502   I
    IDoc '0000000002489289' added                                                                      E0                         097   S
    File 'XXX.lsmw.conv' transferred for IDoc generation                                      /SAPDMC/LSMW   812   I
    Data transfer terminated for object 'MATMAS' (project 'X', subproject 'Y')      /SAPDMC/LSMW   516   I
    In both cases the IDOC is created and update works fine.
    My only issue is that I can't see the IDOC number in the dev system. I know I can get the IDOC number in WE02, but in this case we have program logic which reads the job log to be able to check IDOC status before sending OK message back to the other side of the interface.
    I hope any of you can have an idea how I can update somewhere to get message E0-097 with IDOC number into the log.
    Regards,
    Lisbeth

    Hi Arun,
    If you want to show your messages in the job log you have to use the MESSAGE statement. In case you use WRITE statements an output list be created which can be found in the spool (there is an icon to go to the spool directly).
    Regards,
    John.

  • SO IDOC inbound create SO with reference to INV or SO #

    Hi all,
    I have a situation where I will get the inbound SO IDOC, through IDOC_INPUT_ORDERS and create a sales order with reference to a invoice number or another sales order (eg: consignment pick up and consignment fill up).
    Except modifying the standard formed BDC in the FM, by adding additional screen code into the BDC, is there any other way to do so?
    (eg: assign value into certain field in IDOC? Using another IDOC FM?)
    Please advice.
    Thanks.
    Best Regards,
    JL

    Hi ,
    At a high level, the IDOC processing executes in the following manner:
    1.     Interpret IDOC header segments and captures organizational, customer master and purchase
                    order header details. Performs user exits for each segment to process customizations to data
                    processing.
    2.     Interprets item level segments and captures item level details like material information. Again, it
                   performs user exits for each segment.
    3.     Sums up the order data and determines the posting criterion viz. creating order with reference
                  etc.
    4.     Builds up batch data communication sequence (BDC) with respect to the required screen
                    sequence of posting a sales order.
    5.     While building up the BDC data, system performs user exit to process customizations to BDC
                      data.
    6.     Calls transactions VA01 using the BDC data.
    7.     If the processing fails, an appropriate workitem is generated for workflow processing.
    User Exit - ZXVEDU03
    This user exit will be performed after each segment read in the IDOC processing function module. Exit is called during the perform interpret_idoc_orders in the idoc processing function module. The exit is executed before the BDC data building process and it is here where the invoice  number would be retrieved into a variable from segment E1EDK02.
    IF SEGMENT-SEGNAM = 'E1EDK02'.
        IF SEGMENT-SDATA(3) = 'Z43'.
           Save the  you Number XXXXXXXXXX into a temporary variable.
        Endif.
    Endif.
    User Exit - ZXVEDU04
    In the function module IDOC_INPUT_ORDERS, form call_va01_new_orders is performed wherein BDC data is built up for every screen required to post a sales order. User Exit ZXVEDU04 is performed at various stages during the built up of BDC data. It is here in this user exit that a coding needs to be performed to insert BDC data for assigning sales order to the invoice
    The BDC data for assign to invoice  should be added soon after the BDC data for purchase order type is generated. The following BDC data logic should be coded in the user exit to facilitate assign to invoice
    if you give me brief i can help you out more.
    if helpful REWARD points
    Thank you .
    Regards
    Ramana

  • Create Info record with IDOC

    Hi gurus,
    I would like to create info records from external system through IDOC. Can someone help me with this?
    Regards,
    Marina

    Thanks for the fast answer.
    We are trying to make Info record with IDOC INFREC (function module idoc_input_infrec). We create successfully info record, but the problem is that the NETPRICE = 0 and also VALID TO DATE = 31129999 (because no price).
    Please, if you need some more details, let me know.
    Thanks!
    Marina

  • LSMW with Idocs directly created

    Hello,
    I'm using the LSMW with Idocs for the migration of business partners in CRM.
    During the step "convert data" I have the choise to create the Idocs directly (without creating the file first).
    Some days ago everything was well working. But without knowing what I've changed in LSMW, this is no longer possible.
    I get the same screen as when I want to create a file ".conv", but the name of "converted file" is not named. Instead there is a message "no directly creation of Idoc"
    What do I do wrong? What do I have to change?
    Thanks in advance!
    Nicole

    you have to always convert the data after reading the data.
    please check in the specify files section you have given the file name for the converted data in the application server.
    you will not get the option to create idocs directly in the convert data step.
    please let me know if you any more details.
    regards
    vivek
    reward points for all the useful answers

  • How can my IDoc create shipment with a given number

    Hi,
    I m using IDoc type SHPMNT03, message type SHPMNT and precess code SHPM to create shipment document via EDI.
    How can I generate a shippment with a specific number and not with the number genetrated automatically??
    thx in advance.

    I think it s possible, because I ve already done the same with reservations, I created reservations with my own numbers...

  • Create Stock transfer Order using Inbound IDOC ORDERS05

    Hi,
    I am creating Inbound STO using ORDERS05. But it is triggering Sales Orders.
    The below message is coming.
    No sales organization, distribution channel or division were sent to the IDOC. This data is necessary if a sales order is to be added automatically. If this data is unavailable, you cannot create a sales order document.
    Suggest what are the required fields we should pass to segments?
    Regards,
    Balavardhan.K

    Hi Bala,
          I sugget you to pass the fields what ever it is showing as required fields.Till the end of the messages.

  • Creation of a line item in the existing PO by inbound idoc (ORDERS05)

    Hi friends,
       I have the following requirement.This is for the  inbound idoc ( orders05).
    If there is an extra item line in the confirmation idoc, for which no corresponding purchase order line is found, check if the extra line's NOB-number is found in the new NOB-number check -table.
    Fetch NOB-number check table with database keys:
    E1EDP19-IDTNR (when E1EDP19-QUALF = ZNO) = NOB-number in the table
    EKPO-WERKS (from 1st purchase order item line) = site number in the table.
    If the NOB-number + WERKS is found in the control table, create a new item line in the purchase order.
    If the NOB-number + WERKS is not found in the control table, put the idoc into error.
    Can you please tell me that how to create a new item line in the purchase order.
    Waiting for your help.
    With Regards,
    Ajit Prasad.

    You like to add new line item in existing purchase order or new po.
    Thanks,
    Narayan

  • Inbound IDoc ORDERS05

    HI,
    I have to design an Inbound IDoc for create an Sales Order from a plain file
    The Idoc I use is ORDERS05
    Can anybody help me with some easy example???
    I have some problem when I tried to match the fields in the segments of the Idoc and the fields in the transaction VA01....

    Hi,
    Please check this links for inbound IDOC ORDERS05 data mapping.
    http://www.erpgenie.com/sapgenie/docs/sapedi/ordersin.xls
    http://www.erpgenie.com/sapgenie/docs/sapedi/ordedi.xls
    http://www.erpgenie.com/sapgenie/docs/sapedi/ordi1.doc
    If the above links do not work for you, then please try to use WE19 (IDoc testing tool) for data mapping and simulate the inbound sales order. You can also use this tool for testing purposes as well.
    Once done, then you can try to process your inbound IDoc file using standard program RSEINB00 to read the file and generate IDoc(s). Please ensure all your ALE and IDoc configuration are done such as distrribution model (BD64), partner profile (WE20), IDoc Port Processing (WE21) and so on.
    Hope this will help to start with.
    Regards,
    Ferry Lianto

  • Idoc ORDERS05 for PO Outbound for the Output type ZSUS.

    I have a standard Idoc ORDERS05 for the PO.
    I have Extended this Idoc and Created a Z- Segment below E1EDKA1 which is ZE1EDKA1.
    There are Four Fields in it. i.e. ZZFNAME, ZZLMAE, ZZEMAIL & ZZADDRESS.
    When I create the PO using ME21N OR Change using ME22N and use the MEssage type ZSUS which is Configured in the NACE T-Code.
    The Idoc Just does not get triggered . I tried to do the same through the test tool. WE19 but yet the Idocs gets Created but the Z-segment does not get populted nor is seen.
    I have writtem my code in the Exit 'EXIT_SAPLEINM_002' and have poulated the above mentioned four fields.
    But the Idocs just does not reach the user Exit and hence these four fields do not get populated.
    I have done the neccessary configuration in WE82 and also in WE57.
    Can u please provide me with the Solution.
    Regards,
    Deepak.

    Hi,
    Use table NAST

Maybe you are looking for

  • Finger Print Login in Win 8.1

    I have entered my fingerprint to login to Windows in PC Settings -> Sign In Options However there are no options during login. I tried swiping my finger over the reader, nothing works. I dont see the light blinking too. I have configured for fingerpr

  • How to find the Standard Program associated with a Standard IDOC

    Hi,       I am going work on enhancing the standard IDOC. Any body can suggest how to find a standard pogram associated with a Standard IDOC. And can any body send some exaple code for extending a standard IDOC and to implement the logic in the stand

  • Problem in work flow of PE while mapping 2 source structure into 1 target

    We have scenario in BPM where in we have to mapp 2 source structure's into target. To be more specific one structure occurance is 0 to unbounded and other one is of single occurance. We have done the mapping with target structure and tested it manual

  • How to login into XI integration repository

    Hii Guyz , i installed PI 7.0 (NW04s) . Now i hit SXMB_IFR tx code and it opened Xchange infrastructure window. But what is the userid and password to login into "Integration repository" and "integration directory" . Plzz help me asap Thank you

  • Users - I seem to be two people!?

    Hi there - This could get addictive ... boy are you guys gonna regret the day I found this board! Here is stupid, rookie question(s) #2: Part 1: Accounts When I got my G5 Quad just over a year ago I didn't really understand the "Users" facility becau