SAP Reports / Programs

RTPM_TRL_SHOW_POSITION_VALUES SAP ABAP Report - Subledger Positions







RTPM_TRL_SHOW_POSITION_VALUES is a standard Executable ABAP Report 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 RTPM_TRL_SHOW_POSITION_VALUES into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

TPM12 - Treasury Ledger: Position List


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 RTPM_TRL_SHOW_POSITION_VALUES. "Basic submit
SUBMIT RTPM_TRL_SHOW_POSITION_VALUES AND RETURN. "Return to original report after report execution complete
SUBMIT RTPM_TRL_SHOW_POSITION_VALUES VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: SO_EXTAC = External Account (Pos)
Selection Text: SO_EADEA = External Account
Selection Text: SO_EACUR = Currency
Selection Text: SO_CHAR = D .
Selection Text: SO_BUKRS = D .
Selection Text: SO_ASS = D .
Selection Text: SO_AKTIV = D .
Selection Text: SO_ACGRP = D .
Selection Text: P_SKFLG = Amount Scaling Is Active
Selection Text: P_SKALV = D .
Selection Text: P_SEC =
Selection Text: P_POS =
Selection Text: P_LOA =
Selection Text: P_DECIM = Decimal Places
Selection Text: P_DEA =
Selection Text: PM_VAR = Layout
Selection Text: PM_RTYPE = Rate Type for Transl. to VC
Selection Text: PM_RHAPL = Sec. Stock Exchange (Optional)
Selection Text: PM_POD = Selection by Posting Date
Selection Text: PM_PLA = Include Planned Data
Selection Text: PM_NOZ = No Zero Positions
Selection Text: PM_KSART = Sec. Price Type (Optional)
Selection Text: PM_DATE = D .
Selection Text: SO_VORG = D .
Selection Text: SO_VCLS = D .
Selection Text: SO_VAREA = D .
Selection Text: SO_TTYPE = D .
Selection Text: SO_TID = D .
Selection Text: SO_SECAC = D .
Selection Text: SO_RANLP = D .
Selection Text: SO_RANL = D .
Selection Text: SO_PT = D .
Selection Text: SO_POSAC = D .
Selection Text: SO_PORTF = D .
Selection Text: SO_PFOTC = D .
Selection Text: SO_OTCNR = D .
Selection Text: SO_MAAGR = D .
Selection Text: SO_LOANR = D .





Selection Text: SO_KONTR = D .
Selection Text: SO_INREF = D .
Selection Text: SO_GRANT = D .
Selection Text: SO_FUND = D .
Selection Text: SO_FLGSH = D .
Selection Text: SO_FINPR = D .
Selection Text: SO_FCBKS = D .
Selection Text: SO_FAC = D .
Title: Subledger Positions
Text Symbol: SEC = Securities
Text Symbol: SCA = Amount Scaling
Text Symbol: RPA = Additional Attributes
Text Symbol: PRD = Product Groups
Text Symbol: 106 = Include Planned Data
Text Symbol: 105 = No Zero Positions
Text Symbol: 104 = Selection by Posting Date
Text Symbol: 103 = OTC transaction; New subscreen has been added in the same screen
Text Symbol: 102 = Listed derivatives; New subscreen has been added in the same screen
Text Symbol: 101 = Loans; New subscreen has been added in the same screen
Text Symbol: 100 = Securities; New subscreen has been added in the same screen
Text Symbol: 087 = Position Components
Text Symbol: 055 = Market Crcy
Text Symbol: 054 = Market Values
Text Symbol: 053 = Text Prod. Type
Text Symbol: 052 = Text Nationality
Text Symbol: 051 = Positions in red are not up-to-date
Text Symbol: 023 = List of Position Values for Key Date
Text Symbol: 017 = Text Quotation Indicator
Text Symbol: 016 = Text Indust.
Text Symbol: 015 = Text Legal Entity
Text Symbol: 014 = Long Description ID Number
Text Symbol: 013 = Short Description ID Number
Text Symbol: 010 = Display Subpositions
Text Symbol: 009 = Text Contract No.
Text Symbol: 008 = Text Position Status
Text Symbol: 007 = Text Long/Short Indicators
Text Symbol: 006 = Text Bal.Sh. Disp.
Text Symbol: 005 = Text Stock Cat.
Text Symbol: POS = Listed Derivatives





Text Symbol: LOA = Loans
Text Symbol: LIS = Control Parameters
Text Symbol: GDD = MM, Forex, OTC Derivatives
Text Symbol: EXA = External Accounts
Text Symbol: DEA = OTC Transactions
Text Symbol: DAT = Key Date
Text Symbol: CMN = General Selections
Text Symbol: 410 = Scaling:
Text Symbol: 303 = Origin
Text Symbol: 302 = Messages by Origin
Text Symbol: 301 = Messages
Text Symbol: 300 = Determination of Position Values
Text Symbol: 211 = Average Rate Book Value VC
Text Symbol: 210 = Average Rate Acq. Value VC
Text Symbol: 205 = Average Rate Book Value PC
Text Symbol: 203 = Average Rate Acquisition Value PC
Text Symbol: 179 = Sec.Pr.Typ
Text Symbol: 178 = Sec. Exchange
Text Symbol: 175 = MarketRate
Text Symbol: 174 = Rate
Text Symbol: 162 = Amortization Procedure Text
Text Symbol: 160 = Rate Type
Text Symbol: 149 = Text:Portfolio
Text Symbol: 107 = Amount Scaling Is Active


INCLUDES used within this REPORT RTPM_TRL_SHOW_POSITION_VALUES

INCLUDE TPM_TRL_PROTOCOLSOO1.
INCLUDE RTPM_TRL_SHOW_POSITION_VALTOP.
INCLUDE ITPM_POSITION_SELECTION.


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:

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = lv_wrk_variant i_save = 'A' IMPORTING e_exit = lv_exit es_variant = lv_wrk_variant EXCEPTIONS not_found = 1.

FTR_GDPDU_USER_EXISTS CALL FUNCTION 'FTR_GDPDU_USER_EXISTS' EXCEPTIONS not_tax_auditor = 1 OTHERS = 2.

FTR_GDPDU_CHECK_DATES CALL FUNCTION 'FTR_GDPDU_CHECK_DATES' EXPORTING im_rng_company_code = so_bukrs[] im_user = sy-uname im_program = sy-cprog IMPORTING ex_flg_tax_auditor = lv_flg_tax_auditor CHANGING ch_rng_date = lv_rng_date EXCEPTIONS no_authority = 1 wrong_input = 2 OTHERS = 3.

FTR_GDPDU_ACTIONLOG CALL FUNCTION 'FTR_GDPDU_ACTIONLOG'.

GET_LOT_ATTR_BY_TRANS_ID CALL FUNCTION 'GET_LOT_ATTR_BY_TRANS_ID' EXPORTING im_rng_company_code = so_bukrs[] im_rng_deal = so_tid[] IMPORTING ex_rng_deal = so_ltf[].




TPM_PULL_POSITION_VALUES CALL FUNCTION 'TPM_PULL_POSITION_VALUES' EXPORTING iv_date = pm_date iv_no_zeros = pm_noz iv_with_planned = pm_pla iv_by_posting_date = pm_pod iv_rhandpl = pm_rhapl iv_price_type = pm_ksart iv_rate_type = pm_rtype it_position_guid = lt_position_guid_pck TABLES et_position_value_attr_txt = lt_position_value_attr_txt et_subpos_value_attr_txt = lt_subpos_value_attr_txt.

TPM_PULL_POSITION_VALUES CALL FUNCTION 'TPM_PULL_POSITION_VALUES' STARTING NEW TASK cl_fti_parallelization_service=>gv_taskname DESTINATION IN GROUP ls_groupname PERFORMING mt_receive_positions ON END OF TASK EXPORTING iv_date = pm_date iv_no_zeros = pm_noz iv_with_planned = pm_pla iv_by_posting_date = pm_pod iv_rhandpl = pm_rhapl iv_price_type = pm_ksart iv_rate_type = pm_rtype it_position_guid = lt_position_guid_pck EXCEPTIONS import_not_sufficient = 1 communication_failure = 2 system_failure = 3 resource_failure = 4 OTHERS = 5.



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 RTPM_TRL_SHOW_POSITION_VALUES or its description.