on 10-15-2008 5:48 AM
hi,
i have to write a if condition...in the smartform....
this smartform has 1 window called info1...where 1 table is there..in the main area..in ane line area two cells are there...one cell is for vat id text...another is for VAT ID work area.
i have to write down the if condition if VBRK-LANDTX = "CH".
than display VAT ID.
please tell me how to write this one.
Hi
You will have conditions tab in the Text Element...You can write VBRK-LANDTX = "CH" in that tab.
Regards,
Vishwa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Go Item Text -> Condition
Determine Condition
VBRK-LANDTX = 'CH'
check it
Thanks
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
U can write all these conditions in conditions tabsb one under one,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
right click on window follow the path
create >flow logic>alternatve.
goto conditions tabs give ur condition and create texts in true and false condtions,write ur logic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
As i told i have so many if conditions...
like
if VBRK-LANDTX = T001N-LAND1 AND VBRK-BUKRS = T001N-BUKRS, CHECK T001N-STCEG IS NOT INITIAL):
than
Our VAT ID No. &T001N-STCEG&.
elseif
VBRK-LAND1 = T005-LAND1, CHECK T005-XEGLD = "X") then the customer VAT ID No. has to be printed additionally
else
(VBRK-LANDTX = "CH"):
Our VAT No. &T001-STCEG&
can i maintain all these conditions in the condition tab
hai,
data : flag ,
flag1
flag2.
as i said before in source code
if VBRK-LANDTX = T001N-LAND1 AND VBRK-BUKRS = T001N-BUKRS, CHECK T001N-STCEG IS NOT INITIAL):
flag = '1'.
elseif.
VBRK-LAND1 = T005-LAND1, CHECK T005-XEGLD = "X") then the customer VAT ID No. has to be printed additionally
flag1 = '1'.
else
(VBRK-LANDTX = "CH"):
flag2 = '1'.
endif.
in the text u will be having condition tab in that
flag = 1.
or
flag1 = 1.
or
flag2 = 1.
shan.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.