SAP Reports / Programs | SAP Media | SAP Media(IS-M) SAP IS

J_1SMADR SAP ABAP Report - IS-M/SD CH/F: Print Dunning Notices







J_1SMADR 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 J_1SMADR 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 J_1SMADR. "Basic submit
SUBMIT J_1SMADR AND RETURN. "Return to original report after report execution complete
SUBMIT J_1SMADR 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 CH/F: Print Dunning Notices
Text Symbol: 010 = Other form still active
Text Symbol: 011 = Return Code
Text Symbol: 012 = Error in text output
Text Symbol: 013 = Doc.number does not exist
Text Symbol: 014 = Payer does not exist
Text Symbol: 015 = for doc.
Text Symbol: 016 = Customer No.
Text Symbol: 009 = Options invalid
Text Symbol: 001 = Error during WRITE_FORM
Text Symbol: 002 = with return code
Text Symbol: 003 = Error while closing
Text Symbol: 004 = Form:
Text Symbol: 005 = Error while opening form
Text Symbol: 006 = Print dialog cancelled
Text Symbol: 007 = Invalid device type
Text Symbol: 008 = Form does not exist


INCLUDES used within this REPORT J_1SMADR

INCLUDE MJ000TAL. " ED
INCLUDE MJG00T01. " EC
INCLUDE MJG00TRO. " EC
INCLUDE MJY00TPR. " EC
INCLUDE MJV00T15. " EC
INCLUDE MJV00T17. " EC


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_ADDRESS_READ CALL FUNCTION 'ISP_ADDRESS_READ' EXPORTING ADRNR_IN = TJFPA-ADRNR IMPORTING SADRWA_OUT = *JGTSADR EXCEPTIONS NOT_FOUND = 01.

ISP_ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ISP_ADDRESS_INTO_PRINTFORM' EXPORTING ANSCHR_TYP = ANSCHR_TYP FLG_NAMENSZUS = CON_ANGEKREUZT SADRWA_IN = *JGTSADR ZEILENZAHL = CON_ZEILEN_ADRESSE IMPORTING SADRWA_OUT = ADRS.

ISP_ADDRESSES_READ CALL FUNCTION 'ISP_ADDRESSES_READ' EXPORTING ANF_DAT = SY-DATUM END_DAT = SY-DATUM SEL_GPNR = JFRK-KUNRG SEL_ROLLE = CON_RO_REGULIERER TABLES IADDRES2 = ADRS_TAB EXCEPTIONS NO_GPNR = 01 NO_ROLLE = 02 NO_ADR = 03.

CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING COMMAND = DEFVAR.

CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING COMMAND = DEFVAR.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' EXCEPTIONS OTHERS = 1.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING FORM = TNAPR-FONAM LANGUAGE = *jgtsadr-SPRAS OPTIONS = ITCPO DEVICE = XDEVICE DIALOG = ' ' EXCEPTIONS OTHERS = 1.

ISP_INVOICE_READ CALL FUNCTION 'ISP_INVOICE_READ' EXPORTING COMWA = VBCO3 IMPORTING KOPF = JFRK TABLES PARTNER = TJFPA POS = TJFRP EXCEPTIONS INVOICE_NOT_FOUND = 4.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = P_ELEMENT FUNCTION = 'SET' TYPE = 'BODY' WINDOW = 'MAIN' EXCEPTIONS ELEMENT = 01 FUNCTION = 02 TYPE = 03 UNOPENED = 04 UNSTARTED = 05 WINDOW = 06.



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