SAP SSFPSE_STORE Function Module for









SSFPSE_STORE is a standard ssfpse store 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 store FM, simply by entering the name SSFPSE_STORE 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_STORE 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_STORE'"
EXPORTING
FNAME = "
* B_CLEANUP = 'X' "
* B_DISTRIBUTE = "
* PSEPIN = "
PSENAME = "
* ID = "
* HOST = ' ' "
* INSTANCEID = '00' "
* TYPE = 'PSE' "
* FORMAT = 'RAW' "
* B_NEWDN = "

EXCEPTIONS
FILE_LOAD_FAILED = 1 STORING_FAILED = 2 AUTHORITY_MISSING = 3
.



IMPORTING Parameters details for SSFPSE_STORE

FNAME -

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

B_CLEANUP -

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

B_DISTRIBUTE -

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

PSEPIN -

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

PSENAME -

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

ID -

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

HOST -

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

INSTANCEID -

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

TYPE -

Data type: SSF_PSE_H-TYPE
Default: 'PSE'
Optional: No
Call by Reference: No ( called with pass by value option)

FORMAT -

Data type: SSF_PSE_H-DATAFORMAT
Default: 'RAW'
Optional: No
Call by Reference: No ( called with pass by value option)

B_NEWDN -

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

EXCEPTIONS details

FILE_LOAD_FAILED -

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

STORING_FAILED -

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

AUTHORITY_MISSING - No authorization for this function

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

Copy and paste ABAP code example for SSFPSE_STORE 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_fname  TYPE RLGRAP-FILENAME, "   
lv_file_load_failed  TYPE RLGRAP, "   
lv_b_cleanup  TYPE SSFFLAG, "   'X'
lv_b_distribute  TYPE SSFFLAG, "   
lv_psepin  TYPE SSFPARMS-PABPW, "   
lv_storing_failed  TYPE SSFPARMS, "   
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_instanceid  TYPE SSF_PSE_H-INSTANCEID, "   '00'
lv_type  TYPE SSF_PSE_H-TYPE, "   'PSE'
lv_format  TYPE SSF_PSE_H-DATAFORMAT, "   'RAW'
lv_b_newdn  TYPE SSFFLAG. "   

  CALL FUNCTION 'SSFPSE_STORE'  "
    EXPORTING
         FNAME = lv_fname
         B_CLEANUP = lv_b_cleanup
         B_DISTRIBUTE = lv_b_distribute
         PSEPIN = lv_psepin
         PSENAME = lv_psename
         ID = lv_id
         HOST = lv_host
         INSTANCEID = lv_instanceid
         TYPE = lv_type
         FORMAT = lv_format
         B_NEWDN = lv_b_newdn
    EXCEPTIONS
        FILE_LOAD_FAILED = 1
        STORING_FAILED = 2
        AUTHORITY_MISSING = 3
. " SSFPSE_STORE




ABAP code using 7.40 inline data declarations to call FM SSFPSE_STORE

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 RLGRAP INTO @DATA(ld_fname).
 
 
DATA(ld_b_cleanup) = 'X'.
 
 
"SELECT single PABPW FROM SSFPARMS INTO @DATA(ld_psepin).
 
 
"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).
DATA(ld_host) = ' '.
 
"SELECT single INSTANCEID FROM SSF_PSE_H INTO @DATA(ld_instanceid).
DATA(ld_instanceid) = '00'.
 
"SELECT single TYPE FROM SSF_PSE_H INTO @DATA(ld_type).
DATA(ld_type) = 'PSE'.
 
"SELECT single DATAFORMAT FROM SSF_PSE_H INTO @DATA(ld_format).
DATA(ld_format) = 'RAW'.
 
 


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!