SAP SCWB_NOTE_MTXT_DIPLAY_PDF Function Module for
SCWB_NOTE_MTXT_DIPLAY_PDF is a standard scwb note mtxt diplay pdf SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for scwb note mtxt diplay pdf FM, simply by entering the name SCWB_NOTE_MTXT_DIPLAY_PDF into the relevant SAP transaction such as SE37 or SE38.
Function Group: SCWN
Program Name: SAPLSCWN
Main Program: SAPLSCWN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SCWB_NOTE_MTXT_DIPLAY_PDF pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'SCWB_NOTE_MTXT_DIPLAY_PDF'".
EXPORTING
* IV_FORMULAR = 'SCWN_NOTE' "
* IV_PROGRAM = 'SAPLSCWN' "
* IV_ACTIVITY = 'PRIOUT' "
IT_TEXT = "
* IV_LANGUAGE = SY-LANGU "
IMPORTING
EV_FILESIZE = "
TABLES
ET_FILE_DATA = "
EXCEPTIONS
ERROR_CLOSE_FORM = 1 ERROR_OPEN_FORM = 2 ERROR_CONVERT_PDF = 3 ERROR_DATA = 4
IMPORTING Parameters details for SCWB_NOTE_MTXT_DIPLAY_PDF
IV_FORMULAR -
Data type: TDFORMDefault: 'SCWN_NOTE'
Optional: No
Call by Reference: Yes
IV_PROGRAM -
Data type: TDPROGRAMDefault: 'SAPLSCWN'
Optional: No
Call by Reference: Yes
IV_ACTIVITY -
Data type: CHAR20Default: 'PRIOUT'
Optional: No
Call by Reference: Yes
IT_TEXT -
Data type: TLINE_TABOptional: No
Call by Reference: Yes
IV_LANGUAGE -
Data type: SPRASDefault: SY-LANGU
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SCWB_NOTE_MTXT_DIPLAY_PDF
EV_FILESIZE -
Data type: IOptional: No
Call by Reference: Yes
TABLES Parameters details for SCWB_NOTE_MTXT_DIPLAY_PDF
ET_FILE_DATA -
Data type: TBL1024Optional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR_CLOSE_FORM -
Data type:Optional: No
Call by Reference: Yes
ERROR_OPEN_FORM -
Data type:Optional: No
Call by Reference: Yes
ERROR_CONVERT_PDF -
Data type:Optional: No
Call by Reference: Yes
ERROR_DATA -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for SCWB_NOTE_MTXT_DIPLAY_PDF Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_ev_filesize | TYPE I, " | |||
| lv_iv_formular | TYPE TDFORM, " 'SCWN_NOTE' | |||
| lt_et_file_data | TYPE STANDARD TABLE OF TBL1024, " | |||
| lv_error_close_form | TYPE TBL1024, " | |||
| lv_iv_program | TYPE TDPROGRAM, " 'SAPLSCWN' | |||
| lv_error_open_form | TYPE TDPROGRAM, " | |||
| lv_iv_activity | TYPE CHAR20, " 'PRIOUT' | |||
| lv_error_convert_pdf | TYPE CHAR20, " | |||
| lv_it_text | TYPE TLINE_TAB, " | |||
| lv_error_data | TYPE TLINE_TAB, " | |||
| lv_iv_language | TYPE SPRAS. " SY-LANGU |
|   CALL FUNCTION 'SCWB_NOTE_MTXT_DIPLAY_PDF' " |
| EXPORTING | ||
| IV_FORMULAR | = lv_iv_formular | |
| IV_PROGRAM | = lv_iv_program | |
| IV_ACTIVITY | = lv_iv_activity | |
| IT_TEXT | = lv_it_text | |
| IV_LANGUAGE | = lv_iv_language | |
| IMPORTING | ||
| EV_FILESIZE | = lv_ev_filesize | |
| TABLES | ||
| ET_FILE_DATA | = lt_et_file_data | |
| EXCEPTIONS | ||
| ERROR_CLOSE_FORM = 1 | ||
| ERROR_OPEN_FORM = 2 | ||
| ERROR_CONVERT_PDF = 3 | ||
| ERROR_DATA = 4 | ||
| . " SCWB_NOTE_MTXT_DIPLAY_PDF | ||
ABAP code using 7.40 inline data declarations to call FM SCWB_NOTE_MTXT_DIPLAY_PDF
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_iv_formular) | = 'SCWN_NOTE'. | |||
| DATA(ld_iv_program) | = 'SAPLSCWN'. | |||
| DATA(ld_iv_activity) | = 'PRIOUT'. | |||
| DATA(ld_iv_language) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects