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: 

PROBLEM OF DOUBLE CLICK IN MODULE POOL

Former Member
0 Kudos

Hi Experts,

iam displaying itab_vbak containing quotation number and details of quotation in table control

of module pool programing.and I WRITTEN THE CODE AS FOLLOWS

case sy-ucomm.

WHEN 'PICK'.

GET CURSOR FIELD WS_FIELD LINE WS_LINE.

IF WS_FIELD EQ 'ITAB_VBAK-VBELN'.

READ TABLE ITAB_VBAK INDEX WS_LINE.

SET PARAMETER ID 'AUN' FIELD ITAB_VBAK-VBELN.

CALL TRANSACTION 'VA23' AND SKIP FIRST SCREEN.

ENDIF.

endcase.

when i double click the field itab_vbak-vbeln iam getting the transaction VA23.BUT MY PROBLEM IS

IAM NOT ENTERING INTO THE QUOTATION TO WHICH IAM DOUBLE CLICKING.iam getting MESSAGE

ENTER THE DOCUMENT NUMBER.Please help me in getting the document number in the transaction va23

when i double click the the field ITAB_VBAK-VBELN.URGENT THANKS IN ADVANCE

5 REPLIES 5

Former Member
0 Kudos

hi

check this..

read table ltab_vbak

INDEX tcontrol-current_line

here tcontrol is the table control name

regards

padma

Former Member
0 Kudos

GET CURSOR FIELD WS_FIELD LINE WS_LINE.

READ TABLE ITAB_VBAK INDEX ( TABLE_CONCTROL-TOP_LINE + WS_LINE - 1).

...................

0 Kudos

hi jeffpan and padma,

thanks for reply,

but still my problem is not solved

although i inserted the code what u have given iam not getting the document number in the TRANSACTION VA23.

WHEN I DOUBLE CLICK THE QUOTATION NUMBER IN THE TABLE CONTROL VA23 SHOULD BE OPEN

WITH THAT QUOTATION NUMBER

THANKS

Archana.

Former Member
0 Kudos

ur displaying itab detail in alv or normal list

when u will double click at itab_vbeln at that moment va23 will call but it required some record that need to fill can u provide those detail which is getting fill at first screen of va23 so i can check

anil chaudhary

0 Kudos

HI ANIL,

THANKS FOR UR REPLY.

here the information that is filled in the first screen of VA23 IS ONLY THE QUOTATION NUMBER

to which iam double clicking and iam displaying the itab_vbak in table control not in the alv or list

thanks,

Archana.