SAP JBR_SFGDT_TOOL_VORB Function Module for Vorbereitung der RT zum Speichern
JBR_SFGDT_TOOL_VORB is a standard jbr sfgdt tool vorb SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Vorbereitung der RT zum Speichern processing and below is the pattern details for this FM, 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 jbr sfgdt tool vorb FM, simply by entering the name JBR_SFGDT_TOOL_VORB into the relevant SAP transaction such as SE37 or SE38.
Function Group: RM_SFGDT_TOOL
Program Name: SAPLRM_SFGDT_TOOL
Main Program: SAPLRM_SFGDT_TOOL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function JBR_SFGDT_TOOL_VORB 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 'JBR_SFGDT_TOOL_VORB'"Vorbereitung der RT zum Speichern.
EXPORTING
I_IT_SFGDT = "
* CFARTYN = 'X' "
AENDERN = "
AENDERN1 = "
ANLEGEN = "
RIDEXT = "Externe Nummer des Risikoträgers
IMPORTING
D_MSG_NO = "Nachrichten, Nachrichtennummer
LAST_ERR_TYP = "
CHANGING
* ERRORS = "
* WARNINGS = "
TABLES
ET_VTVFGDI0 = "DI-Risikoträger: Erweiterte Empfängerstruktur
* SAMMEL_ERROR_TAB = "GP: DI Schnittstelle zur Fehlerbehandlung
* ALL_VTVFGDI0 = "DI-Risikoträger: Erweiterte Empfängerstruktur
IMPORTING Parameters details for JBR_SFGDT_TOOL_VORB
I_IT_SFGDT -
Data type: TVS_SFGDT_TABOptional: No
Call by Reference: Yes
CFARTYN -
Data type: CDefault: 'X'
Optional: No
Call by Reference: Yes
AENDERN -
Data type: COptional: No
Call by Reference: Yes
AENDERN1 -
Data type: COptional: No
Call by Reference: Yes
ANLEGEN -
Data type: COptional: No
Call by Reference: Yes
RIDEXT - Externe Nummer des Risikoträgers
Data type: VTVFGDI0-RIDEXTOptional: No
Call by Reference: Yes
EXPORTING Parameters details for JBR_SFGDT_TOOL_VORB
D_MSG_NO - Nachrichten, Nachrichtennummer
Data type: SY-MSGNOOptional: No
Call by Reference: No ( called with pass by value option)
LAST_ERR_TYP -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for JBR_SFGDT_TOOL_VORB
ERRORS -
Data type: IOptional: Yes
Call by Reference: Yes
WARNINGS -
Data type: IOptional: Yes
Call by Reference: Yes
TABLES Parameters details for JBR_SFGDT_TOOL_VORB
ET_VTVFGDI0 - DI-Risikoträger: Erweiterte Empfängerstruktur
Data type: VTVFGDI0Optional: No
Call by Reference: Yes
SAMMEL_ERROR_TAB - GP: DI Schnittstelle zur Fehlerbehandlung
Data type: BUSSPROT_XOptional: Yes
Call by Reference: Yes
ALL_VTVFGDI0 - DI-Risikoträger: Erweiterte Empfängerstruktur
Data type: VTVFGDI0Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for JBR_SFGDT_TOOL_VORB 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_errors | TYPE I, " | |||
| lv_d_msg_no | TYPE SY-MSGNO, " | |||
| lv_i_it_sfgdt | TYPE TVS_SFGDT_TAB, " | |||
| lt_et_vtvfgdi0 | TYPE STANDARD TABLE OF VTVFGDI0, " | |||
| lv_cfartyn | TYPE C, " 'X' | |||
| lv_warnings | TYPE I, " | |||
| lv_last_err_typ | TYPE C, " | |||
| lt_sammel_error_tab | TYPE STANDARD TABLE OF BUSSPROT_X, " | |||
| lv_aendern | TYPE C, " | |||
| lt_all_vtvfgdi0 | TYPE STANDARD TABLE OF VTVFGDI0, " | |||
| lv_aendern1 | TYPE C, " | |||
| lv_anlegen | TYPE C, " | |||
| lv_ridext | TYPE VTVFGDI0-RIDEXT. " |
|   CALL FUNCTION 'JBR_SFGDT_TOOL_VORB' "Vorbereitung der RT zum Speichern |
| EXPORTING | ||
| I_IT_SFGDT | = lv_i_it_sfgdt | |
| CFARTYN | = lv_cfartyn | |
| AENDERN | = lv_aendern | |
| AENDERN1 | = lv_aendern1 | |
| ANLEGEN | = lv_anlegen | |
| RIDEXT | = lv_ridext | |
| IMPORTING | ||
| D_MSG_NO | = lv_d_msg_no | |
| LAST_ERR_TYP | = lv_last_err_typ | |
| CHANGING | ||
| ERRORS | = lv_errors | |
| WARNINGS | = lv_warnings | |
| TABLES | ||
| ET_VTVFGDI0 | = lt_et_vtvfgdi0 | |
| SAMMEL_ERROR_TAB | = lt_sammel_error_tab | |
| ALL_VTVFGDI0 | = lt_all_vtvfgdi0 | |
| . " JBR_SFGDT_TOOL_VORB | ||
ABAP code using 7.40 inline data declarations to call FM JBR_SFGDT_TOOL_VORB
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.| "SELECT single MSGNO FROM SY INTO @DATA(ld_d_msg_no). | ||||
| DATA(ld_cfartyn) | = 'X'. | |||
| "SELECT single RIDEXT FROM VTVFGDI0 INTO @DATA(ld_ridext). | ||||
Search for further information about these or an SAP related objects