How to split a column into 4 sub columns of table in adf
i hav a table and i need to make a column in to 4 sub columns. ie i havae column called scheduled under the same
column i have 3 column releted to scheduled . how i make it possible
Regards
Rajesh
Hi Rajesh,
Something like this?
<tr:column headerText="Schedules">
<tr:column headerText="Schedule A">
<tr:outputText value="#{row.bindings.ScheduleA.inputValue}"/>
</tr:column>
<tr:column headerText="Schedule B">
<tr:outputText value="#{row.bindings.ScheduleB.inputValue}"/>
</tr:column>
<tr:column headerText="Schedule C">
<tr:outputText value="#{row.bindings.ScheduleC.inputValue}"/>
</tr:column>
<tr:column headerText="Schedule D">
<tr:outputText value="#{row.bindings.ScheduleD.inputValue}"/>
</tr:column>
</tr:column>Regards,
Chan Kelwin
Similar Messages
-
How to split one page into different frames in ADF?
Hi,
Can any one please guide me how to split a jspx into different frames.
i.e., left frame contains <af:panelSideBar> which contains multiple <af:commandMenuItem> s. And whenver we click on the one <af:commandMenuItem>, it has to show the corresponing page inside center frame in this page itself. Is it possible in ADF? Which component we need to use?
Can anyone guide me on this?
Thanks in advance,
Regards,
Suresh KethireddyYou can use a combination of the ADF Faces 10.1.3 components like:
af:panelPage
af:panelSideBar
af:panelHorizontal
af:panelGroup
to organize the screen layout, but it is not the interactive splitter that the 11g product provides.
You can all all the 10.1.3 ADF Faces Components here:
http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/imageIndex.html -
How to split invoice/document into two venders?
Can anyone please tell me how to split invoice/document into two vendors. Like if I get an invoice for $1000 and it needs to be splitted between father and son, $500 to each. How would I set that up in SAP? I am not sure if this will be an invoice split or a document split.
Thanks
MonikaIf you are using an FI entry F-43 to generate invoice this can be done by giving the same invoice ref. in the Inv. Ref. field for two vendors. This is manual
Document Split will split the document between two profit center and not between vendors. -
Reg:How to delete the column in table control also from database table.
Hi Experts,
Once again thank u all for giving the responses.
one more doubt is how to delete the columns of table control and also the record shold delete from ztable.
With Regards,
Saroja.P.Hi,
If you want to delete the rows in the table control and simultaneously delete it from the database table, then you can implement a 'DELETE' functionality specific to your table control. Have a MARK field (you will find that in the screen attributes of the table control -> give a name for the MARK field, you will find an additional MARK column at the beginning of your table control). You can check whatever rows you want to delete from the table control, call the delete module.
"This portion of code inside the LOOP...ENDLOOP.
IF sy-ucomm eq 'F_DELETE'.
gt_itab2-check = mark. " Store the MARK field status into your internal table's correspoding field 'check'
MODIFY gt_itab INDEX tabcontrol-current_line.
ENDIF.
iF sy-ucomm eq 'DELETE1'.
DELETE gt_itab WHERE check eq 'X'. "Your internal table does not have rows that you want to delete
ENDIF.
Now you can modify your database table using the MODIFY statement.
MODIFY ZDB FROM TABLE gt_itab. -
How to add a column in table control
Hi ,
Can any one tell me how to add a column in table control? My requirement is to add two columns ( custom fields ) into table control ( It is a standard program). I have added the column in the table and also in the table control. But when I am running the standard program, The newly added column is not there. But I have added in the perticular screen. Change is not reflected.
Can anyone help me on this please.
Thanks in advance.
Regards,
Lakshmi.Hi,
Ensure the following :
1. After adjusting the database, you`ll have to use the database utility and activate the table.
2. If you have changed the standard screen, in tcode se80 -- right click on the program and click activate all. This activates all objects related to that program.
Now execute the program.
Reward if helpful.
Regards -
How to find the columns and tables used in a stored procedure?
Hi,
Can someone suggest how to find the columns and tables used within a stored procedure?
Thanks
VBKFor example:
SQL> create or replace
2 procedure p1
3 is
4 cnt number;
5 begin
6 select count(*) into cnt from emp;
7 end;
8 /
Procedure created.
SQL> select referenced_owner,
2 referenced_name
3 from dba_dependencies
4 where owner = 'SCOTT'
5 and name = 'P1'
6 and referenced_type = 'TABLE'
7 /
REFERENCED_OWNER REFERENCED_NAME
SCOTT EMP
SQL> SY. -
How to make a column in Table popin read only
Hi Everyone
Could anyone let me know how to make a column in table popin read only.
Regardsif you ar eusing an ALV table
try this
DATA: lr_salv_wd_table TYPE REF TO iwci_salv_wd_table,
r_table TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
* get reference to ALV component interface
lr_salv_wd_table = wd_this->wd_cpifc_alvmain( ).
* get ConfigurationModel from ALV Component
wd_this->r_table = lr_salv_wd_table->get_model( ).
* init ColumnSettings
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
lr_col_header TYPE REF TO cl_salv_wd_column_header.
lr_column_settings ?= wd_this->r_table.
* get table of column settings - each line one column
DATA: lt_columns TYPE salv_wd_t_column_ref.
lt_columns = lr_column_settings->get_columns( ).
* loop over table - in each loop another column can be modified
DATA: ls_column TYPE salv_wd_s_column_ref.
* define visible columns (fields) by naming them,
* exclude others by setting visibility to none
DATA: ls_tooltip TYPE string.
LOOP AT lt_columns INTO ls_column.
" get header of column
lr_col_header = ls_column-r_column->get_header( ).
" do settings here
ENDLOOP.
Or see this document for more tips.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4</a>
regards,
Joris -
How to split this string into 4 sections to a max 35 characters
Hello,
Does anyone have an idea how I can acheive this please.
I have this string
Expense_Inv_8- ExpenseInv_7- Exp001- Expense_Inv_6- Expense_Inv_5- Expense_Inv_4- Expense_Inv_3- Expense_Inv_2- Expense_inv1
and I need to display them in sections seperated by ';' as explained below
Section 1 Section 2 Section 3 Section 4
Expense_Inv_8- ExpenseInv_7- Exp001;Expense_Inv_6- Expense_Inv_5;Expense_Inv_4- Expense_Inv_3;Expense_Inv_2;
need to split this string into 4 sections seperated by ';' and each section should be of no more than 35 characters, if null should end ;;;
Section 1, 35 Character ended by;
Section 2, broken off after Expense_Inv_5 because Expense_Inv_4 will take it over 35 chracters)
Section 3, should only take Expense_Inv_4- Expense_Inv_3, because adding Expense_Inv_2 will take it over 35
characters, each record in the string is seperated by '-'
Section 4, dispays the reminder of the string
regards
AdeHi,
Welcome to the forum!
Whenever you ask a question, it helps if you post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) and the results you want from that data.
I think I understand the problemk well enough to attempt a solution, but if the query below isn't right, please post that information.
WITH cntr AS
SELECT LEVEL AS n
FROM dual
CONNECT BY LEVEL <= ( SELECT MAX (LENGTH (txt))
FROM table_x
, got_best_path AS
SELECT id
, txt
, MAX ( SYS_CONNECT_BY_PATH ( TO_CHAR (c.n, '99')
) AS best_path
FROM cntr c
JOIN table_x x ON c.n <= LENGTH (x.txt)
START WITH c.n = 1
CONNECT BY c.n - PRIOR c.n BETWEEN 1
AND :section_length
AND x.id = PRIOR x.id
AND SUBSTR ( x.txt
, c.n
, 1
) = '-'
AND LEVEL <= :section_cnt
GROUP BY id
, txt
, got_pos AS
SELECT id
, REPLACE ( txt
) || ';' AS txt
, best_path
, TO_NUMBER (REGEXP_SUBSTR (best_path, '[0-9]+', 1, 2)) AS pos_2
, TO_NUMBER (REGEXP_SUBSTR (best_path, '[0-9]+', 1, 3)) AS pos_3
, TO_NUMBER (REGEXP_SUBSTR (best_path, '[0-9]+', 1, 4)) AS pos_4
FROM got_best_path
SELECT id
, SUBSTR (txt, 1 , NVL ( pos_2 , :section_length)) AS section_1
, SUBSTR (txt, pos_2 + 1, NVL ((pos_3 - pos_2), :section_length)) AS section_2
, SUBSTR (txt, pos_3 + 1, NVL ((pos_4 - pos_3), :section_length)) AS section_3
, SUBSTR (txt, pos_4 + 1, :section_length ) AS section_4
FROM got_pos
;As written, this requires SQL*Plus 9 (or higher). You can have multiple versions or SQL*Plus on the same client, if you really need to keep the older version.
:section_length is the maximum length of each section (35, as you stated the problem).
:section_cnt is the number of sections. In the query above, this is 4. If you change it, you not only have to change the bind variable, but you have to change the hard-coded SELECT clauses of the main query and the last sub-query (that is, got_pos).
MODEL or PL/SQL would probably be better ways to solve this problem. -
How to split a column in adobe livecycle design?
How does one split a column in adobe livecycle design. I have found that one can split a column after you have merged it. But I want to split two columns into four in the middle of a table. This can be done in Word. Is there a way even if one has to split each row? Does any one know? Like in the table below I would like to make Header 2 & Header 3, Rows 2 and 3 into 2 rows 4 columns.
Header 1
Header 2
Header 3
Header 4
Thanks
SheilaIf you want to have 1 column to be split in 4 columns, you can insert a table with 4 columns inside a column cell.. If you mean to add rows and you want to keep those 4 columns, you should add instances of the row where you inserted the table with 4 columns...
Hope this helps!
Mag -
Crystal report - how to split a field into more fields
Hello,
I`m new to Crystal reports and I`ve got a trouble. I have field which contains an address - street, city, zip code. The example is:
STEHLIKOVA 977 165 00 PRAHA 620 - SUCHDOL 165 00.
What I need to achieve is to split this string into three separated fields. I`ve trouhg a couple of forums but haven`t been able to find a proper answer. The problem is that the addresses differ so I can`t use an absolute defining of a start position. Looking at the DB (HEXA code) the parts in the string are divided by two dots:
STEHLIKOVA 977..165 00 PRAHA 620 - SUCHDOL..165 00
I`ve been able to work out this solution:
stringVar array x := split({cparty.STREET_ADD},"..");
Local numberVar i;
Local stringVar outputString := "";
For i:=1 to Count(x) do
outputString := outputString + x[i] + Chr(10)
outputString;
It splits the string into three rows:
STEHLIKOVA 977
165 00 PRAHA 620 - SUCHDOL
165 00
And I don`t know how to find the end of each row so to be able to separate the strings and report them as three different fields.
Would be anyone so kind and help me out with this?
Thank you.
PetrHi
Actually using a for loop is not necessary here. All you need to do is to add several formula fields: one for street, one for city and one for zipcode. In @street field you add formula:
stringVar array x := split({cparty.STREET_ADD},Chr(13));
x[1];
Then you drag such formula field to details section of your report and watch preview to check if everything looks alright. Repeat for every formula field that you'd like see in your report.
In @city you add almost identical formula but you change index, i. e. instead of x[1] you need to use x[2]. Then for @zip x[3].
You may need to check if your address has all three parts - for example if you want to use formula in the second part of your address field you may need check first if there are at least two parts after split:
stringVar array := split({cparty.STREET_ADD},Chr(13));
numbervar c;
c := count(x);
if 2 <= c then
x[c];
Var 'c' is used to store the number of elements in array after split. Then I'd like to check if the part (second) actually exists. So I try to check if number of part that I want to refer to is not bigger than the number of elements in array after split (here stored in var 'c').
Actually the code presented above is not enough since you have no guarantee that you'll always get address structured in the very same way. For example in demo PL database I have zip code and city in the same row after split with Chr(13) as delimiter.
You'll need to experiment or ask someone to prepare correctly structured data coming from B1 to your report.
Kind regards,
Radek -
How to split the report into different versions view 1 agent delivery
Hello
I have a scenario where I need to send a dashboard to multiple users. The user information are stored in the table like the following:
USER Day Car Pay Type Cost Email
USER1
-10
-2
Honda
Customer Pay
500
[email protected]
USER2
-4
-1
AUDI
Customer Pay + Warranty
1000
[email protected]
USER2
-4
-1
PORSCHE
Customer Pay + Warranty
1000
[email protected]
Now I have a dashboard call Car, on this dashboard I have prompts like Date, Car, Pay Type, Cost, pretty much the same name as the columns in the above table. I have also set up session variables to pick up users based on the log in.
Now for user2, he is getting 1 email, which is the dashboard with both Audi and Porsche on there. Instead, he wants to 2 attachments, 1 for Audi and 1 more Porsche. Is there a way to achieve this using 1 agent?
Please let me know how to split the result sets based on user records in the table
Thank youHello,
Thank You very much for the useful hint.
Regards
Aloha -
How to split video files into clips
please help this noob. i have adobe master collection cs3 and i'm totally lost as to how i can take a large video file and split it into various clips... example being a 20 minute fireworks display and i want to split that movie into a few dozen clips of specific fire works events. what package do i use and how might i go about setting the various start and finish markers and then export those chosen clips.
any help would be greatly appreciated.
thanks much
michaelExporting segments out one at a time is hardly rocket surgery.
At the top of the timeline is a movable bar called the "Work Area Bar". You can set the in and out points of this bar over the area you wish to export, go to "File/Export/Movie" and make sure you have "Work Area Bar" selected rather than "Entire Sequence". Export to the same project settings you're working with. Repeat for each section. -
How to split the records into two parts
Hi experts,
I have a field with 75 char length, this field have records also, Now i want to split the field into two differnt fields. That means upto first 40 char goes to one field, from 41st char to 70 char goes to another field, for that how to split record into two parts.
Plz advice this,
MohanaHi,
Do the following:
f1 = fsource(40).
f2 = fsource+40(30).
where fsource is the 70 character original string and target strings are f1 (length 40) and f2 (length 30).
Cheers,
Aditya
Edited by: Aditya Laud on Feb 22, 2008 2:10 AM -
How to split a file into two small file
Hi All,
I want to raed a file from FTP server.Then i have to split a file into two small file.File format look like this.
R01!service_order!item_guid!resource_guid!assignment_guid
R02!Service_order!product_id!product_discription!quantity
R02!Service_order!product_id!product_discription!quantity
R02!Service_order!product_id!product_discription!quantity
i want split file into 2 file,according to header and item details.one table containt header information (label R01) and second table containt (label R02).
can anybody help me for this.how can i split into 2 file.
Thanks
Vishwas SahuCreate 2 internal tables. sat it_header, it_detail
Check for 1st 3 characters and if it is R01 then send it into it_header and if it comes out to be R02 then send it to it_detail.
Once done... You can either attach these tables into mail as two seperate files
Or you can download each internal table using GUI_DOWNLOAD.
Hope this helps!!
Kanchan -
PRE9: How to split one clip into two (or more) clips?
I can't believe this is so hard to do... But HOW?
You don't necessarily need to separate the file into individual clips. When you do a cut on the timeline, this is a virtual cut, leaving the original file untouched but determining what will appear in the output. You can split the clip into multiple pieces, delete the bits you don't want, add transitions, insert new bits, whatever you want, all without affecting the original file in any way. Once you're happy, you output a new file using the Share options, and you get a new video file, with your original files still untouched.
If you want to split your file into multiple individual files, you can use the sliders on the time scale, and export (Share) using the Share Work Area Only checkbox. If you're doing this for purposes of reassembly, it would be better to save the individual clips in as lossless a format as possible, the default AVI format taking considerably more space but not losing quality. Hint: the sliders can be positioned to the time marker using Alt-[ and Alt-]. Once you've done this, note that your original file will still be there, untouched.
There is also VideoRedo Plus, a cheap program which gives frame-accurate selection and allows rapid subdivision of a piece of footage. It doesn't re-render as PE9 would (this is where loss of image quality creeps in using compressed formats such as MPEG), copying the original frames. You can then reassemble the bits using your video editor. -
How to split stereo track into 2 mono
How to split a stereo audio track into two seperate mono tracks (Left, Right).
(Have searched the manual..)
BonquiAlso, where you select mono or stereo for a track below the level meter you can click + hold and select L or R. Instead of bouncing, you can convert the files, for me this gives fewer room for error. Also disabling UTM works in some cases, but this is not ideal for every session.
J
Maybe you are looking for
-
631 movement type Duplicate Entry in RG1 Register against IDH & ROP classif
Dear Friends, After after RG1 Registerupdate in J1I5. I v check the J_1iRG1 table and found that same material Document against 631 movement type reappear under IDH(Issue) and ROP (Recipt) classification. Advise me 1. Where is my mistake 2. What shou
-
How do you scroll down in new itunes?
how do i scroll down i tunes. just tried to download a song n it asked me to retick terms n conditions but i cant get to end of page to do it.;
-
so since the option selection is not there I don't know how to enable the cookies and java script. so i cannot access aol or facebook. I went to your site and downloaded your newest version which i think is 4. in hopes that the option selection would
-
Is possible to run XDK 9i on AIX? Error XSQL-027 comes up!
Running a simple XSQL file with the command-line utility xsql against the database (8.1.7 Standard) ends in: xsql-027: Failed to load oracle.xml.actions.XSQLIncludeOWAHandler class for built-in xsql: include-owa action xsql-004: Could not acquire a d
-
Hi Ihave written this script for aggregation. My essbase server is based standalone and having 16 GB data. When i am running this script it is using 100% of my CPU usages. Please suggest me how to improve the performance. /*M9.3 - Aggregate Across Di