Skip to Content
Author's profile photo Dhinesh A.P

Report Template Conditional Output

Conditional output using WWI

In my property tree I have created a New Value assignment as Density (As class ) and Value( As Characteristic wherein i can in put numeric values)

Step : 2 : I have created a report symbol for that.

Step : 3 : I added the report symbol on the template and checked whether it is fetching me the data or not I was good in fetching the data.

Step : 4 : Now I want to add a condition to my characteristic value like if my value in the property tree is greater than or equal to the comparison value out put the data.

I have added condition successfully but it is not fetching the data but if i remove the condition i am getting the output.

Below is the syntax which I have given on the template.

<15BIF014(OR:01G1013005VA GE 20)>





Here is what You should do….

The solution:

The standard characteristic SAP_EHS_1013_005_VALUE has an option “Interval values allowed” which means it contains a range not permitted in the WWI report output and leads to error.


To do this, I created a new characteristic D value  with NO INTERVAL VALUES assigned to the standard class Density SAP_EHS_1013_005 .


In IMG activity, Setup Table based value assignment,  under setup  value for table assignments, enter the VAT ZSAP_EHS_1013_005 VALUE  with Real Sub as spec type and save.


Did execute CGCZ to match up assignments and create symbols.

Also maintain the value in Spfn under value assignment type: DValue as 20g/cm3


In the template, first maintained the rep group and the value. Around this , maintain the condition.

such as value>1 using CONDITION OUTPUT.

Check and Save it.

Please find the pics shown.CHARACT.JPGCLASS.JPGIMG_TABLE.JPG

Maintain your characteristics to the standard Value assignment.

setup table.JPGsyntax.JPGoutput.JPG




This document was generated from the following discussion: Report Template Conditional Output Error

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Christoph Bergemann
      Christoph Bergemann

      Dear Dinesh

      well done. I am planning to add your documentation as a link in my documentations.

      Only a small hint: if you combine customer characteristics in SAP class: be aware of the fact that you shoulddocument that very well. If you get updates (e.g. via SPs etc.) of prperty tree etc. there is the risk that the link is lost etc.

      But adding customer characteristics to SAP classes is used often (but should be avoided if possible).

      In some threads in this FORUM the topic has been discussed using "different" ideas (which are complex, yes, but from maintenance point of view may be a "better" alternative)


      Author's profile photo Dhinesh A.P
      Dhinesh A.P
      Blog Post Author

      Thank you Christoph for your support. Will make a note of the hint you provided and add more documentation in future.

      Thanks & Regards