SAP Reports / Programs | Project System | Payments | Planning(PS-CAF-PLN-PLN) SAP PS

PP_KAFP_GINC SAP ABAP INCLUDE - PPKAFPGINC







PP_KAFP_GINC is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter PP_KAFP_GINC into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT PP_KAFP_GINC. "Basic submit
SUBMIT PP_KAFP_GINC AND RETURN. "Return to original report after report execution complete
SUBMIT PP_KAFP_GINC VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT PP_KAFP_GINC

INCLUDE LKPP_PSZCON.
INCLUDE LKPP_PSZGLO.
INCLUDE RKACOPER.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

DEQUEUE_ALL call function 'DEQUEUE_ALL' * EXPORTING * _SYNCHRON = ' ' .

FI_COMPANY_CODE_DATA call function 'FI_COMPANY_CODE_DATA' exporting i_bukrs = ld_bukrs importing e_t001 = ls_t001.

DATE_TO_PERIOD_CONVERT call function 'DATE_TO_PERIOD_CONVERT' exporting i_date = itdat2-pldat i_periv = ls_t001-periv importing e_gjahr = ld_gjahr.

PERIOD_DAY_DETERMINE call function 'PERIOD_DAY_DETERMINE' exporting i_gjahr = ld_gjahr i_monat = '01' i_periv = ls_t001-periv importing e_fday = itdat2-pldat.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = pldat foreign_amount = amount_source foreign_currency = currency_source local_currency = currency_target type_of_rate = kurst IMPORTING local_amount = amount_target EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 others = 6.

CONVERT_TO_FOREIGN_CURRENCY call function 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = pldat foreign_currency = currency_target local_amount = amount_source local_currency = currency_source type_of_rate = kurst IMPORTING foreign_amount = amount_target EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 others = 6.

HF_FIND_BELTP_FOR_FIPOS call function 'HF_FIND_BELTP_FOR_FIPOS' EXPORTING i_fikrs = gd_fikrs i_posit = itcofp_new-posit IMPORTING e_beltp = itcofp_new-beltp.

K_PERIODS_GET call function 'K_PERIODS_GET' EXPORTING par_igjahr = p_gjahr par_ipoper = p_perio par_kokrs = p_kokrs par_speok = 'X' IMPORTING par_fdper = ld_first par_ldper = ld_last.

K_NUMBER_GET_CO_DOCUMENT call function 'K_NUMBER_GET_CO_DOCUMENT' EXPORTING kokrs = itcofp_new-kokrs vrgng = 'FIPA' check_only = ' ' IMPORTING belnr = co_belnr EXCEPTIONS activity_invalid = 1 number_range_not_assigned = 2 others = 3.

KPFP_UPDATE_OLD_NEW_COFP call function 'KPFP_UPDATE_OLD_NEW_COFP' in update task TABLES t_cofp_new = itcofp_new t_cofp_old = itcofp_old t_cobk_new = itcobk_new t_cobk_old = itcobk_old t_only_bppe = lt_only_bppe.

HFPT_COFP_RPSCO call function 'HFPT_COFP_RPSCO' TABLES i_cofp = itcofp_old.

HFPT_COFP_RPSCO call function 'HFPT_COFP_RPSCO' TABLES i_cofp = itcofp_new.

KAFP_TR_BPXX_UPDATE_FROM_COFP call function 'KAFP_TR_BPXX_UPDATE_FROM_COFP' in update task TABLES t_cofp = itcofp_old t_fm01 = lt_fm01.

KAFP_TR_BPXX_UPDATE_FROM_COFP call function 'KAFP_TR_BPXX_UPDATE_FROM_COFP' in update task TABLES t_cofp = itcofp_new t_fm01 = lt_fm01.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name PP_KAFP_GINC or its description.