Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV REPORT:

my reqiurement is as follows:

1. when pushbutton is clicked the transaction should go to 'CJ01'

following is my code;

tell me where my code went wrong:

FORM USER_COMMAND USING RF_UCOMM LIKE SY-UCOMM

SEL_FIELD TYPE SLIS_SELFIELD.

CASE RF_UCOMM.

WHEN '&IC1'.

*WHEN '&NEXT'.

LOOP AT I_FINAL INTO WA_FINAL.

IF WA_FINAL-CHECKBOX = 'X'.

SET PARAMETER ID: 'PSP' FIELD wa_final-pspid,

'PRO' FIELD wa_final-posid.

CALL TRANSACTION 'CJ03' AND SKIP FIRST SCREEN.

ELSE.

CONTINUE.

ENDIF.

ENDLOOP.

ENDCASE.

ENDFORM.

Thanks in advance

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question