Monday, September 25, 2023

Normal ALV report

 REPORT zalv_practice.

* NORMAL ALV FOR DISPLAY VBAP DATA BY ALV FM.
SELECT *
  FROM vbap INTO TABLE @DATA(it_vbapUP TO 20 ROWS.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
  EXPORTING
    i_structure_name 'VBAP'
*   IMPORTING
*   E_EXIT_CAUSED_BY_CALLER           =
*   ES_EXIT_CAUSED_BY_USER            =
  TABLES
    t_outtab         it_vbap
  EXCEPTIONS
    program_error    1
    OTHERS           2.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.

OUTPUT:









No comments:

Post a Comment

Translation of language in Smart Forms.

  Step by Step process to Translate English language to Spanish language in smart form. 1. Go to T-Code SE63 in command bar and then enter. ...