Sapscript text Element Problem
Hi i have this following form AP checks which is not printing one of the line which it used to. I made some changes on other windows but for some reason it stopped print the text line it used to.
Here is the part of the code in the main window that's not printing...
/E 513
/* ------------------ Payment on behalf of --------------------------------
AS Payment is made on behalf of ®UD-ABSTX&,
®UD-ABSOR&.
/E 514
/* ------------------ Signature -------------------------------------------
/: INCLUDE ®UD-TXTUN& OBJECT TEXT ID ADRS
I need to print the line where it says "Payment is made on...."
Can any one tell me what are those /E 513 is?
They have all these numbers infront of a small paragraph.
I am guessing some program is calling the paragraphs by those numbers as the paragraph in the program doesn't appear they way it appears in the printout.
Please help.
TEXT ELEMENTS WITH NAMES
You recognize named text elements by the paragraph format /E. Such a paragraph may look like this:
The character string NAME represents the name of the text element. This name can be up to 30 characters long and may consist of letters, digits and/or special characters. The name is followed by the text lines of this text element. The end of a text element definition is marked by the beginning of the next text element (the next /E line).
Note that names of text elements are valid only locally. That is, different windows may contain text elements with the same names.
To output named text elements, you must use the interface function module WRITE_FORM, which is called in the print program.
The example below shows text elements for a column heading within an invoice (AS indicates the standard paragraph format and , , indicates the tab):
You can output named text elements only in the windows, in which they are defined. For this reason, you need in the interface function module WRITE_FORM, apart from the name of the text element, the name of the window in which the text element is defined. You call the interface function module from within the print program.
http://abapprogramming.blogspot.com/2007/10/sap-script-2.html
Regards,
Amit
Similar Messages
-
Hi ,
In print program there is a text element 525.
I am using that text element to print the line items in sapscript.
But this 525 text element is not trigered in sapscript.so help me out
to solve this issue.
I am using RFFOUS_C print program to print DD data in F110 transaction.
Thanks.Hi Pandiyan
Did you get the solution for your problem. I am facing the same situation. Text Element 525 is not getting triggered when I am using RFFOUS_C program and a customised script. If you had figured out this problem could you please tell me the solution.
Appreciate your help.
Alok -
Need info about text elements used in Smartform / Sapscript
Hi experts
I am working on Smartform / Sapscript i am facing the problem mentioned below
I want the info regarding all the text elements used in Form / Script
Can u please suggest me the name of table
I have already used STXH table but it is not giving me the all text elements
I mean i want that if i enter some formane ...i should get all the text elment contained in it
Plz help me
ThanksHi Gaurav,
Try out the fn module "READ_TEXT".
Hope it helps you.
Regards,
CS.
Note: Reward points if helpful. -
Problem: Create SO with BAPI_SALESORDER_CREATEFROMDAT2 & Head-Text Elements
Hi all,
I hape that sb can help me with my problem.
I have created a ABAP-Program to create sales-orders with the function module:
BAPI_SALESORDER_CREATEFROMDAT2
Everythiunk works fine but I can not create text-elements (from the head) with this bapi.
I know that I have to use the table "ORDER_TEXT" but I do not know how to fill this table.
Can anybody help me?
Best regards,
pb974Hi,
yes, you have to fill the order_text table. The following fields you have to fill:
DOC_NUMBER
-> not to fill, let it blank
ITM_NUMBER
-> if you want to create a header-text then fill ITM_NUMBER with '000000'
-> if you want to create a position-text then fill the related position-number '000010' or '000020'....
TEXT_ID
-> fill this field with the text-id for which you want to create the text.
-> The text-id must be defined in your customizing
LANGU
-> set the language for the text: 'E' or 'D' or......
LANGU_ISO
-> let it blank
FORMAT_COL
-> set a star (*) if you want to have the standard-format. If you have a special format defined in SapScript or in a Style you can set this one.
TEXT_LINE
-> fill in the text
FUNCTION
-> let it blank
see below:
data: i_text LIKE bapisdtext OCCURS 0 WITH HEADER LINE.
Texte...
CLEAR i_text.
i_text-itm_number = '000010'. "Text for Position 10
i_text-text_id = 'ZA10'. "Defined Text-ID
i_text-langu = 'D'. "Language German
i_text-format_col = '*'. "Standardformat
i_text-text_line = 'This is text for Pos. 10 - line 2'. "the text
APPEND i_text.
...if your text has more then one row... the same one to do...
i_text-itm_number = '000010'. "Text for Position 10
i_text-text_id = 'ZA10'. "Defined Text-ID
i_text-langu = 'D'. "Language German
i_text-format_col = '*'. "Standardformat
i_text-text_line = 'This is text for Pos. 10 - line 2'. "the text
APPEND i_text.
...and so one...
and now text for position 20...
CLEAR i_text.
i_text-itm_number = '000020'. "Text for Position 20
i_text-text_id = 'ZA10'. "Defined Text-ID
i_text-langu = 'D'. "Language German
i_text-format_col = '*'. "Standardformat
i_text-text_line = 'Text für Pos. 20 - Zeile 1'. "the text
APPEND i_text.
...and now the text for position in englisch
i_text-itm_number = '000020'. "Text for Position 20
i_text-text_id = 'ZA10'. "Defined Text-ID
i_text-langu = 'E'. "Language German
i_text-format_col = '*'. "Standardformat
i_text-text_line = 'This is text for Pos. 20 - line 1'. "the text
APPEND i_text.
I hope it's a help for you.
Erhard -
In which table the lines of the SAPScript form text elements are found?
Hello,
I want to write a report analyzing the lines contained in the text elements of an SAPScript form. From which table can I select the data? Regards.
Lars.Sorry.. forgot to mention the FM name.
You can use FM 'READ_TEXT'.
pass 'ST' for ID.
and 'TEXT' for OBJECT
and pass the name of text element to NAME u will get the
text element. -
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? -
Problem in transporting the text elements for user exit EXIT_SAPLV09A_002
Hi All,
I am facing a problem in transporting the text element (text symbol) for the exit EXIT_SAPLV09A_002. It is implemented and transported but the text elements are not transported and even if I try to delete them and then create them again, on activation it doesn't prompts for TO and it version its shows it as local object. I have tried to manually assign the TO by using limu as id of program and rept as type and SAPLXV09 as the name of the object but still it doesn't allows as an error message comes prompting local object cannot be assigned to TO. Kindly suggest solution this problem.
Regards,
Sachin
Edited by: Sachin Dangayach on Nov 15, 2010 4:21 PMHello ,
In the Quality after you run the report check in the layout option>display text elements> variables and check what value is displayed for the use exit variable , if it is correct then problem may be in the selection you gave when you run the report if the user exit variable value is wrong , then set a break point in the code and run the report from rsrt and check where the error is.
hope it is clear
assign points if useful -
Page number after printing a text element in SAPScript
Hello to all,
is it possible to know the page number in which SAPScript print a text element?
Thanks and regards
FrancoHi!
&PAGE& variable gives you the actual page.
/E MYELEMENT
/: DEFINE &MYPAGE& = &PAGE&
I hope it works...
Regards
Tamá -
Hi friends,
When I do client copy, text elements are not getting transferred.
Can anyone help me ???Hello Priya,
Text elements are client dependant. Just import them into other client using Change requests or copy then into the client. Then only ur problem will be solved.
Regards,
Priyanka. -
A strange problem in text element
Hi,
I developing a smartforms in ECC 6.0.
In this i created a simple text element where i write:
Order numer &LS_VBAK-VBELN&
Then when i save or active the smartforms automatically in the text element the space between has being deleted as so:
Order numer&LS_VBAK-VBELN&
Why?
Thanks lot.
Matteo VernileHi
If u r giving space in between Order numer AND &LS_VBAK-VBELN& then it should come
OTHERWISE
make a template and in that make two colum and
create 2 text element and
put the static data in one text and the dynamic data in another text.
let say
text1------ Order numer
text2----
&LS_VBAK-VBELN&
hope this will solve ur problem
Thanks
Krushna -
SmartForms - Problems with Text Element
Hello guys!
I was adjusting a SF for the BID_INVITATION scenario (SRM) when i stopped in front of a problem.
I included the word "Data" in a Text Element that there was already, but, my new word doesn't appear in the Form.
Anyone know what is happening?
Is there any thing especific in the Text Element to permit that my new word appear?
Thanks in advance.
Hugs.
Danilo CardosoHi
Check If you activated the smartform and also check if there are any conditions in the condition tab of the text element.
Vishwa. -
Problem: Text elements inconsistencies
Hi,
I Converted SAP standard query to ABAP program for my requirement. I done the programming. Now the problem is I have to Add some text elements. When i'm trying to add text elemments, some inconsistencies there in standard sap text elements. when i activate,it doesn't allow to activate.It is displaying the message as " Inconsistencies exist,plz correct". it is showing some inconsistencies in text elements. If i remove these textelements, my report header,some texts,so many are missing.So i have to add my textelements without removing standard text elemnts.Can anyone suggest.
Thanks
ArjunHi Deepak,
It contains more than 100 text elements. and also the program was developed using query strings.So text elements also developed in that way with % and | . So we cannot create new text elements.So just we have an option to add our text elements to Standard one. Just I'm creating the one block and three checkboxes. for these i have to provide long text more than 8 characters.Is there any other way.Please suggest. -
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 problem with text element
Hi,
In smartforms text element, we have this variable; &V_TEXT2(L)&.
My question is, what does the 'L' means there? what is it's purpose?
when we pass on numeric values into it, it's converted to something else. It does not show the correct output.
example:
v_text2 = 6245183
shown on the report is HEIS57YR18MO3 DY.
thanks!Freishz,
Please refer below link.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
page 72.
Regards,
Anmol Saxena. -
SapScript 'MAIN' Window without 'Text Element'
Why is it, if we run 'MAIN' Window without defining 'Text Element'(/E), it displays the contents twice.. The same doesn't happens with other 'Variable' windows..
Hi Main window is different from Var window.
Var window will call only once .
But main window it will call many times, it will go to Driver program and come back to populate the data.
for Clear info debug and see.
regards
vijay
Maybe you are looking for
-
Itunes (10.6) hangs at startup
No matter how long I wait, I see the icon bounce and bounce and bounce. Have to force quit and start again. At this point, it works fine. Any idea? Using Mac Leopard (10.6.8)
-
User Exit Or Badi for Framework Release PO
Anyone could tell me about any user exit or BADI for storing the calculated value in Frameork order. Since it is storing the GNETW in CEKKO and that is used in releasing procedure. First of all i want to calculate the total price according to srat da
-
Alias directive case-sensitive?
I've come across an issue with the Alias directive... I set an alias in the ServerAdmin and realized that upon saving it converted everthing in the target path to lowercase. The directive subsequently did not work. When I edit the path manually via t
-
Sort array method...
Hi all, I have a float array of many rows and two columns. I was wondering whether it is possible to sort this array with calls of java api, just be specifing the column index number. Thank you.
-
How can I increase existing frames?
Hi, I have 8 movie clips on my stage with 25 frames each. Now, I would like to extend tha length of each movie frame to 100. How can I do that? Thanks. And also please let me know how to decrease the existing frames as well when required.