Text element issue
hi,
Hi,
In a custom trasaction , I have text element . When I transport that text upper regions , I am not able to see in transaction.
But I can see that text in the Text-symbols( Program->GOTO--> text-symbols)
let me know any suggestions.
thnks.
HI,
The text symbols are language depended. It means if you have only English version of the text symbols they will not be displayed for a user
who works for example with DE log-on language. For translating the text symbols you have to use Goto->Translation in SE80 while you have opened the given program (not its include! just the main program...).
When you transport program texts it always transports every languages defined. It is done by transporting of the object REPT. But when the program is just created then the transport will consist of object PROG and this includes the program texts automatically.
I hope this helps...
Cheers,
Chandra Sekhar.
Similar Messages
-
Issue in text element in Bex after transport
Hi All,
I'm facing an issue in text element assigned to Fiscal year .
In Bex design mode ,I introduced text element and I choosed the "Display Current fiscal year(Variable/Key)" in Development system and after releasing the design mode Im seeing the year in numbers, say 2010(user entered year).
Now I transported to Quality system when checking the report Im seeing the year is changed to text format, that is "'Cal. Year, 4 Special Periods 2010" and in design mode > text element property> "Display Current fiscal year(Variable/text)" is checked.
Could anyone help me why this change happening from one system to another system.
Thanks in advance
Rgds
JayasriHi Jayasri,
Restrict your report on fiscal year variant( eg K4).
Thanks,
Kalyan. -
Issue with if condition in smartform text elements
Hi all.
iam having a problem in smart forms
itab has 3 fields
id matnr werks
1 a p1
1 b p2
1 c p3
2 b l1
2 c l2
3 q u1
3 l u2
i neead output like in the smart form
-id = 1-
a p1
b p2
c p3
-id = 2-
b l1
c l2
-id = 3-
q u1
l u2
I have aloop in main window
itab into wa_itab.
then i have program lines
iam writing any perform statment insted iam write the code in here
input paramters wa_itab-id
output paramters id
i declared id type zabc-id under global data in global definations
CLEAR : ID.
ON CHANGE OF WA_itab-ID.
*BREAK point.
ID = WA_ITab-iD.
ENDON.
after the program lines i have a text
/: if &id& ne ' '.
---id = &id& ---
/: endif
&wa_itab-matnr& &wa_itab-werks&
now i see the output
-id = 1-
a p1
-id=- i don't need this (&id& has no value)
b p2
-id=- i don't need this
c p3
-id = 2-
b l1
-id=- i don't need this
c l2
-id = 3-
q u1
-id=- i don't need this
l u2
I checked my code if two items have same id the id has no value and you can see the output also
but for some reason its still goinng into the if condition
And also is there away that i can debugg my text elements like in scripts. my break point doesn't take me to the text elements
Thanks1. Move only the ID into one internal table say i_id,
2. Now in your smartform, create a table and loop at i_id into wa_id.
3.Print your ID in a text, &wa_id-id&
3. Now in main area of the table Create a loop with the internal table you mentioned above with 3 elements, say, i_data into wa_data give CONDITION as wa_data-id = wa_id-id.
4. Print your other values &wa_data-matnr& &wa_data-werks&
5. outside main area, clear the work areas.
This should work fine as i use the same logic in one of my current developments!!! -
Addition of extra Space issue in site studio text element
Hi,
we have implemented WCM for our website. We are in webcenter PS3 version.
At places where we have used text element for titles of various sections,
if we append one extra space and save it, it displays as in front end.
When we remove the space, it does not clear. But if we cut and paste once the word once again it is perfect.
Is there any solution to trim that space when it is displayed at front end. Please suggest.
Regards,
Bhaskarenclose your text element with strTrimWs.
Removes spaces from the beginning and end of a string. -
Issue with printing of multiple text elements in main window
Hi experts,
I have developed a sales order form in SAP script.
I hv got two text elements in the main window. n i m calling these two text elements by using two write form functions in d print program.
The first text element is gettin called n d relevant fields in dat particular text element is being displyed. (Window - Main)
My problem is dat the second text element for the same main window is not gettin called n its relevant fields r not gettin displayed.
Plz help me to solve the querry.
Its urgent.
Thanks n Regards,
PurvaHi,
Are you testing that from in same client where you developed, else make sure that after each change you need to transport the form to testing client.
second thing is check with code did you mention the same text element in window editor and in the program.
Reward if useful,
Thanks,
Sreeram. -
Issues regarding Transporting the Custom codes and Text Elements
I created a custom t-code and had some text elements for my ABAP program in DEV, I transported quality an it worked , but when i transport it production it did not transport the custom code and the text elements. Can u guys give me steps to take for the custom code and the text to be transported sucessfully??
Hi,
Please check whether the Tcode and Text elements are assigned to the particular Transport Request number. If it is an enhancement that Tcode and Text elements might be there in QA before itself and so this is working. You need to add the TCode manually while transporting the request and transport it to QA and PRD.
Thanks and Regards
Sowmmya VB -
Text elements not centered anymore once project goes live
Hi guys,
I've discovered Edge Animate a few days ago and I really love that it looks and feels a lot like After Effects - you should exchange and implement some functions of EA to AE (i.e. the curves easing options) & vice versa though
What I went through, until know
First of all, I am a Worpdress user using a responsive theme and the Edge Suite plug in.
I've created a typo animation using a custom licensed web font and it took me a while to get it to work properly - the web-kit generated by the myfonts.com kit builder didnt' work with EA, so I had to let fontsquirrel create one instead. Now, the SVG font file gets exported upon export, but the EOT, WOFF and TTF files don't - not sure if it's a bug, but it's an easy thing to copy the files via FTP to the "../uploads/edge_suite/project/..." folder in order to fix this.
My Problem
After uploading the animation to my server via the Edge Suite plug in, approx. 50% of the text elements are not in the right place anymore. The affected elements are all offset by a fixed amount of pixels vertically, while they actually should be centered. When I run the HTML file of the exported web animation locally, everything's fine though.
The problem occurs in Chrome, Safari, Firefox and on the iPhone.
Has anyone experienced a similar issue?
WillIt seems like it is related to Wordpress or the Edge Suite plug in.
HTML
I've uploaded the animation (using web publishing) to a folder on my server, and everything is fine.
Wordpress
I have analysed the code of the animation being rendered on my Wordpress site, but the CSS coordinates all correspond to the parameters inside EA.
I've also installed the Edge Suite plug on a different Wordpress installation (a complete different site) of mine, and the results are even worse. It seems like the origin of some elements is being tossed around space.
That said, I'm clueless. -
Dump error when clicked on text elements in SAP Script window
Hi All,
There is an inclusion in SAP Script. I have written the code in driver program. I need to pass the value to SAP Script in the requested position. But when I go to SE71 > Form Name > Change or Display > MAIN Window > Text Elements > I get a dump error.
Category ABAP Programming Error
Runtime Errors DATA_LENGTH_TOO_LARGE
Except. CX_SY_RANGE_OUT_OF_BOUNDS
ABAP Program SAPLSTXK
Application Component BC-SRV-SCR
Date and Time 30.04.2014 20:00:08
Short text
Invalid partial field access: Length is too large
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLSTXK" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS', was not
caught in
procedure "TOKEN_COMMENT" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
In the executed program "SAPLSTXK", the system attempted to access the field
"ITF_TOKEN" of the type "C" and with the length 255 using the length 272.
However, a partial field access with a length specification that is
larger than the field length is not allowed.
How to correct the error
Reduce the length used to access the field.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DATA_LENGTH_TOO_LARGE" "CX_SY_RANGE_OUT_OF_BOUNDS"
"SAPLSTXK" or "LSTXKFRN"
"TOKEN_COMMENT"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
2937 * todo empty comment ???
2938 if g_tm_open eq true or " Section
2939 g_tm_b_close eq true.
2940 l_token = '\chcbpat0'.
2941 l_len = strlen( l_token ).
2942 token_control = true.
2943 assign l_token to <itf1>.
2944 perform put_itf1_new using l_len.
2945 perform token_line_begin changing l_next_token.
2946 else. " without section
2947 concatenate '\chcbpat0\line' g_cf_string l_cbpat_token into l_token.
2948 l_len = strlen( l_token ).
2949 token_control = true.
2950 assign l_token to <itf1>.
2951 perform put_itf1_new using l_len.
2952 endif.
2953 elseif l_next_token-code eq ')L'. " \par
2954 l_token = '\par'.
2955 l_len = strlen( l_token ).
2956 token_control = true.
2957 assign l_token to <itf1>.
2958 perform put_itf1_new using l_len.
2959 elseif l_next_token-code eq '(C' or " \par + format
2960 l_next_token-code eq ')C' or
2961 l_next_token-code eq '(&' or
2962 l_next_token-code eq 'TA' or
2963 l_next_token-code eq 'SC' or
2964 l_next_token-code eq 'ST'.
2965 concatenate '\chcbpat0\par' g_pf_string g_cf_string l_cbpat_token into l_token.
2966 l_len = strlen( l_token ).
>>>>> itf_token(l_len) = l_token.
2968 token_control = true.
2969 assign l_token to <itf1>.
2970 perform put_itf1_new using l_len.
2971 endif.
2972
2973 * Step 7: (L to disarm
2974 if g_compose eq true and
2975 l_next_token-code eq '(L'.
2976 perform read_next_itf_token(rstxscan) using p_token.
2977 endif.
2978
2979 ENDFORM. " token_comment
2980 *&---------------------------------------------------------------------*
2981 *& Form create_lang_info
2982 *&---------------------------------------------------------------------*
2983 * add default language to rtf
2984 *----------------------------------------------------------------------*
2985 * -->P_HEADER text
2986 * <--P_RESULT text
How do I open the text elements? I need to pass the variable inside SAP Script.
Please Help. The requirement is pending from very long. Not able to rectify this issue.
Regards,
RekhaHi,
There is a SAP Note about this problem
566794 - Runtime error: STRING_OFFSET_TOO_LARGE during conversion
Correction Instructions
Correction Instructions
Software Component
Valid from
Valid to
Number
SAP_BASIS
46B
46D
473267
SAP_BASIS
610
620
473185
Support Packages & Patches
Support Packages
Software Component
Release
Support Package
SAP_BASIS
46B
SAPKB46B48
46C
SAPKB46C39
46D
SAPKB46D28
610
SAPKB61027
620
SAPKB62014
Regards
Miguel -
Get (variable) file path and name in a text element
How do you get the (variable) file path and name in a text element (label) in LCD? If you save the PDF and afterwards relocate it, it should update the values. Is that actually possible?
Does anyone have any advice on this issue?
Thanks in advance,
Zack H. -
Query Text elements in the query
Hello all,
I have the following issue .. The multi provider has three cubes.. And the two cubes executed on 10th of this month and the other cube on 11th. The query is executed on 11th, in the text elements in the recent date it shows 10th with the last executed cubes instead it is showing 11th with the recent load of the cube... When the query is executed in the text elements for the Response date suppose to be the recent date 11th, it is showing old date 10th.. We have 7.0 system and the query and objects are 3.5 version.. please suggest me solution.
Thank you in advance.
Aryause function module READ_TEXT
FUNCTION MODULES
http://www.erpgenie.com/abap/functions.htm
http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
http://www.erpgenie.com/abap/index.htm
http://www.geocities.com/victorav15/sapr3/abapfun.html
Rewards if useful....................
Minal -
Hy all,
i'm having a strange issue in trasporting text element in Quality landscape, i have insert an include in the user exit ZXM02U12,
i have to text that are in SAPLXM02, but i can't include the SAPLXM02 in my CR. I try in all the way i know but there is no way to transport it.
Any idea to how to transport those texts?
ThanksHi,
Select the CR in se10 transaction and click on the "Include objects" button in the tool bar. Now give your required program name and include it in the CR.
Regards,
Harish -
Text elements not displayng for upgraded 7.x worbook
Hi Experts,
I have migrated a 3.x workbook to 7.x worbook. In 3.x I have text elements for variable in my layout.. After migration the text elements for variables are not displaying and they are blank in 7.x workbook. Is there any equelent opton for text elements option in a workbook in BI 7.0 as it is in BW 3.5 in the layout menu
Please respond to this if you have same issue.
Thanks
BhanuYeah DB,
when you Upgrade from 3.5 to 7.0 follow the below procedure ,
Open 3.x WB.
Click okie on upgrade options and on the messages.
Refresh your WB, enter required varaibles ( by default variables should bring some data if 'Save and reuse varaibles option is ticked in 3.x WB' ) - there is some problem with this variables in SP14(Back end)
Now save your WB - will give u an pop up to save it .Click okie.
Close and reopen your WB , change varaibles and see still you are missing your text elements or not ?
Regards
KK -
How to Remove Blank spaces in the text elements for a smartform
Hi All,
Can any one please help me out to remove the blank spaces in the text elements.
We are printing Labels using the Zebra Printer and we have rotated the windows to 90 degrees.
We are able to see out text and barcodes. But the issues is when we are printing the label. We are getting spaces in the Text and in the Text elements fields. I have tried to give &g_name(C)&. But it is not working even i worked with style sheet spaces no luck.
Currently out text and fields are printing like this
s h r i y a n
material number
1111 -001 -000
They should print like
shriyan
1111-001-000
According to the ZEBRA suggestions we are using the font helve.
Plase help us it is very urgent.
Reward point will be given.
ThanksHi,
Just use Condense g_name inside the program lines.
Just to see how it behaves put a hard breakpoint.
Break Username. and check the condense statement.
condense <your field> no-gaps.
Create program lines ahead of printing. give the field you want to condense in the input and output parameters of the program lines.
Use condense inside the program lines.
Thanks,
Vamshi. -
Text element with line item content and include text
Hi All,
How to write in smartform in single text element with line item content and include text.I am using this text element in table . Pls help me out. i am writing the include command in text element ,but this command is not enough for single line of text editor.
thanks ,
Rakesh singhI have been pulling my hair out for a few days trying to find
this solution. This fixed my problems as well.
I was getting ready to scrap the Report Builder altogether
and move to SQL Server Reporting Services over this issue.
I'm running 7.0.2 also, that version alone fixed many small
issues like creating borders and such.
Thanks -
Hello All,
We have a custom smartform...which is working fine...only issue arrives when we transport it to the quality system...the font of the text element changes when we print the forms...in dev system the fonts are big and it prints the big words...but in quality system...the text prints out in small size....the printer is same...i mean we print the form from same printer...any ideas where to look and what to look for??
Thanks...hi i think u need to transport ur text modules & styles what u have used in ur smartforms .
if the problem is resolved plss
inform me
Maybe you are looking for
-
Need suggestion on image storing in SQL Server
Hi All, I want to store image into a column. I would like to know which datatype is the best to store image and which file format(bmp,jpg,png,...) is the best to store and to retrieve.We are using SQL Server 2005 Enterprise Edition. Waiting for v
-
Data refreshed when preview in XLF but not refreshed in exported SWF
Hi,, I have an XML file linked to Exel which is the source of an XLF file. All connections are OK and I am able to see the latest data are being refreshed when I preview the XLF file.But when I exported the XLF file to SWF file, the error 2048 occure
-
Are you Know function which import excel file
Please let me know how I can import excel file my alv grid with all colours and all fields headers. etc..
-
Script to disable Client for Microsoft Networks and File and Print Sharing for Microsoft Networks
Hi, I am trying to find a way of using a batch file or vbscript to disable Client for Microsoft Networks and File and Print Sharing for Microsoft Networks on a Network Interface Controller. I've done some searching on the internet and I can see some
-
Dear All, I have installed oracle 11g 2 edition with OWB option , and i am not able to access design center after configuring a repository with the repository assistant.. Please help