Auto Generated Material number displayed in same screen using explicit enhancement in ABAP.

 

Explicit  

    * Explicit point & section are available at any line.

    * Point - It will not give default implementation.

                 - You can only add additional codes, you can't replace the existing code.

    * Section - It will give default implementation.

    - You can change or replace the existing code.


*********************************************************************************************************

Auto Generated Material number displayed in same screen using explicit enhancement.


Step 1: Goto T-code MM01.

Step 2: Click on system - status - double click on Dynpro number.

Step 3: Double click on MODULE internal_material_number_get.   

Step 4: Goto enhancement section. In enhancement section material number is generated in FM INTERNAL_MAT_NUMBER.

Step 5: Put cursor on enhancement section and click on enhance button.


Step 6: Put cursor on enhancement section and right click chose enhancement operations and select create implementation.


Step 7: After add logic like this.




************************************************************

Checking

* Goto MM01 and give industry sector P and material type ROH.

* Press enter.


**************************************************************************************************************

Undo Implementation

* Goto code place cursor on implementation and right click on implementation.

* Enhancement operation and select undo implementation. And activate.



Comments

Popular posts from this blog

New syntax for append- VALUE (new syntax 7.4+) in ABAP

Read statement new syntax in ABAP. (7.4+).

Concatenation new syntax( 7.4+ ).