APPT_INTERACTIVE_CREATE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name APPT_INTERACTIVE_CREATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SSCE
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'APPT_INTERACTIVE_CREATE' "Process with Dialog: Create Appointment
EXPORTING
date_from = " scappt-date_from
date_to = " scappt-date_to
* zone_from = " scsappt-zone_from
time_from = " scappt-time_from
time_to = " scappt-time_to
* type = " scappt-appt_type Appointment type
* description = " scappt-txt_short
* room = " scappt-room Room
* visibility = '1' " scappt-class_id
* priority = '9' " scsappt-priority
* body_access_id = SPACE " scappt-bd_accs_id
* is_dominant = SPACE " flag All-day event
* type_specific_data = " scappt-exit_info
* customer_number = SPACE " scappt-cust_no
authority = " scsaut3
* authorization_check = 'X' " flag
* factory_calendar = SPACE " scal-fcalid
* holiday_calendar = SPACE " scal-hcalid
* start_mode = ' ' " scsdatafld-sc_flag
IMPORTING
action = " sy-xcode OK Code
TABLES
participant_list = " scsparinc Participant list
appointment = " scsappt Appointment Description
. " APPT_INTERACTIVE_CREATE
The ABAP code below is a full code listing to execute function module APPT_INTERACTIVE_CREATE including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_action | TYPE SY-XCODE , |
| it_participant_list | TYPE STANDARD TABLE OF SCSPARINC,"TABLES PARAM |
| wa_participant_list | LIKE LINE OF it_participant_list , |
| it_appointment | TYPE STANDARD TABLE OF SCSAPPT,"TABLES PARAM |
| wa_appointment | LIKE LINE OF it_appointment . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_action | TYPE SY-XCODE , |
| ld_date_from | TYPE SCAPPT-DATE_FROM , |
| it_participant_list | TYPE STANDARD TABLE OF SCSPARINC , |
| wa_participant_list | LIKE LINE OF it_participant_list, |
| ld_date_to | TYPE SCAPPT-DATE_TO , |
| it_appointment | TYPE STANDARD TABLE OF SCSAPPT , |
| wa_appointment | LIKE LINE OF it_appointment, |
| ld_zone_from | TYPE SCSAPPT-ZONE_FROM , |
| ld_time_from | TYPE SCAPPT-TIME_FROM , |
| ld_time_to | TYPE SCAPPT-TIME_TO , |
| ld_type | TYPE SCAPPT-APPT_TYPE , |
| ld_description | TYPE SCAPPT-TXT_SHORT , |
| ld_room | TYPE SCAPPT-ROOM , |
| ld_visibility | TYPE SCAPPT-CLASS_ID , |
| ld_priority | TYPE SCSAPPT-PRIORITY , |
| ld_body_access_id | TYPE SCAPPT-BD_ACCS_ID , |
| ld_is_dominant | TYPE FLAG , |
| ld_type_specific_data | TYPE SCAPPT-EXIT_INFO , |
| ld_customer_number | TYPE SCAPPT-CUST_NO , |
| ld_authority | TYPE SCSAUT3 , |
| ld_authorization_check | TYPE FLAG , |
| ld_factory_calendar | TYPE SCAL-FCALID , |
| ld_holiday_calendar | TYPE SCAL-HCALID , |
| ld_start_mode | TYPE SCSDATAFLD-SC_FLAG . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name APPT_INTERACTIVE_CREATE or its description.