Inbound PO idoc - orders05 and PORDCR

Hi
I am sending PO from SAP A to SAP B
In SAP B i am getting error 51- enter purchase organisation
i am using message type PORDCR and idoc type orders05
when i check in we02...there is no field called EKORG...however there is a segment E1EDK14 with qual 11 or 14 is having the value of purchase org
where am i missing

Hi,
There is standard way of achieving this follow the below steps. Instead of ORDER05 idoc there is another one attached to PORDCR1 message type.
message type PORDCR1  to be used both at sender and receiver side. Follow the below steps to activate the interface.
Sender Side:
1) Create the output type in NACE txn under EF application with the program and subroutine BUS2012_ICH_R3 and SEND_PORDCR1 respectively.
2) Maintain the distribution model with BAPI option
3) maintain condition Records
4) Maintain the Partener profile
Receiver Side:
1) Maintain the Partener profile
Cheers,

Similar Messages

  • How to extend the IDoc ORDERS05 and populate values?

    Hi,
    My requirement is to add few fields to the standard IDoc ORDERS05 and populate values to the newly added fields.
    Please let me know how to extend the standard IDoc ORDERS05.
    Regards,
    Balaji. R

    Hi balaji,
    you can try to google for SAP R/3 IDoc Cookbook for EDI and Interfaces by Axel Angeli et.al.
    Although Axel refers primarily to MATMAS Idoc the technique of extending IDOCs is explained very well.
    Also very good is the search function here on SCN, I just found
    [Some Experience on IDoc Enhancement|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3414900%29ID0711317150DB10743789739220747754End?blog=/pub/wlg/8285]
    Blogs and Wikis here are the best source for general questions like yours, usually of much more value than forum answers
    Regards,
    Clemens

  • Idoc ORDERS05 and EKPO - IDNLF

    Hi all,
    Is there anybody that knows if it is possible to send EKPO-IDNLF via IDOC ORDERS05?
    Regards
       Federico

    Hi,
    Try entering the value to be populated in  E1EDP01 --> E1EDP05
    In segement E1EDP05 populate E1EDP19-MFRPN with the IDNLF value and QUALF (identification) = 002
    Pavan

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

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

  • 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

  • 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

  • Link between Inbound Idoc No and Shipment No

    Can anyone tell me in which transparent table the link between the Inbound Idoc number and Shipment number are stored ?
    or is any function module in which the Shipment number is imported and the Idoc number is exported ?
    Thanx in advance.
    Regards.

    Hi Deepa,
    Please reward and close your other related post. Now here is the answer for this.
    As I mentioned in response to your previous post, this is stored in the status records of the IDoc. So you need to go to table EDIDS with your IDoc number and STATUS = 53(Application Document Posted). Read teh value in the field 'STATXT'. If there are any & they should be replaced by 'STAPA1', 'STAPA2', 'STAPA3' and 'STAPA4' depending on how many '&' you have.
    One of these 4 parameters will be your shipment number, typically it will be STAPA1.
    Let me know how it goes.
    Regards,
    Srinivas

  • Which table stored the Inbound ASN IDOC # and corresponding In.B Delivery#

    Hi,
    May i know which table stored the inbound ASN IDOC# and corresponding created Inbound Delivery number??
    Thanks!!

    Dear Hoo Laa,
    You may find the Sales Organisation/Distribution Channel details in PO itself (Shipping Tab). Table where you can get Sales Organisation/Disribution Channel is EKPV.
    Regards
    Samier Danish

  • 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

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

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

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

Maybe you are looking for

  • How to select one row in a table with radio button

    Hi all. I have a VO where there is an attribute (isDefault [String]) that identifies the default record in the view. The possible values are 'Y' for yes and 'N' for no. Obviously only one record can have the 'Y' value. In my page I have created an AD

  • Mp3 tag viewer with text encoding/decoding purpose

    I'm want suggest some idea: Let assume that we have many mp3 files with cyrillic or some else non ascii tags in different encodings. And let assume that each file may have several encodings (eg cp1251 for album and utf-8 for title). Programs like Eas

  • Integration of cproject with microsoft project 2003

    dear all, i want to integrate cproject with microsoft project 2003. can u send me documents related this. what are settings required for this. my email id: <b>[email protected]</b> thanks amit

  • My playlists are completely out of order...

    How come something as simple as a playlist messes up? I want the songs in my playlists to be in the SAME order as they are on iTunes. Is that too much to ask? How can I fix that problem? BTW: It's a brand new iPod Touch and no, shuffle is not on. Tha

  • Need SCJP study guide for java 5.0 by katherine sierra pdf

    I am planning to prepare for SCJP 5.0 , can somebody please send me pdf copy of SCJP Sun Certified Programmer for Java 5 Study Guide by katherine sierra . please mail it to me at [email protected]