Reassign text element to a different package?
Hi All,
I want to reassign the program text elements to a different package.
Note: I dont want to reassign program, have to reassign text elements only.
Kindly help.
Thanks,
Navneeth K.
I don't think that is possible. when we talk about a program, there are different components in it (you can see those on the initial screen of SE38 - Variants, Text elements, Attributes, Source Code, Documentation). These go together along with the program. They can't be segregated into different packages.
BTW, what is your requirement to have such a peculiar query?
regards,
Priyank
Similar Messages
-
Changing text element description in Workbook
Hi
We are creating Workbooks, with text elements "Last Refreshed" and "Status of Data" displayed in the report.
Is there a way to change description of these default text elements?
The user wants it changed to "Load Date" and "Run Date" respectively. I'm not sure if it's possible to change the standard text elements.
Thanks!
PoojaHi Pooja,
The answers you have so far are good. Here is an alternative:
Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
Dim rng As Range
On Error Resume Next
Set rng = Range("SAPBEXqueries!" & queryID & "tROLLUPTIME")
If rng Is Nothing Then Exit Sub
rng.Cells(1) = "Load Date"
Set rng = Range("SAPBEXqueries!" & queryID & "tSYUZEIT")
If rng Is Nothing Then Exit Sub
rng.Cells(1) = "Run Date"
End Sub
This will work even if you move the text elements to a different worksheet within the workbook.
- Pete -
Smartforms,How to display different standard Text in a Text element.
In smartform,if I want to according to the different conditions,display one of the serveral different standard Text objects which all maintained in SO10 in a same text element,how to do it?
if i put them in serval text elements, each condition only display the corresponding text element,but the text content can not display in the same position.
Is there anyone can tell me?
thanks.use Alternative to control it no problem
for example you want to display the different SO10 to same position TEMPLATE's row 1 col2
TEMPLATE1
Alternative case1
YES
INCLUDE TEXT1(display SO10) [set output option line1 column2]
NO
Alternative case2
YES
INCLUDE TEXT2(display SO10) [set output option line1 column2]
NO
Alternative case3
every case your SO10's text is always display at line2 column2
just try to test it ,you can know -
Print different text elements on the same line
Hi all,
1.
Is it possible to print different text elements on the same line ? with multiple write_form
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'TITLE1'
WINDOW = 'INFO'
EXCEPTIONS
ELEMENT = 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'TITLE2'
function = 'APPEND'
WINDOW = 'INFO'
EXCEPTIONS
ELEMENT = 1.
How to print TITLE1 and TITLE2 on the same line ?
TITLE2 in bold.
2. How to print 2 text elements on the same line with include statement ?
/: include test1 ...
/: include test2
Thanks
Edited by: Moo Yac on Sep 22, 2008 8:23 AMTo be more specific :
I want to print the following
Text_symbol1:$Var1$ Text_symbol:$Var2$
on the same line.
where Text_symbol1 and Text Symbol2 are defined in SO10 for different languages.
Thanks. -
How can I get the content of a text element to insert in a different block
I have two blocks. The first one (block_control) is a non based block with a text element (EXERCICE). When I go to the second block (block_data) and I want to insert a new record, I need in my record the value of EXERCICE who is in the first block (block_control). How can I get this balue if I want to be able to do an execute_query too on the second block ? Because if I use pre-block or post-block or when-new-record-instance trigger to make the content of EXERCICE follow from block_control to block_data in a hidden field, I can't execute_query.
Thank'sFirst , when you want to insert a record in the second block , override the default commit_form processing and create a commit-form trigger which is called by a button to commit your form. The when-button-pressed trigger of this button should be : do_key('commit_form'); . And you create the key-commit trigger on the second block. Inside the key-commit trigger write this :
:second_block.item_name := name_in('block_control_name.exercice');
commit_form;
In this way you get the exercice data into your record.
Secondly, in the post-query trigger of the second block, set the exercice column of the second block to the exercice column of the block_control.
And that's it. -
Text elements and key figures with multiple restrictions
Hi,
I'd like to display text elements in my query according to the restricted key figures in it. There is a restricted key figure used multiple times with different base of restriction. (For exmple Sales in the past week and yesterday.)
KF restricted by <i>actual calendar week</i>, and
KF restricted by <i>actual calendar day</i>
When displaying text elements, only calendar week appears, however, if KF restricted by calendar week is removed from the query, calendar day is being displayed. (I suppose that both time characteristics are taken as filter values.)
Is that possible to display both filter values at once? Or at least calendar day meanwhile still having the week-based restriction in the query?
Thanx in advance,
GaborOne option would be to not use the *MVAL keyword and load the amount and quantity in separate Data Manager package imports wherby you can easily assign the NA to the appropriate dimension. When you import amount -- assign NA to P_UNIT and when you import quantity -- assign NA to P_CURRENCY.
However I suppose you would prefer to have one import process. Unfortunately I think you will have to find an ABAP custom solution by calling the END_Routine BADI from the transformation file to deal with the currency and unit dimensions.
Best regards,
[Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
SAP Labs, LLC
BusinessObjects Division
Americas Applications Regional Implementation Group (RIG) -
Error in Assignment of Text Elements of Report to Transport
Hi All,
I have transported few reports to Quality system however the texts elements associated with those reports have not transported to Quality system .
Now I am trying to assign these text elements to new Transport however I am getting error while activation and messgae just displays " Error in Activation " .
The Original system of these reports is different from my current development system. The Transport Layer of Package and Transport is same.
Please advice . Thanks.Hi,
Try to transport the text-elements along with the report to the quality server. Save and activate the text-elements and the report in the same transport request and then transport to quality system.
Regards,
Vik -
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 -
Problem in line items(text elements printing) in smartform
Hi all
Here iam printing line item data in invoice form
around 7 fields(text elements) iam having the fileds are displaying one by one
I need to diplay all 7 fields one after another with some gaps in the same line
can u please let me know how to do it with text elements
thank youHi,
create a table. In once line type(Line type 1) create 7 different cells (Columns) for a single row.
For eg:
Line typ1 : cell1 cell2 cell3 cell4 cell5 cell6 cell 7.
cell1 : &mara-matnr&
cell2 : &mara-ersda&.
like soon in 7 different cells.
Br,
Laxmi. -
Smartform u0096 SO10 Vs Text Elements for Lang translation
Hi,
I have lot of text elements to be created in smartform, which needs to be translated in different languages. I would like to know the best approach. Is it better to create S010 objects and have them maintained in different language or is it better to maintain as text elements and then get them translated via SE63.
Can some please suggest the best approach with reason for the same?
Thanks,
Vimalhi
It is better to create in SO10 because if you want those elements in feature for any other purpose you can directly use those text elements.
regards
sreelatha gullapalli -
Use of text element in function module
hi friends what is the use of text element i.e list headings, selection texts,text symbols in a function module. where a can see these things after giving some text into it and activated.
kumar.hi
<b>Text Symbols</b>
A text symbol is a named data object that is generated when you start the program from the texts in the text pool of the ABAP program. It always has the data type c. Its field length is that of the text in the text pool.
Text symbols, along with the program title, list headings, and selection texts, belong to the text elements of a program. Text elements allow you to create language-independent programs. Any text that the program sends to the screen can be stored as a text element in a text pool. Different text pools can be created for different languages. When a text element is changed or translated, there is no need to change the actual program code. Text elements in an ABAP program are stored in the ABAP Editor (see Text Element Maintenance).
In the text pool, each text symbol is identified by a three-character ID. Text symbols have a content, an occupied length, and a maximum length.
Examples for text symbols in an ABAP program:
ID
Contents
Occupied length
Maximum length
010
Text symbol 010
15
132
030
Text symbol 030
15
100
AAA
Text symbol AAA
15
15
In the program, you can address text symbols using the following form:
text-###
This data object contains the text of the text symbol with ID ### in the logon language of the user. Its field length is the same as the maximum length of the text symbol. Unfilled characters are filled up with spaces. You can address text symbols anywhere in a program where it is also possible to address a variable.
If there is no text symbol ### in the text pool for the logon language, the name text-### addresses the predefined data object space instead.
You can also address text symbols as follows:
... 'textliteral'(###) ...
If the text symbol ### exists in the text pool for the logon language, this is the same as using text-###. Otherwise, the literal 'textliteral' is used as the contents of the text symbol. This is only possible at positions in the program where a variable can occur. You can create a text symbol for any text literal by double-clicking the literal in the ABAP Editor and replacing the literal with the text symbol.
You should use text symbols in your program whenever they need to be language-specific - for example, in a WRITEstatement.
If you program a list whose layout depends on field lengths, you should be careful, since the field length of text symbols will be different in different languages. You should therefore set the maximum field length of the field symbol so that there is enough space to translate it into other languages. For example, the English word 'program' has seven letters, but its equivalent German translation 'Programm' has eight.
The following example shows the use of text symbols in WRITE statements.
SET BLANK LINES ON.
WRITE: text-010,
/ text-aaa,
/ text-020,
/ 'Default Text 030'(030),
/ 'Default Text 040'(040).
If the text symbols of the above screen shots are linked to this program, the output looks as follows:
Text symbols 020 and 040 have no text symbols. For text symbol 020, the system displays a space. This is only displayed in this case because the blank line suppression has been turned off (see Creating Blank Lines).
regards
ravish
<b>plz reward if helpful</b> -
Maintain text in report in different languages
Hi Gurus!
I have a report in different languages. Now when user logins in different languages, I want him only see English in GUI in that specific report. How do I do that? I don't want to re-translate again all the text in text elements and selection text.
Thanks!HI
Remove all the text-element and place the values in terms of constant.
Regards,
Naresh -
How to copy a text element to another in sapscript
Question
Have a bug in the system and need to copy an existing text element to a new one.
How do you do this.
I have found the text elelement in tihe MAIN window - the code /E 510-C <-- this needs to be copied to a new text element called /E 510-A. I can cust and paste this into the text element screen But doesn't the 510-A refer to some text created via SO10? But then doesn't sapscript require you to use an include to get the text in there?
HELP - 2 days from go -live here!!
Thanks and big points to who can ever help!Text elements are specified with "/E". These are different from STANDARD TEXT objects that you define in SO10 and reference with the INCLUDE statment.
Text elements are called from the ABAP print program. If you copy text element 510-C to 510-A, the ABAP print program has to call element 510-A to execute the statements in this section.
Are you dealing with errors from a syntax check? -
How to remove 'Empty Demarcation' in Text Elements.
Dear All,
To remove 'Empty demarcation' in the WAD output, I had modified the standard program - SAPLRSSV (for this i took access key from SAP).
The text element : 301 was changed to blank and it worked.
Recently we had a support package upgrade to SAPKW70018. With this upgrade my previous change to the program got reverted back and so i need to do the change again.
However, I'm not able to retrieve the list of Text elements for this program (SAPLRSSV). I open the program and when i go to Text element, following message is displayed :
"Untranslated texts from master language DE will also be displayed"
But no list (no text elements) is displayed.
My question : How do i retrieve this list and can i use the same acess key again or do i need to take another one from SAP.
Regards,
Nagendra.Sorry, I was referring to the incorrect program SAPLRSSV instead of SAPLRRSV. The problem has been resolved.
Regards,
Nagendra.
Maybe you are looking for
-
Autocommit and Cursor commit Behaviour
Hi, I need help to set and get the Autocommit and Cursor commit behavior attributes in Oracle. AUTOCOMMIT: For DDL Statement, this attribute is set while executing the OCIStmtExecute() api as below:- r = OCIStmtExecute(d->svc, d->sql, d->err, 1,0, (C
-
thats it, the question is the title so....
-
Delete button for some photos in the moments tab is disabled
Several of my photos after the ios8 update are unable to be deleted. I select them but the trash button is disabled. If I open them individually the trash button is not there in the bottom right. Please help. very annoying.
-
How to stop automative events in my calendar on IPhone5
Could someone help me with this please. My son borrowed my MacBook Pro and now I am getting automatic events added to my Iphone5 calendar for every new European football fixture. I'm not sure how to disable this but would appreciate some advice.
-
Spry Conflicts with LightBox and ThickBox?
i have tried to use both Lightbox2 and Thickbox on a page with a Spry dataset and both will not work (they work fine on non-Spry pages). It's just a simple gallery-style page. Any ideas on how to make them compatible?