2012 May 09 8:10 AM
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
2012 May 09 8:27 AM
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
2012 May 09 8:23 AM
Change AUN to KTN.
The F1 help on the fields says as below
2012 May 09 8:27 AM
2012 May 09 8:35 AM
Thank you Neha & KesavaDas.
You Replies resolve my issue.
but how would i get Parameter id ..?
i checked via f1 help from va41 it shows 'ATN' only.
Kindly tell me the way.. thanks in advance.
2012 May 09 8:40 AM
You were looking at the technical details. This was mentioned in the F1 documentation, before hitting technical details. This is differentiated based on document type.
2012 May 09 10:25 AM
Hi,
Add CLEAR wa_final and try.
Nevermind your problem seems resolved
Priya.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |