on 11-06-2007 8:54 AM
Hi,
I have created a BEx Variable of type Customer Exit called 'ZCA8764'
I intend to actually automatically calculate the number of days in the month.
Through some discussions here, I found that I can use a FM NUMBER_OF_DAYS_PER_MONTH_GET
So, I went to CMOD.
But there onwards, I don`t know how to write a code to link the Variable and the FM.
Can someone please advice with a sample code ?
Can someone please assist.
CALL FUNCTION 'NUMBER_OF_DAYS_PER_MONTH_GET'
EXPORTING
(here u need to pass the values to the FM)
IMPORTING
(here u will get the values that the function returns)
e.g.
CALL FUNCTION 'NUMBER_OF_DAYS_PER_MONTH_GET'
EXPORTING
day_in = v_mth_beg
IMPORTING
last_day_of_month = v_mth_end.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In CMOD , Give project name, and enter, call RSR00001 double click on it.
Select EXIT_SAPLRSAP_001 and open it. It will open the function module screen. Go to Include ZXRSAU01 double click on it, there write your code or call your function module.
Regards
SR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.