on 07-18-2007 6:57 PM
Hi Friends,
I am currently working on BW3.5.
I have got a requirement like this.
I have a Char variables A & B.
But to fill up varibale B values, the query should first read what the user has entered value for Varibale A amd make use of this value for deriving the values/populating the variable B.
How can I achieve this? Does it require ABAP coding?
If coding is required, where it is to be done?
If anyone of you have coding for this, pls let me know.
Thanks
mv_d
You need to write Variable Exit will do it.
There are so many examples on here, please check how to do it.
thanks.
Wond
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
DATA: WEEKDAY LIKE SCAL-INDICATOR,
NEWDATE LIKE SY-DATUM.
CALL FUNCTION 'DATE_COMPUTE_DAY'
EXPORTING
DATE = SY-DATUM
IMPORTING
DAY = WEEKDAY.
CLEAR E_T_RANGE.
IF WEEKDAY = 1.
NEWDATE = SY-DATUM - 3.
ELSE.
NEWDATE = SY-DATUM - 1.
ENDIF.
MOVE NEWDATE TO L_S_RANGE-LOW.
MOVE 'I' TO L_S_RANGE-SIGN.
MOVE 'EQ' TO L_S_RANGE-OPT.
APPEND L_S_RANGE TO E_T_RANGE.
thanks.
Wond
User | Count |
---|---|
86 | |
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.