SAP SSFPSE_STORE_BLOB Function Module for









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

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



Function SSFPSE_STORE_BLOB 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_BLOB'"
EXPORTING
PSEBLOB = "
* B_CLEANUP = 'X' "
* B_DISTRIBUTE = "
* B_DISTRIBUTE_SYNC = "
* B_WRITEHIST = ABAP_TRUE "
* B_PINCHG = "
* IO_CLIDEP_PSE = "
* 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_BLOB

PSEBLOB -

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

B_CLEANUP -

Data type: SSFFLAG
Default: 'X'
Optional: Yes
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)

B_DISTRIBUTE_SYNC -

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

B_WRITEHIST -

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

B_PINCHG -

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

IO_CLIDEP_PSE -

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

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: 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)

TYPE -

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

FORMAT -

Data type: SSF_PSE_H-DATAFORMAT
Default: 'RAW'
Optional: Yes
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 -

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

Copy and paste ABAP code example for SSFPSE_STORE_BLOB 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_pseblob  TYPE XSTRING, "   
lv_file_load_failed  TYPE XSTRING, "   
lv_b_cleanup  TYPE SSFFLAG, "   'X'
lv_b_distribute  TYPE SSFFLAG, "   
lv_b_distribute_sync  TYPE ABAP_BOOL, "   
lv_b_writehist  TYPE ABAP_BOOL, "   ABAP_TRUE
lv_b_pinchg  TYPE SSFFLAG, "   
lv_io_clidep_pse  TYPE IF_SSF_PSE_CLIDEP_PERSISTENCE, "   
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_BLOB'  "
    EXPORTING
         PSEBLOB = lv_pseblob
         B_CLEANUP = lv_b_cleanup
         B_DISTRIBUTE = lv_b_distribute
         B_DISTRIBUTE_SYNC = lv_b_distribute_sync
         B_WRITEHIST = lv_b_writehist
         B_PINCHG = lv_b_pinchg
         IO_CLIDEP_PSE = lv_io_clidep_pse
         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_BLOB




ABAP code using 7.40 inline data declarations to call FM SSFPSE_STORE_BLOB

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_b_cleanup) = 'X'.
 
 
 
DATA(ld_b_writehist) = ABAP_TRUE.
 
 
 
"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!