2007 Jul 05 6:59 AM
Hi everybody,
I have a input field in RFC fuction module. That input field, declared as integer, if I enter 5 , the output should be from current date - 5 , so the five date records should be displayed.
Thanks
Hi everybody,
I have a input field in RFC fuction module. That input field, declared as integer, if I enter 5 , the output should be from current date - 5 , so the five date records should be displayed.
Thanks
2007 Jul 05 7:06 AM
Hi,
Just use DO ENDDO
data l_index(2) type n.
DO <rfc_field_times>
l_index = sy-index.
l_datum = sy-datum - l_index.
ENDDO.
Reward points if useful.
Regards,
Atish
2007 Jul 05 7:19 AM
But I have one more condition in that query username.
Actual my exact requirement is
In RFC function module two inputs
1. user name.(equating with eban-ernam)
2. tperiod(getting the input as integer)
after getting ex 5 means sy-datum-5days , those records should be displayed.
hope u understood,
thanks,
vijay
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |