‎2006 Sep 06 5:56 AM
Hi all,
I have developed a report using the ALv grid , everything works fine, except for the Refresh icon in the tool bar menu,
when i click it my column placement go for a toss(only for the currency field.) all the currency field in the report are placed at one place ( which shouldn't have been like that)did anyone of you had the same problem.
its the same with the Excel sheet placement for the report (it does the same thing)
For e.g..
My field catalog is as defined below.
PO number
Po item
Po value
currency
PO value in Local currency
Currency
Invoice value
Currency
Invoice value in Local Currency
Currency
after the refresh or the Excel sheet placed in the screen button is used in the menu
my output is as below.
PO number
Po item
Po value
Currency
Currency
Currency
Currency
PO value in Local currency
Invoice value
Invoice value in Local Currency
could some one help me out in this part .
Thanks in advance.
Regards
‎2006 Sep 06 6:01 AM
Try this..
wa_stable-col = c_check.
wa_stable-row = c_check.
CALL METHOD pw_grid->refresh_table_display
EXPORTING
is_stable = wa_stable
i_soft_refresh = pw_refresh
EXCEPTIONS
finished = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
‎2006 Sep 06 6:20 AM
Hi Ramani,
Thanks for the reply.
I have already used the method
buti havent passed the IS_STABLE parameter value into the method.
Can you please let me know what value do i need pass into thois varaible as i have tried with teh 'X' but it doesnt work out.
Regards
Seshidhar
‎2006 Sep 06 6:28 AM
Pass 'X' to column and row and it should work
wal_stable-col = 'X'.
wal_stable-row = 'X'.
‎2006 Sep 06 11:51 AM
Hi
It still doesn't work out with the refresh method.
did anybody face the same kind of problem.
if so please let me know how it was solved.
Regards
‎2006 Sep 06 12:17 PM
Hi try this code
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
rs_selfield-refresh = 'X'.
Thxs,
vind