fb03 fv50增强打印Smartforms凭证

增强程序  LKKBLF01 第10行

今天发现这边增强 会影响其他功能,需要在这边加Tcode检查。解决问题。


FIELD-SYMBOLS<L_BUKRS> TYPE ANY,
                                    <L_GJAHR> TYPE ANY,
                                    <L_BELNR> TYPE ANY.
          ASSIGN COMPONENT 'BUKRS' OF STRUCTURE RT_OUTTAB TO <L_BUKRS>.
          ASSIGN COMPONENT 'GJAHR' OF STRUCTURE RT_OUTTAB TO <L_GJAHR>.
          ASSIGN COMPONENT 'BELNR' OF STRUCTURE RT_OUTTAB TO <L_BELNR>.

CALL FUNCTION '/1BCDWB/SF00000036'
 EXPORTING
*   ARCHIVE_INDEX              =
*   ARCHIVE_INDEX_TAB          =
*   ARCHIVE_PARAMETERS         =
*   CONTROL_PARAMETERS         =
*   MAIL_APPL_OBJ              =
*   MAIL_RECIPIENT             =
*   MAIL_SENDER                =
*   OUTPUT_OPTIONS             =
*   USER_SETTINGS              = 'X'
   I_BELNR                    <L_BELNR>
   I_GJAHR                    <L_GJAHR>
   I_BUKRS                    =  <L_BUKRS>
* 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.

exit.

你可能感兴趣的:(fb03 fv50增强打印Smartforms凭证)