Posting Purchase Orders (IDOC  Adapter) according to Vendor using BPM's

Hi,
My requirement is to post purchase orders into SAP r/3 according to vendor wise using IDOC adapter using BPM's.
Input is a FLAT File which contains all the Purchase order items/records for various vendors.
We need to process these items/records according to vendor and post it into SAP r/3 using IDOC Adapter within 8hrs processing time(Time Bound).
What i mean is: the process should collect all respective vendor related items/records from the flat file and post respective purchase orders in SAP. That means if  5 items out of 20 are from one vendor,  we shud create a PO in SAP with 5 items for that vendor and likewise for the rest of the items.
Please explain the procedure and detail Mapping in step by step procedure... how to send 'n' items for a PO.
Regards,
Ravi

for idoc configuration refer 
https://wiki.sdn.sap.com/wiki/display/XI/SAP+R3+%28Idocs%29+To+XI+--+Steps+Summarized
Source WIKI. As far as BPM is concerned, set the correlation based on vendor number. this will ensure u collect the message according to vendor number.
there are two option set for ur for posting the PO WRT vendor number:
1. using BAPI
2. using idocs
The mapping for both the methods are straight forward except care need to be taken for mapping the data segment esp WRT the vendor number.

Similar Messages

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

  • Table for open Purchase order and pending invoices for vendors

    Hi,
    Are there any table to know open Purchase orders and pending invoices for vendors.
    Quick response will be appreciated.
    Thanks & Regards

    hi,
    Purchase Order:
    S011:(PURCH: Purch. Group Statistics)
    Statistics (SSOUR)
    Version (VRSIO)
    Month (SPMON)
    Day (SPTAG)
    Week (SPWOC)
    Posting Period (SPBUP)
    Purchasing Org (EKORG)
    Purchasing Group (EKGRP)
    Vendor No (LIFNR)
    S012: (PURCHIS: Purchasing Statistics)
    Statistics (SSOUR)
    Version (VRSIO)
    Month (SPMON)
    Day (SPTAG)
    Week (SPWOC)
    Posting Period (SPBUP)
    Purchasing Org (EKORG)
    Purchasing Group (EKGRP)
    Material No (MATNR)
    Plant (WERKS)
    Info Record Category (ESOKZ)
    Material Group (MATKL)
    Info Record (INFNR)
    Country (LAND1)
    EINE: (Purchasing Info Record: Purchasing
    Organization Data)
    Info Record (INFNR)
    Purchasing Org (EKORG)
    Info Record Type (ESOKZ)
    Plant (WEKS)
    EKET: (Delivery Schedules)
    Purchasing Doc (EBELN)
    Item (EBELP)
    Delivery Schedule (ETENR)
    EKPO: (Purchasing Document Item)
    Purchasing Doc (EBELN)
    Item (EBELP)
    EKKN: (Account Assignment in Purchasing
    Document)
    Purchasing Doc (EBELN)
    Item (EBELP)
    Account Assignment (ZEKKN)
    EKKO: (Purchasing Document Header)
    Purchasing Doc (EBELN)
    EORD: (Purchasing Source List)
    Material No (MATNR)
    Plant (WERKS)
    Source List No (ZEORD)
    thx,
    Ganpat

  • 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

  • A report which shows the purchase order MM and the linked vendor invoice

    Hi All,
    I wonder if ther's a SAP standard report which shows the purchase order MM and the linked vendor invoice (the FI document)  with the Net due date.
    Could anyone help me?
    Thanks
    G.Rossi

    Hi,
    ME80FN with PO History View
    ME2N with Scope of List "ALLES"

  • 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

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

  • 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

  • Error in posting purchase order delivery

    Hi
    I got an error while posting purchase order delivery through Tcode- MIGO
    This is the Error Message:
    Posting only possible in 2009/04 and 2009/03 in company code XXXX
    I checked everything Fiscal year variant,Posting period variant,etc.
    And in Tcode- OMSY.
    Let me know as early as possible how to solve this issue.
    Thanks and Regards,
    Deepthi.

    Hi Deepthi,
    You need to understand that posting periods 3 and 4 does not necessarily mean march and april in SAP.
    Check your fiscal year variant for the months which correspond to periods 3 and 4.  Then you will be able to solve your problem by yourself.
    Open and close periods in FI -  OB52
    Close periods and open new periods in MM Side - MMPV
    Hope this helps you....
    Regards,
    Sreekanth....

  • External Vendor number conversion - purchase order IDocs

    Hi,
    I am specifying requirements to create purchase orders via IDoc type PORDCR direct from an external SRM system. The vendor masters references in the source system are different to the ones in R/3 therefore conversion is required.
    Is there any std SAP table similar to EDPAR in sales, which can be used to convert external vendor codes in purchasing?
    So far I can only see that EDPAR is relevant for sales order processing, not purchase order processing. If there is no standard conversion table available for this function I assume the conversion must be done from within the integration tool?
    Many Thanks

    Thanks - however the EDPAR table will not accept a vendor or logical system to be entered into the 'customer' field. It does a check to ensure the record is in KNA1 therefore I wanted to see if anybody had used this table to convert vendor codes in purchasing
    do you know the names of these function modules?

  • 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

  • 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

  • Partial Payments on Purchase Orders - IDOC Scenario

    Hi all,
    I have been asked to look into an integration scenario where a purchase order is set up in ECC 6.0 and payments are called off against this over the financial year.
    Payment files are generated in another system and the idea is that we pick up these files with PI and create payment documents in SAP that are associated with this purchase order.
    I have previously used FIDDCP2 to create payment/invoice documents in SAP - but these had no link or association with purchase orders.
    Anyone had this scenario before? Can I use FIDDCP2 to call off payments against a purchase order like this?
    Or are there other, better (easier?) ways to achieve this?
    Advice and thoughts welcome...
    Regards
    Ian

    Hi Ian,
    I guess that if you post this question in an R3/ECC (ABAP) forum you could get more help, because they should know more about Idoc types for different purposes.
    Regards, 
      Juan.

Maybe you are looking for

  • IPhone Videos TV Show sort display issue

    Uploaded new ios upgrade. Now when I synch multiple TV shows, under videos they all get lumped under "TV Shows", and if you look carefully the episodes are listed not seperated by shows, but alphabetic, and will show season number, but has a zero for

  • Split Region By Locator

    When using the 'Split Region By Locator' command on a looped region, Logic also creates a duplicate region and places it immediately following the original region. I find this very annoying. Is there a way to get around this? Power Mac Dual 2.0   Mac

  • How to Configure Dual UOM in Inventory

    Hi All, I'm facing some problem regarding dual unit of measurement. our client is Purchasing Raw material Quintal wise.  But they are issuing  the Raw material for Production bag wise . The average weight of Bag   (Total available stock weight in Qui

  • How to Disable disk eject warning

    I do a lot of importing photos from Compact Flash cards, so much so that I get really tired of ejecting each one after import. I even pull my ipod without ejecting as long as there's no transfer happening. Every time I have to click that I understand

  • Additional licence for pdf form completion?

    Hi, I apologise if this is the wrong place to ask my question - please redirect me if it is. Years ago I used Adobe professional (I don't remember the version number) and I could create forms for others to complete, however if the other person did no