cancel
Showing results for 
Search instead for 
Did you mean: 

Use of BADI /SAPAPO/SDP_RELDATA METHOD CHANGE_PROD_LOC

Former Member
0 Kudos

We have a requirement for a small number of product/locations to re-direct them onto a customer location when releasing the forecasts to SNP.

We have been pointed in the direction of the BADI /SAPAPO/SDP_RELDATA method CHANGE_PROD_LOC.

Unfortunately we can not find any documentation on the use of this BADI/Method, we've tried to change the location using the parameter CT_MATID_LOCID, also setting the parameter CV_CHANGE_PROD_LOC where a change has been made, but it doesn't seem to work.

Has anyone used this BADI/Method and has advice on it's usage?

Regards, Mark

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mark - Changing the CT_MATID_LOCID table alone will not associate the change with a plobj or CV. I am surprised you do not get an error. You will also need to update the CT_MATLOC_PLOBJ table - find the entry for the old matid/locid then update that with the new matid/locid. Also the CT_PLOBJ_CHAR table needs to be updated as well - find the same plobj and update matid/locid accordingly.

Regards

Andy

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Andy,

Thanks for the very useful answer, we've now got it working.

Regards, Mark