SAPDBWUF is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Determinination of securities positions in a securities account on a key date...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter SAPDBWUF 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.
Selection Text: SO_BUKRS = D Company code
Selection Text: SO_RANL = D ID number
Selection Text: SO_RLDPO = D Securities account
Text Symbol: R01 = General selections
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ORDER_DATA_RANGES_READ_SEC CALL FUNCTION 'ORDER_DATA_RANGES_READ_SEC' * exporting * I_DELETED_ENTRIES = ' ' TABLES I_RANGE_BUKRS = SO_BUKRS * I_RANGE_NORDER = * I_RANGE_DORDER = * I_RANGE_INTEB = I_RANGE_RANL = SO_RANL * I_RANGE_RDEALER = I_RANGE_RLDEPO = SO_RLDPO * I_RANGE_SBEWART = * I_RANGE_SBEWZITI = E_VWORDE = H_VWORDE EXCEPTIONS NO_ENTRY_FOUND = 1 OTHERS = 2.
ACCUMULATION_DEPOT * CALL FUNCTION 'ACCUMULATION_DEPOT' * EXPORTING * BUKRS = VWPDEPO-BUKRS * DBESTAND = SY-DATUM * JNULLB = 0 * RANL = VWPDEPO-RANL * RLDEPOT = VWPDEPO-RLDEPO * IMPORTING * ANZAH = NUM * TABLES * I_TVWBEVI = IT_VWBEVI * O_REVALB = IT_REVALB.
BPAR_R_PARTNER_CHECK CALL FUNCTION 'BPAR_R_PARTNER_CHECK' EXPORTING PARTNER = VWPANLA-REPKE * RELEASE = ' ' IMPORTING BP000_ENTRY = BP000 EXCEPTIONS PARTNER = 1 PARTNER_NOT_RELEASED = 2 OTHERS = 3.
PARTNER_SELECT * call function 'PARTNER_SELECT' * EXPORTING * DATE_IN = SY-DATUM * FUNCTION = 'P' * PARTWA_IN = PARTWA_IN * IMPORTING * PARTWA_OUT = SPRT1 * PARZJ_OUT = VZPARZJ * EXCEPTIONS * ILLEGAL_ADRTYP = 01 * ILLEGAL_BZTYP = 02 * ILLEGAL_FUNCTION = 03 * ILLEGAL_PARTTYP = 04 * ILLEGAL_ROLL = 05 * NO_PARTNER_SELECTED = 06 * PARTNER_NOT_FOUND = 07 * PARTNER_ROLL_NOT_FOUND = 08.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.