Converting Process order Idoc to Post a Purchase order

Hi,
we have a requirement where we will get a Process order IDOC that is LOIPRO as an inbound IDOC. We need to use the IDOC to create a purchase order.
Can anybody suggest what can be done.
Sender system sends LOIPRO.
Recieving system recieves it and need to post a purchase order rather than a process order.
Thanks,
Neha.

No Reply..so far..

Similar Messages

  • Which is the process (or Package) that approve the Purchase Order

    Hi All,
    I have a custom process that modifies need by date and promised date fields in Purchase Order. After that the Purchase Order that has "Aprove" status change and say "Required Reaprove". Do you know which is the package that I can execute in order to aprove again the PO ?.
    Thanks Mariano.-

    Hi Hussein,
    It was a good idea to make a trace. I finally found the solution. Here it is....
    Thanks a lot !!!
    begin
    FND_GLOBAL.APPS_INITIALIZE(1911,50737,20003);
    end;
    begin
    MO_GLOBAL.SET_POLICY_CONTEXT('S',81);
    end;
    declare
    v_wf_seq NUMBER;
    v_itemkey VARCHAR2(100);
    begin
    SELECT TO_CHAR (po_wf_itemkey_s.NEXTVAL)
    INTO v_wf_seq
    FROM SYS.DUAL;
    v_itemkey := TO_CHAR(5782)|| '-' || v_wf_seq;
    po_reqapproval_init1.start_wf_process (itemtype => 'POAPPRV'
    ,itemkey => v_itemkey
    ,workflowprocess => 'POAPPRV_TOP'
    ,actionoriginatedfrom => 'PO_FORM'
    ,documentid => 5782 -- po_header_id
    ,documentnumber => '388' -- OC
    ,preparerid => 82 -- agent_id
    ,documenttypecode => 'PO'
    ,documentsubtype => 'STANDARD'
    ,submitteraction => 'APPROVE'
    ,forwardtoid => NULL
    ,forwardfromid => 82 -- agent_id
    ,defaultapprovalpathid => 10
    ,note => NULL
    ,printflag => 'N'
    ,faxflag => NULL
    ,faxnumber => NULL
    end;

  • How can I create a sales order with reference to a purchase order?

    How can I create a sales order with reference to a purchase order?
    Thanks in advance...

    Hello,
    you can't create a sales order with reference to a purchase order. You can input customer PO nuber in the sales order Purchase Order number filed.
    Prase.

  • Deleting AR Order line after copying to Purchase order

    Hello,
    It seems to be that after transfering a orderline in a Sale order and activating a direct purchase order of that line, it is possible to delete the orderline. Is there a way to avoid this, because otherwise a item is delivered by the supplier that the customer has revoked in his order.
    Thanks,
    Freek

    Hi
    I think wha you are looking is
    When You create a PO based on SO , the item is allocated for particular SO and you expect The link is there all the way to A/R invoice .
    However SAP by default donot have that function by default . Even though it creates a link by base ref but it doesn't allocate that item  for particular SO . So you can do anything you want in AR or AP side even though that PO is based on SO.
    Thank you
    Bishal

  • Unable to post the Purchase Order inbound idocs which are in status 64

    Hi
    While Processing the inbound idocs which are in status 64 for message type: PORDCR i am getting the
    idoc into error status 51 saying the error as "Missing authorization: Purchase Order Create Purchasing Grou V10"
    We are getting the inbound idocs from third party and we need to post these idocs in production.
    Can any one help me out how to proceed further on this.
    Thanks in Advance
    Regards,
    Phani Miriyala.

    Hi
    Thank you very much for your quick response.
    As the same user is able to process the idocs of message type PORDCR which are in status 64 successfully previously.
    Regards,
    Phani Miriyala.

  • VMI - ORDRSP IDOC to create a Purchase Order automatically

    Hello All,
    I would like to simulate the VMI process. Which data in a ORDRSP IDOC (Message variant VMI) has to be filled at least, so that from it an Purchase Order is created automatically? Does anyone of you have an example IDOC - maybe in the XML format?
    Thanks in advance
    BR
    RMP

    Hi Hanuma,
    For creation productin order IDoc, you can use standard program RCCLORD and FM CLOI_MASTERIDOC_CREATE_LOIPRO.
    For creation purchase order IDoc, you can use FM IDOC_OUTPUT_ORDCHG or IDOC_OUTPUT_ORDERS.
    There is customer exit available for you to populate new status and order number.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Idoc using EDI for purchase order

    hi all,
    could someone explain me all  the steps required in generating purchase order idoc  using EDI butnot using ALE.
    i want all the steps to be in detail.
    thanks in advance
    suma sailaja pvn

    EDI is described as the interchange of structured data according to agreed message standards between computer systems, by electronic means. Structured data equates to a simple and direct method of presenting the data content of a document. The method of ensuring the correct interpretation of the information by the computer system is defined by the EDI standard."
    EDI is a technique used to communicate business transactions between computer systems of different companies and organizations. Note that sometimes the EDI mechanism deployed at a company is often used to interface to other systems within the same organization."
    The difference between ALE and EDI process flows occurs at the communication level. The EDI process transmits IDocs to an EDI subsystem using flat file format. The ALE process transmits IDocs to an SAP system via memory, using asynchronous communication.
    Check the following links
    How Can I transfer invoice details to customer through IDOC in EDI
    Re: IDOC Types and their equivalent messages in EDIFACT and ANSI X12
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.henrikfrank.dk/abapexamples/IDOC/IDOC.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/0b/2a6095507d11d18ee90000e8366fc2/frameset.htm
    Reward Points if useful.

  • Idoc creation for ORDERS5 (purchase order to sd order)

    Hi,
    I'm trying to get an idoc out of the PO but without success. I'm pretty new to idoc handling in SAP.
    In processing log of the PO messages I see the following:
    OK: Object 4500000213
    OK: Output type: Purchase order
    OK: Processing log for program RSNASTED routine ALE_PROCESSING
    ERROR: No partner profiles (message control) maintained
    The description gives me the following hint, but I have no Idea what to do.
    Diagnosis
    No IDOC partner profiles have been created for the message control for for application EF, condition key Z40B and change message '' with partner type 'LS' and partner role '  '.
    Procedure
    Please create the partner profiles for the logical system that should contain the IDOC. You can either generate them from the ALE model or create them manually.
    Kind regards and thank you for help!
    Florian

    Hello Indu,
    I created two partner profiles but still receive that message above:
    Partner No: 999999
    Partner Type: LI
    Outbound parameters: ORDERS
    Outbound Options
    Message type: ORDERS
    Receiver port: A0000000006
    Pack. size: 1
    Basic type: ORDERS05
    Message Control
    Application: EF
    Message type: Z40B
    Process code: ME10
    Partner No: XXXCLNT100
    Partner Type: LS
    Inbound parameters: ORDERS
    Inbound Options
    Message type: ORDERS
    Process code: ORDE
    Kind Regards,
    Florian

  • Idoc for change in purchase order document -outbound

    i have a situation, where i need to populate an idoc whenevr a new PO is created or whenevr a existing PO is changed(outbound).
    we can populate IDOC for a new PO using Message control(creating our own function module) but how can we handle the 2nd situation---->populating an IDOC whenever a PO is changed?
    if a Master data is changed, then we can use CHANGE POINTERS concept, but how can i handle the change in Transactional data?

    Hi,
    check the configs and the procedure for ur requiremnt.
    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: ORDCHG
    In we20 tcode->outbound parameters->in the message control tab just specify the PROCESS CODE AS ME11 and chek the check box.
    Regards,
    Nagaraj
    Message was edited by:
            nagaraj kumar nishtala

  • How to extract Idocs Numbers from Bulk Purchase orders

    Hi Gurus,
    I have around 1400 purchase orders.I need to get their Idoc numbers to reprocess in order to generate Sales orders.Is their any process to extract  the Idoc numbers of all the purchase orders at a time. Pls suggest on the same.
    Thanks in Advance
    Ganesh Kumar

    Use t.code WE02.
    Enter IDOC basic type and date ranges. This will pull the IDOC numbers.
    Regards

  • Transfer posting against purchase order in MIGO transaction

    Dear all,
    How can we make the settings in MIGO transaction code for Transfer posting with reference to Purchase order.
    Other wise, i want to do the transfer posting of my goods to my sub contractor with refernce to PO number in MIGO Tcode
    Any config settings are required.
    Thanks & Regards,
    R.Saravanan

    As per SAP online help you have three options to post components to your SC vendor's special stock:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/4d/2b906243ad11d189410000e829fbbd/frameset.htm
    You can provide components for existing purchase orders in the following ways:
    from the SC Stock Monitoring for Vendor list as a goods issue via Inventory Management
    from the SC Stock Monitoring for Vendor list as a delivery via Shipping
    from the Inventory Management menu
    If you read the instruction for the third option (first two is about ME2O), you will see it is speaking about MB1B and not about MIGO.
    1. From the Inventory Management menu, choose Goods movement ® Transfer posting.
    2. Enter the issuing plant and storage location. Choose Movement type ® Transfer posting ® Stck w. subcontract. ® From unrestricted. Enter the vendor and then choose Transfer posting ® Create with reference ® To purchase order.
    A dialog box appears in which you can enter up to 4 purchase orders.
    In MIGO you can choose only "A08" with "R02", "R08", "R09". "R01" is not allowed for "A08" in standard system.
    (Maybe it is possible but I do not know how...)
    Edited by: Csaba Szommer on Aug 5, 2010 11:54 AM
    Edited by: Csaba Szommer on Aug 5, 2010 11:54 AM

  • How to convert XML into idocs and post in ECC using PI

    Hello All,
    I want to configure the scenario like this MDM->PI->ECC. Using FTP I am getting able to fetch the xml file from MDM Server Ready folder. Now, I need to convert this XML file into Idocs and post it in ECC. Can anyone provide me step by step configuration in PI to achieve this. I have configured communication channel with adapter type Idoc in Itegration Builder. But, I am not sure where it will do the conversion of XML into Idoc and how do post it to ECC. I am working first time on PI 7.1. I have worked on XI 3.0 in 2006-2007. Any help to configure this step by step shall be appreciated.
    Thanks & Regards,
    Hemal

    In you have the XML from MDM you have to use the mapping provided by the funtionals in the Funtional specification documents. once you did it you must configure the Receiver IDoc Adapter. and later dont fonget to configure properly the ReceiverAgreement.
    as you receive the docuement from MDM via FTP, thats not a SAP System that means that you have to define PI as the sender of the IDoc,otherwise you will have the Error "Unable to convert the sender service to an ALE logical system"
    to do that in the receiver Agreement>Header Mapping>Sender System-->Select PI server.
    Take in mind to send IDocs to any SAP System, the system that send it must be a SAP system too. thats why you configure it
    http://help.sap.com/saphelp_nw04/helpdata/en/5d/112d20f6ce6c46ba66afb98d278fbd/frameset.htm
    Another thing is you have configure the ALE distribution Model.
    se this:
    http://wiki.sdn.sap.com/wiki/display/XI/FileToIDOC
    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    Let us know
    Rodrigo P-.

  • 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

  • Issue with ORERS05 IDOC sending immediately after Purchase Order creation.

    Hello,
    When output mode of an outbound partner profile was setup as Transfer
    immediately then when ever EDI output is generated in Purchase Order then
    system creates IDOC and sends immediately out of system. But middle
    ware has received only control record and whole data records were missing in IDOC file received by middle ware and we were receiving status 29 back from middle ware.
    Right now we changed outbound partner profile, output mode was set to
    Collect IDOC's and we are running RSNAST00 program in background to send those IDOC's but we
    were looking into go for first option to send idoc out of system as soon EDI output is generated in Purchase Order.
    Is there any way of fixing this issue.
    Thanks in advance.
    Regards
    Prasad

    Yes, I'm facing with PO IDOC only and as I said it is not issue with middle ware as they were receiving only IDOC control record.
    If I resend same idoc by setting status back to 30 they were able to receive whole IDOC and more over if we set partner profile to Collect IDOC and schedule back ground job every 5mins then middleware was bale to get whole idoc.
    Looks like it is SAP issue as this the message I got from SAP.
    The problem only exists if the messages are supposed to be output by
    means of transmission time-spot
    4, that is 'immediately' (during the saving of the application).
    With the output of the change message, the change documents are read for the purchasing document (all as of the last successful transmission).
    With the transmission time-spot 4, it can occur that the change
    documents do not physically exist on the database yet. No change message can be generated in this case and the system generates message ME140 or ME760 in the message log.

  • Idoc will trigger after purchase order release workflow

    Hi Workflow Guru,
    I have a requirement to configure Purchase Order release workflow. I am configure the same its working fine, but my client requirement is when the purchase order finaly release one IDOC will be trigger and the document will send to other system. We have  PI for Interface.
    I want to add new activity step in my workflow template to trigger a Idoc after final release.
    Please give me a idea , how to do this.
    Thanks in advance.
    Regards,
    Ranjan

    Hello,
    Use the standard IDoc LOIPRO01. Have a look at program RCCLORD. use it in the method of the business object you are using.
    You'll need to configure the idocs and partner profiles as normal.
    Regards,
    Kiran Telur

Maybe you are looking for