How to define the lenght of a variable more than 10k
Hi All,
I am developing scripts with eCATT /QTP tool .
I am fetching a huge data from QTP more than 10k charaters , and now i am not able to receive completely into eCATT variable as i am able to define the lenth of a eCATT variable till 9999 can anyone kindly suggest a way to increase the lenght of the variable .
regards
harsha
Yes yes ... it does work ... but 'G' changes to 'g' and the paramter reference becomes 'STRING' ..
For some reason, this is made lowercase while other datatypes are in uppercase.
Similar Messages
-
How to use the same credit card for more than one customer master
Hi,
this is a question for consultants at least a little familiar with SAP business partner, Customer-vendor-intergration cvi, contract accounting:
My customer wants to store the same credit card with more than one customer. Arguments are that family members or partners may mutually agree to use the same credit card for their distinct purchases.
I never tried with amazon or the likes but I know that SAP validates the uniqueness of credit cards.
I found 6 code line where the message (V/)005 "Payment card &1 &2 is already assigned to customer &3" prohibits duplicate assignment.
Even if I create a couple of enhancements to suppress the error, I don't know how the system will work.
The customer does not like the idea of using alternative payer.
Did you ever face the same problem and how did you solve it?
Much Thanks in advance
Best regards
Clemensthanks
-
I have a File to IDOC Message Mapping Scenario:
Source Field Targefield
Communiication Address-(Email ID) E1EDK2 - TDLINE
Source Field length: 1/80 target Field length: Char\70
Mapping Condition:
Note: TDFORMAT = ‘=’ (Long Line), may need to create 2 TDLINE fields depending on length of text
So give the Solution for handling text Length exceed than target field lenght Using TDLNE and TDFORMAT......
Guide me and give Suggestions to achive this.Hi ,
Below is the generic sol for your problem .Graphical mappings wont workout for your problem while using sub string .
Input -->Input string
Length -->length of TDLINE
MESSAGE_V1,V2,V3,V4....depends on how many TDLINES you expect .Here I have taken 4 .
public void SplitbyLength(String[] Input, String[] Length, ResultList MESSAGE_V1, ResultList MESSAGE_V2, ResultList MESSAGE_V3, ResultList MESSAGE_V4, Container container) throws StreamTransformationException{
int lengthVal = Integer.parseInt(Length[0]);
int InpLenVal ;
for(int i=0;i<Input.length;i++)
InpLenVal =Input[i].length() ;
if (InpLenVal<=lengthVal)
MESSAGE_V1.addValue(Input[i].substring(0));
MESSAGE_V2.addValue(ResultList.SUPPRESS);
MESSAGE_V3.addValue(ResultList.SUPPRESS);
MESSAGE_V4.addValue(ResultList.SUPPRESS);
else if ((InpLenVal>lengthVal) && (InpLenVal <= (lengthVal*2)))
MESSAGE_V1.addValue(Input[i].substring(0,lengthVal));
MESSAGE_V2.addValue(Input[i].substring(lengthVal,InpLenVal));
MESSAGE_V3.addValue(ResultList.SUPPRESS);
MESSAGE_V4.addValue(ResultList.SUPPRESS);
else if ((InpLenVal>(lengthVal*2)) && (InpLenVal <= (lengthVal*3)))
MESSAGE_V1.addValue(Input[i].substring(0,lengthVal));
MESSAGE_V2.addValue(Input[i].substring(lengthVal,(lengthVal*2)));
MESSAGE_V3.addValue(Input[i].substring((lengthVal*2),InpLenVal));
MESSAGE_V4.addValue(ResultList.SUPPRESS);
else if (Input[i].length()>(lengthVal*3) && (InpLenVal <= (lengthVal*4)))
MESSAGE_V1.addValue(Input[i].substring(0,lengthVal));
MESSAGE_V2.addValue(Input[i].substring(lengthVal,(lengthVal*2)));
MESSAGE_V3.addValue(Input[i].substring((lengthVal*2),(lengthVal*3)));
MESSAGE_V4.addValue(Input[i].substring((lengthVal*3),InpLenVal));
else if (Input[i].length()>(lengthVal*4) )
MESSAGE_V1.addValue(Input[i].substring(0,lengthVal));
MESSAGE_V2.addValue(Input[i].substring(lengthVal,(lengthVal*2)));
MESSAGE_V3.addValue(Input[i].substring((lengthVal*2),(lengthVal*3)));
MESSAGE_V4.addValue(Input[i].substring((lengthVal*3),(lengthVal*4)));
Regards
Venkat -
How to make the new iTunes Radio play more than 2 songs without stopping?
I just upgraded to the latest version of iTunes (11.1.3 (8)) on my Macbook Pro and now the radio stations aren't working! It worked flawlessly before the upgrade! I've searched everywhere for troubleshooting tips and found many, many users with the same problem, but no response from Apple. I'm running OS 10.8.5 - is this the issue?
I can listen to maybe two songs before it stops playing. My internet connection is fine and I never experienced this problem before the upgrade. Also, I hate how you can't see a list of stations. I've searched and added some of my favorite stations I knew about from before, however, they are playing completely different music? How can this be?
Thanks!I just found the answer. iTunes will play consecutively the songs that are checked, if Controls --> Repeat Off is checked. When I asked the question I had unchecked all songs.
-
How to display the date from callender for more than one date format items
i have one form which contains many date format items. i want to show the calendar and take the date from calendar.
i am successfully show the calendar and take the date from calendar for one date item.
my problem is i want to do same for all date format items in the form
can any one help me?
thanksMaybe you could provide more information.
What calendar ? what item works ? what other don't ?
is the issue in the different format masks ?
Please elaborate more your situation.
Francoisit is not the issue of different format masks.
i created a block which name is jbeanblock. in this block item is bean. bean has one trigger when_custom_item_event.
the code of this trigger is :
DECLARE
eventName varchar2(30) := :system.custom_item_event;
eventValues ParamList;
eventValueType number;
LC$Date varchar2(256);
LC$Day varchar2(256);
LC$Month varchar2(256);
LC$Year varchar2(256);
v_date date;
BEGIN
IF (eventName='CALENDAR_EVENT') THEN
eventValues := get_parameter_list(:system.custom_item_event_parameters);
get_parameter_attr(eventValues,'CALENDAR_EVENT_DATE',eventValueType, LC$Date);
get_parameter_attr(eventValues,'CALENDAR_EVENT_DAY',eventValueType, LC$Day);
get_parameter_attr(eventValues,'CALENDAR_EVENT_MONTH',eventValueType, LC$Month);
get_parameter_attr(eventValues,'CALENDAR_EVENT_YEAR',eventValueType, LC$Year);
Clear_Message;
select to_date(LC$Day||'/'||LC$Month||'/'||LC$Year,'dd/mm/yyyy') into v_date from dual;
:ds_employee.hiredate:=v_date;
synchronize ;
END IF;
END;
hiredate is the item of the ds_employee table. hiredate has trigger when_new_item_instance. The code is
Set_Custom_Property('JBEANBLOK.BEAN',1, 'SHOW_CALENDAR','50,50');
ds_employee is my table name. which has 2 date items. one is hiredate and another is date_of_birth.
for hiredate it is working. if i want to do same thing for date_of_birth also then how can we do? -
How to get the value of a variable defined in javascript in JSP
how to get the value of a variable defined in javascript in/through JSP????
In Javascript you can use the DOM to access the input element and set it's value before submitting the form. Then it's value will just be passed.
-
How to get the value of a variable in FOX?
Hi,
In the FOX program how to get the value of a variable defined in planning area?
can anyone give me some sample code?
thanksAdding to the last reply,
you can use VARI(variable) to get the count of the values.
In the latest version of BPS, you may also use the following new foreach construct:
FOREACH var IN VARIABLE variable_id.
Regards - Ravi -
How to find the value of a variable in other program
How to find the value of a variable in other program say I am in a FM and this FM is being called in from other program and I want to know some of the variable details of the program from the FM itself. Imagine if this is a txn. and I need to know the details from some of the programs while executing the same transaction
Regards
VinHi Vinayak,
you will be having your first program values in internal table or some variables,
when you are calling the second program you wii use like this,
SUBMIT <Second Program Name> USING SELECTION-SCREEN '1000'
WITH s_emp(second program select-options) IN t_emp(first program variables)
WITH p_chk EQ t_chk
WITH p_r1 EQ t_r1
WITH p_month EQ t_month
WITH s_cust1 IN t_cust1
WITH p_r2 EQ t_r2
WITH s_cust2 IN t_cust2
WITH s_week IN t_week
AND RETURN.
you have pas like this to get your first program details. -
How to transport the BW query's variable to BO webi report
Hi all
I'd like to know how to transport the BW query's variable to BO 's webi . today ,I created a sap customer varible in my bw system to get the max calmonth in the active table.The varible in the BW side run's well ,but I use this query to build a new univers ,and created a new webi report base on this univers ,but the question is the webi report can't get the varible's value I wann to know how to transport the bw varible value to BO webi report
Thanks and regards,
Peter .zhuI have changed my variaable in my bw query ,I found if you use SAP default variable it is ok in BO side . So I get a guidline by SAP default variable ,I changed my customer variable in variables edite ,don't use 'ready for input' .And then the variable can be useful in BO side .
Edited by: peter zhu on Jun 16, 2008 11:43 AM -
How to define the date format for this date string
2006-11-13 00:00:00.0
How to define the date format in control file for sqlldr. "yyyy-mm-dd hh24:mi:ss" or "yyyy-mm-dd hh24:mi:ss.FF1" does not work
thanks,SQL> desc t
Name Null? Type
TS TIMESTAMP(6)
SQL> !cat t.ctl
load data
into table t
truncate
(ts timestamp "YYYY-MM-DD HH24:MI:SS.FF1")
SQL> !cat t.dat
2006-11-13 00:00:00.0
SQL> !sqlldr userid=scott/tiger control=t.ctl data=t.dat log=t.log
SQL*Loader: Release 10.2.0.3.0 - Production on Fri Sep 7 11:19:28 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Commit point reached - logical record count 1
SQL> select * from t;
TS
13-NOV-06 12.00.00.000000 AMBest regards
Maxim -
How to define the application parameter 'sap.xss.BaseConfigurationID'
Hello All,
I am developing a webdynpro ESS custom self service application. I have completed the development of the DC. But at the end when I am creating the application for the DC, I am not able to figure it out how to define the application parameter 'sap.xss.BaseConfigurationID' for the application. I have defined remaining all the parameters as specified in the following link.
[http://help.sap.com/erp2005_ehp_03/helpdata/EN/43/3b95dab4ab1800e10000000a1553f6/content.htm]
Could any one please detail the process to define the parameter 'sap.xss.BaseConfigurationID' ?
Thanks a lot.
Regards,
Seshu.Pick a representative file.
Get info. (Command-i)
There you will see a place "Open with" where you can select the application for that file.
Hit the "Change all..." button to do this for all files of this type.
charlie -
How to define the default activity for an unbounded task flow?
In the new "Fusion Developer’s Guide for Oracle Application Development Framework 11g Release 1" documentation at the bottom of page 14-3 it states "An unbounded task flow .... contains a default activity, an activity designated as the first to run in the unbounded task flow, because an unbounded task flow does not have a single point of entry."
What I can't find is how to define the default activity in an unbounded task flow and where this is recorded? Can we set this via the task flow diagrammer, and which configuration file is it stored?
I note the first time I run the application with an unbounded task flow a dialog asks me which of the activities in the adfc-config.xml file to make the default, but I can't find where this is recorded.
Anybody have any ideas?
Thanks,
CM.Chris,
In fact this information is nothing that belongs into the taskflow meta data because unbounded taskflow have more than one entry point and there is no notion of default. Its a tools setting (JDeveloper) we had before
Frank
Message was edited by:
Frank Nimphius -
How to define the margins of a leaf in numbers 3.2
how to define the margins of a leaf in numbers 3.2
leaves appear without margin and not when moving from one sheet to anotherHi Ariel,
Numbers 3 does not show margins in normal (edit) view. Some help with layout:
Try Alignment Guides and Rulers as suggested here:
Print View workarounds
Use a layout guide:
Layout Guide for Numbers
If you previously had Numbers 2.3 (Numbers '09) it now lives in a folder called iWork '09 inside your Applications folder. It works just as well as it used to, and has a proper Print View.
Regards,
Ian. -
How to know the type of a variable??
how to know the type of a variable??
For example, give you a variable s, how to determine if it is
a primitive type, of an object?? If this is primitive type,
any ways to determine if it is integer, boolean, double, ...??I am currently working on a project where this happens. I have a main type of object that all of my other types extend. While working on the objects in a method, any type of other object could be coming through. To test I try to cast the object and catch class cast exceptions. This only works because I know the different type that will be coming through....
public void testObject(classX object){
try{
classY object = (classY)object;
}catch(ClassCastException CC){
try{
classZ object = (classZ)object;
}catch(ClassCastException CCC){
/// the object fails to be cast as the types I tested for.
} -
How to access the Custom Data type variable given in Expression edit control To and From LabVIEW
Hello, I would like to know how to access the custom data type variable given in the Espression Edit Control from LabVIEW and vice-versa
Say, the FileGlobals.Reference_Handle (Custom Data Type Variable) contains the
VISA I/O session (Which in turn contains VISA_DeviceName: String, Session: Number),
Channel1: Number and
Channel2: Number
I am expecting the user to give FileGlobals.Reference_Handle as the input at the ExpressionEdit Control in the edit screen of the VI Call.
I would like to know how to get the values of this custom data type to LabVIEW?
Say, if I have the Cluster in LabVIEW like VISA I/O session (Deive Name and Session Number), Channel1 and Channel2
how do i need to set this cluster to the Custom Data type variable in TestStand?
Thanks and Regards
PrakashHi,
TestStand to LabVIEW: i didnt understand what you r trying to achieve. But if you are using references, Use Property nodes and Invoke nodes to achieve what you want in LabVIEW.
LabVIEW to TestStand: check the image below: You need to click the button next to 'container'. I have used a cluster output in the VI.
Hope this helps
.......^___________________^
....../ '---_BOT ____________ ]
...../_==O;;;;;;;;_______.:/
Attachments:
1.JPG 187 KB
Maybe you are looking for
-
I signed on for a chat with someone, waited 15 minutes and then it closed with no one appearing and is now telling me to quit my browser and start again which I do not want to do as I have a load of windows open I need to keep available
-
Where is the File 'Tropical_7.tga'?
A few days ago I created a project using "beachresort_title" under Titles & Text > Travel > Beach Resort. The title seems to work as expected, however every single time I open the project file I get this window ("Where is the File 'Tropical_7.tga'?")
-
Have tried to restore a bookmarks file (I have a dozen or so) but I get the message "unable to process the back up file". Clicking the "star" to add a new bookmark appears to work until I click "show all bookmarks" which reveals a still empty library
-
Hello, Do you know if it is possible to use IXOS repository with DMS? Thanks in advance. Regards, Ricardo Inácio
-
Reposting Question about WAR files because...
... because I am truly at my wits end and almost out of time for this project. My apologies. Can someone please help? Thanks. +===================== I know this should be trivial but it is just not working for me... I have a (Tomcat 3.2.3) applicatio