Purchase order IDoc PORDCH generation error

Hi all,
I have made all the settings in the partner profiles to trigger PORDCH IDoc when I create or change purchase order through output message type.
But the error it gives in WE05 is the following:
The segment E1EDK01 does not occur at the current level of the basic type PORDCR01 (extension ).
This error can have several reasons:
The segment E1EDK01 is assigned to a group whose header segment does not occur.
The segment E1EDK01 does not exist in the syntax description of the basic type PORDCR01 (extension ).
The sequence of segments in the group in which the segment appears is incorrect.
Previous errors ('mandatory' segment or group missing) may be due to this error.
Since the generated IDoc is of ORDERS05 structure this is giving an error.
Can anybody help me out with this.

Jwalith
It seems, you are using wrong Process Code/Inbound Function Module .... Create new process code or modify your Z-Process Code to link it to function module IDOC_INPUT_PORDCH, which is valid for Message Type PORDCH.
This should solve the problem.
Thanks
Amol Lohade

Similar Messages

  • Purchase order IDOC: output

    Hi
    I did configure a the following.
    1.Outbound message type <b>ORDERS</b>
    2.Outbound receiver port : TRfc
    3.Basictype <b>ORDERS05</b>
    4.Message control: Application <b>EF</b> Message type <b>NEU</b> . Process code <u>ME10</u>
    What do i need to configure additionally so that the purchase order idoc get exported?

    Naresh
    This is what i did already.
    When i create the order ,  i user NEU AS as output and "distribution ALE" as medium. I then select LS (logical system) as Partner function and SAPBC as partner.
    I get a warning message "Partner SAPBC does not exist for partner function LS".
    When i go back to the messages, it is unprocessed. When i display the communication method, i get the error "No communication data has been defined for transmission medium A"
    Any idea why?

  • PORDCH01-change purchase order Idoc

    Hi all,
           I require some suggestion pertaining to PORDCH01-change purchase order Idoc. The vendor raises a claim purchase order in his system and eventually a return sale order is created at the central system and i am using a custom program to generate idoc's of type PORDCH01 and propagate it back to the vendor , while doing so I need to change the value of the field LFRET(Delivery Type for Returns to Vendors) , the Idoc doesnu2019t seem to have this field in any of its segments and even if i extend this idoc , i donu2019t have appropriate exits in the inbound function module which let me map this data field to  the required field EKPO- LFRET.I donu2019t want to go for a custom solution so Your help is much appreciated .
    Regards,
    Rethish..
    Edited by: Rethish Radhakrishnan on Sep 6, 2011 10:40 AM

    Hello Raja,
    Just a further question in that case
    Can I used Message type ORDRSP and basic type ORDERS05 on both the sides i.e. SD side and MM side?
    Any changes made in sales order should update the PO.
    As with the current situation i can not use PORDCH idoc on SD module side. Pls let me know.
    //Guru

  • Splitting Purchase Order Idoc based on qty

    Hi All,
    I am having a requirement wherein i have to insert multiple line items in purchase order idoc  based on quatity .Eg if the line item qty is 3 then the same line item has to be repated for 3 times and purchase order idoc has to created with 3 line items.I am trying to do this User exit EXIT_SAPLEINM_002 which is used Customer Enhancements to Data Segments: Purchasing Document (Outbound ).Can anybody tell me how can i go ahead inserting multiple lineitems in purchase order idoc based on the qty.So, Can anybody know how to handle this scenario? Also, can you please let me know whether is there any standard procedure for handling this scenario
    Thanks in advance
    Regards
    Saravana

    Hi,
    Use t.code ME2M or ME2N , enter account assignment category A & then choose selection parameter WE101 (open goods receipt) and execute.
    Regards,
    Biju K

  • Same message code & function for both Sales & Purchase order idoc.

    The same message code and function be used to send both sales order and purchase order idoc?

    Hello,
    You can use the same message code and function to send for both sales orders and purchase orders provided if you use different message types i.e., output types in the outbound partner profile configuration for processing these transactional data.

  • Purchase Order  IDoc

    Hin all,
    can any body help me in IDOCs
    where can i find the standard  Purchase order  IDOC
    plase help me
    thanks

    Hi,
    for outbound u have the FM( IDOC_OUTPUT_ORDERS)
    for inbound u have the FM (IDOC_INPUT_ORDERS).
    also in WE30 u can check ORDERS05
    Regards,
    Nagaraj

  • Generating purchase order idoc, when a sales order is created

    Hi folks,
           we need to send purchase order idoc from SAP to some external system. Once sales order is created, it should automatically generate the purchase order idoc and send to the external system....Any document showing step by step configuration to do so? I have basic knowldege of ALE and IDOC...please suggest me the configuration steps in detail...
               Thanks in advance,
                 Shyam.

    Hi,
    1. Configure the IDoc with message type ORDERS and basic IDoc type as ORDERS05 (You have to follow common step-by-step approach)
    2. Configure Message Control to automatically generate IDoc whenever a Sales Order is created. (I mean output type)
    So whenever a Sales Order is created, output type will generate an IDoc.
    Hope this information is useful.
    Regards,
    AK

  • Customer Sales Order number to display in Purchase Order idoc

    Hi experts,
    I have the Customer Sales Order number in the PO item level under "account assignment" tab.
    But it does not show in the idoc xml ouput of the PO.
    Could you let me know if it is not standard field to display in the ORDERS05 idoc type of the PO?
    If not what print program or form that can be used to show the sales order number.
    Also I want to show the Customer PO number into the Purchase Order idoc VBKD-BSTKD and the PO date will be in VBKD-BSTDK.
    This is very urgent !  Will reward.
    Rgds,
    Pri

    Hi experts,
    I have the Customer Sales Order number in the PO item level under "account assignment" tab.
    But it does not show in the idoc xml ouput of the PO.
    Could you let me know if it is not standard field to display in the ORDERS05 idoc type of the PO?
    If not what print program or form that can be used to show the sales order number.
    Also I want to show the Customer PO number into the Purchase Order idoc VBKD-BSTKD and the PO date will be in VBKD-BSTDK.
    This is very urgent !  Will reward.
    Rgds,
    Pri

  • Purchase order idoc issue

    Hi,
        I am facing a issue with an inbound purchase order change IDOC (message type: PORDCH).
    I am getting the following error: FM VENDOR_MASTER_DATA_SELECT_15 ; no partner functions found for vendor VENDOR_MASTER_DATA_SELECT_15 1.
    The vendors are configured such that they dont need a partner function. The suprising part is that the same message type idoc from the same vendor got succesfully posted a few days back and a few days after the issue was found, which means the error doesnt occur every time.
    Any input is highly appreciated.
    Thanks,
    Aparna.

    Hi Aparna,
    I want to make changes in an existing PO through an inbound idoc. I am using idoc type PORDCH01 and message type PORDCH, process code BAPI. But I am getting an error "Characteristic does not exist in operating concern".
    Can you please explain how u are using idoc type PORDCH01??
    Thanx in advance,
    Shaleen

  • Send Purchase Order IDOC to create Sales Order in other R3 system

    Hi everybody,
    I need to setup our R3 system so that when one user creates a Purchase Order in the R3, an ORDERS idoc is sent to another R3 system in order to create the related Sales Order (we have 2 R3 systems to support the business of 2 different companies
    - for simplicity, consider company A has a R3 X1 and company B has R3 X2 system).
    I've setup the EDI on both systems to communicate an ORDERS idoc between them.
    The problem is that when the X2 system receives the ORDERS Idoc from X1 system, it is processed with errors saying 'VKORG, VTWEG, SPART cannot be determined for client xpto'.
    Since our R3 X2 system also receive ORDERS idocs from other companies and are processed correctly, I've realized that the content of the IDOCs received on both situations is very different.
    In the EDI partner profile, I tried to use a different inbound process code but have no success.
    How can I setup this functionality for out R3 systems? Do I need to create a new inbound process code (and use a custom function module)? Is there any other more standard solutions?
    Thanks in advance,
    Manuel Dias

    Hi Manuel,
    Org Elements are not maintain for your customer in receiving system. Please maintain organizational data for customer ... using transaction code <b>VOE2</b>.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Item Deletion in Purchase order(IDOC)

    Hi all,
    I need to generate idoc for deleting the line item in purchase order,im able to create and change,if i go for deletion,the change indicator in CDHDR table is showing U(change) only not D(delete).
    valuable inputs will be rewarded....

    Deletion functionality never work for WGSREQ since it has several design errors in source code of FM VWWS_STORD_DISPATCHER and VWWS_STORD_DELETE_DOCUMENT. I hope that SAP will do correction soon.

  • Purchase Order Crystal Report Layout Error

    The stock Crystal Report Layout for Purchase Orders is giving me the following error:
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    Error in File POR20002 {b89f97ad-bf1f-447b-8bb4-b3d2e5219269}
    {3C375C81-7D37-475D-9BCB-1703CE533B65}.rpt
    Error in formula N_Decimal_Places:
    '// To get the length of decimals
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    I looked in the Crystal Reports Formula fields and could not find N_Decimal_Places.
    Has any one else had the problem with the PO layout that comes with Business One?  If so, how did you fix it?

    Couldn't find how to copy the PO layout over using copy express.
    I did compare the RDOC fields for POR20002 in both databases and they are Identical. 
    In Crystal Reports, I did a formula search for N_Decimal_Places and it found nothing.  Then I did a search for 'length' in all formulas and it finds length in N_Decimal_Places.  When I double click on N_Decimal_Places it clears the screen and never shows the formula. This happens in both layouts for my test database and SBODemoUS.
    Again, SBODemoUS works correctly and AAA_TEST give the error.

  • Purchase Order Print Report Compilation Error

    Hi,
    While compiling the report in Reports Builder Purchase Order Print Report , we get the following error:
    identifier GET_PRECISION must be declared.
    Where as this is a seeded function inbuild in the Program Units.
    Also while compiling on server we get the error.
    Cannot convert rdf to rep.
    Thanks,
    Angelica.

    Couldn't find how to copy the PO layout over using copy express.
    I did compare the RDOC fields for POR20002 in both databases and they are Identical. 
    In Crystal Reports, I did a formula search for N_Decimal_Places and it found nothing.  Then I did a search for 'length' in all formulas and it finds length in N_Decimal_Places.  When I double click on N_Decimal_Places it clears the screen and never shows the formula. This happens in both layouts for my test database and SBODemoUS.
    Again, SBODemoUS works correctly and AAA_TEST give the error.

  • Novated Purchase orders cannot be changed error

    Hi Experts,
        while trying to edit the PO we are getting an error as " Novated Purchase orders cannot be changed" . I am confused that which field is used to differentiate the normal PO to that of novated PO at portal level.  Please let us know why this error occurs and how can we solve the issue ?
       Thanks in Advance.
    Thanks & Regards,
    Aishwarya.M

    Hello Aishwarya ,
    A Novation is agreement of parties usually done in conjunction with an assignment where upon the assignment there is now a new agreement between the original party whose contract was assigned and the party to whom the contract was assigned that in effect extinguishes (cancels) the old agreement and relieves the assigning party of liability under the contract. 
    For example if A and B have a contract and there is an assignment and novation of that contract by B to C, the contract would now be between A and C and B would no longer be liable to A under the contract as the “novation” extinguishes their liability.
    If you wanted to prevent a novation you might include something like the following:
    “This contract shall be binding on the parties and their respective successors and permitted assigns. Except in the instance of an assignment or transfer by Buyer of all or any portion of this agreement, the assigning party shall remain liable for the performance of any assigned or transferred obligations hereunder.
    The requirements for a novation may vary by jurisdiction. For example in New York for there to be a novation it must specifically say it is a novation. In assignment consent letters Suppliers may try to create a novation by the words they use where the language in affect would say that Buyer may only look to the new entity going forward. Please check with the PO which supplier is being used and also check is there any third party involvement in that PO.
    Thanks
    Gaurav Gautam

  • MM Purchase Order IDOC NEU output type configuration

    Hi All,
    after creation of Purchase Order in ME21N in ECC 6.0 server, i want an IDOC for Purchase order to be created...........
    i saw there is a standard output type NEU and it has EDI and Distribution Model as medium..........
    when i went to ME21N and specified in message button output type of NEU, then the PO which i created had a NEU in messages but on opening  a new session and running ME21N and creating a second PO, then in this PO there is no output type for NEU....
    So i want to know in SPRO where is the exact location which specifies which output type will be triggered for IDOC creation on PO creation in ECC for message control...............
    plz help guys...........

    Hi,
    If it configured for EDI and Distribution Model , now check condition record in T.code:MN06{ if you are geeting for one PO, you should get for other PO also)
    Also check the following confi. details for Output of Purchase Order
    1. Condition Table
    SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
    Select: 
    Purchasing Doc. Type,
    Purch. Organization,
    Vendor
    2. Access Sequences
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
    3. Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order{NEU}
    4. Message Determination Schemas
    4.1. Message Determination Schemas
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
    4.2. Assign Schema to Purchase Order
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
    5. Partner Roles per Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
    6. Condition Record
    Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data->Messages-> Purchase Order-> MN04-> Create ,,,use medium '6' 
    Now you create PO (ME21N) and save it and then release.
    Also check in NACE t.code for standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines and for the output type for default values, a communication strategy needs to be maintained in the Customizing that supports . You can find the definition of the communication strategy in the Customizing via the following path: (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define Communication Strategy).
    Regards,
    Biju K

Maybe you are looking for

  • How to delete songs from iPod touch 5th generation

    How do I delete songs from an iPod Touch 5th genration. We tried many other forums with the swiping method, but when we tried it, a picture of a cloud with a red arrow appeared after tapping the delete button appeared and the song remained.

  • Is it possible to transfer emac HD info to a later mac desktop or laptop?

    I want to take my internal HDD from my emac and transfer the info off that to a later mac desktop or laptop. Is that possible? I have the internal HDD plus I have all its info backed up on a 400 Firewire / USB external HD. My OS X is 10.5.8 and I hav

  • Problem while releasing the request

    I created a customized Z report from the existing standard SAP report and also created a new tcode into the development server, and released the request via se09 into quality server.  Now when I try to execute this tcode in the quality server, its gi

  • I updated my email for itunes and now the sign in to icloud window opens up and i can not use my device

    I updated my email to my Itunes account. Now when i try to use my iphone and ipad a window pops up and says sign in to icloud but it has the old email address on it. Even after I hit cancel it immediately comes back and does not let me use my devices

  • Photoshop CS6 hanging

    I am running Mountain Lion on my late 2009 iMac. Every time i launch Photoshop CS6, it hangs. I have resolved all font issues. Please help.