1. To the initial screen of the SAP menu(AREA Menus).
2. To the Standard Menu of the Standard Transaction.
-----------------------------------------------------------------
Adding customer menu option to the transaction MC94. ?
Execute SMOD
press F4.
enter in packages MCP2.
MCP20003 is the menu exit.
come to the initial screen of SMOD
enter MCP20003.
see the Function codes.
+CU1
+CU2
...etc
-----------------------------------------------------------------
Now go to CMOD.
Example: ZUEXIT
Click on Enhancement Assignment .
MCP20003( check its already in use. the deactive that program)
click on Component.
double click on +cu1 and +cu2..
write the function name.
Click on Function Exit.
Go to the INCLUDE ZXSOPU03.
Write the code here.
CASE I_FCODE.
WHEN '+CU1'.
CALL TRANSACTION 'SE38'.
WHEN '+CU2'.
CALL TRANSACTION 'SE11'.
ENDCASE.
WHEN '+CU1'.
CALL TRANSACTION 'SE38'.
WHEN '+CU2'.
CALL TRANSACTION 'SE11'.
ENDCASE.
-----------------------------------------------------------------
Testing:
Transaction MC94.
planning type: REPL
click on Active version
Extras--customer functions
you will get the name there.
(create program and create table)
done!...
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.