SAP Reports / Programs

/NAM/BULK_CHANGE_CUSTOMER SAP ABAP Report - Mass Changes of Customer Master







/NAM/BULK_CHANGE_CUSTOMER is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This Report is for Mass change of customers This Report is executed to change the field values of standard database table KNVV and update it...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 /NAM/BULK_CHANGE_CUSTOMER 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

/NAM/BULK_CHG_CUST - Mass Changes of Customer Master


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 /NAM/BULK_CHANGE_CUSTOMER. "Basic submit
SUBMIT /NAM/BULK_CHANGE_CUSTOMER AND RETURN. "Return to original report after report execution complete
SUBMIT /NAM/BULK_CHANGE_CUSTOMER 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: P_CG = Maintain Customer Group
Selection Text: P_CP = Maintain Customer Procedure
Selection Text: P_KDGRP = D .
Selection Text: P_KONDA = D .
Selection Text: P_KSRMD = D .
Selection Text: P_PG = Maintain Price Group
Selection Text: P_SPART = D .
Selection Text: P_VKORG = D .
Selection Text: P_VTWEG = D .
Selection Text: S_KUNNR = D .
Title: Mass Changes of Customer Master
Text Symbol: 001 = Selection of Data
Text Symbol: 002 = Attributes for Changes
Text Symbol: 003 = Customer Group
Text Symbol: 004 = Price Group
Text Symbol: 005 = Customer Procedure
Text Symbol: L01 = Log to show customers not enqueued
Text Symbol: L02 = For further information, please see the application log


INCLUDES used within this REPORT /NAM/BULK_CHANGE_CUSTOMER

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:

CMD_ENQUEUE_EXKNA1 CALL FUNCTION 'CMD_ENQUEUE_EXKNA1' EXPORTING mode_kna1 = con_lock_mode mandt = sy-mandt kunnr = ls_knvv-kunnr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

CMD_DEQUEUE_EXKNA1 CALL FUNCTION 'CMD_DEQUEUE_EXKNA1' EXPORTING mode_kna1 = con_lock_mode mandt = sy-mandt kunnr = ls_knvv-kunnr.

APPL_LOG_SET_OBJECT CALL FUNCTION 'APPL_LOG_SET_OBJECT' EXPORTING object = con_applog_object.

APPL_LOG_WRITE_HEADER CALL FUNCTION 'APPL_LOG_WRITE_HEADER' EXPORTING header = ls_logheader.

APPL_LOG_WRITE_SINGLE_MESSAGE CALL FUNCTION 'APPL_LOG_WRITE_SINGLE_MESSAGE' EXPORTING message = ls_alog_msg update_or_insert = con_insert.

APPL_LOG_WRITE_DB CALL FUNCTION 'APPL_LOG_WRITE_DB' EXPORTING object = con_applog_object TABLES object_with_lognumber = lt_balnri_tab.

APPL_LOG_INIT_MESSAGES CALL FUNCTION 'APPL_LOG_INIT_MESSAGES' EXPORTING object = con_applog_object continue_protocol = con_protocol.

APPL_LOG_DISPLAY_INTERN CALL FUNCTION 'APPL_LOG_DISPLAY_INTERN' EXPORTING object = con_applog_object title_list_screen = text-l01. "Heading of the log.

APPL_LOG_READ_INTERN CALL FUNCTION 'APPL_LOG_READ_INTERN' EXPORTING object = con_applog_object language = syst-langu TABLES header_data = lt_balhdr_tab header_parameters = lt_balhdrp_tab messages = lt_balm_tab message_parameters = lt_balmp_tab message_prepared = lt_almsgprep_tab.



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 /NAM/BULK_CHANGE_CUSTOMER or its description.