Table allignment
Good morning all,
I am working with smartforms.
my requirement is to print customer number(KUNNR) customer address (ADRNR) and his sales order item data in a main window(Order number/item quantity net value ) .
what i am doing is i am looping my header structure which is having customer number and address number and inside the loop i am calling table with item loop.
for example wa_header and wa_item are the work areas of the
structures.so i am populating table like this.
loop at itab_header into wa_header.
table : loop at itab_item into wa_item where kunnr = header-kunnr.
my table is having 2 header loop coloumns and 4 item loop (table loop) coloumns like below.
coloumn1 :wa_header-KUNNR
coloumn2 :wa_header-ADRNR
coloumn3 :wa_itemVBELN
coloumn4 :wa_item-POSNR
coloumn5 :wa_item-KWMENG
coloumn6 :wa_item-Deliveruy number.
my requirement also includes: for every customer address i have to print his sales order numbers items and its details.
(For all this, adress should be printed only once)
my problem is : first record is printing allright :
from second record, as address is taking multiple rows to print my second resord is printing from end of the address row (might be 4th or 5th row like below).
kunnr ADRNR vbeln posnr kwmeng net value
1234 gopal 273122/10 546 237231
space street space space space
space city space space space
space postal code space space space
space space 3131231/20 657 2131331
space space 4354353/34 3424 2423432424
1235 gopal 1 273122/10 546 237231
space street space space space
space city space space space
space postal code space space space
space space 3131231/20 657 2131331
space space 4354353/34 3424 2423432424
Somthing like above .
but i dont want spaces which are in the bold as above shown :
i want to display like below
kunnr ADRNR vbeln posnr kwmeng net value
1234 gopal 273122/10 546 237231
space street 3131231/20 657 2131331
space city 4354353/34 3424 2423432424
space pstal code
1235 gopal 1 273122/10 546 237231
space street 3131231/20 657 2131331
space city 4354353/34 3424 2423432424
space postal code
I hope u understand my problem .
Can any one help me inthis please :
it is emergency for me.
all the helpfull answers are rewardfull.
Thanks and regards,
Gopal
Edited by: gopaludu p on Sep 25, 2008 4:19 AM
Edited by: gopaludu p on Sep 25, 2008 4:23 AM
Edited by: gopaludu p on Sep 25, 2008 4:24 AM
Thanks for the reply,
in the second coloumn i am calling adrnr number to print the address,as address will take multiple lines ,my next record is printing from end of the address row .
if address is there for first record ,address is occupying 3 to 4 rows ,from my second record i wont print the address (because it is same ).but i want to print my remaining coumns should start from second row ,not from end of the address(3rd or 4th row in this case).
i hope u understand.
Gopal
Similar Messages
-
Longitudinal table allignment with out column heads
I need a table should be popup in the new window but without column heads but it consists all the columns one under one in a single column and the corresponding values are in the next column.
Requirement:
I have a page consists a table with columns "Acc No, service No, Bill Amt, Older Bills". This older bills column consists a button in its column.
When ever we click on the button the "Older Bills" page have to be opened with a table automatically populated the Acc No, Service No, 1st mont bill, 2nd month bill, 3rd month bill.All these colums are to be shown in a single column but the values should be shown in the next column.Pop up window>> Several old threads which will tell u approach for js window.
I need a table should be popup in the new window but without column heads
>>You can give column header promt as null.
Requirement:
I have a page consists a table with columns "Acc No, service No, Bill Amt, Older Bills". This older bills column consists a button in its column.
When ever we click on the button the "Older Bills" page have to be opened with a table automatically populated the Acc No, Service No, 1st mont bill, 2nd month bill, 3rd month bill.All these colums are to be shown in a single column but the values should be shown in the next column.
>>Have same AM for pop up and base page, so that VO state is shared. In pop up page.... u need to get values from one VO and build another longitudinal table VO .
--Mukul -
Hi experts,
sorry guys ,i typed the qusetion wrongly so that again i am posting.
script program o/p that is displaying in development is correct whereas in production
o/p is not displaying correctly.Request no is successfully transported.Somebody told to me to adjust printer settings.
Where to go and which settings adjust i don't know.please give the details solution.
Problem is
if condition is executing in development but not in production.HI
Debug the program and check the value what your checking in the where condition
Comming to table allignment check your printer settings (Check your paragraaphs that are using in development & those paragraphs are available in production are not) .
Let me try this . Let me know if any concerns.... -
Custom Datasource for infoobject
Hello Guru
i have created a custom datasource on a SAP table (custom table) to update data from SAP into an infoobject in BW. Everithing works correclty but when i delete an entry in the custom table and update this in BW the entry in the infoobject is not deleted.
The infopackage and DTP are FULL.
How can i fix this problem and have always SAP table alligned with master data in the infoobject (new entry and DELETE entry)?
thanks
BorisAs you have created the generic extractor ans alos you are running
the full load.
In case of standard extractor delta will be handeled by the
extractor itself ,but it is not the same with the custom one.
We face one scenerio with the generic extractor.
1.Customer used to craete the notification on some date.
2.The same notification was deleted on some other day.
3.As in bw t=we load the previos day data.
4.So we were facing the problem like notification in
the r/3 side was deleted but they were still there in the BI side.
What we did is there is one field ie deletion flag and it set to 'X'
whenever we delete any record by default it is blank.
So we included the deletion flag file din the extractor and
create the same in the BW side.
At lat we restricted the query by filter "blank'.
So it was not showing the deleted notification in the report.
Thanks,
Saveen -
Alligning data in table format
I have a SQL view that contains a Land Plot Number, Person id's along with their details and any associated land Interests, which can be 1 or many and Interest Type boolean field(Freehold, Leasehold, Occupier). If the person is associated with more than one piece of land the view contains repeated person details with new land details. I have designed the report to look like a table by using boxes which span the page header to a group footer. The report is grouped by the Plot Number, I have created 3 formulaes that check for the type of interest and concat the address detail, and inserted them into the detail line. The report works OK the only problem I have is that I need to show the information in the following format (Alligned to top): -
ID Address Type 1 Address Type 2 Address Type 3
1 XXXXXXXX XXXXXXXX XXXXXXXX
XXXXXXXX XXXXXXXX XXXXXXXX
XXXXXXXX XXXXXXXX XXXXXXXX
XXXXXXXX XXXXXXXX XXXXXXXX
2 XXXXXXXX XXXXXXXX XXXXXXXX
XXXXXXXX XXXXXXXX XXXXXXXX
XXXXXXXX XXXXXXXX XXXXXXXX
XXXXXXXX XXXXXXXX XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
AND NOT AS IT CURRENTLY RETURNS (Gaps): -
ID Address Type 1 Address Type 2 Address Type 3
1 XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX XXXXXXXX
XXXXXXXX XXXXXXXX
XXXXXXXX XXXXXXXX
XXXXXXXX XXXXXXXX
2 XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX XXXXXXXX
XXXXXXXX XXXXXXXX
XXXXXXXX XXXXXXXX
XXXXXXXX XXXXXXXX
Hope this makes sense, any advice would be greatly appreciated.
ThanksIt's a bit hard to tell how your report is structured, but it sounds like what you are needing to do can be accomplished by using Multi-column.
Go to the Section Expert for the Details section - on the common tab, check on "Format with Multiple Columns". When you do this, a new tab will show up "Layout". Go to this tab and change the radio button at the bottom for Printing direction to be "Across then down". Set the size of your columns here and go check your report. You should be able to tweak this Layout to accomplish what you after. -
Vertical allignement - tab page - spread table
Hi.
I have a form with 2 blocks as Tab pages (B1-New tab canvas page, B2-Same tab canvas page).
If I display items in overflow style set to Spread table then the context items (which are always shown) and all other items are not correctly alligned - context items are about 1/4 of field size higher in the form.
How can I adjust the allignement?
Tnaks, Sebastian
prisinzuse DOWN instead of next_record
try it
Gerd -
Nested tables won't allign with primary table
Hello all. It looks like I’m faced with another
table-related obstacle. While I was creating one of my inner pages,
I’ve utilized nested tables to create a column on the left
hand side of the page that will hold my secondary menu, while the
other column will hold a flash element and page content.
Although I’ve inserted all nested tables with
“0” cell spacing and “0” cell padding, and
the visual aids seem to suggest that the values of the nested table
are identical with the primary table that holds them, the nested
table that will hold the movie and page content isn’t flush
with the table above. It seems to be off only by 1-2 pixels or so,
but since there will be an image right underneath the menu this is
quite obvious.
I have attached the code for your information (line 165,
166).
Thank you for your time and suggestions. I really appreciate
it.On Sat, 16 Sep 2006 15:06:50 +0000 (UTC), "HTML-Newbie"
<[email protected]> wrote:
> Check out the link
http://www.fastventures.com/dev/test_temp_2col.html
and you
>will see that the picture underneath the main menu won't
line up with it on the
>right-hand side.
Change this:
<table width="572" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td height="200" valign="top"><img
src="img/place_second.jpg" width="572"
height="200"></td>
</tr>
To this:
<table width="572" border="0" cellspacing="0"
cellpadding="0"
align="right">
<tr>
<td height="200" valign="top"><img
src="img/place_second.jpg" width="572"
height="200"></td>
</tr>
Gary -
How to use Different Main Windows in Multiple pages to print internal table
Hi experts,
I have a problem regarding how to have multiple different main windows in smartforms..the problem is that i want to print an internal table in the third page of the smartform and that table can have dynamic values ..sometime it may have more than 400 values also which can not be printed in one or two pages ...
so to accomplish the same what i did was..
i tried creating a new main window in the third page but it is throwing an error saying two main windows not allowed and i also tried by copying the first page's main window but it is just repeating the same content what was there in second page..
i also tried by creating a secondary window in the third page and in that window i tried giving my internal table and tried by giving the next page to itself but that also is not allowed and it throws an error saying a page without a main window cannot point to itself as a next page....
i also tried using a secondary window and in that window i was trying to display the internal table but it is only showing third page content and fourth page itself was not created....although in my next page field value of the third page , i have given the third page itself as a next page ....but this also is not working ,.....
please suggest how to have different main windows(not copy of first main window) in smartforms in order to display the dynamic contents of an internal tableHI ,
Just check with your smart styles with assigned paragraph allignment .
Try to create character style with your required font ,size and Allignment .
Hope u this will solve your issue .
Let me know if any concerns......
Regards,
Lokesh -
How do I create a table of contents in Pages 5.2?
I am working on my thesis for graduate school and have the whole document created (I am about to defend it). I made a table of contents myself (dumb idea) but my advisor wants it perfectly alligned, which it currently is not. I've been looking for tutorials online, but only find some pertaining to Pages '09- I am currently using an updated version, Pages for Mac 5.2.
I am really struggling here and would love some help of quidence on how to successfully create a decent table of contents! Thank you!
-SHope this isn't too late but here's some pretty decent info that might help you resolve your problem. Good luck defending your thesis! FYI...I'm currently in the same boat.
http://help.apple.com/pages/mac/5.2/#/tan5b8c588d6 -
GUI_DOWNLOAD fn module text allignment problem
Hi
I have a problem while downloading data from internal table to presentation server filepath using GUI_DOWNLOAD fn module.
For me the requirement is to display each field data at a fixed location in a DAT file (notepad) for all lines irrespective of any delimiter.
Now data of ech field is getting displayed continuously after its preceeding field with the specified delimiter. I want to fix the location of each field at a particular point for all lines in the file after download.
Is there any other fn module for this or any change in the parameters for fixing the field positions in the output file ?
HarshaHi Vinod
I have tried your way solution also. Still my problem is not solved.
Present Output:
test test E12EDWQD 0000110.000
venky kirupa test case- final se 87549-8655-9 0000110.000
Vetri Velan SAFETWT 0000961.540
Amount fieilds(last field) of each line need to be alligned one below the other starting from same position in all lines. At present its all random based on the length of previous field.
Harsha. -
Dynamic table in Webdynpro Java
Hi Colleagues,
I need to develop a table dynamically in webdynpro(Java), the table should not contain scrollbar, header, lines and border...Actual requirement is to group 12 elements in the from of a table
could anyone please help me here?
Thanks & Regards
SwethaHi Armin,
In a window i have to develop a part of window which looks like this
Image URL Description
Image URL Description
Image URL Description
Image URL Description
I have tried doing this using Flow layout for each line
But when i follwed that the last column "description" is not alligned in a straight line(for all rows)
structure is not even as shown above
(varying depending upon the length of the URL)
Here i have attached the piece of code i used
IWDTransparentContainer MainContainer1 = (IWDTransparentContainer)view.createElement(IWDTransparentContainer.class);
IWDFlowLayout flowlayout1 = (IWDFlowLayout)MainContainer1.createLayout(IWDFlowLayout.class);
////For adding Image
IWDImage image = (IWDImage)view.createElement(IWDImage.class);
image.createLayoutData(IWDFlowData.class);
image.setSource("~sapicons/s_b_alet.gif");
/////for Adding URL
IWDLinkToAction link1 = (IWDLinkToAction)view.createElement(IWDLinkToAction.class);
IWDTextAccessor link1text = wdComponentAPI.getTextAccessor();
link1.setText("Collaboration Window");
IWDAction Action1 = (IWDAction)view.getAction("Openlink");
link1.setOnAction(Action1);
IWDFlowData linkdata1 = link1.createLayoutData(IWDFlowData.class);
WDLayoutCellDesign rightpad = WDLayoutCellDesign.R_PAD;
WDLayoutCellSeparator seperator = WDLayoutCellSeparator.LARGE;
linkdata1.setCellDesign(rightpad);
linkdata1.setVGutter(seperator);
///for adding description
IWDTextView text1 = (IWDTextView)view.createElement(IWDTextView.class);
text1.setText("Testing");
IWDFlowData textdata1 = text1.createLayoutData(IWDFlowData.class);
textdata1.setCellDesign(rightpad);
textdata1.setVGutter(seperator);
MainContainer1.addChild(image);
MainContainer1.addChild(link1);
MainContainer1.addChild(text1);
IWDGridData maincont1 = MainContainer1.createLayoutData(IWDGridData.class);
maincont1.setPaddingLeft("10px");
maincont1.setPaddingTop("20px");
I found that this static way of adding rows is not the right way( Keeping in mind the future enhancements)
So thought of trying it through table
i have used IWDtable ...but the look does'nt meets the requirement at all(it has header....border..scrollbar..rows and colums are seperated by lines---> which are not needed)
Could you please let me know is there a approach to do this?
Thanks & Regards
Swetha
Edited by: Swetha Nellore on Feb 18, 2009 12:32 PM
Edited by: Swetha Nellore on Feb 18, 2009 12:33 PM
Edited by: Swetha Nellore on Feb 18, 2009 12:34 PM -
Error in smartform japaneese output allignment when we get thatby email.
Hi ALL ,
I am getting the following output when i am sending an email .
I am using a smartform for that display.
My problem is field allignment as shown in the below records.
Because of small characters in japaneese language we are not getting the proper way of the below fields:
Requirement: I have to arrange all the right side part the same way as the left part.
貴社注文番号: A0012634-1
受注処理日: 23.05.2006
弊社受注番号: 7050808206
弊社受注入力日: 23.05.2006
変更日付:
受注元: 新日軽ベストシステム (株) 管理部
通貨: JPY
支払い条件: Close EoM/1 mo./Payment EoM
Please suggest ur feedback to solve the issue .
Thanks In advance.hi,
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_chng" check your language given.
put_in_outbox = 'X'
TABLES
packing_list = i_objpack
object_header = wa_objhead
contents_bin = i_objbin
contents_txt = i_objtxt
receivers = i_reclist.
here in the exporting parameter, which language u gave...
Any japanese letter is printing in your e-mail.. ???
hope this will help you..
regards
vijay -
How to allign an apDiv with the template centre alligned?
Hi,
I am trying to create a website in Adobe Dreamweaver CS4 but made a website template in Adobe Fireworks which was then imported in. My template was then center alligned with the apDivs placed on it containing all the links/images/rolloevers etc.
When I viewed my website in the browser; the apDivs were all to the left while the template was in the center.
Does anyone know how to I can make all my apDiv's alligned in the centre of the page so they are in the correct place on the template?
ThanksMegan - here's the problem with doing it that way (perhaps your instructor will be interested):
Fireworks (or Photoshop) are actually VERY good at replicating your layout in an HTML page. And that's part of the problem. They are too good. As soon as you begin to add NON graphic information to the page, the layout will pull apart forming gaps between the graphics and the text regions. This is very unsightly and unsuitable for the web. In addition, after you add text, if things still look good, don't congratulate yourself yet. Now try increasing the text display size in your browser. Things will go to pot in a hurry when you do that.
Perhaps, though the most troubling aspect of this is that the code that FW uses for the layout is not only table-based (that's so 90's), but also it's invalid HTML. As you might imaging, you willl spend far more time on triage for the broken layouts than you would have spent to do it the right way to begin with.
We all complained so bitterly to Adobe about this ridiculous situation that they finally took it out. Good riddance, I say. -
Hi,
Can you please tell em how to allign UI Elements?
I wan to provide some space between two Buttons or labels and Input Field.
I am using either Flow Lay out of Matrix LayoutHi Anuj,
The issue is still opened because, all the answers solved the problem partially,
Presently I am using matrix layout for all the Groups in a vew and setting the vgutter and cell design property of the Layout Data(Matrix data), I have two labels & input field/dropdown in each row, and I want to allign them.
My requirement is like..each row has 4 UI Elements(max) or 2 UI elements(min) and now I wan to allign them such that the over all view will look like there is four column and in each column the UI elements are verticlly alligned .
Once , I managed to allign them, but the allignment is getting affected by the resolution and the width of the screen.
How to maintain uniform allignment, irrespective of screen width/resolution?
Also I used a table in one of my view and the Column Header of each column is coming from OTR Text, I need to put Line break in Column Header other wise for long Column Header the width of the columns are getting increased and overall width of the table is also getting affected for this.
Thaks for your help
Sonia -
af:column header text cannot be able to allign left
Hi ,
I have a af:table with 5 columns. And I need to align the colum header as left aligned for 2 columns.
I have tried the inlineStyle="text-align:left; and align="left" but the column header is not changing. By default it s allignment is Centre.
My Column is
<af:column sortProperty="Code" sortable="false"
headerText="Code" id="c2" align="left"
inlineStyle="text-align:left;"
styleClass="AFStretchWidth">
Please Help.Thanks Vinod for the quick response
<af:column sortProperty="Code" sortable="false"
headerText="#{viewcontrollerBundle.CODE}" id="c2"
align="left"
inlineStyle="text-align:left; margin-left:0px;"
styleClass="AFStretchWidth">
is not alligning the header text to left. but the contents of this column is left aligned
Maybe you are looking for
-
Macbook PRo will not boot, MagSafe adaptor light does not work !
Okay... so i have this issue with my MBP where it will not power up. The light on the magsafe does not show up at all when connected to the MBP. I have tried another magsafe but failed. I have not tried another battery so im not sure if that is where
-
Hi, I have problems in ordering book from iPhoto. It says "problems in getting contact with Apple Online Store" I have changed password on my Apple ID - could that be the problem ??
-
How to Create Windows ISO Show Only One Windows Version
Dear, I want to create Windows ISO server for 2012, but I want this ISO show me only one version of the Windows for example, I have Core version, Standard, DataCenter etc..So I don't need after I create ISO to show me all those choose versions, I nee
-
13" macbook pro can't detect tv
So once again I am wondering if anyone can offer a solution for this problem; my 13'' macbook pro will not detect any tv that it is connected to. I have tried both a 42'' Vizio and a 40" Samsung. I got it to connect two times, and then nothing. Hel
-
I just installed Adobe Acrobat Standard 9.0. It put 2 items on the start menu. It didn't create a folder on the start menu named "Adobe" and then put the m in that folder. It just litters the start menu with them. Who does Adobe think they are?