Text elements changed in production
Dear experts,
The selection text in text elements are fine in development and quality system but in production it show technichal names what might be the reason it is showing technical names.
Shilpa,
It happens some times.Now you just make a small change in the Report Texts in Development,save it in a request and tranport it to Quality and Production.
You can even manually tag the report texts to a transport request as below
Select your request in SE09
Double click on the request
Click on CHANGE (Ctrl+F1)
Click on the OBJECTS TAB
In the table Control that you are seeing,in
PROG ID give it as LIMU
OBJECT TYPE give it as REPT
OBJECT NAME give the program name
Save
K.Kiran
Similar Messages
-
How to call new window and text element without changing print program
Hi Friends,
I have requirement like this . i have a standard print prog and custom form. i want add 2 to 3 extra windows in the form and i have to print some data. but how can v do this with out changing the print program. i know that to pick new fields through subroutines. but how can v call new windows and new text elements with out changing the print program.
usually in the print program we write as follows.
write_form
window = 'HEADER'
textelemtn = 'HEADER'
can we accomplish this one also through subroutines or any other way is there.
can any one pls suggest this.
Thanks in advance.
Rahulu copy the standard print program and make custom program.
write your own codes in it.
assign this program in the place of standard print program.
Reward points, if helpful. -
How to change the font size of text element in smartform
Hi
i want to know how to change the font size of text element in smartform
regards
GincyHi
You can create Smartstyles, in which you can define paragraph formats for texts and character formats for character level changes.
Paragraph format ---> alignment, font size etc
character format for ---> superscript, subscript.
After creating, in your smartform, there will be a option in the text element to enter a style.
You give the created style and you can use the paragraph and character formats i that style.
Hope this is clear..
Regards
Sekar -
How to change general attribute of text element
hi
who now how to change general attribute of text element on screen dinamically? I wish to change text value dinamically for example.Hi Denis,
I am not too sure on what you want.
If you require that the text value be different based on some conditions you can declare as many text elements as conditions and call the relevant text element.
But I dont think that you can assign dynamic texts to a single text element.
Regards,
Saurabh -
How can i change the sequence of text element in standard driver program ?
Hi,
can u tell me how can i change the sequence of text element in standard sapscript driver program.. without making a zcopy of standard driver program.
My problem is when MEDRUCK form is getting printed for PO print , header text is coming before item. But the requirement is to come it after item.So how cani do that without making the zcopy of SAPLMEDRUCK program..Is there any enhancement point in SAPLMEDRUCK driver program..where i can put my customise code for changing the sequence of text element ?Hi,
Just copy the MEDRUCK to ZMEDRUCK. No need to copy the driver program.
1) SE71Menu > Utilities > COpy from Client
MEDRUCK ->>Client 000
New formname ZMEDRUCK
2) Now open the ZMEDRUCK in DE language in SE71
3) Menu > Utilities > Convert original Language
Change DE to EN, save and activate
4) Now open the ZMEDRUCK in EN language
5) Goto Pagewindows > Main window,
Look for the HEADER text Text element, copy the whole code under this Text element just after the ITEM text Text element, and comment the HEADER text above.
Now the Header text Text element will be below ITEM text only. This will full fill your requirment.
Now goto NACE transaction and add the copied ZMEDRUCK to the EF application.
Regards
Bala Krishna -
Smartforms - Change a text elements character Format
Hello,
I need to modify a Smartform by increasing the font size on some text elements. When I highlight the text element to change and then click the dropdown for Character Format I can click the format I would like but it never changes.
I've also tried resetting the character formats but it always gets back to it orginal size/settings.
How can I change the character format in a text element?
Thanks,
MattIt appears I have to delete the field then change the character format to the font I want and finally drop the field back into place on the screen.
If there is another way to do it, I never found it.
Switching to the classic editor may work as well. Worth trying.
Thanks,
Matt -
Change text of Text Symbol in Text Elements ......
Hi all,
Who can tell me we can change it or not. Ex: I have ALV with Text Symbol of column 1 as Text-C01: 'Column 1' . Now I want to change Text-C01 with other text as 'ABC' by coding in program. How to do it !? Thanks .changing text-element by dynamically is not possible
a® -
Changing the text element in RM08RL82
Hi All,
I have added the field(BEDNR) in RM08RL82.Now i need to change the text element in selection screen but it is showing BEDNR i need change that into Tracking Number.Could any one can help me out from this issue.
Thank You,
Usha.Guse below f.m
data: lt_btext type textpool occurs 1 with header line.
CALL FUNCTION 'RS_TEXTPOOL_READ'
EXPORTING
OBJECTNAME = v_program
ACTION = ' '
LANGUAGE = SY-LANGU
TABLES
TPOOL = lt_btext
EXCEPTIONS
OBJECT_NOT_FOUND = 1
PERMISSION_FAILURE = 2
INVALID_PROGRAM_TYPE = 3
ERROR_OCCURED = 4
ACTION_CANCELLED = 5
OTHERS = 6.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
read table lt_btext with key id = 'S' key = lt_selopt-selname.
lt_btext-entry = 'TRACKING NO'.
modify table.
Edited by: Niki on Jan 24, 2009 12:02 PM -
Changes in the Text element of Bex Analyzer result Informaton tab
Hi Expert,
How can we make changes in the display of the Text element of the query result in the Information tab and save it? For eg. The User wants to display STATUS OF DATA TO rather than STATUS OF DATA in the Information tab of the query result.
The query is based on Multiprovider so it has Text Element of STATUS OF DATA
In the Workbook its easy to do, how do we do the changes in the query result in Analyzer and save it, so it always displays the chosen text element?
I dont want to create a workbook for the query, so is there any way to replace any of the Text Element with another existing standard Text element.Hi Ray,
Thanks for your reply.
The change is required in the Text element of information tab (once query is displayed there are buttons for Graph, Information), so the changes are required there for the text element and not for Characterstics and KF. -
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 -
Not able to delete text elements.
Hello
I copied a z report from production server to development server by copying the code in se38.
now system is no allowing me to delete a text element for parameter.
SELECTION-SCREEN BEGIN OF BLOCK b4 with frame title text-012.
PARAMETERS: P_YEAR TYPE GJAHR OBLIGATORY DEFAULT 2014, " Year
P_MONTH TYPE FCMNR AS LISTBOX VISIBLE LENGTH 20 , " Month
P_COMP TYPE BUKRS OBLIGATORY DEFAULT 1000. " Company Code
SELECT-OPTIONS S_PLANT FOR vbrp-werks." Plant
"""PARAMETERS: P_FKART AS CHECKBOX . " Billing Document
SELECTION-SCREEN END OF BLOCK b4.
here my requirement is to disable PARAMETER : P_FKART and disable corresponding text element in system.
i tried:
1. deleting the text element row for p_fkart but it appears again when i save the text element.
2.commenting the complete selection block and writing new selection block with text-012.system is taking same text element when i double click.
thanks.Hi faizur,
first of all: Programm changes are made in development system. not in produktion System. the transport oder is development system -> quality system -> production system.
in your first statement above, you wrote
"i tried commenting every line,which contains p_fkart.But system is not allowing me to activate the program."
why shouldn't you be able to activate a programm when it is not caused by a syntax error?
I mean deleting a selection-parameter from the selection-screen is basic stuff... as written above you normaly dont delete, you set it as "NO DISPLAY".
when you got your programm activated again (and got rid of all the syntax errors you caused with the deletion) . Dont forget to activate the Text-Elements as well and it should work...
regards
Stefan Seeburger -
Linking a dataset to text elements
Hello,
I have a page with two regions: for my report and for changing a data set. The query definition of the report has two joins for the tables "person", "product" and "distribution".
Below the report there is another region. In this region there are text elements for creating a new data set or for editing a data set which you chose in the report.
In the tab "report attributes" I have defined a link for the table column "person_id" which directs to the text element "PersonID" in the second region. When you click on "person_id" in the report, the values of the columns of the data set in the report should be shown in the corresponding text fields below. For each text field I have defined the column name as data source.
Unfortunately when I click"person_id" only the PersonID is shown in the text fields.
The other fields remain empty.
MarkHello,
I have a page with two regions: for my report and for changing a data set. The query definition of the report has two joins for the tables "person", "product" and "distribution".
Below the report there is another region. In this region there are text elements for creating a new data set or for editing a data set which you chose in the report.
In the tab "report attributes" I have defined a link for the table column "person_id" which directs to the text element "PersonID" in the second region. When you click on "person_id" in the report, the values of the columns of the data set in the report should be shown in the corresponding text fields below. For each text field I have defined the column name as data source.
Unfortunately when I click"person_id" only the PersonID is shown in the text fields.
The other fields remain empty.
Mark -
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!!! -
Text element not gettin refreshed in smart form
Hi
Text element does not get refreshed in the smart form preview.
I have a selection screen on which i have a few selection parameters and three application
toolbar buttons. "Save" , "Preview" and "Print". At the end of selection screen I have a
button "text" which when clicked takes me to the text element editor(FM 'TEXT_EDIT' )
I have to enter a project number on the selection screen, enter all other details and
then click on the "Text" button. I would then change /edit some text etc and come back
to sel screen. Now i click on preview , the smart form shows up and the text gets dispalyed
with the modified text.
I am passing the text name by appending "sometext" + project number to the TEXT_EDIT
and while eiditing and as a parameter to the smart form. In the smart form i have given the variable in the "include text".
Now Herez the problem.
I am still in selection screen and clik on the "text" button and it takes me to the
text editor. Now i add more lines, save and come back. Now i clik on preview
button and it displays the old text data.
When i come out of the transaction and renter , clik on the preview it displays data
correctly. Now if i repeat the steps
1.edit text button , add a few lines
2.preview button, shows data as entered in step 1.
3.edit text button, add few more lines
4.preview button .. the text displays is from step 1 and not 3.
I am not sure if this is lot of info for anybody to write an answer straight away but
if u need more info i can provide. I can do a read_text in the smart form but its toooooo
much of a pain for the data i need to display. million adjustments to be taken care of.
What could be the problem ? I have given all the basic settings like save parameter
in edit_text fm , checked all the print preview options in sdn.
Here are my questions
1. Why is the text element not getting refreshed.
2. After a form is displayed for preview , will it store anywhere in the buffer ? if yes
is there any method to clear it ?Hi,
The problem is not with text elements, it might be your size of window which you are using to display the text elements. Check your window size and modify that accordingly.
Cheers,
Bujji -
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
Maybe you are looking for
-
How can I put more than One ComboBox in the Driving Frame of a Frame Driver
Hi, I am working with a Frame Driver and I want that in the Driving Frame put more than one ComboBox to filter the report, for example, I want to put one combobox for City, another for Year, and another for Month, and when the user select the City, Y
-
Hi My test flow goes like this : 1. Show a message prompt to the user to connect the test setup. 2.Open the exe in minimized mode and then open subwindows in that (Like opening internet explorer and then opening submenu like Tools--> Internet Options
-
Total sales values by material and plant
Hi, I was trying to extract the following information: material number, plant, total sales qty(2006), and total sales amount(2006) from sap table. So, can any one help me with the table or a report where in I can find all this information. Thanks Put
-
Dear Sir, I am Student and Learnind SAP Basis. I want to know how to uninstall the SAP from system?
-
How the solution manager is realated to SAP BW
Hi experts! Well!! I have been given a task to work on solution manager 4.0 and make it useful for SAP BI. so I have a few questions. 1) Does basis person look after the config and authorizations? 2) I have been told to include the system change requ