cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI Function Module for SCM APO Trans code /SAPAPO/AC42

Former Member
0 Kudos

Hi,

Is there any BAPI Function Modules for SCM APO Tcode /SAPAPO/AC42.

This BAPI FM should return the column values "Remaining Prod Alloc" and "Incoming Order Quantity" when we give

below details as inputs for the Tcode /SAPAPO/AC42

Product Allocation Group

Product

Allocation Procedure

prod Alloc step

Product Alloc Object (Characteristics of Product Alloc Group)

Plant (Characteristics of Product Alloc Group)

Customer Group 5 (Characteristics of Product Alloc Group)

Reward points if helpful.

Thanks,

Mich

Accepted Solutions (0)

Answers (2)

Answers (2)

wilian_segatto
Employee
Employee
0 Kudos

Closing thread.

Former Member
0 Kudos

Hi,

You should be able to get the information using the standard BAPI (Assuming you are using SCM5.0) BAPI_APOPAL_INSERT in the transaction BAPI.

ProductAllocationAPO.DataInsert

Interface to Import Product Allocation Data Functionality

This method is used to adopt data from OLTP systems for product allocation in the global availability check.

You can do the following using the method:

Adopt new data

You can adopt new characteristics combinations or new time series. Newly created characteristics combinations have the status Active and are therefore included in the product allocation check.

Change existing data

You can overwrite existing data if you have set the interface parameter ALLOW_UPDATE. You can set the status of existing characteristics combinations to Active if you set the interface parameter UPDATE_STATUS. If the characteristics combination does not exist, the system creates it.

The product allocation quantity is overwritten for existing time series. If you also want to change the incoming orders quantity, you must set the interface parameter UPDATE_INCOMING_ORDER_QTY. If the time series does not exist, the system creates it.

Prerequisite

To be able to use this method, you must have made all the Customizing settings for product allocation. For more information, see the Implementation Guide (IMG) for SAP APO under Global Available-to-Promise -> Product Allocation.

Regards

Vinod

Former Member
0 Kudos

Hi Vinod,

The solution you provided didn't tell about how to retrive the Remaining.Prod.Allocation.

The BAPI you said doesn't return the Remaining.Prod.Allocation of the T.code /SAPAPO/AC42 for Characteristics combination.

Thanks for your input. Can you tell me if there is a BAPI to do the above requirement.

regards,

Mich