cancel
Showing results for 
Search instead for 
Did you mean: 

Alignment problem in smartforms.

ashish_shah5
Participant
0 Kudos

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??

Accepted Solutions (1)

Accepted Solutions (1)

raymond_giuseppi
Active Contributor
0 Kudos

Yes, you can put conditions in smartforms (look at sap documentation for [Determining Output Conditions|http://help.sap.com/saphelp_nw70/helpdata/EN/fa/0c1456d30111d3b568006094192fe3/frameset.htm])

Regards,

Raymond

ashish_shah5
Participant
0 Kudos

Thx for ur reply

I used condition but it is leaving blank space.

Former Member
0 Kudos

Hi,

You have to do it also for the text ECS. Not only the value

Gr., Frank

ashish_shah5
Participant
0 Kudos

Thx.

I did for both the things but i am getting same problem.

Regards,

Former Member
0 Kudos

Hi

are u using a table or a template in which you print your things.

Can you maybe more specific in how your statements are in which you print your things.

I have not enough information.

Gr., Frank

ashish_shah5
Participant
0 Kudos

In Main Window, I am using Table to get the details.

In DATA option I have declare Internal Table below that where condition i used

ECC NE ''

SHECESS NE ''

ETC....

Regards.

Former Member
0 Kudos

Hi,

U get the data in work are.

For text not u put a condition.

Eg :

wa-ecess ne initial

and soon.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Since you are displaying your data in the table dont use any where conditions in the data tab and instead give the conditions individually on each text element and then check it.The thing is that if you are using the table means you are not supposed to get any blank lines.

Hope this will help you.

Regards,

Venkat.

Former Member
0 Kudos

Hi Ashish,

On every value you need to create a text (means value will be in different texts) and on every text you will have to create the output condition, if the value is initial then it should not print that value.