cancel
Showing results for 
Search instead for 
Did you mean: 

Use of macros in abap- HR

Former Member
0 Kudos

Hi Gurus,

What is the exact use of macros in abap-hr.Because in normal abap also these macros are existing , but we will not use these in normal abap programming.So is there any specific reason for using macros in ABAP-HR.

Thanks in advance..

Regards,

Rakesh.

Accepted Solutions (1)

Accepted Solutions (1)

suresh_datti
Active Contributor
0 Kudos

Using Macros is purely a matter of (Programming) choice & it doesn't really matter if the program is HR related or not.

~Suresh

romanweise
Active Contributor
0 Kudos

Perhaps he refers to the speciality of TRMAC macros which are as far as i know sth. only common in the hr world although in theory you could use in every program.

Answers (2)

Answers (2)

Former Member
0 Kudos

This is similar to Logical Database usage. We use LDBs in HR more than in other module. SAP has created many macros that can be used in HR. Ex: you have some macros to make use of when using PNP LDB in your program. Similarly SAP provided macros to read text from PCL1 cluster table. Same thing with reading payroll results. In addition you also can define your own macros in the program and use them in the code.

Former Member
0 Kudos

In HRABAP we can't access the data directly from clusters where as in abap we access the data from transparent tables

so there is no need

Regards