Purchase order idoc - generate all lines with any changes

when the orders idos is created new all material lines are created in the idoc
when there is a change only the changed material lines are included in the idoc
if no material lines are changed only the header idoc segments
are created
how can I have the entire puchase order idoc, header and all material lines, created for any change

Follow Auto Sourcing And Auto Create/Release Checklist [ID 417966.1] carefully.
Sandeep Gandhi

Similar Messages

  • 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

  • Error -5002, Update quantities in purchase order? (INV1.Quantity) Line[2]

    We are trying to create Invoices using the SDK tool for a clients interface. Everything goes ok, except at the point where we add the document, we get the following message:
    Error -5002, Update quantities in purchase order? (INV1.Quantity) Line[2]
    Any ideas? We have searched the SAP notes, but nothing is available. Are we missing anything?
    We are running on Version 6.50.098
    Thanks
    Marios

    Hello Marios,
    This error occurs because the last line you are trying to add to the Marketing Document is an empty line. It is a new functionality in Version 6.5 that the document object automatically comes with one document line so if you are adding just one line you do not need to use oDocument.Lines.Add,                                           
    It is only for the second and subsequent lines of marketing documents that you require the method oDocument.Lines.Add. Note 722693 describes the issue.                 
    Regards,
    Lisa

  • 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

  • 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

  • Purchase Order history is not updated with Invoice number

    Hello Experts ,
    Please suggest some inputs/solution for my problem.
    Scenarios is :
    PO --> SO --> Invoice
    I am creating the invoice with the medium EDI , when I click on Save button IDOC is generated with the message " IDoc 'xxxxxxxxxxxxx' was created and forwarded for transmission " and it showing the status as 03 i.e, The IDoc was sent to an R/3 System or an external program via a transactional RFC ...but the problem is if I got to the Purchase Order history Its not updated with the Invoice number.
    What could be the problem , please suggest.

    Hi!
    I'm not sure, in which process you link PO and SO. There are some different ways, which are totally different scenarios - if you need help here, describe more detailed.
    Your invoice is probably only created with reference to SO, so check the invoice itself. In this case also the SO history should include the invoice.
    Regards,
    Christian

  • 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

  • Purchase order number for each postings with FBL3N

    Hello
    With tcode FBL3N, I need to get all the postings on expenses accounts. Additionally it is possible to get more information on the postings from the orginal paper invoice. It shall be also more convenient to get the purchase order number walk trhough SAP with it. Then is it possible to get the purchase order number for each postings with FBL3N?
    thanks for inputs
    sb

    Hello,
    Could you please add field BSEG-EBELN as a special field in FBL3N (from
    menu path Settings -> Special fields).
    Then, select the Purchase order field again from "Change Layout"
    (Ctrl+F8). Now this field is available for display variants, it has the
    technical name 1-U_EBELN and the description 'Purchase Document'.
    The other field has the same description but as technical name
    '1-EBELN'. When you create a display variant be aware that you select
    1-U_EBELN and not 1-EBELN.
    *******Please also refer to attached notes 215798 and 984305.
    Best regards, Hana

  • Purchase Order Number in Vendor Line Item (FBl1N) and Clear Vendor (F-44)

    Hello,
    I am not getting the Purchase Order Number in Vendor Line Item.(FBl1N).
    Also during Clear of Vendor through F-44 i am not able to identify the Line item on the basis of Purchase Order Number.
    Could any one pleae help me out on this issue as i have to clear the vendor Line item in mass.
    Thanks
    Nitin Jindal
    Moderator: Please, respect the rules of the forum and search SDN before posting new thread. This question has been answered several times. Also, please choose proper forum to post your questions; this one is related to Financials and not to Controlling

    Based on my experience std feature from SD-FI . Depending on the SD Billing config which can be by delivery(VTFL) or sales order(VTFA). You can assign options of A: Cust PO No. B Sales order no. C Delivery no. D External delivery no.  E Actual invoice number to available header fields of Assignment No. or Reference No. Try it out

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

  • Query to find Orders that have all LINES CLOSED status

    All,
    CAn someone send me SQL QUERY TO find all ORDERS that have all LINES in CLOSED status.
    we have an issue in an environment, i am trying to build a data fix script.
    regards
    girish

    Hi,
    Try this :
    Method-1 (backend):
    *==============*
    select a.order_number, b.line_number, b.flow_status_code
    from oe_order_headers_all a, oe_order_lines_all b
    where a.header_id = b.header_id
    and a.org_id= &Org_id     -- Operating_unit_id
    and a.org_id = b.org_id
    and b.flow_status_code='CLOSED'
    Method-2 (front end)
    *==============*
    Orders,Returns --> Order Organizor --> Find orders/Quotes form will open --> Close this serch page only.... --> Now you will able to see Order oganizor form --> Click on Lines Tab of this form (you will see this tab atleft bottom side of the page) --> Press F11.. --> In status Field give parameter as *"CLOSED"..*and press Ctrl + F11 ..... Take an export of the form output..
    Risk : this query may take hell lot of time to complete..as it is going to pull all closed line of a particular Org..
    Method-3
    *========*
    Check if you can find any oracle standard report for closed lines..
    Hope this will help..
    Regards :)
    S.P DASH

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

  • 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

  • Reflection: invoke(obj, args) - args not returned with any change?

    All,
    I'm trying to invoke Method.invoke(obj, args) with an array of args that I'd like to be returned by reference (i.e. the method I'm invoking is changing the values within the array). For some reason, even though the method alters the values, they don't seem to be returned with any change?
    FYI - the obj returned from the method is fine (i.e. For ret = Method.invoke(obj,args) the ret object is valid and works like a treat).
    Any help on this would be appreciated.
    Kind regards,
    Matthew

    this is how it should be defined:
    target method:
    public type [] targetMethod(type[] arg) {
    //modify array 'arg'
    return arg;
    reflection code:
    modifiedArray = (type [])targetMethod.invoke(targ, args);
    Do you understand what I am saying? When your target method receives an argument that it must modify, it must return that array so that the modified values are available to the calling Object. Other wise, the values are only modified within the scope of the target method.
    Reflection is great for gaining an insight into classes and invoking methods that provide an insight into Object instances for things like a debugging utility, but it does not perform well, so you may want to avoid it if your only need is to modify runtime values.... ... hope this helps.

  • Purchase Order is generated after MRP for Material with MRP Type ND

    Hi Everyone,
    Material type := HAWA
    My material procurement type = F i.e. External Procurement.
    MRP Type = ND in Production server , and VB in Quality
    Lot Size = EX
    Material Status :- 15 Pre-release both for Quality and production server
    The Material is bulk material and bulk material indicator is set.
    Purchasing View is also maintained for the same.
    Planning Strat = Z5 Company specific
    Special procurement key:- Z7 Company specific
    I am running MD02 with following parameters.
    Create Pur Req =1, PR
    Create MRP List = 1, MRP List
    Delivery Schedule = 3, Schedule Lines
    Planning Mode = 2 Re- Explode BOM & Routing
    Scheduling = 1
    Issue:
    After MRP run, system is  generating PR, Though with MRP type ND purchase requisition should not be generated.
    Observation:- Looks like there is inconsistency of material date in Quality and production server.
    When I tried to run the planning , The Error message was generated"Material status is set to pre- release.
    After changing the material status to 20 (Active ) , when we run the MRP , The error message is generated "Material is not planned automatically "
    We havent been able to locate the root cause so far
    Please guide us
    Thanks in Advance,
    Ayaz
    Edited by: Ayaz Alam Khan on Feb 16, 2011 2:41 PM

    IF the material is ND, system won't Run MRP for the material
    Observation:- Looks like there is inconsistency of material date in Quality and production server.
    There is no link
    When I tried to run the planning , The Error message was generated"Material status is set to pre- release.After changing the material status to 20 (Active ) , when we run the MRP , The error message is generated "Material is not planned automatically "
    system will read the X plant  material status or plant specific material status first and then only system will read MRP type

Maybe you are looking for

  • How to send a file from FTP to external server

    My requirement is to send a file from FTP to D3(External) server. Now I am able to store the file in Appln server. I want to send the file created by the program thru FTP to D3 server. I know the username,Password,HostID,RFC destination details. How

  • Can Cisco connect be used for small business web filtering?

    I am searching for a web filtering solution for our small church.  The core requirement is to use a hardware-based solution to filter all internet traffic.  Our current wiring looks like this: [ISP router] --> [switch] --> [Open Mesh wireless access

  • Model Execute Exception in a WD Callable Object

    Hello, I've been having some trouble making queries to a database through a Web Dynpro Development Component (GP Interface). I imported a Web Service and the calls are being made through there. I know that the Web Service works just fine as I've test

  • SQL Plus Text is wrapping after 80 characters.

    The following is the sql I am using to spool the data into a file. However, I am confused with the output. The text is wrapping after 80 characters and it is adding blank lines after each column in the select. Am I missing some thing here. I apprecia

  • Help what is ! and a file folder

    My screen is showing a file folder and a ! in a triangle, it was frozen and I held the center button and the menu button until an apple appeared, now I have the folder and such showing, what do i do?