Application Development 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: 

Hotspot not return back to ALV report

former_member290134
Discoverer
0 Kudos

I am displaying ALV report using cl_salv_table= factory. And set hotspot on claim field. After click transaction WTY call by skipping first screen. But when i click back button it is not coming back to ALV report.

SET PARAMETER ID 'CLMNO' FIELD lv_claim.
CALL TRANSACTION 'WTY' AND SKIP FIRST SCREEN.

In case of REUSE_ALV_GRID_DISPLAY. It is working fine.

1 ACCEPTED SOLUTION

former_member290134
Discoverer
0 Kudos

I solved my problem using memory ID below is the code.

MOVE syst-modno TO lv_modno.

CONCATENATE sy-tcode lv_modno
INTO lv_tcode_last.
EXPORT wty_tcode_last_memoid FROM lv_tcode_last TO MEMORY
ID 'WTY_TCODE_LAST_MEMOID'.

SET PARAMETER ID 'CLMNO' FIELD lv_claim. .

*-- Call Warranty Transaction
CALL TRANSACTION 'WTY' AND SKIP FIRST SCREEN.

5 REPLIES 5

VijayCR
Active Contributor
0 Kudos

selfield-refresh = 'X' Did you set this falg or not ?

0 Kudos

selfield-refresh = 'X' is not working.

0 Kudos

It doesn't work in the context of your issue, which happens probably because WTY does something like a LEAVE TO TRANSACTION, LEAVE PROGRAM, etc.(so can't return to the ALV of course!)

0 Kudos

selfield-refresh does not apply to SALV ; it applies only to REUSE_ALV_[LIST or GRID]_DISPLAY

former_member290134
Discoverer
0 Kudos

I solved my problem using memory ID below is the code.

MOVE syst-modno TO lv_modno.

CONCATENATE sy-tcode lv_modno
INTO lv_tcode_last.
EXPORT wty_tcode_last_memoid FROM lv_tcode_last TO MEMORY
ID 'WTY_TCODE_LAST_MEMOID'.

SET PARAMETER ID 'CLMNO' FIELD lv_claim. .

*-- Call Warranty Transaction
CALL TRANSACTION 'WTY' AND SKIP FIRST SCREEN.