cancel
Showing results for 
Search instead for 
Did you mean: 

Maximum VOC Value to be printed on a label

Former Member
0 Kudos

Hello,

I have created a label using CG42 transaction and in that there is a symbol VOC(g/l) which i have inserted. But this is having multiple values. I want to print the maximum value of the VOC in the label.

Does anyone have any idea how to do this??

Regards,

Jhings

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi,

I got the same requirement like displaying the highest value among two existing VOC values. Kindly share me with the code if you have implemented please.

Regards,

Rafi

christoph_bergemann
Active Contributor
0 Kudos

Hello Rafi

refer may be to: http://scn.sap.com/thread/2128108

With best regards

C.B.

Former Member
0 Kudos

Hello Jhings,

I am not an expert in WWI development but I think you can have a look on conditioned text that allow you to compare the value of a symbol.There is the operator GT, i.e. Greather than. In order to loop over all the values of your symbol you can use repeating group.

Hope it will help you.

Regards,

/Ludovic

Edited by: Ludovic Roux on Jan 17, 2012 4:22 PM

Edited by: Ludovic Roux on Jan 17, 2012 4:22 PM

Former Member
0 Kudos

Hello Ludovic Roux ,

Can you please tell me where can I found this conditioned text and this GT Greater than operator. And where I can write the code for this symbol, so that It can pick the highest value and display it in label.

Thanks,

Jhings

Former Member
Ralph_P
Advisor
Advisor
0 Kudos

Hello Jhings,

conditioned text is not the right function, you need the conditional output (http://help.sap.com/erp2005_ehp_06/helpdata/EN/a7/2873890a6c11d28a220000e829fbbd/frameset.htm), located in CG42 right next to the blank compression. However, without testing I'd say that you can only compare two values and print the larger one using the operator GT as Ludovic explained. If you have more than two instances it will not work, I think.

Ralph

Edited by: Ralph Paczkowski on Jan 20, 2012 9:25 AM

JuanCarlosDelga
Contributor
0 Kudos

Hello Jhings,

Maybe you need create a a function module as processing method for the symbol by choosing one of the following options:

- In Customizing for Product Safety in the detail screen of the IMG activity Check and define report symbols.

- In WWI on the Insert Symbols dialog box in WWI as processing method NM and subprocessing method M .

The entry in WWI has priority.

The function module must meet the requirements of a specific interface. The system checks both in Customizing as well as when you use a method in layout, whether the function module is active in the system and whether it meets the requirements of the interface.

Before creating new function modules, check the documentation of sample function module C128_DUMMY_CONVERSION_METHOD .:

Choose transaction se37 and enter the name of function module C128_DUMMY_CONVERSION_METHOD .

You can now display the documentation and the source text for the interface of the function module.

Regards,

JCD