ITS ABOUT SAP-HR ONLY

Thursday, March 20, 2008

Ticket

Q: We are in the service industry and have employees working in multiple cities on the same day. The system seems to allow one taxing authority per day. But the taxing authority needs to be picked up from the Service Order ideally . Can we achieve this?
A: You can create multiple infotypes 0208 (work tax area) for the same employee and the same day. Use the 'allocation percent' field . There is no integration however between time management and the work tax area.
You may copy infotype 0208 to IT 9208. Infotype 0208 may be used to store the default work tax area and IT 9208 may be used to store the multiple work tax area. Create IT 9208 based on data from your external time management system.

Q: We use clocking machine for recording employee clock-in/out . All the data is stored in a 'flat' file which is supposed to be uploaded into SAP. When tried to open and read the flat file using OPEN DATASET and READ DATASET
commands, the Sy-subrc value returned is 8 and the error message 'the specified file not found' is displayed. We checked the path and the file is in the correct location. What is missing?

A: Check the path once again. Check the upper and lower cases. Define you parameter file name like filename-fileextern. Depending on the place where the flat file resides, the procedure varies. OPEN DATASET is used for upload of file from the host system. If your flat (text) file is on the PC, you can use the functionWS_UPLOAD which will upload your text file into an internal table. This internal table data can be loaded into

SAP. The syntax is as follows:

CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = pcfile
IMPORTING
FILELENGTH = fileleng
TABLES
DATA_TAB = internal table name
Please note that you have to specify the pcfile of length 128.

Q: We want to make a copy of an organizational structure from one plan variant to another. This copy should include all assignments like purchasing groups to organizational units made in PFOM . Can we do this?

A: Make sure that the plan number is established through the IMG. (And that it is not the active plan.)

Go Human Resources -> Organizational Management Tools -> Plan version -> Copy.
It runs RHCOPL00. All or any portion of the plan maybe copied and manipulated and then copied back in to the active plan.

No comments:

http://sap-career.blogspot.com