call transazation FB03
calling FB03 behalf of some code you can call transaction some time requirement you have need to call the screen transaction some peace of code you can call the below are the code you can call the screen as per the requirements
FORM user_comm USING ucomm LIKE sy-ucomm
s_selfield TYPE slis_selfield.
READ TABLE gt_final INTO gs_final INDEX s_selfield-tabindex.
SET PARAMETER ID 'BLN' FIELD gs_final-belnr.
SET PARAMETER ID 'BUK' FIELD p_bukrs.
SET PARAMETER ID 'GJR' FIELD p_gjahr.
CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
ENDFORM.
FORM user_comm USING ucomm LIKE sy-ucomm
s_selfield TYPE slis_selfield.
READ TABLE gt_final INTO gs_final INDEX s_selfield-tabindex.
SET PARAMETER ID 'BLN' FIELD gs_final-belnr.
SET PARAMETER ID 'BUK' FIELD p_bukrs.
SET PARAMETER ID 'GJR' FIELD p_gjahr.
CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
ENDFORM.
Thanks for solution.
ReplyDelete