cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

This happened as a side effect of note 1432997 during our upgrade.

The follow on notes 1491259, 1501640, 1523380, 1529914 solved the problem.

Thanks to my colleague and friend who painstakingly debugged and found the problem and solution.

Hope this helps anyone else who faces a similat problem.