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: 

CO09 Availability Overview - Issues and Confirmed Issues values

Will2
Explorer
0 Kudos
1,356

Hi,

BAPI_MATERIAL_AVAILABILITY only returns the Receipt total value.
Does anyone how how to get the other totals values - Issues and Confirmed Issues?

Thanks,

William

4 REPLIES 4

Maciej_Domagała
Contributor
0 Kudos
1,160

BAPI_MATERIAL_AVAILABILITY returns quantity available - calculated as a result of availability check - according to the "checking rule" (specified in input parameter CHECK_RULE).

If you suspect some documents to be skipped during availability check you preform, then check the definition of the "checking rule" you use (see tcode CO09 -> Enter -> Scope of check).

regards

Will2
Explorer
0 Kudos
1,160

I'm using the same checking rule in both (bapi and tcode).

If you look at CO09 after pressing enter, there are three fields under the 'Totals Display' section: "Receipts", "Issues", and "Confirmed Issues".

BAPI_MATERIAL_AVAILABILITY only returns the Receipts value, in export parameter AV_QTY_PLT and also in COM_QTY table WMDVEX

I'm wondering how to get the other two values.

0 Kudos
1,160

It looks like all you can do with this BAPI is to calculate "Confirmed issues" yourself, as = AV_QTY_PLT - WMDVEX-COM_QTY (taking into account WMDVEX record wiith the latest date only).

As na alternative - instead of using this BAPI - you can try using fm AVAILABILITY_CHECK_CONTROLLER. This one has much more parameters (some of them documented) and should give you all data you need.

regards

0 Kudos
1,160

The first line of CO09 shows the status at the time the transaction is started with the current stock (on plant level) and the current ATP-quantity.

https://wiki.scn.sap.com/wiki/display/SCM/CO09+-+Availability+overview