RSSC_DEMO_RULES 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 RSSC_DEMO_RULES 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.
Demo program for rule management
Selection Text: TITLE = Title Bar
Selection Text: TIMEZONE = Proposal for time zone
Selection Text: TIMETO = Proposal for end time
Selection Text: TIMEFROM = Proposal for start time
Selection Text: RULETYPE = Proposal for rule
Selection Text: FROMDATE = Start of calculation period
Selection Text: ENTITY = Name of rule type
Selection Text: ENDDATE = End of calculation period
Title: Local: Test program 3 for rules.
Text Symbol: 005 = To
Text Symbol: 004 = Rule ID
Text Symbol: 003 = Cancelled by user
Text Symbol: 002 = Working times
Text Symbol: 001 = Working times of
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SUSR_USER_LOGONDATA_GET CALL FUNCTION 'SUSR_USER_LOGONDATA_GET' EXPORTING user_name = sy-uname IMPORTING user_logondata = logon_data EXCEPTIONS user_name_not_exist = 1 OTHERS = 2.
APPT_RULE_EDITOR CALL FUNCTION 'APPT_RULE_EDITOR' EXPORTING display_mode = ' ' TITLE_OF_EDITOR = title NAME_OF_RULE_ENTITY = entity TIMEZONE = timezone RULE_TYPE = ruletype TIME_FROM = timefrom TIME_TO = timeto no_period = 'X' IMPORTING ACTION = action CHANGING * period_start_date = sy-datum * period_end_date = enddate RULE = rule.
APPT_RULE_EXCLUDE_DATE * CALL FUNCTION 'APPT_RULE_EXCLUDE_DATE' * EXPORTING * exclude_date_from = '19991201' * exclude_DATE_TO = '19991231' ** TIME_FROM = ' ** TIME_TO = ** TIMEZONE = * changing * rule = rule.
APPT_RULE_COMPUTE CALL FUNCTION 'APPT_RULE_COMPUTE' EXPORTING * RULE_ID = ' ' RULE = rule from_date = fromdate to_date = enddate * APPT_TEMPLATE = tmpl tables appointments = appts EXCEPTIONS RULE_NOT_EXIST = 1 INVALID_RULE = 2 OTHERS = 3.
APPT_RULE_ID_GET CALL FUNCTION 'APPT_RULE_ID_GET' EXPORTING rule = rule rule_reference = ref * OLD_RULE_ID = ' ' FREE_ALL_OLD_RULES = ' ' IMPORTING RULE_ID = rule_id * EXCEPTIONS * NO_REFERENCE = 1 * INVALID_RULE = 2 * OTHERS = 3 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSSC_DEMO_RULES - Local: Test program 3 for rules. RSSC_DEMO_RULES - Local: Test program 3 for rules. RSSC_DEMO_ICAL - Demo program for sending appointment confirmation via the Internet RSSC_DEMO_ICAL - Demo program for sending appointment confirmation via the Internet RSSC_DEMO_FREE_BUSY - Demo program for Free/Busy analysis over the Internet RSSC_DEMO_FREE_BUSY - Demo program for Free/Busy analysis over the Internet