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

WWI techniques – Blank compression and User defined text

Blank Compression:

Blank compression is a technique used in WWI to output a certain phrase if a particular field is blank. I.e it checks for fields which has no value and compresses the data.

You want to output an address consisting of a name, street, city, and country. If the system cannot find the name, you can suppress the output of the whole address.

WWI reacts as follows:

“+” = OR: If no value is found for at least one control symbol, blank compression is activated. No text is output.

“-” = AND: If no value is found for all control symbols, blank compression is activated. No text is output.

Let me show you an example and the desired output with alternative using blank compression.

In the MSDS property tree, I have maintained value assignments under the VAT First aid measures for

First aid eye

First aid:skin

First aid:ingestion

First aid:Inhalation

Hints for physician: Hazards

No data is maintained in First aid : general information



We want to output all the first aid measures. The system should check IF data is empty in the VAT First aid: general information, it should skip  the data in First aid: skin,eye,ingestion,inhalation and SHOULD print the data in “Hints for physician:hazards:.



Need to maintain the syntax as below with alternative output.


<13BNG012(*:01G1015002AD(P))>                    ———- start of blank compression and checking VAT(First aid: general information)













<13CNG012>                                             ———————–Alternative printing Hints for physician:hazards





The output desired is Hints for physician hazards.


User defined text :

To describe a value assignment in more detail, you can enter any user-defined text and assign documents to it.

You can assign user-defined texts to a characteristic of a value assignment type. You assign a phrase to the characteristic in question, for example

From the property tree, double-click the value assignment type you want to edit.

The SAP system lists all characteristics for that value assignment type.

In the UserDfndTxtType field, enter the key for the required user-defined text type for a characteristic.

Confirm and save your entries.

In our example, we have maintained a long text greater than 132 characters for the VAT Hazards during fire fighting under the node Fire fighting measures.




<11BRG019(S:FREI,CM;*)>                                    – – – – – Repeating group for user defined text

<01GESTHEADE(;*)[D:USER-DEFINED TEXT]>         – – – – Symbol to print the user defined text







Assigned Tags

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

      Dear Dhinesh

      super. thank you šŸ˜†


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

      Thank you chris. Will post some more docs in wwi techniques as and when time permits.


      Author's profile photo Pravin Patel
      Pravin Patel

      Hi Experts,


      i have a requirement where there are two InstancesĀ for Value Assignments for any given property tree attribute. One instance has a parameter say "High Spin" and the second instance parameter has "Low spin". I want the WWI to compress the entire instance if it has "High Spin" assigned to instance number 1 and still display instance number 2.

      Author's profile photo Mark Pfister
      Mark Pfister

      Dear Pravin,

      Please add your question as a separate question - and not as a comment to a blog.

      BTW: What you are trying to do is an IF Statement - a check for a certain value - rather then any value being present.



      Author's profile photo Pravin Patel
      Pravin Patel

      Thanks, Mark, I'm posting this in a new question.