Skip to Content
0
Former Member
Dec 22, 2008 at 09:49 AM

ALV Interactive -Problem while calling transaction

54 Views

Hi Experts,

FORM user_command USING cmd TYPE sy-ucomm

self TYPE slis_selfield.

CASE cmd.

WHEN '&IC1'.

READ TABLE gt_output INTO gs_output INDEX self-tabindex.

IF self-fieldname = 'VBELN' and gs_output-vbeln is not initial.

SET PARAMETER ID 'AUN' field gs_output-VBELN.

call transaction 'VA23' AND SKIP FIRST SCREEN.

ENDIF.

ENDCASE.

ENDFORM.

But in the above code my parameter id value is not properly fixed. Could anybody suggest me how I can fix my parameter id based on user selection so that I can call the desired transaction.

Regards,

Neha