Subscribe

RSS Feed (xml)



Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Tuesday, March 11, 2008

Designing SAP Transactions Example Transaction Code

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 ………………

Enter Record


Exit





Screen 200



Address1


Address2


Address3


Phone


Department


Designation


Basic Salary


Valid From


SAVE

EXIT

MODIFY

DELETE

No comments:

Blog Archive