Dear Friends,
I have done an interactive report.
It's working fine except when i click on anywhere in the line it should takes me to Tcode VA43.
when i click on that line every time it is taking me to one contract number only(va43).
Means it is taking me the number which has last displayed via VA43 separately.
Suppose i executed VA43 and displayed of contract 100.
In the program it takes me to 100 Evertytime... but in the coding contract number is getting updated correctly based on row selected.
Kindly help me.
PFB code..
FORM DOUBLE_CLICK USING R_UCOMM LIKE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
CASE R_UCOMM.
WHEN '&IC1'.
CLEAR WA_FINAL.
READ TABLE IT_FINAL INDEX RS_SELFIELD-TABINDEX INTO WA_FINAL.
SET PARAMETER ID 'AUN' FIELD WA_FINAL-VBELN.
CALL TRANSACTION 'VA43' AND SKIP FIRST SCREEN.
ENDCASE.
ENDFORM. "DOUBLE_CLICK