SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Address Management/Business Address(BC-SRV-ADR) SAP BC

EXADR1 SAP ABAP Report - BAS Example: Create and Display Customers







EXADR1 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 EXADR1 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 EXADR1. "Basic submit
SUBMIT EXADR1 AND RETURN. "Return to original report after report execution complete
SUBMIT EXADR1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: BAS Example: Create and Display Customers
Text Symbol: C01 = Data will be lost
Text Symbol: C02 = Are you sure you want to cancel?
Text Symbol: C03 = Confirmation Prompt
Text Symbol: I01 = Information
Text Symbol: I02 = This customer already exists
Text Symbol: I03 = (see overview)
Text Symbol: I04 = Assign another key
Text Symbol: I05 = This customer does not yet exist
Text Symbol: I06 = Assign another key


INCLUDES used within this REPORT EXADR1

No INCLUDES are used within this REPORT code!


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:

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = 'Information'(i01) txt1 = 'Diesen Debitor gibt es schon'(i02) txt2 = '(siehe Übersicht)'(i03) txt3 = 'Vergeben Sie einen anderen Schlüssel.'(i04).

ADDR_EXP_SUBSCREEN CALL FUNCTION 'ADDR_EXP_SUBSCREEN' EXPORTING * ADDRESS_NUMBER = ' ' address_handle = p_addr_handle address_group = p_addr_group dialog_mode = p_maint_mode SUGGESTED_VALUES = ls_initial * SUGGESTED_COMM_VALUES = * ADDRESS_IS_OPTIONAL = ' ' * CHECK_ADDRESS = 'X' * CURSOR_FIELD = EXCEPTIONS ADDRESS_NOT_EXIST = 1 GROUP_NOT_VALID = 2 PARAMETER_ERROR = 3 INTERNAL_ERROR = 4 OTHERS = 5.

ADDR_EXP_SUBSCREEN CALL FUNCTION 'ADDR_EXP_SUBSCREEN' EXPORTING address_number = p_addr_number * ADDRESS_HANDLE = p_addr_handle address_group = p_addr_group dialog_mode = p_maint_mode * SUGGESTED_VALUES = * SUGGESTED_COMM_VALUES = * ADDRESS_IS_OPTIONAL = ' ' * CHECK_ADDRESS = 'X' * CURSOR_FIELD = EXCEPTIONS ADDRESS_NOT_EXIST = 1 GROUP_NOT_VALID = 2 PARAMETER_ERROR = 3 INTERNAL_ERROR = 4 OTHERS = 5 .

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = 'Information'(i01) txt1 = 'Diesen Debitor gibt es noch nicht!'(i05) txt2 = '' txt3 = 'Vergeben Sie einen anderen Schlüssel.'(i06).

ENQUEUE_EXADR CALL FUNCTION 'ENQUEUE_EXADR' EXPORTING kunnr = p_kunnr _SCOPE = '3'.

DEQUEUE_EXADR CALL FUNCTION 'DEQUEUE_EXADR' EXPORTING kunnr = p_kunnr _SCOPE = '3'.

ADDRESS1_FIELD_SELECTION_FILL CALL FUNCTION 'ADDRESS1_FIELD_SELECTION_FILL' EXPORTING TABNAME = lt_fields-tabname FIELDNAME = lt_fields-fieldname MARK = lt_fields-mark * IMPORTING * OFFSET = (where BAS has inserted your mark) CHANGING FIELD_SELECTION_COMP = l_fisel EXCEPTIONS FIELD_UNKNOWN = 1 OTHERS = 2 .

ADDR_DIALOG_PREPARE CALL FUNCTION 'ADDR_DIALOG_PREPARE' EXPORTING FIELD_SELECTION = l_fisel * KEYWORDS = ' ' * TITLEBAR = ' ' * CHANGE_DEFAULT_COMM_TYPES = ' ' * FRAME_TEXT = ' ' * DEFAULT_URI_TYPE = ' ' * SCREEN_VARIANT = ' ' SHOW_PUSHBOTTONS_AT_TOP = 'X' * TABLES * EXCLUDED_FUNCTIONS = * ERROR_TABLE = EXCEPTIONS INTERNAL_ERROR = 1 OTHERS = 2 .



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