SAP CACS42_PS_GET_SPLIT_SAMPLE Function Module for









CACS42_PS_GET_SPLIT_SAMPLE is a standard cacs42 ps get split sample 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 cacs42 ps get split sample FM, simply by entering the name CACS42_PS_GET_SPLIT_SAMPLE into the relevant SAP transaction such as SE37 or SE38.

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



Function CACS42_PS_GET_SPLIT_SAMPLE 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 'CACS42_PS_GET_SPLIT_SAMPLE'"
EXPORTING
ID_APPL = "
ID_BUSITIME = "
ID_TECHTIME = "
ID_PS_TYPE = "
ID_CTRTBU_ID_GRP = "
ID_CTRTBDL_ID_GRP = "
* ID_CTRTBU_ID_LEAD = "

IMPORTING
ED_SPLIT_MEANING = "

CHANGING
CT_SPLIT = "

TABLES
IT_META_PARTICIPATION = "
IT_META_RELATION = "
IT_META_INVESTIGATION = "
IT_META_ACTIVITY = "
IT_DOC_REMUNERATION = "
.



IMPORTING Parameters details for CACS42_PS_GET_SPLIT_SAMPLE

ID_APPL -

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

ID_BUSITIME -

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

ID_TECHTIME -

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

ID_PS_TYPE -

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

ID_CTRTBU_ID_GRP -

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

ID_CTRTBDL_ID_GRP -

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

ID_CTRTBU_ID_LEAD -

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

EXPORTING Parameters details for CACS42_PS_GET_SPLIT_SAMPLE

ED_SPLIT_MEANING -

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

CHANGING Parameters details for CACS42_PS_GET_SPLIT_SAMPLE

CT_SPLIT -

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

TABLES Parameters details for CACS42_PS_GET_SPLIT_SAMPLE

IT_META_PARTICIPATION -

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

IT_META_RELATION -

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

IT_META_INVESTIGATION -

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

IT_META_ACTIVITY -

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

IT_DOC_REMUNERATION -

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

Copy and paste ABAP code example for CACS42_PS_GET_SPLIT_SAMPLE 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_id_appl  TYPE CACSAPPL, "   
lv_ct_split  TYPE CACS_TT_PS_MEM_SPLIT, "   
lv_ed_split_meaning  TYPE CACS_SPLIT_MEANING, "   
lt_it_meta_participation  TYPE STANDARD TABLE OF CACS00_S_PARM, "   
lv_id_busitime  TYPE CACSTECHTIME, "   
lt_it_meta_relation  TYPE STANDARD TABLE OF CACS00_S_RELM, "   
lv_id_techtime  TYPE CACSBUSITIME, "   
lt_it_meta_investigation  TYPE STANDARD TABLE OF CACS00_S_INVM, "   
lv_id_ps_type  TYPE CACS_CTRTBDL_TYPE, "   
lt_it_meta_activity  TYPE STANDARD TABLE OF CACS00_S_ACTM, "   
lv_id_ctrtbu_id_grp  TYPE CACS_CTRTBU_ID, "   
lt_it_doc_remuneration  TYPE STANDARD TABLE OF CACS00_S_DOCREM, "   
lv_id_ctrtbdl_id_grp  TYPE CACS_CTRTBDL_ID, "   
lv_id_ctrtbu_id_lead  TYPE CACS_CTRTBU_ID. "   

  CALL FUNCTION 'CACS42_PS_GET_SPLIT_SAMPLE'  "
    EXPORTING
         ID_APPL = lv_id_appl
         ID_BUSITIME = lv_id_busitime
         ID_TECHTIME = lv_id_techtime
         ID_PS_TYPE = lv_id_ps_type
         ID_CTRTBU_ID_GRP = lv_id_ctrtbu_id_grp
         ID_CTRTBDL_ID_GRP = lv_id_ctrtbdl_id_grp
         ID_CTRTBU_ID_LEAD = lv_id_ctrtbu_id_lead
    IMPORTING
         ED_SPLIT_MEANING = lv_ed_split_meaning
    CHANGING
         CT_SPLIT = lv_ct_split
    TABLES
         IT_META_PARTICIPATION = lt_it_meta_participation
         IT_META_RELATION = lt_it_meta_relation
         IT_META_INVESTIGATION = lt_it_meta_investigation
         IT_META_ACTIVITY = lt_it_meta_activity
         IT_DOC_REMUNERATION = lt_it_doc_remuneration
. " CACS42_PS_GET_SPLIT_SAMPLE




ABAP code using 7.40 inline data declarations to call FM CACS42_PS_GET_SPLIT_SAMPLE

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!