cancel
Showing results for 
Search instead for 
Did you mean: 

copying a Standard SAP macro and creating a custom macro

Former Member
0 Kudos

Hello Experts!

I am new to APO and I need your help.

I am supposed to copy a standard-delivered macro function- RESOURCE_ RESTYPE (). This function returns the resource type of the specified resource in the specified version. I have to create my own custom macro function by changing this macro function to read factory calendar field instead of the resource type field. How do I go about achieving this? Please help!!

Thanks and Regards,

Smitha

Accepted Solutions (1)

Accepted Solutions (1)

srinivas_krishnamoorthy
Active Contributor
0 Kudos

I would rather create a seperate user exit macro that can interrogate table /SAPAPO/RES_HEAD and figure out the factory calendar on a resource.

Former Member
0 Kudos

Hello Sreenivas,

Thank you for the reply.

How do i go about creating this user exit macro?

Thanks and Regards,

Smitha

srinivas_krishnamoorthy
Active Contributor
0 Kudos

You can right click in macro screen where you create different macros. It gives an option to create user exit macro. You may need developer help to code that. Check http://help.sap.com/saphelp_scm41/helpdata/en/17/a5216b32a111d398260000e8a49608/frameset.htm for further help.

Answers (1)

Answers (1)

Former Member
0 Kudos

Dont think its possible by a simple macro function