SAP CACS_TGT_TRIGGER_SIMULATE Function Module for NOTRANSL: Zielvbg: Provisionsfall simulieren für einen Auslösertyp









CACS_TGT_TRIGGER_SIMULATE is a standard cacs tgt trigger simulate SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Zielvbg: Provisionsfall simulieren für einen Auslösertyp processing and below is the pattern details for this FM, 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 cacs tgt trigger simulate FM, simply by entering the name CACS_TGT_TRIGGER_SIMULATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: CACS_TGT_CASE_PROCESS
Program Name: SAPLCACS_TGT_CASE_PROCESS
Main Program: SAPLCACS_TGT_CASE_PROCESS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CACS_TGT_TRIGGER_SIMULATE 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 'CACS_TGT_TRIGGER_SIMULATE'"NOTRANSL: Zielvbg: Provisionsfall simulieren für einen Auslösertyp
EXPORTING
IV_APPL = "Commission Application Identification
IS_TRGRULE = "Rule for Trigger of Additional Commission Case
IV_CTRTBU_ID = "Commission Contract Number
IV_RULEID = "Period Rule
IV_PERIODNO = "Period No.
IV_BUSI = "Effective Time Stamp
* IV_TECH = "Technical Time Stamp
* IV_DISPLAY = ABAP_FALSE "DE-EN-LANG-SWITCH-NO-TRANSLATION

IMPORTING
ET_CAS = "Generic Type
ET_DOCVA = "Generic Type
ET_DOCRE = "Generic Type
ET_DOCDT = "Generic Type
ET_DOCSE = "Generic Type
ET_DOCACT = "Generic Type
ET_DOCPAR = "Generic Type
ET_DOCREL = "Generic Type
ET_DOCINV = "Generic Type
ET_DOCOBJ = "Generic Type
ET_LOG = "Generic Type
ET_PAR = "Generic Type
ET_INV = "Generic Type
ET_REL = "Generic Type
ET_ACT = "Generic Type
ET_LIN = "Generic Type
ET_OBJ = "Generic Type
ET_BDL = "Generic Type
ET_DOCHD = "Generic Type

EXCEPTIONS
ERROR = 1
.



IMPORTING Parameters details for CACS_TGT_TRIGGER_SIMULATE

IV_APPL - Commission Application Identification

Data type: CACSAPPL
Optional: No
Call by Reference: Yes

IS_TRGRULE - Rule for Trigger of Additional Commission Case

Data type: CACS_TRIGCAS
Optional: No
Call by Reference: Yes

IV_CTRTBU_ID - Commission Contract Number

Data type: CACS_CTRTBU_ID
Optional: No
Call by Reference: Yes

IV_RULEID - Period Rule

Data type: CACSPRDRULE
Optional: No
Call by Reference: Yes

IV_PERIODNO - Period No.

Data type: CACSPERIOD
Optional: No
Call by Reference: Yes

IV_BUSI - Effective Time Stamp

Data type: CACSTIMESTAMP
Optional: No
Call by Reference: Yes

IV_TECH - Technical Time Stamp

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

IV_DISPLAY - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: ABAP_BOOL
Default: ABAP_FALSE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for CACS_TGT_TRIGGER_SIMULATE

ET_CAS - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_DOCVA - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_DOCRE - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_DOCDT - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_DOCSE - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_DOCACT - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_DOCPAR - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_DOCREL - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_DOCINV - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_DOCOBJ - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_LOG - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_PAR - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_INV - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_REL - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_ACT - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_LIN - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_OBJ - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_BDL - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_DOCHD - Generic Type

Data type: TABLE
Optional: No
Call by Reference: Yes

EXCEPTIONS details

ERROR -

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

Copy and paste ABAP code example for CACS_TGT_TRIGGER_SIMULATE 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_error  TYPE STRING, "   
lv_et_cas  TYPE TABLE, "   
lv_iv_appl  TYPE CACSAPPL, "   
lv_et_docva  TYPE TABLE, "   
lv_et_docre  TYPE TABLE, "   
lv_et_docdt  TYPE TABLE, "   
lv_et_docse  TYPE TABLE, "   
lv_et_docact  TYPE TABLE, "   
lv_et_docpar  TYPE TABLE, "   
lv_et_docrel  TYPE TABLE, "   
lv_et_docinv  TYPE TABLE, "   
lv_et_docobj  TYPE TABLE, "   
lv_et_log  TYPE TABLE, "   
lv_et_par  TYPE TABLE, "   
lv_is_trgrule  TYPE CACS_TRIGCAS, "   
lv_et_inv  TYPE TABLE, "   
lv_iv_ctrtbu_id  TYPE CACS_CTRTBU_ID, "   
lv_et_rel  TYPE TABLE, "   
lv_iv_ruleid  TYPE CACSPRDRULE, "   
lv_et_act  TYPE TABLE, "   
lv_iv_periodno  TYPE CACSPERIOD, "   
lv_et_lin  TYPE TABLE, "   
lv_iv_busi  TYPE CACSTIMESTAMP, "   
lv_et_obj  TYPE TABLE, "   
lv_iv_tech  TYPE CACSTIMESTAMP, "   
lv_et_bdl  TYPE TABLE, "   
lv_iv_display  TYPE ABAP_BOOL, "   ABAP_FALSE
lv_et_dochd  TYPE TABLE. "   

  CALL FUNCTION 'CACS_TGT_TRIGGER_SIMULATE'  "NOTRANSL: Zielvbg: Provisionsfall simulieren für einen Auslösertyp
    EXPORTING
         IV_APPL = lv_iv_appl
         IS_TRGRULE = lv_is_trgrule
         IV_CTRTBU_ID = lv_iv_ctrtbu_id
         IV_RULEID = lv_iv_ruleid
         IV_PERIODNO = lv_iv_periodno
         IV_BUSI = lv_iv_busi
         IV_TECH = lv_iv_tech
         IV_DISPLAY = lv_iv_display
    IMPORTING
         ET_CAS = lv_et_cas
         ET_DOCVA = lv_et_docva
         ET_DOCRE = lv_et_docre
         ET_DOCDT = lv_et_docdt
         ET_DOCSE = lv_et_docse
         ET_DOCACT = lv_et_docact
         ET_DOCPAR = lv_et_docpar
         ET_DOCREL = lv_et_docrel
         ET_DOCINV = lv_et_docinv
         ET_DOCOBJ = lv_et_docobj
         ET_LOG = lv_et_log
         ET_PAR = lv_et_par
         ET_INV = lv_et_inv
         ET_REL = lv_et_rel
         ET_ACT = lv_et_act
         ET_LIN = lv_et_lin
         ET_OBJ = lv_et_obj
         ET_BDL = lv_et_bdl
         ET_DOCHD = lv_et_dochd
    EXCEPTIONS
        ERROR = 1
. " CACS_TGT_TRIGGER_SIMULATE




ABAP code using 7.40 inline data declarations to call FM CACS_TGT_TRIGGER_SIMULATE

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_iv_display) = ABAP_FALSE.
 
 


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!