cancel
Showing results for 
Search instead for 
Did you mean: 

How to use HR Macros in Web Dynpro ABAP

Former Member
0 Kudos

Hai All,

Am new to Web dynpro Abap working in HR req.

Can u pls help me how to import HR Macros in webdy ABAP.

It will be very much helpful to me. Pls provide any link or doc if available.

Thanks in Advance,

Nalla.B

Accepted Solutions (0)

Answers (1)

Answers (1)

Lukas_Weigelt
Active Contributor
0 Kudos

Awwww, please don't do that.

Make a global class with static methods using your macros and use them in OO-manner.

Using Macros diretly in WD4A Framework (if even possible) sounds really heretical :-//

regards, Lukas

Former Member
0 Kudos

Hai Lucas,

Thanks 4 ur response. Am new to this. Can u pls give me any link in or to go through this concepts.

Thanks in advance,

Nalla.B

Former Member
0 Kudos

Hi Nalla,

Better you can search for any FM or BAPI is available for that,...

cheers,

Kris.

Lukas_Weigelt
Active Contributor
0 Kudos

Hi Nalla,

if you can't find any Function Modules or BAPIs as Kris suggested, you would basically do this (conceptionally):

1. What is your business logic supposed to do (output) and what information does it need (input) for processing.

2. Build a class in se24 and implement static public methods with the business logic you defined in (1.).

3. Call the static methods in your WD4A-Framework.

If you are unfamiliar with the class builder, make a local class first in se80, in a test program or alike.

Does this help you a bit?

regards, Lukas