ISP_F4_FOR_INHKO 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 ISP_F4_FOR_INHKO into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JHPA
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISP_F4_FOR_INHKO' "IS-M/AM: F4 Help for Content Component
* EXPORTING
* xinhktyp_rubrik = SPACE " jpam_xfeld_var
* xinhktyp_ressort = SPACE " jpam_xfeld_var
* xinhktyp_sv = SPACE " jpam_xfeld_var
* xinhktyp_nocomp = SPACE " jpam_xfeld_var
* vkorg = " jjtikovb-vkorg
* vtweg = " jjtikovb-vtweg
* spart = " jjtikovb-spart
* trtyp = " tj180-trtyp
CHANGING
inhaltskom = " jjtiko-inhaltskom
EXCEPTIONS
NO_INHKO_SELECTED = 1 "
NO_INHKTYP_AS_INPUT = 2 "
. " ISP_F4_FOR_INHKO
The ABAP code below is a full code listing to execute function module ISP_F4_FOR_INHKO 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).
SELECT single INHALTSKOM
FROM JJTIKO
INTO @DATA(ld_inhaltskom).
DATA(ld_xinhktyp_rubrik) = 'Check type of data required'.
DATA(ld_xinhktyp_ressort) = 'Check type of data required'.
DATA(ld_xinhktyp_sv) = 'Check type of data required'.
DATA(ld_xinhktyp_nocomp) = 'Check type of data required'.
SELECT single VKORG
FROM JJTIKOVB
INTO @DATA(ld_vkorg).
SELECT single VTWEG
FROM JJTIKOVB
INTO @DATA(ld_vtweg).
SELECT single SPART
FROM JJTIKOVB
INTO @DATA(ld_spart).
SELECT single TRTYP
FROM TJ180
INTO @DATA(ld_trtyp).
. CALL FUNCTION 'ISP_F4_FOR_INHKO' * EXPORTING * xinhktyp_rubrik = ld_xinhktyp_rubrik * xinhktyp_ressort = ld_xinhktyp_ressort * xinhktyp_sv = ld_xinhktyp_sv * xinhktyp_nocomp = ld_xinhktyp_nocomp * vkorg = ld_vkorg * vtweg = ld_vtweg * spart = ld_spart * trtyp = ld_trtyp CHANGING inhaltskom = ld_inhaltskom EXCEPTIONS NO_INHKO_SELECTED = 1 NO_INHKTYP_AS_INPUT = 2 . " ISP_F4_FOR_INHKO
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "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_inhaltskom | TYPE JJTIKO-INHALTSKOM , |
| ld_xinhktyp_rubrik | TYPE JPAM_XFELD_VAR , |
| ld_xinhktyp_ressort | TYPE JPAM_XFELD_VAR , |
| ld_xinhktyp_sv | TYPE JPAM_XFELD_VAR , |
| ld_xinhktyp_nocomp | TYPE JPAM_XFELD_VAR , |
| ld_vkorg | TYPE JJTIKOVB-VKORG , |
| ld_vtweg | TYPE JJTIKOVB-VTWEG , |
| ld_spart | TYPE JJTIKOVB-SPART , |
| ld_trtyp | TYPE TJ180-TRTYP . |
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 ISP_F4_FOR_INHKO or its description.
ISP_F4_FOR_INHKO - IS-M/AM: F4 Help for Content Component ISP_F4_FOR_BELEINH_ONE_POSART - IS-M/AM: F4 Help for Booking Unit for One or All Item Types ISP_F4_FOR_BELEINH_MULT_POSART - IS-M/AM: F4 Help for Booking Unit for Several Item Types ISP_F4_FOR_BELEINH - IS-M/AM: F4 Help for Booking Unit ISP_EXT_ADPRODORDER_SAVE - TS Accesses IS-M/AM and Transfers Data for an External Order ISP_EXPORT_DATA_FOR_FASTPOS - IS-M/AM: Data Transfer for Ad Item Classified Entry