Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RFC date input urgent

Former Member
0 Likes
456

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

2 REPLIES 2
Read only

Former Member
0 Likes
438

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

Read only

0 Likes
438

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