SAP Reports / Programs

RJKWBZ04 SAP ABAP Report - IS-M/SD: WBZ, Customer Number Exchange







RJKWBZ04 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for WBZ customer number exchange: Transfer of subscribers from one WBZ company to the live subscriptions of another WBZ company...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 RJKWBZ04 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

JKWT - IS-M/SD: WBZ, Cust.Number Exchange


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 RJKWBZ04. "Basic submit
SUBMIT RJKWBZ04 AND RETURN. "Return to original report after report execution complete
SUBMIT RJKWBZ04 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: XTEST = Test Run
Selection Text: XSHOWADR = List Different Addresses
Selection Text: XLISTALL = Detailed List
Selection Text: XACC_ADR = Accept Records w/Diff.Address
Selection Text: WBZKUNNR = WBZ Comp. (VDZ No.)
Selection Text: R_VTKZ = D VDZ Sales Code
Selection Text: RZNR = Computer Center
Selection Text: LFILEIN = Log. File Name
Title: IS-M/SD: WBZ, Customer Number Exchange
Text Symbol: H07 = - processed
Text Symbol: H06 = - already imported
Text Symbol: H05 = Number of records
Text Symbol: H04 = WBZ Comp. (VDZ No.)
Text Symbol: H08 = - errored
Text Symbol: H11 = Order
Text Symbol: H12 = Error Number
Text Symbol: H13 = Error Text
Text Symbol: H21 = Order (Old)
Text Symbol: H23 = Add
Text Symbol: H31 = Address (Old)
Text Symbol: H32 = Address (New)
Text Symbol: L11 = Old Address:
Text Symbol: H03 = Comput.Center
Text Symbol: H02 = Inbound File
Text Symbol: H01 = Log.Inbound File
Text Symbol: F01 = Data
Text Symbol: ECH = Upd. Run
Text Symbol: B03 = Object
Text Symbol: B02 = Transfer Time
Text Symbol: B01 = Options
Text Symbol: B00 = Data for Transfer
Text Symbol: L12 = New Address:
Text Symbol: TST = Test Run
Text Symbol: T03 = Different addresses
Text Symbol: T02 = Records processed successfully
Text Symbol: T01 = Records where errors occurred
Text Symbol: T00 = All records were already processed
Text Symbol: ST4 = WBZComp.





Text Symbol: ST3 = Total
Text Symbol: ST2 = Number
Text Symbol: ST1 = SlsInd.
Text Symbol: ST0 = Records per Sales Indicator
Text Symbol: S02 = Change On
Text Symbol: S01 = Earliest Possible Change
Text Symbol: M01 = No Errors Occurred


INCLUDES used within this REPORT RJKWBZ04

INCLUDE MJ000TAL.
INCLUDE RJKWBZF0.


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:

ICON_CREATE call function 'ICON_CREATE' exporting name = icon_display * text = 'Daten'(f01) info = 'Daten'(f01) * add_stdinf = 'X' importing result = sscrfields-functxt_01.

ICON_CREATE * call function 'ICON_CREATE' * exporting * name = icon_display ** info = 'Datensatz anzeigen'(f11) * add_stdinf = ' ' * importing * result = button_err.

ICON_CREATE * call function 'ICON_CREATE' * exporting * name = icon_display ** info = 'Datensatz anzeigen'(f11) * add_stdinf = ' ' * importing * result = button_suc.

FILE_LOGFILE_ALIAS_PBO call function 'FILE_LOGFILE_ALIAS_PBO' exporting ed_logfile_appl = gc_logfile ed_parameter_name = 'LFILEIN' changing cd_logfile_param = lfilein.

FILE_LOGFILE_ALIAS_F4 call function 'FILE_LOGFILE_ALIAS_F4' exporting ed_logfile_appl = gc_logfile ed_parameter_name = 'LFILEIN' changing cd_logical_file = lfilein.

FILE_LOGFILE_ALIAS_PAI call function 'FILE_LOGFILE_ALIAS_PAI' exporting ed_logfile_appl = gc_logfile changing cd_logfile = lfilein exceptions others = 1.

FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = lfilein parameter_1 = l_p1 parameter_2 = l_p2 changing physical_filename = file_in exceptions others = 4.

CONVERSION_EXIT_JKWBZ_INPUT call function 'CONVERSION_EXIT_JKWBZ_INPUT' exporting input = wbz_data-abonr importing output = wbz_data-abonr.

CONVERSION_EXIT_JKWBZ_INPUT call function 'CONVERSION_EXIT_JKWBZ_INPUT' exporting input = wbz_data-wbzabokunr importing output = wbz_data-wbzabokunr.

CONVERSION_EXIT_JKWBZ_INPUT call function 'CONVERSION_EXIT_JKWBZ_INPUT' exporting input = wbz_data-abonr_neu importing output = wbz_data-abonr_neu.

CONVERSION_EXIT_JKWBZ_INPUT call function 'CONVERSION_EXIT_JKWBZ_INPUT' exporting input = wbz_data-wbzabokunr_neu importing output = wbz_data-wbzabokunr_neu.

ISP_WBZ_DATA_EXCHANGE call function 'ISP_WBZ_DATA_EXCHANGE' exporting p_data = wbz_data p_liefendei = liefendei xtest = xtest xaccept_adr_diff = xacc_adr importing p_vbeln = l_vbeln p_vbeln_old = l_vbeln_old p_posnr_old = l_posnr_old p_posex_old = l_posex_old p_addr_old = l_addr_old p_addr_new = l_addr_new xaddress_different = xadr_diff exceptions already_processed = 2 address_different = 4 error = 4 others = 4.

ISP_GET_MESSAGE_TEXT call function 'ISP_GET_MESSAGE_TEXT' exporting meldung = gt_errors-msg x_no_msgty_in_text = jpsd_x importing text = mtext exceptions others = 0.

ISP_ADDRESS_INTO_SHOWFORM call function 'ISP_ADDRESS_INTO_SHOWFORM' exporting sadrwa_in = gt_success-addr_old importing sadrwa_out = f_adrs_old.






ISP_ADDRESS_INTO_SHOWFORM call function 'ISP_ADDRESS_INTO_SHOWFORM' exporting sadrwa_in = gt_success-addr_new importing sadrwa_out = f_adrs_new.

FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = lfilein parameter_1 = l_p1 parameter_2 = l_p2 changing physical_filename = file_in exceptions others = 4.

ISP_ADDRESS_INTO_SHOWFORM call function 'ISP_ADDRESS_INTO_SHOWFORM' exporting sadrwa_in = addr_old importing sadrwa_out = f_adrs_old.

ISP_ADDRESS_INTO_SHOWFORM call function 'ISP_ADDRESS_INTO_SHOWFORM' exporting sadrwa_in = addr_new importing sadrwa_out = f_adrs_new.



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