Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartform Alignment condition

Former Member
0 Likes
1,060

Hi,

In my requirement my smartform aligment was not proper. For one Division the condition is working fine and for another condition it is not. I compared the 2 conditions and found the fault.

Condition :1- Correct Alignment.

Date               Invoice          BOL               Vehicle               Detail                         Curr               Amount

24/12/2012     12574           77452               TX235787          CION-0123                USD              102536.

Condition :2- Incorrect Alignment.

Date               Invoice          BOL               Vehicle               Detail                         Curr               Amount

26/12/2012     12574           14521/ASDR               TX235787          CION-0123                USD              102536.

Can you find the difference. The value of BOL differs from one division to another. ...So that is there any option to condense the BOL like

BOL  14521/ASDR into

BOL   14521

          /ASDR

or any other option.......pls suggest me

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,028

Hi Bharani,

Please use the table node under the main window and specify the column length in line type for each column then automatically the output will come like below.

Use the text node for each column.

14521 

/ASDR

Thanks & Regards,

Polu


7 REPLIES 7
Read only

prakashjasti
Contributor
0 Likes
1,028

Hi

Calculate the length of BOL and print 5 characters each in one line.

Regards,

Prakash.

Prakash J
Read only

0 Likes
1,028

Thanks for your prompt response......if possible can u explain me brief

Read only

Private_Member_7726
Active Contributor
0 Likes
1,028

Hi,

That should really be output using Table node, and not the tab or any other alignment...

cheers

Jānis

Read only

Former Member
0 Likes
1,028

Hi Bharani,

You can do this by creating either template or table node.

if in a particular cell, if data length increases then it will automatically come in the next row.

Regards,

Pankaj

Read only

Former Member
0 Likes
1,028

Can any one pls reply me for my condition. Since the i cannot change the BOL but at least i can condense it......is that possible means pls reply me...

Read only

Former Member
0 Likes
1,029

Hi Bharani,

Please use the table node under the main window and specify the column length in line type for each column then automatically the output will come like below.

Use the text node for each column.

14521 

/ASDR

Thanks & Regards,

Polu


Read only

rosenberg_eitan
Active Contributor
0 Likes
1,028

Hi,

Do a Google using search operators: site:help.sap.com smartforms Output Options for Field Contents

Try to use formatting option &field(<length>)&

Regards.