SAP Reports / Programs

ENSMS SAP ABAP Report - Status activation mode "short material number assignment"







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


Text pool values


Title: Status activation mode "short material number assignment"
Text Symbol: 007 = Mode "Short material number assignment" can be used, but the lexicographic
Text Symbol: 008 = number storage must previously be turned on using transaction OMSL
Text Symbol: 009 = "Short material number assignment" is used
Text Symbol: 010 = The length of the mat.no. from OMSL is greater than 18
Text Symbol: 011 = To use SHORT material numbers, material versions must be activated with report ENVE
Text Symbol: 001 = The short"material number assignment"mode is active
Text Symbol: 002 = The short"material numb.assignment"mode was active
Text Symbol: 003 = It is not possible to return to "material numb.assignment" mode
Text Symbol: 004 = Table TMCNV is not available. Access transaction OMSL
Text Symbol: 005 = MPN management is switched-on. Material numbers cannot be used
Text Symbol: 006 = To be able to use SHORT material numbers, you must start program ENLM


INCLUDES used within this REPORT ENSMS

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:

MGVS_CHECK_VALIDITY_AREA call function 'MGVS_CHECK_VALIDITY_AREA' exporting TESTFLAG = 'X' " MGV_TKMNR nicht anlegen importing SMNFLAG = smnflag exceptions TMCNV_NOT_FOUND = 1 MPN_ACTIVE = 2 LMN_NOT_ACTIVE = 3 OTHERS = 9.



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