cancel
Showing results for 
Search instead for 
Did you mean: 

Blank compression within another blank compression

former_member602203
Participant
0 Kudos

Hi again,

I have a blank compression as screenshot shown. It works like it should, if noting insert, table row dont appear.

But the question is, if A1, A2 and C is insert with values, the +/- between B1 and B2 dont should appear. For this a try to use other (inner) blank compression within the (outer) blank compression, but dosn't work...

Any ideas or suggestions from you?

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member602203
Participant
0 Kudos

Hi to everyone,

I tried a lot of possibilities but it dosn't worked as expected. If you combine a outer and inner blank compression it runs to an error... For my scenario is it the only way because i need blank compression for the complete table line in case of emty values..

christoph_bergemann
Active Contributor
0 Kudos

Dear Holger

check may be

https://www.consolut.com/en/s/sap-ides-access/d/s/doc/YY-EHS_DDS_100_10_31/

and chapter "EHS_DDS_100_10_31 - ADRESSEN IM LÄNDERSPEZIFISCHEN FORMAT AUSGEBEN"; could be of interest (may be not in this context, but generally)

Anyhow: proposal would be: prepare a "very primitive" WWI template in correlation with a generation variant and a spec key and start OSS dialog; I would be interested to get feedback from SAP if nesting of blank compression (as you try to do) is allowed

I can not remember a similar demand on our side. So we never invested here.

C.B.

former_member602203
Participant
0 Kudos

Hello to eyeryone

with the help of a very expirienced consultant... YES it is possible to implement such a logic... Maybe I will post the key features to reach and run that scenario.

satya11719
Active Contributor
0 Kudos

Hello Holger ,

Your requirements are always very different , I think you are checking the possibilities , there are not real time scenarios ? If Yes , you are getting tough time 😉

Anyway , You can use conditional output in this case and check if it works ,( trail & error)

If A1,A2 & C values are there then only output [+-],

Basically we do this for phrases , you can try and let us know , if this works for you .

Thanks

Satya

christoph_bergemann
Active Contributor
0 Kudos

Dear Holger

after checking once again your demand: this might be the idea:

You could use a "blank compression with alternative" "around" the table like this:

If condition X is fulfilled

Use this "table structure

else

Other table structure

Endif

So you would insert in your WWI template two "slighlty" different tables; One table structure contains all the columns; the second one only the reduced one (without "+/_-)

So logic would be: if "B1" or "B2" contain values: use first table; else second table

I believe this approach should work

C.B.

PS: i am referrint to these threads:

https://answers.sap.com/questions/12855394/conditional-output-for-multiple-values.html

https://answers.sap.com/questions/12852451/cg36ven-additional-information.html

https://answers.sap.com/questions/12717343/import-long-text-via-idoc-submas02-into-e1bp1077ri.html

I would like "only" to know: is the feedback provided helpfulI (by whomever the feedback was given) and did you find a solution based in feedback

PPS: check (for safety reasons) SAP online help as well: https://help.sap.com/doc/saphelp_470/4.7/en-US/a7/2875a80a6c11d28a220000e829fbbd/content.htm?no_cach...

former_member602203
Participant
0 Kudos

Hi Christoph,

this is my second challenge beside the footer topic (https://answers.sap.com/questions/12865344/enter-values-before-report-generation.html?childToView=12863568#). Some story to merge different report templates to (hopefully) one. For row column A1-A2 ; B1-B2 and C we have one report template and values are common for many specifications. In few cases we have just values for A1-A2 and C. For this case the template with the blank compression as shown in screenshot dons't fullfil are design regarding the +/- which dosent sholud appear between B1-B2....

Holger

christoph_bergemann
Active Contributor
0 Kudos

Hello Holger

you have really interestings challenges on your side (if i take a look on the many threads here).

Any how: this is my understanding:

Based on the "presence" of some data in data base some times the "+/-" should be printed and sometimes not

Honestly: Never have seen such a complex demand. You will find rare threads here for discussing "tables" and the challenges therein to get the wished WWI like print out

This is what i have understood: you succeeded to "suppress" the printing of some columns of your table based on "blank compression"; Quite good result!

One may be potential solution is the "blank compression" with alternative option

Take a look here: https://answers.sap.com/questions/9859361/wwi-using-blank-compression-with-alternative-for-o.html

The main challenge is to still keep the logic in place to "suppress" unwished columns and to "print" or don't print the "+/-"

C.B.

PS:

Check e.g. these threads blogs discussing something in relation to your topic:

https://blogs.sap.com/2014/01/22/wwi-techniques-blank-compression-and-user-defined-text/

Check blog https://blogs.sap.com/2013/12/21/wwi-for-experts/ and https://blogs.sap.com/2017/02/12/wwi-still-seems-to-be-the-most-troublesome-tool-in-sap-ehs/

The "blank compression with alternative" is discussed quite often (but not in relation to a table oriented output)

https://blogs.sap.com/2016/05/09/wwi-report-template-guide/ discuss table oriented output; but not on the level of complexity as in your case

PPS: please close those threads for which you have received an useful answer. Thanks