Sample Code For Transaction ZTRY
Create the Base Module Pool
Invoke SE80 to decide the program to be linked to the transaction
Customer dialog programs should begin with SAPMZ or SAPMY
Lets name the program SAPMZTRY.
Do not forget to give the type as M – module pool
SAP provides some standard include in this main program
Program sapmztry.
Include mztrytop . (include for data declarations)
Include mztryo01. (include for PBO modules)
Include mztryi01. (include for PAI modules)
Include mztryf01. (include for subroutines)
Create the required Screens
We will create 2 screens for our transaction as shown below
Screen 100
Employee Number ………………
|
Screen 200
Address1 | | ||
Address2 | | ||
Address3 | | ||
Phone | | ||
Department | | ||
Designation | | ||
Basic Salary | | ||
Valid From | | ||
SAVE | EXIT | MODIFY | DELETE |
No comments:
Post a Comment