Skip to Content
0
Former Member
Dec 12, 2008 at 09:18 AM

how to find out the SET PARAMETER ID for FB02 transaction

1584 Views

hi masters,

i m working on a alv report and in that i have to make a BELNR field as a interactive field. i m using the 'user command' for this.

FORM user_command USING ucomm TYPE sy-ucomm

selfield TYPE slis_selfield.

IF selfield-value IS NOT INITIAL.

CASE selfield-fieldname.

WHEN 'BELNR'.

SET PARAMETER ID 'FBAS' FIELD selfield-value.

CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.

WHEN OTHERS.

MESSAGE text-000 TYPE 'W'.

ENDCASE.

ENDIF.

ENDFORM. "user_command

i used this code using this. using this code my program goes to FB03 tc but it don't shows the data of BELNR what i was clicked. it always shows first BELNR no. in the table. plz anyone help me for this..

the SET PARAMETER ID 'FBAS' i m using is right? if not plz suggest me how to find out correct one?