on 06-06-2007 10:24 AM
Hi,
I am trying to display two tables on a PDF Form. Second table needs to be displayed based on first. I have keyfields but where should I mention the Join. Is it in layout Editor or Context. I am using SFP transaction to develop the PDF form.
Points assured even for a hint.
Thanks
Hi Aravind,
There are many way to do the nested loop solution, One way is to create new custom context nodes for two tables and fill them at runtime by using keyfields and join where the form first get initialized.
.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Malik,
Thanks for the reply !!.
Tables are already populated. Here is the situation :
I declared First table & second table in a Subform. Second table needs to appear only if an entry is present for that iteration of First table.
Lets take simple ABAP Code
Loop at tab1.
write tab1.
Loop at tab2 where <b>f1 = tab1-f1</b>.
write tab2.
endloop.
endloop.
My question is where should I mention the <b>WHERE Clause</b>??
Thanks
if i remem ber right, assuming you are using adobe development through interface ->context-> layout creation in SFP transaction. You can specify the where condiytion in the node elements at the context level.
Also use relative bindings by wraping the nested fields/ rows in the subforms. With proper context creation and similar hierarchy (node with in a node), you can define the nested tables. I believe, you can relate the context hierarchy with the smart form devlopment (if you are familiar with it. -> both has got some similarity).
You may also refer the adobe designer help and also the adobe development center, where you can find samples of how to have nested tables.
Hope these helps.
Do update on your developments.
Thanks and regards,
Anto.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.