FKK_OPEN_ITEM_SELECT_WITH_DATE 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 FKK_OPEN_ITEM_SELECT_WITH_DATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FKKOP03
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FKK_OPEN_ITEM_SELECT_WITH_DATE' "
EXPORTING
i_key_date = " op_keydate_kk Key Date for Analysis of Open Items
* i_gpart = " fkk_rt_gpart Range Table GPART
* i_bukrs = " fkk_rt_bukrs Range Table Company Code
* i_gsber = " fkk_rt_gsber Range Table GSBER
* i_segment = " fkk_rt_segment Range Table Segment for Segmental Reporting
* i_hkont = " fkk_rt_hkont Range Table HKONT
* i_funcname = " funcname Function to Be Executed
* i_fields = " fkk_fields Field Names
* i_with_instpln = " xfeld Installment Plan has Priority
* i_with_collbill = " xfeld Collective Invoice has Priority
* i_no_otherstat = 'X' " xfeld No Oth. Statistical Items
* i_no_downpay = " xfeld
* i_vkont = " fkk_rt_vkont Range Table VKONT
* i_vtref = " fkk_rt_vtref Range Table Type VTREF
* i_with_opbuk = " xfeld
* i_no_augh = " xfeld Ignore Clearing History
* i_allitems = " xfeld
* TABLES
* t_op = " fkkop_copy
. " FKK_OPEN_ITEM_SELECT_WITH_DATE
The ABAP code below is a full code listing to execute function module FKK_OPEN_ITEM_SELECT_WITH_DATE 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).
| it_t_op | TYPE STANDARD TABLE OF FKKOP_COPY,"TABLES PARAM |
| wa_t_op | LIKE LINE OF it_t_op . |
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_i_key_date | TYPE OP_KEYDATE_KK , |
| it_t_op | TYPE STANDARD TABLE OF FKKOP_COPY , |
| wa_t_op | LIKE LINE OF it_t_op, |
| ld_i_gpart | TYPE FKK_RT_GPART , |
| ld_i_bukrs | TYPE FKK_RT_BUKRS , |
| ld_i_gsber | TYPE FKK_RT_GSBER , |
| ld_i_segment | TYPE FKK_RT_SEGMENT , |
| ld_i_hkont | TYPE FKK_RT_HKONT , |
| ld_i_funcname | TYPE FUNCNAME , |
| ld_i_fields | TYPE FKK_FIELDS , |
| ld_i_with_instpln | TYPE XFELD , |
| ld_i_with_collbill | TYPE XFELD , |
| ld_i_no_otherstat | TYPE XFELD , |
| ld_i_no_downpay | TYPE XFELD , |
| ld_i_vkont | TYPE FKK_RT_VKONT , |
| ld_i_vtref | TYPE FKK_RT_VTREF , |
| ld_i_with_opbuk | TYPE XFELD , |
| ld_i_no_augh | TYPE XFELD , |
| ld_i_allitems | TYPE XFELD . |
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 FKK_OPEN_ITEM_SELECT_WITH_DATE or its description.