Skip to Content

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

SAPscript ECC 6.0 IF condition problem with (C) '0.00'

Hi,

We are upgrading from ECC 5.0 to 6.0 and are facing a problem with a IF condition in Layoutsets

Here is what we have.

Driver program data variable:

DATA: SUMMARY_VALUE LIKE VBRK-NETWR.

In Layout set

/: IF &SUMMARY_VALUE(C)& NE '0.00'                  <--- Note the (C) inside the &&
*  Summary Value: &SUMMARY_VALUE&
/: ENDIF

In ECC 5.0, if SUMMARY_VALUE field contains an initial value, the line within the IF condition won't print.

That is expected and working fine.

In ECC 6.0 EHP4, it is not working.

Even if the SUMMARY_VALUE field is initial, it still outputs:

Summary Value:              0.00

Any thoughts? Would really appreciate it if you can point me to an OSS note.

We have a lot of IF statements like that in many Layoutsets. Finding and changing them would be a nightmare.

Thanks in Advance.

With best regards,

-Ramesh

Former Member
Not what you were looking for? View more on this topic or Ask a question