2004 Nov 28 7:39 AM
Hello all,
I'm trying to create a query with sq02 and sq01, that the input fields will be printed in the output.
I used the following code, but the problem is that the DATE fields are printed in the format YYYYMMDD, I want it to be printed <b>DD.MM.YYYY</b>
Do you know another code to do it right?
Or fix my code?
<b><u>The Code:</u></b>
data: lt_seltab type standard table of rsparams
with header line.
data: lv_report like sy-repid.
lv_report = sy-repid. "do not pass sy-repid directly
call function 'RS_REFRESH_FROM_SELECTOPTIONS'
exporting
curr_report = lv_report
tables
selection_table = lt_seltab.
you can remove some parameters with
'DELETE LT_SELTAB WHERE...' statement,
before display, if necessary
call function 'RS_LIST_SELECTION_TABLE'
exporting
report = lv_report
seltext = 'X'
dyn_range =
newpage = ' '
screennr = 1000
tables
sel_tab = lt_seltab
exceptions
sel_tab_empty = 1.
*****************************************
thanks,
Itzhak.
2004 Nov 28 10:21 AM
This might not be the best answer, but you can give it a try:
In the <b>Own Settings(or is it Data)</b>, you can change the date to show as DD.MM.YYYY in the menu bar(Menu - System).
Regards,
Subramanian V.