‎2009 Jun 08 10:04 AM
Hi,
I am getting the values of ECS, ECESS, SECESS, VAT etc. My requirement is If my ECS value is not there then it should be print next value.
Eg. I am printing
ECS - value 4
ECESS - value 1
SECESS -
VAT -
Discount - 10
In above case SECESS / VAT value is zero, In I/P to be print
ECS - value 4
ECESS - value 1
Discount - 10
Is it possible in Smartform??
If yes then please provide me the solution.
Regards,
‎2009 Jun 08 10:13 AM
Hi,
In the text window you have a condition tab.
TEXTWINDOW -> CONDITIONS TABGive the condition saying
VAT <> ' '
while it is printing it will first check the condition and then print so that you'll get the exact value as you need.
If VAT is empty it will print the next item .
Thanks&Regards
Sarves
‎2009 Jun 08 10:09 AM
‎2009 Jun 08 10:13 AM
Hi,
In the text window you have a condition tab.
TEXTWINDOW -> CONDITIONS TABGive the condition saying
VAT <> ' '
while it is printing it will first check the condition and then print so that you'll get the exact value as you need.
If VAT is empty it will print the next item .
Thanks&Regards
Sarves
‎2009 Jun 08 10:19 AM
thx for everone.
I used condition but it is leaving blank space.
I dont want to leave a blank space.
Regards,
‎2009 Jun 08 10:42 AM
Hi,
For this you need to take all the values
text 1
ECS - value 4 In the same text window condition tab give the condition not initial.
text 2
ECESS - value 1
text 3
SECESS -
text 4
VAT -
text 5
Discount - 10you need to even give the constant value also in the same window, if not it will print the you the heading that is VAT and leaves the value as space.
Just check whether you have given the heading and the corresponding value in the same text window
Check these snapshots: [ConditionTab|https://wiki.sdn.sap.com/wiki/download/attachments/1710/untitled1.PNG]
[TextWindow|https://wiki.sdn.sap.com/wiki/download/attachments/1710/untitled.PNG]
Data i'm sending into the table
[Data to internal table|https://wiki.sdn.sap.com/wiki/download/attachments/1710/data.PNG]
Thanks&Regards
Sarves
‎2009 Jun 08 10:16 AM
‎2009 Jun 08 10:16 AM
Hi Ashish,
It is possible in smartform.
Whatever tax element is there just put the condition value <> 0 in the conditions tab of text node.