2006 Jun 14 9:51 AM
Hi,
I'm using FM EXIT_SAPLV51S_001.(USER EXIT)
In the row :
EXPORT sy-uzeit TO MEMORY ID 'YTIME'.
I got sy-subrc = 4.
Why??? What is the problem?
Thanks
DIANA
Hi,
I'm using FM EXIT_SAPLV51S_001.(USER EXIT)
In the row :
EXPORT sy-uzeit TO MEMORY ID 'YTIME'.
I got sy-subrc = 4.
Why??? What is the problem?
Thanks
DIANA
2006 Jun 14 9:53 AM
Hi Diana,
Instead copy SY-UZEIT into a variable of type SY_UZEIT and then perfrom the EXPORT command.
It is not adviasable to use these system variables directly.
Cheers,
YJR.
2006 Jun 14 9:56 AM
YJR ,
I already tried this one.
lc_uzeit = sy-uzeit.
EXPORT lc_uzeit TO MEMORY ID 'YTIME'.
But the result is the same.
Thanks
DIANA
2006 Jun 14 9:57 AM
Hi Diana,
Do this way ...
data v_var type sy-uzeit.
v_var = sy-uzeit.
Now use v_var variable in EXPORT parameters .
Regards,
Santosh
2006 Jun 14 10:00 AM
check table TPARA .there is entry of id or not if not make entry of id.
for this go to transaction SM30.
2006 Jun 14 9:59 AM
Hi,
Take a varible and export the same.See below example.
data time like sy-uzeit.
EXPORT time TO MEMORY ID 'YTIME'.
it works fine in this case.
Regards,
Ram Mohan
2006 Jun 14 10:00 AM
Try this one. It works for me.
REPORT ZTEST.
data v_var type sy-uzeit.
v_var = sy-uzeit.
export v_var to memory id 'YTIME'.
write: 'Hello'.
2006 Jun 14 10:14 AM
Hi,
try this in user exit.
data: v_time type sy-uzeit.
<b>GET TIME.</b>
V_time = sy-uzeit.
EXPORT v_time TO MEMORY ID 'YTIME'.GET TIME is must.
Regards
vijay
2006 Jun 14 2:50 PM
Hi ,
Pls try this code
data: var type sy-uzeit.
var = sy-uzeit.
EXPORT var TO MEMORY ID 'TIME'.
write: var,sy-subrc,sy-uzeit.
clear var.
IMPORT var FROM MEMORY ID 'TIME'.
write:/ var,sy-subrc,sy-uzeit.
(execute this sample code in se38),it is woking for me..pls try this if it is useful for u.
Regards,
Ramesh.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |