2006 Aug 29 12:56 PM
Hi,
after using the logical database with the get statement, I have a value in a field which is shown in the new debugger for the field ldb_structure-bukrs like this: '####'.
If I use the if-clause like:
IF ldb_structure-bukrs IS INITIAL.
<do-something>
ENDIF.
<do_something-else>
The <do-something>-part is left out in this case, because there are #-values in the empty field.
Where does this behavior come from? Just because there was a select and the field could not be filled? Why isn't it just empty?
Kind greetings,
Mario
Message was edited by: Mario Schmidt
2006 Aug 29 1:04 PM
Perhaps it would be
IF ldb_structure-BUKRS IS INITIAL.
<do-something>
ENDIF.
<do_something-else>
Normally it is visualization subject, if you click in structure, in debugging you would be able to see the value of the fields of structure.
Regards
Hi,
after using the logical database with the get statement, I have a value in a field which is shown in the new debugger for the field ldb_structure-bukrs like this: '####'.
If I use the if-clause like:
IF ldb_structure-bukrs IS INITIAL.
<do-something>
ENDIF.
<do_something-else>
The <do-something>-part is left out in this case, because there are #-values in the empty field.
Where does this behavior come from? Just because there was a select and the field could not be filled? Why isn't it just empty?
Kind greetings,
Mario
Message was edited by: Mario Schmidt
2006 Aug 29 1:04 PM
Perhaps it would be
IF ldb_structure-BUKRS IS INITIAL.
<do-something>
ENDIF.
<do_something-else>
Normally it is visualization subject, if you click in structure, in debugging you would be able to see the value of the fields of structure.
Regards
2006 Aug 29 1:13 PM
Hi,
use below logic
if ldb-bukrs is initial.
write:/'test'.
else.
endif.
Regards,
Amole
2006 Aug 29 1:31 PM
No, I'm sorry.
I'm using already ldb_strukture-bukrs is initial in the if statement. It was an error in the posting above.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |