SelectOneChoice and Table
Hi Experts,
I have a requirement in which I have to use selectonechoice and on selecting some item in the selectonechoice I have to show the table which is associated with the selected item.
I am using jdev 11.1.1.6
Thanks,
Tarun
Hi Tarun,
If you have more than one table and want to choose one of them using a <af:selectOneChoice>, you can do something like this:
<af:selectOneChoice label="Choose a table" id="soc1" value="#{viewScope.socValue}" autoSubmit="true">
<f:selectItem itemValue="1" id="si1" itemLabel="Employees"/>
<f:selectItem itemValue="2" id="si2" itemLabel="Departments"/>
</af:selectOneChoice>
<af:panelCollection partialTriggers="::soc1" id="pc1">
<af:table value="#{bindings.EmployeesView1.collectionModel}" var="row" rows="#{bindings.EmployeesView1.rangeSize}"
emptyText="#{bindings.EmployeesView1.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.EmployeesView1.rangeSize}" rowBandingInterval="0" id="t1"
rendered="#{viewScope.socValue eq null or viewScope.socValue eq '1'}">
<af:column sortProperty="#{bindings.EmployeesView1.hints.EmployeeId.name}" sortable="false"
headerText="#{bindings.EmployeesView1.hints.EmployeeId.label}" id="c5">
<af:outputText value="#{row.EmployeeId}" id="ot5">
<af:convertNumber groupingUsed="false" pattern="#{bindings.EmployeesView1.hints.EmployeeId.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="#{bindings.EmployeesView1.hints.FirstName.name}" sortable="false"
headerText="#{bindings.EmployeesView1.hints.FirstName.label}" id="c6">
<af:outputText value="#{row.FirstName}" id="ot6"/>
</af:column>
<af:column sortProperty="#{bindings.EmployeesView1.hints.LastName.name}" sortable="false"
headerText="#{bindings.EmployeesView1.hints.LastName.label}" id="c7">
<af:outputText value="#{row.LastName}" id="ot7"/>
</af:column>
</af:table>
<af:table value="#{bindings.DepartmentsView1.collectionModel}" var="row" rows="#{bindings.DepartmentsView1.rangeSize}"
emptyText="#{bindings.DepartmentsView1.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.DepartmentsView1.rangeSize}" rowBandingInterval="0" id="t2"
rendered="#{viewScope.socValue eq '2'}">
<af:column sortProperty="#{bindings.DepartmentsView1.hints.DepartmentId.name}" sortable="false"
headerText="#{bindings.DepartmentsView1.hints.DepartmentId.label}" id="c8">
<af:outputText value="#{row.DepartmentId}" id="ot8">
<af:convertNumber groupingUsed="false" pattern="#{bindings.DepartmentsView1.hints.DepartmentId.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="#{bindings.DepartmentsView1.hints.DepartmentName.name}" sortable="false"
headerText="#{bindings.DepartmentsView1.hints.DepartmentName.label}" id="c9">
<af:outputText value="#{row.DepartmentName}" id="ot9"/>
</af:column>
</af:table>
</af:panelCollection>AP
Similar Messages
-
SelectOneChoice refreshing table
Can I config Master / Detail with SelectOneChoice and table?
I put in my form one SelectOneChoice (Country) and one table (State).
I want to that when I select item on SelectOneChoice this refresh my table.
I set PartialTrigger of the my table with SelectOneChoice, but this not works.
How can I do this?Hi,
In make the following BC (Business Componentes) structure
Entity:
- StateEntity
- CountrEntity
- Association (State x Country)
VO:
- StateVO (State Entity)
- CountryVO (CountrEntity)
- ViewLink (State x Country)
I tried to test put two Table and configured master/detail for this and it works perfect. In other word, my BC is correct.
But, I prefer use Select One Choice (State) and Table (Country).
<af:selectOneChoice value="#{bindings.StateView.inputValue}"
label="State"
required="#{bindings.StateView.hints.mandatory}"
shortDesc="#{bindings.StateView.hints.tooltip}"
binding="#{backingBeanScope.TipMB.soc1}"
id="soc1" autoSubmit="true"
immediate="true">
<f:selectItems value="#{bindings.StateView.items}"
binding="#{backingBeanScope.TipMB.si1}" id="si1"/>
</af:selectOneChoice>
<af:table value="#{bindings.CountryView.collectionModel}"
var="row"
rows="#{bindings.CountryView.rangeSize}"
emptyText="#{bindings.CountryView.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.CountryView.rangeSize}"
rowBandingInterval="0"
filterModel="#{bindings.CountryViewQuery.queryDescriptor}"
queryListener="#{bindings.CountryViewQuery.processQuery}"
filterVisible="true" varStatus="vs"
selectedRowKeys="#{bindings.CountryView.collectionModel.selectedRow}"
selectionListener="#{bindings.CountryView.collectionModel.makeCurrent}"
rowSelection="single"
binding="#{backingBeanScope.TipMB.t1}" id="t1"
partialTriggers=":::soc1">
<af:column sortProperty="Country" filterable="true"
sortable="true"
headerText="#{bindings.CountryView.hints.Country.label}"
id="c3">
<af:inputText value="#{row.bindings.Country.inputValue}"
label="#{bindings.CountryView.hints.Country.label}"
required="#{bindings.CountryView.hints.Country.mandatory}"
columns="#{bindings.CountryView.hints.Country.displayWidth}"
maximumLength="#{bindings.CountryView.hints.Country.precision}"
shortDesc="#{bindings.CountryView.hints.Country.tooltip}"
id="it3">
<f:validator binding="#{row.bindings.Country.validator}"/>
</af:inputText>
</af:column>
</af:table> -
How to find how name of view and table using in Discoverer report
Hi all,
Please help me, i have requirement, i need name of views and tables used in discoverer reports.
plz help its urgent.
regards,
Vivek GautamAs per my knowledge goes, We can see from Administrator which Folder is associated with a Workbook. Else you may have to manually open each and every workbook and look for the objects.
-
Field and Table for Pension Plan
Can anyone tell me what are the field name and table name in Pension plan
Hi Harini,
In Table VBUK you 3 different status related fields for sales documents.
Over all status field name GBSTK ( here it gives the total status of praticular sales document) here you see options
A Not yet processed ( This means its complete open)
B Partially processed ( This means the sales doc is partially processed)
C Completely processed ( This means the sales doc is completly processed)
Delivery status and over all delivery status field name LFSTK and LFGSK respectively, these 2 fields will be same always ( here it gives the total status of praticular sales document) here you see options
A Not yet processed ( This means its completly open)
B Partially processed ( This means the delivery doc is partially processed)
C Completely processed ( This means the delivery doc is completly processed)
So overall status can be different then delivery or overall delivery status.
If sales document has 100 quantity for 1 material, if delivery is done for 50 quantity.
Then over all status field name GBSTK will be B Partially processed and delivery and overall delivery will be C Completely processed .
Regards
vK -
Field and Table for PGI status updation
Hi All,
I want to know in which field and table the PGI status will get updated.
i.e. once we do the PGI for a delivery in which table will this PGI status gets updated.
Thanks in advance for help.
HariniHi Harini,
In Table VBUK you 3 different status related fields for sales documents.
Over all status field name GBSTK ( here it gives the total status of praticular sales document) here you see options
A Not yet processed ( This means its complete open)
B Partially processed ( This means the sales doc is partially processed)
C Completely processed ( This means the sales doc is completly processed)
Delivery status and over all delivery status field name LFSTK and LFGSK respectively, these 2 fields will be same always ( here it gives the total status of praticular sales document) here you see options
A Not yet processed ( This means its completly open)
B Partially processed ( This means the delivery doc is partially processed)
C Completely processed ( This means the delivery doc is completly processed)
So overall status can be different then delivery or overall delivery status.
If sales document has 100 quantity for 1 material, if delivery is done for 50 quantity.
Then over all status field name GBSTK will be B Partially processed and delivery and overall delivery will be C Completely processed .
Regards
vK -
Field and Table name for purchaser
I want to know the field and table name for purchaser id and purchaser name.
Plz help me.Dear
Purchaser name are define in Header level data in Purchase Order EKKO & Purchase ID define as a Purchasing Group
Purchser Name EKKO-ERNAM
Purchase I D EKKO-EKGRP
Regards
Aamir -
Dear Friends ,
I want to display discount , P&F , excise , tax , fright , octori , insurance so what is the fiels name for all fields and table name .You have to create the report bu fetching the report from the table EKPO - Doc condition no KNUMV. Use this no in the table KONV to get all your requirements aginst the field KSCHL - Condition types.
-
Hi All,
I got some output values from the legacy system with me but need to know whats the actual field name and table name to which i need to transfer these values. How can i do it, since which theres is not field name or despcription given for the data.
Is there any way i can do it.
Points will be rewarded for all useful answers.
Regards
ABif you know the transaction code you use to post the uploaded data in SAP, you just need to do BDC recording in using transation SM35. Record the whole process and create a program from the recording... and you wont even need to know the tables and field names-- almost everything will be done for you....
All you need to do is replace record data with upload data.
You can also try to look for a standard Function Module / BAPI which can do the processing for you and provide it with a table containing the upload data ...
Reward points if useful -
Where can i get SALES ORGANIZATION FIELD and TABLE
Can anybody tell me where can i get FIELD and TABLE Name OF " sales organization "
Dear Sandeep,
u will find VKORG is the Sales Organisation .
u will find this Field in every related SD Module Table...
Like ...VBAP,BKPF ..etc..
Hope it helps...!!!
Pls reward if Helpful...!!! -
Storage Location Wise Stock Value field and Table
Hi ,
Please let me know the storage location wise stock value field and table.
Regards
SureshHi Suresh,
As per my understanding it is not possible in a single Table.
If this is required for customized Z report then use this logic it may gives the correct information.
In the combination of MARD and MBEW.. From MBEW you can get the value for each Base Unit of Measure then multiply that value with storage location stock.
It may usefull to u..in the mean time i will try for some other option.
Please revert if u have any query.
Regards
Durga Sana -
MIGO tr Serial number field and table?
Hi guys,
can anybody tell me how to find the field name and table for Serial number in MIGO tr Code?
in MIGO the Serial number field and Structure are GOSERIAL-SERIALNO.but i was not able to find the Actucal Field name and table where i can get the values based on PO and Asset Number's?
Thanks,
Gopi.Hello,
I'm looking at the same problem here. I found the table SER03 in which you can enter the the material document. This returns 1 line in this table and from this one you need the OBKNR element
You can copy this data and paste it into table OBJK element OBKNR and this returns all serialnumbers for the relevant material document.
My problem is that i can't get these items on the sapscript. (WESCHEINVERS 1,2 or 3)
Greetings
Edited by: Lode Vandecruys on Apr 9, 2008 11:04 AM
Edited by: Lode Vandecruys on Apr 9, 2008 11:09 AM -
Purchase Order released date field and table name
Hi,
Please tell me the Purchase Order released date field and table name.
Regards
DeepakHi,
Table : EKKO.
Fields : FRGKE,FRGZU.
You can get release date of PO from CDHDR table.
give object value as your po number and check.dont forget to give leading zeros.
The udate will be date field and transaction will be me29n for relaesed po. -
How to add a field and table control to BP transaction.
Hi,
I have a requirement to add a field and table control to the 'Control data' tab of the Transaction BP.
Can some on please help me if having a solution and with any relavant documents.
Thanks in advance.
Raj & Khader.Also explore with EEWB tcode.
Refer this threads
Re: EEWB
Created New fields in Business Activity with EEWB
Cheers
Manohar -
Cost Component structure field and table names
Hey all,
i need to code a BADI to push value of one column in cost component structure to another column in ccs for only order settlements..
any idea how to do this??
i am very new to abap please take it easy on ur answer..
i coulndt even find in which table and fields these values are stored...
thank youI have an OSS note, it tells you step by step how to config the badi u need.. but does not mention about the logic u ll use.. it is up to you....
so i need to find the field names and tell take these and post them to these columns...
i dont know if i make any sence, but this is all i need to do...
so i have the body i have the logic but i dunno the import and export fields...
i believe the table is ckmlkeph.... and field that populate the columns are kst0XX, but i cannot see the field name and table name if i select a line in the column and F1 ???? -
What is the field and table name to describe -Employee Hourly Rate or Emplo
Hi,
Can any one please tell me what is the field and table name to describe
Employee Hourly Rate or Employee Rate.
Thanks for ur time.
Murali.Hi Murali,
The hourly rate is tied to a Wagetype & maintained in Infotype 0008. The database table is PA0008.
the field could vary depending on the No of wagetypes maintained.
regards,
Suresh Datti
Maybe you are looking for
-
I've had my Macbook for almost two months now and so far it has been great, other than one issue. Lately I've been getting a yellow line running across random program windows and only in the windows, so when I minimize they minimize with the window.
-
How do i get a still image to fade the same way and at the same time as a video?
I have a video stacked on top of a still image. When i add a transition, the still turns to a black screen while the video fades in accordance to the transition. How do i get the still image to fade the same way and at the same time as the video?
-
CALL METHOD g_editor- get_text_as_r3table
Hi everyone!!!, I have some problems with CALL METHOD g_editor->get_text_as_r3table, I can't retrieve the text from my custom editor. Can anyone please help me with this issue?. DATA: g_mytable(line_length) TYPE c OCCURS 0. CALL METHOD g_
-
Can I use a PNY Quadro FX 3400 in a new Mac Pro? (Xeon Quad)?
I already have already bought a graphic card PCI-Express x16. I want to buy a MacPro. Can I use it in it? Thanks for your help
-
Hi All Been given a 6540 for my microsoft sql storage. Bit of an experiment in our shop using SUN equipment for Windows services. Lot of questions - greatly appreciate answers to any of them. Does the 6540 support raid 10? If not are there any other