IDoc ORDERS05 - Configuring IDoc Segments

Hi All,
Needed some help on understanding how to configure a new idoc using an extended SAP standard idoc type.
I'm using the ORDERS05 idoc type and extending it to add a single segment (example extended idoc type: ZORDEXT).  We're creating a new condition type to trigger the idoc after sales order create/change.  I'm planning to use the standard FM IDOC_OUTPUT_ORDRSP to create the idoc.
I noticed that only 1 segment in the ORDERS05 is set to mandatory (E1EDK01).  We have identified at least 10 other required segments in the standard idoc which we need to populate with data.  How do I configure the idoc to populate those segments?  Do I need to set them as mandatory in a customer exit?
Thanks in advance.
Cal

I would have thought that the easiest place to strip out all the unwanted segments would be in your Middleware. Otherwise, you should be able to strip the segments out by creating an include in one of the Customer Functions in IDOC_OUTPUT_ORDRSP, i.e.
CALL CUSTOMER-FUNCTION '004'
CALL CUSTOMER-FUNCTION '001'
CALL CUSTOMER-FUNCTION '003'
Cheers, Paul.

Similar Messages

  • Segment E1EDP20 is missing in IDOC ORDERS05

    Hi All,
       EDI Message Type:     ORDRSP
       Basic IDOC type:         ORDERS05
       Function Module:     IDOC_OUTPUT_ORDERS
       IDOC extraction function module:  IDOC_OUTPUT_ORDRSP
       While saving the sales order in back end the basic IDOC ORDERS05 is triggering . Segment E1EDP20  is missing.
      Please any one explain the above two function module. when it will trigger.
    Thanks in advance.
    SN

    Hi,
    Condition records needs to be maintained for the line items in the sales order. Only then E1EDP05 will be populated.
    Kindly check for the condition records.
    Regards,
    Prasana.

  • IDOC- ORDERS05 Sales Order modification - Sales Order number (segment/field)

    Hi Guru,
    I´m using IDOC Basic type: ORDERS05 /Message type: ORDCHG for the sales orders modification: I' m testingo the Inbound
    IDOC using WE19 transaction, to fill manually the corresponding fields:  Do you know where should I load the Sales order (segment + field )
    to be modified with this IDOC?
    Thanks in advance!
    Ad

    Hi Adil
    Use any outbound idoc of same idoc type and process it using WE19. Inorder to do that you need to exchange the partner number and port and also click on `Standard Inbound`button in WE19 screen. You may not be sucessful in first attempt but give it a try

  • Segments E1EDK04 and E1EDK05 in IDOC ORDERS05 for PO's

    Hi all,
    I am using program RSNASTED and form ALE_PROCESSING to generate IDOC ORDERS05 for purchase orders. This works fine but, eventhough the purchase orders contain tax conditions (NAVS) and several header discounts (e.g. RA01), the relevant segments, E1EDK04 and E1EDK05, are not included in my IDOC.
    Anyone have an idea how to include these segments?
    Thanks and regards, Patrick

    Michal_Krawczyk_PIXI wrote:
    Hi,
    >
    > if your SAP version is <4.6A then you need to do it manually
    > if not then it should work automatically
    >
    > Regards,
    > Michal Krawczyk
    Michal, Sorry it is not working as expected.

  • 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

  • ORDERS05/ORDERS IDocs - E1EDPT2-TDLINE

    Hi,
    While creating the ORDERS05/ORDERS IDocs , I have to remove the special characters from the segment field E1EDPT2-TDLINE.
    Can you please tell me in which user exit, i can do this?
    Thanks in advance,
    Ezhil

    A few of methods that you could use:
    - Using output conditions -  Once configured these can be used to create vaious types of outputs (ex. SAPScripts, IDocs, and other stuff).
    - Change Pointers - Configure change pointers to trigger off of the sales order change doucments.  A batch program would have to be written to read the change pointers, generate the IDocs and clear the change pointers.  The advantage of this method is that you'll even know exactly which fields have been changed.
    - User Exit - Impliment the On Save user exit and create the IDoc at that time.
    ~Ian

  • 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 !

  • Problem in message mapping (outbound IDOC ORDERS05 from SAP R/3)

    Hi to all,
    I have an outbound interface from sap r3
    sap r3 --> XI --> ftp server
    idoc --> XI --> text file
    Using IDOC orders05
    The problem is in segment E1EDP01/E1EDP19
    Segment E1EDP01 is unbounded and i map it well. If it contains E1EDP19, works fine. But in some cases, E1EDP19 not appears at E1EDP01segments. So then XI fails at mapping:
    IDOC OUTPUT (OK)
    1-E1EDP01/E1EDP19
    2-E1EDP01
    3-E1EDP01/E1EDP19
    4-E1EDP01
    XI WRITES (FAILURE)
    1-E1EDP01/E1EDP19
    2-E1EDP01/E1EDP19 (INFORMATION FROM LINE 3)
    3-E1EDP01 (WRONG)
    4-E1EDP01 (WRONG)
    You can take a look of Mapping mode here:
    <a href="http://img505.imageshack.us/my.php?image=orders05mappingcj8.jpg">[IMG]http://img505.imageshack.us/img505/1536/orders05mappingcj8.th.jpg[/IMG]</a>
    We don't use BPM and wanna use a solution without it.
    Pls ask me for more information if necessary.
    Thanks a lot for your help; Regards

    Hi all,
    The mapping function includes an exists and a mapwithdefault.
    Now the creation of the segment is handled ok, but not as well its fields. Its unable to determine the write of the second E1EDP19 segment and it does:
    1- OK
    2- OK
    3- Writes E1EDP20 but not the 19
    4- OK
    Thanks for your interesting

  • File to IDoc scenario( Bypass)-- Error ( Segment is missing) -- urgent pls.

    Hi All,
    I am doing File to IDoc scenario( Bypass) for Orders05.
    File is picking succesfully and not posting the idoc in the SAP..
    My source file(idoc-xml) consists of all the required data to post the idoc including the segment 'E1EDK01'.
    but the error it is showing is <b>" Obligatory node 'E1EDK01' missing in the structure ORDERS05 "</b>
    Please suggest me ASAP what is going wrong .
    Thanks in Advance.
    Regards
    Seema.

    The source File is not the idoc XML. It is invalid. You might need to ask the source to change the XML or use a Mapping to do this.
    This is how it should look, ( check the parts in bold),
    <?xml version="1.0"?>
    <ORDERS05>
    <IDOC <b>BEGIN ="1"</b>>
    <EDI_DC40 SEGMENT="EDI_DC40">
    <DOCNUM>1</DOCNUM>
    <DIRECT>2</DIRECT>
    <IDOCTYP>ORDERS05</IDOCTYP>
    <CIMTYP></CIMTYP>
    <MESTYP>ORDERS</MESTYP>
    <SNDPOR>XXXXXXXXX</SNDPOR>
    <SNDPRT>LS</SNDPRT>
    <SNDPFC></SNDPFC>
    <SNDPRN>XXXXXXXX</SNDPRN>
    <RCVPOR>XXXXXX</RCVPOR>
    <RCVPRT>LS</RCVPRT>
    <RCVPFC></RCVPFC>
    <RCVPRN>XXXXXXXX</RCVPRN>
    <CREDAT>20070511</CREDAT>
    <CRETIM>152803</CRETIM>
    </EDI_DC40>
    <E1EDK01 <b>SEGMENT = "1"</b>><BELNR>AAAAAAAAA123</BELNR>
    </E1EDK01<b>SEGMENT = "1"</b>>
    <E1EDKA1 ><PARVW>EK</PARVW> <ILNNR>231654845121</ILNNR>
    </E1EDKA1>
    <E1EDKA1 <b>SEGMENT = "1"</b>><PARVW>LF</PARVW>
    <NAME1>international</NAME1>
    <NAME2>Delhi</NAME2>
    <ILNNR>2121211545</ILNNR>
    </E1EDKA1><E1EDK02 <b>SEGMENT = "1"</b>><QUALF>001</QUALF>
    <BELNR>AAAAAAAAA123</BELNR>
    </E1EDK02><E1EDK02 <b>SEGMENT = "1"</b>><QUALF>002</QUALF>
    <BELNR>AAAAAAAAA123</BELNR>
    </E1EDK02><E1EDP01><POSEX>45</POSEX>
    <E1EDP19 <b>SEGMENT = "1"</b>><QUALF>001</QUALF>
    <IDTNR>00000000002150059</IDTNR>
    <KTEXT>Reddy</KTEXT>
    </E1EDP19><E1EDP19>
    <QUALF>003</QUALF>
    <IDTNR>5484218521214</IDTNR>
    </E1EDP19></E1EDP01>
    </IDOC></ORDERS05>
    Regards
    Bhavesh
    PS : You need to add SEGMENT = "1" for every segment. Please do add it if I have missed in the XML above.

  • ORDCHG - IDOC - ORDERS05  Issue IMP

    Hello,
    we have configured ORDERS- IDOC - ORDERS05 for ouput type ZSPO. User is going to trigger output manuallly in every case.
    If PO is changed still same output will trigger. Till this everything works fine.
    Now suppose one item is marked for deletion and output is triggered manually this item does not come in IDOC itself. And i want to send this with deletion indicator.
    How can I configure this? I tried adding ORDCHG - IDOC - ORDERS05  with same output type but still ORDERS IDoc gets triggred.
    Please suggets.......!!
    Thanks

    For orders change there is a different process code - ME11 for 'ORDCHG' and ME10 for 'ORDERS'.
    In case of changes make sure that in your partner profile setup (WE20) also the correct process code is assigned.
    Regards,
    Dominik Modrzejewski

  • IDOC-Orders05 extension for Inbound process

    Hi experts,
    Here am struggling with one IDOC requirement,the requirement is Updating the data for the three fields in VBKD through inbound idoc.
    since those fields are standard fields that is missing in the segment of standard IDOC-Orders05,so here am doing the extension of orders05 the basic steps like segment creation,assigning message type,assigning functional module has been done,now am copied the standard function module IDOC_INPUT_ORDERS to Z and now i have to find out the exact point where i have to insert my logic to update those fields.
    No where am finding the option to modify the VBKD table,Can you please help me on this.

    Hi Dinesh,
    Please try to use  BAPI 'BAPI_CUSTOMERCONTRACT_CHANGE' to update your required  data in VBKD  table , Please use this BAPI in inside your IDOC  FM.
    Below Sample code are there , Please try to use.
    d_VBELN = '50000172'.
    contract_header_inx-updateflag = 'U'.
    CLEAR contract_items_in.
    contract_items_in-itm_number = '100'.
    contract_items_in-material = 'H51-YY019'.
    contract_items_in-target_qty = '2'.
    APPEND contract_items_in.
    contract_items_inx-updateflag = 'U'.
    contract_items_inx-itm_number = '100'.
    contract_items_inx-material = 'X'.
    contract_items_inx-target_qty = 'X'.
    APPEND contract_items_inx.
    CALL FUNCTION 'BAPI_CUSTOMERCONTRACT_CHANGE'
    EXPORTING
    SALESDOCUMENT = D_VBELN
    contract_header_in = contract_header_in
    contract_header_inx = contract_header_inx
    TABLES
    return = return
    contract_item_in = contract_items_in
    contract_item_inx = contract_items_inx.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Regards,
    Prasenjit

  • How can I split an Orders05 iDoc into multiple iDocs?

    Hello,
    Can one of you experts please tell me how I can split an ORDERS05 iDoc into multiple iDocs based upon Delivery addresses? 
    For example, if the iDoc contains 3 different Delivery Addresses then I need to split it into 3 iDocs.
    It has been suggested to me that I can Create a custom function module. In this custom fm split the idoc into 3 based on the delivery address and create it using the FM MASTER_IDOC_DISTRIBUTE.
    Problem is I don't know how to do this.  Any help is greatly appreciated.  Thanks.
    Dan

    Hi Dan Avis
    Write a Custom  Z program .
    1 get order05 idoc number....
    2 get the segment details...(Based on you condition...)
    3 In a loop  send the data to the FM MASTER_IDOC_DISTRIBUTE  (Based on you condition...)
    4 IDOC will generated,,,every loop and
    5 Change the status of original idoc .
    or
    Create Function module and use the FM as process code to create 3 idocs...and processs...new generated idoc and block original idocs...
    Call me if you have questions  @ 302 290 5677
    Thanks
    Ramesh

  • Inbound IDoc ORDERS05 : PO Rejection Indicator Issue

    Hello,
    We are receiving idoc ORDERS05 with message type ORDRSP from vendor(PO Confirmation) with 003 as ACTION in field E1EDP01-Action.
    but still rejection indicator for PO item is not getting Set.Hence we see PO item is not marked deleted.
    Could you please suggest what we are missing ?

    Hi,
    check the step by step config setting for purchase order..
    The transaction codes that are required for this method are
    We81
    We30
    We31
    We82
    We21
    We20
    Bd64
    Nace
    Me22n (purchase order), va02 (sales order) etc.
    Ex: purchase order.
    Message type: ORDERS
    Idoc type: ORDERS05
    Outbound process code for purchase order: me10
    The steps that are to be followed are:
    Check for the message type in the transaction in we81.
    check for the idoc type in the transaction we30.
    check we82 in which the link between message type and idoc type is there.
    create the port in we21.
    Configure the partner profiles in we20.
    Click on the + button outbound parameters and give the message type, receiver port,Idoc type.
    Now press on the message control tab, this is the place where u give the outbound process code. The message type in the message control is the output type that is used in the nace transaction.
    Create a distribution model in bd64.
    Go to purchase order transaction (me22n).and press the messages tab
    In the messages tab give the output type and the distribution medium as distribution-ale and then save it.
    Reward if helpful.
    Regards,
    Nagaraj

  • Purchase Requisitioner in ORDERS05 Inbound IDOC

    Hi:
    I have a scenario where a sales order is created based on Inbound ORDERS05 IDOC. Based on the 'Z' Item Category tab a PR is automatically created. In our system settings Purchase Requisitioner name is being asked while a PR is getting created automatically based on ORDERS05 inbound sales order IDOC.
    In order to get PR automatically created I have to pass Purchase requisitioner name in the IDOC. Can you please let me know in which segment I need to pass this Purchase Requisitioner (EKKO-AFNAM)?
    Thanks.

    Hi!
    I have been looking for this and i think in the ORDERS05 idoc type doesn't come this data. I think you need BNAME and TELF1 fields from VBAK table.
    Both would have to be informed in E1EDK01 but it doesn't appears.
    You probably have to do an extended idoc type with a segment including both fields. I think you are using IDOC_INPUT_ORDERS as function inbound. You have to use FUNCTION EXIT_SAPLVEDA_001 user exit for capture your segment.
    Regards.

Maybe you are looking for

  • Cannot update, reinstall, uninstall 9.3.3 in windows 7 pro 64 bit

    Acrobat Reader 9.3.3 will not successfully complete the update to 9.3.4. It complains about not having permission for a key (error 1402). Other forum posts and Adobe knowledge base articles do not supply a solution. When I try to uninstall Reader 9 c

  • How can I deploy JBI Application in Sun Java System Application Server 9?

    I developed a demo "Loan Processing Composite Application " in Netbeans.org(http://www.netbeans.org/kb/55/loanprocessing.html). The guide only show the deployment using Netbeans6.Now I want to deploy it directly using Server9 , how can I do? How to d

  • Saving on a mobile device

    Can anyone tell me how to save score/level/etc. information for a game on a mobile device?  Or point me to any tutorials/examples please? I'm still unsure how to read/write files in the apk (Android). Basically, I want to allow the player to save his

  • Autosave in webdynpro ABAP

    Hi Experts, I am working on enabling auto-save functionality in our ESS/MSS wda application. I am using timed trigger element to call save method. so after period i call my save method  where i have written below code.   DATA: lo_fpm TYPE REF TO if_f

  • Udev rules question

    I have a pl2303 converter which appears as /dev/ttyUSB0, owned by root,uucp. I do not want to run minicom as root nor do I want to add myself to the uucp group, as either of these approaches lend themselves to potential issues to the system. Correct