SAP Reports / Programs

MDG_LG_ACTIVATION SAP ABAP Report - Activation of Languages







MDG_LG_ACTIVATION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MDG_LG_ACTIVATION into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT MDG_LG_ACTIVATION. "Basic submit
SUBMIT MDG_LG_ACTIVATION AND RETURN. "Return to original report after report execution complete
SUBMIT MDG_LG_ACTIVATION VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: PO_APPL = D Application
Selection Text: PO_CLI = D Client
Selection Text: PO_LANGU = D Language Key
Selection Text: PO_OBJ = D Object for Language Activation
Selection Text: P_MSG = Issue Messages
Selection Text: P_TEST = Test Run
Title: Activation of Languages
Text Symbol: 001 = Restriction of Objects
Text Symbol: 002 = Client selection
Text Symbol: 003 = Options


INCLUDES used within this REPORT MDG_LG_ACTIVATION

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

MDG_LG_AUTHORITY_CHECK CALL FUNCTION 'MDG_LG_AUTHORITY_CHECK' EXPORTING i_actvt = '02' EXCEPTIONS no_authority = 1 OTHERS = 2.

MDG_LG_GET_OBJECTS CALL FUNCTION 'MDG_LG_GET_OBJECTS' EXPORTING it_object = lt_object IMPORTING et_object = lt_object.

MDG_LG_PROCESS_OBJECTS CALL FUNCTION 'MDG_LG_PROCESS_OBJECTS' EXPORTING it_object = lt_object it_langu = lt_langu io_msg = lo_msg_tmp i_test = p_test i_no_rfc = space.

MDG_TR_GET_RFC_DEST CALL FUNCTION 'MDG_TR_GET_RFC_DEST' EXPORTING * I_SYSID = SY-SYSID i_mandt = l_client IMPORTING e_rfcdest = l_rfcdest EXCEPTIONS not_found = 1 OTHERS = 2.

MDG_LG_PROCESS_OBJECTS_RFC CALL FUNCTION 'MDG_LG_PROCESS_OBJECTS_RFC' DESTINATION l_rfcdest EXPORTING it_object = lt_object it_langu = lt_langu i_test = p_test IMPORTING et_message = lt_msg EXCEPTIONS communication_failure = 1 MESSAGE msg_text system_failure = 2 MESSAGE msg_text.

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = 'MDG_LG_T002C' * SHLPTYPE = 'SH' IMPORTING shlp = shlp.

F4IF_START_VALUE_REQUEST CALL FUNCTION 'F4IF_START_VALUE_REQUEST' EXPORTING shlp = shlp IMPORTING rc = l_subrc TABLES return_values = t_return.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MDG_LG_ACTIVATION or its description.