Newbie Layout Help Needed
I am normally an After Effects and Premiere Pro user but have been forced to volunteer for help on a Dreamweaver project.
The site is built on the template: HTML, 1 column fixed, centered, header and footer. I want to be able to insert a photo the width of the main column, 960 px I think. Then, under that photo, I want to insert 4 photos with different widths, between 150 and 200 pixels wide. I will need to update this from time to time and the quantity and sizes of the photos will be different each time. If "Draw AP Div" worked like I expected it to, it would be simple: draw boxes and insert images. However, as you know, it's not going to be that easy. I have read the formatting101 page and searched the forum but I guess I don't know enough to know what to search for.
Is there a way to place images in the way I want to? Do I need a plug-in? I need to where to start.
You don't need APDivs for this. If you want the secondary images to be evenly spaced on the page, use CSS floats & margins.
http://alt-web.com/DEMOS/3-CSS-boxes.shtml
If you don't need them evenly spaced, simply insert optimized images into your layout. Be sure to resize images beforehand in your graphics editor so that their combined widths will fit inside the layout.
<p style="text-align"center">
<img src="top-image.jpg" width="xx" height="xx" alt="description">
</p>
<p style="text-align:center">
<img src="image1.jpg" width="xx" height="xx" alt="description">
<img src="image2.jpg" width="xx" height="xx" alt="description">
<img src="image3.jpg" width="xx" height="xx" alt="description">
<img src="image4.jpg" width="xx" height="xx" alt="description">
</p>
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
Similar Messages
-
Hi all,
I have a full Photoshop webpage layout file with several layers – and I need to extract parts of it to use on the website.
I do know a little bit about slices – but I would prefer to not use that now. Rather I was thinking of saving a tiff file master with no layers – and simply copying pieces of this off as needed.
I do have one background layer that is wider than the rest – and I would prefer to delete that entire background layer and then save the tiff without that.
Q: Can you tell me how best to accomplish this?Revdave,
You could follow the video below easily to extract background from Photoshop.
Remove Background from Photo - Photoshop CS6 - YouTube
Let me know if you need more help on this!
Cheers
-Mandhir -
Newbie questions, help needed, please
I am pretty new to Oracle Application Express. I have two problems when I try to create Page with type of "Report and Form". I hope you guys could help me out:
(1) When I create Pages with the type of "Report and Form", the first column, primary key does not show up in the report page. Why?
(2) When the table has two primary keys, I have problem when I click the button to go to form page from report page to update the record. It always show error said "Fetch returns more than one rows". How can I tell the application that I have two primary keys?
Thanks,
LeePut in "HTML Expression [Insert column value]" part of field which will be a link:
a href = f?p=&APP_ID.:&APP_PAGE_ID.:&APP_SESSION.::NO::PX_PK1,PX_PK2:'+'#PK1#'+','+'#PK2#')">Edit< /aput in previous sentence "<" in front and ">" on the end and remove blank before "/a" - otherwise you'll not see the content but real link!!!!!
where :
<li>"&APP_ID." is the page in which you want to open and start edit</li>
<li>"PX_PK1,PX_PK2" are items on that page (probably hidden) tha will represent primary key</li>
<li>"#PK1#" and "#PK2#" are primary key values on current page (from table grid represent with query "SELECT PK1,PK2,...from MyTable"</li>
P.S.
I read somewhere that life with Appex should be much easy when people should use PK base on one coulmn (sequence).
To ensure PK on those fields create UNIQUE index on those two fields and in table define NOT NULL on those two columns.
When you get expireienced you'll know the benefit of this advise -
Scaling and Text formatting / Layout - Help needed
I am having some trouble with the way text is scaled up in
flash. When I output and have scaling mode enabled. Objects scale
nicely when the user resizes the window. However, text does not. If
there is a text box with multiline enabled and text inside. The
text will constantly readjust its formatting and layout as you
scale the window.
This is a huge problem for an ebook I am developing. It seems
if I add line breaks manually at the end of each line, it fixes the
problem, however that is an unrealistic solution as the text will
all be dynamic.
Has anyone experience what I am talking about, and knows of a
solution.thnks for the reply ... did something like this
<af:panelFormLayout binding="#{opportunityManagement.pfl3}"
id="pfl3" maxColumns="2"
rows="1">
<af:inputText label="Lead"
binding="#{opportunityManagement.it1}"
id="it1" columns="5"/>
<af:commandButton text="..."
binding="#{opportunityManagement.cb3}"
id="cb3"/>
<af:inputText label="Opportunity"
binding="#{opportunityManagement.it2}"
id="it2" columns="5"/>
<af:commandButton text="..."
binding="#{opportunityManagement.cb4}"
id="cb4"/>
</af:panelFormLayout>but all are on different lines -
I'm trying to create a simple JPanel that has a 'retreat' button on the left and a 'proceed' button on the right.
Sometimes the 'retreat' button will not be present, in which case only the 'proceed' button will be shown. The problem is that in these cases where the 'retreat' button is not visible, the 'proceed' button shows up in the centre of the panel, rather than on the right hand side.
I have tried a gridbaglayout (also with glue) but the 'proceed' button keeps showing in the middle when it's unaccompanied.
The only solution I can think of is an untidy one, and involves changing the alignment of the JPanel (or adding glue) or adding invisible buttons depending on which of the two buttons is being displayed. But what I'm trying to do is quite simple, so surely there's an easier way - possibly using a different layout manager??
Thanks in advance,
Jamessounds like the buttons are currently in their own panel(FlowLayout),
and this panel is at BorderLayout.SOUTH of the container (or similar)
if so,change the panel from FlowLayout to GridLayout(1,2),
but the buttons will now occupy all of the space, which you probably don't want,
so create another panel, add leftButton to it, then add leftPanel to gridlayoutPanel
repeat for rightPanel
if you want the buttons on the extreme left and right, when creating leftPanel
JPanel leftPanel = new JPanel(newFlowLayout(FlowLayout.LEFT));
same for rightPanel, but FlowLayout.RIGHT -
I have an object (coming from a ColdFusion CFC) that contains
an array
of objects that can be 28, 35 or 42 elements long. I would
like to
display this in a grid 7 columns wide and 4, 5 or 6 rows as
appropriate.
Each of these objects will contain a record set or another
array of
objects (I have not decided yet) that I will then want to
pass to a
tilelist inside each grid cell.
I can not see how to even start this kind of display. Any
help would be
most appreciated.Ok, I have a custom control created to handle the formating
inside each
of my gridItem. I want to pass the day object that is the
current item
of the Repeater into this custom control. How do I define the
variable
in side my custom control to accept on object of type "Day"
defined in a
Day.as file?
That is what the repeater currentItem will pass in if it is
looping over
an array of Day object correct?
<mx:Repeater
id="dayCells"
dataProvider="{testStuff}"
startingIndex="{weekRows.currentItem}"
count="7">
<mx:GridItem width="14%">
<ns1:dayFormat2 dayData="{dayCells.currentItem}" />
</mx:GridItem>
</mx:Repeater>
Ian Skinner wrote:
> <mx:Grid>
> <mx:Repeater id="weekRows"
dataProvider="{weeksAry}">
> <mx:GridRow>
> <mx:Repeater
> id="dayCells"
> dataProvider="{testStuff}"
> startingIndex="{weekRows.currentItem}"
> count="7">
> <mx:GridItem>
> <mx:Label text="{dayCells.currentItem}" />
> </mx:GridItem>
> </mx:Repeater>
> </mx:GridRow>
> </mx:Repeater>
> </mx:Grid> -
Hi Guys,
Ive hunted high and low to solve this problem but couldn't
find anything.
Heres my problem...
Do you see the broswer bar where you type in the website you
want to visit, to the left of that is a small image (like the adobe
one thats there now) Can you do that via dreamweaver 8? if so how
people.
Thanks in advance!it's called a favicon, an image with the filename of
favicon.ico
You can create a square image in your image editor and use
this free tool to create your favicon:
Free Favicon Tool
Place it in the root of your web directory and place the
following line of code between your <head></head> tags:
<link rel="shortcut icon" href="/favicon.ico" >
Hope that helps! -
I've done quite a bit of JSP work and am now trying to grok JSP 2.0 with Tomcat 5.0.28.
Why does example A work yet B doesn't?
A) ${33}
B)
<% int x = 33; %>
${x}In EL, there are only four scopes, represented by four scope objects:
page scope -- the pageContext object
request scope -- the request object
session scope -- the session object
application -- the servletContext object
EL will find a value stored in any one of these four scopes. However, when you are using scriptlets,
<% x = 33 %>
You are inserting that java code directly into the JSP's service method (remember, JSPs are translated into Servlets, and then compiled into .class files before they are displayed...). The value is local to the service method and not stored in any of the four scope objects.
In order to access a value from a scriptlet, you could do:
<%
Integer x = 33; //I don't think you can use int here, I think it needs to be an Object
pageContext.setAttribute("x", x); //put the value of the variable x into the pageContext with a name of x
%>
${x} //Will give the first value named x when searching page, request, session, application scopes -
Hi,
This is my first post. I just purchased a RV110W to get basic vpn access to my small office for me an employees when not onsite. We have a Comcast business gateway and a static IP.
So far I have configured the Comcast gateway and Cisco RV110W correctly to alllow internet to work in the office and VPN connections to be established with the RV110W while offsite. The Comcast gateway is in a "bridge mode" just providing internet to the Cisco box.
My trouble is nobody can see, ping, or connect to anything on the office LAN while a VPN connection is active offsite. This is the case with PPTP and QuickVPN. Again, the VPN connection works, says it is connected but I can't browse anything on the office LAN while offsite and on VPN.
I am sure there is something obvious I am doing wrong, which is why I am turning here.
Any help or advise would be greatly appreciated.
Geoffgot the same issue with 2 RV110W.
We can stablish connection via QuickVPN and w8VPN client, acces to remote administration panel, but cant see anything nor ping to the rest of machines in the LAN.
Any idea? -
Hey all, i'm doing a website for a client, and having issues
aligning things up properly. I'm still learning CSS, so bear with
me!
Firstly, check this site out
http://www.creativityawaits.com/HowToMakeWelshQuilts/
1) I'm using 1024x768 and the flash bit at the top goes over
the shadow too much to the right. I basically want this to line up
with the rest of the site. How do I do this?
2) When using higher resolution, the top blocks stay there,
but the others expand. Whats best to do here....
CSS file at
CSS
Index file at
HTML
Thanks!Hey all, i'm doing a website for a client, and having issues
aligning things up properly. I'm still learning CSS, so bear with
me!
Firstly, check this site out
http://www.creativityawaits.com/HowToMakeWelshQuilts/
1) I'm using 1024x768 and the flash bit at the top goes over
the shadow too much to the right. I basically want this to line up
with the rest of the site. How do I do this?
2) When using higher resolution, the top blocks stay there,
but the others expand. Whats best to do here....
CSS file at
CSS
Index file at
HTML
Thanks! -
Newbie configuration help needed
I bought a T-Mobile 8320 about a week ago and am repalcing my windows mobile phone. I have my calendar, contacts, tasks and primary email all in MS Outlook on my laptop and want to wirelessly sync with my blackberry and my home PC. I know about the hard wired solution but would like to stay away from that as I'm not at my PCs every day. I do not have an exchange server. I signed up for the $20 per month Blackberry program.
Can anyone tell me what the best desktop solution is for this? Do you ue wireless manager or desktop manager, etc.
Thanks
MikeWithout Exchange and BlackBerry Server you can only sync contacts, tasks and calendar via wired connection with Outlook.
Click on KUDOS to appreciate our efforts and mark the thread RESOLVED if your issue is resolved. -
Hi! I am newbie to Reports need help with check boxes
Hi! I am newbie to Reports need help with check boxes. I am try-in to make a new check boxes that will validate in runtime. I have created two frames and one frame is dummy and other frame has big X line on it with conditions. Is this a right way to create check box! Please help thanks!
and one frame is dummy and other frame has big X
line on it with conditions. Is this a right way to
create check box! Please help thanks!Instead of creating a frame for X, you can create Ractangle and place X in it. Rest is fine. -
2 Layout's for 2 screens different F4 Help needed for same program
Hi Friends,
I have 2 layouts in the selection screen the first layout is for screen 1 and the second layout is for screen 2.
I save the layouts when I run the report.
Now when I do F4 Help for the first layout it shows me all the layouts available for the program and the same thing
for Second layout too.
Is there a way for the first layout I need to get only the layouts for the first screen when I hit the F4 button
and for the second layout I need to get only the layouts for the second screen when I hit the F4 button. in order to choose
I am using REUSE_ALV_VARIANT_F4 and passing report name to is_variant and i_save = 'X'.
Thanks,
chaithanya.I think this is not possible.
Variant names get stored on Report Name as key.
a® -
Help needed : Extension manager cs6 not listing products
Help needed to Adobe extension manager cs6 to show all my cs6 products
I downloaded Extension manager from here Adobe - Exchange : Download the Adobe Extension Manager
My Computer windows xp 32bit
My Photosop version cs6
My Dreamweaver version cs6
I installed photoshop here : C:\Program Files\Adobe\Adobe Dreamweaver CS6
and my XManConfigfile
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<VariableForExMan>
<Data key="$sharedextensionfolder">$shareddatafolder/Adobe/Dreamweaver CS6/$LOCALE/Configuration/Extensions</Data>
<Data key="$dreamweaver">$installfolder</Data>
<Data key="$dreamweaver/Configuration">$userdatafolder/Adobe/Dreamweaver CS6/$LOCALE/Configuration</Data>
<Data key="$UserBinfolder">$userdatafolder/Adobe/Dreamweaver CS6/$LOCALE</Data>
<Data key="NeedOperationNotification">true</Data>
<Data key="QuitScript">dw.quitApplication()</Data>
<Data key="SupportedInSuite">CS6</Data>
<Data key="HostNameForCSXS">DRWV</Data>
<Data key="ProductVersion">12.0</Data>
<Data key="Bit">32</Data>
<Data key="DefaultLocale">en_US</Data>
</VariableForExMan>
</Configuration>
Extension manager installed here : C:\Program Files\Adobe\Adobe Extension Manager CS6
Photoshop Installed here: C:\Program Files\Adobe\Adobe Photoshop CS6
and my XManConfigfile
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<VariableForExMan>
<Data key="EmStorePath">$SharedRibsDataFolder/Adobe/Extension Manager</Data>
<Data key="$photoshopappfolder">$installfolder</Data>
<Data key="$pluginsfolder">$photoshopappfolder/Plug-Ins</Data>
<Data key="$presetsfolder">$photoshopappfolder/Presets</Data>
<Data key="$platform">Win</Data>
<Data key="$actions">$presetsfolder/Actions</Data>
<Data key="$blackandwhite">$presetsfolder/Black and White</Data>
<Data key="$brushes">$presetsfolder/Brushes</Data>
<Data key="$channelmixer">$presetsfolder/Channel Mixer</Data>
<Data key="$colorbooks">$presetsfolder/Color Books</Data>
<Data key="$colorrange">$presetsfolder/Color Range</Data>
<Data key="$colorswatches">$presetsfolder/Color Swatches</Data>
<Data key="$contours">$presetsfolder/Contours</Data>
<Data key="$curves">$presetsfolder/Curves</Data>
<Data key="$customshapes">$presetsfolder/Custom Shapes</Data>
<Data key="$duotones">$presetsfolder/Duotones</Data>
<Data key="$exposure">$presetsfolder/Exposure</Data>
<Data key="$gradients">$presetsfolder/Gradients</Data>
<Data key="$huesat">$presetsfolder/Hue Sat</Data>
<Data key="$imagestatistics">$presetsfolder/Image Statistics</Data>
<Data key="$keyboardshortcuts">$presetsfolder/Keyboard Shortcuts</Data>
<Data key="$layouts">$presetsfolder/Layouts</Data>
<Data key="$lenscorrection">$presetsfolder/Lens Correction</Data>
<Data key="$levels">$presetsfolder/Levels</Data>
<Data key="$liquifymeshes">$presetsfolder/Liquify Meshes</Data>
<Data key="$menucustomization">$presetsfolder/Menu Customization</Data>
<Data key="$optimizedcolors">$presetsfolder/Optimized Colors</Data>
<Data key="$optimizedoutputSettings">$presetsfolder/Optimized Output Settings</Data>
<Data key="$optimizedsettings">$presetsfolder/Optimized Settings</Data>
<Data key="$patterns">$presetsfolder/Patterns</Data>
<Data key="$reducenoise">$presetsfolder/Reduce Noise</Data>
<Data key="$replacecolor">$presetsfolder/Replace Color</Data>
<Data key="$scripts">$presetsfolder/Scripts</Data>
<Data key="$selectivecolor">$presetsfolder/Selective Color</Data>
<Data key="$shadowhighlight">$presetsfolder/Shadow Highlight</Data>
<Data key="$smartsharpen">$presetsfolder/Smart Sharpen</Data>
<Data key="$styles">$presetsfolder/Styles</Data>
<Data key="$textures">$presetsfolder/Textures</Data>
<Data key="$tools">$presetsfolder/Tools</Data>
<Data key="$variations">$presetsfolder/Variations</Data>
<Data key="$webphotogallery">$presetsfolder/Web Photo Gallery</Data>
<Data key="$workspaces">$presetsfolder/Workspaces</Data>
<Data key="$zoomify">$presetsfolder/Zoomify</Data>
<Data key="$hueandsaturation">$presetsfolder/Hue and Saturation</Data>
<Data key="$lights">$presetsfolder/Lights</Data>
<Data key="$materials">$presetsfolder/Materials</Data>
<Data key="$meshes">$presetsfolder/Meshes</Data>
<Data key="$rendersettings">$presetsfolder/Render Settings</Data>
<Data key="$volumes">$presetsfolder/Volumes</Data>
<Data key="$widgets">$presetsfolder/Widgets</Data>
<Data key="$localesfolder">$photoshopappfolder/Locales</Data>
<Data key="$additionalplugins">$localesfolder/$LOCALE/Additional Plug-ins</Data>
<Data key="$additionalpresets">$localesfolder/$LOCALE/Additional Presets</Data>
<Data key="$localeskeyboardshortcuts">$localesfolder/$LOCALE/Additional Presets/$platform/Keyboard Shortcuts</Data>
<Data key="$localesmenucustomization">$localesfolder/$LOCALE/Additional Presets/$platform/Menu Customization</Data>
<Data key="$localesworkspaces">$localesfolder/$LOCALE/Additional Presets/$platform/Workspaces</Data>
<Data key="$automate">$pluginsfolder/Automate</Data>
<Data key="$digimarc">$pluginsfolder/Digimarc</Data>
<Data key="$displacementmaps">$pluginsfolder/Displacement Maps</Data>
<Data key="$effects">$pluginsfolder/Effects</Data>
<Data key="$extensions">$pluginsfolder/Extensions</Data>
<Data key="$fileformats">$pluginsfolder/File Formats</Data>
<Data key="$filters">$pluginsfolder/Filters</Data>
<Data key="$imagestacks">$pluginsfolder/Image Stacks</Data>
<Data key="$importexport">$pluginsfolder/Import-Export</Data>
<Data key="$measurements">$pluginsfolder/Measurements</Data>
<Data key="$panels">$pluginsfolder/Panels</Data>
<Data key="$parser">$pluginsfolder/Parser</Data>
<Data key="$3dengines">$pluginsfolder/3D Engines</Data>
<Data key="$lightingstyles">$pluginsfolder/Filters/Lighting Styles</Data>
<Data key="$matlab">$photoshopappfolder/MATLAB</Data>
<Data key="UserExtensionFolder">$photoshopappfolder</Data>
<Data key="$photoshop">$UserDataFolder/Adobe/Adobe Photoshop CS6/Configuration</Data>
<Data key="DisplayName">Photoshop CS6 32</Data>
<Data key="ProductName">Photoshop32</Data>
<Data key="FamilyName">Photoshop</Data>
<Data key="ProductVersion">13.0</Data>
<Data key="IconPath">Configuration/PS_exman_24px.png</Data>
<Data key="SupportedInSuite">CS6</Data>
<Data key="HostNameForCSXS">PHSP</Data>
<Data key="Bit">32</Data>
</VariableForExMan>
</Configuration>
Please someone help me i cant install any photoshop extension because of this issue,,,Waiting for your reply ...thanks
Here is the results
I installed photoshopcs6 illustrator cs6 dreamweaver cs6 illustrator cs6 in the system , But nothing seems
Result: BridgeTalk Diagnostics
Info:
Name = estoolkit-3.8
Status = PUMPING
Path
Version = 2.0
Build = ES 4.2.12
Next serial number = 40
Logging: = OFF
Now = 15:55:49
Messages:
Message Version = 2.05
Authentication = ON
Digest = ON
Thread: estoolkit-3.8#thread
Avg. pump interval = 55ms
Last pump = 62ms ago
Ping: 7
ECHO_REQUEST: ECHO_RESPONSE
Timeout = undefined
Handler = undefined
STATUS: PUMPING
Timeout = undefined
Handler = undefined
MAIN: MAIN
Timeout = undefined
Handler = installed
LAUNCHED: LAUNCHED
Timeout = undefined
Handler = installed
DIAGNOSTICS: DIAGNOSTICS
Timeout = undefined
Handler = installed
INFO: INFO
Timeout = undefined
Handler = installed
SETUPTIME: thread=0ms, left=16ms
Timeout = undefined
Handler = undefined
Instances: 3
estoolkit-3.8#dbg:
msg[15:55:49]: 00000035
@BT>Version = 2.05
Target = estoolkit-3.8#dbg
Sender = estoolkit-3.8#dbg
Sender-ID = localhost:win3788
Timeout = 15:55:50
Type = Ignore
Response-Request = Timeout
Headers = (no headers)
Timestamp = 15:55:49
Serial-Number = 35
Received = undefined
Result = undefined
Error = undefined
Body = (empty)
Incoming: 1
Outgoing: 0
Handler: 9
ExtendScript = for all messages
Error = for only msg #25
Error = for only msg #27
Error = for only msg #31
Result = for only msg #35
Error = for only msg #35
Timeout = for only msg #35
Result = for only msg #37
Error = for only msg #37
estoolkit-3.8#estk:
msg[15:55:49]: 00000037
@BT>Version = 2.05
Target = estoolkit-3.8#estk
Sender = estoolkit-3.8#dbg
Sender-ID = localhost:win3788
Timeout = 16:05:49
Type = Debug
Response-Request = Result Error
Headers = (no headers)
Timestamp = 15:55:49
Serial-Number = 37
Received = undefined
Result = undefined
Error = undefined
Body: 107 bytes
Text = <get-properties engine="main" object="$.global" exclude="undefined,builtin,prototype" all="true" max="20"/>
Incoming: 1
Outgoing: 0
Handler: 1
ExtendScript = for all messages
estoolkit-3.8: (main)
Incoming: 0
Outgoing: 0
Handler: 1
ExtendScript = for all messages
Targets: 1
Connector = PCD
Installed: 0
Running: 0
exman-6.0:
Path = C:\Program Files\Adobe\Adobe Extension Manager CS6\Adobe Extension Manager CS6.exe
Display Name = Adobe Extension Manager CS6
MsgAuthentication = ON
MsgDigest = ON
ESTK = OFF
BundleID = com.adobe.exman
Status = (not running)
ExeName = Adobe Extension Manager CS6.exe
Installed: 1
Running: 0
Groups = (no groups defined) -
Help needed Displaying ALV Secondary list without using oops concept
Hi Experts
Help needed Displaying ALV Secondary list without using oops concept.
its urgent
regds
rajasekharhi chk this code
******************TABLES DECLARATION*****************
TABLES : VBAP,MARA.
*****************TYPE POOLS**************************
TYPE-POOLS : SLIS.
****************INTERNAL TABLES**********************
DATA : BEGIN OF IT_VBAP OCCURS 0,
VBELN LIKE VBAP-VBELN, "SALES DOCUMENT
POSNR LIKE VBAP-POSNR, "SALES DOCUMENT ITEM
MATNR LIKE VBAP-MATNR, "MATERIAL NUMBER
END OF IT_VBAP.
****************TEMPORARY VARIABLES******************
DATA : V_VBELN LIKE VBAP-VBELN."SALES DOCUMENT
DATA : V_MTART LIKE MARA-MTART. "MATERIAL TYPE
*****************FIELD CATALOG***********************
DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
****************LAYOUT*******************************
DATA : WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
***************VARIANT*******************************
DATA : G_VARIANT LIKE DISVARIANT.
****************SAVE*********************************
DATA : G_SAVE(1) TYPE C.
*****************EVENTS******************************
DATA : XS_EVENTS TYPE SLIS_ALV_EVENT,
G_EVENTS TYPE SLIS_T_EVENT.
******************PF STATUS**************************
DATA : PF_STATUS TYPE SLIS_FORMNAME VALUE 'SET_PF_STATUS'.
******************USER COMMAND************************
DATA : USER_COMMAND TYPE SLIS_FORMNAME VALUE 'SET_USER_COMMAND',
R_UCOMM LIKE SY-UCOMM.
****************SELECTION SCREEN************************
SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
***************AT SELECTION SCREEN*********************
AT SELECTION-SCREEN.
PERFORM VALIDATE.
**************START-OF-SELECTION**************************
START-OF-SELECTION.
PERFORM GET_DETAILS.
PERFORM FIELDCAT.
PERFORM LAYOUT.
PERFORM VARIANT.
PERFORM SAVE.
PERFORM EVENTS.
PERFORM ALV_DISPLAY.
*********************FORMS*******************************************
*& Form validate
text
--> p1 text
<-- p2 text
FORM VALIDATE .
SELECT SINGLE VBELN
FROM VBAP
INTO V_VBELN
WHERE VBELN IN S_VBELN.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'enter valid vbeln'.
ENDIF.
ENDFORM. " validate
*& Form get_details
text
--> p1 text
<-- p2 text
FORM GET_DETAILS .
SELECT VBELN
POSNR
MATNR
FROM VBAP
INTO TABLE IT_VBAP
WHERE VBELN IN S_VBELN.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'no details found'.
ENDIF.
ENDFORM. " get_details
*& Form fieldcat
text
--> p1 text
<-- p2 text
FORM FIELDCAT .
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'VBELN'.
WA_FIELDCAT-OUTPUTLEN = 10.
WA_FIELDCAT-SELTEXT_L = 'SALES DOC'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'POSNR'.
WA_FIELDCAT-OUTPUTLEN = 6.
WA_FIELDCAT-SELTEXT_L = 'ITEM'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'MATNR'.
WA_FIELDCAT-OUTPUTLEN = 18.
WA_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
ENDFORM. " fieldcat
*& Form LAYOUT
text
--> p1 text
<-- p2 text
FORM LAYOUT .
WA_LAYOUT-ZEBRA = 'X'.
ENDFORM. " LAYOUT
*& Form VARIANT
text
--> p1 text
<-- p2 text
FORM VARIANT .
CLEAR G_VARIANT.
G_VARIANT-REPORT = SY-REPID.
ENDFORM. " VARIANT
*& Form SAVE
text
--> p1 text
<-- p2 text
FORM SAVE .
CLEAR G_SAVE.
G_SAVE = 'A'.
ENDFORM. " SAVE
*& Form EVENTS
text
--> p1 text
<-- p2 text
FORM EVENTS .
CLEAR XS_EVENTS.
XS_EVENTS-NAME = SLIS_EV_TOP_OF_PAGE.
XS_EVENTS-FORM = 'TOP_OF_PAGE'.
APPEND XS_EVENTS TO G_EVENTS.
ENDFORM. " EVENTS
*& Form TOP_OF_PAGE
text
FORM TOP_OF_PAGE.
WRITE :/ ' INTELLI GROUP'.
ENDFORM. "TOP_OF_PAGE
*& Form ALV_DISPLAY
text
--> p1 text
<-- p2 text
FORM ALV_DISPLAY .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_PF_STATUS_SET = PF_STATUS
I_CALLBACK_USER_COMMAND = USER_COMMAND
I_STRUCTURE_NAME =
IS_LAYOUT = WA_LAYOUT
IT_FIELDCAT = IT_FIELDCAT
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = G_SAVE
IS_VARIANT = G_VARIANT
IT_EVENTS = G_EVENTS
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_VBAP
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " ALV_DISPLAY
*& Form SET_PF_STATUS
text
FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
SET PF-STATUS 'Z50651_PFSTATUS' EXCLUDING EXTAB.
ENDFORM. "SET_PF_STATUS
*& Form SET_USER_COMMAND
text
FORM SET_USER_COMMAND USING R_UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
CASE R_UCOMM.
WHEN 'DC'.
READ TABLE IT_VBAP INDEX RS_SELFIELD-TABINDEX.
IF SY-SUBRC = 0.
SELECT SINGLE MTART
FROM MARA
INTO V_MTART
WHERE MATNR = IT_VBAP-MATNR.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'NO MATERIAL DESCRIPTION FOR SELECTED MATERIAL NO'.
ELSE.
WRITE :/ 'MATERIAL NO :',IT_VBAP-MATNR.
WRITE :/ 'MATERIAL TYPE :' , V_MTART.
ENDIF.
ENDIF.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'EXIT'.
LEAVE TO SCREEN 0.
WHEN 'CLOSE'.
CALL TRANSACTION 'SE38'.
ENDCASE.
REPORT Z_ALV_INTERACTIVE MESSAGE-ID ZMSG_50651
LINE-SIZE 100
LINE-COUNT 60
NO STANDARD PAGE HEADING.
******************TABLES DECLARATION*****************
TABLES : VBAP,MARA.
*****************TYPE POOLS**************************
TYPE-POOLS : SLIS.
****************INTERNAL TABLES**********************
DATA : BEGIN OF IT_VBAP OCCURS 0,
VBELN LIKE VBAP-VBELN, "SALES DOCUMENT
POSNR LIKE VBAP-POSNR, "SALES DOCUMENT ITEM
MATNR LIKE VBAP-MATNR, "MATERIAL NUMBER
END OF IT_VBAP.
****************TEMPORARY VARIABLES******************
DATA : V_VBELN LIKE VBAP-VBELN."SALES DOCUMENT
DATA : V_MTART LIKE MARA-MTART. "MATERIAL TYPE
*****************FIELD CATALOG***********************
DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
****************LAYOUT*******************************
DATA : WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
***************VARIANT*******************************
DATA : G_VARIANT LIKE DISVARIANT.
****************SAVE*********************************
DATA : G_SAVE(1) TYPE C.
*****************EVENTS******************************
DATA : XS_EVENTS TYPE SLIS_ALV_EVENT,
G_EVENTS TYPE SLIS_T_EVENT.
******************PF STATUS**************************
DATA : PF_STATUS TYPE SLIS_FORMNAME VALUE 'SET_PF_STATUS'.
******************USER COMMAND************************
DATA : USER_COMMAND TYPE SLIS_FORMNAME VALUE 'SET_USER_COMMAND',
R_UCOMM LIKE SY-UCOMM.
****************SELECTION SCREEN************************
SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
***************AT SELECTION SCREEN*********************
AT SELECTION-SCREEN.
PERFORM VALIDATE.
**************START-OF-SELECTION**************************
START-OF-SELECTION.
PERFORM GET_DETAILS.
PERFORM FIELDCAT.
PERFORM LAYOUT.
PERFORM VARIANT.
PERFORM SAVE.
PERFORM EVENTS.
PERFORM ALV_DISPLAY.
*********************FORMS*******************************************
*& Form validate
text
--> p1 text
<-- p2 text
FORM VALIDATE .
SELECT SINGLE VBELN
FROM VBAP
INTO V_VBELN
WHERE VBELN IN S_VBELN.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'enter valid vbeln'.
ENDIF.
ENDFORM. " validate
*& Form get_details
text
--> p1 text
<-- p2 text
FORM GET_DETAILS .
SELECT VBELN
POSNR
MATNR
FROM VBAP
INTO TABLE IT_VBAP
WHERE VBELN IN S_VBELN.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'no details found'.
ENDIF.
ENDFORM. " get_details
*& Form fieldcat
text
--> p1 text
<-- p2 text
FORM FIELDCAT .
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'VBELN'.
WA_FIELDCAT-OUTPUTLEN = 10.
WA_FIELDCAT-SELTEXT_L = 'SALES DOC'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'POSNR'.
WA_FIELDCAT-OUTPUTLEN = 6.
WA_FIELDCAT-SELTEXT_L = 'ITEM'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'MATNR'.
WA_FIELDCAT-OUTPUTLEN = 18.
WA_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
ENDFORM. " fieldcat
*& Form LAYOUT
text
--> p1 text
<-- p2 text
FORM LAYOUT .
WA_LAYOUT-ZEBRA = 'X'.
ENDFORM. " LAYOUT
*& Form VARIANT
text
--> p1 text
<-- p2 text
FORM VARIANT .
CLEAR G_VARIANT.
G_VARIANT-REPORT = SY-REPID.
ENDFORM. " VARIANT
*& Form SAVE
text
--> p1 text
<-- p2 text
FORM SAVE .
CLEAR G_SAVE.
G_SAVE = 'A'.
ENDFORM. " SAVE
*& Form EVENTS
text
--> p1 text
<-- p2 text
FORM EVENTS .
CLEAR XS_EVENTS.
XS_EVENTS-NAME = SLIS_EV_TOP_OF_PAGE.
XS_EVENTS-FORM = 'TOP_OF_PAGE'.
APPEND XS_EVENTS TO G_EVENTS.
ENDFORM. " EVENTS
*& Form TOP_OF_PAGE
text
FORM TOP_OF_PAGE.
WRITE :/ ' INTELLI GROUP'.
ENDFORM. "TOP_OF_PAGE
*& Form ALV_DISPLAY
text
--> p1 text
<-- p2 text
FORM ALV_DISPLAY .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_PF_STATUS_SET = PF_STATUS
I_CALLBACK_USER_COMMAND = USER_COMMAND
I_STRUCTURE_NAME =
IS_LAYOUT = WA_LAYOUT
IT_FIELDCAT = IT_FIELDCAT
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = G_SAVE
IS_VARIANT = G_VARIANT
IT_EVENTS = G_EVENTS
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_VBAP
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " ALV_DISPLAY
*& Form SET_PF_STATUS
text
FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
SET PF-STATUS 'STANDARD' EXCLUDING EXTAB.
ENDFORM. "SET_PF_STATUS
*& Form SET_USER_COMMAND
text
FORM SET_USER_COMMAND USING R_UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
CASE R_UCOMM.
WHEN 'DC'.
READ TABLE IT_VBAP INDEX RS_SELFIELD-TABINDEX.
IF SY-SUBRC = 0.
SELECT SINGLE MTART
FROM MARA
INTO V_MTART
WHERE MATNR = IT_VBAP-MATNR.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'NO MATERIAL DESCRIPTION FOR SELECTED MATERIAL NO'.
ELSE.
WRITE :/ 'MATERIAL NO :',IT_VBAP-MATNR.
WRITE :/ 'MATERIAL TYPE :' , V_MTART.
SUBMIT SLIS_DUMMY WITH P_MATNR EQ IT_VBAP-MATNR
WITH P_MTART EQ V_MTART.
ENDIF.
ENDIF.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'EXIT'.
LEAVE TO SCREEN 0.
WHEN 'CLOSE'.
CALL TRANSACTION 'SE38'.
ENDCASE.
plz reward if useful
Maybe you are looking for
-
All of a sudden my contacts are all screwed up. Somehow my yahoo contacts have been added to my phone. I have duplicates of stuff in my phone that shoudn't be there and stuff I never entered in contacts. How do I fix this?
-
Where are the layers at?
i'm drawling a fish for my cs5 class, and i'm using cs5 flash. anway, i've been useing the timeline then making new layers, if thats how you do it, anyway, the fish's body is in the beach layer, and the layers don't expand like they do in PS or Ill,
-
Hello, This is the error message I get when I try to watcha burnt dvd, can anyone tell me what I need to do? thank you QuickTime Player can't open "solea-antonio-walter.mov" because a required codec isn't available.
-
Canon MF4150 over network on Windows 2000
I've been searching but haven't found a solution for my problem, so I thought maybe someone could help. I'm running a Canon MF4150 laser printer on a Windows2000 server. The printer is shared out and can be accessed nicely through Windows machines on
-
Hello, My wireless network consists of root-bridge (aironet 1240), up to 10 WGB connected to it, one WDS AP ant WLSE for management. The problem is, when I enable WDS service on root-bridge. After that, my WGB`s are not reachable and root-bridge resp