on 04-20-2009 1:53 PM
Hello
I´m trying to implement a printForm and like grouping the result Data.
The result data like this:
Book1 Chap1 Text1
Book1 Chap1 Text2
Book1 Chap2 Text3
Book2 Chap3 Text4
Book2 Chap3 Text5
The layout that need to generate:
Book1
......Chap1
............Text1
............Text2
......Chap2
............Text3
Book2
......Chap3
............Text4
............Text5
How do This? I'm trying with subforms but no find a way to binding data for grouping.
Edited by: Matías González on Apr 20, 2009 2:53 PM
Hi.
Sorry petr but i use interactive forms in Java with net weaver developer studio.
I´m trying to create a hierarchy but have any problems.
The herarchy is:
........[1..n]Text
(the books is not important)
The data is the same:
......Chap1
............Text1
............Text2
......Chap2
............Text3
......Chap3
............Text4
............Text5
But the problems is that result is:
......Chap1
............Text1
............Text2
......Chap2
............NULL
......Chap3
............NULL
This is other problem, but don´t find the solution.
I will try to create loop but don´t find the options in the adobe designer.
Can you help me?
(Excuse me but i don´t speak english very well)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ups!
To be honest I'm not using Adobe Forms with WebDynpro for Java.
My knowledge and expertise are focused on PDF print forms inside ABAP.
I can only imagine if it is possible to design context for Java usage of Adobe Forms in the way it is done in ABAP. There should be such possibility, but I hope someone who knows better will add better answer to this thread.
Regards,
Petr Perstnev
I just finished something very similar and personally, I would create my context like this
Main 1:1 <- this is mapped to your PDF UI element data source
Book 1:n
Chapter 1:n
Text 1:n
then, fill up each instance of the Book & its elements.
The concept isn't hard, as the poster above said, but actually filling up multiple instances of Book is a bit of a pain.
In your form, you need to remember to have a Flowed Subform and have it marked as Repeating
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There's even more "let's play hard" alternative.
You can escape all this things with interface <-> context mapping and grouping if you create your own table type for the interface and for this table type use complex structure including one table type inside of another, and so on. Resulting table can present all the structure you describe in one object and is going to be easy to work with inside Adobe Designer. But (as a drawback) it requires from you more tricky processing when filling it with data at data collection program/function.
Hello!
In the context of your form (screen where you move data from interface to context) there's possibility to group data using control levels. Check this in [SAP Library|http://help.sap.com/saphelp_nw70/helpdata/EN/12/38cf0c70c14ab2b2bba480386a5af7/frameset.htm]
It is not very difficult to understand the logic. But I suppose it's better to first try it with small data table.
Regards,
Petr Perstnev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.