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: 

ME_CONFIRMATION_UPDATE, issue with reduced quantity in confirmation tab of ME23N

former_member634686
Discoverer
0 Kudos

Hi Experts,

WE have developed a report for mass PO(STO) confirmation.

we are using FM ME_CONFIRMATION_UPDATE' for updating the confirmations (Table EKES).

But we are facing problem with the reduced quantity (DABMG).

E.X.- we have one P.O. with PO quantity as 50. It has two delivery schedule with quantity 30 and 20 for the dates 17th June 2014 and 2nd June 2014 respectively.

we have 20 quantity in stock. so we have confirmed the delviery schedule with 20 quantity,created delivery and inbound delivery with 20 quantity.

Now we have added 10 quantity in stock and rescheduled the PO using V_V2.

Now in this case i have 10 quantity out of 30 for 17th June.

After this when i am trying to run our mass confirmation report, it should assing reduced quantity as 20 to the nearest delviery  date 17th june (against delivery schedule having quantity 30.)

But our program is not updating the proper reduced quantites in confirmation tab.

If any one has faced same problem, please help.

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos

Look at ME_CONFIRMATION_UPDATE attributes, this is an update FM, so you must not call it, but identify a BAPI (*) or similar tool, an update task FM is often only a wrapper to final OPEN-SQL statements and using it is not better than direct update of database...

Regards,

Raymond

(*) e.g. BAPI_PO_CHANGE (table parameter POCONFIRMATION)