cancel
Showing results for 
Search instead for 
Did you mean: 

Cell icons

Former Member
0 Kudos

All

During the creation of macro's we want to assing cell icons (or maybe row icons).

Is there a way to extend the choice of icons with more then 29?  We are actually searching for the red, green and yellow traffic light.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

rajkj
Active Contributor
0 Kudos

Hi,

I don't think SAP provided any user exit or other enhancements to have more icons. However, you may analyze the following function module in SE37 to see how exactly the icon info is passed from planning book to ABAP to pull the right icon from repository.

/SAPAPO/ADVF_CELL_LICON

Thanks,
Rajesh

Former Member
0 Kudos

Hi Rajesh,

we made a new functionmodule like the one you mentionned above. but then a Z one.

Now we fase the problem that we ahve variables missing when we execute teh macro.

Steps I have done:

Create a function module like the standard one

Create a new user function in the macro builder.

use the new function in the macro.

In the standard function module, there is an f_argument2 required as input for the function module. this indicates the row you want to place the icon. However, in the definition of the user function in the macro builder, you cannot select this f_argument2. Should we need to hard code the line?

Tommy 

rajkj
Active Contributor
0 Kudos

Hi Tommy,

The standard function receives the required values from calling program. Since your custom function behavior is same as the CELL_LICON, you need to pass or set these values for your custom function using the 'changing' parameters or providing some useful information while calling your custom macro function. An experienced ABAPer can help you to pass the required values from data view to your function module.

Thanks,

Rajesh

Answers (0)