cancel
Showing results for 
Search instead for 
Did you mean: 

Safety Stock Maintenance in APO

Former Member
0 Kudos

Hello Experts,

I'm trying to use Time-based Safety Stock Method in APO (MF), but every maintanance in product master data in ECC changes the method to SZ.

Do you have any suggestion how to solve this issue? Any special field, customizing, user-exit, etc.

I've already tried to use BADI "smod_apo_cf_005", but it did not work.

Thanks a lot in advance

Ricardo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ricardo.

I am not sure which badi did you try to use.

Anyway, exit EXIT_SAPLCMAT_001 should work fine

(ct_cif_matloc-msdpsbmeth)

Thanks and Regards

Julien

Former Member
0 Kudos

Hi Ricardo,

I found your badi...

Indeed it does not look like the correct one: it is calling method EXIT_/SAPAPO/SAPLCIF_PROD_001 only

which is used to avoid the conflict when you link more than 1 R/3 to APO. (using BSG)

So it will not help you. Try the Exit I gave you, it should work.

Regards

Julien

Answers (1)

Answers (1)

0 Kudos

Ricardo,

We used user exit APOCF005 to block the changes of safety stock method from ECC. Should work for you.

Thanks

Pavan Sarda

Former Member
0 Kudos

Actualliy we are running apo70 which has already migrated the exit apocf005 to badi smod_apocf005.

This is the code we are using:

LOOP AT IT_MATLOCX INTO GS_MATLOCX.

CLEAR GS_MATLOCX-MSDP_SB_METHOD.

CLEAR GS_MATLOCX-SVTTY.

CLEAR GS_MATLOCX-TARGET_DUR.

MODIFY IT_MATLOCX FROM GS_MATLOCX INDEX SY-TABIX.

ENDLOOP.

it's still not working.

Any clue?

Former Member
0 Kudos

Hi Ricardo,

Sorry for my second message, I am a bit confused.

The badi you used should actually do the work.

(the first exit I provided to you will work to... to complete the message this one is on R/3 side... CIFMAT01)

Please check if you should not assign the value to IT_MATLOC as well as IT_MATLOCX

Regards

Julien