Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI to add Purchase Order Confirmation?

marshal_oliveras2
Active Contributor
0 Kudos

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: [; ). I checked the code and the BAPI really don't do anything with POCONFIRMATION data except read it....

Have you an alternative for this??

8 REPLIES 8

Former Member
0 Kudos

Marshal,

Use SE37 and enter in BAPI_PRODORDCONF_CREATE* and hit F4. There are 4 different function modules that might do what you need.

Former Member
0 Kudos

Hi Marshal,

There is no BAPI available for PO confirmation as far as I know. I too came across similar thing and so fuinally I had to go for BDC approach. BAPI_PO_CHANGE just reads PO confirmation data and returns back to you. There is no 'POCONFIRMX' table where we can pass 'X' (change parameter) flag. We cannot change PO confirmation using this BAPI.

Regards,

Saba

0 Kudos

Hi, sorry for late answer.

Dave, the BAPI_PRODORDCONF_CREATE* are BAPIS for product order, not purchase order.

Saba, I've debugged the standard and I finally found that they use ME_CONFIRMATION_UPDATE to do that. But this FM doesn't do a lot of checks... then maybe it's better go to BDC... thx

0 Kudos

Hi Saba,

I have the same requirement of updating the Confirmations Tab for a Purchase order. Could you please provide me the BDC you created for updation.

Sidharth.

0 Kudos

Closing the thread:

My problem was solved by the last ECC patch update. The BAPI doesn't work fine if you don't have the last service pack

0 Kudos

Hi,

Could you please inform which SP Level you updated your server to resolve the issue? I am at SP13 on ECC6 with EhP3 and experiencing same problem with BAPI_PO_CHANGE.

Thanks & Regards,

krishna.

Former Member

Former Member
0 Kudos

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