Multiple regions with fixed length
Hi
I have two regions on a page arranged in two columns. The size of the regions increasing/decreasing according to the data values we have selected. I want that width of regions to be fixed. How can I do it?
Regards
PMR
Hi PMR,
Edit your regions and in the "Attributes" section, "Region Attributes" property set the value for the width like this:
width=500pxTake into account that the region will be wide enough at least to hold all the items it contains and that your region template has to have the substitution string #REGION_ATTRIBUTES#. If that's not the case, make a copy of the region template, edit the copy and add the substitution string in the template definition, and select the new template for your region.
Regards,
Sergio
Similar Messages
-
Flat file with fixed lengths to XI 3.0 using a Central File Adapter---Error
Hi
According to the following link
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
In Adapter Monitor I got the following error,
In sender Adapter,
Last message processing started 23:47:35 2008-10-25, Error: Conversion of complete file content to XML format failed around position 0 with java.lang.Exception: ERROR converting document line no. 1 according to structure 'Substr':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this
last retry interval started 23:47:35 2008-10-25
length 15,000 secs
some one help me out ?
Thanks
Ramfrom the blog you referenced -
<u> /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
<b>goto step 4</b>
<u>additional parameters</u>
add as the last entry
<recordset structure>.lastFieldsOptional Yes
e.g.,
Substr.lastFieldsOptional Yes -
Send a flat file with fixed lengths to XI 3.0 using a Central File Adapter?
Hello,
I'm wondering if someone have experience setting up conversion for different record structures. The example shown,
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter,
(in a greate way) only picture one kind of structure.
How should it be done if the file would contain
10Mat1
20100PCS
The first record structure has columns
ID(2),Material(10)
The second redcord structure has columns
ID(2),Quantity(3), Unit of messure (3)
Brgds
Kalle
Message was edited by: Karl BergstromThe configuration would be like follows:
Content Conversion Parameters:
Document Name: <your message type name>
Document Namespace: <your message type namespace>
Document Offset: <leave empty>
Recordset Name: <any name>
Recordset Namespace: <leave empty>
Recordset Structure: row1,,row2,
Recordset Sequence: any
Recordsets per Message: *
Key Field Name: ID
Key Field Type: String
Parameters for Recordset Structures:
row1.fieldNames ID,Material
row1.fieldFixedLengths 2,10
row1.keyFieldValue 10
row2.fieldNames ID,Quantity,UOM
row2.fieldFixedLengths 2,3,3
row2.keyFieldValue 20
Instead of row1 and row2 you can choose any name.
Regards
Stefan -
Is it possible to display a waveform with fixed length and fixed starting point?
Hi,
I am using DAQ assitant to acquire voltage and current measurment of my device. The voltage is a pure sine wave and current is a periodic waveform with phase difference and distortion. I use waveform chart to display the waveform of voltage and current waveform in seperate charts and they work fine.But the waveforms look like moving to the right all the time, in another way ,the phase is always shifting. Now i want to display the waveforms of both with fixed length (say 2 cycle) and also in a same chart. Apart from that, i also want to display the voltage waveform starting form 0 degree (a fixed point )rather than moving all the time. In this case, i can observe the angle difference between voltage and current. Is there any method to achieve this purpose?
Many Thanks,
HaoHao,
first of all, you are using a chart which has three options for updates if the chart is "full":
Strip chart (default)
Scope chart
Sweep chart
These are called "update mode". Test the modes yourself.
Also you have to know that you will not likely have an integer number of periods of your signal in the display of the chart. Therefore, a continuous signal will "move" the graph from update to update.
You can implement some algorithm to discard data to maintain a static "trigger" level for display, but as stated, it will leave gaps in the signal. These gaps are not a concern unless you use the displayed signal for analysis (e.g. FFT).
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
Interface output file : tab limited vs flat file with fixed length
hey guys,
any idea on difference b/w to file type : flat file with fixed length or tab limited file
thanksTab Delimited:
Two Field are seperated by a TAB
eg. SANJAY SINGH
First field is First Name and Second is Sir Name.
Nth field will be after N -1 tab
Fixed Length:
Every field has a fixed starting position and length
eg. SANJAY SINGH
Here First field start from Position 1 and has lenght 10 and 2nd field start from 11th postion and has lenght 10.
Fixed Length -> The lenght of each field is fixed, while in tab delimited the lenght of field is not fixed but we know it ends when the Seperatot (Tab) is encountered. -
I have an input file, which is fixed length format. I need to configure the Sender File Adapter for a fixe length file(i.e each field length is available and I need to mention that in my sender file Adapter)
Can anyone suggest an appropriate blog, that explains my scenario.
(I searched this web and it keep on hanging)Hi Naveen
check these links
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
for sender conversion (check the sub links in this topic)
http://help.sap.com/saphelp_nw04/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm
and my reply to your previous post for idoc to flat file.
Regerds
Vishnu -
Adapter file receiver - file with fix length record
Hi everybody,
In the file adapter receiver, I want to create a fixed length record file .
Each record need to have the same size.
How is it possible, because I have a file which contains variable legnth depending of the lenght of message?
exemple:
<mess>
<row>1234567</row>
<row>123456789A</row>
</mess>
give the file
1234567<CR>
123456789A<CR>
<CR> means carriage return
and I want a file like
1234567 <CR>
123456789A<CR>
with the same lenth of record (10 in the example).
Can anyone help me, ,please?
Kind regards.
E. KoralewskiHi Eric,
Create a value user defined function with one input argument a and name it is inputpad. Then add the following code:
Imports: java.*;
while (a.length()<Integer.parseInt("10"))
a= a +" " ;
return String;
Here I am assuming your fixed length for the field is 10. If it is more or less then change the number. Now in your mapping do all your logic and then in the final add this like:
input ---> your logic --> inputpad udf --> target.
Regards,
---Satish -
Dealing with Fixed Length formats both at sender and receiver side
Hi all,
I have file -- File with fixed lenght formats.
Source system will generate a text file with fixed lenght and target also needs the same file with same format.
Then we have an idea to implement the interface with out IR Development .this is fine upto now.
But now the problem is we are receiving more fields from source than we require for target process. we are not using at receiver side.
So receiving system needs only few required fields from the source file.
From soucre
Ex: Source.... DocNum Invoice No Bill date Bill amount vendor code
We require at target
Ex: Target..... DocNum Bill Date Vendor code
Please suggest me
RegardsHi,
>>The source file content conversion is simple...In the target when you specify the target field names just leave out the ones you dont need...
from source we wil read all the fields, this is fine and in the target how to mention the field positions
Here all fields will come into picture, we cant mention the positions at receiver
Source side Ex: Docnum InvoiceNo Billdate Bill Amt Vendor
Fixed lenghts are 10 20 10 10 20
Target Expects Ex: Docnum BillDate Vendor
10 10 20
in receiver side if you mention fixed lenghts like 10 10 20 means it may read docnum, Invoiceno, BillDate
It wont ignore InvoiceNo field in this case
Regards -
How to process file with fixed length using MFL in OSB
Hi Team,
I need to translate this file using MFL. its fixed lenght[each line is having 81 chars] file in below format.
Please help me to process this in OSB using MFL.
==================================================================
START
[email protected]
[email protected]
END
Subject : CALIFORNIA STEEL IND Renege #00424523 Hse580 CTH580
BODY:
User_ID: LARRY014
Xpd2 Hse/Customer # : 580/1196310
Xpd Order Number: 580094624
Customer E-Mail: [email protected]
Customer E-Mail 2:[email protected]
Customer Phone : 9093506458
Dear Salesperson,
gexprosupply.com Order # : 00424523
gexprosupply.com User ID : LARRY014
Customer CALIFORNIA STEEL IND has entered order 00424523
through gexprosupply.com.
THIS ORDER HAS RENEGED for the following reason(S):
I. ORDER LEVEL
NOTE SEGMENTS FOUND IN INPUT - SENTRY
CDF REQUIRED CUSTOMER - ORDER RENEGED
II. ITEM/LINE LEVEL
LINE # ECOM LINE NAED QTY STATUS ALLOW SUBS
Please resolve the renege and release the order in Sentry
01 as soon as possible. Thank you.
EMAIL-END
==================================================================
Thanks
Reddy
Edited by: 913248 on Feb 8, 2012 2:07 PM
Edited by: 913248 on Feb 8, 2012 2:08 PMHi Prabu,
thanks a lor fro you replay.......
the above file is having mail content[from id, to id, subject and body] i need to read this file using OSB and need to sent to the respective email id.
the file format is :
it will have
0- its a fixed length in each line [81 chars]
1--"START" tag....starting of the email
2--after START, the email ID is "FROM" email ID
3-after "FROM" emailid, 3rd line onwards....will have "TO email IDs
4-"END"---end of the email IDs
5- "Subject " ...will have subject of the email
6-"BODY".... the email body will start in this tag
7-"EMAIL-END"..end of the email....
so my requirement is ..i need to read above file in OSB and send notification emai.
Thanks
Reddy -
Help with FIXED LENGTH columns - using spool command
Hi guys,
I have a view I am trying to spool using fixed length columns, and the spacing is off. Ive tried numerous things such as specifiying the column width before running the query, using the rpad command, but nothing seems to work. I have to spool it to a text file in order for the users to import this file into another system. I would welcome any and all suggestions. Thanks so much. The following is the view:
SELECT "EMPLOYEE_ID","FIRST NAME","INITIAL","LAST NAME","SUFFIX","TRAINING DATE","Course ID","Class ID", "We", "Make / Model", "Cali", "Barrell", "Serial Number", "Qualification", "Application", "SCORE", "Status", "Add Time", "Record Add ID","Record Add Date","Record Change ID","Record Change Date","RN" FROM
(SELECT
UPPER(RPAD(tbl.ssn,10)) AS "EMPLOYEE_ID",
UPPER(RPAD('',12)) AS "FIRST NAME",
UPPER(RPAD('',1)) AS "INITIAL",
UPPER(RPAD('',20)) AS "LAST NAME",
UPPER(RPAD('',5)) AS "SUFFIX",
UPPER(RPAD(to_char(QUALDATE, 'mmddyyyy'),8)) AS "TRAINING DATE",
UPPER(RPAD('P123',8)) AS "Course ID",
UPPER(RPAD('',6)) AS "Class ID",
UPPER(RPAD('P',4)) AS "We",
UPPER(RPAD('',4)) AS "Make / Model",
UPPER(RPAD('',4)) AS "Cali",
UPPER(RPAD('',7)) AS "Barrell",
UPPER(RPAD('',15)) AS "Serial Number",
UPPER(RPAD('A',4)) AS "Qualification",
UPPER(RPAD('D',4)) AS "Application",
to_char((RAWSCORE/250)*100, 'fm000.00') AS "SCORE",
UPPER(RPAD('PASS',4)) AS "Status",
UPPER(RPAD('',8)) AS "Add Time",
UPPER(RPAD('',8)) AS "Record Add ID",
UPPER(RPAD('',8)) AS "Record Add Date",
UPPER(RPAD('',8)) AS "Record Change ID",
UPPER(RPAD('',8)) AS "Record Change Date",
row_number()over(partition by firearms_scores.ID_NUMBER order by QUALDATE desc ) rn
FROM FIREARMS_scores, TBL
where scores.id_number=tbl.id_number
and qualyear='2010' and coursecode='SA'
order by employee_id)
where rn =1Hi,
You RPAD doesn't do anything, since they are same as:
SQL> SELECT NULL AS "Record Add ID",
2 NULL AS "Record Add Date",
3 NULL AS "Record Change ID",
4 NULL AS "Record Change Date" FROM DUAL;
R R R R
SQL>Can't see why COLUMN command shouldn't do what you want. Maybe you forgot the double quotes?
SQL> COL "Record Add ID" FOR a18
SQL> COL "Record Add Date" FOR a18
SQL>
SQL> SELECT NULL AS "Record Add ID",
2 NULL AS "Record Add Date",
3 NULL AS "Record Change ID",
4 NULL AS "Record Change Date" FROM DUAL;
Record Add ID Record Add Date R R
SQL>P.S: You probably shouldn't set a column width which is smaller than the header length
Regards
Peter -
How to get a string with fixed length
I want to implement something like movechar() of c in java. I want to return a string which has a fixed length that contains the given string and spaces for remaining length.
Please let me know how can I implement it.
Thanks & Regards,
Nasrin.nDo you mean padding a String?
* This method pads the string s to size n using char c to make up for missing characters.
public static String padString(String s, int n, char c, boolean paddingLeft) {
StringBuffer str = new StringBuffer(s);
int strLength = str.length();
if (n > 0 && n > strLength) {
for (int i = 0; i <= n; i++) {
if (paddingLeft) {
if (i < n - strLength) str.insert(0, c);
else {
if (i > strLength) str.append(c);
return str.toString();
} -
Export multiple regions with effect
Hi guys,
I have some hundreds of regions of a vocal recording. I'd like to apply the same amount of reverb and compression to all these regions and export them all at once (mp3).
What I did: all regions in consecutive order on one audio track with insert effects.
I tried the export feature but it allows to export one region at a time even when I select all regions. This seems to be work for a week....
I'd also like to be able to define an additional length for the newly created regions, so the reverb would not be cut off.
When I export from the audio bin it doesn't include the effects.
I also tried creating markers from the original regions, bounce the whole track and then...? Is there a way to cut the bounced filed corresponding to all these markers?
Thanks for help,
EddieHow many 100's?
Reimporting the regions will give you the option to put them on seperate tracks....you can do 50 or 100 at a time... Logic will put them on seperate tracks for you... don't import from scratch or Logic might have to redraw the overviews
Make a channel strip of the desired pluggins...
Adding a channel strip to 100 tracks takes about 15 minutes...depending upon which pluggins you are using, you might run out of system resources
then export all tracks as audio
I'm thinking 300 audio files with effects could be created in about maybe 3 hours...unless they are over 1 minute each, or you have system resource issues
Of course, I have to add every 15 minutes checking the forum, so make this at least an 8 hour job!
Message was edited by: Scott Roewe1 -
How to export multiple regions with fades to audio files
When I have a bunch of regions that I want to export to audio files Logic manages to ignore the fades I created on them. Is there any other way than bouncing every single region? Basicly I just want to consolidate (like PT) the regions fom the project including the fades.
Sorry, but I forget to tell you, that is one of my report is Interactive Report and another is PL/SQL function returning SQL query report
I know about thats two links which you posted.
I have tryed Denes Kubicek link and his exaple not worked. When I press "Download Excel" button I got excel file only with first report on it (http://htmldb.oracle.com/pls/otn/f?p=31517:108)
And his package (export_excel_pkg) have a limitation: This package will not work for Function Returning SQL type of report.
By second link, I must totally reprogramming all three my reports, thats is not goog for me. -
Multiple regions with parent child info.
I have the need to display parent-child-details on the same page - but more intuitively in 3 regions of a page.
As an example, i want the first region to display a list of departments, the second adjacent region to display employess in a department chosen in the first region, and the third should have employee details for a chosen employee in the 2nd region.
The master details approach may not necessarily fit as an elegant solution.
Any ideas/suggestions/past apps built that would be similar ?
Regards,
AtulDocster wrote:
Hi,
Do you happen to still have this application? I'd love to see it.You are totally wasting your time. There is no point in posting follow-ups to threads this old in the expectation that the original participants will respond—watches on threads that will generate email notifications of thread updates last for only a period of a few weeks.
"Sofie87" is not listening. Gone. An ex-poster. Look at their profile: not posted in *4+ years*.
Posting follow-ups to ancient threads/departed users is NOT an effective way of getting help:
<li>Other users may ignore the thread if it is closed.
<li>Your assumption that the questions are related may be incorrect, leading to confusion about the nature of the problem and potential solutions.
<li>Watches on the thread will have expired, so the original participants are totally unaware of the new post. They may no longer be active on the forum.
<li>You have no ability to mark posts as helpful or correct.
Post your requirements as a new thread, including at least the following information:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Links to related posts and threads (using the methods in the FAQ) -
Multiple Regions with Spry?
I'm using the Spry fade effects to pull in some content in a
div located in that page. Is there any way to call the fade on two
seperate divs at one time. Essentially so when the user clicked on
the link it would load new content into two divs.
Here's the code I'm using :
onclick="fadeIt('artWork','subpages/track1.html'); return
false;">function fadeIt(ele,url,id){
Spry.Effect.DoFade(id',{ duration: 500, from: 100, to: 0,
finish: function() {
Spry.Utils.updateContent(ele, url, function() {
Spry.Effect.DoFade(id,{ duration: 500, from: 0, to: 100 });
onclick="fadeIt('artWork','subpages/track1.html','artWork');fadeIt('div2','subpages/page2. html','fadediv2');
return false;"
fadeIt('element for update content','thecontent for the
element.html','the id of the element to fade')
That would do :)
Maybe you are looking for
-
GL Journal approval- Send notification to multiple approver
Hello I want to send GL journal approval notification to multiple approver, once any of the approver approves the journal it should be removed from worklist of all approver. How can we acheive this? Pls help Thanks Avalon
-
Hi All, I have done a small development.In my component there is a inputfield.In that when i enter a tablename,table fields with there values will get displayed. My requirement is when i double click the fields the data type of the fields should get
-
Reg.Smartforms development
dear Experts We are in need of develop Smartform,I have no idea about that.and I cann't understant easily what 1st I have create to take printout,and how to database connectivity with the form. Please guide me step by step. Thanks Rajakumar.K
-
LUN config for virtualized Exchange server
Hi All, What would be the preferred LUN congfiguration for a virtualized Exchange server. It will be a 2 server multi-role configuration on a 3 node hyper-v cluster. 1 LUN per database. Exchange servers will not be configured to be highly available.
-
Printing to Designjet 500ps after Maverick Upgrade
Just done upgrade to Maverick and I am now getting printing problems. Before upgrade the margins on printer were 17mm top and bottom of printed item with 5mm left and right. After upgrade margins are 35mm top, 22mm left and right and 37mm bottom. Pri