SAP Reports / Programs | Personnel Management | Organizational Structure | Staffing(PA-OS-ST) SAP PA

RHMOVE40 SAP ABAP Report - Display and Edit Sequential PD Dataset







RHMOVE40 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for With this report, you can display and change sequential datasets of PD data that were created using report RHMOVE00...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RHMOVE40 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

OOMW - Display Sequential File for PD


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 RHMOVE40. "Basic submit
SUBMIT RHMOVE40 AND RETURN. "Return to original report after report execution complete
SUBMIT RHMOVE40 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: LOG_NAM = Logical file name
Title: Display and Edit Sequential PD Dataset
Text Symbol: 024 = Save?
Text Symbol: 023 = No
Text Symbol: 022 = Yes
Text Symbol: 021 = The data has been changed
Text Symbol: 020 = Save data file?
Text Symbol: 014 = Unknown
Text Symbol: 013 = & data records in file &
Text Symbol: 012 = Valuation
Text Symbol: 011 = Assignment
Text Symbol: 010 = New session
Text Symbol: 005 = Location of File to be Imported
Text Symbol: 004 = Read file from presentation server
Text Symbol: 003 = Server name
Text Symbol: 002 = Read file from external application server
Text Symbol: 001 = Read file from application server


INCLUDES used within this REPORT RHMOVE40

INCLUDE RHMOVTAB. "VWMD057901


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:

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING LOGICAL_FILENAME = LOG_NAM IMPORTING FILE_NAME = DS_NAME EXCEPTIONS FILE_NOT_FOUND = 1 OTHERS = 2.

TH_SELECT_SERVER CALL FUNCTION 'TH_SELECT_SERVER' EXPORTING SERVICES = MSXXLIST-MSGTYPES IMPORTING SERVER = SERVER EXCEPTIONS NO_SERVER_LIST_RECEIVED = 04 NO_SERVER_SELECTED = 08.

TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' EXPORTING SERVICES = MSXXLIST-MSGTYPES TABLES LIST = SERVER_TAB.

CLBA_CLASSIF_FILE_REMOTE_HOST CALL FUNCTION 'CLBA_CLASSIF_FILE_REMOTE_HOST' DESTINATION SERVER EXPORTING FILE_NAME = DS_NAME LOGICAL_FILENAME = LC_LOGICAL_FILENAME TABLES CLASSIF_FILE = PC_DATA_TAB EXCEPTIONS OPEN_FAILURE = 04 FILE_CONTAINS_NO_DATA = 08.

WS_UPLOAD * CALL FUNCTION 'WS_UPLOAD' * EXPORTING * FILENAME = RLGRAP-FILENAME * FILETYPE = RLGRAP-FILETYPE * TABLES * DATA_TAB = PC_DATA_TAB * EXCEPTIONS * FILE_OPEN_ERROR = 04 * FILE_READ_ERROR = 08 * INVALID_TYPE = 12 * UNKNOWN_ERROR = 16.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = FILE_NAME FILETYPE = FILE_TYPE TABLES DATA_TAB = PC_DATA_TAB EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 INVALID_TYPE = 5 UNKNOWN_ERROR = 7 .

BI_EDIT_DATA CALL FUNCTION 'BI_EDIT_DATA' EXPORTING LIST_TITLE = TITLE ALTER_ALLOWED = KONST_X CREATE_TABLES_STATEMENT = KONST_X IMPORTING "ALRK018680 SAVE_PRESSED = SAVE_P "ALRK018680 TABLES DISP_DATA = DATEDIT CHANGING DATA_ALTERED = ALTERED EXCEPTIONS NO_TABLES_STATEMENT = 1 OTHERS = 2.

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' "JA Sicherungspopup EXPORTING DEFAULTOPTION = '1' TEXTLINE2 = 'Datenfile zurückschreiben?'(020) TEXTLINE1 = 'Die Daten wurden geändert'(021) TEXT_OPTION1 = 'Ja'(022) TEXT_OPTION2 = 'Nein'(023) TITEL = 'Sichern ?'(024) IMPORTING ANSWER = ANTWORT EXCEPTIONS OTHERS = 1.

CLBA_CLASSIF_FILE_REMOTE_HOST CALL FUNCTION 'CLBA_CLASSIF_FILE_REMOTE_HOST' DESTINATION SERVER EXPORTING FILE_NAME = DS_NAME LOGICAL_FILENAME = LC_LOGICAL_FILENAME TABLES CLASSIF_FILE = DATEDIT EXCEPTIONS OPEN_FAILURE = 04 FILE_CONTAINS_NO_DATA = 08.

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * FILENAME = RLGRAP-FILENAME * FILETYPE = RLGRAP-FILETYPE * TABLES * DATA_TAB = PC_DATA_TAB * EXCEPTIONS * FILE_OPEN_ERROR = 1 * FILE_WRITE_ERROR = 2 * INVALID_FILESIZE = 3 * INVALID_TYPE = 5 * NO_BATCH = 6 * UNKNOWN_ERROR = 7 * OTHERS = 8.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = FILE_NAME FILETYPE = FILE_TYPE TABLES DATA_TAB = PC_DATA_TAB EXCEPTIONS * FILE_OPEN_ERROR = 1 FILE_WRITE_ERROR = 2 * INVALID_FILESIZE = 3 INVALID_TYPE = 5 NO_BATCH = 6 UNKNOWN_ERROR = 7 OTHERS = 8.



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