Product Lifecycle Management Blogs by Members
Get insider knowledge about product lifecycle management software from SAP. Tap into insights and real-world experiences with community member blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
dhinsap
Active Participant

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

Condition.

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:.

SYNTAX:

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)

<11BRG013(M,SAP_EHS_1015_003;*)>

<01G1015003AD(P;*/TL)[D:Advice]>

<11ERG013>

<11BRG014(M,SAP_EHS_1015_004;*)>

<01G1015004AD(P;*/TL)[D:Advice]>

<11ERG014>

<11BRG015(M,SAP_EHS_1015_005;*)>

<01G1015005AD(P;*/TL)[D:Advice]>

<11ERG015>

<11BRG016(M,SAP_EHS_1015_006;*)>

<01G1015006AD(P;*/TL)[D:Advice]>

<11ERG016>

<13CNG012>                                             -----------------------Alternative printing Hints for physician:hazards

<11BRG017(M,SAP_EHS_1015_008;*)>

<01G1015008AD(P;*/TL)[D:Advice]>

<11ERG017>

<13ENG012>

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.

SYNTAX:

<11BRG020(M,SAP_EHS_1016_002;*)>

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

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

<11ERG019>

<11ERG020>

OUTPUT

Regards

Dhinesh

5 Comments