SAP JBR_SFGDT_TOOL_FOS Function Module for Vorbereitung zur Speicherung aller FOs in einem Knoten
JBR_SFGDT_TOOL_FOS is a standard jbr sfgdt tool fos 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 zur Speicherung aller FOs in einem Knoten 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 fos FM, simply by entering the name JBR_SFGDT_TOOL_FOS 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_FOS 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_FOS'"Vorbereitung zur Speicherung aller FOs in einem Knoten.
EXPORTING
SICHTID = "Portfoliohierarchie
PHID = "Sicht einer Analysestruktur
DATUM = "ALM: Auswertungsdatum
* ANWTYP = '3' "Risk Management Anwendungstyp
FILENAME = "Lokale Datei für Upload bzw. Download
* TESTLAUF = 'X' "
CHANGING
I_KNOTEN = "Knoten der Portfoliohierarchie
EXT = "
TABLES
* SAM_ERR_TAB = "GP: DI Schnittstelle zur Fehlerbehandlung
IMPORTING Parameters details for JBR_SFGDT_TOOL_FOS
SICHTID - Portfoliohierarchie
Data type: JBRZUORDNT-SICHTIDOptional: No
Call by Reference: Yes
PHID - Sicht einer Analysestruktur
Data type: JBRPHDEF-PHIDOptional: No
Call by Reference: Yes
DATUM - ALM: Auswertungsdatum
Data type: JBRGAPPARAMETER-DATUMOptional: No
Call by Reference: Yes
ANWTYP - Risk Management Anwendungstyp
Data type: TV_ANWTYPDefault: '3'
Optional: No
Call by Reference: Yes
FILENAME - Lokale Datei für Upload bzw. Download
Data type: STRINGOptional: No
Call by Reference: Yes
TESTLAUF -
Data type: CDefault: 'X'
Optional: No
Call by Reference: Yes
CHANGING Parameters details for JBR_SFGDT_TOOL_FOS
I_KNOTEN - Knoten der Portfoliohierarchie
Data type: JBRPHBAUM-PKNOTENOptional: No
Call by Reference: Yes
EXT -
Data type: IOptional: No
Call by Reference: Yes
TABLES Parameters details for JBR_SFGDT_TOOL_FOS
SAM_ERR_TAB - GP: DI Schnittstelle zur Fehlerbehandlung
Data type: BUSSPROT_XOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for JBR_SFGDT_TOOL_FOS 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_sichtid | TYPE JBRZUORDNT-SICHTID, " | |||
| lv_i_knoten | TYPE JBRPHBAUM-PKNOTEN, " | |||
| lt_sam_err_tab | TYPE STANDARD TABLE OF BUSSPROT_X, " | |||
| lv_ext | TYPE I, " | |||
| lv_phid | TYPE JBRPHDEF-PHID, " | |||
| lv_datum | TYPE JBRGAPPARAMETER-DATUM, " | |||
| lv_anwtyp | TYPE TV_ANWTYP, " '3' | |||
| lv_filename | TYPE STRING, " | |||
| lv_testlauf | TYPE C. " 'X' |
|   CALL FUNCTION 'JBR_SFGDT_TOOL_FOS' "Vorbereitung zur Speicherung aller FOs in einem Knoten |
| EXPORTING | ||
| SICHTID | = lv_sichtid | |
| PHID | = lv_phid | |
| DATUM | = lv_datum | |
| ANWTYP | = lv_anwtyp | |
| FILENAME | = lv_filename | |
| TESTLAUF | = lv_testlauf | |
| CHANGING | ||
| I_KNOTEN | = lv_i_knoten | |
| EXT | = lv_ext | |
| TABLES | ||
| SAM_ERR_TAB | = lt_sam_err_tab | |
| . " JBR_SFGDT_TOOL_FOS | ||
ABAP code using 7.40 inline data declarations to call FM JBR_SFGDT_TOOL_FOS
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 SICHTID FROM JBRZUORDNT INTO @DATA(ld_sichtid). | ||||
| "SELECT single PKNOTEN FROM JBRPHBAUM INTO @DATA(ld_i_knoten). | ||||
| "SELECT single PHID FROM JBRPHDEF INTO @DATA(ld_phid). | ||||
| "SELECT single DATUM FROM JBRGAPPARAMETER INTO @DATA(ld_datum). | ||||
| DATA(ld_anwtyp) | = '3'. | |||
| DATA(ld_testlauf) | = 'X'. | |||
Search for further information about these or an SAP related objects