SAP Reports / Programs

SD_MOVE_A004_TO_A304 SAP ABAP Report - Moving condition records from one Axxx table to another







SD_MOVE_A004_TO_A304 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 SD_MOVE_A004_TO_A304 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 SD_MOVE_A004_TO_A304. "Basic submit
SUBMIT SD_MOVE_A004_TO_A304 AND RETURN. "Return to original report after report execution complete
SUBMIT SD_MOVE_A004_TO_A304 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: TEST = Customizing checks only
Selection Text: STRICT = Termination of warnings
Selection Text: KSCHL = D Condition type
Selection Text: KAPPL = D Application
Title: Moving condition records from one Axxx table to another
Text Symbol: 710 = No condition tables have been selected from the source table
Text Symbol: 702 = Transaction terminated, due to errors (ROLLBACK)
Text Symbol: 700 = --> Changes updated in database (COMMIT)
Text Symbol: 600 = does not have any more entries (in none of the clients)
Text Symbol: 510 = Current cond. records:
Text Symbol: 505 = already has entries
Text Symbol: 504 = could not be changed
Text Symbol: 503 = could not be deleted
Text Symbol: 502 = could not be written
Text Symbol: 501 = could not be read
Text Symbol: 500 = Start of condition records move...
Text Symbol: 101 = cannot be blocked
Text Symbol: 100 = Block on both tables...
Text Symbol: 031 = Pricing Report
Text Symbol: 030 = Pricing reports check...
Text Symbol: 022 = does not contain both tables
Text Symbol: 021 = Access seq.
Text Symbol: 020 = Access sequence check...
Text Symbol: 016 = Different number of key fields in both tables
Text Symbol: 015 = contains the field KFRST (release stat)
Text Symbol: 014 = Included
Text Symbol: 013 = the field
Text Symbol: 012 = must be exactly the same as
Text Symbol: 011 = does not contain the field KFRST (release status)
Text Symbol: 010 = Key fields check...
Text Symbol: 009 = Test run
Text Symbol: 008 = Condit. type
Text Symbol: 007 = Application
Text Symbol: 006 = --> Warning:
Text Symbol: 005 = --> Error:
Text Symbol: 004 = Table KONH
Text Symbol: 003 = Target table
Text Symbol: 002 = Source table





Text Symbol: 001 = Start of Customizing checks....


INCLUDES used within this REPORT SD_MOVE_A004_TO_A304

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:

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING MODE_RSTABLE = 'E' TABNAME = SOURCE_TABLE EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING MODE_RSTABLE = 'E' TABNAME = TARGET_TABLE EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

RV_T681_SELECT_AND_GENERATE CALL FUNCTION 'RV_T681_SELECT_AND_GENERATE' EXPORTING CAA_KVEWE = CO_KVEWE CAA_KOTABNR = SOURCE_KOTABNR IMPORTING CAA_ACCESS_PROGRAM = SOURCE_PROGRAM EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

RV_T681_SELECT_AND_GENERATE CALL FUNCTION 'RV_T681_SELECT_AND_GENERATE' EXPORTING CAA_KVEWE = CO_KVEWE CAA_KOTABNR = TARGET_KOTABNR IMPORTING CAA_ACCESS_PROGRAM = TARGET_PROGRAM EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = SOURCE_TABLE TABLES DFIES_TAB = SOURCE_DFIES EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = TARGET_TABLE TABLES DFIES_TAB = TARGET_DFIES EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING I_S_LOG = GS_LOG IMPORTING E_LOG_HANDLE = G_LOG_HANDLE EXCEPTIONS LOG_HEADER_INCONSISTENT = 1 OTHERS = 2.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING I_LOG_HANDLE = G_LOG_HANDLE I_MSGTY = gs_msg-msgty I_TEXT = gs_msg-msgln EXCEPTIONS LOG_NOT_FOUND = 1 MSG_INCONSISTENT = 2 LOG_IS_FULL = 3 OTHERS = 4.

BAL_DSP_PROFILE_SINGLE_LOG_GET * CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' * IMPORTING * e_s_display_profile = xs_display_profile * EXCEPTIONS * OTHERS = 1.

BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING E_S_DISPLAY_PROFILE = xs_display_profile.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING I_S_DISPLAY_PROFILE = is_display_profile I_T_LOG_HANDLE = GT_LOG_HANDLE EXCEPTIONS PROFILE_INCONSISTENT = 1 INTERNAL_ERROR = 2 NO_DATA_AVAILABLE = 0 NO_AUTHORITY = 4 OTHERS = 5.



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