COM_IL_PRDCTP_CHECK 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 COM_IL_PRDCTP_CHECK into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
COM_PRODUCT_IL_CHECK
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'COM_IL_PRDCTP_CHECK' "
EXPORTING
iv_reltype = " comt_il_reltype Relationship Category
is_ildata = " comt_il_data
* is_ilattr = " comt_il_attr_prdctp
* iv_tabix = 0 " sytabix Internal Tables; Current Line Index
iv_activity = " comt_il_activity
CHANGING
ct_messages = " comt_il_error_tab
. " COM_IL_PRDCTP_CHECK
The ABAP code below is a full code listing to execute function module COM_IL_PRDCTP_CHECK 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_ct_messages) = 'Check type of data required'.
DATA(ld_iv_reltype) = 'Check type of data required'.
DATA(ld_is_ildata) = 'Check type of data required'.
DATA(ld_is_ilattr) = 'Check type of data required'.
DATA(ld_iv_tabix) = '123 '.
DATA(ld_iv_activity) = '123 '. . CALL FUNCTION 'COM_IL_PRDCTP_CHECK' EXPORTING iv_reltype = ld_iv_reltype is_ildata = ld_is_ildata * is_ilattr = ld_is_ilattr * iv_tabix = ld_iv_tabix iv_activity = ld_iv_activity CHANGING ct_messages = ld_ct_messages . " COM_IL_PRDCTP_CHECK
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_ct_messages | TYPE COMT_IL_ERROR_TAB , |
| ld_iv_reltype | TYPE COMT_IL_RELTYPE , |
| ld_is_ildata | TYPE COMT_IL_DATA , |
| ld_is_ilattr | TYPE COMT_IL_ATTR_PRDCTP , |
| ld_iv_tabix | TYPE SYTABIX , |
| ld_iv_activity | TYPE COMT_IL_ACTIVITY . |
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 COM_IL_PRDCTP_CHECK or its description.
COM_IL_PRDCTP_CHECK - COM_IL_PRDCPN_CHECK - COM_IL_PRDBP_API_SAVE - Product/ Ind. Object Partner Link Save API COM_IL_PRDBP_API_READ_PR_EXT - Product/ Ind. Object Partner Link Extended Read by Product API COM_IL_PRDBP_API_READ_PRODUCT - Product/ Ind. Object Partner Link Read by Product/ Ind. Object API COM_IL_PRDBP_API_READ_BP_EXT - Product/ Ind. Object Partner Link Extended Read by BP API