cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with line break in SFP

Former Member
0 Kudos

hi,

i have a form created by transaction SFP (Interactive Forms):

i have a table line with 5 fields. So there is a loop over the table and the 5 fields are displayed in the form.

Date     Invoice Nr.      Ref.No         CUR        Amount

xxxxx    xxxxxxxx        xxxxxxxxx    xxxxx      xxxxxxxxxxx

xxxxx    xxxxxxxx        xxxxxxxx      xxxxxx    xxxxxxxxxxx

xxxx      xxxxxxx          xxxxxxx       xxxxx      xxxxxxxxxxxx

so far, so good: now i have to add a new field from the loop-table, which is char 80 long (a text). I have to place it

in the second row of each table-entry. so the output should look like this (where zzzzzzz..... is the new added field)

Date     Invoice Nr.      Ref.No         CUR        Amount

xxxxx      xxxxxxxx              xxxxxxxxx    xxxxx          xxxxxxxxxxx

             zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

xxxxx    xxxxxxxx        xxxxxxxx      xxxxxx    xxxxxxxxxxx

             zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

xxxx      xxxxxxx          xxxxxxx       xxxxx      xxxxxxxxxxxx

             zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

i have no idea how to tell SFP Layout Designer to place the zzzzzzzzzzzz......-field in the second row under "Invoice Nr".

does anybody know how to handle this ?

br, Martin

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Martin,

I've got a solution it's a bit of a workaround but it's easy and works nicely.

1) Add the new text field to the table line (now you have only one table with six fields) and send the table to the form.

2) In the form create a table and a row in it. (up to this point do binding as usual)

3) Create a single cell for this row, this cell will be a table with no data binding at all.

4) Create two rows in the inner table (those two rows will have no data binding as well) - the first one with five cells and the second one with one cell only (to do this create a 2 * 5 table and use 'Merge Cells' on second row to turn it into one cell).

5) bind the first row cells to the five original fields and the second's cell to the new field.

Thats it

Hope it will help

Shai

Former Member
0 Kudos

Hi Shai,

thanks a lot ! But i am a little bit confused with the many tables

3) Create a single cell for this row, this cell will be a table with no data binding at all.

What do you mean "this cell will be a table" ??? how should i do this ?

4) Create two rows in the inner table..........................

What do you mean by 'inner table' ?

br, Martin

Former Member
0 Kudos

Hi martin

Sorry about being unclear, i'll try to explain:

at the end you will have two tables one in the other, for achieving this you create a 1 * 1 table (the outer table).

choose the single cell - go to the 'Object' pallet and change the type to table (this new table is the table I refered to as 'the inner table' - because hierarchically it is inner).

Hope it's clearer now

Shai

Former Member
0 Kudos

Hi Shai,

i think i am still to 'stupid'

I am not able to change the cell into table ! When i go to the 'Object' pallet it is not possible to change the type to table !

br, Martin

Former Member
0 Kudos

Hi Martin

Sorry again

You are not stupid at all it was my mistake, the way of doing it is 'Drag&drop' (drag the table element from the 'Object library' Pallet to the table cell).

I wasn't in front the liveCycle yesterday, this time things are checked!!!

Deeply sorry again

Shai

navip
Active Participant
0 Kudos

Hi Martin,

Please follow the steps below to solve the problem.

Create a Subform with Positioned.

Create text fields as per your requirement.

Date     Invoice Nr.      Ref.No         CUR        Amount

Under the fields add another text field( this is to print the text 80 char long) as shown below:

Hope this is helpful.

-Naveen

Former Member
0 Kudos

Hi Martin,

You can use subform as table method

http://saptechnical.com/Tutorials/AdobeForms/Table/Create.htm

Design your subform as 2 rows to meet your requirement.

regards,

Xiang Li

Former Member
0 Kudos

Hello,

thanks for the hint. i have tried this, but now it looks like this:

Date     Invoice Nr.      Ref.No         CUR        Amount

xxxxx      xxxxxxxx              xxxxxxxxx    xxxxx          xxxxxxxxxxx            

xxxxx    xxxxxxxx        xxxxxxxx      xxxxxx    xxxxxxxxxxx            

xxxx      xxxxxxx          xxxxxxx       xxxxx      xxxxxxxxxxxx

             zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

             zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

             zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

the zzzzzzzzzzz-field is displayed under the table, not under the entries. i cannot 'move' the

subform under the table. i have no idea how this should work

br, Martin

rakesh_m2
Contributor
0 Kudos

Hi Martin,

I agree with Xiangli.  If we create a subform for displaying data in table, your issue will be fixed.

Thanks,

Rakesh

Former Member
0 Kudos

Hi Martin,

I guess your fields were not in the same subform.

Can you put all your fields in the same subform?

The subform should contains below fields

xxxxx      xxxxxxxx              xxxxxxxxx    xxxxx          xxxxxxxxxxx

[ blank ]zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

regards,

Xiang Li

Former Member
0 Kudos

Hi Rakesh,

the fields are in the subform, BUT: how should i tell the subform that it has to do the table-loop ?

nothing is displayed in my subform right now

br, Martin

Former Member
0 Kudos

Hi Martin,

                 Add your ZZZ fields below Invoice Nr.

_______________

| Date | Invoice Nr.  | 

|     _   | ZZZZ field  |

Take it as a one another Idea

Regards

Amit