SAP Reports / Programs | Periodical Sales and Distribution | SAP Media | Periodical Sales and Distribution(IS-M-SD-PS) SAP IS

RJLPRO02 SAP ABAP Report - IS-M/SD: Print Program for Commission Settlement for Service Company







RJLPRO02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program is a print report used to print out commission settlement for a service company with a SAPscript form by means of output control...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 RJLPRO02 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 RJLPRO02. "Basic submit
SUBMIT RJLPRO02 AND RETURN. "Return to original report after report execution complete
SUBMIT RJLPRO02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: IS-M/SD: Print Program for Commission Settlement for Service Company
Text Symbol: M07 = Error during output of text element
Text Symbol: M08 = Return Code
Text Symbol: M09 = Error while closing
Text Symbol: M10 = Form:
Text Symbol: M11 = Error occurred during text output
Text Symbol: M01 = Error occurred while opening form
Text Symbol: E05 = Error occurred while reading settlement number
Text Symbol: E30 = Error in address formatting for commission recipient/settlement no.
Text Symbol: E31 = Error in address for alternative payee/settlement no.
Text Symbol: E32 = No conditions for printing/settlement no./item no.
Text Symbol: E33 = Error reading address for employee/settlement no./item no.
Text Symbol: E98 = Address of sales organization not maintained


INCLUDES used within this REPORT RJLPRO02

INCLUDE MJ000TAL.
INCLUDE MJO00T02.
INCLUDE MJG00TRO.
INCLUDE MJG00TAD.
INCLUDE MJK00TKO.
INCLUDE MJV00T15.
INCLUDE MJV00T17.
INCLUDE MJY00TPR.
INCLUDE MJO0FA02.
INCLUDE MJV00F15.
INCLUDE MJY00F03.
INCLUDE MJY00FPR.
INCLUDE MJK00FPR.
INCLUDE MJL00FPR.


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:

ISP_SELECT_SINGLE_TJGA3 call function 'ISP_SELECT_SINGLE_TJGA3' exporting jparvw = con_ro_rechsteller msgty = '*' tdform = tnapr-fonam importing meldung = meldung tjga3_i = tjga3 exceptions no_entry_found = 01.

ISP_ADDRESSES_READ call function 'ISP_ADDRESSES_READ' exporting anf_dat = sy-datum end_dat = sy-datum sel_gpnr = jlrk-gpnr_ze sel_rolle = con_ro_zahlungsempf tables iaddres2 = adrs_tab exceptions no_gpnr = 01 no_rolle = 02 no_adr = 03.

CONTROL_FORM call function 'CONTROL_FORM' exporting command = 'PROTECT'.

CONTROL_FORM call function 'CONTROL_FORM' exporting command = 'ENDPROTECT'.

ISP_SERVICE_ACCOUNT_DOC_READ call function 'ISP_SERVICE_ACCOUNT_DOC_READ' exporting jlrk_i = jlrk msgty = con_msg_extern no_nast = con_angekreuzt importing jlrk_e = jlrk src = retcode tables xjlfs = jlfs_tab xjlpa = jlpa_tab xjlrk = jlrk_tab xjlrp = jlrp_tab xkomlk = komlk_tab xkomv = tkomv.

ISP_SELECT_SINGLE_T001 call function 'ISP_SELECT_SINGLE_T001' exporting bukrs = jlrk-bukrs importing t001_i = t001 exceptions no_entry_found = 1.

RV_PRICE_PRINT_REFRESH call function 'RV_PRICE_PRINT_REFRESH' tables tkomv = tkomv.

ISP_SELECT_SINGLE_T001 * CALL FUNCTION 'ISP_SELECT_SINGLE_T001' * EXPORTING * BUKRS = JLRK-BUKRS * IMPORTING * T001_I = L_T001 * EXCEPTIONS * OTHERS = 0.

RV_PRICE_PRINT_ITEM call function 'RV_PRICE_PRINT_ITEM' exporting comm_head_i = komk comm_item_i = komp language = jgtsadr-spras importing comm_head_e = komk * COMM_ITEM_I = KOMP comm_item_e = komp tables tkomv = tkomv tkomvd = tkomvd.

ISP_SELECT_SINGLE_T001 * CALL FUNCTION 'ISP_SELECT_SINGLE_T001' * EXPORTING * BUKRS = JLRK-BUKRS * IMPORTING * T001_I = L_T001 * EXCEPTIONS * OTHERS = 0.

RV_PRICE_PRINT_HEAD call function 'RV_PRICE_PRINT_HEAD' exporting comm_head_i = komk language = jgtsadr-spras importing comm_head_e = komk comm_mwskz = print_mwskz tables tkomv = tkomv tkomvd = hkomvd.

ISP_SELECT_SINGLE_TJGA3 call function 'ISP_SELECT_SINGLE_TJGA3' exporting jparvw = con_ro_leistungserbr msgty = '*' tdform = tnapr-fonam importing meldung = meldung tjga3_i = tjga3 exceptions no_entry_found = 01.

CONTROL_FORM call function 'CONTROL_FORM' exporting command = 'PROTECT' exceptions unopened = 01 unstarted = 02.

CONTROL_FORM call function 'CONTROL_FORM' exporting command = 'ENDPROTECT'.



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