Inbound Purchase Order from XI to ECC

Hello all, I have a SOAP -> XI -> IDoc scenario in which everything seems to be working fine until the IDoc hits ECC and I'm receiving an error in transaction we02:
<i>The function module IDOC_INPUT_ORDRSP and the application object type BUS2012 which were determined are not valid for this IDoc.</i>
What processing code should I be using for ORDERS05 IDoc (no enhancements) in the partner profile?

Hi Harrison,
use Process code ORDE
FM is called IDOC_INPUT_ORDERS
(very nice to debug)
also described in my book:)
<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Similar Messages

  • How sales order is created from inbound purchase order from customer by EDI

    Hi experts,
    My doubt is how a sales order is created when a customer sends a purchase order through EDI.
    My doubt really starts here.. (how the Idoc is posted).
    Case 1 : Just the process code is checked and corresponding function module is called and in background a sales order is created. (Or the below process)
    Case 2 : The process code will point to a workflow where an authorized person will enter some more additional data's and save the document.
    And also how pricing procedure, material determination, material substitution will take place/ works if we want to post a inbound purchase order into sales order..
    can u people clearly explain how the process takes place in real time ...
    with regards,
    James..
    Valuable answers will be rewarded..

    hi,
    the first option is the right one. the FM invoked makes a direct input, so all the functionalities in S.O. are the standard one in the same way as if you are making it manually.
    Also you can have some exits in the Idoc FM, so you can manipulate data there before loading the sales order.
    pls. reward if helpful
    regards
    Roberto

  • Updating SRM 7.0 purchase order  from R/3 ECC 6.0

    Hi,
    we have a situation where we need to update srm po (account assignment ) after GR . we were able to update in R/3 .
    Till now SRM version is 4.0 there was no problem and purchase order is only available in R/3 . Now SRM system getting updated to 7.0 and as in SRM 7.0 purchase order is  saved in SRM system too . To avoid the inconsistency we have to update the po in SRM as well.
    Is there any way to update in srm from r/3 ecc 6?
    Thanks ,
    Rhea.

    Hi Masa,
    We use some customization during good receipt so during GR we change the account assigment details of po .
    We got a method to change the ECPO . so it is possible to change ECPO(copy of srm ) in ERP.
    What I am looking at is after changing the srm po copy in ERP I want to update in SRM too. so that both has same values (account assignment) . Not sure at this point how can be done (May thru BAPI/ RFC).
    so is it possible to change po details in SRM from R/3.
    Rhea.

  • Subcontracting Purchase Order from ECC sent to APO creates a Plnd Order

    Subcontracting Purchase Order from ECC sent to APO creates a Plnd Order with the same Purchase Order# in APO.
    We want to influence the source of supply for this internally APO created planned order.
    For this, I would like to know what user exit can be used, I have already looked at
    (1) BADI: SOURCE DETERMINATION
    (2) CIF INBOUND EXTERNAL PROCUREMENT on APO side.
    Any other user exits or has someone worked on this scenario.
    Thanks
    Kumar

    sources of supply for planned orders can be changed with the following BADI method:
    Definition name               /SAPAPO/RRP_SRC_EXIT
    method RRP_USEX_SOURCE_FILTER

  • How sales order is created from inbound purchase order?

    Hi experts,
    My doubt is how a sales order is created when a customer sends a purchase order through EDI.
    My doubt really starts here.. (how the Idoc is posted).
    Case 1 : Just the process code is checked and corresponding function module is called and in background a sales order is created. (Or the below process)
    Case 2 : The process code will point to a workflow where an authorized person will enter some more additional data's and save the document.
    And also how pricing procedure, material determination, material substitution will take place/ works if we post a inbound purchase order into sales order since we need a human intervention for selecting the material in material determination etc..
    can u people clearly explain how the process takes place in real time ...
    with regards,
    James..
    Valuable answers will be rewarded..

    Hi James;
    Let me try to explain with an example...Let us say u r placing an Order (Purchase order) online in a website. So you will fill in the necessary details in terms of your address, you would choose a product and etc...
    Now, this is converted into a file and sent to SAP. SAP will inturn convert this file into an Idoc based on the input, the FM is called and the data is filled. At this point in time the status of the idoc would be 50. Now an validation happens and the idoc is pushed to status 64. Now there is a progrma RBDAPP01 is the which will do the actual processing, meaning converting the Idoc into an Order. If the idoc fails to convert then a workflow is created.
    When the Idoc is processed it will actually go through VA01 txn and it would typically do everything that we do when we enter a order manually. Automation is the only difference.
    Idoc is just data and this data as and when entered is processed and the necessary information is obtained. Meaning, when the Material is fed, the MM aspect of SAP kicks in and provides the necessary data, similarly the Pricing procedure is determined based on the parameters.
    In effect all the information is stored in SAP and are kicked in as and when they are called for.
    Hope you get an overview of this.
    Regards,
    Mani.

  • Update was terminated while creating purchase order from ME21N

    Hi Experts,
    We are getting this dump when try to create purchase order from ME21N;
    Our system ECC 6.0 and IS-AFS (Apparel & Footwear Solution) V600 component has installed,
    How can we prevent this error,
    Regards
    Here is the dump and sm21 log,
    Runtime Errors         LOAD_PROGRAM_NOT_FOUND
    Exception              CX_SY_PROGRAM_NOT_FOUND
    Date and Time          10.10.2008 10:22:03
    Short text
         Program "RMCMS431 " not found.
    What happened?
         There are several possibilities:
         Error in the ABAP Application Program
         The current ABAP program "SAPLMCS4" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
         or
         Error in the SAP kernel.
         The current ABAP "SAPLMCS4" program had to be terminated because the
         ABAP processor detected an internal system error.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_PROGRAM_NOT_FOUND', was not
         caught in
        procedure "TMC2F_FROUT_CALL" "(FORM)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        On account of a branch in the program
        (CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)
        or a transaction call, another ABAP/4 program
        is to be loaded, namely "RMCMS431 ".
        However, program "RMCMS431 " does not exist in the library.
        Possible reasons:
        a) Wrong program name specified in an external PERFORM or
           SUBMIT or, when defining a new transaction, a new
           dialog module or a new function module.
        b) Transport error
    How to correct the error
        Check the last transports to the R/3 System.
        Are changes currently being made to the program "SAPLMCS4"?
        Has the correct program been entered in table TSTC for Transaction "ME21N "?
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "LOAD_PROGRAM_NOT_FOUND" "CX_SY_PROGRAM_NOT_FOUND"
        "SAPLMCS4" or "LMCS4F10"
        "TMC2F_FROUT_CALL"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
        4. Details about the conditions under which the error occurred or which
        actions and input led to the error.
        The exception must either be prevented, caught within proedure
        "TMC2F_FROUT_CALL" "(FORM)", or its possible occurrence must be declared in the
        RAISING clause of the procedure.
        To prevent the exception, note the following:
    sm21 log ;
    Transaction Canceled 00 671 ( LOAD_PROGRAM_NOT_FOUND 20081010102203saptest_TET_00 EYUCE 100
    Update terminated
    > Update key: F39796DD5421F1509233001E0BD601E0
    > Update module: MCE_STATISTICS_UPD_V2
    Run-time error "LOAD_PROGRAM_NOT_FOUND" occurred

    Please follow the oss note 800335
    V2 Update terminations in Purchasing transactions after upgrading or installing AFS 5.0 release.
    Other terms
    AFS, LIS, MIGO, ME22N, OLI3, S433, S431
    Reason and Prerequisites
    AFS Purchasing infostructure S431 is no longer used. S433 is the valid infostructure for the release AFS 5.0.
    Solution
    Please do the following.
    For customers upgrading to AFS 5.0 only:
    > Rebuild Infostructure S433.
    - Goto transaction: OLI3 (Statistical Set up of Infostructures)
    - Info structure to be compile: S433
    - Specify the 'Name of run'.
    - Execute.
    > Please also follow the instructions given below.
    For both Upgrade and Non-upgrade Customers:
    > Create the report 'ZDELS431'.
    - Transaction: SE38
    - Give Program name as ZDELS431.
    - Create (F5).
    - Title : 'Program to delete S431'.
    - Type  : 1 (Executable Program).
    - Status: T (Test Program).
    > Copy the program text from the note and paste in the program.
    > Save and activate the program.
    > Execute the report for all clients in Update mode.
      (Two check-boxes will appear: P_ALL_CL, P_UPDATE.
       Please check both of them).
    This report will delete all the references to infostructure S431.

  • Transfer orders from SNP to ECC

    Hello,
    Could anyone please tell me how to transfer planned orders (production, purchase & transport) from SNP to ECC?
    Thank you in advance for your help.
    David.

    Thank you Senthil for your answer.
    Production orders are now being transfer, but purchase and transport req. we are still having problems.
    We checked sapapo/ccr and there is an error: " CIF 182 - No external number exist in R/3". We still have not figure out what could be the problem. Any ideas of what could be the problem?
    Thanks,
    David
    Edited by: DToron on Sep 10, 2009 5:35 PM

  • Partner details are not getting captured to the purchase order from the ven

    Hi,
    Issue : ( ECC PO)
    Partner details are not getting captured to the purchase order from the vendor master.
    We found that the partners are not getting captured in ECC PO's automatically from the vendor master. We checked for all the config and everything seems to be o.k, but could not figure it out.
    Any suggestions are highly appreciated.
    Regards
    Sudhakar

    Hey Sudhakar,
    I believe what is happening here is that the ECC PO document type has not been assigned to the partner determination procedure.
    If this is working properly for standard POs, then,
    Go to Partner detrmination under Purchasing>  Partner Settings in Purchasing Documents> Assign Partner Schemas to Document Types.
    and enter teh appropriate document type and refer it to the procedure you have for NB Pos

  • Mass sales orders from CRM to ECC

    Hi,
    We have a requirement to mass upload sales orders from CRM system ECC system. I could not able to find any option to push sales orders in bulk from CRM to ECC.
    Could you please let me know if you know any kind of solution for this kind of scenario.
    Thanks in advance!
    Regards,
    Kumar B.

    Hi Maggie,
    Thanks a lot for your response. But I could not able find CRMD_MASS_UPDATE in CRM system as well as in ECC.
    Could you please let me know how to try this other please let me know the program or tcode.
    Regards,
    Kumar B

  • How to bring 'Firm' Purchase Orders from legacy system through PDOI

    Hi
    we are interacing the purchase orders from a legacy system through Open Interface i.e PDOI.
    Here i have to enable the Firm_Flag for all these PO before converting to oracle. I found that there is a column firm_flag in po_headers_interface table , but when i am populating taht column to 'Y' also, the firm flag at the PO window , by clicking the Terms button, is not reflecting.
    Please let me know why PDOI is not picking up the value at the header table. Any help is really helpful.
    Thanks
    Vyaghresh

    Vyaghresh
    Can you tell us your version?
    Thanks
    Nagamohan

  • Re: Error in submitting Import Standard Purchase orders from Pl/Sql

    Hi All,
    Iam using the following code to submit a concurret program
    "Import Standard Purchase orders" from pl/sql
    Program is sucessfully submittted but it is Completing in error status i am stuck there please help me in resolving this
    My instance R12
    My Code
    ======
    DECLARE
    v_request_id VARCHAR2 (100);
    BEGIN
    mo_global.set_policy_context ('S', 204); --org_id for the operating unit which the purchase order records belong too
    mo_global.init ('PO'); -- sets the application
    FND_GLOBAL.APPS_INITIALIZE (1013436, 50578, 201); --Consists of the user_id, responsibility_id, responsibility_application_id which is 201 for purchasing
    v_request_id :=
    fnd_request.submit_request (application => 'PO',
    program => 'POXPOPDOI',
    description => NULL,
    start_time => NULL, -- To start immediately
    sub_request => FALSE,
    argument1 => '31348', -- Buyer_ID
    argument2 => 'STANDARD', -- Doc Type
    argument3 => '', -- doc subtype
    argument4 => 'N', -- update items
    argument5 => '', -- create sourcing rules not used
    argument6 => 'INCOMPLETE', -- Approval status
    argument7 => '', -- release generation method
    argument8 => '1021387', -- batch_id
    argument9 => '', -- operating unit null
    argument10 => '', -- global agreement null
    argument11 => '', -- enable sourcing null
    argument12 => '', -- sourcing level null
    argument13 => '', -- inv org enabled null
    argument14 => '' -- inv org null
    DBMS_OUTPUT.put_line ('Request submitted. ID = ' || v_request_id);
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.put_line (
    'Request set submission failed - unknown error: ' || SQLERRM
    END;
    output
    =====
    when i check output i am getting the follwing error
    DECLARE
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at line 133
    Log message
    ==========
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    31348
    STANDARD
    N
    INCOMPLETE
    1021387
    Start of log messages from FND_FILE
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 945297
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
    User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
    End of log messages from FND_FILE
    Thanks
    Manoj kumar

    Pass NULL instead of ''
    Check the flag
    SELECT multi_org_category
      FROM fnd_concurrent_programs
    WHERE concurrent_program_name = 'POXPOPDOI'Update it as per the below MOS Doc
    R12 / POXPOPDOI - 'ORA-01422' Error While Running 'Import Standard Purchase Orders' [ID 457628.1]
    Otherwise,
    Follow the below doc and insert values to the interface tables (headers, lines and distribution) and run the Import Standard Purchase Orders from the front end.
    How To Diagnose Problems With Importing Standard Purchase Orders [ID 781351.1]
    HTH
    Cheers,
    ND
    Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered.

  • Excluding price of last purchase order from cost estimate

    Good morning,
    we have the issue described below:
    we would like to exclude a price of some purchase orders from valuation in cost estimate in case of valuation is made by price from purchasing info record.
    In this case valuation considers price of last purchase order even if there is a valid agreement used.
    Our customer would like to have valuation with price of purchasing agreement and not price of the standard purchase order closed, but if agreement is older and during creation of standard PO is setted the "InfoUpdate" flag, system updates the inforecord and in CK11N during cost calculation it uses this price for subcontracting.
    We have done some tests...Is there a standard SAP solution to have price of valid purchase agreement?
    Many thanks.
    Giusy Castiglione
    Accenture Outsourcing

    Hi,
    Your requirement seems to be very unique and hence you need to try out through by selecting the valuation through user exit where we can request the system take the po price from purchase agreement instead of purchase orders. This selection deftly resolve this unique requirement instead of searching for a std solution.
    Trust this helps much!
    Regards,!
    Ashok Singh

  • Quantities captured in Purchase Order from Sales Order

    Hi,
    Here is the scenario:
    1. Sales Order: Ordered 2 units of item A.
    2. Item A in warehouse = 1 unit. Therefore, I'm short of 1 unit.
    3. Tick Purchase Order in the logistic tab.
    4. When I click Add sales order, Purchase Order confirmation window appear.
    5. Quantities captured in the PO confirmation order is 2 units.
    The quantities for PO should be 1 unit, isn't it?
    This is weird. I tested this a few days ago. The PO only captured the quantities that I'm short of, not the full quantities.

    Hi Joyce
    As per your scenario if there are two items in sales order and if u make a purchase order out of it it would have 2 items in it
    because it does not take into account the MRP aspect it directly links a direct link between sale and purchase order in the backend and also there exist a link between line items and there quantities
    if u wana run the system eeping in mind the MRP concept then u would require to run the purchase order from MRP
    Regards
    Manish

  • Automatic posting of purchase order from sales order

    hiii
    experts,
    i m doing automatic purchase order from sales order. i have generated purchase requisition number from sales order now when i m trying to do automatic po the system says no suitable purchase requisition available.I have maintained info record, source code,automatic po tick in material master and in vendor master.what could be the problem .waiting for ur valuable inputs.
    warm regards
    thanks
    subhash kulkarni

    Hello,
    Please check all the things mentioned by our experts e.g Source allocation ,infor record, source list.
    Beside that I would suggest check document flow whether already PO is created or not.
    If every thing is in place then try to create PO with reference to PR by transaction ME21N & see what error you receives.
    Hope this help you ,
    Regards,
    Prashant

  • Purchase orders from order recommendation report

    hai,
    Can purchase orders from the order recommendation report be saved as draft,because the purchase orders needs to be maually approved before being creadted.
                                                        Thanks in Advance
    Regards
    Vikash

    Try this query:
    IF      $(OPOR.Comments] ='Origin: MRP'
      SELECT 'TRUE'
    ELSE
      SELECT 'FALSE'
    (Replacing  ( with [  )
    It works for version 2007A, but the system does not executes the approval query for 2004C.  I do not know what is for 2005.

Maybe you are looking for

  • Adobe Premiere Pro Video editing layer disappeared

    I was working with Adobe Premiere Pro and then the video editing layer disappeared, it left me with Audio editing layer tho.

  • How do you tell the differeence in packaging on the older 5G and the new un

    Can you tell what iPod you have either the origianl 5G or the newer 5G bythe packaging? Mine is an origianl one and it has Bono on. please

  • JVM virtual memory footprint

    I'm running java processes (specifically Tomcat) on a linux system with not too much available memory and I run into a lots of problems as java seems to consume a lot more memory than it would need. To understand the problem I created this "unit test

  • Can someone confirm this please?

    I was told all over these forums that I'd be given a replacement refurbished iPhone 4S because my one right now has terrible battery life. So I called Apple and they assured me that they only replaced them with new ones in Ireland. Could somebody con

  • N97 and freaky rebooting behavior?????????

    Ok so this morning, i wake up and unplug my phone like every morning. today is a bit different. i had a busy day ahead of me, looked at the phone to check the hour and all of a sudden the phone reboots. mind you it has never done so before. i look an