on 2012 Jan 17 9:13 AM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jhings,
Please have a look here:
http://help.sap.com/erp2005_ehp_06/helpdata/EN/a7/2873890a6c11d28a220000e829fbbd/frameset.htm
Regards,
/Ludovic
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
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
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.