SAP Reports / Programs | Materials Management | Defense Forces and Public Security | Materials Management(IS-DFS-MM) SAP IS

/ISDFPS/EQUITRPF02 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT /ISDFPS/EQUITRPF02

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:

DOMAIN_VALUE_GET CALL FUNCTION 'DOMAIN_VALUE_GET' EXPORTING i_domname = gv_domname i_domvalue = gv_domvalue IMPORTING e_ddtext = gv_ddtext EXCEPTIONS not_exist = 1 OTHERS = 2.

CONVERSION_EXIT_ISOLA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ISOLA_OUTPUT' EXPORTING input = sy-langu IMPORTING output = lv_spras.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = 'Info'(003) TEXT_QUESTION = text-f01 DEFAULT_BUTTON = '1' IMPORTING ANSWER = l_answer EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2.

POPUP_GET_VALUES_DB_CHECKED CALL FUNCTION 'POPUP_GET_VALUES_DB_CHECKED' EXPORTING check_existence = 'X' popup_title = text-100 start_column = '5' start_row = '5' IMPORTING returncode = lv_return TABLES fields = gt_sval EXCEPTIONS error_in_fields = 1 OTHERS = 2.

/ISDFPS/ME_CA_CP_CHECK CALL FUNCTION '/ISDFPS/ME_CA_CP_CHECK' EXCEPTIONS ale_not_active = 1.

/ISDFPS/MODIFY_EQUIAZA CALL FUNCTION '/ISDFPS/MODIFY_EQUIAZA' EXPORTING IT_AZA = lt_aza EXCEPTIONS NO_DATA_IMPORTED = 1 SAVING_FAILED = 2 OTHERS = 3.

/ISDFPS/MODIFY_EQUITRP CALL FUNCTION '/ISDFPS/MODIFY_EQUITRP' EXPORTING it_equitrp = lt_equidb EXCEPTIONS no_data_imported = 1 saving_failed = 2 OTHERS = 3.

/ISDFPS/MODIFY_EQUITRP CALL FUNCTION '/ISDFPS/MODIFY_EQUITRP' EXPORTING it_equitrp = lt_equidb EXCEPTIONS no_data_imported = 1 saving_failed = 2 OTHERS = 3.

/ISDFPS/ME_CA_CP_CREATE CALL FUNCTION '/ISDFPS/ME_CA_CP_CREATE' EXPORTING message_type = 'MEREP_DELTABO' cobj_in = lt_cobj_in.

/ISDFPS/GET_LAGP_LQUA CALL FUNCTION '/ISDFPS/GET_LAGP_LQUA' DESTINATION lv_recvsystem EXPORTING i_lgnum = gv_lgnum TABLES i_lagp = ll_lagp "#EC ENHOK i_lqua = ll_lqua EXCEPTIONS wrong_import_parameters = 1 no_data_found = 2 OTHERS = 3.

L_SAPLL03A_INIT_INT CALL FUNCTION 'L_SAPLL03A_INIT_INT'.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING wait = 'X'.

/ISDFPS/ALE_CO_OPERATION CALL FUNCTION '/ISDFPS/ALE_CO_OPERATION' EXPORTING obj_type = '/ISDFPS/E1' serial_id = '0' TABLES aza = lt_aza belo = lt_belo receivers = lt_receivers EXCEPTIONS error_creating_idocs = 1 OTHERS = 2.

/ISDFPS/GET_LAGP_LQUA CALL FUNCTION '/ISDFPS/GET_LAGP_LQUA' EXPORTING i_lgnum = gv_lgnum TABLES i_lagp = ll_lagp i_lqua = ll_lqua EXCEPTIONS wrong_import_parameters = 1 no_data_found = 2 OTHERS = 3.

ALE_GOODSMVT_CREATE CALL FUNCTION 'ALE_GOODSMVT_CREATE' EXPORTING goodsmvtheader = bapigm_head goodsmvtcode = bapigm_code obj_type = 'BUS2017' serial_id = '0' TABLES goodsmvtitem = ibapigm_item goodsmvtserialnumber = ibapigm_serialnumber receivers = ireceivers communication_documents = ibapigm_idoc EXCEPTIONS error_creating_idocs = 1 OTHERS = 2.

/ISDFPS/ALE_CO_OPERATION CALL FUNCTION '/ISDFPS/ALE_CO_OPERATION' EXPORTING obj_type = '/ISDFPS/E1' serial_id = '0' TABLES aza = lt_aza belo = lt_belo receivers = ireceivers EXCEPTIONS error_creating_idocs = 1 OTHERS = 2.

ENQUEUE_ELLAGPE CALL FUNCTION 'ENQUEUE_ELLAGPE' EXPORTING MODE_LAGP = 'E' MANDT = SY-MANDT LGNUM = lls_lagp-lgnum LGTYP = lls_lagp-lgtyp LGPLA = lls_lagp-lgpla _SCOPE = '2' EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

DEQUEUE_ELLAGPE CALL FUNCTION 'DEQUEUE_ELLAGPE' EXPORTING MODE_LAGP = 'E' MANDT = SY-MANDT LGNUM = lls_lagp-lgnum LGTYP = lls_lagp-lgtyp LGPLA = lls_lagp-lgpla _SCOPE = '3'.

/SPE/TIMESTAMP_DATA_SET





CALL FUNCTION '/SPE/TIMESTAMP_DATA_SET' EXPORTING it_timestamp = lt_goodsmvt_timestamp[].

MAP2I_B2017_GM_HEAD_01_TO_IMKP CALL FUNCTION 'MAP2I_B2017_GM_HEAD_01_TO_IMKP' EXPORTING bapi2017_gm_head_01 = goodsmvt_header CHANGING imkpf = s_imkpf.

/SPE/MAP_GOODSMVT_REF_EWM CALL FUNCTION '/SPE/MAP_GOODSMVT_REF_EWM' EXPORTING goodsmvt_ref_ewm = goodsmvt_ref_ewm CHANGING imkpf = s_imkpf.

MAP2I_B2017_GM_ITEM_TO_IMSEG CALL FUNCTION 'MAP2I_B2017_GM_ITEM_TO_IMSEG' EXPORTING bapi2017_gm_item_create = goodsmvt_item CHANGING imseg = t_imseg EXCEPTIONS error_converting_iso_code = 1 error_converting_curr_amount = 2 OTHERS = 3.

/SPE/MAP_GOODSMVT_SERVPARTDATA * CALL FUNCTION '/SPE/MAP_GOODSMVT_SERVPARTDATA' * EXPORTING * it_goodsmvt_serv_part_data = goodsmvt_serv_part_data[] * CHANGING * cs_imseg = t_imseg.

MAP2I_B2017_GM_SERIALNUMBER CALL FUNCTION 'MAP2I_B2017_GM_SERIALNUMBER' EXPORTING bapi2017_gm_serialnumber = goodsmvt_serialnumber CHANGING iseri = t_iseri.

DOCUMENT_SERIALNOS_IMPORT CALL FUNCTION 'DOCUMENT_SERIALNOS_IMPORT' TABLES ser_tab = t_iseri.

SERIALPROFILE_CHECK CALL FUNCTION 'SERIALPROFILE_CHECK' EXPORTING operation = 'SNCL' EXCEPTIONS error_message.

MB_SET_BAPI_FLAG CALL FUNCTION 'MB_SET_BAPI_FLAG' EXPORTING action = '1'.

STATUS_BUFFER_EXPORT_TO_MEMORY CALL FUNCTION 'STATUS_BUFFER_EXPORT_TO_MEMORY' EXPORTING i_memory_id = 'BAPI_GOODSMVT_CREATE'.

STATUS_BUFFER_REFRESH CALL FUNCTION 'STATUS_BUFFER_REFRESH'.

STATUS_BUFFER_IMPORT_FROM_MEMO CALL FUNCTION 'STATUS_BUFFER_IMPORT_FROM_MEMO' EXPORTING i_memory_id = 'BAPI_GOODSMVT_CREATE' i_client = sy-mandt.

CLAP_DDB_INIT_CLASSIFICATION CALL FUNCTION 'CLAP_DDB_INIT_CLASSIFICATION' EXPORTING init_all = 'X'.

MB_SET_BAPI_FLAG CALL FUNCTION 'MB_SET_BAPI_FLAG' EXPORTING action = '4'.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = l_return-type cl = l_return-id number = l_return-number par1 = l_return-message_v1 par2 = l_return-message_v2 par3 = l_return-message_v3 par4 = l_return-message_v4 parameter = loc_parameter row = loc_row field = loc_field IMPORTING return = loc_return.

READ_CURRENCY_OF_COMPANY CALL FUNCTION 'READ_CURRENCY_OF_COMPANY' EXPORTING werks = loc_bapigmitem-plant IMPORTING waers = loc_currency EXCEPTIONS no_valid_plant = 1 plant_not_found = 2 bwkey_not_found = 3 bwkey_wrong_call = 4 bukrs_not_found = 5 bukrs_wrong_call = 6 error_message = 100 OTHERS = 7.

MB_CREATE_GOODS_MOVEMENT CALL FUNCTION 'MB_CREATE_GOODS_MOVEMENT' EXPORTING imkpf = s_imkpf xallp = x xallb = x xallr = x ctcod = t158g-tcode xqmcl = blank old_subrc = old_subrc ipkcom = s_ipkcom xlisu = x IMPORTING emkpf = s_emkpf TABLES emseg = t_emseg imseg = t_imseg.

MB_POST_GOODS_MOVEMENT CALL FUNCTION 'MB_POST_GOODS_MOVEMENT' IMPORTING emkpf = s_emkpf.

MAP2E_EMKPF_TO_BAPI2017_GM_HD CALL FUNCTION 'MAP2E_EMKPF_TO_BAPI2017_GM_HD' EXPORTING emkpf = s_emkpf CHANGING bapi2017_gm_head_ret = loc_goodsmvt_headret.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = sy-msgty cl = sy-msgid number = sy-msgno par1 = sy-msgv1 par2 = sy-msgv2 par3 = sy-msgv3 par4 = sy-msgv4 parameter = loc_parameter row = loc_row IMPORTING return = loc_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 /ISDFPS/EQUITRPF02 or its description.