Resizing a table in Adobe form J_3R_INV1_CONTEXT
Hi,
I'm quite new with Abobe forms and stuck with a task. It might seem simple, but though in this J_3R_INV1_CONTEXT form.
There's a table (containing 13 columns) on the second page, and cc 1 cm is cut from it's right side, during printing.
I can't move the whole table to the left because it's size.
So I would like to cut 1-1 mm from all of the columns.
I could easily do this at the first column, but not at the rest of the columns, the width of the columns cannot be changed, they are automatically set back to 0 after I try to modify them.
Could anyone help me in resizing this, a step-by-step instruction or a tutorial would be good also.
Thank you
Tamas
Hi Tamas,
I checked the mentioned form and, as this table is setted as TABLEROW and some of its cells are static, is not possible to change the column size in the layout or even though changing it directly in the XML file, cell by cell. I was trying it.
For example, choose the Cell6 of TABLEROW[0] and click on tab 'XML Source'. You will see this statement:
<draw colSpan="3" h="16.3166mm" name="Cell7" w="22.225mm">
You can try to change the value 'colSpan' according to your requirement.
This table size is not modifiable because it was developed to it.
I believe that Diego's suggestion can help in this case, if you are having problems to print the entire table on the page.
Regards,
Lucas Comassetto.
Similar Messages
-
How to use nested tables in adobe form
Hi All,
I have to use nested tables in adobe form for table display. I have used Subforms for displaying table data. I have changed accessibility of the subforms. Currently i am able to print print the table correctly if there is single material record in table 1 and single corresponding record in table 2. But the requirement is that i will have multiple lines in table 1 for single material and only one record in table 2.
EX: form is for Sales order. in line items if the order is for 100 units then we if we have delivered material as 80, 10, 10, then table 1 will have 3 lines for this. Table 2 will always have only 1 corresponding record.
item--materialdescription-ordered qty--delivered qty--delivery date-price
xxx--xxxxxxx-xxxxxxxxx-10080xxxxxxxxxx-xxxx
10----
xxxxxxxxxx
10----
xxxxxxxxxx
yyyyyyyyyyyyyyyyyyy------yyyyyyyyyyyyyyyyyyyyy
xxxxxx is table 1 and will have multiple lines
yyyyyy is table 2 and will have only 1 entry for item xxx
and this group will be repeate as per no of items. table 1 can have any no of lines per item.
I am currently able to display 1 line for table 1 and 1 line for table 2.
But how to show multiple lines for table 1 and 1 line for table 2.HI,
Set the body page as flowed and set the tables also flowed.
go to bodypage>object->subform-->select flowed option.
I thihnk this will work..if u are getting all the records properly into the tables 1 and 2.
Thanks,
Mahdukar -
How do I get to have more than 20 columns in a table in adobe form?
I see that there is limitaion to not have more than 20 columns in my table in adobe form, Is there any way I can have more than 20 columns in a table in adobe form in landscape mode.
Hi,
That only relates to the Table Wizard. Once the table is placed on the page, you can add columns manually, from the menu or right-clicking on a column.
You can also use fields within a repeating subform (instead of the table object).
Good luck,
Niall -
Merging of cells of a dynamic table in adobe form
Hi,
I am trying to Merge 2 columns in a dynamic table in adobe form.The requirement is to merge column 3 and column 4 if column 4 is empty. I used the below javascript code in both "Form ready " and Initialize event of the row.
if (this.Cell4.rawValue == " ")
this.Cell3.colSpan = "2";
this.Cell4.presence = "hidden";
Note : Since above code was not working , i used the below code in my subform also but it did not returned desired output.
if(Table22.Row1.Cell1.rawValue == " ")
Table22.Row1.Cell3.colSpan = "2";
Table22.Row1.Cell4.presence = "hidden";
The problem is that in my dynamic table , its the second row where the requirement is fulfilled ie in the 2nd entry of my table the column4 is blank (the exact row number might change depending on input data).
is there a way to loop in the dynamic table and check if column 4 is empty for a particular row.
the above code does not help to fulfill my requirements. kindly help.
Thanks
AditiHello Aditi priya,
Hope you are doing good..
Please go through my recent blog..
http://scn.sap.com/community/interactive-forms-by-adobe/blog/2015/01/02/merging-internal-table-cells-dynamically-in-sap-adobe-forms-using-java-script-code
I hope you will find all answers from this blog..Reward if helpful...
Thanks & Regards,
B Raghu Prasad -
Problem with table in Adobe Form in Web Dynpro JAVA??
Hello all,
I have an issue with the table displaying all the node values in the Adove Form. Right now it displays only the first element of the Node even if there are multiple entries.
Not sure what is going wrong here.
How is the table created in a interactive form? Any help is appreciated.
Thank you, JohnSiva,
I referred to the website, but still having issues with generating tables in Adobe Form. I can get all the table rows in the adove form, but the pdf doee not add new pages to display all the table rows. It just createa one page with the table inside it, display few of the rows and truncates rest of the table data.
Here is the heirarchy of the page with the properties set
Master Pages ---
||--> Page 1
||--> content area
||--> subfrom (properties:: Content - Flowed / Flow direction - top to bottom...pagination tab is greayed out completly)
||--> Table
||--> HeaderRows (Object: Row - Type: Header Row)
||--> Row1 (Object Tab/Binding: Repeat Row for each data item - checked)
Can't make it wor, not sure what's wrong here
I am using NDS 7.0 SP18 and Adobe LiveCycle 8.0. Does that could be a problem.
Appreciate your help
John -
Restricting visibility of table in Adobe form in WdJava when node is empty.
Dear Experts,
We have a requirement for Formcalc or Javascript code for making the table on adobe form invisible when the node corresponding for the table in the form is empty.
Please suggest ASAP. Thanks in advance.
Regards,
Mahesh.Hi
In the table's layout ready event write the following.
//formCalc
if(data.Page.<table>.<Row1>.<field>.rawValue == null or data.Page.<table>.<Row1>.<field>.rawValue == "" ) then
$.presence = "hidden"
//this.presence = "hidden"
endif
Kind Regards
Mukesh
Edited by: Mukesh mani on Nov 23, 2009 1:26 PM -
Printing data from table in Adobe Form.
Hi all,
How can i print all data from my internal table in adobe form.currently only last record from table is getting printed.i have put my table is in sub form and content i have made 'Flowed'. is there anything else i have to do to make all data from my internal table appear.
Thanks & Regards,
Anjana RaoHI Nimesh,
This looks ok and works well, but the problem is its not printing the header data, all the headings its leaving that place as blank. Do you have any suggestion for this. This is the code is used.
DATA: pgm LIKE sy-repid,
tc TYPE cxtab_control.
pgm = sy-repid.
tc = tab.
CALL FUNCTION 'FITRV_PRINT_TABLE_CONTROL_DATA'
EXPORTING
TABLE_CONTROL = tc
CALLBACK_PROGRAM = pgm
CALLBACK_TOP_OF_LIST = 'TABLE_TOP_OF_LIST'
CALLBACK_TOP_OF_PAGE =
CALLBACK_END_OF_PAGE =
CALLBACK_END_OF_LIST =
OPTIMIZE_COLUMN_WIDTH = 'X'
GET_CURR_QUAN_FIELDS_FROM_DDIC = 'X'
WINDOW_TITLE = 'PRINT TABLE'
PRINT_IMMEDIATELY = 'X'
TABLES
PRINT_DATA = ITAB
EXCEPTIONS
COLUMN_INFORMATION_MISSING = 1
PRINTING_NOT_POSSIBLE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks,
Venkat -
Create multiple tables in adobe form
hi,
Is there anyone can tell me how to create multiple tables in Adobe Form using SAP Netweaver Developer Studio. Are there any steps i can follow?Hi,
Define the tables in subforms and then wrap them into another subform and make it the subform as type flowed.
Regards,
Raju. -
How to avoid overlapping of Table on another table in Adobe Form
Hi Experts ,
Can anyone tell me how to do this scenario,When I am inserting 3 flowable tables in Adobe form ,issue is one form is overlapping over another, All the internal tables has 10 records minimum. Requirement is after one table is printed Next table should be start printing without overlapping on next further table... Please let me know How to avoid overlapping of table on another table.Advance thanks.
Thanks & Regards
SandeshHi Sandesh.
Put your table in subform. (one for each)
And than add one more subform and include all 3 table's subforms in single subforms.
All subforms should be flowed.
With Regards,
JP -
Multiple rows in a single table cell - Adobe forms
Dear All
I am developing an adobe form which conatins a table alongwith other screen/ form elements.
This table is bound to a data node and contains only two columns. Number of rows will be determined at run time.
Each cell of the table will contain three rows seperated by a space in between them. Please refer to the diagram below for more understanding.
Yes
ABC
No
PQR
Not Known
XYZ
I have no idea how to achieve this. Can anyone help?
Regards
Vineet VikramHi,
Here are the steps how you can do it.
1. Create a table.
2. In the Library palette, click the Standard category and drag the Table object into a cell in the main table.
Note: If you selected Donu2019t Show This Again in the Insert Table dialog box, when you select the Table object from the Library palette, LiveCycle Designer automatically inserts a table with the same number of columns and rows that you inserted the last time you used the Insert Table dialog box.
3. In the Insert Table dialog box, enter the number of columns and rows. You can enter a maximum of 20 columns and 50 rows. You can add more columns and rows after the table is created by using the Insert commands on the Table menu.
4. To add a header row, select Include Header Row In Table.
5. To add a footer row, select the Include Footer Row In Table.
6. Click OK.
Regards
Runal -
Read mutliple dynamic rows of a Table in Adobe Form into GP's context
Hello All,
I have a GP scenario where in user inputs multiple rows of data in a table which is on an Interactive Adobe Form.
I want to read those values entered dynamically and passed between callable objects.
Please could you suggest on this? If you post any sample code that would be of great help.
Best Regards,
Suyukti B NHi Tamas,
I checked the mentioned form and, as this table is setted as TABLEROW and some of its cells are static, is not possible to change the column size in the layout or even though changing it directly in the XML file, cell by cell. I was trying it.
For example, choose the Cell6 of TABLEROW[0] and click on tab 'XML Source'. You will see this statement:
<draw colSpan="3" h="16.3166mm" name="Cell7" w="22.225mm">
You can try to change the value 'colSpan' according to your requirement.
This table size is not modifiable because it was developed to it.
I believe that Diego's suggestion can help in this case, if you are having problems to print the entire table on the page.
Regards,
Lucas Comassetto. -
Problem with text formatting within a table in Adobe Forms
Hi all,
I have a table on a non-interactive Adobe form (which is a copy of the standard expense form PTRV_EXPENSE_FORM. The table in ABAP has a text field with CHAR50. On the form, the text field has a width which allows approximately 35 characters. Therefore the text wraps onto a second line. My problem is that the text is not formatted and words are just split randomly.
For example:
The fox ran across the fields and into the woods.
would be output as:
The fox ran across the fields and i
nto the woods.
How can the text be formatted to only output complete words?
I have tried defining the textfield as text only and rich text, but nothing changes the output.
Interestingly, even if I change the font size from say 10 to 8, the text is output the same, even though there is enough space for at least one more word on the first line.
Has anyone else come across this problem?
Thanks,
PatriciaHi Syed
The table is IT_RECEIPTS_ADD_INFO, field VALUE_CHAR. In the form it is called Receipts_addl_info.
I have just found out that the data is being re-formatted in the interface. That caused the problem. Many, many thanks for your help.
Best regards
Patricia -
Problems with Image Field Table in Adobe Forms
Hello,
I have a desgined a Adobe Form(Print Only) in the Adobe Desinger in NWDS.
The form layout contains a table of images in 2 columns and 3 rows. Every Column has a Image Field and a TextField displaying the Image URL.
The URL of this image is passed at runtime.
The problem is that when the form is rendered, All the Columns have the same image which is the URL in the first row first column. However the text field displays the correct URL.
Is this some known bug in the Adobe Forms, or I am missing some property.
Regards,
ShubhamHi,
The solution was to put the following code in the initialize event of the image field.
this.value.image.href = <Photoimagepath>.rawValue;
Where <Photoimagepath> is the image path.
Regards,
Shubham -
How to modify automatically the show length of table in adobe form
hi,experts.
i often need adobe form to output imformations in table forms..sometimes i don't know the length of each column previous. so i want to make that the adobe form can adjust the output length of table column automatically depending on the content..
i am new about JavaScript of adobe forms. hope someone can give me suggestions
thanks in advance.Hi,
You may select the particular column and then in the Layout Pallette, select the radio button for "Expand to Fit" which would be under Height. That way your cells would automatically adjust for size(Would grow in height). But the size wont grow in Width, that remains fixed as you would have fixed during design time.
Regards,
Runal -
Declaration of table in adobe form
hi,
for the internal table declaration in adobe forms, have to use table type instead of structure.
how to find out the table type for every structurehow to find out the table type for every structure
If it is there you can find it from SE11.
where used list in that check Table types.
and also if it is not there you can create it in SE11.
please close ur earlier post.
Maybe you are looking for
-
I'm trying to update iTunes to 10.5.2. I have a Windows 7 64-bit Dell laptop, and when I try to update it, I get the message "There is a problem with this Windows Installer package. A program required for this install to complete could not be run.
-
How to prevent middle names and titles from appearing in contacts
My iPhone is syncrhonised with MS Outlook, and I've used Outlook as my system of record for contacts for many years. I have hundreds of contacts in Outlook, many of which contain middle names and titles. The problem is that the iPhone displays every
-
I had my computer repaired, and when I got it back I had to reinstall iTunes. Now iTunes won't authorize this computer because it says we already have 5 devices authorized, but this is the same computer. Does anyone know how I can fix this?
-
WebAS mini 6.2 - Installation Problem
I am trying to install a mini SAP version 6.2 and I am getting installation errors at 50%. Background: I had installed 4.6D sucessfully, than I installed 6.4 sneakpreview and it works fine. Now I tried to install the 6.2 and gave me errors. I unistal
-
My ex's Apple ID plus password request keeps coming up on my iPhone when trying to download Apps, how do I get rid of it please?