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

Problem in Smartforms output ..

Former Member
0 Likes
3,056

Hi Experts,

Please check the screen shots and help me with solving the issue .

The problem is some part of the data it is showing in 1st page and the rest in 2nd page ,this problem is in all the next pages in my form .

And because of this problem when I am calculating the Sub total it is adding the value in 1st page but showing it in 2nd page.

kindly help me with a solution to this.

Thanks in Adv,

Abhisek

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,028

Hi,

seems to be here you are displaying data trough table. The problem is space for the 3rd and 4th columns are not enough. Therefore its two lines and 2nd line move to next page. Best thing is when you are wring the cell text don't forget to pass the field length (some times original field length might take more space than you needed).

Ex: &wa_itab-vol_natural(15)&

Thanks

13 REPLIES 13
Read only

Former Member
0 Likes
3,029

Hi,

seems to be here you are displaying data trough table. The problem is space for the 3rd and 4th columns are not enough. Therefore its two lines and 2nd line move to next page. Best thing is when you are wring the cell text don't forget to pass the field length (some times original field length might take more space than you needed).

Ex: &wa_itab-vol_natural(15)&

Thanks

Read only

Former Member
0 Likes
3,028

You can use the SAPScript formatting options to output your variables:

(C) - space compression to show number like string in same line like this &wa-credit(C)&

(T) - omit thousands separator

(.0) - no decimals

Read only

0 Likes
3,028

hi

     i have tried you idea, but it doesnot work.

     i have ever used (CZ), but i donnot know the(T) and (.0), could you tell me more about this?

thank you ~

Read only

Former Member
0 Likes
3,028

Hi,

For 3rd and 4th Column, pass the Quantity or Amount to a Text or String Variable and while printing use the String Variable.

And if necessary do the "Shift left deleting leading spaces" for the String Variable.

Regards

Sajid

Read only

0 Likes
3,028

Hi,

Use all the fields like &FIELDNAME(CZ)& and try.

Thanks,

Vijay.G

Read only

former_member201285
Active Participant
0 Likes
3,028

It seems to me as if you just have to avoid the page break for this table row.

So, look at this:

Regards,

Ulrich

Read only

former_member249399
Active Participant
0 Likes
3,028

Use 3 and 4  the fields like &FIELDNAME(CZ)& .

Read only

vinoth_aruldass
Contributor
0 Likes
3,028

hi,

Greetings,

create a folder in your smartforms and click page break.

Include your result table(which you have displayed in the screen shot ) inside the folder .

your problem will be solved .

hope it will be helpful.

Regards,

Vinoth

Read only

Former Member
0 Likes
3,028

Hi,

Try to take those field values in String or character field. please let me know if it works.

Thanks and Regards,

Suman

Read only

Former Member
0 Likes
3,028

Thanks,

  the issue is solved now ..

Read only

0 Likes
3,028

hi:

     i want to know how have  you solved the problem?

     could you share your revolution?

thank you!

Read only

0 Likes
3,028

Hi 陈

Converting quan/curr field to char/text with the following way:

Best Rargest.

Read only

0 Likes
3,028

hi

     i cannot get the curr field without the decimal 0..