" In a SAP system, the work process play a very important role. It is seen that a majority of the processing is done by work processes. Work processes execute dialog steps in user transactions, updates, lock administration can display the status of the work process running on your application server after logon. To display the status choose Administration --> System Administration ---> Monitor ---> System Monitoring ----> Process over view or Execute transaction SM50. To get the updated information, the display must be refreshed regularly. The administrator must regularly monitor the system processes for checking the appropriateness of the number and configuration. Generally possesses are monitored to obtain information. The information obtained can be used for many purposes. It can be used to determine, whether the number of work processes in your system is adequate to assess if the instance is working to its ultimate capacity and to gather information for troubleshooting or for tuning. The SAP work processes correspond to operating system processes, these processes can be monitored through other operating systems also. Or it can be said that process ID (PID) of the SAP system is the same as PID of the other operating systems. SAP has a runtime directory /usr/sap//SYS/exe/run. Some programs are present in this runtime directory for monitoring. You can monitor some of the work processes and the dispatcher from the operating system with the help of these monitoring programs. To display the overview of SAP application server choose System Monitoring ---> Servers. You can also display the overview of the work process running on this particular server in the SAP system. To display the overview of the work process first click on the desired server name. "
"The flow of a program is determined by a sequence of screens in a dialog transaction. The screens that are called within a transaction, must belong to a single ABAP program, usually a module pool (Type M). You have to use the transaction maintenance transaction (SE93) to create a dialog transaction. Once you have entered a transaction code and a short description, chose transaction type program and screen. Then enter data on the next screen as required. The transaction code in a dialog program must be linked to the number of its initial screen. Finally enter this number in the screen number field."
Wednesday, February 6, 2008
Creating a Function Module in SAP ABAP. DownLoad PDF Function modules are very important in SAP ABAP. Once you create a function module then it can be called from any program. You just need to pass some parameters to this function module and once the function module runs it passes back the desired result in the form of a variable. SAP has provided a transaction to create a function module. Execute transaction SE37 and create a function group as shown in the figure below.
Give the desired function group name and a short text.
Once the function group is created type the desired function module name as shown below. And click on create.
Enter the function group name created earlier and the desired short text for function module. and click on save.
Save the function module as a $tmp object.
Now the following screen will be presented to you, here you need to enter the import and export parameters. These are nothing but the variables that you would be passing to the function module and the returned values from the function module.
The following screen shot shows the returned values from the function module.
Type the following code in the source code area.
Active the function module and the related code.
Call the above created function module from an ABAP Report. The following screen shot shows the details to insert the code.
Type the code shown below. And run the report.
1 comment:
Anonymous
said...
How to change the screen to open the ABAP report?
I got a problem below these step " Active the function module and the related code.
Call the above created function module from an ABAP Report. The following screen shot shows the details to insert the code."
Always specify your conditions in the Where-clause instead of checking
them yourself with check statements. The database system can then use an index
(if possible) and the network load is considerably less.
Always use Pretty Printer and Extended Program Check before releasing the code.
Do not leave unused code in the program. Comment the code thoroughly. Align the comments and the Code. Follow the SAP Standards and SAP Best Practices guidelines. It’s a good practice to take a dump of the code on your local drive.
1 comment:
How to change the screen to open the ABAP report?
I got a problem below these step
"
Active the function module and the related code.
Call the above created function module from an ABAP Report. The following screen shot
shows the details to insert the code."
Post a Comment