SAP SSFPSE_LOAD Function Module for









SSFPSE_LOAD is a standard ssfpse load 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 ssfpse load FM, simply by entering the name SSFPSE_LOAD into the relevant SAP transaction such as SE37 or SE38.

Function Group: SSFM
Program Name: SAPLSSFM
Main Program: SAPLSSFM
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SSFPSE_LOAD 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 'SSFPSE_LOAD'"
EXPORTING
PSENAME = "
* HOST = "
* INSTANCEID = '00' "

IMPORTING
PSELEN = "
ID = "
FNAME = "PSE file name
B_FALLBACK = "Yes/No
PSEBLOB = "

TABLES
* PSE = "

EXCEPTIONS
AUTHORITY_MISSING = 1 DATABASE_FAILED = 2 FILE_WRITE_FAILED = 3
.



IMPORTING Parameters details for SSFPSE_LOAD

PSENAME -

Data type: SSF_PSE_H-FILENAME
Optional: No
Call by Reference: No ( called with pass by value option)

HOST -

Data type: SSF_PSE_H-HOST
Optional: Yes
Call by Reference: No ( called with pass by value option)

INSTANCEID -

Data type: SSF_PSE_H-INSTANCEID
Default: '00'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for SSFPSE_LOAD

PSELEN -

Data type: I
Optional: No
Call by Reference: No ( called with pass by value option)

ID -

Data type: SSF_PSE_H-ID
Optional: No
Call by Reference: No ( called with pass by value option)

FNAME - PSE file name

Data type: RLGRAP-FILENAME
Optional: No
Call by Reference: No ( called with pass by value option)

B_FALLBACK - Yes/No

Data type: SSFFLAG
Optional: No
Call by Reference: No ( called with pass by value option)

PSEBLOB -

Data type: XSTRING
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for SSFPSE_LOAD

PSE -

Data type: SSFBIN
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

AUTHORITY_MISSING - No authorization for this function

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

DATABASE_FAILED - Database access error

Data type:
Optional: No
Call by Reference: Yes

FILE_WRITE_FAILED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for SSFPSE_LOAD 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:
lt_pse  TYPE STANDARD TABLE OF SSFBIN, "   
lv_pselen  TYPE I, "   
lv_psename  TYPE SSF_PSE_H-FILENAME, "   
lv_authority_missing  TYPE SSF_PSE_H, "   
lv_id  TYPE SSF_PSE_H-ID, "   
lv_host  TYPE SSF_PSE_H-HOST, "   
lv_database_failed  TYPE SSF_PSE_H, "   
lv_fname  TYPE RLGRAP-FILENAME, "   
lv_instanceid  TYPE SSF_PSE_H-INSTANCEID, "   '00'
lv_file_write_failed  TYPE SSF_PSE_H, "   
lv_b_fallback  TYPE SSFFLAG, "   
lv_pseblob  TYPE XSTRING. "   

  CALL FUNCTION 'SSFPSE_LOAD'  "
    EXPORTING
         PSENAME = lv_psename
         HOST = lv_host
         INSTANCEID = lv_instanceid
    IMPORTING
         PSELEN = lv_pselen
         ID = lv_id
         FNAME = lv_fname
         B_FALLBACK = lv_b_fallback
         PSEBLOB = lv_pseblob
    TABLES
         PSE = lt_pse
    EXCEPTIONS
        AUTHORITY_MISSING = 1
        DATABASE_FAILED = 2
        FILE_WRITE_FAILED = 3
. " SSFPSE_LOAD




ABAP code using 7.40 inline data declarations to call FM SSFPSE_LOAD

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 FILENAME FROM SSF_PSE_H INTO @DATA(ld_psename).
 
 
"SELECT single ID FROM SSF_PSE_H INTO @DATA(ld_id).
 
"SELECT single HOST FROM SSF_PSE_H INTO @DATA(ld_host).
 
 
"SELECT single FILENAME FROM RLGRAP INTO @DATA(ld_fname).
 
"SELECT single INSTANCEID FROM SSF_PSE_H INTO @DATA(ld_instanceid).
DATA(ld_instanceid) = '00'.
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!