on 07-31-2008 10:50 AM
Hi guys...how do i check if the include text in my smartform is blank?
Ex. i want to print the following,
Truck Number : mh-04 a-4589
where Truck Number : is a text element and mh-04 a-4589 is an include text.
if the include text is blank, i dont want to print even the text element.
any suggestions ??
before the include text use a program lines
and use the FM read_text
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id =
language =
name =
object =
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = i_tab
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
in the conditions tab of the include text give the condition
i_tab is not initial
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Poonam ,
Its Very simple go to the inclued text, then click on condition tab and write the following condition,
if field name ( mh-04 a-4589 ) is not initial .
Then it works,
Reward if it usefull,
Regards,
KP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In conditions tab of the include text give the condition:
<include_text_name> is not initial.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Poonam,
In the conditions tab , Add a condition
mh-04 a-4589 ne intial.
This will work.
Regards,
Nisrin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.