SAP Reports / Programs | Maintenance Program Definition | Aerospace & Defence Industry Solution | Maintenance Program Definition(IS-AD-MPD) SAP IS

MAPPING_F01 SAP ABAP INCLUDE - Include PD01_MAPPING_V3_2_F01







MAPPING_F01 is a standard ABAP INCLUDE 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 MAPPING_F01 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 MAPPING_F01. "Basic submit
SUBMIT MAPPING_F01 AND RETURN. "Return to original report after report execution complete
SUBMIT MAPPING_F01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include PD01_MAPPING_V3_2_F01


INCLUDES used within this REPORT MAPPING_F01

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:

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING * I_BUFFER_ACTIVE = i_structure_name = 'MPDDM' * I_CLIENT_NEVER_DISPLAY = 'X' * I_BYPASSING_BUFFER = * I_INTERNAL_TABNAME = lt_field_cat CHANGING ct_fieldcat = lt_field_cat * EXCEPTIONS * INCONSISTENT_INTERFACE = 1 * PROGRAM_ERROR = 2 * OTHERS = 3 .

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = 'Map characteristics?'(t01) display_cancel_button = ' ' IMPORTING answer = anw_popup.

POPUP_TO_DISPLAY_TEXT_LO CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO' EXPORTING textline1 = 'Characteristics were mapped successfully'(t02) .

BAPI_DOCUMENT_GETDETAIL2 CALL FUNCTION 'BAPI_DOCUMENT_GETDETAIL2' EXPORTING documenttype = w_draw-dokar documentnumber = w_draw-doknr documentpart = w_draw-doktl documentversion = w_draw-dokvr * GETOBJECTLINKS = ' ' * GETCOMPONENTS = ' ' * GETSTATUSLOG = ' ' * GETLONGTEXTS = ' ' * GETACTIVEFILES = 'X' * GETDOCDESCRIPTIONS = 'X' * GETDOCFILES = 'X' getclassification = 'X' * GETSTRUCTURE = ' ' * GETWHEREUSED = ' ' * HOSTNAME = ' ' * IMPORTING * DOCUMENTDATA = * RETURN = TABLES * OBJECTLINKS = * DOCUMENTDESCRIPTIONS = * LONGTEXTS = * STATUSLOG = * DOCUMENTFILES = * COMPONENTS = characteristicvalues = return_values * CLASSALLOCATIONS = * DOCUMENTSTRUCTURE = * WHEREUSEDLIST = .

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'MPDPSD' * FIELDNAME = ' ' * LANGU = SY-LANGU * LFIELDNAME = ' ' * ALL_TYPES = ' ' * GROUP_NAMES = ' ' * UCLEN = * IMPORTING * X030L_WA = * DDOBJTYPE = * DFIES_WA = wa_dfies * LINES_DESCR = TABLES dfies_tab = fldtxt_table * FIXED_VALUES = * EXCEPTIONS * NOT_FOUND = 1 * INTERNAL_ERROR = 2 * OTHERS = 3 .

POPUP_TO_DISPLAY_TEXT_LO CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO' EXPORTING textline1 = 'Characteristics were saved successfully'(t05).

BAPI_CHARACT_GETDETAIL CALL FUNCTION 'BAPI_CHARACT_GETDETAIL' EXPORTING charactname = tmp_node_text * KEYDATE = SY-DATUM * LANGUAGE = IMPORTING charactdetail = ret_char_detail TABLES * CHARACTDESCR = * CHARACTVALUESNUM = * CHARACTVALUESCHAR = * CHARACTVALUESCURR = * CHARACTVALUESDESCR = * CHARACTREFERENCES = * CHARACTRESTRICTIONS = return = ret_char_error .

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'mpdpsd' * FIELDNAME = ' ' * LANGU = SY-LANGU * LFIELDNAME = ' ' * ALL_TYPES = ' ' * GROUP_NAMES = ' ' * UCLEN = * IMPORTING * X030L_WA = * DDOBJTYPE = * DFIES_WA = * LINES_DESCR = TABLES dfies_tab = dfies_tabl * FIXED_VALUES = * EXCEPTIONS * NOT_FOUND = 1 * INTERNAL_ERROR = 2 * OTHERS = 3 .

POPUP_TO_DISPLAY_TEXT_LO CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO' EXPORTING titel = 'Error'(er1) textline1 = 'The data types are not compatible'(tc1).

POPUP_TO_DISPLAY_TEXT_LO CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO' EXPORTING titel = 'Error'(er1) textline1 = 'The characteristic does not exist in the system'(tc3).

POPUP_TO_DISPLAY_TEXT_LO CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO' EXPORTING titel = 'Error'(er1) textline1 = 'Length of the data fields are not compatible'(tc2).

POPUP_TO_DISPLAY_TEXT_LO CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO' EXPORTING titel = 'Error'(er1) textline1 = 'The characteristic is not in the chosen classes in the tree'(tc4).

BAPI_CLASS_GET_CHARACTERISTICS CALL FUNCTION 'BAPI_CLASS_GET_CHARACTERISTICS' EXPORTING classnum = classnum classtype = classtyp key_date = key_dat with_values = with_val IMPORTING return = bapi_ret TABLES characteristics = char_struc char_values = char_val.

BAPI_CLASS_GET_CHARACTERISTICS CALL FUNCTION 'BAPI_CLASS_GET_CHARACTERISTICS' EXPORTING classnum = wa_class_str-childname classtype = classtyp key_date = key_dat with_values = with_val IMPORTING return = bapi_ret TABLES characteristics = char_struc char_values = char_val.



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