" 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. "
"Radio Frequency Identification Devices are responsible for electronically capturing the data related to Materials. Once the data is captured, it is transmitted via Radio waves to the SAP server. The main use of RFID devices is in Warehouses where the data is physically moved from one location to another. It is very convenient for the warehouse personnel to make use of RFID so that all the material movement is captured automatically and the information is transferred to the SAP server. SAP Auto-ID Infrastructure is the component in SAP Netweaver that provides gateway to the RFID Data."
Tuesday, January 22, 2008
Program to display sales order header data
If your job is to write ABAP programs/ reports you need to familiarize yourself with various functionalities of SAP. The SAP Sales and Distribution module (SD) allows you to create a Sales order. As an ABAPer you need to know at least the basics of Sales order creation. The transaction for creating a sales order is VA01, to Edit Sales order is VA02 and just to display a sales order is VA03. In case you are unable to create a sales order you can play around with an existing one in the development server. First open the sales order in the display mode and understand the fields that need to be extracted. Make a note of the tables.
In this program we will display the sales order header data.
Following fields will be displayed
Sales Order number
Sold to party number
Ship to party
Buyer
Net Value
Payment Terms
Focus
1) Retrieve the data from the SAP database using the SELECT statement and the WHERE clause 2) Selecting SINGLE rows 3) Using SELECT-OPTIONS 4) Displaying data from tables using SE11 5) Using TEXT ELEMENTS 6) Data Declaration 7) Table Declaration 8) Using the WRITE statement 9) Using the debugger 10) Using double click to display the table
Tables used
VBAK Sales Document Header Data VBPA Sales Document Partner VBKD Sales Document Business Data
To get help on any of the statements in SAP, move the cursor on the statement and press F1
Fully Functional Sample Code for the Program.
**************************************************************************************************** *ABAP Report to display Sales Order Data ****************************************************************************************************
REPORT ZEXERCISE_1 .
Tables: VBAK, " Sales Document: Header Data VBPA, " Sales Document: Partner VBKD. " Sales Document: Business Data
Select vbeln netwr waerk into (vbak-vbeln, vbak-netwr, vbak-waerk) from vbak where vbeln in s_VBELN.
endselect.
select single kunnr into d_buyer from vbpa where parvw = 'BU' or parvw = 'RE' and vbeln = S_VBELN-LOW. select single kunnr into d_billto from vbpa where parvw = 'BP' or parvw = 'WE' and vbeln = S_VBELN-low. select single kunnr into d_soldto from vbpa where parvw = 'SP' or parvw = 'AG' and vbeln = S_VBELN-low . select single kunnr into d_shipto from vbpa where parvw = 'SH' and vbeln = S_VBELN-low .
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.