A SAP ABAP Report Program that will show output in Smartform

Program: 


REPORT ZSM_SMARTFORM.

 PARAMETERSP_TEXT TYPE char10.

 CALL FUNCTION '/1BCDWB/SF00000481'
   EXPORTING
*    ARCHIVE_INDEX              =
*    ARCHIVE_INDEX_TAB          =
*    ARCHIVE_PARAMETERS         =
*    CONTROL_PARAMETERS         =
*    MAIL_APPL_OBJ              =
*    MAIL_RECIPIENT             =
*    MAIL_SENDER                =
*    OUTPUT_OPTIONS             =
*    USER_SETTINGS              = 'X'
     im_text                    p_text
*  IMPORTING
*    DOCUMENT_OUTPUT_INFO       =
*    JOB_OUTPUT_INFO            =
*    JOB_OUTPUT_OPTIONS         =
  EXCEPTIONS
    FORMATTING_ERROR           1
    INTERNAL_ERROR             2
    SEND_ERROR                 3
    USER_CANCELED              4
    OTHERS                     5
           .
 IF sy-subrc <> 0.
* Implement suitable error handling here
 ENDIF.

 


Output:  


                                              







Post a Comment

0 Comments