SAP Reports / Programs

RHPM_EXCEL_VERSIONING SAP ABAP Report - RHPMEXCELVERSIONING







RHPM_EXCEL_VERSIONING is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Versioning Support of Excel Communication This program contains activities that are necessary for versioning...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 RHPM_EXCEL_VERSIONING 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 RHPM_EXCEL_VERSIONING. "Basic submit
SUBMIT RHPM_EXCEL_VERSIONING AND RETURN. "Return to original report after report execution complete
SUBMIT RHPM_EXCEL_VERSIONING 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: PA_NIED = D Lower Classification
Selection Text: PA_NDUR = D Interrupted
Selection Text: PA_NADA = D Inadequate
Selection Text: PA_MEHR = D Sev.times
Selection Text: PA_KOSTL = D Cost Center
Selection Text: PA_KEY = D Object Key
Selection Text: PA_ISTA2 = D Status
Selection Text: PA_ISTA1 = D Status
Selection Text: PA_HOEH = D Higher Classification
Selection Text: PA_FYEAR = D Fiscal Year
Selection Text: PA_FORM = D Form
Selection Text: PA_FINYR = D Financial Year
Selection Text: PA_FINY1 = D Comparison Year
Selection Text: PA_FINAN = D Financing details
Selection Text: PA_FIKRS = D Financial management area
Selection Text: PA_FALL = D Case Groups/Catalog
Selection Text: PA_ENDDA = D End Date
Selection Text: PA_EINF = D once
Selection Text: PA_DURC = D Continuous
Selection Text: PA_BEGDA = D Start Date
Selection Text: PA_BEFR = D Limited
Selection Text: PA_ANSA = D Budget estimate
Selection Text: PA_OTEXT = D Object Type Name
Selection Text: WERKS = D Personnel Area
Selection Text: SUBTY2 = D Subtype
Selection Text: SUBTY1 = D Subtype
Selection Text: SO_PERIV = D Fiscal Year Variant
Selection Text: SO_OBJID = Budget structure element
Selection Text: SO_GEBER = D Fund
Selection Text: SO_FISTL = D Funds Center
Selection Text: SO_FIPEX = D Commitment Item
Selection Text: SO_DESCR = D Subtype
Selection Text: PERSK = D Employee Subgroup
Selection Text: PERSG = D Employee Group
Selection Text: PA_WORK = D Working Time
Selection Text: PA_VINT = D Internal rules
Selection Text: PA_UNBE = D Unlimited
Selection Text: PA_TARIF = D Pay Scale Info.





Selection Text: PA_STAG = D Key Date
Selection Text: PA_SHORT = D Object Abbreviation
Selection Text: PA_PRSTD = D Print (standard)
Selection Text: PA_PRSCR = D Print in SAPscript
Selection Text: PA_PLVAR = D Plan Variant
Selection Text: PA_PERS = D Personal Data
Selection Text: PA_OTYPE = D Object Type
Selection Text: PA_ANAL = D Same
Selection Text: PA_ADAQ = D Adequate
Selection Text: PA_ABWE = D Alternat.
Selection Text: PA_2YEAR = D Comparison Year
Selection Text: MOLGA = D Country Grouping
Selection Text: BUKRS = D Company Code
Selection Text: BTRTL = D Personnel Subarea
Text Symbol: HHE = BS Element
Text Symbol: FIN = Status
Text Symbol: FI2 = Fin.
Text Symbol: ERR = Excel file not found/locked for BS element
Text Symbol: EIN = Initial Object
Text Symbol: DES = Selection of Description
Text Symbol: BES = Description
Text Symbol: ART = Staffing/financing types
Text Symbol: AN2 = OrgBdgt New
Text Symbol: AMP = Selection financing status
Text Symbol: ALL = Select All
Text Symbol: ADD = Also output
Text Symbol: ACC = FM acct assignment
Text Symbol: 107 = Financial Year
Text Symbol: 101 = Financing in Orgstruct
Text Symbol: 100 = Financing details
Text Symbol: 003 = Selection by
Text Symbol: 002 = Account Assignment
Text Symbol: 001 = Fiscal year variant
Text Symbol: KEY = Object Key
Text Symbol: MGK = Restriction according to employee attributes
Text Symbol: NAL = Deselect All
Text Symbol: NIX = No pay scale classification exists
Text Symbol: OB1 = Position
Text Symbol: OB2 = Person





Text Symbol: OBJ = Objects
Text Symbol: PAG = Page
Text Symbol: PLA = Plan Status
Text Symbol: POF = Print options from
Text Symbol: PRN = Print Options
Text Symbol: PRO = Log
Text Symbol: RUN = Rounding
Text Symbol: S01 = Original budget was transferred
Text Symbol: S02 = Error during transfer of original budget
Text Symbol: S03 = Original budget was already updated
Text Symbol: SHT = Object Abbreviation
Text Symbol: SUM = Total
Text Symbol: TIM = Evaluation Period


INCLUDES used within this REPORT RHPM_EXCEL_VERSIONING

INCLUDE RHPM_EXCEL_VERSIONING_TOP.
INCLUDE RHPMRSEL.
INCLUDE RHPMALV.


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:

RH_PM_GET_BUDGET_TYPE CALL FUNCTION 'RH_PM_GET_BUDGET_TYPE' EXPORTING plvar = pa_plvar * OTYPE = 'BU' objid = ld_objid status = gd_istat begda = gd_begda endda = gd_endda IMPORTING return_1500 = ls_1500 EXCEPTIONS OTHERS = 0.

ENQUEUE_EHPLOGIE CALL FUNCTION 'ENQUEUE_EHPLOGIE' EXPORTING mode_plogi = 'X' * MANDT = SY-MANDT plvar = gd_plvar otype = objec-otype objid = objec-objid * X_PLVAR = ' ' * X_OTYPE = ' ' * X_OBJID = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS * FOREIGN_LOCK = 1 * SYSTEM_FAILURE = 2 OTHERS = 1.

RH_PM_DEQUEUE CALL FUNCTION 'RH_PM_DEQUEUE' EXPORTING act_plvar = gd_plvar act_otype = ls_objec-otype act_objid = ls_objec-objid.

RH_PM_DEQUEUE CALL FUNCTION 'RH_PM_DEQUEUE' EXPORTING act_plvar = gd_plvar act_otype = con_bu act_objid = ls_objec-objid.

RH_PM_READ_INFTY CALL FUNCTION 'RH_PM_READ_INFTY' EXPORTING act_plvar = gd_plvar act_otype = con_bu act_objid = objec-objid act_begda = gd_begda act_endda = gd_endda * ACT_ISTAT = '1' act_infty = '1517' * ACT_SUBTY = * AUTHORITY = 'DISP' * BUFFER_MODE = TABLES innnn = lt_1517 EXCEPTIONS OTHERS = 1.



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