FSCD_SAMPLE_V405 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 FSCD_SAMPLE_V405 into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FSCD_XI_EVENTS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FSCD_SAMPLE_V405' "XI: ICDR Details for ICDR ID
EXPORTING
it_icdr_head = " vkk_icdr_head_detail_t Header Data for ICDR
it_icdr_item = " vkk_icdr_item_detail_t Item Data for an InsuranceCollectionDisbursementRequest
it_icdr_item_coins = " vkk_icdr_item_coins_detail_t Coinsurance Data for ICDR
* it_icdr_item_etax = " vkk_icdr_item_etax_detail_t
CHANGING
cs_xi_message_out = " fscd_icdr_idrp_mt
. " FSCD_SAMPLE_V405
The ABAP code below is a full code listing to execute function module FSCD_SAMPLE_V405 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).
DATA(ld_cs_xi_message_out) = 'Check type of data required'.
DATA(ld_it_icdr_head) = 'Check type of data required'.
DATA(ld_it_icdr_item) = 'Check type of data required'.
DATA(ld_it_icdr_item_coins) = 'Check type of data required'.
DATA(ld_it_icdr_item_etax) = 'Check type of data required'. . CALL FUNCTION 'FSCD_SAMPLE_V405' EXPORTING it_icdr_head = ld_it_icdr_head it_icdr_item = ld_it_icdr_item it_icdr_item_coins = ld_it_icdr_item_coins * it_icdr_item_etax = ld_it_icdr_item_etax CHANGING cs_xi_message_out = ld_cs_xi_message_out . " FSCD_SAMPLE_V405
IF SY-SUBRC EQ 0. "All OK ENDIF.
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_cs_xi_message_out | TYPE FSCD_ICDR_IDRP_MT , |
| ld_it_icdr_head | TYPE VKK_ICDR_HEAD_DETAIL_T , |
| ld_it_icdr_item | TYPE VKK_ICDR_ITEM_DETAIL_T , |
| ld_it_icdr_item_coins | TYPE VKK_ICDR_ITEM_COINS_DETAIL_T , |
| ld_it_icdr_item_etax | TYPE VKK_ICDR_ITEM_ETAX_DETAIL_T . |
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 FSCD_SAMPLE_V405 or its description.
FSCD_SAMPLE_V405 - XI: ICDR Details for ICDR ID FSCD_SAMPLE_V404 - XI: ICDR Data for BaseBusinessTransactionDocumentReference FSCD_SAMPLE_V403 - XI: ICDR Details for BaseBusinessTransactionDocumentReference FSCD_SAMPLE_V402 - XI: Create an InsuranceCollectionDisbursementRequest FSCD_SAMPLE_V401 - XI: Interface for Notification about a Dunning Level Change FSCD_SAMPLE_V400 - XI: Interface for Notification about Insufficient Deposit Coverage