on 07-27-2010 10:07 AM
Hi to All,
this is my first Sap Interactive Forms.
I have in input a table with 4 fields, where the first field is my header and the last 3 record are items:
IT01|Info01|Info02|Info03
IT01|Info04|Info05|Info06
IT02|Info01|Info02|Info03
I should create an header section with the field (IT01) and a item section with condition break.
I'm not able to manage 2 content area in master data, I'm able to use only the first Content Area.
Do you have suggest?
Thanks & Regards,
Umberto
HI Umberto,
I guess i know what you are trying to do. You want to achieve some sort like grouping( like the the grouping feature in Crystal Report) in Adobe form. Please correct me if I'm wrong.
Example,
Country 1
1. Info 1 Info 2 Info 3
2. Info 1 Info 2 Info 3
3. Info 1 Info 2 Info 3
..
Country 2
1. Info 1 Info 2 Info 3
2. Info 1 Info 2 Info 3
What you can do is:
1. Perform grouping before pass the data to form.
Process the data and populate the data into a table with 2 columns: 1 column for country, another column is a table type to store all records belongs to country
This table to be passed to adobe form for display.
2. Repeat the subform(flow type) based on the table records.
Display the country as text label for group name, and display the records as table.
For sample, you can refer to standard SAP adobe form HAP_PDF_OFFLINE_FORM to see how it works.
regards,
Xiang Li
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi to All,
how suggest by Otto, I have created a type table into DDIC with header and items fields:
Table:
Field_header_1
Field_header_2
Sub-table
|_Field_item_1
|_Field_item_2
|_Field_item_3
Now, I'm to able to print correctly header and items, but I'm no't able to create a conditional break on Field_header_1 and Field_header_2.
Very strange, my test case has 2 header row and 3 items rows for each header, the first page is correct, then there are two blank pages and the last page is correct. Maybe I should check the various Subform... I don't know.
I hope to solve these issues, this is for me "training on the job" and the time available is not very.
This forum is an excellent resource.
Thanks again.
Umberto
Hi Umberto,
I do not system with me to try.
Can you please try:
MAIN SUBFORM => positioned, allow page-break checked
|_ SUBFORM TABLE => flowed, allow page-break checked, role = table, binding = $.IT_SFLIGHT
|_SUBFORM ROW => flowed, allow page-break checked, role = body row, binding = none
|_SUBFORM ITEM_ROW => flowed, allow page-break checked, role = none, binding = $.DATA[*] - repeat subform for
each data cheked
|_SUBFORM ITEMS => positioned, allow page-break NOT checked, binding = none
|_TEXT FIELD CARRID => binding = $.CARRID
|_TABLE PLANETYPE => binding = $.PLANETYPE.DATA[*]
Hope this helps.
regards,
Xiang Li
Edited by: xiangli heah on Aug 3, 2010 12:04 PM
A blank page often appears when the content si "longer" at design time (you can see the content out of the content area borders) or at runtime (like you have the last element at the bottom of the page, you have a margin set up and this margin needs an extra page to fit). Try to check that. Otto
I wonder why do you need two content areas.
You place the header (if reasonable structure) on a master page. And the table of items on the body page.
Or: You create a table of tables: table of "documents" where each document is a structure with header and a table of items.
Regards Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You´d better use the tiny arrow on the right of the binding field, which helps you to identify the right context/ backend element to bind the form field to. From my experience your $.FIELDHEADER sounds pretty weird (i would expect something like $record or something like that). Hope it helps, regards Otto
Hi to All again,
I'm not able to resolve this tiring issue.
I have this structure:
MAIN SUBFORM => positioned, allow page-break checked
|_ SUBFORM TABLE => flowed, allow page-break checked, role = table, binding = $.IT_SFLIGHT
|_SUBFORM ROW => flowed, allow page-break checked, role = body row, binding = none
|_SUBFORM DATA_HEADER => positioned, allow page-break NOT checked, role = none, binding = none
|_TEXT FIELD CARRID => Binding = $.DATA[*].CARRID
|_SUBFORM ITEM_ROW => flowed, allow page-break checked, role = none, binding = $.DATA[*] - repeat subform for
each data cheked
|_SUBFORM ITEMS => positioned, allow page-break NOT checked, binding = none
|_TEXT FIELD PLANETYPE => binding = $.PLANETYPE
I would print CARRID every time they change, for example:
Now (with problem):
CARRID
|_ PLANETYPE
|_PLANETYPE
|_PLANETYPE
|_PLANETYPE
Expected result:
CARRID
|_ PLANETYPE
|_PLANETYPE
NEW PAGE
CARRID
|_PLANETYPE
|_PLANETYPE
Please, help me, I'm tired.
Thanks again to All.
Best Regards,
Umberto
User | Count |
---|---|
87 | |
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.