Expandable list in abap
Hi folks,
how can i develop an abap report that first lists some master data as list with a expandable functionality so that at line selection the row is expanded and depending detail data are shown ?
help will be appreciated and points given instantly!
Clemens
Hi,
Try this for ur requirement.
REPORT z_inw_mat.
TABLES: mseg,
makt,
ekpo,
eban.
TYPE-POOLS: slis.
DATA: BEGIN OF itab OCCURS 0,
werks LIKE mseg-werks,
matnr LIKE mseg-matnr,
maktx LIKE makt-maktx,
menge LIKE mseg-menge,
END OF itab.
DATA: BEGIN OF itab1 OCCURS 0,
werks LIKE mseg-werks,
matnr LIKE mseg-matnr,
maktx LIKE makt-maktx,
menge LIKE mseg-menge,
END OF itab1.
DATA: BEGIN OF header OCCURS 0,
werks LIKE mseg-werks,
matnr LIKE mseg-matnr,
maktx LIKE makt-maktx,
inw_qty LIKE mseg-menge,
END OF header.
DATA: BEGIN OF itab2 OCCURS 0,
werks LIKE ekpo-werks, "Plant
matnr LIKE ekpo-matnr, "Material Number
ebeln LIKE ekpo-ebeln, "PO Number
menge LIKE ekpo-menge, "Quantity ordered in PO
banfn LIKE ekpo-banfn, "PR Number
END OF itab2.
DATA: BEGIN OF itab3 OCCURS 0,
banfn LIKE eban-banfn,
menge LIKE eban-menge,
END OF itab3.
DATA: BEGIN OF itab4 OCCURS 0,
werks LIKE ekpo-werks, "Plant
matnr LIKE ekpo-matnr, "Material Number
ebeln LIKE ekpo-ebeln, "PO Number
menge LIKE ekpo-menge, "Quantity ordered in PO
banfn LIKE ekpo-banfn, "PR Number
pr_qty LIKE eban-menge, "Quantity requested from PR
END OF itab4.
DATA: BEGIN OF item OCCURS 0,
werks LIKE ekpo-werks, "Plant
matnr LIKE ekpo-matnr, "Material Number
ebeln LIKE ekpo-ebeln, "PO Number
menge LIKE ekpo-menge, "Quantity ordered in PO
banfn LIKE ekpo-banfn, "PR Number
pr_qty LIKE eban-menge, "Quantity requested from PR
maktx LIKE makt-maktx,
inw_qty LIKE mseg-menge, "Inward Quantity
END OF item.
DATA:f TYPE i.
DATA: alv_keyinfo TYPE slis_keyinfo_alv.
DATA: t_fieldcat TYPE slis_t_fieldcat_alv,
t_eve TYPE slis_t_event.
SELECTION-SCREEN: BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: werks FOR mseg-werks.
SELECT-OPTIONS: matnr FOR mseg-matnr.
SELECTION-SCREEN: END OF BLOCK blk1.
INITIALIZATION.
PERFORM cre_fieldcat USING t_fieldcat.
PERFORM cre_event.
START-OF-SELECTION.
PERFORM retrieve_data.
PERFORM display_data.
& form cre_fieldcat
text
-->f_cat text
FORM cre_fieldcat USING t_f_cat TYPE slis_t_fieldcat_alv.
DATA: wa TYPE slis_fieldcat_alv.
wa-tabname = 'HEADER'.
wa-fieldname = 'WERKS'.
wa-seltext_l = 'Plant'.
wa-outputlen = '20'.
APPEND wa TO t_f_cat.
CLEAR wa.
wa-tabname = 'HEADER'.
wa-fieldname = 'MATNR'.
wa-seltext_l = 'Material Number'.
wa-outputlen = '15'.
APPEND wa TO t_f_cat.
CLEAR wa.
wa-tabname = 'HEADER'.
wa-fieldname = 'MAKTX'.
wa-seltext_l = 'Description'.
wa-outputlen = '20'.
APPEND wa TO t_f_cat.
CLEAR wa.
wa-tabname = 'HEADER'.
wa-fieldname = 'INW_QTY'.
wa-seltext_l = 'Inward Quantity'.
wa-outputlen = '20'.
APPEND wa TO t_f_cat.
CLEAR wa.
wa-tabname = 'ITEM'.
wa-fieldname = 'EBELN'.
wa-seltext_l = 'PO Number'.
wa-outputlen = '20'.
APPEND wa TO t_f_cat.
CLEAR wa.
wa-tabname = 'ITEM'.
wa-fieldname = 'MENGE'.
wa-seltext_l = 'Order Quantity'.
wa-outputlen = '15'.
APPEND wa TO t_f_cat.
CLEAR wa.
wa-tabname = 'ITEM'.
wa-fieldname = 'BANFN'.
wa-seltext_l = 'Pur Req Number'.
wa-outputlen = '20'.
APPEND wa TO t_f_cat.
CLEAR wa.
wa-tabname = 'ITEM'.
wa-fieldname = 'PR_QTY'.
wa-seltext_l = 'Pur Req Quantity'.
wa-outputlen = '20'.
APPEND wa TO t_f_cat.
CLEAR wa.
ENDFORM. "cre_fieldcat
*& Form cre_event
text
FORM cre_event.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = t_eve.
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. "cre_event
*& Form retrieve_data
text
FORM retrieve_data.
SELECT msegwerks msegmatnr maktmaktx msegmenge INTO CORRESPONDING FIELDS OF TABLE itab
FROM mseg INNER JOIN makt ON msegmatnr = maktmatnr
WHERE msegwerks IN werks AND msegmatnr IN matnr AND bwart = '101'.
SORT itab BY werks matnr.
LOOP AT itab.
MOVE-CORRESPONDING itab TO itab1.
COLLECT itab1.
ENDLOOP.
LOOP AT itab1.
SELECT werks matnr ebeln menge banfn INTO CORRESPONDING FIELDS OF TABLE itab2 FROM ekpo
FOR ALL ENTRIES IN itab1 WHERE werks = itab1-werks AND matnr = itab1-matnr.
ENDLOOP.
LOOP AT itab2.
SELECT banfn menge INTO CORRESPONDING FIELDS OF TABLE itab3 FROM eban FOR ALL ENTRIES IN itab2
WHERE eban~banfn = itab2-banfn.
ENDLOOP.
LOOP AT itab2.
f = 0.
LOOP AT itab3.
IF itab3-banfn = itab2-banfn.
MOVE-CORRESPONDING itab2 TO itab4.
MOVE-CORRESPONDING itab3 TO itab4.
itab4-pr_qty = itab3-menge.
APPEND itab4.
f = 1.
ENDIF.
ENDLOOP.
IF f = 0.
MOVE-CORRESPONDING itab2 TO itab4.
itab4-banfn = ''.
itab4-pr_qty = ''.
APPEND itab4.
ENDIF.
ENDLOOP.
LOOP AT itab1.
LOOP AT itab4.
IF itab1-matnr = itab4-matnr AND itab1-werks = itab4-werks.
MOVE-CORRESPONDING itab1 TO item.
item-inw_qty = itab1-menge.
MOVE-CORRESPONDING itab4 TO item.
APPEND item.
ENDIF.
ENDLOOP.
ENDLOOP.
WRITE:/.
*WRITE:/ 'Data of ITAB1'.
*LOOP AT itab1.
WRITE:/ itab1-werks,itab1-matnr,itab1-maktx,itab1-menge.
*ENDLOOP.
*WRITE:/.
*WRITE:/ 'Data of ITAB2'.
*LOOP AT itab2.
WRITE:/ itab2-werks,itab2-matnr,itab2-ebeln,itab2-menge,itab2-banfn.
*ENDLOOP.
*WRITE:/.
*WRITE:/ 'Data of ITAB3'.
*LOOP AT itab3.
WRITE:/ itab3-banfn,itab3-menge.
*ENDLOOP.
*WRITE:/.
*WRITE:/ '\nData of ITAB4\n'.
*LOOP AT itab4.
WRITE:/ itab4-werks,itab4-matnr,itab4-ebeln,itab4-menge,itab4-banfn,itab4-pr_qty.
*ENDLOOP.
*WRITE:/.
*WRITE:/ '\nData of ITEM\n'.
*LOOP AT item.
WRITE:/ item-werks,item-matnr,item-ebeln,item-menge,item-banfn,item-pr_qty,item-maktx,item-inw_qty.
*ENDLOOP.
ENDFORM. "retrieve_data
*& Form display_data
text
FORM display_data.
alv_keyinfo-header01 = 'WERKS'.
alv_keyinfo-item01 = 'WERKS'.
alv_keyinfo-header02 = 'MATNR'.
alv_keyinfo-item02 = 'MATNR'.
REFRESH header.
LOOP AT item.
ON CHANGE OF item-werks OR item-matnr.
MOVE-CORRESPONDING item TO header.
APPEND header.
ENDON.
ENDLOOP.
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
i_callback_program = 'Z_INW_MAT'
it_fieldcat = t_fieldcat
it_events = t_eve
i_tabname_header = 'HEADER'
i_tabname_item = 'ITEM'
is_keyinfo = alv_keyinfo
TABLES
t_outtab_header = header
t_outtab_item = item
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
ENDFORM. "display_data
Similar Messages
-
Hyperlink on field in Basic list of ABAP Query
Dear All,
Could somebody tell me, if its possible to have a hyperlink on a field in the Basic list of ABAP Query (SQ01,SQ02).
Example :- There is a basic list which has the field MARA-MATNR displayed.There should be a hyperlink on this field, such that when the user clicks on it , the transaction MM03 is called.
Thanking You.
RanuHi,
Loop at itab.
write:/ itab-matnr hotspot,
itab-maktx.
hide: itab-matnr.
endloop.
data: c_field(16).
at line-selection.
get cursor field c_field.
if c_field = 'ITAB-MATNR'.
check not itab-matnr is initial.
set parameter id 'MAT' field itab-matnr.
call transaction 'MM03' and skip first screen.
endif.
This is one example to call the transaction.
If this helps you award points.
Thanks,
Deepak. -
How to list the abap programs order by updated date in ECD
Hi experts,
how to list the abap programs order by updated date in ECD?
thanks.I wrote a custom program for displaying Z* development work into an ALV report. 2500 character limit prevents me from posting, message me your email and I'll send you source code.
Edited by: Brad Gorlicki on Feb 18, 2010 11:25 PM -
How to get into /Expanded/ List View
I have a bunch of metadata that I have turned on for Expanded List View and I am in Browser View with the little "List" icon checked (I guess this is next to "grid view") but I can't seem to find a pulldown or tab or checkbox that lets me know I am in expanded view. Since I am not seeing the data I checked I am thinking I missed this somewhere.
TIAWhen you are in Expanded View, the menu option that shows is "Switch to Basic View".
When you are in Basic View, the menu option that shows is "Switch to Expanded View".
It's not a deft bit of UI design, but it is foolproof.
Here -- from the User Manual.
To switch to the expanded metadata overlay view in the Browser in filmstrip view, grid view, and list view
Do one of the following:
Choose View > Metadata Display, then choose Switch to Expanded View from the Browser section of the submenu (or press Shift-U).
In the tool strip, choose Switch to Expanded View from the Browser section of the Metadata Overlays pop-up menu.
Note: Switching to the expanded view increases the number of columns displayed in list view.
To switch to the basic metadata overlay view in the Browser in filmstrip view, grid view, and list view
Do one of the following:
Choose View > Metadata Display, then choose Switch to Basic View from the Browser section of the submenu (or press Shift-U).
In the tool strip, choose Switch to Basic View from the Browser section of the Metadata Overlays pop-up menu.
Note: Switching to the basic view decreases the number of columns displayed in list view. -
Interactive list musing abap query and how to create infoset records
hi,
Can any one suggest how to create interactive list using ABAP Query .And also infosets and ranked list ..thanks in advance
Regards,
Raghu.Hi,
Check this
Re: How to make output of ABAp query interactive(drill down)..?
some info on the ABAP query
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40bec8da-4cd8-2910-27a9-81f5ce10676c
hope it helps.
Regards! -
Ship notice list in abap proxy
Hi Folks
I've implemented ship notice through idoc and through a batch job.
Whenever a shipment is saved and output gets created and then processing program of that output type send shipment idoc to third party.This is how shipment through idoc works. And in batch job, depending on delivery date, shipment is selected from system based on sold to party and again idoc is created and sent to third party. Now comes the difficult part.
Now I've to implement ship notice list through abap proxy. In abap proxy, there is input and output.
Now In idoc situation every segment is predefined , we've added values in those segment and created idoc and sent it. but In abap proxy, I'm stuck I don't know how to proceed. Any pointers would be highly appreciated.
With regards
MandeepI couldn't get answer but that is okay
-
HELP: Hierarchical expanding list nodes do not remain expanded
h2. The Setup
- Have a "hierarchical expanding" list on page zero
- Set a child list item to be current for page 10
h2. The Steps
- Go to page 1, expand the hierarhical list, click on the child item
- takes me to page 10
h2. The Problem
- The list collapses and only shows the top-level items
- In other words, the child link that is supposed to be 'current' for page 10 is hidden
h2. The Solution?
Any thoughts on how to solve either using the baked in hierarchical expanding list template, or modifying it?
Related thread: Re: Lists - hierarchical expandingHi Michael,
Have a look at: making the tree nodes which are clicked into bold
That describes what I have done here: http://apex.oracle.com/pls/apex/f?p=33642:293
This uses a Tree item but you might be able to use it for a multi-level list item. In the code (which is shown near the end of the thread) jQuery is used to find the correct "node", highlight it, then traverse up through the tree ensuring that all parent nodes are "open" (ie, expanded).
Andy -
Need expanded list of variables for email output CMC
Good morning,
I have looked everywhere through the documentation, and cannot find the answer to my question. Does anyone have an expanded list of variables, above that which is listed on the CMC Server smtp output screen?
I am specifically looking for how to include the error message in the email, but anything beyond that would be great.
Thank you,
JonathanGood morning,
I have looked everywhere through the documentation, and cannot find the answer to my question. Does anyone have an expanded list of variables, above that which is listed on the CMC Server smtp output screen?
I am specifically looking for how to include the error message in the email, but anything beyond that would be great.
Thank you,
Jonathan -
Hierarchical Expanding List respecting open level
I am running into a perplexing problem.. I am trying to use a Hierarchical Expanding List as a page 0 menu in a side region. Works great EXCEPT for the fact the current link is CLOSED in the list when you click on the page called by the link.
Does anyone have some javascript that can go through and reopen the currently open link/page?
Thank you,
Tony Miller
LuvMuffin SoftwareBump to see if ANYONE is awake..
-
Hierarchical expanding list contracts when link is klicked
I've got a hierarchical expanding list (a menu) with parent and child entries located on page zero.
Two things are wrong with it.
1. I dont want the parent entries (the ones that are displayed from the start) to be links. If I klick the + -sign next to them the list expands and show the child entries that are links to different pages. But if i klick the parent entries I get kicked to the login screen. I've set the parent entries to have Target type: -no target- but it doesn't work.
2 When I klick a child entry I'm linked to the right page but the hierarchical expanding list contracts... I'd like it to be expanded the way it was when I cklicked the link.
Could this be realated to the fact that it's located on page zero??? I've had some problems with page 0 before... But shouldn't you put a meny on page zero?
I would appreciate any help you could give me.
Edited by: andypandy on 2009-jun-16 06:21I've moved the menu from page zero to another page temporarily but it still misbehaves. Anyone have any ideas??
Regards
Andreas -
Adobe Dreamweaver CS3 Expandable Lists
Adobe Communities, I have yet another problem. A Few Examples of what I am trying to achieve:
Demo Expandable list
Pure CSS collapsible tree menu | The CSS Ninja
The Spry Menu doesn't work exactly how I would like it. Those scripts didn't exactly work for me, for some reason.
I only need one expansion. As after you click any of the 'Texts' you will be re-directed to another page. Headers should be collapsible and I don't want to install any third party applications. Example shown below:
'When lists are expanded header arrows point Upwards' when lists are not expanded the arrow points 'Downwards'.
Header 1 ^
Text 3
Text 2
Text 1
Header 2 ^
Text 3
Text 2
Text 1
In addition to this, I need a similar feature done where if you click 'Read More' this will expand the text. E.g:
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Donec sagittis ultricies arcu, quis porttitor risus placerat et.
Proin quis metus diam, quis bibendum dolor. Nulla nec dapibus nunc.
Quisque ac erat sit amet nisl venenatis consequat nec in nibh.
Aliquam viverra vestibulum elit faucibus sollicitudin. Read More
When the person clicks 'Read More' this reveals 'Lorem ipsum dolor sit amet'.
Thanks for the help, I will reply ASAP after you guys.Code from Fiddle works ok see page below:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script>
$(function () {
/*-------------------- EXPANDABLE PANELS ----------------------*/
var panelspeed = 500; //panel animate speed in milliseconds
var totalpanels = 3; //total number of collapsible panels
var defaultopenpanel = 0; //leave 0 for no panel open
var accordian = false; //set panels to behave like an accordian, with one panel only ever open at once
var panelheight = new Array();
var currentpanel = defaultopenpanel;
var iconheight = parseInt($('.icon-close-open').css('height'));
//Initialise collapsible panels
function panelinit() {
for (var i = 1; i <= totalpanels; i++) {
panelheight[i] = parseInt($('#cp-' + i).find('.expandable-panel-content').css('height'));
$('#cp-' + i).find('.expandable-panel-content').css('margin-top', -panelheight[i]);
if (defaultopenpanel == i) {
$('#cp-' + i).find('.icon-close-open').css('background-position', '0px -' + iconheight + 'px');
$('#cp-' + i).find('.expandable-panel-content').css('margin-top', 0);
$('.expandable-panel-heading').click(function () {
var obj = $(this).next();
var objid = parseInt($(this).parent().attr('ID').substr(3, 2));
currentpanel = objid;
if (accordian == true) {
resetpanels();
if (parseInt(obj.css('margin-top')) <= (panelheight[objid] * -1)) {
obj.clearQueue();
obj.stop();
obj.prev().find('.icon-close-open').css('background-position', '0px -' + iconheight + 'px');
obj.animate({
'margin-top': 0
}, panelspeed);
} else {
obj.clearQueue();
obj.stop();
obj.prev().find('.icon-close-open').css('background-position', '0px 0px');
obj.animate({
'margin-top': (panelheight[objid] * -1)
}, panelspeed);
function resetpanels() {
for (var i = 1; i <= totalpanels; i++) {
if (currentpanel != i) {
$('#cp-' + i).find('.icon-close-open').css('background-position', '0px 0px');
$('#cp-' + i).find('.expandable-panel-content').animate({
'margin-top': -panelheight[i]
}, panelspeed);
// run once window has loaded
panelinit();
</script>
<style>
h2, p, ol, ul, li {
margin:0px;
padding:0px;
font-size:13px;
font-family:Arial, Helvetica, sans-serif;
#container {
width:300px;
margin:auto;
margin-top:100px;
/* --------- COLLAPSIBLE PANELS ----------*/
.expandable-panel {
width:100%;
position:relative;
min-height:50px;
overflow:auto;
margin-bottom: 20px;
border:1px solid #999;
.expandable-panel-heading {
width:100%;
cursor:pointer;
min-height:50px;
clear:both;
background-color:#E5E5E5;
position:relative;
.expandable-panel-heading:hover {
color:#666;
.expandable-panel-heading h2 {
padding:14px 10px 9px 15px;
font-size:18px;
line-height:20px;
.expandable-panel-content {
padding:0 15px 0 15px;
margin-top:-999px;
.expandable-panel-content p {
padding:4px 0 6px 0;
.expandable-panel-content p:first-child {
padding-top:10px;
.expandable-panel-content p:last-child {
padding-bottom:15px;
.icon-close-open {
width:20px;
height:20px;
position:absolute;
background-image:url(http://i.imgur.com/Ir4S1H7.png);
right:15px;
</style>
</head>
<body>
<div id="container">
<div class="expandable-panel" id="cp-1">
<div class="expandable-panel-heading">
<h2>Content heading 1<span class="icon-close-open"></span></h2>
</div>
<div class="expandable-panel-content">
<p>First Panel HTML...</p>
</div>
</div>
<div class="expandable-panel" id="cp-2">
<div class="expandable-panel-heading">
<h2>Content heading 2<span class="icon-close-open"></span></h2>
</div>
<div class="expandable-panel-content">
<p>Second Panel HTML...</p>
</div>
</div>
<div class="expandable-panel" id="cp-3">
<div class="expandable-panel-heading">
<h2>Content heading 3<span class="icon-close-open"></span></h2>
</div>
<div class="expandable-panel-content">
<p>Third Panel HTML...</p>
</div>
</div>
</div>
</body>
</html> -
Expandable list - Table of Contents - Please Help
I used the code found on the following page to create an expandable list that worked great: Expandable list : at www.learningmovabletype.com
I created a table of contents for our Policies and Procedures that showed the main topics and when clicked listed each policy subcategory. The following link is for this page:http://bsacapheadstart.com/PoliciesandProcedures.html
My company bought the Adobe CS4 package that included Dreamweaver several months ago and I am trying to create this same page using it. http://grantee.bsacapheadstart.com/Policies%20and%20Procedures.htm
The problem as you will notice if you go to this page and click on the categories, is that only the first topic will expand and all the others will not.
I have reviewed the code several times and do not see any differences between the first topic heading and the others; nor between the code that works on the first page and the page I am creating using Dreamweaver.
I have thought about using the Spry Collapsible Panel or Accordian but it is not exactly what we want. Besides everyone is already comfortable with this layout.
If anyone could please help, it would be greatly appreciated! Thanks!Start with valid code. It makes trouble shooting much simpler.
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.grantee.bsacapheadstart.com%2 FPolicies%2520and%2520Procedures.htm
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
I'm having trouble with an expandable list that displays more
information when an icon/link is clicked on. I'm trying to get an
icon pointing right to appear next to the test "Dispensers" when
the list is closed and then show an icon pointing down when the
list is expanded, but I'm getting two different icons appearing at
the same time (
http://www.cleanfuelsohio.org/e85tools.php)
Here's my code:
<html>
<head>
<title>Clean Fuels Ohio | E85 Marketers Tools
</title>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<?
include($DOCUMENT_ROOT."includes/menu_interior_css.php"); ?>
<link href="css/cfo.css" rel="stylesheet" type="text/css"
/>
<script>
function toggle(toggleId, e)
if (!e) {
e = window.event;
if (!document.getElementById) {
return false;
var body = document.getElementById(toggleId);
if (!body) {
return false;
var im = toggleId + "_toggle";
if (body.style.display == 'none') {
body.style.display = 'block';
if (document.images[im]) {
document.images[im].src = "images/action_right.gif";
} else {
body.style.display = 'none';
if (document.images[im]) {
document.images[im].src = "images/action.gif";
if (e) {
// Stop the event from propagating, which
// would cause the regular HREF link to
// be followed, ruining our hard work.
e.cancelBubble = true;
if (e.stopPropagation) {
e.stopPropagation();
</script>
</head>
<body>
<?
include($DOCUMENT_ROOT."includes/menu_interior_divs.php"); ?>
<table width="941" height="268" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td width="45" rowspan="3"> </td>
<td width="896" height="205" valign="top"
bgcolor="#FFFFFF">
<? include($DOCUMENT_ROOT."includes/interior_header.php");
?>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#FFFFFF"><table
width="877" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="312" align="left" valign="top"><table
width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="new_images/titles/fuelmarketers.jpg"
width="314" height="89"></td>
</tr>
<tr>
<td bgcolor="#47642E"><?
$pid = $_GET['pid'];
$m=$_GET['m'];
include($DOCUMENT_ROOT."menu/menu.php");
?></td>
</tr>
<tr>
<td
background="new_images/sub_menu_gradient_bottom.jpg"><img
src="new_images/sub_menu_gradient_bottom.jpg" width="312"
height="215" /></td>
</tr>
</table></td>
<td width="48" align="left" valign="top"><img
src="new_images/Interior_04.jpg" width="26" height="400"
/></td>
<td width="546" align="left"
valign="top"><p><br />
<span class="sub_headA">E85 Fuel Marketer Tools
</span><br />
<p class="body_copy"><a href="#A"
class="body_copy_link"><u>Fuel
Distributors</u></a><br>
<a href="#B" class="body_copy_link"><u>Fueling
Equipment</u></a><br>
<a href="#C" class="body_copy_link"><u>Success
Stories</u></a></p>
<img src="new_images/divider.jpg">
<p class="sub_headB"><a name="A"></a>Fuel
Distributors</p>
<p class="body_copy"></p>
<p class="sub_headB"><a
name="B"></a>Fueling Equipment</p>
<div>
<p class="body_copy"><img
src="images/action_right.gif" name="one_toggle"
onClick="toggle('one', event)">Dispensers</p>
</div>
<div id="one" style="display:none;">
<div onClick="toggle('one_a', event)">
<img src="images/action.gif" name="one_a_toggle">
<table width="400" border="1" class="body_copy">
<tr>
<th
scope="col"><strong>Company</strong></th>
<th
scope="col"><strong>Contact</strong></th>
<th
scope="col"><strong>Phone</strong></th>
<th
scope="col"><strong>Fax</strong></th>
</tr>
<tr>
<td><a href="
http://www.bennetpump.com"
class="body_copy_link" target="_blank">Bennett Pump
Company</a><br>
1218 E. Pontaluna Rd.<br>Spring Lake, MI
49456</td>
<td><a href="mailto:[email protected]"
class="body_copy_link">Gary Hanks</a></td>
<td>231-798-1310</td>
<td>231-799-6202</td>
</tr>
<tr>
<td><a href="
http://www.cleanfuelusa.com"
class="body_copy_link" target="_blank">Clean Fuel
USA</a><br>
116 Halmar Cove<br>Georgetown, TX 78628</td>
<td> </td>
<td>512-942-8300</td>
<td> </td>
</tr>
<tr>
<td><a href="
http://www.gasboy.com"
class="body_copy_link" target="_blank">Gasboy International,
Inc.</a><br>707 N. Valley Forge Road<br>Lansdale,
PA 19446</td>
<td><a href="mailto:[email protected]"
class="body_copy_link" target="_blank">Doug
Smith</a></td>
<td>215-855-4631<br>800-444-5529</td>
<td>215-855-0341</td>
</tr>
<tr>
<td>Tokheim Corporation<br>1600 Wabash
Avenue<br>Fort Wayne, IN 46801</td>
<td>Don Peaks</td>
<td>219-470-4600</td>
<td>219-471-2001</td>
</tr>
</table>
</div>
</div>
<p class="sub_headB"><a
name="C"></a>Success Stories</p>
<p class="body_copy"></p>
</body>
</html>
Also, (I'm quite new to the expandable function) I want to
add another category like "Dispensers" under "Fuel Equipment"
called "Filters" but when I enter the code, nothing new is
displayed. How do I do this? Thanks!The easiest and fastest thing to do would be to invest in
ProjectSeven's
Tree
Menu Magic. It's wonderful, clean, simple and worth every
penny.
I don't know enough about js to know if your code needs help,
but if TMM is too much for the budget then here is some code a
friend gave me that I've been using for a couple years that hasn't
failed yet. HTH. -
Expandable lists that expand and collapse with one click and edit in wysiwyg
I have a lot of text based lists on one page, so I threw them into content editor web parts so i can expand / minimize the lists. However, two clicks (one on the arrow and then one on "restore") is becoming really tiresome. How can I make expandable
lists that expand and collapse with one click? AND they are still editable from the wysiwyg browser editing tool?
I have already tried using Jquery to create expandable content, but the problem here is that the content can't be edited in the wysiwyg browser based editor - the expand or collapse button doesn't "work" when you are in the edit mode, so you can never
see the expandable content to edit. I can change the content in the code but it's no good if my non-coder co-workers can't also edit it.
I am in 2010.I just found the answer myself here: blog (.) pathtosharepoint.com/2008/10/25/expandcollapse-buttons-for-your-web-parts/
Worked perfectly. Allows open and close of CEWP with one click, and you can still edit their content in the wysiwyg editor. -
Printing lists in ABAP without using the standard button
Dear community,
i've got a little problem and I can't fix it on my own.
Some user in our company gave me the instruction to extend an existing SAP Programmm with some defined functionalities.
They want to implement an new button for printing in the gui status and when someone uses the buttons they want to count down a number and print the generated list of the report.
I created also the new button in the gui status with a own functioncode and in the report i implemented an own AT USER-Command event:
**& Event
AT USER-Command.
CASE sy-ucomm.
WHEN 'PRVR'.
CALL FUNCTION 'PRINT_REPORT'
EXPORTING
report = sy-cprog
EXCEPTIONS
OTHERS = 99.
When I push my own print button th reports jumps in the At-user-command event.
The window for chosing the print properties will appear immediatly and I cn start printing.
But only the spool-order will only appear when I leave the list-view with the button "back", "exit", or "cancel".
Has anyone an idea why the output appears only when I go back to the selection screen?
Can anybody tell me how to create an printing function to print out the list of an abap-report? I don't wnt to use the normal print-button!
Many thanks in advance.
MichaelHi Michael,
sy-lsind is the list-id. If you set it to 0 or 1 it jumps (when using BACK)
to the first output-list.
Here a short demo-code to understand it.
Make severeal time doubleclick in the outputline and
look at the changing output.
try it with:
sy-lsind = 1
and
sy-lsind = 1.
REPORT ZGRO_TEST1.
data: dc type i value 1.
START-OF-SELECTION.
WRITE: / 'List:', dc, 'SY-LSIND:', SY-LSIND.
HIDE: SY-LSIND.
AT LINE-SELECTION.
dc = dc + 1.
sy-lsind = 1.
WRITE: / 'List:', dc, 'SY-LSIND:', SY-LSIND.
HIDE: SY-LSIND.
Hope it helps.
Regards, Dieter
Maybe you are looking for
-
I wake up my Macbook Pro (sweetly tell it that I love it) click on one of the 1-10 tabs I have open in Firefox or Safari Click on iTunes (open already) to play some tunes Wait Wait while the little ball spins as my browser thinks wait a bit more fina
-
How can I send photos from mu iphone to my computer
When I try to send a photo to my computer(same address as my iphone5)it only goes to my iphone?
-
Iphone 4s Loses Signal when Connected to HDMI
Hello, I have an Iphone 4s with the most current software as of today. When I plug the phone into the AV adapter and then to the HDMI to the TV, I lose cell service, it literally says NO SERVICE in the corner. If I unplug the HDMI, it comes back alm
-
Cannot Print PDFs from Adobe Reader
Hey gang- Just purchased a new Brother MFC-9420CN color laser printer. Works great- with one exception. I am unable to print any PDFs with it from Adobe Reader. But note this: The very same PDFs print fine using Preview! I initially discovered this p
-
RMI with SSL problem (cross post under RMI too)
Hi, I'm having problems using RMI with SSL. I posted in the RMI forum originally but now realise the problems are with the SSL really. Perhaps someone who follows this forum could help. See post: http://forum.java.sun.com/thread.jsp?forum=58&thread=4