ScheduleLine ID in IDoc (ORDRSP.Orders05)

Hi All,
My Senario SAP-XI-flatfile. In my senario I have to create PO where i am using orders.Orders05. I have generated idoc in R3. My problem is I have a flatfile structure in that one field has the name "Po Line Request Schedule Id". I have checked all the fields in the generated idoc. But I havent seen any field related to that.Suggest whether I have write any user exit for that. If yes kindly help me out how to find that particular userexit.My senario is going for XI content Certification.I guess SAP doesnt recommend if i write any ABAP code in SAP backend system.
Thanks in advance.
Regards
Gowri K

Hi ,
-Since IDOC are used also to communicate bewteen different partners SAP will normally not put 'SAP internal' fields in those structures as these are of no meaning to a non SAP partner : e.g. relating to schedule lines, the important things to know is requested date and quantity -- not what internal ID this line got in EKET table.
-If you need this field you will indeed need to extend the IDOC with an extension segment ( at the right level so I guess below standard segment E1EDP20 ) and fill this in a userexit : Use CMOD / Enhancement MM06E001 / exit EXIT_SAPLEINM_002.
Example code :
DATA segnam type EDILSEGTYP.
DATA: wa_Z1EDK002 like Z1EDK002.
segnam = int_edidd-segnam.
CASE segnam.
  WHEN 'E1EDK01'.
Fill customer segment Z1EDK002 under parent E1EDK01
    CLEAR int_edidd. "Clear work area
    int_edidd-segnam = 'Z1EDK002'. "Name of customer segment
    CLEAR WA_Z1EDK002.
  Fill you Z1EDK002 fieds
  Remaining fields from int_edidd      "can be transferred
    int_edidd-sdata = wa_Z1EDK002.
    APPEND int_edidd.
ENDCASE.
rgds
Dirk

Similar Messages

  • SENDING WBS ELEMENT IN OUTBOUND IDOC  ORDRSP

    Hi Experts,
    i need to update idoc ORDRSP (to distribute Sales order) with field WBS ELEMENT  , you can find this under item tab "Account assignment" field COBL-PS_POSID
    I generated outbound idoc on several sales orders but none of them has this information.
    do you know how to have this information populated in this idoc ?
    Thanks and regards

    Hi,
    You need to do the following steps to create a custom segment and populate values into that:-
    1. Create a custom segment using the T Code WE31
    2. Add the created custom segment to the orders05 basic type by creating a new extension using WE30 transaction
    3. Maintain a new entry in WE82 transaction for the message type, basic type and extension
    4. Update the extension in all the necessary partner profiles WE20
    5. You have lot of function exits in the function module IDOC_OUTPUT_ORDRSP, you can see them as customer function in that function module. You need to write the code in that include
    6. Create a project for the function exit and activate the project.
    Once you do all the above 6 steps then you can see values populated into the custom segment.
    Thansk,
    Mahesh.

  • SNC ReplenishmentOrderConfirmation_Out - ORDRSP.ORDERS05 did not trigger

    Hi,
    We have configured Contract_Manufacturing_Procurement scenario in which ECC sends PO (IDoc PORDCR102) to XI and from XI it is posted to SNC7.0. PO is visible on SNC and when supplier confirms PO manually on WebUI it should send confirmation back to ECC. But due to some reason SNC(SCM) is not triggering outbound message ReplenishmentOrderConfirmation_Out. Any idea?
    End to end Scenario:
    1) ECC -> XI -> SNC
    PORDCR1.PORDCR102 ->ReplenishmentOrderNotification_In  (Working fine)
    2) SNC -> XI -> ECC
    ReplenishmentOrderConfirmation_Out -> ORDRSP.ORDERS05 (Not working) ?????????
    Let me know any input.

    Hi Nilesh:
    We are also facing same problem as u have faced .We have defined all necessary config to generate outbound xml but we are unable to get the answer.We are also geting dumed as "Assertion Failed".Can u please let us know that what are the step u have followed.
    We have also activated all ODM and Time Series ODM but still getting dump.
    PLease let us know ur views how to check all config to get rid of this issue.
    Ganesh

  • ERROR IN CREATING SALES ORDER,USING IDOC TYPE ORDERS05

    I am using exit to write my code for creating sales order of IDOC Type ORDERS05 and order type ZDRX.
    IF I proceess the Idoc in background each time error message comes
    FIELD kuwev-kunnr(ship to party)is not an input field.
    but if i run in foreground in debugging mode,sales order is getting created..
    please suggest something.

    If thats not working..
    try BAPI_SALESORDER_CREATEFROMDAT2
    If BAPI is not working. try creating a bdc for the same if there's not error on trying from VA01

  • Error in Message Mapping "Target message IDOC: ORDRSP.ORDERS02 does not exi

    Hi,
    I have joined newly to the team.
    When I tried to open one message mapping it throwinf follwing error...
    "Target message IDOC: ORDRSP.ORDERS02 does not exist in software component version ID: 44423362454456485465..
    Check whether the software component version ID: 44423362454456485465 is in Enterprise Service Repository. Import this version if necessary"
    Is there any impact because of which in the message flow?
    In my case some of the messages are failing with mapping error "runtime exception occured during application mapping com/sap/xi/tf/_SUS2MMOrderResponse_; java.lang.NullPointerException: while trying to invoke the method java.util.Map.get(java.lang.Object) of an object loaded from field com.sap.aii.map`"
    And some of the messages are processed sucessfully and they also using the same mapping program 'SUS2MMOrderResponse'.
    Could someone tell me is there any relation for the above error in XML messages and to the message mapping?
    Regards
    Baskaran K

    Could someone tell me is there any relation for the above error in XML messages and to the message mapping?
    The error mentions that you have used an IDOC in your mapping program which is not found in the ESR....you need to check if the IDOC is present in the ESR and is present under the correct SWCV.
    Once you have done the check do some dummy change to the mapping and activate it (if in DEV) and then check the CACHE.

  • Outbound IDoc ORDRSP to XI

    Hi Friends,
    At present outbound IDoc ORDRSP is used in Customer EDI feed.
    Based on my requirement I have to route this outbound IDoc ORDRSP to XI based on the Plant XYZ1.
    Any customizing need to be done or Customer Functions need to be changed. Please guide me to know how to do this.
    Thanks in advance.
    Regards
    Suresh

    Done by customizing

  • Set PO item rejection indicator via IDoc ORDRSP?

    Dear experts,
    is it possible to set the rejection indicator in the purchase order item (EKPO-ABSKZ) via processing an order confirmation IDoc ORDRSP?
    I found nothing but SAP note 890812 where SAP proposes a workaround with manual setting of the rejection indicator.
    Our scenario is that the vendor sends an ORDRSP Idoc with action code 001 in segment E1EDP01-ACTION and a sales blocking reason in fields E1EDP01-ABGRU and E1EDP01-ABGRT. We already found a way to ignore segments containing these fields and process all other IDoc items, but it would be nice to set the rejection indicator automatically for these rejected items.
    We are on ECC 6.0 SP06.
    Any help is appreciated.
    Kind regards,
    Karsten

    do you really want your vendor to decide if you have a request or not?
    dont you need this reopened requisition to procure that material at the vendors competitor?
    by the way,
    The corrosponding purchase requisition is opened again and new PO's are created by MRP.
    MRP never creates POs. MRP can create requisitions. But why should MRP do this in case your PR is reopened instead of deleted?
    You should rethink about this statement.
    MRP will probaby recreate the requisition if you would close the requisition with the Order response from your vendor, so why not reusing this PR instead of deleting and crating a new one?

  • Send Changes for IDOC ORDRSP

    Hi Gurus
      Can anyone help me in sending the changes for the IDOC for transactional data.
    For Sales Order IDOC -- ORDRSP.
    When newly sales order is created, all the sales order information should be sent. --This is not a problem.
    When changes are done on the sales order -- Only the changes should be sent in the IDOC. I have activated the change pointers in BD50, BD51 for ORDRSP and in BD52 created the entries for ORDRSP. 
    but when i trigger the IDOC using the output type, i get to see all the data instead of only the changes.
    Is there anything that i am missing???
    Any help is really appreciated.
    Thanks
    Saritha

    Hi Linda,
    I have documentataion on ALE/IDOCs which may not be helpful to you. If u need that i can send u .
    Instead i  can help u out if u r facing any issue.
    In our case: wen ever sales order is created /changed an idoc shud be genrated.
    This can be done thru Message control.
    Which involves customization from functional guys in NACE as well as Technical guy in Partner profile/port..
    do let me know where ever u r not clear.
    regards,
    Naveen

  • IDOCs - IDOC type ORDERS05 with message type MSGCHG

    Hi,
    I'm in my first IDOC project and I'm facing a problem. I need to change sales orders with EDI messages, so I've decided to use message type ORDCHG and IDOC type ORDERS05. I'm filling segments E1EDK01, E1EDP01 and E1EDP19. In header the action is '003' to indicate I'm going to change items, and in item the action is '002' - change. I'm not changing all items of the order, so I only fill item segments for the item I want to change.
    The problem is the F.M. IDOC_INPUT_ORDCHG looks to use batch input technique to update the order and the BDCDATA contents does not look good. And I receive a message saying VBAP-PSTYV is not an input field. I'm not entering the contents of PSTYV in segment E1EDP01.
    Does anyone have any idea of what can be the reason for this problem ? For the error, and for the fact of the contents of BDCDATA do not look good.
    And any idea of how to solve it.
    And does anyone knows if the batch input technique is mandatory, or is there any way to avoid it like forcing the standard to use a BAPI ?
    I'll really apreciate any possible help, because i'm without any idea about how to solve problem.
    Thanks in advance,
    Paulo Sousa

    If you go to SE11 and enter VBAP then finf the field PSTYV, double click on the field and see if the !fixed Value. ex" field is ticked, if it is this means that SAP is trying to get a value for this field from a fixed set of values.
    You could try using WE19 to mess around with the IDOC in error and process the document as a standard inbound IDOB.  See here https://websmp105.sap-ag.de/~sapidb/011000358700002529571998E/default4.htm for some field entry examples
    Hope this helps,
    Conor.

  • How to convert Flat file(.txt) data to an Idoc format(ORDERS05)

    Hi,
    How to convert Flat file(.txt) data to an Idoc format(ORDERS05). If any FM does the same work please let me know.
    thanks in advance,
    Chand
    Moderator message : Duplicate post locked. Read forum rules before posting.
    Edited by: Vinod Kumar on Jul 26, 2011 11:11 AM

    Hi,
            For more information, please check this link.
    http://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    Have a look at the FM IDOC_XML_FROM_FILE. May be it helps...
    Regards

  • Passing header text into Idoc(Idoc type orders05)

    Hi,
      we have header text, header note etc in text tab(under details) in  PO.
           now i have to pass the data's from the header text into the IDoc(idoc type Orders05),
    In which segment the data's will be populated, How to shall i go.

    Hi,
    if you are using idoc PORDCR102 or PORDCR101, header texts are populated in E1BPMEPOTEXTHEADER and both position & header in E1BPMEPOTEXT.
    Then you are using ORDERS01-05 Idoc types, header texts were filled in E1EDKT1 & E1EDKT2 while texts are filled in E1EDPT1 & E1EDPT2.
    The PO header texts are stored in the segments E1EDKT1 whose child segment is E1EDKT2 in IDoc type ORDERS05.
    The actual text will be found in E1EDKT2 and the text id will be found in E1EDKT1.
    You have to do some config so that The segment gets update
    in the IDoc.
    go to SPRO  MM->Purchasing ->messages->Text for messages->Define texts for PO. Here you can find out on the left side of the window.In  Header texts & supplements text.
    Add the text IDF01( with all  details like your document type, object for PO will be EKKO) in header text .
    Then Add all other to the supplement texts(details).
    It is now the IDoc should update the segments.
    Regards
    Raj.
    Moderator message:
    Warning. Reason: plagiarism, this is a copy-paste answer from:
    PO texts in purchase order idoc*
    Edited by: Csaba Szommer on Nov 8, 2011 2:00 PM

  • Extension Idoc for ORDERS05..

    Hi,
    I want to add one field (VBAK-FAKSK) as an extension idoc to ORDERS05 Basic idoc type.
    My problem is in this Basic type (ORDRES05) under which segment, i have to add this field (VBAK-FAKSK).
    Can one help this problem would be great appreciable.
    Best rgds,
    srihari.V.

    VBAK is the header data table for the Order.
    E1EDK01 is the Main header Segment for ORDERS05 Idoc, so I think it shold go into that segment.
    Refer this link for more help:
    http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b7d6243d711d1893e0000e8323c4f/frameset.htm
    Regards,
    Ravi

  • Sales Order no and IDOC No Link table for Sales Out bound IDOC ORDRSP

    Hi Friends
    How to find Sales Order no and IDOC No Link table for Sales Out bound IDOC ORDRSP.
    Thanks in Advance.
    SR

    Hi
    If the idoc is managed by message, the link are stored in GOS (Obeject Service)
    U can try to use the function module NREL_GET_NEIGHBOURHOOD
    If you put
    IS_OBJECT-OBJKEY = <sales document>
    IS_OBJECT-OBJTYPE = <business object> (I think BUS2032)
    the function returns the idoc
    or if you put
    IS_OBJECT-OBJKEY = <idoc number>
    IS_OBJECT-OBJTYPE = <business object> (I think IDOC)
    the function returns the sales order
    You can investigate that function module in order to find out the tables
    Max

  • IDOC : ORDRSP, Fucntion Module

    Hi Experts,
    We are using Message type ORDRSP and Basic type /AFS/ORDERS05.
    Can any one tell me the name of Function module, which is used for standard outbound processing for the same IDOC ?
    Regards,
    Study SAP

    Hi,
       you can use standard outbound process code SD10.
       which has function module of idoc_output_ordrsp
       for sale order confirmation.
    regards
    mahesh.

  • IDOC : ORDRSP, Fucntion Module for debugging.

    Hi Experts,
    We are using idoc Message type ORDRSP and Basic Type /AFS/ORDERS05. As Outbound.
    When we are creating this idoc by using (WE19) Test idoc tcode, it is not stopping in the function module J_4A_IDOC_OUTPUT_ORDRSP  and IDOC_OUTPUT_ORDRSP. 
    We have putted External Brake Point in both the FM.
    We are using the processing "Standard Outbound Processing"
    Please help me to solve this problem,
    Is there any mistake with Function Module where we are putting these breakpoints are not used during the process ?
    It is really urgent,
    Regards,
    Study SAP

    Hi, Inbound process code for WP_PLU message type -
       WP_P.
    reward pts if it helps...

Maybe you are looking for

  • Buying a new Plasmsa - want to use my mac on it - Please Help....

    Hello, I am pretty new to Apple Mac's and so am a bit of a novice. I have a Macbook Pro laptop. I am about to buy a new HD ready Plasma TV for my living room and would like to know the following? 1. Will it be possible for me to have the display on m

  • IPod Shuffle 4th Generation's control buttons not working.

    My iPod Shuffle 4th Generation's control buttons are not working. Sometimes it works after formatting it stopped again.. Please give a solution ASAP...

  • Advance payment issue

    Hi I have an issue regarding customer's advance payment, the issue is urgent so Ill be grateful for early response: if customer has not made payment then system should not allow to create delivery for that customer Thanks in advance bhargav

  • Report Painter Quantity & Dollars

    Dear All, Could please someone help with the following: Create a report in GRR2 which shows in the same column Dollars ans Quantity e.g Sales      $10,000          (dollars from Cost element/Cost center) Qty Sold         10          (quantity as Stat

  • Canon 6d - LR4.3 64 bit - unable to upload images

    Bought 6D. Can upload images to PS6 and Picassa but not to LR4.3.  LRm.3 displays the images but when I got to import states it cannot read the files.  Any suggestions will be greatly appreciated. Thanks