Passing 900 character value into a Single line
Hi Experts,
I have a scenario that i have to pass 900 character value to a single field. After that i need to download this internal table into an text file.
What happening after some characters the values are not getting passed into my varaibale.
So please help me how to accomodate all the 900 character values in a single field.
With Regards,
Sumodh.P
Hi,
Chk this ...
DATA : BEGIN OF IT_ITAB900 OCCURS 0,
VAL(900) TYPE C,
END OF IT_ITAB900.
INITIALIZATION.
CONCATENATE 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz'
'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz'
'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz'
'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz'
'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz'
'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz'
'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz'
'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz'
'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz'
'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz'
'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz'
'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz'
INTO
IT_ITAB900-VAL.
APPEND IT_ITAB900.
START-OF-SELECTION.
DATA : P_FILENAME TYPE STRING.
P_FILENAME = 'C:\Documents and Settings\testingis on.txt'.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = BIN_FILESIZE
FILENAME = P_FILENAME
TABLES
DATA_TAB = IT_ITAB900 .
This writes all the characters ....
Regards,
Srini.
Similar Messages
-
How to add form values into a single line...
How can we add numerous form values (say surname, first name and middle initial) into a single line? thanks in advance^^
You can use the "+" operator which is both the addition (number) and concatenation (string) operator. JavaScript makes the decision about how this operator will work by the type of the value of being processed. Two numbers JavaScript performs addition, character string and number, number and character string, or 2 character strings then concatenation.
If you just use the '+' operator and spaces, you will get extra spaces unless you add code to allow for null fields and adjusting the spacing or other punctuation as needed. You may also need to force numeric values to character stings or you might end up with an addition and not concatenation.
Adobe provided a example of a funciton to properly join 3 fields with full versions of Acrobat:
function fillin(s1, s2, s3, sep) {
// Concatenate 3 strings with separators where needed
// convert passed strings to a string value
s1 = s1.toString();
s2 = s2.toString();
s3 = s3.toString();
// assign a numeric value for presence of a given string(s)
var test = 0; // no passed strings
if (s1 != "") test += 1; // s1 has a value
if (s2 != "") test += 2; // s2 has a value
if (s3 != "") test += 4; // s3 has a value
// return appropriate combination based on passed strings
if (test == 0) return ""; // no stings passed
if (test == 1) return s1; // s1 only
if (test == 2) return s2; // s2 only
if (test == 3) return s1 + sep + s2; // s1 and s2
if (test == 4) return s3; // s3 only
if (test == 5) return s1 + sep + s3; // s1 and s3
if (test == 6) return s2 + sep + s3; // s2 and s3
if (test == 7) return s1 + sep + s2 + sep + s3; // s1, s2, and s3 -
Passing multiple character values from parameter form to PL/SQL
Hi,
I am passing multiple character values from parametr form into
the report query and a PL/SQL procedure. It works fine with the
query, when I use &variable. But, it doesn't compile in PL/SQL,
so I just used the :variable, but not getting any records in the
PL/SQL procedure. Any suggestions?
sincerely,
gjgj / Fedro,
Only using the &referecne, you can pas a string / multiple character values and this would work for query only.
The bind parameter in PL/SQL wouls support only single value
Thanks
The Oracle Reports Team -
How to pass apex item value into custom xml for chart or guage?
Re-opening the old thread : Re: How to pass apex item value into custom xml for chart or guage?
Which was not answered.
Roel - Thanks. Its working - but in a semi quotes in the custom XML
<pointers>
<pointer value= '&P5_RUNNING_TOTAL.'
<label enabled="true">
<position placement_mode="ByPoint" x="50" y="15" />
<format>{%Value}{numDecimals:1}</format>
<background enabled="false" />
</label>
</pointer>
</pointers>This question was helpful for us to resolving one recent thread : AnyChart - set Dial axis intervals dynamically?
(Re: AnyChart - set Dial axis intervals dynamically?
Edited by: P.Ranish on Dec 13, 2012 6:23 AMP.Ranish wrote:
Is there any update for this question ???
Edited by: P.Ranish on Dec 13, 2012 3:36 AMNo, And there won't be in the future.
Please stop posting followup's to old threads, if you have a real problem please search the forum first and post a new question with all information
Roel wrote:
Try using &P5_RUNNING_TOTAL. or #P5_RUNNING_TOTAL#Just to make it clear - this will only work if page is reloaded after setting the item values dynamically via AJAX -
How to pass a variable value into a custom planning function via a web
Can some one tell me
How to pass a variable value into a custom planning function via a web template?
What are the different types of Planning function parameters available and what is the difference between them?
Thanks
babuHi Sutrtha,
Yeah I got the pop up asking to select the variables used, I have selected ENTITY_ID that was used by the interfaces, but on execution of the package the Scenario did not work as the passeed variable #ENTITY_ID is set to 0 instead of the value I am passing.
Am I missing something?
Regards
B -
Pass the Sting value into date array
Hi,
i want to pass the stirng value into date array. how is it possible...
eg.. i am getting the value as sting i.e String str = "10/31/2006";
now i want to store this value into date array.. i.e new Date[]{date};
i want to store that string as date.....
plz help meHi,
i want to pass the stirng value into date array. how
is it possible...
eg.. i am getting the value as sting i.e String
str = "10/31/2006";
now i want to store this value into date array.. i.e
new Date[]{date};
i want to store that string as date.....
plz help meUse java.util.SimpleDateFormat
:) -
How to pass multiple MDX values for a single parameter into a drill-through report?
I'm thinking this will be an easy question for any experienced SSRS/MDX developers, at least I hope so! I've created a report that gives the user the option to choose viewing data for the current/active week, or YTD. Depending on which link the
user selects, the report simply calls itself and needs to pass in the parameter value for Active week. If it's active week, the parameter value will simply be "true". If it's YTD, the parameter value needs to be both "True" and "False" so the current
week's data is accounted for as well. I've set everything up except for the final step, and I have no idea what to type into the Value field below. I've tried different things: false, as you see below (it errors saying I'm missing the parameter
value), the value in MDX format: =[School Dates].[Active Week].&[True] (it said I was missing a bracket), a 1 instead of the word true (again, missing a parameter value). Nothing is working.
So my question is kindof two-fold: 1) how do you pass in the value at all and 2) more specifically, how do you pass in multiple values (both true & false) ??I'm sorry for being so dense, but I'm not quite following, although what I've tried makes me think if I can follow you, it will work :)
To answer your initial questions, you are correct with both your assumptions:
1) detailType is the parameter that specificies YTD/Weekly, this is a "report defined" parameter that I am using to determine which Row Group to display (either YTD or Weekly)
2) SchoolDaysActiveWeek is the parameter that is being set to either true or false -- this is a field in the cube that states whether that record is for the current week or not
So in following your instructions, well that's the problem I'm not quite following :)
1) When you say Delete the SchoolDaysActiveWeek parameter from the report only, do you mean to mark the parameter as Hidden? If so, I've done this.
2) I'm not quite sure where to use the statement you provided me. You said to put it in the dataset, but I don't know which dataset. I assume you mean the "main" dataset (as opposed to the hidden dataset that gets generated when you mark a field
as a parameter). If this is the case, the only place I could see that would allow you to use such a statement is in the Filter section of the properties. I tried this, and it did not generate any errors, but it also kept my report groups from displaying
-- it just showed a blank report, so I think it probably wasn't bringing back any rows to populate them with.
I also tried going into the Expression section for the SchoolDaysActiveWeek parameter in the second screenshot and placing the statement there. When I did this and ran the report, I would get the following error:
The 'SchoolDaysActiveWeek' parameter is missing a value
So what am I missing!?
Also, thanks for taking the time to respond!! -
Displaying data from multiple columns into a single line graph
Post Author: hollowmatrix
CA Forum: WebIntelligence Reporting
Hey,I have an issue with the WEBI reporting.I have a data source that has multiple columns say ( month1, month2, month3, month4,.....month 12, month 13, ....month24) with the sales data for each month.Now say I call the month 1 to month 12 as "current year", and call month 13 - month 24 as "previous year".I want to put a prompt in the report which allows me to select between "current year" and "previous year".Based on the prompt value we get a graph of the sales vs month ....as in if we select "current year", then we get a graph of the sales Vs time( remember that the sales data for each month is in a different column.)and if we select "previous year" then we get a graph of the sales Vs time for previous year..( sales vs time for Month 13, month 14, month 15....month 24).I am not able to pull data from multiple columns into a single object that I can use to populate the graphs.Any help on the same will be appreciated .Hi,
<p>
please click
here (asktom) and look for the words "how about the other way round"
</p> -
Convert multiple lines for same material into a single line in Sales Order
Our company has a requirement, they want if there are multiple lines exist for the same material in sales order and purchase order then it should become like one single line.
10 35712 5pcs
20 100885 10 pcs
30 35712 10pcs
Now our requirement is that should become a single line like this
10 35712 15pcs.
I will Text Removed.
Regards,
Khawar
Message was edited by: G Lakshmipathi
Please dont add such text in your postNow our requirement is that should become a single line like this
Where? Meanwhile, I hope, you would have searched in SCN / Google before posting as it is a basic question and needs to be locked. If searched, specify clearly what efforts you took to find out solution to your requirement.
G. Lakshmipathi -
Pulling multiple variables into a single line?
There really seems like an easy fix to this, but I'm just not finding it on my own here.
Here's my setup: I've got four variables that are pulling data from our system: Customer Address, City, State, and Zip - for some silly reason we do not have a single variable for all of these combined.
As such, I'm trying to include all of thee variables in one field, this is what I've got set up as of now:
Four Invisible fields that pull this data into the form individually
One field titled "Customer_Address Line"
A formcalc line with the following data:
Customer_Address_Line = CUSTOMER_ADDRESS + CUSTOMER_CITY + CUSTOMER_CATE + CUSTOMER_ZIPCODE
I've tried various different methods to try to get this to print correctly but in the end I've only managed to confuse myself.
The best I can get is only the zipcode to print.
What am I missing???
Any help would be GREATLY appreciated! ThanksRadzmar is right .....you need the concat function to add strings together in FormCalc. Your technique is used with Javascript.
The object names are case sensitive so make sure you have the right case. Also you can put yor cursor in the script editor wher you want the reference to the object placed, then hold down the ctrl key and move your mouse to the desired field (the cursor will change to a V). Now click on the mouse and a reference will be placed in the script editor.
Hope that helps
Paul -
How to pass a Variable value into an ODI Scenario from ODI Package
I have created an Interface that uses the variable #ENTITY_ID for retrieving entity data from the DWH; now I have generated a Scenario from the interface and placed the Scenario in an ODI Package; am not sure how to pass the #ENTITY_ID variable to the ODI Scenario?
Any help is greately appreciated.
Best Regards
BeeHi Sutrtha,
Yeah I got the pop up asking to select the variables used, I have selected ENTITY_ID that was used by the interfaces, but on execution of the package the Scenario did not work as the passeed variable #ENTITY_ID is set to 0 instead of the value I am passing.
Am I missing something?
Regards
B -
Regarding passing selection screen values into internal table
Hi,
I have created one selection screen with fields
<b>POSNR LIKE VBAP-POSNR</b>
<b>SELECT-OPTIONS: s_posnr FOR vbap-posnr.</b>
I had created one internal table as:
<b>DATA: BEGIN OF i_item OCCURS 0,
posnr LIKE vbap-posnr,
END OF i_item.</b>
Now what i want is to pass what ever entries available in <b>s_posnr into i_item</b> internal table.
If user gives 10 in select-screen i_item should have 10,
If user gives 10 to 30 in select-screen i_item should have 10,20,30 entries.
If user gives nothing in s_posnr of selection screen
then i_item should have all the valid item no's[POSNR's]
from respective sales order.
Can anybody tell me how can i solve this issue!
Thanks in advance.
Thanks & Regards,
Prasad.Hi Prasad,
I guess somewhere on your selection screen there is also a parameter for sales order (eg. pa_vbeln)?
Then:
SELECT posnr
FROM vbap
INTO TABLE i_item
WHERE vbeln EQ pa_vbeln
AND posnr IN s_posnr.
Will get all position numbers in your internal table.
Regards,
John. -
How to store all the columns values into one single column
Hi All,
this is my file layout,i am receiving the data in below format only
emp_no,c1,c2,c3,c4,c5
100 ,1 ,0 ,1 ,0,1
200 ,1 ,0 ,1 ,0,1
300 ,1 ,0 ,1 ,0,1
but i want to store that above data into my table like(from c1 to c5 columns values i want to store in period column)
emp_no,period
100 ,1
100 ,0
100 ,1
100 ,0
100 ,1
200 ,1
200 ,0
200 ,1
200 ,0
200 ,1
300 ,1
300 ,0
300 ,1
300 ,0
300 ,1
please help meStrange but this is it
Processing ...
with original as (
select 100 as id ,1 as v1,0 as v2,1 as v3,0 as v4,1 as v5
from dual
union all
select 200 ,1 ,0 ,1 ,0,1
from dual
union all
select 300 ,1 ,0 ,1 ,0,1
from dual
select id,v1 as res_row
from original
union all
select id,v2
from original
union all
select id,v3
from original
union all
select id,v4
from original
union all
select id,v5
from original
ID RES_ROW
100 1
200 1
300 1
100 0
200 0
300 0
100 1
200 1
300 1
100 0
200 0
300 0
100 1
200 1
300 1
15 row(s) retrievedBye Alessandro -
Passing a variable value into a parameter
Here's a general example (not all of the code):
_global.xPosition = function(whichMc:MovieClip,
xStart:Number, xEnd:Number):Void {
new Tween (whichMc, "_x", Strong.easeOut, xStart, xEnd, 1,
true);
function loadFunction(success:Boolean):Void {
if (success) {
var image01ClosedPosition:Number =
this.firstChild.childNodes[0].attributes.imageChangeX;
hit01.onRollOver = function() {
xPosition(img01,image01ClosedPosition,0);
In the XML file, the value I'm pulling in is -29.
If I do a trace of imag01ClosedPosition, I get the correct
value of -29.
If I change the call to the function to read
xPosition(img01,-29,0); this also works
I just cant seem to get it to work the way I have it above.
(I know I left a lot out, but just wanted to give an idea of
the part that's not working.)Thanks, kglad. I was wondering about that. I thought that
putting a variable data type of :Number would have made it a
number, but I never got an error in the debugger so I thought it
was ok. I traced the data type and figured out it was actually a
string and changed the line like follows which turned the string to
an integer and made it work:
var image01ClosedPosition:Number =
parseInt(RootNode1.attributes.imageChangeX); -
Want to fetch two rows values into a single sql result
Let me first explain the situation first
I am having two tables
1. Animal_details(animal_id,and other details)
2. Animal_weight(animal_id,seq_no,weight,date_weighed)
here actually situation is that for each weight I am inserting a new row with seq_no say
1 for first weight
2 for second weight ....
with their weight and date
eg. animal_id = 1, seq_no = 1, weight = 200, date_weighed = 12-may-2000;
animal_id = 1, seq_no = 2, weight = 250, date_weighed = 12-june-2000;
means seq_no = 1 represents 1st weight of animals
seq_no = 2 represents 2nd weight of the animals
like this an animal can have any no. of times weighted.
now what I want is that I want to show a result with
animal_id,weight_1,weight_2 with other animal details in a single row
how can I have both first weight and the second or more weights in same row for any animal?
Please Reply soon, Its urgent.
ThanksYou can't issue an SQL with 100% dynamic column list. What you can do is issues something like:
with t as (
select animal_id,
max(case seq_no = 1 then weight end) first_weight,
max(case seq_no = 2 then weight end) second_weight,
max(case seq_no = 3 then weight end) third_weight
from animal _weight
where seq_no <= 3
group by animal_id
select t1.animal_id,
first_weight,
second_weight,
third_weight,
other_details
from t t1,
animal_details t2
where t2.animal_id = t1.animal_id
/SY.
Maybe you are looking for
-
How do I move photos from my ipad to a computer
I have 21,000 pictures on my ipad that I need to move quickly and easily to my computer. Any ideas? Thanks, Sam
-
Xorg 1.5.3, nvidia twinview won't use samsung monitor
I've had a dual head setup going for sometime with no issues, but just got a new monitor that I can not get working with X. I'm currently using nvida drivers version 180.22 I have a laptop docked with the laptop screen and a second monitor as my dual
-
Error while using BAPI_SHIPMENT_CHANGE?
Hi all, I am using BAPI_SHIPMENT_CHANGE to change shipment details like FwdAgent , GC / Way Bill N and Dead Line Tab from Planning to Shiment end. I am getting following error... in BAPI Return .. Action table and data table have different numbers of
-
Can I validate input parameters and throw a message to user that parameters are invalid?
Post Author: ak004 CA Forum: General Hi, I have a report that accepts input parameters. Can I do a front end validation for these parameters and throw a message to the user that the parameters are invalid? Will this work fin if I deply it in infoview
-
[solved] C: What am I missing in this loop/switch?
I'm quite new to C. I'm trying to put together a simple menu (in console), where the program presents a few choices, the user enters a choice, and is then prompted for further information. What I have is this: int main () char selection; char data; w