Problem in long text in SAP script editor
Hi ,
i am maintaining long text in SAP script editor , when i am trying to change the long text in SAP script that changes are not reflected in print preview ,for example when i am giving tabs in the script then in print preview of the PO these tabs are displayed as , , ( comma) , and underlines are not appearing in print preview.please help me on this.
Thanks and regards.
Rajeshwar.
hi
you have to install the correct printer which supports the displaying the drawings and objects/
Similar Messages
-
PO for item of service Level short and long text using sap script
Please let me know how to do the PO for item of service Level short and long text using sap script.
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on May 5, 2009 10:25 AMHi ,
In the transaction related to PO select the path goto->header texts and then details of the texts like ID,objectname,language,name.Pass all theses details to 'READ_TEXT ' FM. Then you will get text lines described for a perticular Po ,similarly for item also.
Thanks,
Suma. -
Display of multiple rows of long text in sap script
Hello Abapers,
Is it possible to have a loop inside a sapscript?
Can you give me a sample code?
I have tried it on my sapscript but it only shows the last row
of my internal table.
This is my source code :
/: DEFINE &WF_EBELN& = &EKPO-EBELN&
/: DEFINE &WF_EBELP& = &EKPO-EBELP&
/: PERFORM GET_ITEM_TEXT IN PROGRAM ZMPU_PO_ORDER
/: USING &WF_EBELN&
/: USING &WF_EBELP&
/: CHANGING &WF_TEXT&
/: ENDPERFORM
/: LOOP AT &WF_TEXT&
as &WF_TEXT&
/: endloop
in the zmpu_po_order, the WF_TEXT has 12 lines of data,
but when sapscript is displayed it only has one line.
I hope you can help me. Thanks in advance...Hi,
It is not possible using loops in sap text editor .
YOU CAN USE IN PROGRAM OF FORM.
reward points -
Can't extract long text from SAP command CN23 using VB script.
Am writing a VB Script to copy all the long text for a network (SAP command CN23) into an excel spreadsheet cell. I do the GUI script recording, but when the script displays the long text screen, the script does not copy the text. How can the script select all the text and save it to a cell of an open excel spreadsheet? The text window does not seem to follow the same functionality as the rest of the SAP screens.
hi satheesh,
I tried to extract using winrar but could not
cheers
ram -
Problem in using standard text in SAP Script
Hi All,
I have to replace English text hardcoded in a script with standard texts (SO10) in Spanish. When I am including the standard text in script, it is displayed in different font and bigger size. I want to reduce the size and change the font of standard text. Is there any way to do that?
Thanks in advance
Radhika
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Jan 4, 2010 2:37 PMPlease check the links below , which might hel you..
Re: Setting font to standard text in sap script
How to change stranded text font in script
Regards
Satish Boguda -
Calling SAP Script Editor from Report
Hi,
Can any one solve this Problem.
How to call SAPscript Editor i.e. MS word editor (where we are giving Text elements or Text variables or Text.
I want to call the above text editor from my report.
Can any one give answer for this.
Thanks & Regards,
Kumar.Moarach,
you need to open a editor for entering the text. You can do that using the function module HR_CALL_TEXTEDITOR. After you have entered the text and clicked on SAVE you get the data returned in an internal table EDITOR_TEXT.
You can then save the text to a text ID using SAVE_TEXT and COMMIT_TEXT function modules.
either:
You will have to use the FM: READ_TEXT, EDIT_TEXT, SAVE_TEXT to achieve this functionality.
This will basically open the text editor as a pop up box ( size will be as sap script editor) for entering some comments against a Purchase Order.
For this FMs, you 'll require Text id, text name, text object and language as parameters to be passed.
thead-tdname = 'Purchase Order No'. " Name
thead-tdid = 'ZQH1'. " Text ID - E.g. To be created in your system
thead-tdobject = 'VBBK'. " Texts: application object
thead-tdspras = sy-langu. " Language Key
Hope this helps.
Amit. -
Hi All,
I am Creating Standard text in SAP Script. I want to Transport it to Quality and Production servers.But while saving standard text it is not asking transport request no.weather we need to create the text seperately in quality and in production or we can attach it in to transport request. Please suggest me.
Thanks and Regards
Partha.Hi partha,
1. We can use the standard program
RSTXTRAN
2. It is meant specially for this purpose only.
(we can attach standard text to a transport request)
regards,
amit m. -
Translate the harcoded text written inside Script Editor in Adobe forms
Hi Experts,
In Adobe form, I have hardcoded a text inside the Script Editor.
Now i need to maintain translation for it in another language. Is it possible?
I have checked option Goto -> Translation. But that text is not available there.
Kindly give me some suggestions!I know what you are trying to do and that is NOT the way to handle it. haha This is EXACTLY why I never put texts to display within my script (Javascript). The better way to do it is this.....have a hidden text element on your form. Then show/hide it using your script. Since it is PART of the actual form, you can then translate it like you do anything else on the form. Works great!
If you absolutely HAVE to do the text as a pop-up or something "off form", then there are ways to do it very similarly but takes a little more thought/work (ie. have your script read the text element's text and use that in your pop-up...again, since the text element is ON the form, you will get the correct translation.)
Hope this helps! -
Problem passing texts into sap-script
Dear Experts,
I have a requirement, where I have to pass some text-lines from my selection-screen of the driver-program to the sap-script,i.e. whatever I write in those text fields that should be displayed(printed) on the specified place of my script. Another specification is that,
those lines will get printed only if the checkbox on my selection-screen is checked.
What should be the procedure,please help me.The text lines on the selection screen will be in a variable. Pass the variable to the SAPScript. I don't see the problem.
Rob -
Issue while saving long text through MS Word Editor in SAP
Hi All,
I am facing some issue while saving text through Word editor in SAP(like Notes in Installation or Long Text in device location).
After entering the text, when I am pressing the Back button, it says text transferred successfully, but when I try to see the text again, its not in the proper format.
Every time I go to the word editor, some text is deleted.
Thanks in advance for your help.
Manoj VatwaniHi Manoj,
Can you share some screenshot for the formatting issue that you are facing.
Thanks,
Amlan -
Formatted Text Edit & SAP Script Text
I'm working through a business requirement to input some long text, and then update an existing SAP script text object (attached to a sales order).
I'm using a formatted text editor to allow the users to enter the text - however I can't find a utlity that allows me to convert this data into a format that can be saved into a sap script text.
Thanks,
HeatherHi Heather,
Please check this...
Re: From Web Dypro Text area to SAP Script text object(Tline table)
http:///Tutorials/Smartforms/PassingTableData/Script1.htm ... add saptecnical.com before tutorials.
Cheers,
Kris. -
Problem in multiple page printed (SAP Script )
Hi Experts ,
In SAP Script print ,
First page print is perfect on preprinted stationary ,but
Second page data is getting printed 2-3 cm up.
Please tell me various reason for this ...
Thanks
SonalHi Sonal ,
This happens with your predefined stationary .
Are you declaring it in the same window where your declaring your data ?
If yes, Try taking another variable window and keep all your predefined sationary there and then call it evry time you call your window with data .
Or, It can be with the Text element try giving 2 empty lines before the text element it solves your problem!
Hope it helps!
Much Regards,
Amuktha .
Edited by: Amuktha Naraparaju on Feb 9, 2009 9:57 AM -
Hi folks,
iam uploading longtext in transaction KP06 in bdc programing using create_text.
now my problem is if i pass selection criteria
case 1:
Vertion : N0
fiscal year : 2007
planner profile: CCPLAN4
then the budeget plan data uploading successfully along with long text.
case2: Vertion : N1
in this case also everthing wrking fine
case3: Vertion : 001
in this case budgetplan data uploading sucessfully but longtext is not uploading,
i debbug the proragm , create_text also returning sy-subrc = 0. but if i check in KP06 the long text is not there.
data declaration
vertion : VERSN type C(3)
can u tell me the problem is in logic or with FM ?
note : i checked with save_text also.
regards
neeruHI Naimesh,
the FM Create_text internally contains both FMs save_text and commit_text,
even i debug the FM in case of vertion N1, N0 and 001,
all the cases sy-subrc = 0.
code:
CLEAR G_OBJNR.
LOOP AT RECORD.
COST = RECORD-BDC01.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = COST
IMPORTING
output = COST.
CONCATENATE 'KS' p_kokrs record-bdc00 INTO g_objnr.
SELECT SINGLE * FROM COSP WHERE OBJNR = g_objnr
AND GJAHR = P_GJAHR
AND VERSN = p_ver
AND KSTAR = COST.
IF SY-SUBRC = 0.
LEDNR = COSP-LEDNR.
OBJNR = COSP-OBJNR.
GJAHR = COSP-GJAHR.
WRTTP = COSP-WRTTP.
VERSN = COSP-VERSN.
KSTAR = COSP-KSTAR.
HRKFT = COSP-HRKFT.
VRGNG = COSP-VRGNG.
VBUND = COSP-VBUND.
PARGB = COSP-PARGB.
BEKNZ = COSP-BEKNZ.
TWAER = COSP-TWAER.
CONCATENATE LEDNR OBJNR INTO OBJNR.
CONCATENATE OBJNR GJAHR INTO TNAME1 separated BY SPACE10.
CONCATENATE TNAME1 WRTTP VERSN INTO TNAME2.
CONCATENATE TNAME2 KSTAR INTO TNAME3 separated BY SPACE.
CONCATENATE TNAME3 VRGNG INTO TNAME4 separated BY SPACE4.
CONCATENATE TNAME4 BEKNZ INTO TNAME5 separated BY SPACE10.
CONCATENATE TNAME5 TWAER INTO TNAME.
I_THEAD-TDOBJECT = 'CCSS'.
I_THEAD-TDID = 'COSP'.
I_THEAD-TDNAME = TNAME.
I_THEAD-TDSPRAS = 'E'.
APPEND I_THEAD.
i_tline-tdformat = '*'.
I_TLINE-TDLINE = RECORD-LONGTEXT.
APPEND I_TLINE.
loop at i_thead.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID = I_THEAD-TDID
FLANGUAGE = I_THEAD-TDSPRAS
FNAME = I_THEAD-TDNAME
FOBJECT = I_THEAD-TDOBJECT
SAVE_DIRECT = 'X'
FFORMAT = '*'
TABLES
FLINES = i_tline
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDLOOP.
CLEAR I_TLINE.
REFRESH I_TLINE.
CLEAR I_THEAD.
REFRESH I_THEAD.
SELECT SINGLE * from cokp into itab WHERE OBJNR = g_objnr
AND GJAHR = P_GJAHR
AND VERSN = p_ver
AND KSTAR = COST.
if sy-subrc = 0.
itab-TXFLG = 'X'.
append itab.
write:/ 'Text saved for', record-bdc00 , record-bdc01.
else.
write:/ 'Text saved for', record-bdc00 , record-bdc01.
ENDIF.
ENDIF.
my program wrking fine but the long text is not visible for vertion 001.
regards
niru -
How to use Standard text in SAP SCRIPTS
Hi all,
Please tell me how can we use the standard text what we have created in SO10 with sap scripts.Hi Gaurav
You can create standard texts using the transaction SO10. Then to insert these standard texts in the SAPScript choose the menu, Insert->Text->Standard and choose the standard text that you want to choose.
Alternatively, you can display standard texts in your SAP Scripts using the command:
INCLUDE ZSTEXT OBJECT TEXT ID ST LANGUAGE EN
where ZSTEXT refers to the Standard Text name.
Reward pts if found usefull
Regards
Sathish:) -
How to display long text in SAP Query ALV layout? It only show 129 char now
I have a SAP Query which show a remark field(Max length more than 500 char), but it only show max length 129 char now. In fact, the lenght of remark field text is more than 300, and i had debug the source code, the field text value do is correct, its length do is 376.
Do anybody can help me solve the issue, let the query ALV layout can show the long text field value?
thanks very much in addvance.Hi,
ALV can show only a restrict value length around 128 characters, many experts said that we can not extend. many suggestions is split text into some column.
Regards,
Maybe you are looking for
-
HP LaserJet Professional CM1415fnw - eStorage print apps - Google Docs
Hello HP, Why there are only 10 apps available for my CM1415 multifunction printer. I would like to have eStorage app to work; Google docs or box.net and why not other apps like facebook too. The CM1415 has a beautiful 3" color touch screen but it ha
-
Help? Can not find external hard drive after upgrading to 10.6.3
I upgraded my iMac to Snow Leopard 10.6.8 and now my external hard drive does not appear. Not sure what to do.
-
Web Authorization using Jrun 4 Updater 7
Hi I'm trying to implement Web Security Authorization using JRUN 4 updater 7. When I start the server, I'm getting an error. 06/03 15:46:24 error An exception was thrown when initializing the security filters. java.lang.NullPointerException at jrun.s
-
No new apps installed after iOS4 upgrade.
Why? What should I do?
-
Can someone please help with with a question that relates to Configurator and Scripting in photoshop ? I don't want my question remaining idle on the forum, so I'll leave the question out, to see if someone can help me.