ICLH_VISION_COPY 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 ICLH_VISION_COPY into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
ICLH_AUX_BDT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ICLH_VISION_COPY' "Copying of Eyeglass Prescription
EXPORTING
iv_subobjcat_src = " icl_subobjcat Claim Subobject Category
iv_subobject_src = " icl_subobjectd Damaged Objects Occurrence Subobject
iv_subobjcat_dst = " icl_subobjcat Claim Subobject Category
iv_subobject_dst = " icl_subobjectd Damaged Objects Occurrence Subobject
EXCEPTIONS
PARAMETER_MISSING = 1 " Parameter missing
. " ICLH_VISION_COPY
The ABAP code below is a full code listing to execute function module ICLH_VISION_COPY 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_iv_subobjcat_src) = 'Check type of data required'.
DATA(ld_iv_subobject_src) = 'Check type of data required'.
DATA(ld_iv_subobjcat_dst) = 'Check type of data required'.
DATA(ld_iv_subobject_dst) = 'Check type of data required'. . CALL FUNCTION 'ICLH_VISION_COPY' EXPORTING iv_subobjcat_src = ld_iv_subobjcat_src iv_subobject_src = ld_iv_subobject_src iv_subobjcat_dst = ld_iv_subobjcat_dst iv_subobject_dst = ld_iv_subobject_dst EXCEPTIONS PARAMETER_MISSING = 1 . " ICLH_VISION_COPY
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here 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_iv_subobjcat_src | TYPE ICL_SUBOBJCAT , |
| ld_iv_subobject_src | TYPE ICL_SUBOBJECTD , |
| ld_iv_subobjcat_dst | TYPE ICL_SUBOBJCAT , |
| ld_iv_subobject_dst | TYPE ICL_SUBOBJECTD . |
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 ICLH_VISION_COPY or its description.
ICLH_VISION_COPY - Copying of Eyeglass Prescription ICLH_STORNO_PAYMENT_PROPOSAL - Reversal of Payment Proposal ICLH_SHLP_POSNR - Example for a search help exit ICLH_SHLP_EXIT_POSNR - Search Help Exit Benefit Types ICLH_SFC_COPY - Copying of SFC Data Between Claim Item Groupings ICLH_SET_INTR_SUBSTITUTE_CARE - BRF Action Module for Care by Substitute or Home Health Care (Interrup