cancel
Showing results for 
Search instead for 
Did you mean: 

Planning strategy transfer in CIF

Former Member
0 Kudos

Hi

I know , when we maintian strategy group 10 in R/3 it transfers to 10 in APO simi,ilarly 40 as 20 in APO. I would like to know the program / function module where i can see this definition

Prasanna

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prasanna,

This code is written in one Function Module on ECC side.

Function Module Name: CIF_MATERIAL_PRODUCT_MAP which is called in CIF User Exit for Material transfer CIFMAT01 in ECC.

From line 1346 or 1347 onwards you will find the code written as below.

l_strgr = Strategy Group which is coming from MARC table.

IF l_strgr = '10'.

p_cif_matloc-stra1 = '10'.

p_cif_matlocx-stra1 = g_true_con.

ELSEIF l_strgr = '40'.

p_cif_matloc-stra1 = '20'.

p_cif_matlocx-stra1 = g_true_con.

ELSEIF l_strgr = '50'.

p_cif_matloc-stra1 = '30'.

p_cif_matlocx-stra1 = g_true_con.

  • BEGIN NOTE 305642

ELSEIF l_strgr = '60'.

p_cif_matloc-stra1 = '40'.

p_cif_matlocx-stra1 = g_true_con.

  • END NOTE 305642

  • BEGIN NOTE 313476

ELSE.

  • all other values: for special cases propagate value but DON'T set

  • X-field. That way the standard APO coding will not change the

  • value in APO but a customer-exit could process the R/3 value.

p_cif_matloc-stra1 = l_strgr.

CLEAR p_cif_matlocx-stra1.

  • END NOTE 313476

ENDIF.

I hope this will help you to understand the logic behind planning strategy.

Regards,

Saurabh Kulkarni