RN1_CORRECT_APP_ORGFA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report corrects the department (departmental organizational unit) of inconsistent appointment data records (NAPP)...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 RN1_CORRECT_APP_ORGFA into the relevant SAP transactions such as SE38 or SE80
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.
Title: Correction Program for Departments in Appointments
Text Symbol: 041 = TEST RUN no data records changed
Text Symbol: 040 = Dept. OU corrected:
Text Symbol: 031 = Following data records were corrected:
Text Symbol: 030 = Data records were changed
Text Symbol: 026 = PATIENT
Text Symbol: 025 = MVMT NO.
Text Symbol: 024 = TIME
Text Symbol: 023 = DATE
Text Symbol: 022 = ORGFA new
Text Symbol: 021 = ORGFA old
Text Symbol: 020 = PAT.NAME
Text Symbol: 019 = SEQ. NO.
Text Symbol: 018 = Departmental OU deleted:
Text Symbol: 017 = The department was initialized for the following data records:
Text Symbol: 016 = Path and File Name
Text Symbol: 015 = File
Text Symbol: 013 = Test Run
Text Symbol: 012 = Correct Department in Appointments
Text Symbol: 011 = Update Table NAPP:
Text Symbol: 010 = Output to file failed!
Text Symbol: 009 = , USER:
Text Symbol: 008 = System Time:
Text Symbol: 007 = No data records were created.
Text Symbol: 006 = No data records were changed.
Text Symbol: 005 = ORGFA
Text Symbol: 004 = Update NAPP
Text Symbol: 003 = changed.
Text Symbol: 002 = Appointment data
Text Symbol: 001 = Abnormal Program Termination - Error
INCLUDE MNDATA00.
INCLUDE RN1_CORRECT_APP_ORGFA1.
No SAP DATABASE tables are accessed within this REPORT code!
ISH_FILE_VALIDATE_NAME CALL FUNCTION 'ISH_FILE_VALIDATE_NAME' CHANGING c_filename = pa_fname.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RN1_CORRECT_APP_ORGFA - Correction Program for Departments in Appointments RN1_CORRECT_APP_ORGFA - Correction Program for Departments in Appointments RN1_CORRECT_APCNID_LFDBEW_UI01 - RN1CORRECTAPCNIDLFDBEWUI01 RN1_CORRECT_APCNID_LFDBEW_SO01 - RN1CORRECTAPCNIDLFDBEWSO01 RN1_CORRECT_APCNID_LFDBEW_CF01 - RN1CORRECTAPCNIDLFDBEWCF01 RN1_CORRECT_APCNID_LFDBEW - Program RN1_CORRECT_APCNID_LFDBEW