Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HR Function Modules and HR Macros

Former Member
0 Likes
521

Hi ,

I have to create one interface program for SAP HR.

For that I am trying to use Function module HR_READ_INFOTYPE , but I think we should not use LDB PNP if we use this Function module.

Further I tried to use RP_PROVIDE_FROM_LAST macro also for this LDB is mandatory.

I need to know which one i can use the Function module or Macros in regards to performance.

Which one will take more time for execution Function Module or the Macro? If Function Module why ? If Macro why?

Please help me out becoz am new to SAP HR coding.

Thanks in Advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
451

You can use th get runtime statements in code to find out how much time a part of the source takes to run.

HR macros are stored in table TRMAC, so you can find out what the source is behind these.

Kind regards, Rob Dielemans

1 REPLY 1
Read only

Former Member
0 Likes
452

You can use th get runtime statements in code to find out how much time a part of the source takes to run.

HR macros are stored in table TRMAC, so you can find out what the source is behind these.

Kind regards, Rob Dielemans