SAP Reports / Programs | Financials | Financial Supply Chain Management | Accounts Receivable Accounting Process Integration(FIN-FSCM-DM-AR) SAP FIN

RFDM_EXECUTE_LDDB SAP ABAP Report - Execute Changes to Documents







RFDM_EXECUTE_LDDB 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 RFDM_EXECUTE_LDDB into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FDM_LDDB_EXEC - Execute Changes to Documents


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 RFDM_EXECUTE_LDDB. "Basic submit
SUBMIT RFDM_EXECUTE_LDDB AND RETURN. "Return to original report after report execution complete
SUBMIT RFDM_EXECUTE_LDDB 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: P_CT = Case Type
Selection Text: P_TEST = Test Run
Selection Text: S_DATE = Run Date
Selection Text: P_BUKRS = D .
Selection Text: P_GJAHR = D .
Selection Text: P_VARI = D .
Selection Text: S_BELNR = D .
Selection Text: S_USER = D .
Title: Execute Changes to Documents
Text Symbol: DAT = Execution Parameters
Text Symbol: H01 = Synchronization: Display Document Changes Executed
Text Symbol: TES = Test Run
Text Symbol: VAR = Output Control


INCLUDES used within this REPORT RFDM_EXECUTE_LDDB

INCLUDE RFDM_LDDB_TOP.


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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant EXCEPTIONS not_found = 2.

FDM_CASE_GET CALL FUNCTION 'FDM_CASE_GET' EXPORTING i_relation = fdmco_is_disputed i_case_guid_loc = gs_lddb-case_guid * IMPORTING * ES_RETURN = CHANGING ct_attributes = gt_attribute .

FDM_AR_SYNC_EXECUTE_LDDB CALL FUNCTION 'FDM_AR_SYNC_EXECUTE_LDDB' EXPORTING ir_date = gr_dats it_lddb_entries = gt_lddb_exec IMPORTING et_lddb_exec = gt_lddb_exec.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = gs_lddb_disp-msgid msgnr = gs_lddb_disp-msgno msgv1 = gs_lddb_disp-msgvar1 msgv2 = gs_lddb_disp-msgvar2 msgv3 = gs_lddb_disp-msgvar3 msgv4 = gs_lddb_disp-msgvar4 IMPORTING message_text_output = gs_lddb_disp-msgtxt.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_variant-report * I_CALLBACK_PF_STATUS_SET = GC_PF_STATUS * I_CALLBACK_USER_COMMAND = GC_USER_COMMAND i_structure_name = gc_sname is_layout = gs_layout it_fieldcat = gt_fieldcat it_events = gt_events i_save = 'X' is_variant = gx_variant TABLES t_outtab = gt_lddb_disp EXCEPTIONS program_error = 1 OTHERS = 2.

FDM_CUST_CASE_TYPE_LIST_GET CALL FUNCTION 'FDM_CUST_CASE_TYPE_LIST_GET' TABLES t_case_types = gt_casetype.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING tabname = 'BDM_S_CASE_TYPE' fieldname = 'CASE_TYPE' IMPORTING select_value = p_ct TABLES fields = gt_fields valuetab = gt_values EXCEPTIONS OTHERS = 1.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save * it_default_fieldcat = IMPORTING e_exit = g_exit es_variant = gx_variant EXCEPTIONS not_found = 2.



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