ABAP list with multiple headers
Hi experts,
i have to display a table with multiple headers. Example:
Header 1 = Sales order header
Header 2 = Sales order items
It's possible to create an ABAP list with 2 headers?
Thanks in advance.
Hi Dan,
FYI .
[ALV Grid with Multiple Headers;
Regards
Abhii
Similar Messages
-
Revision: 949
Author: [email protected]
Date: 2008-03-27 07:12:59 -0700 (Thu, 27 Mar 2008)
Log Message:
Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name, it causes a ClassCastException in the server
QA: Yes - try again with legacy-collection true and false.
Doc: No
Checkintests: Pass
Details: Another try in fixing this bug. When legacy-collection is false, Actionscript Array on the client becomes Java Array on the server and my fix yesterday assumed this case. However, when legacy-collection is true, Actionscript Array becomes Java ArrayList on the server. So added code to handle this case.
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-96
Modified Paths:
blazeds/branches/3.0.x/modules/proxy/src/java/flex/messaging/services/http/proxy/RequestF ilter.javaHi all!
Just to post the solution to this if anyone ever runs accross this thread...
For some reason i had it bad the first time, don't have time right now to see why but here is what worked for me:
HashMap primaryFile = new HashMap();
primaryFile.put("fileContent", bFile);
primaryFile.put("fileName", uploadedFile.getFilename());
operationBinding.getParamsMap().put("primaryFile", primaryFile);
HashMap customDocMetadata = new HashMap();
HashMap [] properties = new HashMap[1];
HashMap customMetadataPropertyRoom = new HashMap();
customMetadataPropertyRoom.put("name", "xRoom");
customMetadataPropertyRoom.put("value", "SOME ROOM");
properties[0] = customMetadataPropertyRoom;
customDocMetadata.put("property", properties);
operationBinding.getParamsMap().put("CustomDocMetaData", customDocMetadata);
Basically an unbounded wsdl type is an array of objects (HashMaps), makes sense, i thought i had it like this before, must have messed up somewhere...
Good luck all! -
Revision: 931
Author: [email protected]
Date: 2008-03-26 11:31:01 -0700 (Wed, 26 Mar 2008)
Log Message:
Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name, it causes a ClassCastException in the server
QA: Yes - we need automated tests for this basic case.
Doc: No
Checkintests: Pass
Details: RequestFilter was not handling multiple headers with the same name properly.
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-96
Modified Paths:
blazeds/branches/3.0.x/modules/proxy/src/java/flex/messaging/services/http/proxy/RequestF ilter.javaHi all!
Just to post the solution to this if anyone ever runs accross this thread...
For some reason i had it bad the first time, don't have time right now to see why but here is what worked for me:
HashMap primaryFile = new HashMap();
primaryFile.put("fileContent", bFile);
primaryFile.put("fileName", uploadedFile.getFilename());
operationBinding.getParamsMap().put("primaryFile", primaryFile);
HashMap customDocMetadata = new HashMap();
HashMap [] properties = new HashMap[1];
HashMap customMetadataPropertyRoom = new HashMap();
customMetadataPropertyRoom.put("name", "xRoom");
customMetadataPropertyRoom.put("value", "SOME ROOM");
properties[0] = customMetadataPropertyRoom;
customDocMetadata.put("property", properties);
operationBinding.getParamsMap().put("CustomDocMetaData", customDocMetadata);
Basically an unbounded wsdl type is an array of objects (HashMaps), makes sense, i thought i had it like this before, must have messed up somewhere...
Good luck all! -
How to select value from list with multiple selections ?
HI,
i have a list with multiple selections where i show email address retrieved from database.
what i want to do is to send the selected email address to the invoiceedit.jsp.
please look at the following code which gives you the better idea.
<td class='smalltext'><select name="email" size="3" multiple="multiple">
<%
Connection conn = null;
Statement stmt = null;
Statement stmt_contactperson = null;
Statement stmt_address = null;
try{
conn = getREConnection();
stmt = conn.createStatement();
ResultSet rs = null;
rs = stmt.executeQuery("SELECT PROPERTYID, VALUE FROM PROPERTIES WHERE ENTITYID="+ g_strGroupID+" AND NAME = 'invoice_default_email'");
int numofrows = 0;
while(rs.next())
%>
<option value="<%= rs.getString("VALUE") %>" selected="selected"> <%= rs.getString("VALUE") %> </option>
<%
}//end of while
%>
</select>
<a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&add=1"><font color="#000000">Add</font></a>
<a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&email_to="><font color="#000000"> Edit</font></a> </td>thanksUse a form button instead of a link so that you can send it as a request parameter to the server. In the server side just use HttpServletRequest#getParameterValues() to obtain all values for the given parameter name. If you really need a link rather than a button, then use Javascript to submit the form on click of the link.
That said, your design is bad. Java code belongs in Java classes, not in JSP files. Database access logic belongs in a DAO class. Business and controlling logic belongs in a Servlet class. Only presentation logic belongs in the JSP file. Avoid scriptlets as much as possible and use JSP EL and/or JSTL instead. -
[svn:fx-trunk] 10943: Fix to dragging from List with multiple-selection
Revision: 10943
Author: [email protected]
Date: 2009-10-08 15:46:27 -0700 (Thu, 08 Oct 2009)
Log Message:
Fix to dragging from List with multiple-selection
- The fix is to postpone the selection commit until we make sure the user has not started a drag gesture.
- Exclude the dragEnabled, dropEnabled, dragMoveEnabled properties for DropDownList
QE notes: None
Doc notes: None
Bugs: None
Reviewer: Deepa
Tests run: checkintests, mustella List, DropDownList
Is noteworthy for integration: No
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as -
Creating Select List with multiple columns
I want to create a select list with multiple columns. I followed the demo application model described in the by Denes Kubicek (Currently my reference for APEX !!)
The code is as follows:
CREATE OR REPLACE FUNCTION getcrops(p_cropid IN NUMBER)
RETURN VARCHAR2
IS
v_cropid VARCHAR2 (400);
v_fcode VARCHAR2 (400);
v_product VARCHAR2 (400);
v_var VARCHAR2 (400);
v_fname VARCHAR2 (400);
v_acres VARCHAR2 (400);
v_style_start VARCHAR2 (400);
v_style_end VARCHAR2 (400);
v_return VARCHAR2 (400);
BEGIN
FOR c IN (select "CROP"."CROPID" as "CROP ID",
"CROP"."FIELDCODE" as "FIELD CODE",
"CARROTPRODUCTLIST"."CARROTPRODUCTNAME" as "PRODUCT",
"VARIETYLIST"."VARIETYNAME" as "VARIETY",
"FIELD"."FIELDNAME" as "FIELD NAME",
"CROP"."SIZEINACRES" as "ACRES"
from "FIELD" "FIELD",
"CARROTPRODUCTLIST" "CARROTPRODUCTLIST",
"VARIETYLIST" "VARIETYLIST",
"CROP" "CROP"
where "CROP"."CARROTPRODUCTTYPE"="CARROTPRODUCTLIST"."CARROTPRODUCTID"
and "CROP"."VARIETYID"="VARIETYLIST"."VARIETYLISTID"
and "CROP"."FIELDID"="FIELD"."FIELDID")
LOOP
v_cropid := TO_CHAR (c.'CROP ID', 'FML999G999G999G999G990');
v_fcode := c.'FIELD CODE';
v_product := c.'PRODUCT';
v_var := c.'VARIETY';
v_fname :=c.'FIELD NAME';
v_acres :=c.'ACRES';
FOR i IN 1 .. 12 - LENGTH (c."CROP ID")
LOOP
v_cropid := v_cropid || ' ';
END LOOP;
FOR i IN 1 .. 12 - LENGTH (c.'FIELD CODE')
LOOP
v_fcode := v_fcode || ' ';
END LOOP;
FOR i IN 1 .. 12 - LENGTH (c.'PRODUCT')
LOOP
v_product := v_product || ' ';
END LOOP;
FOR i IN 1 .. 12 - LENGTH (c.'VARIETY')
LOOP
v_var := v_var || ' ';
END LOOP;
FOR i IN 1 .. 12 - LENGTH (c.'FIELD NAME')
LOOP
v_fname := v_fname || ' ';
END LOOP;
FOR i IN 1 .. 12 - LENGTH (c.'ACRES')
LOOP
v_acres := v_acres || ' ';
END LOOP;
v_return := v_cropid || v_fcode || v_product || v_var || v_fname || v_acres;
END LOOP;
RETURN v_return;
END;
I created this anonymous Pl/SQL function at a application level ..Then I followed up to create a select list with a function inside. However I could not create select list with the command suggested in the demo which is
select getcrops(cropid) d, cropid r from crop;
APEX (2.1) returns a error message. What am I missing ? Should the function be called from somewhere else after creating a regular select list..? Where the functions (Pl/SQL) should be ideally stored for application level access..? and for across application level access ? How can I check the function works good. Help is appreciated.Still really one column.
If they need to be independent then you've got to have three selection lists.
% -
Smartform with multiple Headers & Respective Item Details and Totals?
Dear All,
Appreciate if anyone clarify my doubt.
My requirement is to develop a smartform for billing with multiple headers & respective items and totals. For more clarity I'm explaining below.
Header Section1
variable1 variable2 variable3 variable4 variable5
variable6 variable7 variable8
variable9 variable10 variable11
Item Details1
s no vebeln verpr col4 col5 col6
total 123.21
total in words -
value 321.21
value 982.98
value some value
footer details
Header Section2
variable1 variable2 variable3 variable4 variable5
variable6 variable7 variable8
variable9 variable10 variable11
Item Details2
s no vebeln verpr col4 col5 col6
total 123.21
total in words -
value 321.21
value 982.98
value some value
footer details
Header Section3
variable1 variable2 variable3 variable4 variable5
variable6 variable7 variable8
variable9 variable10 variable11
Item Details3
s no vebeln verpr col4 col5 col6
total 123.21
total in words -
value 321.21
value 982.98
value some value
footer details
Is this possible using smartforms?
Now they are using a classical report and takes printout in preprinted stationery.
requirement is to develop a smartform for this. there is a selection screen for the print program which accepts billing docs.
Thanks,Rajiv,
Actually for your case you don't need a table inside the Main Window.
1.) First Populate all the data(header + item) in an internal table in the print program itself.
2.) Pass this internal table to the smartform.
3.) In the smartform give exact dimensions to the main window.
4.) In the Main Window Use a Loop on this internal table.
5.) Create a template for the header data giving the exact dimensions.
6.) Create another template for the item data giving exact dimensions to the template.
7.) If there is pre-printed text between these templates, insert a text element between these templates. This text element will have nothing just give a paragraph format to it. Go to smartstyle, create a style in which create a paragraph format setting line spacing parameter of this paragraph format of the same size as that of pre-printed text.
8.) Only 1 page is required since Loop statement will print the second record on the second page if the dimension of templates are exact.
9.) Dimensions you can easily measure from the pre-printed form.
<removed by moderator>
Edited by: Thomas Zloch on Mar 6, 2012 -
Selection list with multiple columns
How can i create a selection list with multiple columns?
Still really one column.
If they need to be independent then you've got to have three selection lists.
% -
Select list with multiple columns
I want to create a select list with multiple column option. What are the options. Any developments in apex 3.0.1 ? Thanks in advance. I tried the tutorials by Kubicek.
I am kind of stuck to see the function entry inside LOV definition returns a error.Still really one column.
If they need to be independent then you've got to have three selection lists.
% -
Hi,
Is it possible can we have a List with multiple Object (CustomerVO, OrderVO and AddressVO) in a single List? If so how we will define the generics for that List?
Please clarify.
Thanks.797836 wrote:
Guys, am I correct? Please clarify.If it works, it is correct. So try it.
I was more thinking along the line of this though according to what you described in your initial post:
Class ParentVO{
private CustomerVO customer;
private OrderVO order;
private AddressVO address;
// with getters and setters
}That way you don't need any list at all, if you only want to have access to these three objects. Just slap them in a ParentVO and use that.
Looking at it again I wonder if the ParentVO is needed even, there is a strong relationship between these three objects. An order has a customer and a customer has an address / an order has a billing/shipping address... -
Hello;
I seek a code to implement a list with multiple selection for a browser Web (HTML is imited).
I have a list containing of the years, the user can select one or several years and I created dynamically a array : for each year a column.
Thank you;Look at JList.
http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JList.html
� {� -
hello all ,
how to create a list with multiple columns ? can anyone share some examples or code snippetsWhat I would usually do is create a movieclip/sprite that contains a row with every column in it (each column being a textfield). Then pile up the rows one atop the other (using Actionscript) as they are populated with data.
-
ABAP list report, multiple selections - select-options
I have written a very simple ABAP list report, that contains a single select-option. On the selection screen, I have the option of entering multiple values, with each new value being displayed directly underneath the old, but I am only getting the first value entered on the screen displayed. Does anyone have any sample code for me?
Hi Daniel,
Select_Options consists of 4 parameters, in with the range consists in eg...
Select-options s_vbeln for vbak-vbeln.
then s_vbeln-low, s_vbeln-high are the range values...
So whne you write select query.
write vbeln in s_vbeln
instead of vbeln eq s_vbeln
Hope this solves your problem.
Thanks & Regards,
Dileep .C -
How can I create a XMP List with multiple selection
Hello,
I try to build my own XMP custom panel. Herefore I need a couple of lists with the possibility for multiple selections (e.g. the choice for one language or multiple languages).
But how is it possible to integrate a list into a panel? There is no XMPList inside the custom folder. I have experimented with the standard mx:list and an array collection for data binding into the list. But how can I write the user selection into an XMP field? Example: In the List the user choose three languages (DE, EN, FR). Is it possible to collect the choice into a string and to write the result into an XMP standard field (e.g. dc:description)?
A further question is, if it's possible to use the "HTTPService" to bind an external xml-file with the languages and other informations into the panel or is it only possible to work with an array collection inside the code?
Here is my code:
<?xml version="1.0" encoding="utf-8"?>
<fi:XMPForm
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:fi="com.adobe.xmp.components.*" width="100%" height="100%"
xmlns:Iptc4xmpCore ="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"
label="XMP-Custom Panel"
initialize="ds.send()"
>
<!-- Each namespace prefix that is used within an xmpPath-attribute,
MUST BE registered at the top of EACH panel where it is referenced -->
<fi:XMPNamespaces>
<fi:XMPNamespace prefix="dc" value="http://purl.org/dc/elements/1.1/"/>
</fi:XMPNamespaces>
<fi:XMPForm>
<mx:HBox width="100%" height="26" verticalAlign="middle">
<mx:HRule width="50%"/>
<mx:Label text="Allgemeine Metadaten" fontSize="12" fontWeight="bold"/>
<fi:XMPSeparator width="50%"/>
</mx:HBox>
<fi:XMPFormItem
label="Titel"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
<fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Titel"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
<fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Druckkennzeichen"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
<fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Verfasser"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Erzeuger des Dokumentes" fontSize="11" width="100%">
<fi:XMPComboBox xmpPath="dc:creator" width="100%"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Versionsnummer"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
<fi:XMPComboBox xmpPath="dc:creator" width="100%"/>
</fi:XMPFormItem>
<mx:HBox width="100%" height="26" verticalAlign="middle">
<mx:HRule width="50%"/>
<mx:Label text="Enthaltene Sprachen" fontSize="12" fontWeight="bold"/>
<fi:XMPSeparator width="50%"/>
</mx:HBox>
<!-- Beginn der Auswahl-Liste für die Sprachen -->
<mx:Script>
<![CDATA[
import flash.events.MouseEvent;
import mx.controls.Alert;
import mx.collections.ArrayCollection;
private const NL:String = "\r";
// A data provider created by using ActionScript
[Bindable]
private var subscriptions:ArrayCollection =
new ArrayCollection
{data:0, label:"Deutsch"},
{data:1, label:"Englisch"},
{data:2, label:"Französisch"},
{data:3, label:"Italienisch"}
[Bindable]
private var market:ArrayCollection =
new ArrayCollection
{data:0, label:"(Bitte Marktversion auswählen)"},
{data:1, label:"Marktversion Deutsch (M_DE)"},
{data:2, label:"Marktversion Englisch (M_EN)"},
{data:3, label:"Marktversion Frankreich (M_FR)"},
{data:4, label:"Marktversion Italien (M_IT)"}
[Bindable]
private var documenttyp:ArrayCollection =
new ArrayCollection
{data:0, label:"(Bitte Dokumenttyp auswählen)"},
{data:1, label:"Gebrauchsanweisung"},
{data:2, label:"Ersatzteilkatalog"},
{data:3, label:"Service-Anleitung"},
{data:4, label:"Etikett"}
]]>
</mx:Script>
<fi:XMPFormItem label="Sprachauswahl" width="100%">
<mx:List
id="userSubscriptions" rowCount="4"
allowMultipleSelection="true" width="100%"
dataProvider="{subscriptions}"
/>
</fi:XMPFormItem>
<mx:Text text="* Mehrfachauswahl möglich." fontWeight="normal" fontSize="10"/>
<!-- Ende der Liste für die Auswahl von Sprachen -->
<fi:XMPFormItem
label="Marktvariante"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
<fi:XMPComboBox xmpPath="dc:creator" width="100%" dataProvider="{market}"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Dokumenttyp"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
<fi:XMPComboBox xmpPath="dc:creator" width="100%" dataProvider="{documenttyp}"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Stichworte"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Erzeuger des Dokumentes" fontSize="11" width="100%">
<fi:XMPTextArea/>
</fi:XMPFormItem>
<mx:HBox width="100%" height="26" verticalAlign="middle">
<mx:HRule width="50%"/>
<mx:Label text="Metadaten Photoshop" fontSize="12" fontWeight="bold"/>
<fi:XMPSeparator width="50%"/>
</mx:HBox>
<fi:XMPFormItem
label="Originalname FA"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%" id="PS1">
<fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Fotoauftragsnummer"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%" id="PS2">
<fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
</fi:XMPFormItem>
<fi:XMPFormItem
label="Interne Anmerkungen"
labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Erzeuger des Dokumentes" fontSize="11" width="100%" id="PS3">
<fi:XMPTextArea/>
</fi:XMPFormItem>
<mx:Text text="* hier steht eine kleine Erläuterung" fontWeight="normal" fontSize="10"/>
</fi:XMPForm>
</fi:XMPForm>
Any suggestions?
Thank you in advance.
MarkusHi Markus,
the FileInfo SDK does not offer a ready-made list component allowing for multi-selection.
So you would need to implement one using the FileInfo SDK API. Your component "XMPList" would inherit from mx:list and would need to implement the XMPRead and XMPWrite events and talk to the XMP using the IXMPAccess interface within those event handlers.
Please have a look at the Programmer's Guide, section "XMP Flex components" and at the API description available in "docs" for further guidanc.
Hope this helps
Kind Regards
Jörg
Adobe XMP -
How to make an editable bulleted list with multiple lines and custom bullets?
How do I create an editable bulleted list in Acrobat Pro? I've figured out how to add text fields with multiple lines, and how to add a list box, but I don't see the check box for multiple lines in the list box or how to add bullet points. Can someone please give me step by step instructions? Also is it possible to use custom bullet points?
Is it a text field or a list box field? The two are not the same...
The bullets are something that the user will have to enter manually (into a text field, they can only select values in a list-box).
They can use any unicode character, or special characters if the font used for that field allows for it. You can't use images for the bullets, if that's what you mean.
Maybe you are looking for
-
Is there a way to consolidate two different Apple ID's into one. I have an old Apple ID that I used for Itunes and a new one I used to set up on my iphone.
-
Photoshop CS5: how many files can be opened at once?
I've just tried to open about 400 jpg's in Photoshop CS5, as I needed to crop them to the best ratio for display on my iPod Touch, and I got an error message saying I'd tried to open too many images at once, and it stopped at about 200. My system is
-
Exporting CRM 2011 SSRS 2008 report to excel uses old Excel 1997-2003 version
The Notes field is appearing cut off on the exported excel spreadsheet. I am wondering if it is related to the version of excel when exporting from CRM report. The only option is MS Excel 1997-2003, when in fact we have MS Office 2010 installed. How
-
Problem with generating stacked canvas in Designer 6i
When I try to generate a master detail form, in which the detail block is placed on a 'new stacked canvas' the form is generated as expected: master- and detailblock are both created, but when running the form the detail block is somehow made invisib
-
Mail downloading deleted messages
I have three pop3 mail accounts, each set to delete messages on the server 7 days after download. Since iCloud was enabled, messages I have already deleted on my iPad are re downloaded. Is tis intended behavior?