Dear Experts ,
It will be really great if somebody can help me to find out what is going wrong with routine SAPTS_SET_DATA.
Issue : From a custom program keyfigure values in DP were not updated by FM /SAPAPO/OM_TS_DATA_SET ( this FM is called from FM /SAPAPO/TS_DM_SET used in custom program) , even though all CVCs are at required aggr. Level and KF values were passed properly.
Observations done so far :
- LCA routine SAPTS_SET_DATA which is intended to change the KF values didn't change the value , in this case return code
was not filled and none of the output paramters like 'ET_IGNORED_VALUES' were filled.
- when same KF values at same CVC level were updated through planning book , values were updated properly through the same same LCA routine and the output parameters were filled.
- In both of the above cases parameter passed to SAPTS_SET_DATA were almost same with a minor difference in the values for field CHANGE_MODE in IT_SET_VALUES, but this cannot make a major difference since fixing was not applied for any of the KF values.
I have already tried the below options:
- checked if all paramters are passed completely and properly to /SAPAPO/OM_TS_DATA_SET
- Tried the consitency checks.
- Activated logging for OM modules and checked results using //OM21 - no errors observed.
- Checked LC10 to find any bottle necks
BR//Harish