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

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.

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

  • How do we SPLIT Purchase Order in Order Recommendation Report

    Is there any way to SPLIT Purchase Order in Order Recommendation Report.

    Hi,
    You cannot SPLIT the Purchase Order from Order Recommendation Report. But by seeing the Order Recommendation Report you can manually create purchase orders.
    Raja.S
    Edited by: Shrirangaraaja Subramanian on May 13, 2008 1:34 PM

  • 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

  • Purchase Order segment field is enabled even though Split Purchase Order option is disabled

    Hi,
    In Purchase Order top right side, next to Document Number field, there is a Segment field. My understanding was that it comes only if Split Purchase Order setting is enabled in Per Document Settings.
    But in my Per Document Settings for PO, the Split Purchase Order option is disabled; still it is showing the Segment field. How can I get rid of this?
    Thanks.

    HI Rajesh,
    SAP B1 have common Split PO settings in Document settings.
    If we enable Split PO option in Document settings, then in Logistics tab of Purchase order screen Split PO will be enabled for all purchase orders.
    If we don't enable Split PO option in Document settings, still we have option to enable only for specific purchase orders before we adding the document.
    If Split PO option is "unticked" in Purchase order> Logistics tab, then  it wont allow multiple warehouse in single PO.
    Thanks
    Unnikrishnan

  • 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

  • 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 based on Loading Group.

    Hi,
    My client is a fashion retailer. They have two Loading Groups, General Merchendise that comes in cartons and Hung garments that com hung on hangers.
    PO`s are created for every Vendor by Follow-on processing of allocation or by replenishment run.
    It is desired to split our Purchase Orders based on loading group.  So that there is a separate PO for General Merchendise and Hung Garments. These can then be handled separately during GR and furthur processing.
    Would like to know how to configure this.
    Thanks
    Barry

    You need to Define Two PO document types one for General Merchendise and other for Hung garments
    and use BADI  ME_PROCESS_PO_CUST  and incorporate the Logic that
    for PO Type General Merchendise the Loading Group of Hung garments Not allowed and Similarly
    for PO type Hung garments the Loading group of General Merchendise not allowed ..

  • Split outbound ORDERS idoc to different ports

    Hi All,
               I was wondering whether it is possible to split an outbound ORDERS idoc and have it directed to two different ports based on document type? Client requires normal PO's to be written to one XML while STO's be written to a seperate file. Look forward to your responses.
    Regards,
    John

    Hi,
    These are the exits available for Outbound ORDERS idoc.
    1. ORDERS Purchase order / order MM06E001 EXIT_SAPLEINM_001 Customer enhancements
    for control
    record: purchasing
    document, outbound
    2. ORDERS Purchase order / order MM06E001 EXIT_SAPLEINM_002 Customer enhancements
    to data segments,
    purchasing
    document, outbound
    3.ORDERS Purchase order / order MM06E001 EXIT_SAPLEINM_011 Final customer enhancement
    EDI purchase
    order outbound
    You should create the project before implementing the exits. So that the break point is going to stop over there.
    Check this link to know how to find BADI -
    http://www.sap-img.com/abap/how-to-find-bapi-for-particular-transaction-in-sap.htm
    In your case this BADI is there for the given program.

  • Purchase order list based on asset under construction

    Hi Experts
    I want report on pending purchase order based on account assignment category asset & Asset no. which we put in purchase order under under account assignment column.
    My client need to view purchase order pending qty depending on asset no.
    I don't see asset column in in me2m report.
    Thanks,
    Kiran

    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 IDOCS

    Hi All,
    We have a legacy system to which I need to send data related to a purchase order. The information required is as follows:
    1) Purchase order number
    2) Purchase order position (line)     
    3) Project number
    4) Item of purchase line
    5) Item description
    6) Order date
    7) Planned delivery date
    8) Confirmed delivery date
    9) Ordered quantity
    10) Delivered quantity
    11) Varable containing purchase text
    12) Supplier number
    13) Suppliers name
    14) Country of supplier
    We are planning to send the data using IDOCS to this legacy system. Can someone please help me identify the Idoc required. I have never worked on Idocs. Please guide.
    Regards,
    V S

    You can work with Orders- Basic type and OrdersXX based on teh system version you are using as teh message type. you could  enhance any fields that you additionally want.
    Your basis team should help you setting up the IDOC, the transactions involved are SM59, BD64, WE30, WE21, WE20 to begin with.
    You would have to map these fields to your legacy system fields before going forward with anything.

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

  • Purchase Order GR based Invoice varifiation Field - ACtive

    Hi,
    when ever Goods receipt field-WEPOS is active in purchase order,Delivery Tab at item level, Gr based IV should also get active - WEBRE, other wise system should not allow to save the Purchase document.
    how to control the same.
    any enhancement.....pl.. let me have...

    Hi Shirley,
    Go to Vendor master change(XK02/MK02)with whom you are creating the Framework order - Purchasing data, in that uncheck the check boxes for GR-based invoice and Goods receipt. Then save the vendor master. Then create the framework order.
    Hope this helps.
    Thanks,
    Viswanath

Maybe you are looking for

  • Trouble renaming files/folders in Windows 7

    We have a client who is experiencing the following problem. We have witnessed it ourselves but have yet to find a solution. It is happening to more than one user at the same location. The files in question are stored on a network share from a Windows

  • Help a newbie - startup disk full error!

    What? I have NO idea what to do about this. help...

  • Question about using VMware Fusion with mutiple user accounts on the mac

    I know this isn't a Fusion forum as such, but wondered if anyone knew the answer to this problem. I installed the latest version of fusion on my machine and a copy of windows XP. It's very good and am impressed with the ease and speed of it. However,

  • How to make desktop upload application?

    i find an java example that using FtpClient, but when i try it said "warning: sun.net.ftp.FtpClient is Sun proprietary API and may be removed in a future release", so in future it will be remove. What class should i use? thx..

  • Document Review

    Hi, I'm looking to setup a document review approval process. I have Acrobat 9 Professional which seems to have good inbuilt commenting / review functionality. The problem I have is this.  I have the ability to set up the reviews however I won't alway