Ordering fields displayed using af:query
Hi All,
I want to order the query fields on the search form. The search form was created by dragging a af:query component in JDeveloper11.1.1.4
Basically I want to show the "Key" before "Given name" and "family Name". Looks like the af:query orders the query fields alphabetically.
I also tried using the field order property of the view object attribute, but no success. Please suggest.
Thanks
Hi Frank,
I mentioned in my previous post, even after using the 'Field Order' property in the view object's attribute, I was not able to move the 'Key field in the query to the top.
Is there any other Field Order property?
I am using the <viewobject>.xml then go the appropriate attribute and under UI Hints in the Property Inspector put 1 in the 'Field Order' Property attribute. Other fields are all default blank for Field Order
Does not work for me, please suggest
Thanks
Edited by: user5108636 on Nov 8, 2011 8:17 PM
Similar Messages
-
How to tack print out use with Query ?
Hi
I have to tack purchase order print out (print details- PO date, BP code, name, item name, Quantity and Amount . System Print Layout means from Purchase Order layout designer) use with Query
How to tack print out use with Query (system print layout means from Purchase Order layout designer) ?
Regards
Aravind MHi
I have to take purchase order print out and I created 3 templates for that purchase order in layout designer (Because as per the MIS requirement I created 3 templates, its cover more information). I have to take print out 3 templates at a time. So i try to take print use with Query.
Regards
Aravind M -
How to get a field that using variable in order to create a query
Hi,
I found a difficulty when creating a query. so, I would like to ask you some question.
1. How to get a field that using variable which that field I want to put it in my query?
For example, I would like to take quantity field in inventory audit report. And when I put my cursor in
quantity field, there was only variable, item, etc. How to get this and put it in query?
2. How to combined the invoice quantity with inventory audit report quantity?
3. I have a query like this:
SELECT distinct T0.[DocDate] as 'Tanggal', T0.[DocNum] as 'No.Faktur', T1.[ItemCode] as 'Kode Barang',
T1.[Dscription] as 'Deskripsi', T1.[Quantity] as 'Quantity', ((T1.[LineTotal])/(T1.[Quantity])) as 'Harga
Satuan', T1.[LineTotal] as 'Harga Total', T3.[CalcPrice] as 'HPP Satuan', ((T3.[CalcPrice]) * (T1.
[Quantity])) as 'HPP Total', T4.[ItmsGrpNam] as 'Jenis Barang', T5.[SlpName] as 'Nama Sales', T1.
[WhsCode] as 'Kode Gudang' FROM [dbo].[OINV] T0 INNER JOIN [dbo].[INV1] T1 ON T0.DocEntry =
T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OINM T3 ON T2.ItemCode
= T3.ItemCode INNER JOIN OITB T4 ON T2.ItmsGrpCod = T4.ItmsGrpCod INNER JOIN OSLP T5 ON
T0.SlpCode = T5.SlpCode WHERE T3.[TransType] = '13' and T3.[CreatedBy] = T1.[DocEntry] and T0.
[DocDate] >=[%0] and T0.[DocDate] <=[%1] and T4.[ItmsGrpNam] =[%2] and T1.[WhsCode] =[%3]
Is it possible if I just take one invoice with invoice quantity and only show up at once although I have a
lot item cost for that item? (because I'm using FIFOmethod).
Please help me.. cause I'm stuck with this thing :l.
Thank you very much, and I'm waiting your respon soon.
Regards,
SiscaTry this one:
SELECT distinct T0.DocDate as 'Tanggal', T0.DocNum as 'No.Faktur', T1.ItemCode as 'Kode Barang',
T1.Dscription as 'Deskripsi', T1.Quantity as 'Quantity', ((T1.LineTotal)/(T1.Quantity)) as 'Harga
Satuan', T1.LineTotal as 'Harga Total', T3.CalcPrice as 'HPP Satuan', ((T3.CalcPrice) * (T1.
Quantity)) as 'HPP Total', T4.ItmsGrpNam as 'Jenis Barang', T5.SlpName as 'Nama Sales', T1.
WhsCode as 'Kode Gudang'
FROM dbo.OINV T0 INNER JOIN dbo.INV1 T1 ON T0.DocEntry =T1.DocEntry
INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode
INNER JOIN OINM T3 ON T2.ItemCode = T3.ItemCode AND T3.TransType = '13' and T3.CreatedBy = T1.DocEntry AND T3.Warehouse = T1.WhsCode
INNER JOIN OITB T4 ON T2.ItmsGrpCod = T4.ItmsGrpCod
INNER JOIN OSLP T5 ON T0.SlpCode = T5.SlpCode
WHERE T0.DocDate >=[%0\] and T0.DocDate <=[%1\] and T4.ItmsGrpNam =[%2\] and T1.WhsCode =[%3\]
Thanks,
Gordon -
All fields in sales orders in display
Hi All,
Upon a certain condition, I need to make all fields in header and item of sales order as display(greyed out).
Can anyone let me know how this can be done.
Thanks in advance,
Regards,
Srikar
Message was edited by: Srikar Nagarajanhi,
it can be done through user exit. find suitable user exit for you Tcode and write code using SCREEN table for making the fields gray(display mode) .
try the exit : EXIT_SAPFV45S_002.
in the aboue exit header data will available in I_VBAK, but you have to check is it suitable for your reauirement or not.
the following are the exits available for sales order
Exit Name
SDTRM001
V45A0001
V45A0002
V45A0003
V45A0004
V45E0001
V45E0002
V45L0001
V45P0001
V45S0001
V45S0003
V45S0004
V45W0001
V46H0001
V60F0001
Sudheer.A
Message was edited by: sudheer Addepalli -
Purchase order field EKPO - AFNAM displayed in any standard report?
Hello gurus,
I can't find any standard report which contains in the layout the field Requisitioner (EKPO-AFNAM) of the Purchase Orders.
Can you please advise if there is any? Do I need to make a query between EKKO and EKPO to get this field displayed together with the PO number?
Thanks!!
MarcHello,
@Venu, dynamic selections would allow me to have this field in the selection screen but not in the layout of the report (which is exactly where I need it).
@Antony, you're confirming my fears; there is no standard PO report which contains the Requisitioner field in the layout. I know ME5A does include it, but it doesn't include the Purchase Order number as it is Purchase Requisition related.
@All, any other suggestion besides the query? Are we missing something?
Best,
Marc -
Purchase order Field LIke Material , Non editable by using Trax code Me22n
Guru
How to make Purchase order Field LIke Material , Non editable by using Trax code Me22n
ThanksHi
Check this in SPRO- SAP IMG- Material Management - Purchasing- Purchase order- Define screen lay out at document level
In this select the particular field selection key and change the material field to display.
Hope it will do
Regards,
Raman -
Multiple Value in additional fields using SAP Query
HI All,
I have a question related additional field in SAP Query. I tried to create report about PR and PO using SAP Query. Since one PR can be converted to multiple PO, I decided to create additional field
po_1
to display the value of PO that related to the PR. But I meet problem when I want to show several PO number in additional field
po_1
, I couldn't look the way to solve this problem. Can anybody help me? Just for info, I assign value to additional field
po_1
in record processing part.
Thanks....HI,
IN SQ02, IF table is already in JOIN, just click on the PLUS sign to expand the strcture.
All the field showing Plus sign in the strcture are selected in your query and with MINUS sing are no selected.
So you have to just click on the MINUS sign for the field you want to use through table field.
Generate the query and execute thriugh SQ01.
If you want to add some other field which is not a part of JOIN,
then click on EXTRAS Button shown in the MENU option.
Click on Create button and system will ask abt the additional field.
Regds,
Anil -
Using a "Sum" Calculated Field on a "Count" query column?
Here's my query using the Query Report Builder:
SELECT Col1, COUNT(Col1) AS Count_Column
FROM Table
GROUP BY Col1
It generates a report that lists all the values of column
"Col1" and how many times each value was used in Col1
For instance, if Col1 contained the value 'A' 12 times, 'B' 6
times, and 'C' 19 times, the report would generate this:
A - 12
B - 6
C - 19
What i need as a column footer is the total count of all the
values, which in this case 12+6+19=37
I am using a calculated field, setting the data type to
Double, the calcuation to Sum, and the perform calculation on to
'query.Count_Column'. Reset Field When is set to None.
When I run the report, it doubles the last number in the
report's Count column (19) and displays 38 on the page. I tested
this with another column and it doubled the last number in the
report as well.
How can I get it to properly Sum my Count_Column?Hi,
You need to check note 208366.1 which explains why totals can be blank. Without knowing the detail of you decode function it is hard to say what needs to be changed. Try putting a sum in front of the decode e.g.
sum(decode(period, 'Jan period', value, 0))
Hope that helps,
Rod West -
Work Order field define and display in Operation TAB
I have a question about the user field define in work order's operation:
I define the user field in the standard IMG for operation's Enhancemen use. but the field can only display in the operation's details' Enhancemen Screen.
What I want is the User field can display in the Operation list screen.
BTW:what does the Equipment numnber in Operation TAB 's meaning
thanks a lotDuplicated [here|Work Order field define and display in Operation TAB;
-
How to add the fields to the transaction 'Z10SD25' using ABAP Query
Hello,
I want to add the new fields like 'From' and 'To' depending on some conditiions. But i have to do this using ABAP Query.
Can any one help me with this as I am not much aware of ABAP Query .
Regards,
DarshanaHi,
ABAP/4 query can be designed in four steps
1. Creation of a user group
2. Creation of Infoset
3. Assignment of user group to Infoset
4. Creation of the query based on Infoset
By executing the transaction codes mentioned below
u2022 SQ01 ABAP/4 Query
u2022 SQ02 Infosets
u2022 SQ03 User group
Step 1: To create an Infoset without a logical database
One of the following can be selected
u2022 Based on a single table
u2022 Using an ABAP/4 program
u2022 Using Table Joins
u2022 Using Sequential Dataset
NOTE: The tables to be used in the join should have at least one field in common i.e. it should have the same name, domain or data element.
Step 2: Here you specify the users who should be authorized to run the query. A user group is always associated with a Infoset.
Step 3: In Query Definition you can define the Selections Screen. Here you can check against the fields(fields from the tables specified in the infoset above) that you require to be shown on the selection screen.
Now we Finally need to specify the output type for the query as Basic List, Statistics or Ranked List. Choose the option Basic List and also select the fields to be displayed in the output list(in your case from and to fields...)
After providing all the above options you can save the query and execute it by clicking the Execute button twice.
Hope this helps
Regards
Shiva
Edited by: Shiva Kumar Tirumalasetty on Sep 15, 2009 12:44 PM -
How to display all the surveys using content query web part
Can you please tell me how to display all the surveys using content query web part in more details? I also created a subsite and multiple surveys in that site. Then, I inserted a Content Query Web Part and select the List Type to be "Survey",
however, it returned nothing. Did I miss anything?Hi,
OOTB Survey List does not contain any
Content Types and it has the following structure:
Response entry is represented by
List Item
Response entry consist of questions and answers, where Question correspond to
Field and Answer to Item value respectively.
For querying Survey List via CQWP the following properties could be used
BaseType
<Lists BaseType="4">
ServerTemplate
<Lists ServerTemplate="102">
Example
To retrieve all the responses from Survey lists, specify List Type property as shown on picture
Reference:
http://stackoverflow.com/questions/17280778/display-all-surveys-using-content-query-web-part
Best Regards,
Eric
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to make a field in Sales order as Display
Hi Friends,
I want to make the field pricing date in sales order as display only. Currently the field is changeable.
Can someone please tell me how can i do this.
Regards,
Wasim.hi
Follow the below steps.
T-Code SE51(Screen Painter)
Give Program Name SAPMV45A (before doing this confirm from the field from sales order, keep curcer on the pricing date press F1 and then select technical details)
Screen Number 4440(before doing this confirm from the field from sales order, keep curcer on the pricing date press F1 and then select technical details)
Select Attributes radio button.
Go to Element list Tab. Inturn select Special Attribute tab in Subscreen.
For Field Name "VBKD-PRSDT" make Input as "OUTPUT" (DISPLAY).
Hope this will help you -
To display 01 to 10 using select query
Hi all,
using select query...
In where clause...,
If u give 1 to 9 it should display 01 to 09 and
If u give 10 it should display as 10.
I want it in a single query .
Thanks & Regards,
Hariharan ST.Just need to build a where condition to the query posted by ascheffer -
Something Like this -
1 Select rn
2 From ( Select To_Char(ROWNUM, '09') rn
3 From Dual
4 Connect By rownum < 11
5 )
6 Where ( ( Trim(rn) < 10
7 And '&Param' = '1 to 9'
8 )
9 Or ( Trim(rn) = LPAD('&Param', 2, 0)
10 )
11* )
SQL> /
Enter value for param: 10
old 7: And '&Param' = '1 to 9'
new 7: And '10' = '1 to 9'
Enter value for param: 10
old 9: Or ( Trim(rn) = LPAD('&Param', 2, 0)
new 9: Or ( Trim(rn) = LPAD('10', 2, 0)
RN
10
SQL> /
Enter value for param: 7
old 7: And '&Param' = '1 to 9'
new 7: And '7' = '1 to 9'
Enter value for param: 7
old 9: Or ( Trim(rn) = LPAD('&Param', 2, 0)
new 9: Or ( Trim(rn) = LPAD('7', 2, 0)
RN
07
SQL> /
Enter value for param: 4
old 7: And '&Param' = '1 to 9'
new 7: And '4' = '1 to 9'
Enter value for param: 4
old 9: Or ( Trim(rn) = LPAD('&Param', 2, 0)
new 9: Or ( Trim(rn) = LPAD('4', 2, 0)
RN
04
SQL> /
Enter value for param: 1 to 9
old 7: And '&Param' = '1 to 9'
new 7: And '1 to 9' = '1 to 9'
Enter value for param: 1 to 9
old 9: Or ( Trim(rn) = LPAD('&Param', 2, 0)
new 9: Or ( Trim(rn) = LPAD('1 to 9', 2, 0)
RN
01
02
03
04
05
06
07
08
09
9 rows selected.Shailender Mehta -
Display Currency field in Ad Hoc Query
I done enhancment in Infotype 23 for Last Salary drawn as currency field and ref type as PA0015 WAERS in Ad Hoc Query. But I am not able to display the same field with value. Its always shows me blank. Is there any settings to be done to display currency field in ad hoc query?? Pl. help me as this is very urgent.
Hi Praveen,
i have selected both value and text, still i'm not getting it. -
Adding some new fields for display in SAP Query
I need to add some fields for display in SAP query 01 of infoset /SAPQUERY/AM01. So I have changed the infoset by checking the additional fields which is already in LDB. Then I created the query by copying the 01 of infoset /SAPQUERY/AM01 to Zusergroup with reference to the same infoset. In the newly created query, I am just checking the newly added field in Basic list. If I generate the program for this query, I get a error.
Pls let me know how should I rectify this.
Regards,
JeyananthHi,
Before generating the query, adjust the query from the menu of SQ01
Thanks
Shiva
Maybe you are looking for
-
Why can't I type in any search boxes in firefox 3.6.12 on Windows 7 HP.
For the last several days, I cannot type a search term into the Google toolbar Search box, the Firefox search box, the Yahoo tool bar search box, or the address bar. When I click search, then a new page opens in a new tab in Google (this is my defaul
-
IE10 on Win7 and OWA 2010 can't drag and drop
I've upgraded to IE10 for win7. When I login to OWA for exchange 2010, I notice I can't drag and drop emails into any folders. Compatibility mode doesn't work either. The only way for it to work is to go into developer mode and force "Document Mod
-
White box around png images in Final Cut Express 4.0
I was putting in some muzzle flashes into my video with final cut express 4.0, they were png images and there was a white box around the muzzle flash after i used the composite mode screen effect, if anybody knows what the problem is i could use the
-
What now with these license?
Hi, i got these License Claim: WEBEX-UWL-BE-PAK - WebEx PAK - CUWL BE Can someone explain, what to do with it? Understand i right, that these are 25 Users for Webex? It was bought together with the Business Edition 6K. What can we use with this lice
-
In vendor excise details of J1ID what is the significance of the last column " Cenvat". When should i checked it. Similarly in plant excise details what value i should maintain in excise indicator " E" What is the importance of the it. In excise tax