SAP Function Modules

FOBU_DIALOG_START SAP Function module - Call Formula Builder for CL_FOBU_FORMULA







FOBU_DIALOG_START is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name FOBU_DIALOG_START into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: FOBU_DIALOG
Released Date: 20.08.2002
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM FOBU_DIALOG_START - FOBU DIALOG START





CALL FUNCTION 'FOBU_DIALOG_START' "Call Formula Builder for CL_FOBU_FORMULA
* EXPORTING
*   i_formula =                 " cl_fobu_formula  Formula Builder
*   i_appl_callback =           " if_fobu_appl_callback  Formula Builder: Application Callback
*   i_gui_title =               " c             Screens, Title Text
*   i_gui_status =              " sypfkey       Screens, Current GUI Status
*   i_gui_program = 'SAPLFOBU_DIALOG'  " syrepid  ABAP Program: Current Main Program
*   i_as_popup =                " c             Display as Popup
*   i_display_only = ' '        " c             Display Formula Only
*   i_fieldname =               " string        Heading Text Field / Info Object
*   i_t_hidden_columns =        " lvc_t_fnam    Suppressed Columns in Field List
*   i_screen_size = 'L'         " c             'L': Large Screen, 'S': Small Screen
*   i_field_categ =             " sfbe_categ    Selected Field Category
*   i_function_categ =          " sfbe_categ    Selected Function Category
*   i_no_search =               " seu_bool      'X': No Search Function Through Field and Function List
  IMPORTING
    e_exitcode =                " syucomm       Screens, Function Code Triggered by PAI
  EXCEPTIONS
    INVALID_PARAMETER = 1       "               Invalid Parameter
    INTERNAL_ERROR = 2          "               Internal Error
    .  "  FOBU_DIALOG_START

ABAP code example for Function Module FOBU_DIALOG_START





The ABAP code below is a full code listing to execute function module FOBU_DIALOG_START including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_e_exitcode  TYPE SYUCOMM .

DATA(ld_i_formula) = 'Check type of data required'.
DATA(ld_i_appl_callback) = 'Check type of data required'.
DATA(ld_i_gui_title) = 'Check type of data required'.
DATA(ld_i_gui_status) = 'some text here'.
DATA(ld_i_gui_program) = 'some text here'.
DATA(ld_i_as_popup) = 'some text here'.
DATA(ld_i_display_only) = 'some text here'.
DATA(ld_i_fieldname) = 'some text here'.
DATA(ld_i_t_hidden_columns) = 'some text here'.
DATA(ld_i_screen_size) = 'some text here'.
DATA(ld_i_field_categ) = 'some text here'.
DATA(ld_i_function_categ) = 'some text here'.
DATA(ld_i_no_search) = 'some text here'. . CALL FUNCTION 'FOBU_DIALOG_START' * EXPORTING * i_formula = ld_i_formula * i_appl_callback = ld_i_appl_callback * i_gui_title = ld_i_gui_title * i_gui_status = ld_i_gui_status * i_gui_program = ld_i_gui_program * i_as_popup = ld_i_as_popup * i_display_only = ld_i_display_only * i_fieldname = ld_i_fieldname * i_t_hidden_columns = ld_i_t_hidden_columns * i_screen_size = ld_i_screen_size * i_field_categ = ld_i_field_categ * i_function_categ = ld_i_function_categ * i_no_search = ld_i_no_search IMPORTING e_exitcode = ld_e_exitcode EXCEPTIONS INVALID_PARAMETER = 1 INTERNAL_ERROR = 2 . " FOBU_DIALOG_START
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_e_exitcode  TYPE SYUCOMM ,
ld_i_formula  TYPE CL_FOBU_FORMULA ,
ld_i_appl_callback  TYPE IF_FOBU_APPL_CALLBACK ,
ld_i_gui_title  TYPE C ,
ld_i_gui_status  TYPE SYPFKEY ,
ld_i_gui_program  TYPE SYREPID ,
ld_i_as_popup  TYPE C ,
ld_i_display_only  TYPE C ,
ld_i_fieldname  TYPE STRING ,
ld_i_t_hidden_columns  TYPE LVC_T_FNAM ,
ld_i_screen_size  TYPE C ,
ld_i_field_categ  TYPE SFBE_CATEG ,
ld_i_function_categ  TYPE SFBE_CATEG ,
ld_i_no_search  TYPE SEU_BOOL .

ld_i_formula = 'some text here'.
ld_i_appl_callback = 'some text here'.
ld_i_gui_title = 'some text here'.
ld_i_gui_status = 'some text here'.
ld_i_gui_program = 'some text here'.
ld_i_as_popup = 'some text here'.
ld_i_display_only = 'some text here'.
ld_i_fieldname = 'some text here'.
ld_i_t_hidden_columns = 'some text here'.
ld_i_screen_size = 'some text here'.
ld_i_field_categ = 'some text here'.
ld_i_function_categ = 'some text here'.
ld_i_no_search = 'some text here'.

SAP Documentation for FM FOBU_DIALOG_START


Calling the formula builder for formulas from CL_FOBU_FORMULA. ...See here for full SAP fm documentation

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FOBU_DIALOG_START or its description.