SAP Function Modules

UMM_FRAME_UPDATE SAP Function module







UMM_FRAME_UPDATE 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 UMM_FRAME_UPDATE into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: UMM_CUSTDATA
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM UMM_FRAME_UPDATE - UMM FRAME UPDATE





CALL FUNCTION 'UMM_FRAME_UPDATE' "
* EXPORTING
*   is_framedata =              " umm_ys_cust_framedata  Frame Data for Customizing Transaction
*   it_chatab =                 " umm_yt_cust_framechas  Characteristics of a Frame
*   it_kftab =                  " umm_yt_cust_framekfs  Measures of a Frame
*   it_legend =                 " umm_yt_legend  Table Type: Legend for MC
*   it_description =            " sbdst_content  Business Document Service: File Content
*   it_gra_assign =             " umm_yt_frame_gra_assign  Table Type: Frame Graphics Assignment
*   it_value_ranges =           " umm_yt_gra_value_range  Graphics Value Range (Tachometer,4 Quadrants)
*   it_query_workbook =         " umm_yt_frs_query  Table Type: Frames, Workbooks and Queries
*   it_web_report =             " umc_yt_web_report  BW Web Report
*   it_url =                    " umc_yt_url_assignment  URL
*   it_bicselection =           " umc_yt_bicselection  BIC Selections
*   it_bwvars =                 " umm_yt_cust_framebwvars  Table Type: Frame BW Variables
*   i_cust_xml =                " umc_y_raw_xml  Presentation Graphics: Settings in XML Format
*   i_mapping_xml =             " umc_y_raw_xml  Presentation Graphics:Assignment to Data Series (XML Format)
*   i_update_gra_assign = ' '   " c
*   i_update_header = ' '       " c
*   i_update_texts = ' '        " c
*   i_update_hynode = ' '       " c
*   i_update_kfs = ' '          " c
*   i_update_chas = ' '         " c
*   i_update_blob = ' '         " c
*   i_update_descr = ' '        " c
*   i_update_legend = ' '       " c
*   i_update_cockpit_status = 'X'  " c
*   i_update_value_range = ' '  " c
*   i_update_bwvars = ' '       " c
*   i_texts_xml =               " umc_y_raw_xml  XML in Binary Form
  EXCEPTIONS
    FRAME_NOT_FOUND = 1         "               Frame nicht gefunden
    NO_AUTHORITY = 2            "               No Authorization
    OBJECT_LOCKED = 3           "               Object Locked
    NO_UPDATE_REQUESTED = 4     "
    .  "  UMM_FRAME_UPDATE

ABAP code example for Function Module UMM_FRAME_UPDATE





The ABAP code below is a full code listing to execute function module UMM_FRAME_UPDATE 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_is_framedata) = 'Check type of data required'.
DATA(ld_it_chatab) = 'Check type of data required'.
DATA(ld_it_kftab) = 'Check type of data required'.
DATA(ld_it_legend) = 'Check type of data required'.
DATA(ld_it_description) = 'Check type of data required'.
DATA(ld_it_gra_assign) = 'Check type of data required'.
DATA(ld_it_value_ranges) = 'Check type of data required'.
DATA(ld_it_query_workbook) = 'Check type of data required'.
DATA(ld_it_web_report) = 'Check type of data required'.
DATA(ld_it_url) = 'Check type of data required'.
DATA(ld_it_bicselection) = 'Check type of data required'.
DATA(ld_it_bwvars) = 'Check type of data required'.
DATA(ld_i_cust_xml) = 'Check type of data required'.
DATA(ld_i_mapping_xml) = 'Check type of data required'.
DATA(ld_i_update_gra_assign) = 'Check type of data required'.
DATA(ld_i_update_header) = 'Check type of data required'.
DATA(ld_i_update_texts) = 'Check type of data required'.
DATA(ld_i_update_hynode) = 'Check type of data required'.
DATA(ld_i_update_kfs) = 'Check type of data required'.
DATA(ld_i_update_chas) = 'Check type of data required'.
DATA(ld_i_update_blob) = 'Check type of data required'.
DATA(ld_i_update_descr) = 'Check type of data required'.
DATA(ld_i_update_legend) = 'Check type of data required'.
DATA(ld_i_update_cockpit_status) = 'Check type of data required'.
DATA(ld_i_update_value_range) = 'Check type of data required'.
DATA(ld_i_update_bwvars) = 'Check type of data required'.
DATA(ld_i_texts_xml) = 'Check type of data required'. . CALL FUNCTION 'UMM_FRAME_UPDATE' * EXPORTING * is_framedata = ld_is_framedata * it_chatab = ld_it_chatab * it_kftab = ld_it_kftab * it_legend = ld_it_legend * it_description = ld_it_description * it_gra_assign = ld_it_gra_assign * it_value_ranges = ld_it_value_ranges * it_query_workbook = ld_it_query_workbook * it_web_report = ld_it_web_report * it_url = ld_it_url * it_bicselection = ld_it_bicselection * it_bwvars = ld_it_bwvars * i_cust_xml = ld_i_cust_xml * i_mapping_xml = ld_i_mapping_xml * i_update_gra_assign = ld_i_update_gra_assign * i_update_header = ld_i_update_header * i_update_texts = ld_i_update_texts * i_update_hynode = ld_i_update_hynode * i_update_kfs = ld_i_update_kfs * i_update_chas = ld_i_update_chas * i_update_blob = ld_i_update_blob * i_update_descr = ld_i_update_descr * i_update_legend = ld_i_update_legend * i_update_cockpit_status = ld_i_update_cockpit_status * i_update_value_range = ld_i_update_value_range * i_update_bwvars = ld_i_update_bwvars * i_texts_xml = ld_i_texts_xml EXCEPTIONS FRAME_NOT_FOUND = 1 NO_AUTHORITY = 2 OBJECT_LOCKED = 3 NO_UPDATE_REQUESTED = 4 . " UMM_FRAME_UPDATE
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 ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 4. "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_is_framedata  TYPE UMM_YS_CUST_FRAMEDATA ,
ld_it_chatab  TYPE UMM_YT_CUST_FRAMECHAS ,
ld_it_kftab  TYPE UMM_YT_CUST_FRAMEKFS ,
ld_it_legend  TYPE UMM_YT_LEGEND ,
ld_it_description  TYPE SBDST_CONTENT ,
ld_it_gra_assign  TYPE UMM_YT_FRAME_GRA_ASSIGN ,
ld_it_value_ranges  TYPE UMM_YT_GRA_VALUE_RANGE ,
ld_it_query_workbook  TYPE UMM_YT_FRS_QUERY ,
ld_it_web_report  TYPE UMC_YT_WEB_REPORT ,
ld_it_url  TYPE UMC_YT_URL_ASSIGNMENT ,
ld_it_bicselection  TYPE UMC_YT_BICSELECTION ,
ld_it_bwvars  TYPE UMM_YT_CUST_FRAMEBWVARS ,
ld_i_cust_xml  TYPE UMC_Y_RAW_XML ,
ld_i_mapping_xml  TYPE UMC_Y_RAW_XML ,
ld_i_update_gra_assign  TYPE C ,
ld_i_update_header  TYPE C ,
ld_i_update_texts  TYPE C ,
ld_i_update_hynode  TYPE C ,
ld_i_update_kfs  TYPE C ,
ld_i_update_chas  TYPE C ,
ld_i_update_blob  TYPE C ,
ld_i_update_descr  TYPE C ,
ld_i_update_legend  TYPE C ,
ld_i_update_cockpit_status  TYPE C ,
ld_i_update_value_range  TYPE C ,
ld_i_update_bwvars  TYPE C ,
ld_i_texts_xml  TYPE UMC_Y_RAW_XML .

ld_is_framedata = 'Check type of data required'.
ld_it_chatab = 'Check type of data required'.
ld_it_kftab = 'Check type of data required'.
ld_it_legend = 'Check type of data required'.
ld_it_description = 'Check type of data required'.
ld_it_gra_assign = 'Check type of data required'.
ld_it_value_ranges = 'Check type of data required'.
ld_it_query_workbook = 'Check type of data required'.
ld_it_web_report = 'Check type of data required'.
ld_it_url = 'Check type of data required'.
ld_it_bicselection = 'Check type of data required'.
ld_it_bwvars = 'Check type of data required'.
ld_i_cust_xml = 'Check type of data required'.
ld_i_mapping_xml = 'Check type of data required'.
ld_i_update_gra_assign = 'Check type of data required'.
ld_i_update_header = 'Check type of data required'.
ld_i_update_texts = 'Check type of data required'.
ld_i_update_hynode = 'Check type of data required'.
ld_i_update_kfs = 'Check type of data required'.
ld_i_update_chas = 'Check type of data required'.
ld_i_update_blob = 'Check type of data required'.
ld_i_update_descr = 'Check type of data required'.
ld_i_update_legend = 'Check type of data required'.
ld_i_update_cockpit_status = 'Check type of data required'.
ld_i_update_value_range = 'Check type of data required'.
ld_i_update_bwvars = 'Check type of data required'.
ld_i_texts_xml = 'Check type of data required'.

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 UMM_FRAME_UPDATE or its description.