cancel
Showing results for 
Search instead for 
Did you mean: 

WWI syntax for the application method C14N_FILT_SSEQ_PHR_ALL or alternative

former_member619476
Discoverer
0 Kudos

Dear all,

I am trying to make the Method C14N_FILT_SSEQ_PHR_ALL work, but unfortunately I can not find the right syntax.

If you know an alternative for this function, please tell me.

I want to print all Report Symbols assigned to a Value Assignement Instance at an Characteristic if a Specific Phrase is assigned to to a Report Symbol at the same Charakteristic in the same Instance.

Thanks.

Accepted Solutions (0)

Answers (5)

Answers (5)

Ralph_P
Product and Topic Expert
Product and Topic Expert
0 Kudos

Short correction to Mark's and Christoph's answers:

<15BIF001(AND:<PHRASED CHARACTERISTIC(K)>EQ"Text of the phrase you want to compare" )><Print your values><15CIF001>" Do nothing<15EIF001>

If you want to check for the key of the Phrase, it is Extension (K)

Ralph

satya11719
Active Contributor
0 Kudos

Hello Manuel Krall

Try this hope it helps,

<15BIF***(AND:<REPORTSYMBOL>EQ"CUST-100000000000031" )>

<Print your values in report symbol or other values>

<15CIF***>

Keep it empty means nothing will be printed

<15EIF***>

Thanks

Satya

former_member619476
Discoverer
0 Kudos

Dear Mark,

unfortunatelty I try to trigger an output depending on an specific phrase like:

<03EHS_L_TEXT(CUST-100000000000031)[D:Density is less than 1]>

So if this phrase is assigned the value assignement instance should be put out on the doc, otherwise it shouldnt.

So I can not use the conditional output in this case, or do you have an example how it works with a phrase not value or text?

Mark-Pfister
Active Contributor
0 Kudos

Hi Manuell,

This should work

<15BIF001(AND:<PHRASED CHARACTERISTIC> EQ "Text of the phrase you want to compare" )>
  <Print your values>
<15CIF001>
  " Do nothing
<15EIF001>

but only for one language of the document.

So you need to use as comparison the phrase key or code which I think will work a well.

<15BIF001(AND:<PHRASED CHARACTERISTIC>(C) EQ "Phrase Key" )>
  <Print your values>
<15CIF001>
  " Do nothing
<15EIF001>

Best

Mark

christoph_bergemann
Active Contributor

Hello

the "only" long term stable variant (from my point of view is (refer below; based on proposal of Mark): Don't use anything else. C.B.

<15BIF001(AND:<PHRASED CHARACTERISTIC>(C)EQ"Phrase Key" )><Print your values><15CIF001>" Do nothing<15EIF001>
Mark-Pfister
Active Contributor
0 Kudos

Hello Manuell,

If me your requirements sound like this on an instance level of a class/property:

LOOP over all instances of an class.
  IF <Characteristic A> IS EQUAL TO <Specific phrase >.
    "output all characteristics of that class.
  ELSE.
    "Do Nothing
  ENDIF.
ENDLOOP.

If that is the case you can just use normal standard WWI coding. WWI supports IF statements - called conditional output. See here for documentaiton: https://help.sap.com/viewer/c4e98fcb44e74814b58b61aefc1b1fcb/6.17.17/en-US/3fa2ce5314894208e10000000...

Here's an example:
With the following syntax, the value for the density is output if the density is greater than or equal to 1. If the density is less than 1, the phrase "Density is less than 1 is displayed".

<15BIF001(AND:01G1013005VA GE 1)>
  <01G1013005VA(;*/TL)[D:Value]>
<15CIF001>
  <03EHS_L_TEXT(CUST-100000000000031)[D:Density is less than 1]>
<15EIF001>

The SAP / Verisk 3E ERC WWI templates contain a lot of examples as well.

Hope this helps

Mark

christoph_bergemann
Active Contributor
0 Kudos

Hello

this is your requirement:

I want to print all Report Symbols assigned to a Value Assignement Instance at an Characteristic if a Specific Phrase is assigned to to a Report Symbol at the same Charakteristic in the same Instance.

I have some problems in understanding this.

My understanding would be:

1.) we have a class based property/VAT

2.) we have more than one characteristic in side

3.) you would like to check one "value" in one characteristic in one data record and based on that do a special printing

The module C14N_FILT_SSEQ_PHR_ALL is explained here as:

https://blogs.sap.com/2013/08/30/standard-wwi-processing-methods-wwi/

C14N_FILT_SSEQ_PHR_ALL ==>

Filters all value assignment instances and compares their phrase codes. All value assignment instances that fulfill the filter criteria are output.

I can not match this explanation to your wish. PLease explain better your need.

PLease check the existing WWI blogs; you will find many discussion here of using logic like "if/else/endif".

Regarding: C14N_FILT_SSEQ_PHR_ALL

I can not remember one discussion here.

C.B.