Application Development and Automation 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: 
Read only

PO Confirmation Issues.

Former Member
0 Likes
4,514

Hello Experts,

I am having some difficulty updating the Purchase Order Confirmations Tab of the PO.

Right now, I am using ME_CONFIRMATION_UPDATE to take date that is being received through an inbound IDOC formatting it, then calling the above Function Module. The Purchase Order is updating correctly but the Stock/Requirements list is NOT. In MD04 if I manually update the PO and Save, the Shipping Notification line replaces the POItem line. When the Function Module runs, It Adds the Shipping Notification line in addition to the POItem line. From what I have read, it is probably due to this FM being a direct insert into the table, and I would need a PO Save feature to properly update the PO, and by doing so the Stock requirements list.

Playing around I have tried to create a BDC with little success. I'd rather not use a BDC.

I have done some reading about using BAPI_PO_CHANGE, and from some of the posts I read, It seems to (At least from time to time) have the same issue.

If anyone can provide some direction and assistance, it would be greatly appreciated.

Regards,

Christopher

Hello Experts,

I am having some difficulty updating the Purchase Order Confirmations Tab of the PO.

Right now, I am using ME_CONFIRMATION_UPDATE to take date that is being received through an inbound IDOC formatting it, then calling the above Function Module. The Purchase Order is updating correctly but the Stock/Requirements list is NOT. In MD04 if I manually update the PO and Save, the Shipping Notification line replaces the POItem line. When the Function Module runs, It Adds the Shipping Notification line in addition to the POItem line. From what I have read, it is probably due to this FM being a direct insert into the table, and I would need a PO Save feature to properly update the PO, and by doing so the Stock requirements list.

Playing around I have tried to create a BDC with little success. I'd rather not use a BDC.

I have done some reading about using BAPI_PO_CHANGE, and from some of the posts I read, It seems to (At least from time to time) have the same issue.

If anyone can provide some direction and assistance, it would be greatly appreciated.

Regards,

Christopher

6 REPLIES 6
Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,284

Be aware that ME_CONFIRMATION_UPDATE is an update function module, so somewhere in a SAP program a SAVE was processed and a COMMIT-WORKcalled some update task function modules to update database, this FM was only one of those modules (look at SM13 to get some ideas) so you should not use this FM.

You may look for where-used and find the logic of submit but then good luck....

So use an official way to process

- Batch Input on ME22

- BAPI

Some available BAPIs (depend on R3 version)

- BAPI_POEC_ADD_CONFIRMATION

- BAPI_PO_CHANGE

Regards

Read only

0 Likes
3,284

I have played around a bit today with this and have yet to find a solution.

BAPI_POEC_ADD_CONFIRMATION does not exist on our version. SAP ECC 6.0

BAPI_PO_CHANGE the PoConfirmation component is not for updating, only list display.

Any other ideas are appreciated.

Chris

Edited by: Christopher MacDonald on Mar 17, 2009 9:10 PM

Read only

0 Likes
3,284

I got the same issue and found the solution use "ME_CONFIRMATION_REDISTR_ITEMS" it will refresh the PO lines and MD04 will show correct qty.

Thanks

Atul

Read only

Former Member
0 Likes
3,284

You can search in Transaction BAPI, Alphabetical order....under PO...on the right side you have the search button under tools tab - to get all the related BAPI function modules available for PO.

I guess there is one for confirmation.(at home now ,not having access to system to confirm)

Mathews

Read only

Former Member
0 Likes
3,284

Hi folks,

Could someone provide the code for ME_CONFIRMATION_REDISTR_ITEMS - i don't have it on our system. Experiencing identical problem.

Thank you.

Read only

Former Member
0 Likes
3,284

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