cancel
Showing results for 
Search instead for 
Did you mean: 

How to display one row data from data source into 2 table rows in NIAF

Former Member
0 Kudos

Hi Experts,

I am working on a non interactive form, using ADLC 8.2.3.

From my interface I am getting data in a internal table with 7 columns.

Now i need to display this data in a repetation of 2 rows in Adobe form.


Eg: my data from the FM is like this

Row1 = a-b-c-d-e-f-g
Row2 = m-n-o-p-q-r-s
row3 = t-u-v-w-x-y-z

Ineed to display this as below

~~~~~~~~~~~~~~~~~~~~~~
| a | b | c | d | e |                        
~~~~~~~~~~~~ ~~~~~~~~~~    |    Row1
|      f     |    G   |                         
~~~~~~~~~~~~~~~~~~~~~~
| m | n | o | p | q |                        
~~~~~~~~~~~~~~~~~~~~~~     |    Row2
|      r     |    s   |                            
~~~~~~~~~~~~ ~~~~~~~~~~    
| t | u | v | w | x |                          
~~~~~~~~~~~~~~~~~~~~~~      |    Row3
|      y     |    z   |                          
~~~~~~~~~~~~~~~~~~~~~~~

I could get the fields 1st 5 fields in one table & next 2 fields in a different table with an additinal reference field to the 1st table.

I couln't figure out how to display it in this required format.

Have somebody done it earlier...?

Please help me out.

Thanks & Regards,

Sai

Accepted Solutions (1)

Accepted Solutions (1)

OttoGold
Active Contributor
0 Kudos

please don´t commit a suicide like this.

Do this in your backend ABAP and do not try to do this in the form. It is not healthy at all. Buggy. Slow etc.

This is not the way how SAP and me recommend to do it.

Or is there a reason you cannot do this?

cheers Otto

Former Member
0 Kudos

Hi Otto,

Thanks for your reply.

Its the client requirement of having the output in such a format,

I can get the data the way it required, different tables or every thing in one table.

once I saw a similar requirement where we get data in 2 different tables, and having where conditions in the form context definition between the 2 tables, i don't know the principles of this approach how to use these conditions etc.

Can you provide any link which explains this approach.

Thanks & Regards,

Sai

OttoGold
Active Contributor
0 Kudos

if I were you:

I would create a table of strings, then table where a row is the string tab (n * n).

Every row of your adobe:

- flowed, western text

- bound to a string tab (every string would be one column)

It is flexible enough and can work even for this weird format.

Otto

Former Member
0 Kudos

Thanks Otto,

I couldn't actually think of having the table in a subform putting it in western text.

I will implement this to night and will update the post,

Cheers,

Sai

Former Member
0 Kudos

Hi Otto,

Thanks for the help my problem is solved.

I created a subform with western text flowed layout and placed my fileds in that.

Did data binding accordingly and its solved.

Cheers,

Sai

Answers (0)