SAP UMB_ALL_SMART Function Module for









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

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



Function UMB_ALL_SMART 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 'UMB_ALL_SMART'"
EXPORTING
IT_SCORECARD = "Table of BSC Objects
* I_ASS = "
* I_COMM = "
* IT_OWNER = "BSC Owner List Selection
* IS_OWNER = "Owner List for Selection
* IT_SCORE = "Table: Score Selection
* IS_SCORE_FILTER = "
* I_REP_TYPE = '01' "Four-digit number
* I_NO_PRINT_DIALOG = 'X' "Flag (X or Blank)
* IS_OUTPUT_OPTIONS = "SAP Smart Forms: Smart Composer (transfer) options
* IS_CONTROL_PARAMETERS = "Smart Forms: Control structure

IMPORTING
ES_OUTPUT_DATA = "Smart Forms: Return value at end of form printing

EXCEPTIONS
NO_REPORT = 1 PRINT_ERROR = 2
.



IMPORTING Parameters details for UMB_ALL_SMART

IT_SCORECARD - Table of BSC Objects

Data type: UMB_YT_BSC_OBJECT
Optional: No
Call by Reference: Yes

I_ASS -

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

I_COMM -

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

IT_OWNER - BSC Owner List Selection

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

IS_OWNER - Owner List for Selection

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

IT_SCORE - Table: Score Selection

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

IS_SCORE_FILTER -

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

I_REP_TYPE - Four-digit number

Data type: NUM4
Default: '01'
Optional: Yes
Call by Reference: Yes

I_NO_PRINT_DIALOG - Flag (X or Blank)

Data type: AS4FLAG
Default: 'X'
Optional: Yes
Call by Reference: Yes

IS_OUTPUT_OPTIONS - SAP Smart Forms: Smart Composer (transfer) options

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

IS_CONTROL_PARAMETERS - Smart Forms: Control structure

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

EXPORTING Parameters details for UMB_ALL_SMART

ES_OUTPUT_DATA - Smart Forms: Return value at end of form printing

Data type: SSFCRESCL
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NO_REPORT -

Data type:
Optional: No
Call by Reference: Yes

PRINT_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for UMB_ALL_SMART 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_no_report  TYPE STRING, "   
lv_it_scorecard  TYPE UMB_YT_BSC_OBJECT, "   
lv_es_output_data  TYPE SSFCRESCL, "   
lv_i_ass  TYPE AS4FLAG, "   
lv_i_comm  TYPE AS4FLAG, "   
lv_it_owner  TYPE UMB_YT_OWNER_SELECT, "   
lv_print_error  TYPE UMB_YT_OWNER_SELECT, "   
lv_is_owner  TYPE UMB_YS_OWNER_SELECT, "   
lv_it_score  TYPE UMB_YT_SCORE_SELECT, "   
lv_is_score_filter  TYPE UMB_YS_SCORE_TABLE, "   
lv_i_rep_type  TYPE NUM4, "   '01'
lv_i_no_print_dialog  TYPE AS4FLAG, "   'X'
lv_is_output_options  TYPE SSFCOMPOP, "   
lv_is_control_parameters  TYPE SSFCTRLOP. "   

  CALL FUNCTION 'UMB_ALL_SMART'  "
    EXPORTING
         IT_SCORECARD = lv_it_scorecard
         I_ASS = lv_i_ass
         I_COMM = lv_i_comm
         IT_OWNER = lv_it_owner
         IS_OWNER = lv_is_owner
         IT_SCORE = lv_it_score
         IS_SCORE_FILTER = lv_is_score_filter
         I_REP_TYPE = lv_i_rep_type
         I_NO_PRINT_DIALOG = lv_i_no_print_dialog
         IS_OUTPUT_OPTIONS = lv_is_output_options
         IS_CONTROL_PARAMETERS = lv_is_control_parameters
    IMPORTING
         ES_OUTPUT_DATA = lv_es_output_data
    EXCEPTIONS
        NO_REPORT = 1
        PRINT_ERROR = 2
. " UMB_ALL_SMART




ABAP code using 7.40 inline data declarations to call FM UMB_ALL_SMART

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_rep_type) = '01'.
 
DATA(ld_i_no_print_dialog) = 'X'.
 
 
 


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!