SAP Reports / Programs

RJHAGVX_MAINTAIN SAP ABAP Report - IS-M/AM: Maintain Sales Agent Settlement Index







RJHAGVX_MAINTAIN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program allows you to analyze the sales agent settlement index and correct this if necessary...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 RJHAGVX_MAINTAIN 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 RJHAGVX_MAINTAIN. "Basic submit
SUBMIT RJHAGVX_MAINTAIN AND RETURN. "Return to original report after report execution complete
SUBMIT RJHAGVX_MAINTAIN 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: AUBEL = D Order
Selection Text: XUPDATE = Update Changes
Selection Text: X_GVXA = Display All Indices
Selection Text: X_GVXD = Only Display Alternat.Indices
Selection Text: X_GVXN = Do not Display Indices
Selection Text: X_GVZ = Display Sales Agent Assignment
Selection Text: X_HIST = Display Settlement History
Selection Text: X_HOEP = Header on Every Page
Selection Text: X_PRED = Display Preceding Doc.
Selection Text: AUGRP = D Billing Dataset
Selection Text: AUPOS = D Item
Selection Text: BEDNR = D Requirement Number
Selection Text: MAXFAE = Max. Number (FOR ALL ENTRIES)
Selection Text: PROVTYP = D Commission Category
Selection Text: VERM = D Sales Agent
Selection Text: VKORG = D Sales Organization
Selection Text: VNR = D Sales Agent Contract
Title: IS-M/AM: Maintain Sales Agent Settlement Index
Text Symbol: D01 = JHAGVX for Order
Text Symbol: D02 = - Deleted =
Text Symbol: D03 = , Inserted =
Text Symbol: D04 = , Changed =
Text Symbol: SEL = Restrict Selection
Text Symbol: STE = Control Program Execution
Text Symbol: 001 = SAgt Assgn
Text Symbol: 002 = Prec.Doc.
Text Symbol: 004 = SASettItem
Text Symbol: 005 = GVX (New)
Text Symbol: 006 = GVX (DB)
Text Symbol: 007 = PrecBillDc
Text Symbol: 008 = Leg.Order
Text Symbol: 009 = GVX (DEL)


INCLUDES used within this REPORT RJHAGVX_MAINTAIN

INCLUDE MJ001TAL.
INCLUDE MJH0TA03.
INCLUDE MJH02T03.
INCLUDE MJH00TVX.
INCLUDE MJJ00T16.
INCLUDE MJ_AVMPOS_ART.




INCLUDE MJ_DBCODE.
INCLUDE MJ_ISMSTAFI.
INCLUDE MJ_JHOBJKT.
INCLUDE MJ_ON_OFF.
INCLUDE MJ_SEU_COLOR.
INCLUDE MJ_STATUSK.
INCLUDE MJ_TVARV_OPTI.
INCLUDE MJ_TVARV_SIGN.
INCLUDE MJ_UPDKZ_D.
INCLUDE MJHAGVX2.


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:

ISPAM_DOC_FLOW_OBJECT_SHOW call function 'ISPAM_DOC_FLOW_OBJECT_SHOW' exporting iv_objkt = con_objkt_auftragskopf iv_vbeln = gs_hide-avm_nr.

ISPAM_DOC_FLOW_OBJECT_SHOW call function 'ISPAM_DOC_FLOW_OBJECT_SHOW' exporting iv_objkt = con_objkt_auftragspos iv_vbeln = gs_hide-avm_nr iv_posnr = gs_hide-pos_nr.

ISPAM_DOC_FLOW_OBJECT_SHOW call function 'ISPAM_DOC_FLOW_OBJECT_SHOW' exporting iv_objkt = con_objkt_gruppfakt iv_vbeln = gs_hide-avm_nr iv_posnr = gs_hide-pos_nr iv_grpnr = gs_hide-gruppabrnr.

ISPAM_DOC_FLOW_OBJECT_SHOW call function 'ISPAM_DOC_FLOW_OBJECT_SHOW' exporting iv_objkt = con_objkt_faktura iv_vbeln = gs_hide-vbeln.

ISPAM_DOC_FLOW_OBJECT_SHOW call function 'ISPAM_DOC_FLOW_OBJECT_SHOW' exporting iv_objkt = con_objkt_fakturapos iv_vbeln = gs_hide-vbeln iv_posnr = gs_hide-posnr.

ISPAM_DOC_FLOW_OBJECT_SHOW call function 'ISPAM_DOC_FLOW_OBJECT_SHOW' exporting iv_objkt = con_objkt_mv_vertrag iv_vbeln = gs_hide-vnr.

ISPAM_DOC_FLOW_OBJECT_SHOW call function 'ISPAM_DOC_FLOW_OBJECT_SHOW' exporting iv_objkt = con_objkt_faktura iv_vbeln = gs_hide-vgbel.

ISPAM_DOC_FLOW_OBJECT_SHOW call function 'ISPAM_DOC_FLOW_OBJECT_SHOW' exporting iv_objkt = con_objkt_auftragskopf iv_vbeln = gs_hide-vgbel.

ISPAM_DOC_FLOW_OBJECT_SHOW call function 'ISPAM_DOC_FLOW_OBJECT_SHOW' exporting iv_objkt = gs_hide-vgobj iv_vbeln = gs_hide-vgbel iv_posnr = gs_hide-vgpos iv_grpnr = gs_hide-vgete.

ISPAM_DOC_FLOW_OBJECT_SHOW call function 'ISPAM_DOC_FLOW_OBJECT_SHOW' exporting iv_objkt = con_objkt_faktura iv_vbeln = gs_hide-ref_vbeln.

ISPAM_DOC_FLOW_OBJECT_SHOW call function 'ISPAM_DOC_FLOW_OBJECT_SHOW' exporting iv_objkt = con_objkt_fakturapos iv_vbeln = gs_hide-ref_vbeln iv_posnr = gs_hide-ref_posnr.

HELP_OBJECT_SHOW call function 'HELP_OBJECT_SHOW' exporting dokclass = con_na_dokclass doklangu = sy-langu dokname = lv_dokname doktitle = lv_title msg_var_1 = lv_msgv1 msg_var_2 = lv_msgv2 msg_var_3 = lv_msgv3 msg_var_4 = lv_msgv4 short_text = con_angekreuzt tables links = lt_dmy_links exceptions others = 0.

DDIF_FIELDINFO_GET call function 'DDIF_FIELDINFO_GET' exporting tabname = 'JHAGVZ' * FIELDNAME = ' ' * LANGU = SY-LANGU tables dfies_tab = lt_dfies.

DDIF_FIELDINFO_GET





call function 'DDIF_FIELDINFO_GET' exporting tabname = 'RJHAGVXVB' * FIELDNAME = ' ' * LANGU = SY-LANGU tables dfies_tab = lt_dfies.

DDIF_FIELDINFO_GET call function 'DDIF_FIELDINFO_GET' exporting tabname = 'JHTFP' * FIELDNAME = ' ' * LANGU = SY-LANGU tables dfies_tab = lt_dfies.

DDIF_FIELDINFO_GET call function 'DDIF_FIELDINFO_GET' exporting tabname = 'JHTFK' * FIELDNAME = ' ' * LANGU = SY-LANGU tables dfies_tab = lt_dfies.



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