on 11-24-2008 12:44 PM
Hi ,
In smartforms I have to print header text like this following.
example: 'amend no: 2541/1258'.
I am getting the text.But if text does not exists the entire line shouldn't print.
I've given 'amend no:' in one text node and include text in another one text node(append directly).
I am checking condition SY-SUBRC for include text.but what can i do not to get the text 'amend no:'. if text does exists.Is there any command/condition to test the existence of Standard text before including it.
Please help me regarding this issue.
Thanks&Regards,
Murthy.
&Text:VAR1&
Text: is any text u want to be displayed along with the variable
VAR1 is any variable in smartform containing value
e.g:
&Employee ID: G_PERNR&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi kan ,
see frst in ur code put a select query
select * from stxh into table it_stxh where tdobject eq 'VBBK' and tdname eq gf_tdname and tdid eq 'Z006'
if sy-subrc = 0
v_flg = 1
endif
now put this v_flg condition there in include text.
it wil surely help u bcz if v_flg is 1 then onle text will be printed else the label will also not come .
regards,
prashanti
Text name:&gf_tdname&
Make it
&Text name:gf_tdname&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do it like this
&Text:VAR1&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.