Help with my Page Header
OK, I am a complete newbee to Dreamweaver. I just bought DW
MX 2004 and am trying to create a simple website. The header of the
main index page will simply be my name at the top with a line
underneath my name that stretches across the entire page, then
underneath the line I want some links like "main" , "galleries" ,
"links" , "about" ...etc. I want the header to look something like
this...
http://custom.photoshelter.com/c/andybiggs/gallery-list
Another option is along these lines...
http://aaroncjors.smugmug.com/
So, here are some specific questions...
1. Should I use a table to create this?
2. How do I draw the line?
3. Should I use simple html text for the links or create
jpegs for each element?
(I was able to create a table for all of the text and it
looked decent, but I could not create the line.)
Thanks for any input you can provide?
> Although tables are deprecated by many
Tables are not deprecated. But they are not considered
optimal for page
layout, especially given the many reasons one would want to
separate
presentation from content.
> give the table containing the text a coloured border and
turn the top
> and side borders off using css
It sounds like you are suggesting that the op use the invalid
(IE
proprietary) table bordercolor attribute for this. The better
answer would
be to give the table a colored top border using CSS.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Malcolm N_" <[email protected]> wrote in message
news:[email protected]...
> On Fri, 30 Nov 2007 23:19:46 +0000 (UTC), "Patrick Cox"
> <[email protected]> wrote:
>
>>OK, I am a complete newbee to Dreamweaver. I just
bought DW MX 2004 and
>>am
>>trying to create a simple website. The header of the
main index page will
>>simply be my name at the top with a line underneath
my name that stretches
>>across the entire page, then underneath the line I
want some links like
>>"main"
>>, "galleries" , "links" , "about" ...etc. I want the
header to look
>>something
>>like this...
>>
>>
>>
>> 1. Should I use a table to create this?
>
> Although tables are deprecated by many - they are still
a valid way to
> go. Could you produce a page with css ?
>
>
>>
>> 2. How do I draw the line?
>
> give the table containing the text a coloured border and
turn the top
> and side borders off using css
>
>>
>> 3. Should I use simple html text for the links or
create jpegs for each
>>element?
>>
>
> I suggest you just use html text and style them with css
>
>
> You say you have bought Dw2004 - that is now rather long
in the tooth
> and there are two later releases that are much better -
especially in
> the handling of css.
>
> I have assumed you know some html & css - if not the
common advice
> here is to get a few books and/or read a few tutorial
first - there
> really is no shortcut. Dw is a fine program but you will
get so much
> more from it if your know html & css.
>
>
> --
>
> ~Malcolm N....
> ~
Similar Messages
-
Hi
Does anyone can help me ?
I created a web and now I am creating a second folder/ file. How can I link this second folder to the home page placed in first folder ?
Sorry for my EnglishHi Cari
Tanhks for you help. This open my mind, you mean I need to have two website to this ?
I ask you this because I have only one website. the acces to my site is only through customer site. I mean I give him the right link (one link for Company A and another link for company B, both coming from site), do you understand what I mean?
The point I do not understan is if I save file web A, as Web B and then I change page names, master and so on, and the I up load, why does muse overwrite in file A when pages are different name !!!!
The point is Muse does not allow to copy / paste !!!
Any idea Cari
Regards from Buenos Aires
Felix Cano Montoya
[email protected]
El 11/4/2015, a las 23:21, Cari Jansen <[email protected]> escribió:
Help with home page link
created by Cari Jansen <https://forums.adobe.com/people/Cari+Jansen> in Help with using Adobe Muse CC - View the full discussion <https://forums.adobe.com/message/7430081#7430081>
I'm not sure I've got a grasp on the issue you are having but let me give it a try
Website A is finished and you have uploaded it to the Internet, so it is LIVE.
You make a copy of Website A, and call it Website B, then make all required changes.
IF you uploaded Website B, then it is likely you will overwrite Website A. You must instead, upload Website B as a separate Website.
To publish to a new site:
Click Publish.
Then click the expansion triangle left of Options.
Change Publish To setting to New Site
fill out rest of required details, and click OK to publish.
You'll now have two separate web-sites.
If you need to link between them, use absolute hyperlinks (the full URL).
Hope this helps.
If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7430081#7430081 and clicking ‘Correct’ below the answer
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7430081#7430081
To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
Start a new discussion in Help with using Adobe Muse CC by email <mailto:[email protected]> or at Adobe Community <https://forums.adobe.com/choose-container.jspa?contentType=1&containerType=14&container=47 61>
For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624 <https://forums.adobe.com/thread/1516624>. -
Help with custom page size support for non standard paper
Firstly, we appreciate any support you may be able to provide, we have already thrown considerable effort at this and it has been very time consuming and frustrating.
To support a number of business functions need to print to (non standard) continuous and mulitpart paper on a dot matrix printer. The (test) Mac is a 10.4.11 G4 laptop, the printer is an Oki Microline 520 (9 pin 80 column, IBM Proprinter, Microline or Epson FX personalities with a parallel interface) which has been networked via a HP JetDirext Ex Plus print server. That part appears to be operating correctly.
We have tried a number of drivers / printer personalities with varying levels of success:
ESP / EPSON 9-Pin Series CUPS v1.1 / Epson FX personality
ESP / OKIDATA 9-Pin Series CUPS v1.1 / Oki Microline personality
Ghostscript / epsonc / Epson Dot Matrix Foomatic PPD / Epson FX personality
Ghostscript / ibmpro / IBM ProPrinterII Foomatic PPD / IBM Proprinter personality
Ghostscript / okiibm / Oki Microline IBM compatible 9 pin Foomatic PPD / IBM Proprinter personality
There were no appropriate drivers in Gutenprint (5.2.3 version) The most successful is the okiibm / Oki Microline IBM compatible 9 pin settings, it can print A4 and honors the Printer Features Resolution settings in the print dialogue.
Q1: Should we see anything in the Printer Info / Installable Option, it is always blank ?
The issue is custom page sizes, we can manage / add Custom Pages Sizes via the Page Setup / Paper Size interface and they draw on the screen OK but they do not work at the printer (various issue at the printer such error messages, junk printing and wrong orientation):
Q2: Are we heading in the right direction or is there a better way to handle this ?
Q3: Would 10.5 solve all our problems, are the print drivers any better ?
Q4: Is this the correct way to specify custom page sizes, is this all we need to do ?
Q5: Is so how do we get the driver to respect the size, do we need another filter or something ?
Q6: Is it possible to add (by hand) custom page sizes to the ESP drivers or Foomatic PPD files so they they appear as a "standard" offering in the Page Setup / Paper Size interface ?
Sorry for the long / complicated post and thanks in advance for any advice / assistance.Matt Broughton wrote:
Testing on 10.5.7, Tried both Oki 9-Pin Series 1.3 / Microline personality (no joy) and Epson 9-Pin Series 1.3 (this is a much better driver than 1.1) / Epson FX personality but not much joy with custom page sizes,
The Oki 9-pin Series 1.3 and the Epson 9-Pin Series 1.3 should produce the same results. The only difference in the PPDs is the printer model name.
After some testing, I find that the output is not the same despite the two PPDs being virtually identical. I did spot in the CUPS source code for the rastertoepson filter that there is some model name matching for Epson printers. Thus I can see where the output using the Oki 9-pin PPD could be different than when using the Epson 9-pin PPD.
but again once I imbedded the page size into the ppd some (but frustrating) luck. I can get it to respect the paper orientation and it prints well but I could not get the form length to work properly. At best over a print run of 7 labels it would creep up the label by about 0.1 inches / 2 mm.
Just for the fun of it, I made some additions to the Epson 9-pin 1.3 PPD. All I can say is that I could print a job to file. I have no way to know what it would look like on paper.
I did find that using a custom paper size did add some unwanted margins to the output bounding box. Putting the custom page size into the PPD seemed to get around that issue.
I added the following lines to the Epson 9-pin PPD 1.3--
<pre style="overflow: auto;font-size:small; font-family: Monaco, 'Courier New', Courier, monospace; color: #222; background: #ddd; padding: .3em .8em .3em .8em; font-size: 9px;">*PageSize Label1/Label1: "<</PageSize[288 107.8]/ImagingBBox null>>setpagedevice"
*PageRegion Label1/Label1: "<<PageSize[288 107.8]/ImagingBBox null>>setpagedevice"
*ImageableArea Label1/Label1: "0 0 288.00 107.80"
*PaperDimension Label1/Label1: "288.00 107.80"</pre>
This adds a paper size with the 4 inch (288pt) width and 1.5 inch (107.8pt) height. That represents the 1.4 inch label and the 0.1 inch gap between labels. I set 0pt margins except for the bottom where is set the 0.1 inch (7pt) gap as the bottom margin.
The full diff in context is--
<pre style="overflow: auto;font-size:small; font-family: Monaco, 'Courier New', Courier, monospace; color: #222; background: #ddd; padding: .3em .8em .3em .8em; font-size: 9px;">loki:~ matt$ diff -u /usr/share/cups/model/epson9.ppd ~/Desktop/epson9.ppd
--- /usr/share/cups/model/epson9.ppd 2009-02-20 20:16:53.000000000 -0600
+++ /Users/matt/Desktop/epson9.ppd 2009-06-06 20:37:06.000000000 -0500
@@ -42,6 +42,7 @@
*PageSize Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*PageSize A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageSize FanFoldUS/US Fanfold: "<</PageSize[1071 792]/ImagingBBox null>>setpagedevice"
+*PageSize Label1/Label1: "<</PageSize[288 107.8]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageSize
*OpenUI *PageRegion/Media Size: PickOne
*OrderDependency: 10 AnySetup *PageRegion
@@ -50,17 +51,20 @@
*PageRegion Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*PageRegion A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageRegion FanFoldUS/US Fanfold: "<</PageSize[1071 792]/ImagingBBox null>>setpagedevice"
+*PageRegion Label1/Label1: "<<PageSize[288 107.8]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageRegion
*DefaultImageableArea: Letter
*ImageableArea Letter/US Letter: "18.00 18.00 594.00 774.00"
*ImageableArea Legal/US Legal: "18.00 18.00 594.00 990.00"
*ImageableArea A4/A4: "18.00 18.00 577.00 824.00"
*ImageableArea FanFoldUS/US Fanfold: "18.00 18.00 1053.00 774.00"
+*ImageableArea Label1/Label1: "0 0 288.00 107.80"
*DefaultPaperDimension: Letter
*PaperDimension Letter/US Letter: "612.00 792.00"
*PaperDimension Legal/US Legal: "612.00 1008.00"
*PaperDimension A4/A4: "595.00 842.00"
*PaperDimension FanFoldUS/US Fanfold: "1071.00 792.00"
+*PaperDimension Label1/Label1: "288.00 107.80"
*MaxMediaWidth: "1080.00"
*MaxMediaHeight: "86400.00"
*HWMargins: 18.00 18.00 18.00 18.00</pre>
I don't know if that will help you or not. Let us know what sort of progress you make.
Matt -
Word help- different first page header
How do can I make the text in the header on the first page of my word document, different from the information on the rest of the headers. I am using APA formatting for my school paper.
Thanks!The best place to look for help with Word in on the Microsoft Office Support pages.
Jerry -
Help with dynamic page layouts
Hello JSP Gurus,
I'm attempting to dynamically generate the page layout for my site based on the organization a user belongs to. Basically, I'd have certain resources like navigation links, graphics, etc, that are modular. Then I'd like to construct the layout using these "moduls" in a dynamic fashion. Does anyone have any suggestions on techniques or technologies that would be useful? I'm not really looking at the portal/portlet model. Is this something that Cocoon could do by storing the layout for each customer as an XML file or something? Any ideas, suggestions, experiences would be helpful.
Thanks!How does Tiles differ from the JetSpeed apache
project? They both appear to be portal-like
frameworks, or am I incorrect about that? Which is
preferred?Frankly, I can't give you an in-depth answer to that. Maybe someone else can help with more details.
What I can tell you is that JetSpeed seems to be more of a real portal architecture. Emphasis is placed on the framework portion, interfacing with exisiting applications. Visual layout takes second seat to this.
Tiles on the other hand puts more emphasis on visual layout and reuse.
Just looking at JetSpeed's visual interfacing a little bit makes me really dislike it. You build tables and such inside of a servlet, so there's a tight coupling (or at least, much tighter than with Struts/Tiles) between the presentation and logic. (I'm basing this on a JavaWorld article at
http://www.javaworld.com/javaworld/jw-07-2001/jw-0727-jetspeed.html )
Based on your initial question, it would seem to me that tiles is much closer to what you're looking for (and likely easier to just pick up and use).
Anyway, take all this with a grain of salt; I'm not exactly an expert on JetSpeed. =) -
Need help with SWF page transitions please :)
I am having an issue recreating something I have seen on
other flash sites... (For example on 2Advanced.com) It is hard to
explain but I will do my best. I am advanced in design, layout,
tweening, and am a beginner to intermediate action scripter. So
even if your solution is a point in the right direction to some
code I could pick up and noodle around with that would be great.
That having been said, on to the issue, it's a 2 parter:
Part 1:
I have a Master FLA (or SWF) containing navigation that loads
secondary SWF pages into movie clip containers for the 5 additional
pages of the site. These load above the Master movie clip masking
it (Navigation floats above) so the loaded pages are sandwiched in
between.
View page in it's current state here:
http://sky.prohosting.com/tk421808/rwip/gallery_MAIN.html
This works ok right now, but I have the SWFs replacing one
another in one single movie clip container. What I would like to do
is similar to shuffling 5 cards... if you want the 4th card down
you pull it out, it goes to the top and slides over the last
visible card on top. So I would like the first page clicked to
slide in covering the master MC, the second page clicked, to slide
in covering that one, and so on and so forth. This would be easy if
the pages were linear, then I could just stack the movie clips, but
since the user will click out of order I need a way to load one
into MC_2 (on top), Then when another is clicked have the MC_2 SWF
move down a level (Swap MC?) to allow the second to slide in above,
and then delete the movie that has moved down into level one
(Bottom) then have this repeat when another movie is clicked. This
way it will look like the page you clicked is always sliding in
over the one you are leaving.
Part 2:
I have no idea how to do this next part but... I believe it
involves a gotoAndPlay. I would like to have animation in the movie
that is unloading after the button for the next page to load is
clicked... in other words, you have loaded a page, you click on
another link, and before the new external SWF page loads, the
current performs a gotoAndPlay where I have animated some
de-constructing swipes that remove the text, shapes holding the
text, and the image. ONLY THEN does it start to load the movie for
the link it selected. I think what I am trying to ask here is how
does it carry the link through the unloading animation until it's
done and then execute the loading of the new external SWF of the
link they just clicked?
I pray this makes sense... If not I would be happy to explain
further. :) Thanks in advance for any help!>> I have no idea how to do this next part but... I
believe it involves a
gotoAndPlay. I would like to have animation in the movie that
is unloading
after the button for the next page to load is clicked... in
other words,
you
have loaded a page, you click on another link, and before the
new external
SWF
page loads, the current performs a gotoAndPlay where I have
animated some
deconstructing swipes that remove the text, shapes holding
the text and them
the image, and ONLY THEN does it start to load the movie for
the link it
selected. I think what I am trying to ask here is how does it
carry the
link
through the animation until it's done and then execute the
loading of the
external SWF of the link they just clicked?
<<
You don't use frames. I'd probably use Fuse for this - which
is a sequencing
engine. (www.mosessupposes.com) You can call a function when
the sequence is
done animating - using what's known as a callBack function.
That'd be the
best way, IMO.
For part one, you could either place mutliple empty movie
clips, or just
create them using createEmptyMovieClip - which is a MovieClip
method, and
then load your swfs into them with MovieClipLoader. You can
use swapDepths
for layer control, in order to have any given clip move above
another, layer
wise.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
Help ! - formatting page heading pass end of document
Hi,
Does anybody has similar experience ?
i have a document to create with rep6i
which requires inserting a label box at the top of the last page.
it is not possible to set a particuler header item to print 'ONLY' at the ending page.
Somehow the report seems not allowing dynamic format changes pass beg. of report.
James.Hi James,
It is sometimes tough to see to it that you anchor it "exactly" to the repeating frame. I tried it myself and could only do it after a few attempts. What happens is, if your repeating frame shares its boundary with another frame/field etc, sometimes it becomes difficult for the Reports Builder to find out which frame / repeating frame is the anchor tied to.
Pl try this once:
Separate your repating frame from all other frames/fields etc, such that its boundary (where you are going to place the anchor) is not touching the boundary of any other frame/field. Do the same for the label box as well. Only then place the anchor between the label box and the repeating frame.
You should now see the correct result. Hope that helps.
Navneet. -
Printing multiple copies of output for A template with different page Heade
Hi Vetri,
I am trying for a similar requirement as explained in the link below
http://winrichman.blogspot.com/2008/09/multiple-invoice-copy.html
I am facing two problems with 80% of the work done.
I mailed the template and xml to your id.
Please help in solving the problem
Best Regards,
MahiI found the issue with my report. I gave the syntax wrong when ending for-each for group. Using Variables no longer gives error and the issue is resolved with syntax as below.
Header Information
<?for-each-group@section: /yyy/LIST_G_xxx/xxx; COPIES?>
<?variable@incontext:G1;current-group()?>
<?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,current-group()/COPIES,1)?>
<?end for-each?>
<?end for-each-group?>
<?start:body?>
Here goes the body
<?start:last-page:body?> <?end body?>
I inserted a page break here through word tools
Here goes special instructions which only prints on last page
<?end body?>
But... I am still working on a related issue to print the Copy Number on the Header. For example if the Copy being printed is 1 it should print Set#1 on header, for 2nd Copy Set#2 and etc.
I saw in some post that the variable can not be used out of Loop. Can someone help how to accomplish this.
TIA
Neeraja -
Hi all -
I'm more of a finance guy who has been given the task to design a PDF with forms - so please excuse my naivete as designing isn't my strong point.
For some reason now, my Master Page is showing up in the middle of my document, between two forms. In the Hierarchy, the Master Page is still on top, but when I view it in Acrobat or scroll down in LiveCycle, I'm seeing a blank page in the middle of my two forms. Any ideas what might be causing that and how I can correct the problem?
When I started, I just kept adding a new blank page and adding my form fields/text fields/objects/text. The document is now about 30 pages long.
I'm using Acrobat 9 Pro Extended and LiveCycle Designer 8.3
My thanks in advance for any help!Could you post your form for a review?
Nith -
Help with Quiz pages and buttons (please)
We use Captivate 6 with a subscription. I have put together a couple of modules with question pools, and some with just a few questions pages inserted. The last time I created a new captivate project, I put inserted quiz pages and the buttons were different then they had been before. The first few times they were grey, now they are green and a bit smaller. Looking at the proporties for each page and button, I cannot see anything that is different othe than one is a text button and the other is a transparent button. Both buttons are marked as default quiz button style. I don't use any themes. To make this short, I would like to know if there is a way to make the buttons the same every time I add a page, or a pool? I am not yet up to designing my own buttons, but probably will here shortly. Right now I need to get some training modules completed as quickly as possible so I don't have the time to reinvent the wheel (so to speak). The only other thing that I noticed was different in the projects was that in the skin editor one uses one called [default](modifired) and the other one uses one that I created. HOWEVER, I have another one that uses my custome skin and the buttons are grey on that one which is the same as the default one. I don't think the skin has anything to do with the button look. Correct me gently if I am wrong on this.
Thanks for the help.Just one remark: in CP6 you always use a theme. And quiz slides have their own master slides, that will always be used. The buttons take on the style you see on those master slides, and this style can also be found in the object style manager. Skin and object styles are part of the theme. Probably you have overridden some of the styles defined?
Lilybiri -
Hi, I have inherited the updating of our website. I am trying
to edcuate myself about Dreamweaver, CSS and HTML with as much
reading of books, online material like this forum and tutorials. I
am a novice with limited training in DW, but am willing to put in
the work. I think I have a big burden.
This site was created in FrontPage by an outside firm and was
transferred to DW in house (I think).
Documentation is about non-existent beyond web host info and
passwords. I don't think it was considered that certain pages
within the site would be edited. I am trying to understand what is
going on in the code, but I am baffled.
I am trying to edit the dropdown menu to remove one location,
New York.
When I delete what I think are the appropriate lines of code,
the remaining items in the menu fail to display the correlating
info in the text area and in the image area on the right side of
the page.
This is the page;
http://www.wesgarde.com/branches.shtml
Can anyone help me get that one location removed, along with
making the rest of the menu items fall into place?
Appreciate any info,
Thanks, MicheleThe problem is that the Add-ons Manager tab when opened the first time, is on "Get Add-ons" section and that must be downloaded from the Add-ons server which might be overburdened.
* If you need to look for new Add-ons, go directly to the Add-ons site -> https://addons.mozilla.org/en-US/firefox/
Perform the suggestions mentioned in the following articles:
* [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache/ Clear Cookies & Cache]
* [[Add-ons are disabled after updating Firefox#w_check-for-new-versions-of-your-add-ons|Check for New versions of your Add-ons]]
Check and tell if its working.
Not related to your problem but some of your Plugins are out-dated
* Update All your Firefox Plugins -> [https://www.mozilla.org/en-US/plugincheck/]
* '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)''' -
Help with iWeb page...
Hello out there in Cyberland...
I need some assistance...My Site (which was created in iWeb 3) does not completely work in Safari but works like a charm in Chrome. My Blog Page "Projects" will load ocassionally but if you go back to it after viewing another page...all of the entries have dissappeared!!! I switched Safari to 32 bit thinking this would help...no dice...please assist me if you can. I have also tried to update the Blog.js and have emptied the Safari Cache many times...all to no avail.
My site is www.kmpstudioproductions.com
I am running Safari 6 on Mac OS X Lion 10.7.4 (11E53)
Please ADVISE!!!
Thanks
KMP Studio ProductionsYour site still works OK for me in Safari.
Reset Safari, quit, relaunch and then enter your website URL with a ? at the end of it.
So many people test their iWeb sites in Safari and there is hardly much point in doing so...
For testing local files, you should either set Firefox as your default browser or Chrome if you publish the files to your local server.
I have had problems with Safari 6 not clearing the cache properly. If you really make it jump through hoops it spins its wheels and locks up.
It is such a piece of c*#p I don't hardly use it all now and, judging by the above stats, neither does anybody else! Worry about IE instead. -
Hi, I had a couple of questions with making a registration
page. First, I'm having trouble figuring out how to make it so that
when someone submits there email address, it has to be a valid one
to continue, or even just an email address to begin with. Also, how
to prevent a user from using numbers when a user types in their
name as well as not let them type less than 3 characters. My last
question if anyone can answer it is how do you send an email to the
user after they submit the form, and make it so they have to click
on a link before they can access the website, so that what they put
in the form does not go into my database until they have clicked
the link. Thanks, sorry for asking so many questions, any help for
any of the questions would be greatly appreciated.The fundamental problem is that the OP is asking questions about Servlet and JSP development without fully understanding the basics of containers and the rendezvous method of data sharing, life-cycle, data scope, and the like.
It is better that (s)he read up on the basics. -
Need help with my Report Header
Hi
I have this report that I had to add a column to. which i did. but the problem is I can't find where the report getting its header information from so that I can shift it so that it apears correct format.
Here is the code
*& Report ZSALES *
* Report runs by sales employee, by period (invoice month). It *
* displays the contract number, invoice number & amount for the period *
* and sold-to and ship-to partners of the contract. *
* MODIFICATION LOG *
* DATE AUTHOR DESCRIPTION *
* 10/12/98 gubbi Original Version *
* 01/14/99 gubbi added selection criteria - material *
* sold-to and bill-to parties *
* 05/23/99 bchakraborty added the contract type select *
* criteria *
* 04/25/07 akabir adding Emp# *
REPORT ZSALES
LINE-SIZE 260 LINE-COUNT 65(3).
TABLES: S006,
TVAKT,
VBRP, "Billing: Item Data
VBRK, "Billing: Header Data
VEDA,
VBAP,
ENT6030,
ENT6418, "Partner sales activity-employee-assignment
STXL, "STXD SAPscript text file lines
VBPA.
DATA: BEGIN OF REC OCCURS 0,
VRTNR LIKE S006-VRTNR, " sales employee
SPBUP LIKE S006-SPBUP, " period of analysis
VBELN LIKE ENT6418-VBELN, " contract number
POSNR LIKE ENT6418-POSNR, " contract line item number
MATNR LIKE VBAP-MATNR, " material number
VBEGDAT LIKE VEDA-VBEGDAT, " contract begin date
VENDDAT LIKE VEDA-VENDDAT, " contract end date
PSTYV LIKE VBAP-PSTYV, " item category
INVOICE LIKE VBRP-VBELN, " invoice number(billing doc.)
ITEM LIKE VBRP-POSNR, " invoice line item number
SOLD_TO LIKE ENT6030-KUNNR, " sold-to party
SHIP_TO LIKE ENT6030-KUNNR, " ship-to party
BILL_TO LIKE ENT6030-KUNNR, " bill-to party
FKDAT LIKE VBRK-FKDAT, " invoice date
FKART LIKE VBRK-FKART, " billing type
NETWR LIKE VBRK-NETWR. " invoice amount
DATA: END OF REC.
DATA: T_PERNR LIKE PERNR-PERNR,
TEMP(6),
PRINT_OUT, GET_MATRL.
* MES Moved to Global
DATA: BEGIN OF ADDR,
NAME1 LIKE KNA1-NAME1,
NAME2 LIKE KNA1-NAME2,
END OF ADDR.
SELECTION-SCREEN BEGIN OF BLOCK ELMO WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: D_VKORG FOR S006-VKORG, " sales organization
DST_CHAN FOR S006-VTWEG, " distribution channel
DIV FOR S006-SPART, " division
EMPL_NO FOR S006-VRTNR, " sales employee number
SOLD_TO FOR ENT6030-KUNNR, " sold to party
BILL_TO FOR ENT6030-KUNNR, " bill to party
SHIP_TO FOR ENT6030-KUNNR, " ship to party
MATERIAL FOR S006-MATNR, " material number
PERIOD FOR S006-SPBUP, " analysis period
D_AUART FOR TVAKT-AUART. "Contract type
SELECTION-SCREEN END OF BLOCK ELMO.
SELECTION-SCREEN BEGIN OF BLOCK CHARLY WITH FRAME TITLE TEXT-002.
PARAMETERS: INVOICE RADIOBUTTON GROUP Z1,
COMISION RADIOBUTTON GROUP Z1.
SELECTION-SCREEN END OF BLOCK CHARLY.
"==================== Start Program ====================================
TOP-OF-PAGE.
* perform print_page_headings.
END-OF-PAGE.
SKIP 1.
FORMAT INTENSIFIED OFF.
* write: / 'Note: INVOICE TEXT IS BASED ON CURRENT INFORMATION',
* / ' AND MAY NOT MATCH THE ORIGINAL INVOICE'.
FORMAT RESET.
START-OF-SELECTION.
* commission report
IF COMISION EQ 'X'.
SELECT DISTINCT VRTNR FROM S006 INTO T_PERNR
WHERE VKORG IN D_VKORG AND
SPART IN DIV AND
VRTNR IN EMPL_NO AND
VTWEG IN DST_CHAN AND
SPBUP IN PERIOD.
AUTHORITY-CHECK OBJECT 'V_VBAK_VKO'
ID 'VKORG' FIELD S006-VKORG
ID 'VTWEG' FIELD S006-VTWEG
ID 'SPART' FIELD S006-SPART
ID 'ACTVT' FIELD '03'.
IF SY-SUBRC EQ 0.
SELECT * FROM ENT6418 WHERE PERNR = T_PERNR AND
PARVW = 'VE' AND "sales employee
VBELN >= '0090000000'.
MOVE: ENT6418-PERNR TO REC-VRTNR.
PERFORM GET_INVOICE_NUMBER.
CLEAR: REC, TEMP.
ENDSELECT.
ENDIF.
ENDSELECT.
* invoice registry report
ELSEIF INVOICE EQ 'X'.
SELECT * FROM VBRK
WHERE VKORG IN D_VKORG AND
SPART IN DIV AND
VTWEG IN DST_CHAN.
AUTHORITY-CHECK OBJECT 'V_VBAK_VKO'
ID 'VKORG' FIELD VBRK-VKORG
ID 'VTWEG' FIELD VBRK-VTWEG
ID 'SPART' FIELD VBRK-SPART
ID 'ACTVT' FIELD '03'.
IF SY-SUBRC EQ 0.
PERFORM GET_SALES_EMPLOYEE.
PERFORM GET_INFORMATION.
CLEAR: REC, TEMP.
ENDIF.
ENDSELECT.
ENDIF.
END-OF-SELECTION.
PERFORM PRINT_DATA.
*& Form GET_CONTRACT_NUMBER
* text
FORM GET_CONTRACT_NUMBER.
SELECT SINGLE * FROM VBRP WHERE VBELN = ENT6418-VBELN AND
POSNR = ENT6418-POSNR.
IF SY-SUBRC EQ 0.
MOVE: VBRP-AUBEL TO REC-VBELN, " contract number
VBRP-POSNR TO REC-POSNR. " contract item number
SELECT SINGLE * FROM VBAP WHERE VBELN = REC-VBELN AND
POSNR = REC-POSNR.
IF SY-SUBRC EQ 0.
MOVE: VBAP-MATNR TO REC-MATNR,
VBAP-PSTYV TO REC-PSTYV.
ENDIF.
SELECT SINGLE * FROM VEDA WHERE VBELN = REC-VBELN.
IF SY-SUBRC EQ 0.
MOVE: VEDA-VBEGDAT TO REC-VBEGDAT,
VEDA-VENDDAT TO REC-VENDDAT.
ENDIF.
ENDIF.
MOVE: ENT6418-VBELN TO REC-INVOICE, " invoice number
ENT6418-POSNR TO REC-ITEM. " invoice item number
ENDFORM. " GET_CONTRACT_NUMBER
*& Form GET_INVOICE_NUMBER
* text
FORM GET_INVOICE_NUMBER.
SELECT SINGLE * FROM VBRK WHERE VBELN = ENT6418-VBELN.
IF SY-SUBRC EQ 0.
PERFORM GET_INFORMATION.
ENDIF.
CLEAR: TEMP, REC.
ENDFORM. " GET_INVOICE_NUMBER
*& Form GET_SOLD_TO_SHIP_TO_PARTY
* text
FORM GET_SOLD_TO_SHIP_TO_PARTY.
SELECT * FROM VBPA WHERE VBELN = REC-VBELN.
* ( PARVW = 'AG' OR PARVW = 'WE' OR PARVW = 'RE' ).
IF VBPA-PARVW EQ 'AG'.
MOVE: VBPA-KUNNR TO REC-SOLD_TO.
ELSEIF VBPA-PARVW EQ 'WE'.
MOVE: VBPA-KUNNR TO REC-SHIP_TO.
ELSEIF VBPA-PARVW EQ 'RE'.
MOVE: VBPA-KUNNR TO REC-BILL_TO.
ENDIF.
ENDSELECT.
ENDFORM. " GET_SOLD_TO_SHIP_TO_PARTY
*& Form PRINT_DATA
* text
FORM PRINT_DATA.
DATA: NAME(25),
TEXT LIKE TVFKT-VTEXT.
SORT REC BY SPBUP
VRTNR
INVOICE ITEM.
FORMAT RESET.
LOOP AT REC.
AT NEW SPBUP.
* new-page.
ENDAT.
* Get contract type first for selection criteria
PERFORM GET_CONTRACT_TYPE.
* only continue if contract type is in selection
IF PRINT_OUT = 'Y'.
* Employee name note required
PERFORM GET_EMPLOYEE_NAME USING NAME.
perform get_billing_type_text using text.
* write: / 'Sales Employee: ', rec-vrtnr, name.
write: 1 rec-vrtnr.
clear: name.
IF REC-FKART EQ 'S1'.
FORMAT COLOR COL_NEGATIVE.
ENDIF.
WRITE: 170 REC-INVOICE, REC-ITEM. " Invoice #
* write: /10 'Billing Type: ', 30 rec-fkart, text.
FORMAT RESET.
CLEAR: TEXT.
* write: /10 'Invoice Date: ',
WRITE: 185 REC-FKDAT MM/DD/YY,
(10) REC-NETWR, 'USD'.
* write: /10 'Sold-to Party: ', 30 rec-sold_to.
WRITE: 11 REC-SOLD_TO. " 10 addr.
PERFORM GET_CUSTOMER_NAME USING REC-SOLD_TO.
* write: /10 'Ship-to Party: ', 30 rec-ship_to.
WRITE: 60 REC-SHIP_TO. " 60 addr.
PERFORM GET_CUSTOMER_NAME USING REC-SHIP_TO.
* write: /10 'Bill-to Party: ', 30 rec-bill_to.
* perform get_customer_name using rec-bill_to.
* write: 0 rec-bill_to, 10 addr.
WRITE: 155 REC-VBELN. " , rec-posnr. "Contract
WRITE: 220 REC-VBEGDAT, REC-VENDDAT.
* perform get_contract_type.
* perform get_item_category_text.
* perform get_long_text.
IF GET_MATRL NE 'N'.
PERFORM GET_MATERIAL_TEXT.
ENDIF.
* write: 105 rec-invoice, rec-item. " Invoice #
WRITE:/.
* uline.
ENDIF. " if contract selection
AT LAST.
SUM.
WRITE: /55 'Totals: ', (10) REC-NETWR.
ULINE.
ENDAT.
ENDLOOP.
ENDFORM. " PRINT_DATA
*& Form GET_EMPLOYEE_NAME
* text
FORM GET_EMPLOYEE_NAME USING P_NAME.
CALL FUNCTION 'Z_GET_EMPLOYEE_NAME'
EXPORTING
EMPL_NO = REC-VRTNR
IMPORTING
NAME = P_NAME
EXCEPTIONS
OTHERS = 1.
ENDFORM. " GET_EMPLOYEE_NAME
*& Form GET_LONG_TEXT
* text
FORM GET_LONG_TEXT.
DATA: DUMMY LIKE THEAD-TDNAME,
LINES TYPE I.
DATA: BEGIN OF TABLE_LINES OCCURS 0.
INCLUDE STRUCTURE TLINE.
DATA: END OF TABLE_LINES.
DATA: BEGIN OF IN_LINES OCCURS 0.
INCLUDE STRUCTURE TLINE.
DATA: END OF IN_LINES.
CONCATENATE REC-VBELN REC-POSNR INTO DUMMY.
SELECT * FROM STXL WHERE TDOBJECT = 'VBBP' AND
TDNAME = DUMMY.
CALL FUNCTION 'READ_TEXT_INLINE'
EXPORTING
ID = STXL-TDID
INLINE_COUNT = 1
LANGUAGE = 'E'
NAME = DUMMY
OBJECT = 'VBBP'
* IMPORTING
* HEADER =
TABLES
INLINES = IN_LINES
LINES = TABLE_LINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
OTHERS = 7.
DESCRIBE TABLE TABLE_LINES LINES LINES.
IF SY-SUBRC EQ 0.
SKIP 1.
WRITE: / 'Item Text: '.
ENDIF.
CLEAR LINES.
LOOP AT TABLE_LINES.
WRITE: / TABLE_LINES-TDLINE.
ENDLOOP.
REFRESH TABLE_LINES.
CLEAR: TABLE_LINES.
ENDSELECT.
ENDFORM. " GET_LONG_TEXT
*& Form GET_CUSTOMER_NAME
* text
FORM GET_CUSTOMER_NAME USING P_CUST_NO.
*data: begin of addr,
* name1 like kna1-name1,
* name2 like kna1-name2,
* end of addr.
DATA: STREET LIKE KNA1-STRAS,
CITY LIKE KNA1-ORT01,
STATE LIKE KNA1-REGIO,
ZIP LIKE KNA1-PSTLZ.
CALL FUNCTION 'Z_GET_CUSTOMER_NAME_ADDRESS'
EXPORTING
CUST_NO = P_CUST_NO
IMPORTING
NAME1 = ADDR-NAME1
NAME2 = ADDR-NAME2
STREET = STREET
CITY = CITY
STATE = STATE
ZIP = ZIP
EXCEPTIONS
OTHERS = 1.
CONDENSE ADDR.
* MES Don't need to print in this report
WRITE: ADDR(20).
* /30 street,
* /30 city, state, zip.
CLEAR: ADDR, STREET, CITY, STATE, ZIP.
ENDFORM. " GET_CUSTOMER_NAME
*& Form PRINT_PAGE_HEADINGS
* text
FORM PRINT_PAGE_HEADINGS.
DATA: MO(2), YR(4),
TEMP_NAME(80) VALUE SPACE.
WRITE: / SY-REPID.
IF COMISION EQ 'X'.
CALL FUNCTION 'Z_PRINT_PAGE_HEADINGS'
EXPORTING
STRING = 'COMMISSION REPORT'
EXCEPTIONS
OTHERS = 1.
ELSE.
CALL FUNCTION 'Z_PRINT_PAGE_HEADINGS'
EXPORTING
STRING = 'INVOICE REPORT'
EXCEPTIONS
OTHERS = 1.
ENDIF.
TEMP_NAME = 'PERIOD: '.
MO = REC-SPBUP+4(2).
YR = REC-SPBUP(4).
FORMAT INTENSIFIED ON.
CONCATENATE TEMP_NAME MO '/' YR INTO TEMP_NAME.
WRITE: / TEMP_NAME CENTERED.
CLEAR: MO, YR, TEMP_NAME.
IF D_VKORG <> SPACE.
TEMP_NAME = 'SALES ORGANIZATION:'.
IF D_VKORG-HIGH <> SPACE.
CONCATENATE TEMP_NAME D_VKORG-LOW ' TO:' D_VKORG-HIGH INTO
TEMP_NAME.
ELSE.
CONCATENATE TEMP_NAME D_VKORG-LOW INTO TEMP_NAME.
ENDIF.
ENDIF.
IF TEMP_NAME <> SPACE.
WRITE: / TEMP_NAME CENTERED.
CLEAR TEMP_NAME.
ENDIF.
IF DST_CHAN <> SPACE.
TEMP_NAME = 'DISTRIBUTION CHANNEL:'.
IF DST_CHAN-HIGH <> SPACE.
CONCATENATE TEMP_NAME DST_CHAN-LOW ' TO:' DST_CHAN-HIGH INTO
TEMP_NAME.
ELSE.
CONCATENATE TEMP_NAME DST_CHAN-LOW INTO TEMP_NAME.
ENDIF.
ENDIF.
IF TEMP_NAME <> SPACE.
WRITE: / TEMP_NAME CENTERED.
CLEAR TEMP_NAME.
ENDIF.
IF DIV <> SPACE.
TEMP_NAME = 'DIVISION:'.
IF DIV-HIGH <> SPACE.
CONCATENATE TEMP_NAME DIV-LOW ' TO:' DIV-HIGH INTO
TEMP_NAME.
ELSE.
CONCATENATE TEMP_NAME DIV-LOW INTO TEMP_NAME.
ENDIF.
ENDIF.
IF TEMP_NAME <> SPACE.
WRITE: / TEMP_NAME CENTERED.
CLEAR TEMP_NAME.
ENDIF.
* uline.
FORMAT RESET.
ENDFORM. " PRINT_PAGE_HEADINGS
*& Form GET_SALES_EMPLOYEE
* text
FORM GET_SALES_EMPLOYEE.
SELECT SINGLE * FROM ENT6418 WHERE VBELN = VBRK-VBELN AND
PARVW = 'RE'.
IF SY-SUBRC EQ 0.
MOVE: ENT6418-PERNR TO REC-VRTNR.
ENDIF.
SELECT SINGLE * FROM ENT6418 WHERE VBELN = VBRK-VBELN AND
PARVW = 'WE'.
ENDFORM. " GET_SALES_EMPLOYEE
*& Form GET_INFORMATION
* text
FORM GET_INFORMATION.
TEMP = VBRK-FKDAT(6).
CHECK TEMP IN PERIOD.
MOVE: VBRK-FKDAT TO REC-FKDAT, " invoice date
VBRK-FKART TO REC-FKART, " billing type
TEMP TO REC-SPBUP.
* subtract the amount if the invoice is cancelled.
* chakraborty. added the G2 and RE criteria to billing type
IF REC-FKART EQ 'S1'. " cancellation of inventory
REC-NETWR = -1 * VBRK-NETWR. " invoice amount
ELSEIF REC-FKART EQ 'G2'. " credit memo
REC-NETWR = -1 * VBRK-NETWR.
ELSEIF REC-FKART EQ 'RE'. " credit for returns
REC-NETWR = -1 * VBRK-NETWR.
ELSE.
REC-NETWR = VBRK-NETWR.
ENDIF.
PERFORM GET_CONTRACT_NUMBER.
PERFORM GET_SOLD_TO_SHIP_TO_PARTY.
IF REC-SOLD_TO IN SOLD_TO AND REC-BILL_TO IN BILL_TO AND
REC-MATNR IN MATERIAL AND
REC-SHIP_TO IN SHIP_TO.
APPEND REC.
ENDIF.
CLEAR REC.
ENDFORM. " GET_INFORMATION
*& Form GET_BILLING_TYPE_TEXT
* text
FORM GET_BILLING_TYPE_TEXT USING P_TEXT.
TABLES: TVFKT.
SELECT SINGLE * FROM TVFKT WHERE SPRAS = 'E' AND
FKART = REC-FKART.
IF SY-SUBRC EQ 0.
MOVE: TVFKT-VTEXT TO P_TEXT.
ENDIF.
ENDFORM. " GET_BILLING_TYPE_TEXT
*& Form GET_CONTRACT_TYPE
* text
* --> p1 text
* <-- p2 text
FORM GET_CONTRACT_TYPE.
TABLES: VIVEDA.
* TVAKT.
DATA: P_T_BEZEI LIKE TVAKT-BEZEI,
P_T_AUART LIKE TVAKT-AUART.
SKIP 1.
SELECT SINGLE AUART FROM VIVEDA INTO P_T_AUART
WHERE VBELN = REC-VBELN AND
POSNR = REC-POSNR.
IF P_T_AUART = 'ZWV'.
SELECT SINGLE BEZEI FROM TVAKT INTO P_T_BEZEI
WHERE AUART = P_T_AUART AND SPRAS = 'E'
AND AUART IN D_AUART.
WRITE: /110 P_T_AUART, 117 P_T_AUART , P_T_BEZEI.
ENDIF.
IF P_T_AUART IN D_AUART.
PRINT_OUT = 'Y'.
WRITE: /210 P_T_AUART.
ELSE.
PRINT_OUT = 'N'.
ENDIF.
CLEAR: P_T_AUART, P_T_BEZEI.
ENDFORM. " GET_CONTRACT_TYPE
*& Form GET_ITEM_CATEGORY_TEXT
* text
* -->P_I_TEXT text *
FORM GET_ITEM_CATEGORY_TEXT.
TABLES: TVAPT.
SELECT SINGLE * FROM TVAPT WHERE SPRAS = 'E' AND
PSTYV = REC-PSTYV.
IF SY-SUBRC EQ 0.
WRITE: /20 'Item Category: ', REC-PSTYV, TVAPT-VTEXT.
ENDIF.
ENDFORM. " GET_ITEM_CATEGORY_TEXT
*& Form GET_MATERIAL_TEXT
* text
* --> p1 text
* <-- p2 text
FORM GET_MATERIAL_TEXT.
TABLES: MAKT.
SELECT SINGLE * FROM MAKT WHERE MATNR = REC-MATNR AND
SPRAS = 'E'.
IF SY-SUBRC EQ 0.
WRITE: 110 REC-MATNR, 117 MAKT-MAKTX(35).
ENDIF.
ENDFORM. " GET_MATERIAL_TEXT
I was wondering if one of the experts can tell me how to get to the header.
There r previously wrtten code for header in there which is * marked. so its not using it. but may be I am missing some thing hereThanks but the line that calling that Form is * marked
* perform print_page_headings.
It never reaches there and the following is the code from that function which got just the title not the header stuff.
FUNCTION Z_PRINT_PAGE_HEADINGS.
*"*"Local interface:
*" IMPORTING
*" VALUE(STRING) LIKE IFLOTX-PLTXT OPTIONAL
DATA: V_HEAD_STRING(255) VALUE SPACE.
FORMAT INTENSIFIED OFF.
WRITE: / 'Printed By: ', SY-UNAME,
'On ', SY-DATUM MM/DD/YY,
'At ', SY-UZEIT,
65 'Page No. ', SY-PAGNO.
SKIP 1.
FORMAT RESET.
FORMAT INTENSIFIED ON.
V_HEAD_STRING = 'BGM INDUSTRIES INC.'.
WRITE: / V_HEAD_STRING CENTERED.
IF STRING <> SPACE.
V_HEAD_STRING = STRING.
WRITE: / V_HEAD_STRING CENTERED.
ENDIF.
FORMAT RESET.
ENDFUNCTION.
I am looking for the header stuff. when I run the report the above stuff doesn't even appear and understandably so as its commented out. -
Need help with automatic page when a box is filled with a letter
I use the Adobe Livecycle Designer 8.0, version 8.0.1291.1.339988.
I'm trying to make a test for cars in Livecycle, where the car is tested and then there should be a box after every kind of test such as: Brakes front, brakes back, parking brakes, lights, engine, oillevel, exhaust system, clutch and so on..
When a specific letter is written in the box a page should pop-up where the tester can write what the problem is. And then afterwards continune with the rest of the test.
In the box, there should be four choices, a G, R and A. When there's a G there shouldn't pop-up a page, because that part is fine. But when there's a R (reparation) and an A (remark), this page should pop-up with the text of what part of the car it is and a text-field where the mechanic that tests the car can write what needs reparing or what's a remark.
Can anyone help me? I really would appriciate it!
Jacob LangerTo support what King_Penguin has provided, here is a support document that describes the steps to take with a device in Recovery Mode. If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support
Maybe you are looking for
-
Cisco IPSEC VPN not working after upgrade to Mavericks
I have been using the Cisco IPSEC VPN for almost 2 years with no issues. When I upgraded to Mavericks this week it stopped working. When i tell it to connect it prompts for password and attempts to connect for about 30 seconds then comes back with th
-
How can I open a PDF file from a swf?
Hi all, I created presentation using Flash cs5, and I want to make a link that opens an external PDF file. I have done this with past version of Flash, but how can I do it using cs5? Many thanks in advance, HDsuperglide
-
HT1369 I erased my music from my ipod while in itunes. Is it somewhere on itunes
I erased my music from my ipod while in itunes. Is it somewhere that I can get it back?
-
Passing values to included jsp via bean
Hi people I've got a jsp fragment which is used by many jsp's. It outputs a dynamic menu. It gets its data from a bean, say MenuBean. The jsp which "includes" menu.jsp does a jsp:usebean then jsp:setproperty's on MenuBean. When I run the project noth
-
Compiz can't work with my GPU in ARCH
my GPU is the intel i910,i have installed the video drive "xf86-video-intel",but the glxgears just 300 FPS (it is about 1200FPS in UBUNTU).The compiz can't work,who can tell me how should i do? sorry about my english:) Last edited by jiangkero (2009