2008 Mar 26 2:54 PM
Hello,
How can I test if the fields are empty or not when execute the report?
thanks!
Hi,
TRY USING BAPAI
USING CHECK
check field is initial.using if...end if
if field is initial.
endif.Regards,
V.Balaji
Reward if usefull
2008 Mar 26 2:56 PM
Hi,
You want to check in selection-screen?
if fieldname is initial.
endif.
Pranav
2008 Mar 26 3:27 PM
Hi,
TRY USING BAPAI
USING CHECK
check field is initial.using if...end if
if field is initial.
endif.Regards,
V.Balaji
Reward if usefull
2008 Mar 26 3:33 PM
Hi,
You can check as below:
Tables : bsis.
parameters : sp_bukrs like bsis-bukrs.
at selection-screen.
if sp_bukrs is initial.
message 'Company code should not be empty' type 'E'.
endif.
Thanks,
Sriram Ponna.
2008 Mar 26 4:01 PM
Thank you for this answer, but I need test it... when I execute the report.
Thanks!
2008 Mar 26 4:06 PM
Hi Raphael,
If u want to check it in debug mode then fill in all selection screen details and enter /h in command promt. Here u acn check the field content by double clicking on the field.
If u want to check it with out debugging the simply use write statements and see the output.
Thanks,
Vinod.
2008 Mar 26 5:42 PM
hi,
At the selection screen level you can check it by using the if not initial and if you want to check after giving the data u can check it in the debugging mode by starting the debugger or aimpoly giving the /h in he command prompt and then executing it.
or u can check it by using write statement.
reward if usefull.
2008 Mar 26 5:49 PM
hi
use AT SELECTION-SCREEN events
like
at selection screen on <para>
if <para> is initial.
message e001(<mcl>)
endif.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |