SAP DOMINANT_INTERACTIVE_CREATE Function Module for









DOMINANT_INTERACTIVE_CREATE is a standard dominant interactive create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for dominant interactive create FM, simply by entering the name DOMINANT_INTERACTIVE_CREATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: SSCE
Program Name: SAPLSSCE
Main Program: SAPLSSCE
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function DOMINANT_INTERACTIVE_CREATE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'DOMINANT_INTERACTIVE_CREATE'"
EXPORTING
DATE_FROM = "
* TYPE_SPECIFIC_DATA = "
* CUSTOMER_NUMBER = ' ' "
AUTHORITY = "
* FACTORY_CALENDAR = ' ' "
* HOLIDAY_CALENDAR = ' ' "
* START_MODE = ' ' "
DATE_TO = "
TIME_FROM = "
TIME_TO = "
* TYPE = "Appointment type
* DESCRIPTION = "
* ROOM = "Room
* VISIBILITY = '1' "
* BODY_ACCESS_ID = ' ' "

IMPORTING
ACTION = "OK Code

TABLES
PARTICIPANT_LIST = "Participant list
APPOINTMENT = "Appointment Description
.



IMPORTING Parameters details for DOMINANT_INTERACTIVE_CREATE

DATE_FROM -

Data type: SCAPPT-DATE_FROM
Optional: No
Call by Reference: No ( called with pass by value option)

TYPE_SPECIFIC_DATA -

Data type: SCAPPT-EXIT_INFO
Optional: Yes
Call by Reference: No ( called with pass by value option)

CUSTOMER_NUMBER -

Data type: SCAPPT-CUST_NO
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

AUTHORITY -

Data type: SCSAUT3
Optional: No
Call by Reference: No ( called with pass by value option)

FACTORY_CALENDAR -

Data type: SCAL-FCALID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

HOLIDAY_CALENDAR -

Data type: SCAL-HCALID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

START_MODE -

Data type: SCSDATAFLD-SC_FLAG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

DATE_TO -

Data type: SCAPPT-DATE_TO
Optional: No
Call by Reference: No ( called with pass by value option)

TIME_FROM -

Data type: SCAPPT-TIME_FROM
Optional: No
Call by Reference: No ( called with pass by value option)

TIME_TO -

Data type: SCAPPT-TIME_TO
Optional: No
Call by Reference: No ( called with pass by value option)

TYPE - Appointment type

Data type: SCAPPT-APPT_TYPE
Optional: Yes
Call by Reference: No ( called with pass by value option)

DESCRIPTION -

Data type: SCAPPT-TXT_SHORT
Optional: Yes
Call by Reference: No ( called with pass by value option)

ROOM - Room

Data type: SCAPPT-ROOM
Optional: Yes
Call by Reference: No ( called with pass by value option)

VISIBILITY -

Data type: SCAPPT-CLASS_ID
Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

BODY_ACCESS_ID -

Data type: SCAPPT-BD_ACCS_ID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for DOMINANT_INTERACTIVE_CREATE

ACTION - OK Code

Data type: SY-XCODE
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for DOMINANT_INTERACTIVE_CREATE

PARTICIPANT_LIST - Participant list

Data type: SCSPARINC
Optional: No
Call by Reference: No ( called with pass by value option)

APPOINTMENT - Appointment Description

Data type: SCSAPPT
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for DOMINANT_INTERACTIVE_CREATE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_action  TYPE SY-XCODE, "   
lv_date_from  TYPE SCAPPT-DATE_FROM, "   
lt_participant_list  TYPE STANDARD TABLE OF SCSPARINC, "   
lv_type_specific_data  TYPE SCAPPT-EXIT_INFO, "   
lv_customer_number  TYPE SCAPPT-CUST_NO, "   SPACE
lv_authority  TYPE SCSAUT3, "   
lv_factory_calendar  TYPE SCAL-FCALID, "   SPACE
lv_holiday_calendar  TYPE SCAL-HCALID, "   SPACE
lv_start_mode  TYPE SCSDATAFLD-SC_FLAG, "   ' '
lv_date_to  TYPE SCAPPT-DATE_TO, "   
lt_appointment  TYPE STANDARD TABLE OF SCSAPPT, "   
lv_time_from  TYPE SCAPPT-TIME_FROM, "   
lv_time_to  TYPE SCAPPT-TIME_TO, "   
lv_type  TYPE SCAPPT-APPT_TYPE, "   
lv_description  TYPE SCAPPT-TXT_SHORT, "   
lv_room  TYPE SCAPPT-ROOM, "   
lv_visibility  TYPE SCAPPT-CLASS_ID, "   '1'
lv_body_access_id  TYPE SCAPPT-BD_ACCS_ID. "   SPACE

  CALL FUNCTION 'DOMINANT_INTERACTIVE_CREATE'  "
    EXPORTING
         DATE_FROM = lv_date_from
         TYPE_SPECIFIC_DATA = lv_type_specific_data
         CUSTOMER_NUMBER = lv_customer_number
         AUTHORITY = lv_authority
         FACTORY_CALENDAR = lv_factory_calendar
         HOLIDAY_CALENDAR = lv_holiday_calendar
         START_MODE = lv_start_mode
         DATE_TO = lv_date_to
         TIME_FROM = lv_time_from
         TIME_TO = lv_time_to
         TYPE = lv_type
         DESCRIPTION = lv_description
         ROOM = lv_room
         VISIBILITY = lv_visibility
         BODY_ACCESS_ID = lv_body_access_id
    IMPORTING
         ACTION = lv_action
    TABLES
         PARTICIPANT_LIST = lt_participant_list
         APPOINTMENT = lt_appointment
. " DOMINANT_INTERACTIVE_CREATE




ABAP code using 7.40 inline data declarations to call FM DOMINANT_INTERACTIVE_CREATE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single XCODE FROM SY INTO @DATA(ld_action).
 
"SELECT single DATE_FROM FROM SCAPPT INTO @DATA(ld_date_from).
 
 
"SELECT single EXIT_INFO FROM SCAPPT INTO @DATA(ld_type_specific_data).
 
"SELECT single CUST_NO FROM SCAPPT INTO @DATA(ld_customer_number).
DATA(ld_customer_number) = ' '.
 
 
"SELECT single FCALID FROM SCAL INTO @DATA(ld_factory_calendar).
DATA(ld_factory_calendar) = ' '.
 
"SELECT single HCALID FROM SCAL INTO @DATA(ld_holiday_calendar).
DATA(ld_holiday_calendar) = ' '.
 
"SELECT single SC_FLAG FROM SCSDATAFLD INTO @DATA(ld_start_mode).
DATA(ld_start_mode) = ' '.
 
"SELECT single DATE_TO FROM SCAPPT INTO @DATA(ld_date_to).
 
 
"SELECT single TIME_FROM FROM SCAPPT INTO @DATA(ld_time_from).
 
"SELECT single TIME_TO FROM SCAPPT INTO @DATA(ld_time_to).
 
"SELECT single APPT_TYPE FROM SCAPPT INTO @DATA(ld_type).
 
"SELECT single TXT_SHORT FROM SCAPPT INTO @DATA(ld_description).
 
"SELECT single ROOM FROM SCAPPT INTO @DATA(ld_room).
 
"SELECT single CLASS_ID FROM SCAPPT INTO @DATA(ld_visibility).
DATA(ld_visibility) = '1'.
 
"SELECT single BD_ACCS_ID FROM SCAPPT INTO @DATA(ld_body_access_id).
DATA(ld_body_access_id) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!