RN1PLANNING_HISTORY SAP (IS-H: Appointment History) Structure details
Description: IS-H: Appointment History
Related tables to RN1PLANNING_HISTORY
Access table RN1PLANNING_HISTORY
Structure field list including key, data, relationships and ABAP select examples
RN1PLANNING_HISTORY is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "IS-H: Appointment History" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_RN1PLANNING_HISTORY TYPE RN1PLANNING_HISTORY.
The RN1PLANNING_HISTORY table consists of various fields, each holding specific information or linking keys about IS-H: Appointment History data available in SAP. These include ATTRID (IS-H: ID of Attribute for Planning), NUMBER (IS-H: Number of Entry in History), APP_HEAD (), MANDT (Client).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can Be Enhanced (Deep)
SAP RN1PLANNING_HISTORY structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
APP_OBJ | IS-H: Appointment Object | N1APPOINTMENT_OBJECT | REF | 0 | CL_ISH_APPOINTMENT | ||||
ATTRID | IS-H: ID of Attribute for Planning | N1ATTRID | NUMC | 8 | |||||
NUMBER | IS-H: Number of Entry in History | N1_HIST_NUMBER | INT4 | 10 | N1I4 | ||||
APP_HEAD | 0 | ||||||||
MANDT | Client | MANDT | CLNT | 3 | MANDT | ||||
TMNID | IS-H: Identification of Appointment | ISH_TMNID | CHAR | 10 | ALPHA | ISH_LNRAPP | |||
EINRI | Institution | EINRI | CHAR | 4 | ALPHA | EINRI | EIN | ||
PATNR | IS-H: Patient Number | PATNR | CHAR | 10 | ALPHA | PATNR | PAT | ||
PZIFF | Check Digit for Patient | PZIFF_PAT | CHAR | 1 | PZIFF | PZP | |||
EXTNR | IS-H: External Patient Identification | EXT_PATNR | CHAR | 20 | EXT_PATNR | ||||
FALNR | IS-H: Case Number | FALNR | CHAR | 10 | ALPHA | FALNR | FAL | ||
FZIFF | Check Digit for Case | PZIFF_FALL | CHAR | 1 | PZIFF | PZF | |||
FALAR | IS-H: Case Type | FALLART | CHAR | 1 | FALLART | ||||
TMNLB | IS-H: Sequence Number of Movement | LFDBEW | NUMC | 5 | LFDBEW | ||||
TMNOE | IS-H: Planned Organizational Unit | ISH_TMNOE | CHAR | 8 | ALPHA | ORGID | |||
TMNDT | IS-H: Date of Appointment | ISH_TMNDT | DATS | 8 | DATE | ||||
TMNZT | IS-H: Time of Appointment | ISH_TMNZT | TIMS | 6 | UHRZT | ||||
TMNDR | IS-H: Duration of Appointment | ISH_TMDAUER | NUMC | 4 | ISH_DZEIT | ||||
NNAME | Patient Last Name | NNAME_PAT | CHAR | 30 | TEXT30 | ||||
VNAME | IS-H: Patient First Name | VNAME_PAT | CHAR | 30 | TEXT30 | ||||
NNAMS | IS-H: Standardized Last Name | NNAMES_PAT | CHAR | 30 | CHAR30 | ||||
VNAMS | Standardized First Name | VNAMES_PAT | CHAR | 30 | CHAR30 | ||||
TITEL | IS-H: Title | RI_TITEL | CHAR | 15 | TITEL | ||||
NAMZU | IS-H: Name Affix | RI_NAMZU | CHAR | 15 | TITEL | ||||
VORSW | IS-H: Name Prefix | RI_VORSW | CHAR | 15 | TITEL | ||||
GBNAM | IS-H: Birthname | GBNAM | CHAR | 30 | TEXT30 | ||||
GBNAS | IS-H: Standardized Birthname | GBNAMS_PAT | CHAR | 30 | CHAR30 | ||||
GBDAT | IS-H: Birthdate | RI_GBDAT | DATS | 8 | RI_DATUM | ||||
GSCHL | IS-H: Sex Indicator - Internal | GSCHL | CHAR | 1 | GSCHL | ||||
TELF1 | IS-H: Patient Telephone Number | TELF_PAT | CHAR | 16 | TEXT16 | ||||
TODKZ | IS-H: Patient Is Deceased | PAT_TOD | CHAR | 1 | XFELD | ||||
SOURC | IS-H: Application that Created Object | ISH_OBJSRC | CHAR | 1 | ISH_OBJSRC | ||||
TMTAG | IS-H: Appointment on Given Day | ISH_TMTAG | CHAR | 1 | XFELD | ||||
REFID | IS-H: Reference Number of Next Appointment | ISH_REFTMNID | CHAR | 10 | ALPHA | ISH_LNRAPP | |||
NOTAN | IS-H: Emergency Admission Indicator | NOTAUF | CHAR | 1 | XFELD | ||||
KRZAN | IS-H: Quick Admission Indicator | KURZAUF | CHAR | 1 | XFELD | ||||
BEKAT | Treatment Category | BEKAT | CHAR | 6 | ALPHA | BEHKATEG | |||
RISKF | IS-H: Risk Information Exists for the Patient | ISH_RISIKO | CHAR | 1 | XFELD | ||||
CLASS | IS-H: Patient Class | ISH_PAYCL | CHAR | 4 | ALPHA | ISH_PAYCL | |||
BNKZ | IS-H: Notification of Appointment Desired | ISH_APP_NOTI_WANTED | CHAR | 1 | XFELD | ||||
BNDT | IS-H: Date on which patient was last notified | ISH_BNDT | DATS | 8 | RI_DATUM | ||||
BNART | IS-H: Type of Notification (Tel., Written) | ISH_BNART | CHAR | 1 | KOMMART | ||||
EINBDT | IS-H: Date of Appointment of which Patient Last Notified | ISH_EINBDT | DATS | 8 | RI_DATUM | ||||
EINBZT | IS-H: Time of Appointment of which Patient Last Notified | ISH_EINBZT | TIMS | 6 | UHRZT | ||||
EINBOE | Nursing Org. Unit of Patient's Last Scheduled Appointment | ISH_EINBOE | CHAR | 8 | ALPHA | ORGID | |||
EINBPER | IS-H: Person/Physician of Last Patient Appt Notification | ISH_EINBPER | CHAR | 10 | ALPHA | RI_KUNNR | |||
EINBZIM | IS-H: Building Unit of Last Patient Notification | ISH_EINBZIM | CHAR | 8 | ALPHA | BAUID | |||
ERDAT | IS-H: Date when Record Created | RI_ERDAT | DATS | 8 | RI_DATUM | ||||
ERUSR | IS-H: Name of Employee who Created Record | RI_ERNAM | CHAR | 12 | USNAM | ||||
UPDAT | IS-H: Date of Last Change | RI_UPDAT | DATS | 8 | RI_DATUM | ||||
UPUSR | IS-H: Name of Person who Last Changed Data | RI_UPNAM | CHAR | 12 | USNAM | ||||
FATYP | Case Category | ISH_CASETYPE | CHAR | 2 | ISH_CASETYPE | ||||
BWART | IS-H: Movement Type | RI_BWART | CHAR | 2 | RI_BWART | ||||
TPART | Transport Type | N1TPAE | CHAR | 2 | N1TPAE | ||||
BWPRIO | Prioritization for Request/Movement (Internal) | N1APRI_D | NUMC | 3 | N1APRI | ||||
MEDTX | Medical Text | N1MEDTX | CHAR | 50 | N1C050 | ||||
TMSTG | Cancellation Reason for an Appointment | ISH_TMSTG | CHAR | 3 | N1STOID | ||||
STORN | IS-H: Cancellation Indicator | RI_STORN | CHAR | 1 | XFELD | ||||
STUSR | IS-H: Name of User who Canceled Data Record | STORN_USER | CHAR | 12 | USNAM | ||||
STDAT | Date of Cancellation | STORN_DAT | DATS | 8 | RI_DATUM | ||||
VBUND | ISH_TMVBD | CHAR | 1 | XFELD | |||||
BWGR1 | Movement Reason - 1st and 2nd Positions | ISH_BWGR1 | CHAR | 2 | ISH_BGRUND | ||||
BWGR2 | Movement Reason - 3rd and 4th Positions | ISH_BWGR2 | CHAR | 2 | ISH_BGRUND | ||||
UARNR | IS-H: Personnel Number of Referring Physician | UARNR | CHAR | 10 | ALPHA | RI_KUNNR | |||
TMPDT | IS-H: Date Planned for Appointment | ISH_TMPDT | DATS | 8 | DATE | ||||
TMPZT | IS-H: Time Planned for Appointment | ISH_TMPZT | TIMS | 6 | UHRZT | ||||
GPLVN | IS-H*MED: Employee or User who Last Planned Appointment | N1GPLVN | CHAR | 12 | USNAM | ||||
GPLTY | IS-H*MED: Appointment Changed by: Employee/User ID | N1GPLTY | CHAR | 1 | N1GPLTY | ||||
IS-H: Internet Mail (SMTP) Address | ISH_SMTPADR | CHAR | 241 | SXIDN | AD_SMTPADR | ||||
BEWTY | Movement Category | BEWTY | CHAR | 1 | BEWTY | ||||
CHAINID | IS-H: Link ID for Interdependent Appointments | ISH_APP_CHAINID | CHAR | 10 | ALPHA | ISH_LNRAPP | |||
UNITID | IS-H: Treatment Unit ID | ISH_TREATM_UNITID | NUMC | 3 | NUMC03 | ||||
DISTMIN | IS-H: Minimum Interval Between Appointments | ISH_APPDIST_MIN | NUMC | 3 | ISH_APPDIST | ||||
DISTMAX | IS-H: Maximum Interval Between Appointments | ISH_APPDIST_MAX | NUMC | 3 | ISH_APPDIST | ||||
DISTUNIT | IS-H: Time Unit for Interval Between Two Appointments | ISH_APPDIST_UNIT | NUMC | 1 | ISH_APPDIST_UNIT | ||||
CYCLE | IS-H: Appointment Cycle | ISH_APPCYCLE | NUMC | 3 | NUMC03 | ||||
CYCLEUNIT | IS-H: Time Unit for Appointment Cycle | ISH_APPCYCLE_UNIT | NUMC | 1 | ISH_APPCYCLE_UNIT | ||||
VKGID | IS-H: CORD/PREG: ID of an Order Item (Preregistration) | N1VKGID | NUMC | 8 | N1VKGID | ||||
PAPID | IS-H: Provisional Patient Number | ISH_PAPID | CHAR | 10 | ALPHA | ISH_PAPID | |||
APCNID | IS-H: Identification of an Appointment Template | N1APCNID | CHAR | 32 | SYSUUID_C | ||||
ENDPL | IS-H: Planning Complete | N1ENDPL | CHAR | 1 | ISH_TRUE_FALSE | ||||
TIMESTAMP | Timestamp in Short Form (YYYYMMDDhhmmss) | ISH_TIMESTAMP | DEC | 15 | TZNTSTMPS | ||||
.INCLU--AP | 0 | ||||||||
CAUSECHNG | Reason for Change | N1CAUSECHNG | CHAR | 50 | N1CAUSECHNG | ||||
CSECHGID | Reason for Change ID | N1CSECHGID | NUMC | 3 | NUMC3 | ||||
APP_RES | 0 | ||||||||
APP_OBJ_OLD | IS-H: Appointment Object | N1APPOINTMENT_OBJECT | REF | 0 | CL_ISH_APPOINTMENT |
Key field | Non-key field |
How do I retrieve data from SAP structure RN1PLANNING_HISTORY using ABAP code?
As RN1PLANNING_HISTORY is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on RN1PLANNING_HISTORY as there is no data to select.How to access SAP table RN1PLANNING_HISTORY
Within an ECC or HANA version of SAP you can also view further information about RN1PLANNING_HISTORY and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects