SAP BAPIBUS1006_RULE_D Appointment Rules: BAPI Structure for Daily Appointments Table data and field list

BAPIBUS1006_RULE_D 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 "Appointment Rules: BAPI Structure for Daily Appointments" 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_BAPIBUS1006_RULE_D TYPE BAPIBUS1006_RULE_D.

The BAPIBUS1006_RULE_D table consists of various fields, each holding specific information or linking keys about Appointment Rules: BAPI Structure for Daily Appointments data available in SAP. These include TYPE (Version Number Component), START_DATE (Start Date for Rule Period), END_DATE (End Date for Rule Period), CONFLICTS (Exception Rule for Non-Working Days)... 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. .

BAPIBUS1006_RULE_D structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP BAPIBUS1006_RULE_D structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the BAPIBUS1006_RULE_D table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
RULE_IDInternal Identification of Rules of Periodic Appointments SC_RULEIDCHAR25TEXT25
TYPEVersion Number Component CHAR2CHAR2CHAR2
START_DATEStart Date for Rule Period SCSTARTDATDATS8DATUM
END_DATEEnd Date for Rule Period SCENDDATEDATS8DATUM
CONFLICTSException Rule for Non-Working Days SCCONFLICTCHAR1CHAR1
FCALIDFactory Calendar WFCIDCHAR2Assigned to domainWFCIDFCI
HCALIDPublic Holiday Calendar HIDENTCHAR2Assigned to domainHIDENTHCI
INFO_DELMaintenance identifier SC_MAINTIDCHAR1CHAR1
RULE_INDEXChar 20 CHAR20CHAR20CHAR20
RULE_REFReference counter SCREFCNTINT410
DAYSNumber of Days Between Appointments SCDAYSCHAR3CHAR3
TIME_FROMStart Time on this Weekday SC_RULEWFRTIMS6TIME
TIME_TOFinish time of this weekday SC_RULEWTOTIMS6TIME
TZONETime zone for this weekday SC_RULEWTZCHAR6Assigned to domainTZNZONE
OVERNumber of skipped days for this weekday SC_RULEWOVINT13INT1

Key field Non-key field



How do I retrieve data from SAP structure BAPIBUS1006_RULE_D using ABAP code?

As BAPIBUS1006_RULE_D 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 BAPIBUS1006_RULE_D as there is no data to select.

How to access SAP table BAPIBUS1006_RULE_D

Within an ECC or HANA version of SAP you can also view further information about BAPIBUS1006_RULE_D and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).