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
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.
BLANK COMPRESSION TESTING
<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