Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Evaluate After

Hi all

I have a suppression formula working on a >0.00 value

but i want to put a text field in and suppress it

The problem is the text apears in a group before the fomula.

is there any way to wait till the suppression formula has triggerd

Main suppress formula

{@wordsniff}

whileprintingrecords;
numbervar rec;
//if field equals needed string, memorize recordnumber
if {tvw_CustomFields.CustomFieldCategoryName} = "..New System Requirments:" and
{tvw_CustomFields.CustomFieldLabel} = "print info" and
{tvw_CustomFields.CustomFieldValue} = "True" then
 rec:= recordnumber;
rec;

Text suppression formula before {@wordsniff}

{@showtext}

if {@wordsniff} >0.00 then ToText ("This is a test") else
ToText ("")

is ther any way this can work

Cheers

replied

Hi Alex,

Can you try this :

whileprintingrecords;

numbervar rec;

//if field equals needed string, memorize recordnumber

if {tvw_CustomFields.CustomFieldCategoryName} = "..New System Requirments:" and

{tvw_CustomFields.CustomFieldLabel} = "print info" and

{tvw_CustomFields.CustomFieldValue} = "True" then

rec:= recordnumber;

rec;

if rec >0.00 then ToText ("This is a test") else

ToText ("")

In section expert write a suppress condition like

Whileprintingrecoards;

numbervar rec;

if rec>0.00 then true

Hope this will help you.

Thanks,

Sastry

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question