Printing Standard Text in Task List via IA17
We currently use a lot of standard text in task list. However when I run IA17 to display and print a task list, the standard text does not display as the actual text, only the standard text include is displayed.
Is there a way to get the actual text from the standard text to display as well?
Okay, I know I keep answering my own questions, but every answer leads to a new question.
What I've discovered is that if the include statement for the standard text is not in all caps, then it does not print in IA17
For example, we had the include as: Include Z0000438 OBJECT TEXT ID IPRT
However it would appear that the statement needs to be like this: INCLUDE Z0000438 OBJECT TEXT ID IPRT
Has any one else experienced this?
Edited by: Darrell Dorsey on Sep 23, 2010 3:19 PM
Similar Messages
-
Print out Standard text in Task description
Hi All,
is it possible print out the standard text in the workflow task description?
I need to display some information in the business workplace, but i don't know how to print out the standard text in task description.
Regards,
LukeHi Luke,
Are you lloking to print Standard texts in Workitem...
You can do that... you will have to first create a method to read SO standard text using READ_TEXT and pass it on to a multiline container which you will have to mention in the Task description.
For syntax please search relevant threads...
Rgds
Gautam -
Printing Standard TEXT with multiple paragraphs in smartform
Hello all,
I have a requirement that, there is a very long standard text stored in a notification of an order in SAP ISU system. The text contains multiple paragraphs with indentations. I want to print this text directly into the smartform WITH SAME INDENTATION AND PARAGRAPH FORMATTING.
First i am reading the entire text using FM READ_TEXT.
My first problem is even if i read the text into a variable of type STRING , it just prints 255 characters of it.
And secondly if i try to printout it using LOOP AT node in smartforms, it prints the entire content but without any formatting .
Please let me know whether it is possible to print standard text in smartforms or not
Thanks
Nilesh PuranikHey ,
Well thanks for that but my replies got posted 2-3 times unknowingly, could'nt help it.
Coming to the problem, i guess you did not get my point when i say dynamic texts for each service order.
In my Report i am using LOOP AT ITAB ..where in itab i am storing a service order no i.e. ITAB-ORDER_NO
Now for every order there is standard text maintained in SO10 starting with order name
so my code goes like this.
LOOP AT ITAB.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = 'LTXT'
LANGUAGE = 'E'
NAME = ITAB-order_no
OBJECT = 'QMSM'
TABLES
LINES = LINES .
CALL <SMART FORM Fm>
ENDLOOP.
Hence whatever Standard text maintained for that service order i want to display it as it is in the smartform with same paragraphs formatting and indentation.
IF i use a variable in smartform and pass the entire text after using READ_TEXT , it does not format the text and it just prints only 255 characters even if i define it of type STRING .
Hence i am stuck in this scenario.
Appreciate ur help though.
Thanks
Nilesh -
Smartforms : print standard texts or texts out of document with command in.
We used to have an output via Sapscript (printout of a purchase order) and the output was containing standard texts or text out of the purchase order, which contains commands (a test in the standard text or an include of another standard text). This text was correctly printed via sapsript, command were taken into account.
Now we have a new output for the purchase order which is working with smartforms. When working in the smartforms with a text type 'include text', commands in the text are not working.
When working with smartforms, is it not possible to include texts (out of the STXH table) which contains commands? These commands are not taken into account.
Thanks.Thanks for the answers!
Example how they work here : in the material master, purchasing text => somtimes include of a 'standard' text. This to avoid typing the text in all materials which use this text. We can avoid this by instead of including the text, to 'append' the standard text.
Also in some standard texts, some tests were done (on output type, purchasing organisation,.....) which we can change by reading the text in the print program and building those tests in the print program itself.
I just wanted to be sure that there was a possibility or not in Smartforms to work like that because we worked like this using sapscripts and it worked fine.
We will change this way of working and build the logic into the print program. We will inform the master data team not to use the 'include' command into a material master text but instead append the standard text directly into the material master text.
Best regards,
Ann. -
Printing standard text with TAB
Hi Folks,
I am very new to SAP Scripts and need some help here. I am printing some text using Standard Text object (using INCLUDE statement in sapscript). But now I want to print the text after a TAB. I tried with below syntax but no luck.
/: ,,INCLUDE ZTEXT OBJECT TEXT ID ST
Request you to please suggest some approach.
Thank you.
Regards,
SudThanks Christian !
Yes, m using SO10 for creating this text.
But as u suggested, I cannot use tab in ZTEXT, because this will affect the alignment for all the other scripts where I am using this ZTEXT.
For every other script, I do not need this extra tab before the ZTEXT. Only for this one script I want to intorduce a Tab before printing this ZTEXT.
Any other approach?
Thanks
Regards,
Sud -
Print standard text in a sapscript
hi,
I have want to include standard text by ME32k in a sapscript. I need to include the text and the particular format. For example if I use FM READ_TEXT for text object EKKO id F02 for a particular EKKO-EBELN, the FM give me the table LINES with this text:
TD TDLINE
C K02:HAEDER NOTE
I need to print the text "K02: HAEDER NOT" with the format C ( Centered).
Can you help me, please?
Thank's.Hi,
Tcode SO10 can be used to attach standard text in sapscript.
For formatting, plz check the below link
Standard text editor SO10 -
dear dudes,
we are using SAP R/3,
I have created a query for task lists, I wanna add Long Text field for each operation but I can not find its table and field in SAP.
or maybe SAP has a function module for that.
thanks in advanceTake clues from the document below. It is not the table. It is the READ_TEXT function module which gives this information.
Retrieving Longtext-lines for Reporting
KJogeswaraRao -
Is there transaction for sending General maintenance task list (IA08) via ALE? I need to send Task list with Operations and Characteristic. There are similar QM t-codes like QM21, QM31, QM41 but I can't find releated t-codes for PM.
Dear
Please check in OPL8 - Order Type Dependent Parameters ,what's the Task List
selection. It must be 3 for Routing/Ref.Operation Set Optional - Automatic
Selection.Please check the same for your order type which you were trying to
check.
Also check in OPJF - Task List Selection - Select Automatically,whether the
entries has been made properly.
Regards
JH -
Loading Operations Short Text for Task Lists
Hi Experts,
I am trying to update the Operation Short Text in a General Task List using IA06.
I am unable to carry out the operations short text update using an LSMW with a Recording as it is picking up the wrong operation number. Is there an easy way to update these using a different transaction or some other load method?
Thank you,
Muna S.K AliHi joseph,
There are 3 things mixing up.
1. The comma(,) format of your present number can be modified to stop (.) format by your user- default values. i.e., Through any screen click on System --> User Profile --> Owndata -->Defaults Tab --> Here in Decimal Notation field select this format . Save the settings. With this your present comma format will be corrected to normal decimal format.
2. In your Tasklist the UOM was H not HR as shown in your CUNI picture. So you need to modify settings for H in CUNI.
3. My settings are as in the attached picture the way discussed in the referred thread.
Note: The member in the referred thread could succeed in his requirement which is exactly like yours. So I referred this thread. But inspite of having these settings in my system I am restricted to one decimal place as of yours, may be because of something else. You may try whether this works for you.
Jogeswara Rao K -
Issue with printing Standard Text in Production Environment.
Hi Peers,
In my smartform,
The Std Text on back of page in Production System is getting truncated.But in Development system it is fully printed.
I checked for the printers & language that are used in both the systems it is the same.
Could you please let me know your views as to what might be the problem.
Is it a basis issue or is there anything that we can do on development side.
Thanks in advance!
DanielHi Phani,
Thanks for your reply. In fact both me and user are doing the same. For user some times this text is not showing and some times it is. This is very strange.
I can do this by keeping it in text element. But for some texts we need to add some other text in between dynamically.
for example : for BE10 we need to show like,
CONCATENATE 'This text is prepared on behalf of (' <vendor name> ') ' some text' INTO w_title_text.
In this case: I have tried preparing this text in the program lines node. Here the problem is I can able to mention single quote in prepare the text. In the above example it is bold.
Basically I don't what's happening when printing report texts. But if there is a way to show single quote while prepare text that should be fine.
Thank you
Surya -
Upload Task List Operation long Text using SAVE_TEXT-Urgent
Hi ,
I am trying to create Task List Operation Long text using the function module ..
SAVE_TEXT .I am passing the following keys
Text Name 300ATEST057 0000000900000009
Language EN
Text ID PLPO Long Text
Text Object ROUTING Texts for task list types
But the long texts are not getting updated in the Task lists operations .
Can anyone please suggest whether SAVE_TEXT will work for Operation long Texts or not Are we missing something
.This is pretty urgent requirement .Award points are assured.
Regards
Samhi,
use function module create text
check the sample code
DATA: BEGIN OF itab OCCURS 0,
asnum LIKE asmd-asnum, " Service No
text(5000) TYPE c, " Long Text
END OF itab.
*DATA: itab1 LIKE itab OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF itab1 OCCURS 0,
asnum LIKE asmd-asnum, " Service No
sequ type i, " Text Sequence
text(5000) TYPE c, " Long Text
END OF itab1.
To create Long Text lines for CREATE_TEXT function module
DATA:BEGIN OF dt_lines OCCURS 0.
INCLUDE STRUCTURE tline. " Long Text
DATA:END OF dt_lines.
Variable declarations for CREATE_TEXT function module
DATA : dl_name TYPE thead-tdname, " Object Name
dl_lan TYPE thead-tdspras. " Language
Constants
Object ID for Long Text of Service Master
CONSTANTS:c_best TYPE thead-tdid VALUE 'LTXT',
c_material TYPE thead-tdobject VALUE 'ASMD'. " Object
for file splitting.
DATA: start TYPE i,
len TYPE i VALUE 92,
totlen TYPE i,
n TYPE i.
PARAMETERS p_file LIKE rlgrap-filename."input file
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Start Of Selection
START-OF-SELECTION.
*To Upload Flat file
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = itab
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
LOOP AT itab.
itab1-asnum = itab-asnum.
CLEAR: totlen,n, start.
totlen = STRLEN( itab-text ).
n = totlen / len.
n = n + 1.
DO n TIMES.
itab1-text = itab-text+start(len).
itab1-sequ = sy-index.
start = start + len.
APPEND itab1.
ENDDO.
ENDLOOP.
delete itab1 where text is initial.
SORT itab1 BY asnum sequ.
LOOP AT itab1.
dt_lines-tdformat = '*'.
dt_lines-tdline = itab1-text.
APPEND dt_lines.
Call the Function Module to Create Text
AT END OF asnum.
dl_lan = sy-langu.
WRITE : / itab-asnum.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = itab1-asnum
IMPORTING
output = itab1-asnum.
MOVE itab1-asnum TO dl_name.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = c_best
flanguage = dl_lan
fname = dl_name
fobject = c_material
save_direct = 'X'
fformat = '*'
TABLES
flines = dt_lines
EXCEPTIONS
no_init = 1
no_save = 2
OTHERS = 3.
IF sy-subrc <> 0.
WRITE:/ 'Long Text Creation failed for Service No'(001),
itab1-asnum.
ELSE.
WRITE:/ 'Long Text Created Successfully for Service No'(002),
itab1-asnum.
ENDIF.
REFRESH dt_lines.
ENDAT.
ENDLOOP.
in text file give first field records in capitals
regards
siva -
Standard text printing missing on Smartform
Hi All,
I am using standard text in Smartform.
Standard text contains 'terms and conditions' hence it's used for printing in second page.
For printing standard text one window other than Main window has been created in second page.
Now when I am taking print preview of smartform only two pages are visible and on second page complete standard text is not displayed. As standard text is of two pages then rest missing text should come on third page as a continuity.
But missing standard text is not getting diplayed.
Any suggestion what shall we do to print complete standard text.
Regards,
Amit
Edited by: Amit Singh on Nov 25, 2010 11:38 AM
Edited by: Amit Singh on Nov 25, 2010 11:39 AM
Edited by: Amit Singh on Nov 25, 2010 11:39 AMI tried to use the 2nd option provided by you but still this prolem is not resolved.
Missing Standard text is not going in a new page.
I tried to expand the window size and now entire text is coming in a single page. But by this way page window is not same as in a first page.
Is there any otherway to print the rest missing text in next page of the smartform.
Regards,
Amit -
Hi all,
I am using /: INCLUDE ZTEST_TEXT OBJECT TEXT ID ST LANGUAGE EN
in my smart form. nothing is printing.What was the mistake in my statement?It gets printed if I use Include text and give same values.But why doesn't it print Standard text value if use above statement in text element.Please help.
I want to use this statement only because I have seen in SAP HELP that this statement gives the latest version of the standard text value.Hi
Please refer this links
http://help.sap.com/saphelp_nw2004s/helpdata/en/03/7560efcf0d11d3b565006094192fe3/content.htm
regarding smartforms -
PM:Task list Component addition
Hello Guys,
We are facing below issue.
1. In task list component screen, if we add a component via Direct entry, system create Standard BOM.
2. If we add the component via component selection from BOM, it creates the material BOM.
The second method is preferable as changes in BOM is reflected in task list as the link is maintained. This is not an issue if we are creating task list manually as we can select the component manually. But however, if we create task list via LSMW or load program, the issue arises.
When contacted SAP on OSS, SAP advised to use BADI IMRM_COMP_PROCESSING, method SET_COMP_PROCESSING with
E_CORRECTION_ACTIVE = ' '. This seems to resolve the issue. But I am not sure of the side effects.
Has any one implemented this BADI earlier and can share the experience?
Thanks
Ashish Barsagadehi,
U can assign material BOM in Tasklist header... there is a Assembly field... just enter the name of Material BOM. and Material BOM would be attatched to task list.
it will solve ur problem
Regards,
Amit kushwaha
Edited by: amit kushwaha on Feb 25, 2008 10:45 AM -
Change Request Management "There is no task list for this project"
Hello!
I would like to use the functionality of CharM in SOLMAN 4.0.
When I enter the Tcode /n/tmwflow/proj I receive the waring/error "There is no task list for this project" (/TMWFLOW/TRACK_N114)
If I create my own task list via Task list --> create
I get the warning "You cannot change task lists in the SAP namespace"
What are the steps to define task list for my project?
Do I need to configure SPRO ... --> Extended Configuration --> Schedule Manager?
The second warning I get: "NO CTS projects created yet" or
"The Solution Manager project does not have an active CTS project yet".
How can these warnings/errors be corrected?
Thank you very much!
regardsHi,
Pls click the check button(next to activate button)
see the SLG1 log generated remove the errors shown in red.
One it is done u press the refresh button & thn u cn create the task list
chk
https://websmp202.sap-ag.de/~sapdownload/011000358700000657692007E/ECTS_CHARM_SP12.PDF
/people/dolores.correa/blog/2008/07/26/first-steps-to-work-with-change-request-management-scenario
http://help.sap.com/saphelp_sm32/helpdata/en/0c/5b2160f6fa4b83a3674a210b1cdeb0/content.htm
Regards
Prakhar
Maybe you are looking for
-
Can no longer access songs on iTunes on Time Capsule
Not sure what's gone wrong here. A month ago, I moved my whole iTunes library (60GB) to my Time Capsule. Have been playing all my music fine since then. Till today. Suddenly, everything's gone haywire. Only a random fraction of the songs and podcasts
-
Create Purchase Order to cost center
Hi, Will it be possible to create a purchase requisition from the MRP run which has account assignment K and default a cost center. At the moment I need manually to update the requisition item line with 'k' and costcenter before converting to a purch
-
Why i can noy print wireless from my computer
WHY I CAN NOT PRINT WIRELESS FROM MY COMPUTER?
-
My gawd this site is the most ridiculously difficult site I've ever seen. Round and round we go and where we stop nobody knows. Will someone please tell me how to make the prompt for Adobe Reader update 11.0.09 go away?? It already shows that num
-
Help: Compiling servlets
Hi, I have created a servlet java file. and when i compile the servlet java file, I am getting error, HelloWorld.java:2: package javax.servlet does not exist import javax.servlet.*; ^ HelloWorld.java:3: package javax.servlet.http does not exist impor