How to enter more than 132 characters in a Parameters Field
Hi Everyone,
I have a field of type file_table-filename as Parameters in my Selection-screen. The size of the filename is 1024 characters as declared in the structure file_table. But when i am trying to enter the path into this field, its allowing not more than 132 characters....how is it possible to enter more characters? Even in debugging mode the maximum value we can scroll is upto 128/132 characters..if we want more then we should use the Offset option...but how to enter more than 132 chars into this field?
Best regards,
rama
Hai,
I did the same in my program...i get the filename along with the path into this field...but then there is a chance that the User wants to say edit the filename..here comes the problem.
Best regards,
rama
Similar Messages
-
How to display more than 132 characters in a smartform
Hi Experts,
I am reading notes/text entries by calling read_text and then passing them in a variable. I want to display the notes. But even after declaring the variable as LINE2048, it is displaying only 255characters as output length in smartform.
My code:
TYPES: BEGIN OF TYP_FINAL,
PARTNER_NO TYPE BU_PARTNER, "Partner No.
OBJECT_ID TYPE CRMT_OBJECT_ID_DB, "Object ID
PROCESS_TYPE TYPE CRMT_PROCESS_TYPE, "Activity Type
ACTUAL_NOTE TYPE LINE2048, "Actual Notes
END OF TYP_FINAL.
data : T_FINAL TYPE STANDARD TABLE OF TYP_FINAL,
WA_FINAL TYPE TYP_FINAL.
data: v_actualnote TYPE LINE2048.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = C_0002
LANGUAGE = sy-langu
NAME = l_name1
OBJECT = C_BUT000
TABLES
LINES = t_line
EXCEPTIONS
ID = 1
LANGUAGE = 2
IF SY-SUBRC = 0.
clear: v_accountnote.
LOOP AT T_LINE INTO WA_LINE.
CONCATENATE v_accountnote wa_line INTO v_accountnote SEPARATED BY space.
clear: wa_line.
ENDLOOP.
wa_final-account_note = v_accountnote.
clear: v_accountnote.
ENDIF.
On the smartformm side, under main window->loop->text(to display the variables).
How to display more than 255 characters in a smartform.
Regards,
Sangeeta.why the heck would you use read_text when you want to print a text/note on a form?
in SAP-Script we use the "INCLUDE"-Statement for this.
and in smartforms a Text-node of type 'I'.
you can not write all in one line and expect the system to handle this like a floating text.
one character takes a cretain amount of space (varying for different characters and font and font sizes).
you Page has a certain width, so where is the miracle in the thesis that on a sheet of paper with a certain width just a certain amount of characters will fit? -
How to put more than 1200 characters in a text form within a pdf created in Adobe Acrobat
I need to know how to put more than 1200 characters in a text form within a pdf created in Adobe Acrobat. I have a request from a customer to do so and after googling I have came up with nothing. Also the customer would like it if they could convert said pdf form to a microsoft word document with the text form.
There's no limit on the number of characters you can enter into a text
field, unless you set it as such. -
How to read more than 132 char using Read_Text Fn. Module
Hi,
I am using Fn. Module <b>Read_Text</b> in my program, but the fn. module is only retrieving 132char data and remaining data is getting truncated. In my case Text size is more than 132char...pls, let me Know, how can i get entire text or i have to use any other Fn. ModuleHi,
In READ_TEXT function module, TLINE structure has the component TDLINE with 132 characters. So, u can't read more than 132 characters. If u want to read more than that, u have to write FM of ur own which can read more than 132 characters. -
How to enter more than one bind variable
Hello,
i use bind-variables to pass parameters from one application to another through links. On the SQL-Query-Tab it says that i can enter more than one bind-variable, but i don't know how to do it.
my sql-statement looks like this:
SELECT column
FROM schema.table_name
WHERE v_variable = :bind_variable
I don't want to put a second bind-variable in the where-clause.
thank you
Ralf SchmittHi Marcel,
thanks for your help.
What I want to do is pass a parameter to a report that is not part of the select-statement
Example: a simple blackboard
User selects a category and receives a list of items in that category. now i want to pass the category_id AND the category_name.
The select on category_id produces the item-list, the category_name is shown in the header of the html-page.
A question to the code you submitted:
WHERE v_variable in (:bind_variable1, :bind_variable2, :bind_variable3 etc)
is v_variable an array? How do i select with such a where-clause?
Thank you,
Ralf -
How to accomodate more than 255 characters in character field
HI All
i need to accomodate more than 255 characters in character field. How can i do that ?
thanks in advance!!!Hi,
You can try the following things:
1. Use a datatype STRING and check it will work.
2. In se11 transaction goto datatype and search for char* in data elements.
You will find predefined data types ,you can make use of it.
For eg. char2000,char3000,char4000 etc.
Hope this will help.
Regards,
Nitin. -
How to handle more than 250 characters in excel attachment
hi,
i lokesh, actually i am sending a excel attachment through mail. i am using " SO_DOCUMENT_SEND_API1" function module, one problem what i facing is , this function module handle only 250 characters, i need to display more than 250 characters. pls any one knows about this, pls let me know.
regards
lokesh tHi,
Xls allows only 250 char.
Cheers -
How can I retrieve more than 256 characters from a longtext field?
I have a longtext field in an ACCESS database. I have setup a datasource for the DB and access it with the JDBC:ODBC driver. When I used the simple resultset.getString, it only gave me the first 256 characters of the contents of the field. So, I looked at the other methods and found that resultset.getAsciiStream was the way to go for longtext fields. So I changed the resultset.getString line to the following code:
InputStream msgIn = rs.getAsciiStream("RAW_MESSAGE");
StringBuffer stringbuffer = new StringBuffer();;
int inbyte = 1;
try {
while (inbyte > 0) {
inbyte = msgIn.read();
stringbuffer.append((char)inbyte);
} catch (IOException ex) {
ex.printStackTrace();
String msg = stringbuffer.toString();
Unfortunately, after 256 characters I get a -1 returned. The field contains more like 1000 characters. I would appreciate any advice.
ThanksFound the "Search Entire Library" option - click on the small (VERY small for my eyesight) down arrow next to the magnifying glass. Also need to select "Filter by: Songs", and then the songs in the main window show the results.
I'm going to leave this up on the board because 1) in case someone else has this question, and 2) I don't know how to delete it anyway. -
How to display more than 255 characters in the report
Hi all,
In my program, i try to output a variable type c length 500 in the report. But this report still keep on display 255 characters only although i had set the line-size to 500.
Is there any method output all characters?
thanks,
JaniceHi Janice Yeoh,
I am assuming this is classical report......And just need to do is increase the line-size in report statement. Find below for small example which i ve tried..
REPORT ytest1 LINE-SIZE 500.
DATA : BEGIN OF it OCCURS 500,
v TYPE c,
END OF it.
DO 503 TIMES.
IF sy-index = 500.
WRITE '500'.
ELSE.
WRITE : 'X' NO-GAP.
ENDIF.
ENDDO.
Dont forgot to Reward me points .....All the very best....
Regards,
Sreenivasa sarma K. -
Calendar - how to enter more than one event per date and show it in the Month display?
I would like to enter multiple events (two, anyway) for a single day in the calendar. I would also like that Month view to display the two events. So far, all I've been able to do is enter a single event; in fact, only a single line for the single event. If I enter in Notes, they're not displayed in the Month view. Thank you.
I assume that you are tapping the + sign to enter additional events and that is not working so try quitting the app and restart the iPad.
Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button. -
How to store more than 4000 characters in a table
I have a requirement to store 4000+ character string in the table. CLOB and BLOB does not allow me as it has limitations of 4000 characters.
Any suggestions please.declare
l clob;
begin
l:= '111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111';
update table_name
set column_name = l;
commit;
end;
This works fine.
We are using Pentaho to insert records so using pl/sql is not appropriate. -
How to increase alv field more than 128 characters
Hi Experts,
I want to display more than 128 characters in alv grid field. If I enter more than 128 characters it will restricted to 128 characters, how to increase that size.
Thanks & Regards,
Hemanth Reddy.Hello Hemanth,
Kindly go through the below link. Hope it helps u.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/600bc84a-a369-2e10-3dbf-f51d8aec2b58&overridelayout=true
Thanks -
Display more than 255 characters in SAP 4.6c version.
Hi
Can anyone tell me how to display more than 255 characters in the spool log of sap or the application server?
Thanks in advance.
GeetaHi,
You have to have some patch.Pls refer to SAP oss notes 626010.
Pls reward if useful.
Sushil. -
Displaying more than 4000 characters
Hi
I have a report which would display a CLOB field having text of length around 32000 characters.
I tried to use DBMS_LOB.SUBSTR(<field_name>,32000,1) on the query so that it shows the text at least till 32000 characters on the report but it keeps returning an error ORA-06502 PL/SQL: numeric or value error string - character string buffer too small whenever it is more than 4000 characters in that particular field.
Can anyone pls suggest any solution ASAP?
Thanks
ArnabYou can split your clob in varchar2 4000 drop table tab1;
create table tab1 (
clsplit_id number(10) NOT NULL,
clsplit_type1val CLOB NULL,
clsplit_type2val CLOB NULL
drop type some_list;
drop type my_t;
create type my_t as object
id1 number,
clob_type number,
no_clob_lines number,
clob_line number,
clob_data varchar2(80)
show errors
create type some_list as table of my_t
show errors
insert into tab1 values(1, 'a0123456789b0123456789c0123456789d0123456789e0123456789f0123456789leftover',
'a9876543210b9876543210c9876543210d9876543210e9876543210f9876543210leftover');
insert into tab1 values(2, '0aaaaaaaaaa1bbbbbbbbbb2cccccccccc3dddddddddd4eeeeeeeeee5ffffffffff',
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
insert into tab1 values(3, 'first has data, second null', null);
insert into tab1 values(4, null, 'first null second has data');
insert into tab1 values(5, 'short lob', 'short lob');
commit;
create or replace function some_func return some_list pipelined is
num_allowed_chars number := 4000;
clob1_len number;
clob2_len number;
loop_counter number;
col_name varchar2(100);
current_line number;
i integer;
out_rec my_t := my_t(NULL,NULL,NULL,NULL,NULL);
begin
for c1 in ( select clsplit_id, clsplit_type1val, clsplit_type2val from tab1 )
loop
-- get first clob
if c1.clsplit_type1val is not null then
clob1_len := dbms_lob.getlength(c1.clsplit_type1val);
if clob1_len > num_allowed_chars then
for i in 1..ceil(clob1_len/num_allowed_chars) loop
out_rec.id1 := c1.clsplit_id;
out_rec.clob_type := 1;
out_rec.no_clob_lines := ceil(clob1_len/num_allowed_chars);
out_rec.clob_line := i;
out_rec.clob_data := substr(c1.clsplit_type1val,( i * num_allowed_chars ) - num_allowed_chars + 1,num_allowed_chars);
pipe row(out_rec);
end loop;
else
out_rec.id1 := c1.clsplit_id;
out_rec.clob_type := 1;
out_rec.no_clob_lines := 1;
out_rec.clob_line := 1;
out_rec.clob_data := c1.clsplit_type1val;
pipe row(out_rec);
end if;
end if;
-- get second clob
if c1.clsplit_type2val is not null then
clob2_len := dbms_lob.getlength(c1.clsplit_type2val);
if clob2_len > num_allowed_chars then
for i in 1..ceil(clob2_len/num_allowed_chars) loop
out_rec.id1 := c1.clsplit_id;
out_rec.clob_type := 2;
out_rec.no_clob_lines := ceil(clob2_len/num_allowed_chars);
out_rec.clob_line := i;
out_rec.clob_data := substr(c1.clsplit_type2val,( i * num_allowed_chars ) - num_allowed_chars + 1,num_allowed_chars);
pipe row(out_rec);
end loop;
else
out_rec.id1 := c1.clsplit_id;
out_rec.clob_type := 2;
out_rec.no_clob_lines := 1;
out_rec.clob_line := 1;
out_rec.clob_data := c1.clsplit_type2val;
pipe row(out_rec);
end if;
end if;
end loop;
return;
end;
show errors
select * from
table(select some_func() from dual)
order by 1,2,4; -
How to declare and read a variable more than 255 characters
Hi Friends,
Actually i want to declare a variable which can accepts more than 255 characters as input and the same manner i want to read the data and pass the data as a output length more than 255 characters.
So how can i delcare the data as a field in the table.
Thanks & Regards
GuptaHi Raj,
Thanks for your reply, please privide the further clarification actually by declaring a variable as string i can able to pass 1023 characters form selection screen like that i passed the data to the three varibles and i concatenated those three varibles in to single varible now is there any way to pass the result into the smartform.
Please give me some techincal stuff on this
Regards
Gupta
Maybe you are looking for
-
Hp envy ultrabook 6-1070el Beats audio problem
Hi, I'm running Windows 8 Pro 64-bit on my new envy ultrabook 6-1070el, and I've noticed that sometimes, when i'm listening to something, the beats speakers make a strange noise, so, i tried to unistall the IDT audio driver, and the problem stopped,
-
Live! 24 bit will no longer burn cd's with new bur
Problem: I bought a better cd burner and now Creative Mediasource says that no supported burner is found installed. My computer sees it. It plays dvd's as advertised. Old burner: Optiwrite (no name cheapie) New burner: Sony model CRX320AE My computer
-
Upgrading to Windows 7 with Robohelp for Word X5
Currently using Robohelp for Word X5 on Windows XP Professional with Microsoft Office 2003. I'm a consultant and my client's IT department is planning to upgrade to Windows 7. Does anyone know if X5 will work with Windows 7? Thanks, Brenda Hutch Cons
-
Nokia 5230 - Issues in adding Contacts to message
Hii, I bought a new Nokia 5230 and transferred all the data(contacts, messages etc) from my previous phone. I am facing some issues to send message. When I add a contact from my phone book to the 'To' field, the contact is not getting added. That is
-
New IE activeX issues and FScommand
Hi! Im fixing the new MS IE behaviour about restricting non-MS activeX content. Probbably many of you guys are in the same task these days... Anyway, I followed this article: http://www.macromedia.com/devnet/activecontent/articles/devletter.html Ever