Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to insert a code for a function module into a Customer Exit Variable?

I have two Key Figures viz., Net Prchs Rtl, and Net Prchs Unt. Both these Key figures have This Week (TW) and Last Week (LW). There is a variable for This week but there is no variable defined for Last week.

I need to get data in the column LW (Last Week) for both the key figures.

In function module EXIT_SAPLRRS0_001 one of the functions I have is:

  • Get the previous Fiscal Week


I need to create a new variable to get values in the Last week column for different key figures and use function “'DATE_TO_PERIOD_CONVERT'” in that variable.

Can anyone please explain me the steps as to how to use a function module in a variable so that when the variable is used in a key figure it shows the output.

In other words what I want to know is after creating a Customer exit variable of type Characteristic value how do I refer the above mentioned function moduel and insert the code for the function module into the Customer exit variable that I created.

Thank you.


Former Member
Not what you were looking for? View more on this topic or Ask a question