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 Function Module behaves differently in foreground and background

Former Member
0 Likes
365

Hi,

I have RFC function module which works well when executed in debugg mode where as in normal mode it doesnt work as the time stamp is not changed and the record cannot be created with the same timestamp.

Can anybody suggest any solution on how to change the current timestamp when still in the same LUW.

Regards,

Roberts.

Hi,

I have RFC function module which works well when executed in debugg mode where as in normal mode it doesnt work as the time stamp is not changed and the record cannot be created with the same timestamp.

Can anybody suggest any solution on how to change the current timestamp when still in the same LUW.

Regards,

Roberts.

1 REPLY 1
Read only

Former Member
0 Likes
299

Hi,

Use:

T1 = SY-UZEIT.

 GET TIME.

T2 = SY-UZEIT.

  • T1 will be different from T2

Best regards,

Leandro Mengue