BAPI to add Purchase Order Confirmation?

Hi,
I have to add PO Confirmations and I found the BAPI 'BAPI_PO_CHANGE' that have an "tables" parameter for my requeriment. But I created a test program and I checked that it doesn't work for that purpouse (and I'm not the 1st one who find that problem: [Re: BAPI_PO_CHANGE is not updating Confirmation Category and Date cate Category; ). I checked the code and the BAPI really don't do anything with POCONFIRMATION data except read it....
Have you an alternative for this??

Hello to all,
that is just for documentation. SAP answerd the problem in OSS-304243 but this message is not accessable if you don't have powerful OSS-Users.
This SAP-note might be interesting: 197958
OSS-Message 652796 8.8.2011
BAPI_PO_CHANGE
We can not process confirmations by using the parameter poconfirmation.
The Baps reports always S 06 022 - no data changed.
In the SDN there are some hints telling that the BAPI_PO_CHANGE does notsupport processing of confirmations. More detailled infos should be in
the OSS-Message 0000304243 but this message is not accessable for us.
Can you confirm that the BAPI_PO_CHANGE does not support adding
confirmations? We debugged the BAPI and there is no code for updating
confirmations found.
Best regards
Bernhard Lascy
09.08.2011 - 10:43:07 CET - Antwort von SAP
Dear Bernhard,
I regret to inform you that the functionality you request is not
implemented in the R/3 standard system.
Unfortunately it is not possible to change/load confirmations with the
function module BAPI_PO_CREATE/BAPI_PO_CHANGE. Table POCONFIRMATION in
BAPI interface is relevant for Display/List Vendor Confirmation in BAPI,not for update/insert Vendor confirmation in PO.
Furthermore, we recommends that you use Idocs for automatically
entering confirmations. The Message type to use is ORDRSP.
You may read more about this topic in the online documentation.
Please see also following attached note for your reference.
456127 FAQ: Electronic Data Interchange (EDI) in purchasing
Best regards,
Pavel Olysar
Support Consultant
Global Support - Logistics

Similar Messages

  • 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

  • Regarding Purchase order Confirmation

    Hi,
    I have a flat file from which we have to update the Purchase Order Confirmations at item level.
    Is there any Function Module for this ? Because right now i am using BDC for this ?

    Hi Manju,
    i have got the requirement to change the PO items at confirmation tab, i tried with bapi but it is not working, can u please forward the piece of code if u have.
    Regards,
    D. Raghu Ram.

  • SUS Purchase Order Confirmation notification (or alert) is possible ?

    Hello,
    We work on a SRM 5 release with a classic scenario.
    We use the EBP-SUS supplier collaboration scenario (clients are different for SRM and SUS).
    The purchasing document flow is describe below:
    1- SRM Shopping Cart
    2- R/3 Purchase Request (then, SRM SC history is updated with the PR number)
    3- R/3 Purchase Order (then, an IDoc is sent to XI which generates a XML document sent to EBP-SUS in order to create the corresponding sales order - SRM SC history is updated with the PO number).
    4- Then, supplier can confirm or reject the PO received. So, the SUS Purchase Order Confirmation is generated and sent back to R/3 ( via XI)
    5- R/3 PO is updated with the posted PO confirmation (you can see the confirmation control key AB in the 'Confirmation' tab of the PO item concerned).
    My request is to send a notification to the requester's mail client in order to inform him that supplier confirmed or rejected the PO.
    I noticed that notification receivers definition is possible in SPRO, but only for "Process Purchase Order Response". I guess this notification is for BUS2209 (SRM POR) and not for BUS2232 (PO confirmation for SUS).
    That's why i cannot use it: can anyone confirm this ?
    As alternative, i tried to use alert management in SPRO (in the SUS client) for BUS2232 with sub-category of event SRM_SUS_PO_CONF in ALRTCATDEF transaction for SRM Alerts, but it does not work (even if i schedule report RSALERTPROC ).
    Does anyone have a suggestion regarding my customizing ?
    Finally, when PO confirmation is posted in R/3 (step 5 seen above), the SRM SC history is not updated with the PO confirmation number: is this the standard way ?
    If yes and that the described notification (alert) customizing i indicated above are not possible, does it seem i will have to develop a specific notification process in R/3 when R/3 PO is updated with its PO confirmation coming from SRM-SUS ?
    Thank you for your help.
    Regards.
    Laurent.

    Hello Nagarajan,
    >
    >  Looks like your intent is to notify the  Shopping Cart requestor about the PO response that happens in the Back end system!
    > This looks strange but then it is really required if you have a common buyer in SRM and MM.
    >(...)
    Requester being the initiator of purchasing document flow, custumer request is to alert him about supplier POR.
    If i send my notification from R/3, i will get Requester name at R/3 PO item. Then, by a RFC call to SRM, i will get his data to generate my e-mail.
    >
    > The following approach can be adopted:
    > 1.Purchase Oder  Response Message can be pulled out of the XI thro a technical routing into the SRM which will post the Purchase Oder response in the SRM ( SRM PO will be updated)..There could be some issues with the variance POR and the status of the POR but that can be handled..
    >(...)
    I cannot do this: PO does not exist in SRM as we are in classic scenario.
    >
    > I am unsure of the Alert Management.. but I heard there should be a way for that also..
    > (...)
    I carry on checking this solution
    >
    > You can raise an OSS Message for the same pls.
    >(...)
    Don't have time for this and SAP will answer that this is consulting and not support
    I will also verify if i can find a BAdI dedicated to SUS Purchase Order Response and use it to generate my e-mail from SUS client (or maybe some enhancements).
    Regards.
    Laurent.

  • How to add Purchase Order entry using B1WS?

    Hi,
    I have implemented B1WS in DI server, I am trying to add purchase order entry, but after adding it via B1WS, I am not able to find entry in SAP;
    My code using B1WS:
    public void SAPPurchaseOrder(string _SID)
                _PIService = new PurchaseInvoicesService();
                Document doc = new Document();
                doc.Address ="ab";
                doc.AgentCode = "ab";
                doc.BaseAmountSCSpecified = false;
                doc.CardCode = "VEND7";
                doc.CardName = "Baker & Taylor";
                doc.DocDate = DateTime.Now.Date;
                doc.CreationDate = DateTime.Now.Date;
                doc.DocType = DocumentDocType.dDocument_Items;
                doc.DocumentStatus = DocumentDocumentStatus.bost_Open;
                doc.BaseAmount = 100000;
                doc.DocCurrency = "USD";
                MsgHeader msgHeader = new MsgHeader();
                msgHeader.SessionID = _SID;
                msgHeader.ServiceName = MsgHeaderServiceName.PurchaseInvoicesService;
                msgHeader.ServiceNameSpecified = true;
                _PIService.MsgHeaderValue = msgHeader;
                _PIService.Add(doc);
    Also, I found error while I have use "ADD FUNCTION" as;
    can not empty list of tables, doc1, doc3 and doc10
    Please suggest me a proper entry flow or code to implement.
    Thank you.
    Piyush
    (Rob IT team - Parabox Media Group)

    Hello,
    Just like DI API, you need add doc lines to purcahse order, here is a sample to add a purchase order.
    Public Function Add() As DocumentParams
                Dim myPOParams As DocumentParams = Nothing
                Try               
                    ' Create Input parameters
                    Dim poDoc As Document = New Document
                    poDoc.DocDueDate = Date.Now
                    poDoc.CardCode = "V10000"
                    Dim docLine1 As DocumentDocumentLine = New DocumentDocumentLine
                    docLine1.ItemCode = "A00001"
                    docLine1.Quantity = 1
                    docLine1.TaxCode = "NY"
                    poDoc.DocumentLines = Array.CreateInstance(docLine1.GetType(), 2)
                    poDoc.DocumentLines.SetValue(docLine1, 0)
                    Dim docLine2 As DocumentDocumentLine = New DocumentDocumentLine
                    docLine2.ItemCode = "A00002"
                    docLine2.Quantity = 1
                    docLine2.TaxCode = "NY"
                    poDoc.DocumentLines.SetValue(docLine2, 1)
                    ' Create Service
                    myPOService = New PurchaseOrdersService
                    ' Create Header
                    Dim msgHeader As MsgHeader = New MsgHeader()
                    msgHeader.SessionID = GlbData.sessionID
                    msgHeader.ServiceName = MsgHeaderServiceName.PurchaseOrdersService
                    msgHeader.ServiceNameSpecified = True
                    myPOService.MsgHeaderValue = msgHeader
                    ' Call command with output return
                    myPOParams = myPOService.Add(poDoc)
                    MsgBox("Purhcase Order added: " + myPOParams.DocEntry.ToString(), MsgBoxStyle.DefaultButton2)
                Catch ex As System.Exception
                    MsgBox(ex.Message, MsgBoxStyle.DefaultButton2)
                End Try
                Return myPOParams
            End Function
    Kind Regards
    -Yatsea

  • Purchase order Confirmation data from SRM to MM

    Hi,
    I am trying to send Purchase order Confirmation data from SRM to MM via PI. In SRM portal i am able to see that the data has been send successfully. But i am not able to receive any data in PI nor iam able to any messages going from  SRM in SXMB_MONI.
    Please help me.
    Thanks & Regards
    Kasturika Phukan

    Hi,
      In SRM check in sxmb_moni is there any queue is blocked.
      If not then,
      Check your proxy settings.Select Go To and check connection Test.
      Go to sm59 and check H type RFC destination is maintained.
      Go to sxmb_adm check the Global setting value,
      Application system,dest://RFC destination is maintained.
      In XI,
      Go to SLD.
      Check Technical system (client with logical system) maintained.
      Check Business System maintained with role of application system,Related integration engine
      maintained.
    Regards,
    Prakasu.M

  • F-40 Add Purchase Order Field

    Dear All,
    I awant to add purchase order field in T-Code F-40. Following is Scenario.
    Transaction to be processed : Outgoing Payment
    PstKy : 29 (Special G/L Debit)
    Account : (vendor Account)
    SGL IND : J
    uner more data also it is not showing. I have also used T-Code OB41 but still it is not showing PO field in first screen.
    Dinesh

    Hi,
    Following are the steps i have gone through.
    1. T-Code OBXT to search G/L Account, then i gone through the combination AcctypeSGL Ind (KJ). Then Chart of Accounts. Then i Listed all G/L which are in used.
    2. T-Code FS00, Field Status Group.
    3. T-code : OBC4, Then Field Status Group(which is in use of G/L Account) and marked purchase order field as required field under (material management/purchase order)
    Still it is not showing purchase order field in first screen of F-40.
    Dinesh

  • BAPI to Reject purchase order

    Hi All
    Kindly let us know if there is any  BAPI to Reject purchase order  (ME29N)
    Thanks

    Hi,
    Try this,
    BAPI_PO_RELEASE
    see the below link for more help.
    Re: BAPI to reject PO (like ME29N functionality to reject PO)
    Regards,
    Vijay

  • Bapi to create purchase order

    Hi Experts,
                    I need to find a bapi to put purchase orders using co08.Please let me know if some bapi or function module exists there for the same.
    Thanks in advance

    See th Business object BUS2012
    u can see all bapis for Purchase order.
    BAPI_PO_CREATE
    BAPI_PO_CREATE1 to create purchase order.
    <b><REMOVED BY MODERATOR></b>
    Regards,
    Vimal
    Message was edited by:
            Alvaro Tejada Galindo

  • Fast entry transaction for entering purchase order confirmations

    Does anyone know of fast entry transaction for entering purchase order confirmations similar to VL31N for inbound deliveries?
    Thanks

    dear John,
    if i m not mistaken you want to give confirmation control to your existing POs.
    If the case is this you can opt for a BDC to be run for updation.
    Ask your abaper to do this thing.
    revert back if this is not the the case.
    Njoy
    Ashish

  • Want a TN to block to ADD Purchase order Canditions Are as follows:-

    Respective Experts,
             I want a TN to block ADD Purchase Order Conditions are as follows:-
             When I add Purchase order it goes for approval and the document is saves as Draft
    Now    1) If there is 6 Purchase orders for a Vendor are pending for approval no one more Purchase Order is Added in the system.
                  It will block to user to add Purchase order.
               2) It should block to user to Add that Purchase order And That PO is not go for Approval means block to ADD Purchase order before Documnet go to approval....
               Please help me to make TN for above conditions ??
    Regards,
    Sandesh

    Hi Sandesh..
    Try This
    Create this view as PO
    SELECT count(t1.docentry) as Count,cardcode
                     FROM   odrf t1
           INNER JOIN drf1 t2 ON  t1.docentry = t2.docentry and t2.ObjType='22' where t1.docstatus='O'
            group by  cardcode
    Use this tnsp for the block
      IF @object_type = '112'
             AND @transaction_type IN ('A', 'u')
          BEGIN
              IF EXISTS(
    SELECT t1.docentry
                     FROM   odrf t1
           INNER JOIN drf1 t2
                                 ON  t1.docentry = t2.docentry and t2.ObjType='22'
                                 inner join PO t3 on t3.cardcode=t1.CardCode
                     WHERE  @list_of_cols_val_tab_del = t1.docentry and t3.count>'6'
              BEGIN
                  SET @error = -1
                  SET @error_message ='You Cannot Perfrom this Action pending purchase order'
              END
          END
    Hope Helpful
    Regards
    Kennedy

  • Record Purchase order confirmation via FM

    Hi all,
    I'm searching for FM for recording Purchase order confirmation.
    Any suggestions ?
    Thanks,
    Shai E.

    ME_CONFIRMATION_UPDATE ...but its tricky  its does direct table update ..(EKES table will be updated directly)

  • VMI scenario: purchase order confirmation send to vendor

    Hello Dear Sappers,
    I'm using message type ORDRSP (Idoc ORDERS05) for inbound idoc  for Vendor Managed Inventory, and it works. Then, once the PO is created in our SAP, the system automatically send a PO confimattion message to our vendor through message variant VMI in the partner profile for the EDI message category ORDCHG.
    The system, once the PO is created, send an automatically ORDCHG Idoc to the vendor. The problem is that the system send the PO confirmation before the PO is release/aproved. That is a problem. My requeriment is to send the PO confirmation Idoc to the vendor after the PO is release.
    This is my configuration:
    Partner profile:
    When a message of the ORDRSP type is processed, a purchase order is created for the vendor who sent the purchase order confirmation.
    When a message of the ORDRSP type is processed, a purchase order is created for the vendor who sent the purchase order confirmation.
    Partner no.          VENDOR_AG
    Description:          VENDOR AG
    Partner Type:     LI
    Message Type:     ORDRSP
    Message Code:     VMI
    Process Code:     ORDV
    Processing:          Trigger immediately
    Send Purchase Order confirmation number to VENDOR AG:
    Partner no.          VENDOR_AG
    Description:          VENDOR AG
    Partner Type:     LI
    Partner Function     VN
    Message Type:     ORDCHG
    Idoc Type:          ORDERS05
    Message Code:     VMI
    Receiver Port:     CI.SPARES
    Pack Size:          1
    Output Mode:     Transfer Idoc immediately
    Message Control     Application: EF; Message type ZPOC; Process code ME11 and Change message indicator set.
    I created the Output Type ZPOC but when I tried to added manually to the PO "Maintain outgoing EDI-connection data for partner VENDOR_AG.
    However the strange thing is that the system send the PO confimation IDoc ORDCHG anyway (without any Output Type). But send the Idoc inmediatly the PO is created (not yet release).
    My question here is: how can I only send to the vendor the IDoc ORDCHG only when the PO is release?
    Thanks a lot to all
    Fred

    Hi,
    This problem was solved. I had to remove the message variant VMI from the partner profile. Keep the message type ORDCHG but without VMI variant. And with that way, the system do not send the Idoc after the PO is created. SAP send the Idoc after the PO is release and do it by Output Type determination.
    The key was to remove the message variant! Unbelievable!
    Thanks to all.
    Fred.-

  • BAPI for Purchase Order Confirmation and update EKES table

    Hi all,
    I have a requirement to update the PO confirmation soon after successful creation of PO in an IDOC.
    I have used BAPI_PO_CHANGE function module which didnt serve the purpose as it cannot update confirmations.
    I tried using ME_CONFIRMATION_UPDATE where I was able to add a confirmation entry in EKES table but that is not being reflected in ME23N transaction when I display the PO.
    Please help me out on this.
    Thanks & Regards
    Pavan

    NB: Never use a standard update FM (check attributes of ME_CONFIRMATION_UPDATE) its often only a SQL statement collector without any check, logging of changes or database consistency, if you perform a where-used you should find it is never called alone but with a bunch of other update FM after checks and other update preparation.
    Get back to the BAPI and table parameter POCONFIRMATION, also use BAPI_PO_GETDETAIL1 to get current data for the call of BAPI_PO_CHANGE.
    Regards,
    Raymond
    PS: If it is not in 197958 - BAPIs for purchase orders: Missing functions, you should be able to do it

  • 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

Maybe you are looking for

  • IBook G4 spits out DL DVD's

    I burned a Verbatim DL DVD-R, works fine on my MacBook. But my iBook ejects the DVD after 5 seconds or so.

  • How do you set a button to unselectable?

    How do you set a button so it us unselectable?

  • Bigger UI font for Lightroom?

    Is there a way to get the Lightroom UI scale up (use bigger fonts and upsize controls)? I'm using a display with quite high resolution (>140dpi) and the fonts in Lightroom are excruciating small to read. Since Lightroom is ignoring the upscaling of t

  • Lighroom crashes (lightroom unexpectedly quit) Mac OSX

    Anyone else had any problems running lightroom on a MAC? I have a pretty new MacBook and managed to run all the beta releases of Lightroom ok. Now for some reason it won't stay running for more than 30 seconds. I have read somewhere of issues using t

  • Folio : articles orientation issue

    i made a folio, nothing really new in it but when i try to download it today it says "please make sur all articles have the same orientaions properties, then try again" i wonder why as they all have been made the same way, and how do i track these pr