SAP RSFBP_CREATE Function Module for Create new Open ODS View









RSFBP_CREATE is a standard rsfbp create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create new Open ODS View 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 rsfbp create FM, simply by entering the name RSFBP_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function RSFBP_CREATE 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 'RSFBP_CREATE'"Create new Open ODS View
EXPORTING
* I_FBPNAME = "
* I_CALL_EDITOR = RS_C_FALSE "Boolean
* I_INFOAREA = "
* I_TXTLG = "
* I_SEMANTICS = "
* I_HIDE_SEMANTICS = RS_C_FALSE "Boolean
* I_SRCTYPE = "
* I_SRCOBJNM = "Object Name in Object Directory
* I_LOGSYS = "Source system
* I_WITH_PROPOSAL = RS_C_FALSE "Boolean

IMPORTING
E_FBPNAME = "

EXCEPTIONS
CX_RS_FAILED = 1 CX_RS_EXISTING = 2 CX_RS_CANCELLED = 3
.



IMPORTING Parameters details for RSFBP_CREATE

I_FBPNAME -

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

I_CALL_EDITOR - Boolean

Data type: RS_BOOL
Default: RS_C_FALSE
Optional: Yes
Call by Reference: Yes

I_INFOAREA -

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

I_TXTLG -

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

I_SEMANTICS -

Data type: IF_RSFBP_TYPES=>TN_SEMANTICS
Optional: Yes
Call by Reference: Yes

I_HIDE_SEMANTICS - Boolean

Data type: RS_BOOL
Default: RS_C_FALSE
Optional: Yes
Call by Reference: Yes

I_SRCTYPE -

Data type: IF_RSFBP_TYPES=>TN_SRCTYPE
Optional: Yes
Call by Reference: Yes

I_SRCOBJNM - Object Name in Object Directory

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

I_LOGSYS - Source system

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

I_WITH_PROPOSAL - Boolean

Data type: RS_BOOL
Default: RS_C_FALSE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RSFBP_CREATE

E_FBPNAME -

Data type: IF_RSFBP_TYPES=>TN_FBPNAME
Optional: No
Call by Reference: Yes

EXCEPTIONS details

CX_RS_FAILED - Operation Failed

Data type:
Optional: No
Call by Reference: Yes

CX_RS_EXISTING - Object Already Exists (Do Not Use as Higher Class !!)

Data type:
Optional: No
Call by Reference: Yes

CX_RS_CANCELLED - Terminated by User (Dialog)

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSFBP_CREATE 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_e_fbpname  TYPE IF_RSFBP_TYPES=>TN_FBPNAME, "   
lv_i_fbpname  TYPE CSEQUENCE, "   
lv_cx_rs_failed  TYPE CSEQUENCE, "   
lv_i_call_editor  TYPE RS_BOOL, "   RS_C_FALSE
lv_i_infoarea  TYPE CSEQUENCE, "   
lv_cx_rs_existing  TYPE CSEQUENCE, "   
lv_i_txtlg  TYPE CSEQUENCE, "   
lv_cx_rs_cancelled  TYPE CSEQUENCE, "   
lv_i_semantics  TYPE IF_RSFBP_TYPES=>TN_SEMANTICS, "   
lv_i_hide_semantics  TYPE RS_BOOL, "   RS_C_FALSE
lv_i_srctype  TYPE IF_RSFBP_TYPES=>TN_SRCTYPE, "   
lv_i_srcobjnm  TYPE SOBJ_NAME, "   
lv_i_logsys  TYPE RSSLOGSYS, "   
lv_i_with_proposal  TYPE RS_BOOL. "   RS_C_FALSE

  CALL FUNCTION 'RSFBP_CREATE'  "Create new Open ODS View
    EXPORTING
         I_FBPNAME = lv_i_fbpname
         I_CALL_EDITOR = lv_i_call_editor
         I_INFOAREA = lv_i_infoarea
         I_TXTLG = lv_i_txtlg
         I_SEMANTICS = lv_i_semantics
         I_HIDE_SEMANTICS = lv_i_hide_semantics
         I_SRCTYPE = lv_i_srctype
         I_SRCOBJNM = lv_i_srcobjnm
         I_LOGSYS = lv_i_logsys
         I_WITH_PROPOSAL = lv_i_with_proposal
    IMPORTING
         E_FBPNAME = lv_e_fbpname
    EXCEPTIONS
        CX_RS_FAILED = 1
        CX_RS_EXISTING = 2
        CX_RS_CANCELLED = 3
. " RSFBP_CREATE




ABAP code using 7.40 inline data declarations to call FM RSFBP_CREATE

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_i_call_editor) = RS_C_FALSE.
 
 
 
 
 
 
DATA(ld_i_hide_semantics) = RS_C_FALSE.
 
 
 
 
DATA(ld_i_with_proposal) = RS_C_FALSE.
 


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!