Quantcast
Channel: SCN : Unanswered Discussions - Supply Chain Management (SAP SCM)
Viewing all articles
Browse latest Browse all 5579

Dependent requirement is NOT updated after production order confirmation

$
0
0

Dear Expert

We are integrating a Non-ECC system with SAP APO-PP/DS, but after production order confirmation, the dependent requirement of component is not updated accordingly.

Planned order 1000002 of FG01 is generated after heuristic in APO-PP/DS;

12.png

Convert planned order to production order by /SAPAPO/CIF_ORDER_INBOUND with the following parameters:
it_ord-ORDNR = 'G14071000002'."Production order number
it_ord
-OBJECT_TYPE = '6'."OLTP Object type
it_ord
-ORDERGUID = 'KyY5YVVW1K3X08002XFUOW'."Internal Number in APO

it_ord-METHOD = 'C'.
it_ord
-PROD_PLANT = '3100'."Production plant
it_ord
-PRODUCABLE = 'X'.
it_ord
-OUTPUT_FIXED = 'X'.

it_ord-CNVIN = 'X'.

it_ord-EXT_ORDNR = '0000001000002' ."Planned Order Number in APO

it_out-ORDNR = ' G14071000002'.”Production order number
it_out
-MATERIAL = 'FG01'.”Parent material of prod.order
it_out
-PLANT = '3100'.”Production plant

it_out-ORDER_QUANTITY = '3'.”Quantity of production order
IT_OUT
-is_master = 'X'.
IT_OUT
-ATPCAT = 'AC'
.


result:

3 EA dependent requirement for SF01 from production order G14071000002


After release and Do the production order confirmation for operation 0010 at 1 EA by Function module /SAPAPO/CIF_CONF_INBOUND with the following paramters:

it_confirm-ORDNR = 'G14071000002'."Production order number

it_confirm-OPRNR = '00000000001'."Operation 0010
it_confirm
-CONFIRMTYPE = '0300'."Partial confirmation

it_confirm-ENDTIME = '20140722000000'."End Date/Time

it_confirm-QUANTITY = '1'."Yield of confirmation
it_confirm
-DURATION = '600'.
"Duration


result:

The confirmed quantity for operation 0010 is updated.

But the dependent requirement of SF01 is NOT reduced.

13.png

We also tried to update the dependent requirement by function module /SAPAPO/CIF_RSV_INBOUND, as in APO-PP/DS, no reservation will be created, an in our ERP (Non-ECC) system, also no reservation will be created duration production order creation, if we give a dummy reservation number in /SAPAPO/CIF_RSV_INBOUND,  we will get error message said the reservation number is not available, if we keep the reservation number blank in /SAPAPO/CIF_RSV_INBOUND, then nothing is updated.


any suggestions would be welcome.

Thx

Regards

Kevin


Viewing all articles
Browse latest Browse all 5579

Trending Articles