SAP Reports / Programs | Basis Components | Basis Components | Business Navigator(BC-CUS-TOL-NAV) SAP BC

SBMCV000 SAP ABAP Report - Create prefix for automatic object number allocation







SBMCV000 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to set a number range prefix for Business Navigator objects for a particular client...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 SBMCV000 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 SBMCV000. "Basic submit
SUBMIT SBMCV000 AND RETURN. "Return to original report after report execution complete
SUBMIT SBMCV000 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: NAMESPAC = Namespace
Selection Text: PREFIX = Prefix
Title: Create prefix for automatic object number allocation
Text Symbol: 001 = Active prefix exists
Text Symbol: 002 = Prefix & is currently active
Text Symbol: 003 = Only one prefix per client can be active
Text Symbol: 004 = Do you want to deactivate active prefix?


INCLUDES used within this REPORT SBMCV000

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:

SCP_CHARS_ARE_SYNTACTICAL CALL FUNCTION 'SCP_CHARS_ARE_SYNTACTICAL' EXPORTING string = prefix IMPORTING wrong_char = wrong_char is_ok = is_ok.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'DFPRX' fieldname = 'NUMSOBJ' TABLES return_tab = sel_values EXCEPTIONS OTHERS = 1.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = repid dynumb = sy-dynnr TABLES dynpfields = dynpfields.

TR_VALID_NAMESPACE_LIST CALL FUNCTION 'TR_VALID_NAMESPACE_LIST' EXPORTING iv_edit_only = 'X' iv_producer_only = 'X' iv_display_as_f4_list = 'X' IMPORTING es_selected_namespace = nspinfo TABLES et_namespace = nspinfos EXCEPTIONS no_valid_namespace_found = 1 OTHERS = 2.

CHECK_CUSTOMER_NAMES CALL FUNCTION 'CHECK_CUSTOMER_NAMES' EXPORTING * OBJECTTYPE = 'TABU' tablekey = tablekey tablename = 'DFPRX' IMPORTING key_allowed = ok system_sap = sap.

BM_GET_CURRANT_PREFIX CALL FUNCTION 'BM_GET_CURRANT_PREFIX' IMPORTING prefix = cur_prefix EXCEPTIONS not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING * DEFAULTOPTION = 'Y' diagnosetext1 = diagtext1 diagnosetext2 = diagtext2 diagnosetext3 = diagtext3 textline1 = textline1 * TEXTLINE2 = ' ' titel = 'Active prefix exists'(001) * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = answer EXCEPTIONS OTHERS = 1.

NUMBER_RANGE_ENQUEUE CALL FUNCTION 'NUMBER_RANGE_ENQUEUE' EXPORTING object = numobjects.

NUMBER_RANGE_INTERVAL_UPDATE CALL FUNCTION 'NUMBER_RANGE_INTERVAL_UPDATE' EXPORTING object = numobjects IMPORTING * ERROR = error_occured = error_occured warning_occured = warning_occured TABLES error_iv = error_iv interval = intervals.

NUMBER_RANGE_UPDATE_CLOSE CALL FUNCTION 'NUMBER_RANGE_UPDATE_CLOSE' EXPORTING object = numobjects.

NUMBER_RANGE_DEQUEUE CALL FUNCTION 'NUMBER_RANGE_DEQUEUE' EXPORTING object = numobjects.



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