Translate

Wednesday, August 11, 2010

Find A Particular Transaction Code In SAP

There are thousands of Transaction codes in SAP and it would be irrelevant to list or to know or to understand all of them. However, if anyone is looking for a specific transaction code, a time-saving tip is to use [SE16n] with table TSTC.


To get a list of transactions including a particular text string, use the table TSTCT

TCD SE93 will list all transaction Codes

List of users logged in with nodes and killing a session in SAP

we can see the users working on a transaction and also kill the session using SM04 or SM12.

tcode- SM04

for killing session double click on user locking the session.
select the transaction that need to be ended
click end session

for reference please check this

http://sap.ittoolbox.com/documents/killing-a-session-in-sap-17965

Authorisation in SAP HCM module(Role and Structural authorisation)

Authorisation is for data security and integrity

There are two authorisations -role and structural authorisation

Role authorisation is standard authorisation like tcode.pa30,pa20 etc(PFCG)

structural authorisation on the other hand is for individual objects .lets say a user can access only one particular org unit details then this will take care.


SU21 tcode will give the standard auth objects under HR

p_origin
plog
plog_con are some of auth objects

An auth object can have max of 10 authrorisation fields

p_origin is HR: Master Data and if you see the fields like INFTY,SUBTY,AUTHC,WERKS,PERSG,PERSK

In the role maintenance you can:

Changing and Assigning Roles
Creating Roles
Creating Composite Roles
Transporting and Distributing Roles


steps for creating single role authorisation

1.enter tcode PFCG

please note-SAP start with the prefix “SAP_”. For your own user roles, instead of using the SAP namespace, use the customer namespace. This means that the prefix is “Y_” or “Z_”.

2.enter the standard role (ex-SAP_HR_PT_TIME-ADMINISTRATOR) and click copy and give to role as Z_SAP_HR_PT_TIME-ADMINISTRATOR

3.Choose Change (the new name is in the Role field).Z_SAP_HR_PT_TIME-ADMINISTRATOR

4.you can edit the description as per the requirement

5.to generate profile for the role from the authorisation table click change authorisation data

6.a new window would populate change role:authorisation
there you enter a particular value in the dialog box, the authorization fields of the role are maintained automatically like p_origin we can given read,write access M (read with entry helps)
R (read),W(W (write data records)).for ex
you can also give the PERSA,PERSG,PERSK

7.after doing this Generate an authorization profile for the authorizations by clicking Generate (Shift+F5)

8.You are prompted for an authorization profile name. A valid name in the customer namespace is proposed.(T-I1550498 for ex with the Profile for role Z_SAP_HR_PT_TIME-ADMINISTRATOR text)

9.To delete an authorization, deactivate it first and then delete it.

10. You can also assign users to the role immediately by clikcing Role tabl and assigning the users(userid).



steps for creating composite role authorisation


use PFCG tcode

key point to remember is SAP System does not distinguish between the names of simple and composite roles. we should adopt your own naming convention to distinguish between simple and composite roles

click roles and select the roles you would like to assign

choose users to be assigned this composite role

Choose Compare users. The user data is updated after the comparison.

you can trasport and distribute roles aswel..

Mass Transport of Rolesscreen appears

SUPC is mass profile creation.Su10 or su12 tcodes for mass changes

I found this site very useful
http://www.abapway.com/2009/08/pfcg-role-maintenance/
Thanks to the contributors.

Tuesday, August 10, 2010

Wagetypes in payroll

Wage types are simply payroll objects used to store payroll components which include the amount, number and rate.

There are two types of wagetypes primary/model/dialogues wage types and secondary or slash wage types

OH11 is the tcode and can be maintained via v_T511

you can copy model wagtypes and rename it according to your buss requirement.its a recomended practise.copied wagetypes should prefix with number like 1bas for example.Remember that when creating a new wage type it is always better to copy an existing wage type which is very similar in characteristics to your new wage type. Using this method, will ensure that all the relevant table entries will get copied as well.



unique indicator for a country that is used in the Human Resources components of the R/3 System.for india-40 and usa-10 for ex

Wagetypes can be evaluated directly or indirectly.

what is direct -it allows the user to enter values in infotype maintaince for the wagetypes created in 0008,14,15

indirect as the name sounds are populated by the system.They are used to calculate wagetype amount and populate for the user in infotype directly.

Inval for instance is India standard evaluation module
Tarif
Summe are some others

you can also create new modules or redefine existing ones(Zsumme) for example

pa->payroll data->indirect evaluation
Business Add-In (BAdI) HR: Indirect wage type valuation (HR_INDVAL) is used to create or change the calculation guidelines of an indirect valuation module

There is more to discuss about this like wagetype group,wage type characteristics,processing class,eval class,cummulation class

Two important table that you need to have your hands on is v_512w_o and v_512w_d

v_512w_o will give you complete view of primary and secondary wagetypes

v_512w_d will give you details of Processing Classes, Cumulations, and Evaluation Classes

succintly to say processing class control how wagetypes are processed during payroll run.

there are 99 pclasses.90-99 are cust specific

some p class
1. Assignment to valuation bases
10. Mark wage types for monthly factoring.

Evaluation classes are used post-processing of payroll. Take a look at the SAP standard wage types to see the most important evaluation classes.

Cumulation classes are used in payroll processing. In simple terms they can be likened to buckets which amounts are added to. Each cumulation class corresponds to a specific technical wage type. The technical wage type is always a value of 100 more than the cumulation class.

The cumulation class 1 (total gross) gets processed during payroll as /101. for example

Please watch this space for schema,pcr.its a ocean and need to have the spirit of exploration to dive and enjoy it;)



you can google "Wage Type Processing Basic Concepts
by Steve Bogner" will serve as a great refrence guide.thanks to him for thie wonderful guide.

Useful reference sites for SAP

Mates

some useful networking and reference sites

saperphcm.blogspot.com

sdn.sap.com

ittoolbox.com

http://www.sd-solutions.com/KnowledgeBase.html

http://saphelpbykevin.knguyentu.com/

http://help.sap.com/

Scribd.com

http://www.symphonyhcmexperts.com/?tag=tips-and-tricks

http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4731

please watch this space for more reference sites.Will update them shortly.

Monday, August 9, 2010

SAP system information

Mates,

you can know SAP system details by clicking system ->status from toolbar

details like component version,data base,OS etc can be found .

Sunday, August 8, 2010

Easy way to remember customising tables in SAP IMG

Mates,

Wondered how you are going to remember the customising tables in IMG.

Its simple and please bare in mind,for ex Indian payroll tables start with T7IN and for US if you see T5U(Tax it will be T5UTxx and Garnishment with T5G).This might not be thumb rule,but just a tip.

for example-Statutory social contribution will be T7INF1 for PF

ESI will be T7INE1

Like wise you can see for PF and Tax it will T7INP1

T7INT1

The other tip is most of these tables end with odd numnbers(T7INF1,T7INF5,T7INF7 etc)

Logical database or LDB and Infoset

Mates,

Logical databse(LDB) are special ABAP programs that provide data for queries or programs.

They perform following tasks

1.Data retrieval-personal data of employees is loaded in main memory,where it is avaialble

2.Selection screen-you can seelect employees based on org criteria

3.authorisation check-it checks if the user starting a report is authorised to view the data in the report


System includes three LDB's

PNPCE or PNP---PA,Payroll&time

PAP-Recruitment

PCH -OM,PD and TEM

Infosets are sepcial views of LDB's.They determine which fields of LDB can be reported on by queries.infosets are assigned to usergroup.Infosets are structured according to field group.Field group in HR correspond to Infotypes.

Execute HR specific reports

Mates,

The SAP reports can be executed in ABAP editor( workbench)-Tcode-SE38. or from menu
system->services->reporting

The naming conventions are used to group HR specific reports

RH-OM and PD(RHINTE00 for ex)

RP-Personnel admin(PA)

RPC-payroll (RPCLSTRP for ex)

RPT-Time management(RPTQTA for ex)

RPAPL-Recruitment

easy isnt it to rememeber :)I bet you would find it easy to fathom and execute the necessary reports as per requirements.

Friday, August 6, 2010

Display SAP clients -Tcode-SCC4

Mates,

Recently came across this useful site and felt its worth sharring

some useful tcodes-SCC4 to know about different client setup in the landscape.

this site gives good details about this and thanks to contributors

http://www.sap-img.com/bc049.htm