PCGETVE0 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 PCGETVE0 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HRVE_GET_CURRENCY call function 'HRVE_GET_CURRENCY' exporting iv_currency_determination_date = p0399-endda IMPORTING EV_CURRENCY = lv_currency EV_CURRENCY_RATE_DATE = lv_currency_rate_date ev_error_text = lv_error_text EXCEPTIONS ERROR = 1 OTHERS = 2 .
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting * CLIENT = SY-MANDT date = lv_currency_rate_date foreign_amount = p0399-REMUN foreign_currency = lv_currency local_currency = calc_currency * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = p0399-REMUN * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = * EXCEPTIONS * NO_RATE_FOUND = 1 * OVERFLOW = 2 * NO_FACTORS_FOUND = 3 * NO_SPREAD_FOUND = 4 * DERIVED_2_TIMES = 5 * OTHERS = 6 .
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting * CLIENT = SY-MANDT date = lv_currency_rate_date foreign_amount = p0399-TAXDE foreign_currency = lv_currency local_currency = calc_currency * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = p0399-TAXDE * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = * EXCEPTIONS * NO_RATE_FOUND = 1 * OVERFLOW = 2 * NO_FACTORS_FOUND = 3 * NO_SPREAD_FOUND = 4 * DERIVED_2_TIMES = 5 * OTHERS = 6 .
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting * CLIENT = SY-MANDT date = lv_currency_rate_date foreign_amount = p0399-TXDAD foreign_currency = lv_currency local_currency = calc_currency * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = p0399-TXDAD * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = * EXCEPTIONS * NO_RATE_FOUND = 1 * OVERFLOW = 2 * NO_FACTORS_FOUND = 3 * NO_SPREAD_FOUND = 4 * DERIVED_2_TIMES = 5 * OTHERS = 6 .
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting * CLIENT = SY-MANDT date = lv_currency_rate_date foreign_amount = p0399-OVERT foreign_currency = lv_currency local_currency = calc_currency * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = p0399-OVERT * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = * EXCEPTIONS * NO_RATE_FOUND = 1 * OVERFLOW = 2 * NO_FACTORS_FOUND = 3 * NO_SPREAD_FOUND = 4 * DERIVED_2_TIMES = 5 * OTHERS = 6 .
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting * CLIENT = SY-MANDT date = lv_currency_rate_date foreign_amount = p0399-ATAXG foreign_currency = lv_currency local_currency = calc_currency * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = p0399-ATAXG * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = * EXCEPTIONS * NO_RATE_FOUND = 1 * OVERFLOW = 2 * NO_FACTORS_FOUND = 3 * NO_SPREAD_FOUND = 4 * DERIVED_2_TIMES = 5 * OTHERS = 6 .
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting * CLIENT = SY-MANDT date = lv_currency_rate_date foreign_amount = p0399-ATAXD foreign_currency = lv_currency local_currency = calc_currency * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = p0399-ATAXD * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = * EXCEPTIONS * NO_RATE_FOUND = 1 * OVERFLOW = 2 * NO_FACTORS_FOUND = 3 * NO_SPREAD_FOUND = 4 * DERIVED_2_TIMES = 5 * OTHERS = 6 .
HR_PLOG_TEXT CALL FUNCTION 'HR_PLOG_TEXT' EXPORTING TEXT = TEXT-R10 " Error ATEXT1 = TEXT-R86 " Too many splits in table ATEXT2 = 'tax' " tax TABLES P_PTEXT = ERROR_PTEXT.
HR_PLOG_TEXT CALL FUNCTION 'HR_PLOG_TEXT' EXPORTING TEXT = TEXT-R10 " Error ATEXT1 = TEXT-R86 " Too many splits in table ATEXT2 = 'si' " si TABLES P_PTEXT = ERROR_PTEXT.
HR_PLOG_TEXT CALL FUNCTION 'HR_PLOG_TEXT' EXPORTING TEXT = TEXT-R10 " Error ATEXT1 = TEXT-R86 " Too many splits in table ATEXT2 = 'sen' " sen TABLES P_PTEXT = ERROR_PTEXT.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.