BAPI or FM for changing Purchase Order

Hi,
Does anybody know a BAPI or FM to change Purchase Order item details. I looked for  a BAPI but only found for creating and listing.
thanks.

I think this is becuase the BAPI for PO change has not been "released". If you use transaction BAPI, then click the filter button, then select "All", the PO change bapi will appear int he MM-> purchasing-> purchase order hierarchy. (BAPI_PO_CHANGE)
Although it is not officially "released", neither is the function module to do the same task. We use the BAPI on a regular basis, and it works fine. I think unreleased just means you will get no support if you use it, and SAP can change it at any time.
I am not sure what makes a BAPI go from un-released to released...

Similar Messages

  • SRM 7.0 Output for changed purchase order documents

    Hi all,
    if we change purchase orders we like to send a PO output document for changed purchase orders only if we change certain PO fields in header or items.
    What is the functionality in PO - Header - Output - Order and Send Immediatelly ? We thought that this function is the solution!
    But independent we press the button <Order and Send Immediatelly > or button <Order> the system creates allways an output document in any cases of PO field changes which will be sent to a supplier (fax, email). How we can control that a PO document only will be created in cases we define ?
    Kind Regards
    Edited by: Hermann-Josef Wessels on Mar 28, 2011 6:53 PM

    Hi Jay,
    we like to control the output because PO changes for G/L account, cost centre or change from account assigment order to cost centre are not interesting for the supplier and in this cases a PO document should not be sent to the supplier. This was the main reason why we like to use function <Order and Send Immediatelly>.
    So I would like to clarify the requirement:
    1. Automatic created output document if a new PO will be created
    2. Automatic created output document if a PO will be changed but no output if the following fields will be changed:
        e.g. for G/L account, cost centre or change from account assigment order to cost centre
    So we come back in our discussion to table: BBPV_COMP_FIELDS. There are entries for POO = PO Output and POR = Version comparison for Purchase Order.
    Question: Can I use structure name: BBP_PDS_ACC for our requirement. If yes which field-names I have to maintain in detail in this table. If possible I need the entries in detail.
    Kind Regards
    Edited by: Hermann-Josef Wessels on Mar 30, 2011 9:20 AM

  • LSMW issue using BAPI for changing Purchase Order G/L Account

    Wonder if anyone can help as I'm tearing my hair out!!
    Have used LSMW lots of times using the transaction recorder, but tried using a BAPI as we have a mass update to do of G/L Accounts for Purchase Orders and it seems the tidiest and most efficient way to do it.
    Got my LSMW project working as a test by changing the Short Text on a purchase order, this works fine.  However, when I add the Account Assignment details in (Structure E1BPMEPOACCOUNT and E1BPMEACCOUNTX) everything seems to run fine, the IDOC posts and gives message 'Document xxx changed'.  Yet when I look into the order it hasn't actually changed the G/L.
    If I go into the purchase order in change mode in another session and run the LSMW again it recognises the purchase order is locked so it seems to be doing everything right, just not updating the G/L Account field.  Anyone got any ideas ? It updated the short text fine so I'm sure everything is set up OK but for some reason it ignores the G/L that I upload.  Anything relating to the Account Assignment (Unloading Point, GR, Cost Center) just gets ignored if I try and upload a change.
    I seem to be so close it seems a shame not to be able to get it sorted !!!
    Thanks,

    Helen Smith wrote:
    HI Praveen,
    >
    > Thank you very much for your response.  I tested the BAPI as per yor instructions and the return message comes back 'Eng & other PO xxxx changed' so it seems to indicate a success message again (like the LSMW does) but the actual data doesn't update.
    >
    > I thought I'd found it as I searched OSS and found note  0001382965 which seemed exactly my problem.  I imported it and applied it but yet I still get the same issue - LSMW runs, says app doc posted and purchase order has been saved but no Account Assignment field will update.
    >
    > So it seems as if it's the BAPI not doing what it should - so I'm considering logging with SAPNET just to see if they can help as getting desperate with this one now! Felt sure I had it sorted when I found that note!
    >
    > Thanks
    >
    > Helen
    >
    > ** I should add I also ran the test above altering something in the item detail (the short text) - and that worked and updated.  So it still seems to point to the Account Assignment part of the BAPI not updating.
    >
    > Edited by: Helen Smith on Nov 2, 2010 4:35 PM
    Hi Helen,
    Just wondering whether you have found solution to your issue.
    We also encounter the same issue and have implemented the note without any positive result.
    Please share if you found the solution.
    Thank you.
    Abraham

  • BAPI or FM for CHANGING Internal Order

    Hi all,
    I am looking for a BAPI or Function module for changing a End of Work field (DATE field) for that Internal Order.  Transaction for internal order KO02
    Please suggest.
    Edited by: Anu on Jul 6, 2009 3:30 PM

    Look at [BAPI_INTERNALORDER_SAVEREPLICA|https://forums.sdn.sap.com/search.jspa?objID=c42&q=BAPI_INTERNALORDER_SAVEREPLICA] (parameter MASTERDATA field DATE_WORK_ENDS)
    Regards,
    Raymond

  • Possibilities for changing purchase order print behavior

    Hello guys,
    I'm kind of new in SAP MM and I had to deal with PDF formula for purchase order. Now I have some questions about what is possible to change behavior for printing data in purchase order print.
    First of all we're using our own PDF formula which is a little bit like standard formula MEDRUCK_PO. We're using programm SAPFM06P with routine ADOBE_ENTRY_NEU, no changes in SAP standard behavior were made.
    Everyhting works fine with that but we sometimes have some special cases where our user wants some other behavior. Can you please say if it is possible and if so where to do that? (Customizing, formula itself)
    1. Changes in purchase order positions -> We have for example 4 purchase order positions. Now for one of them the price has changed. When printing formula then, you only see the changed order position. When you want to see all, user has to change some detail in every of the other positions, thats pretty annoying.
    2. Header text 'Changes in purchase order' -> Sometimes the header text is displayed as 'Changes in purchase order', sometimes as "normal" 'Purchase order'. I know it has something to do with status (field DRUVO) of purchase order, but its not clear when which status is set. Any help? :-)
    3. Deleted positions -> How is the standard behavior when a position is deleted? I think it will not be listed anymore in the positions printout. Anyway I can control it by catching LOEKZ field. But how is it with the total value field in sum data. I think it still is the whole value including the deleted positions. Is this changeable?
    I know there is some customizing in SPRO -> Materials Management -> Purchasing -> Messages
    but I'm not quite sure how it works :-(
    Can anyone enlight me? :-)
    Thanks a lot.
    Regards
    Michael

    SAP can differentiate between a new created purchase order and an existing purchase order that only got changed.
    Based on that it can be customized whether you print the full purchase order or only the part that was changed, and accordingly you may get different texts on your form (... 'Changes in purchase order', sometimes as "normal" 'Purchase order'.)
    A deletion of a PO item  is as well a change.  If you decided to print only a change message, then you get a print having the item number and a text *** item deleted *** or similar based on your customizing.
    But if you decided to print the full PO in both cases (creation and change), then you get the full PO but the deleted item is no longer among them and no hint either that it was deleted..
    Basically this setting is made in SPRO -> Materials Management -> Purchasing -> Messages -> Output Control -> Message Types -> Define Message Types for Purchase Order
    see as well the wiki: Printing of purchasing documents - ERP SCM - SCN Wiki

  • Release procedure setup for changed Purchase orders

    Hello All,
    I have below scenario
    1. After PR creation, it will be approved. and get converted to PO. At this time no need for approval  (release) again. But once the same PO has been changed it should be subjected for release (approval). Can we have release strategy setup which will get trigger only when PO is changed.
    2. Similarly, if PO is created without PR, then it should get subjected to release.
    How can we configure the above business process in the SAP system?
    Regards
    Krishna Prasad
    +41 61 3237548

    Hi,
    Do you have version mangement active in your system for PO's . If you have then you can use the filed CEKKO - REVNO
    Maintain the Character Value as > 0,
    So any PO whose version number goes above 0 , the relase strategy will trigger.
    If not, then first of all you have to configure Version Management.
    Go to SPRO > MM > Purchasing > Set Up Version Management for External Purchasing Documents > Here activate Version Management for the PO Doc Types you want. Here activate the following indicators.
    Version active
    Version 0 OK
    So whenever PO will get created the Version 0 will get activated automatically. And whenever you change PO, it will generate versions 1,2,3 and so on.
    Now in PO Release Characteristics use Field CEKKO-REVNO
    And in "Clasification", maintain value > 0 (Greater than Zero)
    And then check in ME21N, release strategy will not be applicable but for ME22N, it will get applied.

  • Adding a new check box in change purchase order screen

    Hi
      I have to add one custom field a check in the screen for change purchase order in EBP.
    We are using ITS.
    Kindly advice.
    Thanks and Regards
    Manoj

    Hello Manoj,
    you can define Customer Fields (CUF) at header, item, accounting level on any document type (including PO).
    Adding seach fields acts as old ABAP method of table append, i.e. those fields are stored in standard SRM tables. So you can process your own logic and checks against those fields.
    There is a BADI to control the display or not, the input or not, the default or input values.
    There is a BADI to control the ergonomy of CUF (by default they are added one after the other after standard fields).
    There have been many posts about CUF and linked OSS notes explaining own it works and which includes to use.
    Rgds
    Christophe

  • Inbound Idoc Create/Change Purchase Order

    Hi All,
    I have to do a inbound Idoc scenario for create as well as change Purchase Order.
    Which is the IDoc type for Create/Change purchase order.
    I went through this form found that ORDERS05 can be used but I am not sure this can be used for both create as well change Purchase Order.
    If ORDERS05 can be used then which is Process code,Function Module and Message type for both create and change Purchase order.
    I also found that IDoc type PORDCR102 can be used for  create Purchase order and PORDCH02 can be used for change Purchase order,but i don't want to use two Idoc types.
    Please suggest.
    Thanks in advance.
    Regards,
    John

    Hi John,
    For creating a IDoc for PO, whenever a PO is created/Changed, it has to be configured in Parter Profile(WE20) for a particular Partner in Outbound Paramtrs tab.
    Give ORDERS05 in Message Type and select the line & go to Display.
    In the screen which appears , choose tab Message Control and give the Process code
    ME10 - Creation of PO
    ME11 - Changes to PO & check the Change Message.
    Give respective Output Message Type & Application(VF) for PO.
    Create Output types for a vendor in T.Code MN04, else take help from MM Consultant.
    Create a PO & save. Then make some changes in Po & again save.
    Now IDoc will be created while saving the Po & IDocs will be created whenver you make changes to PO and saving it.
    Hope It helps.
    Regards,
    Anbalagan

  • Urgent - How to change Item category for Open Purchase Order

    Hi Team,
    Lil bit tricky issue.
    My client has asked us to change the existing Item Category values, Combinations, Category Set etc. Its been changed and uploaded successfully.
    The question here is how we need to handle the category for Open Purchase Order. How to update the same.
    Do we need to do manually or any other way ?
    Please advice
    Regarads,
    John

    Hi John,
    This is reallly a tricky issue!
    I guess you cannot change the category of an existing PO's.
    This field will be greyed out once we save the form...there were no profiles/other setups to enable this field.
    For all new PO's since you have changed the new category value that should not be a issue.
    Lets wait for some of our colleuges opinion.
    I guess PO cancel should be the final option if we dont hear any new work arounds.
    Thanks
    -Arif.

  • How to change material component for a Purchase Order?

    How to change material component for a Purchase Order?
    I need FM .
    PLEASE help

    Dear ,
    Create PO with item category L....There in Item detail you will get tab for material.
    There click in component Button, it will take you to the component screen there you can assign and deassign components.
    Hope this helps.
    Regards
    Utsav

  • FM / BAPI Inbound delivery creation for a Purchase Order without material

    Dear All,
    I have a requirement to create a Inbound Delivery for a Purchase order without material number. The Purchase Order has only Material text and no material number. Please let me know a BAPI or FM to create inbound delivery in this case where there is no material defined on PO. I require BAPI / FM  since I have to make a web-service for the same.
    Thanks in advance!
    Abhishek

    Hi I did a coding in one of the userexit. If ekpo-matnr is empty then fill
    KOMDLGN-UMVKZ = 1
    KOMDLGN-UMVKN = 1
    KOMDLGN-MEINS = EKPO-MEINS
    This parameters i.e. Qty conversion are necessary and since MATNR does not exists it has to be filled.

  • No Authorization to change Purchase Order for Professional Purchaser

    Hi Experts, I am facing the following issue,
    System Info :
    SRM 5.0
    ECC 6.0
    IE 6.0
    I logged in as the professional Purchaser in to My SAP SRM browser and when I try to change a Direct material purchase order, I get the following message:
    No Authorization to change Purchase Order xxxxxxxxxxx.
    Here is my sequence of operations:
    Logged in as Proff Purchaser, selected the process purchase order link, then selected the purchase order from  the worklist and click on the change icon.
    Please let me know if need to customize any settings.
    Thanks in advance,
    Raj

    hi,
       In trascn PFCG,for the role of Startegic purchaser,under the Personalization tab,set the attribute  BBP_WFL_SECURITY to '4'.Also,check the authorisation data for the Strategic purchaser role.
    HTH.
    BR,
    Disha.
    Pls reward points for useful answers.

  • BAPI for Mass Purchase Order Confirmation

    Dear All,
    In standard SAP,it is possible to confirm for single line item only by using confirmation tab.
    We want to confirm Mass PO Confirmation.
    Is there any BAPI for Mass Purchase Order Confirmation?
    Regards,
    Ramesh

    Hi Sumant,
    I have tried with TC:MASS.
    By using this TC we can update quantity but not  delivery date & Confirmation Control (Fields available in the confirmation tab of ME22n for Vendor Confirmation).
    Is there any way to updates all these fields which are available in the Confirmation Tab?
    Is there any BAPI which is tranferring confirmation tab details into EKES table?
    Expecting your valuable inputs in this regard.
    Regards,
    Ramesh

  • DELIVERY COMPLETED indicator for Services Purchase Order

    hello experts,
    i'm working in SAP with R3 4.7 for developing funtion / BAPI for a mobile web application for services purchase order.
    i have a big problem:
    is it possibile to set the DELIVERY COMPLETED indicator (<i>ELIKZ</i>) in services purchase order via BAPI or Function Module?
    <i>I'm working with BAPI_PO_CHANGE but and i succeded with material PURCHASE ORDER but not with SERVICES PURCHASE ORDER</i>.
    can anyone help me?
    thanks in advance,
    Eliana

    For material:
    Delivery completion (DCI) tick available at line item level for each material (EKPO- ELIKZ)so you can check for the each material in PO the DCI is available or not.
    For Services:
    As Service code (Service line items) are maintained in details screen of Header line item. So whenever the DCI (Delivery completion indicator) marked for that Header line item it means that all the service line items are marked as DCI for that Header line.
    DCI indicator can mark manually in Change PO mode and automatically when service entry done as final for that Header line.
    So you can check the DCI for service same way as you do for material
    Hope it will help you
    Regards
    Vikrant

  • Problem for Goods Receipt for Subcontracting Purchase Order

    Dear all,
    Presently, we are using SAP version 4.6C and we need to introduce GR for
    Subcontracting Purchase Order. We have developed a ABAP program to handle
    subcon Goods Receipt by uploading flat-files from our subcontractor. The
    scenario is as follows :
    Goods Receipt for Subcontracting Purchase Order
    1. In the ABAP program, function BAPI_GOODSMVT_CREATE will be used for goods
    movement.
    2. Data provided to the function are as follows :
    - Posting date
    - Document date
    - Material number
    - Plant
    - Storage location
    - Batch
    - Movement type (101)
    - Quantity
    - Purchase order number
    - Purchase order item
    - Movement indicator (B - Goods receipt for purchase order)
    3. The function will do data verification and automatically determine GI
    item for subcon stock:
    - Movement type (543)
    - Special stock (O - parts prov. vendor)
    - Material
    - Quantity
    - Plant
    Our problem is that :
    Only the GR item in the interface is to be transferred and the GI item is
    determined by the system. So, the quantity for subcon stock cannot be
    changed using this BAPI. Then the system will continue processing the goods
    receipt and create material document.
    Manually, by using transaction code MIGO, the user can display the subcon
    stock data and then change the quantity.
    By using transaction code MB01, after the user fills in all the GR fields,
    the system comes to line item 002 (subcon stock data) and then quantity can
    be changed.
    As per user requirement, quantity for GI item must be same with the quantity
    that has been transferred to subcon vendor in Delivery for Subcon
    (transaction code VL02N).
    We cannot achieve this requirement by using the BAPI mentioned above. Would
    appreciate any valuable help from anyone who is able to help us on this
    matter. Are there any other BAPI's that can help us to achieve the same
    result ?
    Thank you in advance and best regards.

    As far as i understood the problem I suggest u to create the
    BDC according to user actions that are performed in he manual
    operation.
    I can't say that the BAPI performs the exac solution what you want.
    I have done some BDC work using MB01 and suggest you to be careful
    and try to keep the complete in the logic as some chages in rows in BDC will
    change the complete scenario.And throw correct quantity val in correct
    material
    row.
    This methodology will help u even in mass uploads.
    Or in case of automation u can perform the call transaction BDC in
    background mode.
    so As per my understanding bdc program is the solution. pls try and let me
    know.

Maybe you are looking for

  • Re: Copying all that is under favorites in to another user as well

    Hi all, I copied one user in to another. But user also need the transactions thats under the favorites folder of the other user in the main menu. Is there any way we can copy them to the new user? Thanks in advance, Sunkara

  • Como contratar un plan mensual de un solo producto

    Quiero descargar adobe Indesing CC y contratar un plan mensual en el que pague mes a mes y pueda borrarme cuando sea sin penalizacion de una cuenta anual. He mirado los planes que hay y no veo ninguno. Hay alguna forma de hacerlo?

  • Sony MiniDv camcorder / New macbook Alum compatibility

    Hi all, I've read some posts about the subject and realized it will be tough to import high quality video from my minidv camera to the new macbook. However I wonder if someone could advise any external device that would allow me to import full qualit

  • ITunes under Virtualbox

    Can anyone tell me if there is a way to get iTunes to work under virtualbox? I'm running 3.2 and have tried it on previous versions of virtualbox, on multiple systems. I don't understand why I can run every other non-graphics-insane windows applicati

  • Can't log into Facebook, Livejournal mobile websites

    Hi there, I've always been able to use Facebook on my mobile browser up until a few days ago. When I'd log in, it would just take me back to the login page. I was able to get around this for a while by going to the iTouch/iPhone Facebook site, log in