cancel
Showing results for 
Search instead for 
Did you mean: 

safety stock data update in APO product master

Former Member
0 Kudos

Hi Gurus

I have an active IM for a product . when i change the safety stock in R/3 , the same is not getting updated in APO. The method maintianed is SB

Please suggest

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Finally i need to apply the below code in Exit EXIT_SAPLCMAT_001

----


  • INCLUDE ZXCIFU01 *

----


IF CT_CIF_MATLOC IS REQUESTED.

  • if no saftystock-method is explicitly set

  • use method 'SM' if safty stock & time is transfered

  • use method 'SB' if only safty stock is transfered

  • use method 'SZ' if only safty time is transfered

LOOP AT CT_CIF_MATLOC.

LOOP AT CT_CIF_MATLOCX WHERE MATNR = CT_CIF_MATLOC-MATNR AND

LOCNO = CT_CIF_MATLOC-LOCNO.

CT_CIF_MATLOCX-MSDPSBMETH = 'X'.

*APO und R/3: Safety stock

IF CT_CIF_MATLOCX-SAFTY = 'X' AND

NOT CT_CIF_MATLOC-SAFTY IS INITIAL.

*APO: Safety days' supply R/3: Safety time/act.cov.

IF CT_CIF_MATLOCX-SVTTY = 'X' AND

NOT CT_CIF_MATLOC-SVTTY IS INITIAL.

*Maximum of stock und safety time

CT_CIF_MATLOC-MSDPSBMETH = 'SM'."Maximum

ELSE.

*Safety Stock

CT_CIF_MATLOC-MSDPSBMETH = 'SB'.

ENDIF.

ELSE.

IF CT_CIF_MATLOCX-SVTTY = 'X' AND

NOT CT_CIF_MATLOC-SVTTY IS INITIAL.

*Safety days' supply

CT_CIF_MATLOC-MSDPSBMETH = 'SZ'.

ENDIF.

ENDIF.

MODIFY CT_CIF_MATLOC.

MODIFY CT_CIF_MATLOCX.

ENDLOOP.

ENDLOOP.

ENDIF.

Thanks all for the input

Former Member
0 Kudos

Hi All

I did run the change pointer , i check the exit EXIT_/SAPAPO/SAPLCIF_PROD_001. But still i am not seeing the entry in APO ( it's more than zero )

Prasanna

nitin_thatte
Contributor
0 Kudos

In R/3 go to transaction CFC9 maintain value 2 for Material Master Change Transfer.

The changes will transfer on line.

Former Member
0 Kudos

Hi,

You can do two ways to reflect changed saftey stock in APO:

1.Manually change it in APO what you did in R/3.

2.Run Change pointer program RCPTRAN4 to update the changes in APO.

Thanks,

Dipankar

Former Member
0 Kudos

Hi Prasanna,

Apart from checking queues for blockage, please check following thread:

Please note that if value in APO is non zero and the new value in SAP R/3- ECC is zero , then it may not overwrite non-zero value in APO.

Regards

Datta