Displaying operation long text in results recording screen
Hi, all!
I am trying to understand why I cannot display the operation long text when in results recording screen (either QE51N or QE01 transaction will not support displaying of operation long text).
I have checked all areas that I could think of in config to see if there is a display setting that will require to be activated and I could not find anything under Results recording, Inspection planning or General settings. I also tried to see if user settings may be making a difference and it did not. The SAP Help portal when talking of long texts available in results recording lists the following: Long texts for inspection lot, inspection method and inspection charcateristic. Nothing about operation long text.
However, the text is printed on the inspection instruction standard form.
SAP Notes has nothing on the subject that I could find.
So, as a last resort, I would like to ask if any other Quality Management specialist came across this and spent any time in determining if this can be done and why the information would not be displayed standard in the transactions. My client would prefer not to have to print the instructions in order to see the entire text. However, I do not see any standard way to have it displayed.
Any help would be greatly appreciated.
Thank you in advance!
Hi Senthil,
Don't know it will help or not. But if your MIC is qualitative then you can use the long text of catalog code in QS42.
Please refer below screen,
Click on the which help to maintain the long text.
Regards,
Sandip
Similar Messages
-
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 -
Display GL long text in FAGLL03
Hi Experts,
When running FAGLL03 with many GLs, we are unable to view the description of the GL.
Any idea how can we display GL long text in FAGLL03?
Any suggestion will be most grateful.
Thanks in advance.
Regards,
WongHi Wong,
Do you mean to say that you don't seem to see the G/L account Long text appearing in the first tab in your G/L account?
If yes then this has to do something with the Screen 2101. There might be some Screen Exit for the transaction FSP0 where this can be controlled. In an ideal case this will not happen.
Account Group controls the Field Status of the G/L master record and there is a Transaction based field status as well for Create, Change and Display (Define Screen Layout for each transaction).
Regards,
Jams -
Reading long text for more records at a time
Hi all,
We have a requirement for which that data like textid textname textobject and language must be taken in to an internal table and for each record in the internal table i have to read the long text inorder to compare the long text for the given search text.
If i use Read_text inside the loop and endloop it works but it may not be appropriate in performance point of view.
Is there any function module which can read long texts for more records at a time.
The long text data in STXL will be in raw data format right? is there any way to convert raw data to normal so that by hitting the STXL i can read the long text data for more than one record at a time.
Thanks in advance
sanju.HI Sanju,
Below is a code snippet which describes reading a long text frm the screen and appending it into the internal table.This code is actually to read the text from the screen and inserting a record into STXl and STXH.
From your query what i understood is that you are storing the long text from the screen into a internal table and so you not want to use the read_text FM due to performance issue.
Since tdline(tline table) is 132 char long format i use this small logic to read the screen data and append it to my internal table.
*Data Declarations
DATA: lv_strlen TYPE i,
lv_create TYPE boolean,
lv_desc TYPE string.
DATA: ls_text TYPE tline,
ls_basic_text TYPE stxh.
DATA: lt_text TYPE ztty_tline_tab.
CONSTANTS:
lc_tdid TYPE thead-tdid VALUE 'Z001',
lc_tdobject TYPE thead-tdobject VALUE 'Z_ALERTS'.
*Appending the text to the internal table.
lv_strlen = STRLEN( iv_alert_text-alert_text ).
lv_desc = iv_alert_text-alert_text.
IF lv_strlen < 132.
ls_text-tdformat = '*'.
ls_text-tdline = lv_desc.
APPEND ls_text TO lt_text.
ELSE.
*logic to wrap text
DO.
ls_text-tdformat = '*'.
IF STRLEN( lv_desc ) < 132.
ls_text-tdformat = '*'.
ls_text-tdline = lv_desc.
APPEND ls_text TO lt_text.
EXIT.
ENDIF.
IF lv_desc+132(1) <> ' '.
CONCATENATE lv_desc(131) '-' INTO ls_text-tdline.
lv_desc = lv_desc+131.
ELSE.
ls_text-tdformat = '*'.
ls_text-tdline = lv_desc(132).
lv_desc = lv_desc+132.
ENDIF.
APPEND ls_text TO lt_text.
ENDDO.
ENDIF.
Please award graciously if found helpful.Please do ask me if i have not answered you properly.
Thank you.
Message was edited by:
P M Harish -
Operation Long text creation problem in IW32
Hi experts,
I have a requirement of showing a checklist pop up for all the new external operations in creating a MPA work order(IW32). And when the user answers the questions on the checklist, I have to copy all the questions and answers into the long text of the corresponding operation.
The problem here is,
for a case when the long text is not yet created for a new line item, when the pop up is shown and answers are filled, I am creating a new standard text using SVE_TEXT(setting the insert paramter 'X'), but the standard text is getting created in the database i.e a record is getting created in STXH with the text id, text name, text object of the operation. But when I go to IW32 and see the operation line it shows the create long text icon which says that the text is not created at all.
In a case where the long text is already created for the operation, and then the pop up is shown with the questions and answers are filled, the questions and answers are copied into the operation long text which is already created. So this works fine.
If any pointers regarding this please let me know.
Thanks and Regards,
AshaHi,
Try passing SAVEMODE_DIRECT = 'X' and check..
also check if the text exists using the function module READ_TEXT once you do the SAVE_TEXT..
Thanks,
Naren -
How to see MIC number in Result Recording Screen
Hi,
During result recording (thru QE51N/ QA32 ) in result recording screen we see MIC short text but not the MIC number.
How to get the MIC number during result recording screen?
Already we have used Info Field for this & get the MIC number Directly in result recording screen but User like to go for other option.
Thanks in advance.I think you wont get MIC no instandard SAP
-
Helllo Expert,
I want to display a long message, In module pool program . I have maintain the other message of the program in message class but the long message is not fitting into the message class. the message which I want to display is *"Data saved. Market group (&) and market super group (&) saved. Market (&), market (&) and market super group (&) saved" I have tried using text-xxx but it's not allowing after WITH only 4 field allowed.
Thanks .You can use the function module
HELPSCREEN_NA_CREATE
to display the long text of the message!
Regards
Naren -
SAVE TEXT not updating the database for Recipe Operation Long Texts
Hi,
We are trying to update the Recipe Operation long text using the FM SAVE_TEXT.
The FM is not throwing any error, but the changes are not reflecting in the database.
Text ID: PLPO
Text Object: ROUTING
Language: EN
Text Name: Concatenated string of ARBPL,PLNNR,OPRATIONCOUNTER
If someone faced similar scenarios, please share your inputs.
Thanks in advance,
AnandAfter some more R & D, i got to know that the Long Text indicator should be enabled to get the changes reflected in the C203 recipe operation details.
In C202, if you pass two text lines for Operation long text, this Long text indicator is automatically enabled and its a non editable field.
Can some one provide inputs how to enable this through program?
Regards,
Anand -
How to display the dynamic text in the selection screen
Hi All,
I want to display the dynamic text in the selection screen .... ( I searched in forums , didnt get the any answer fot this sort of qustion ).....
EX: If i have the date of today 31st it has to show message like " today date is 31 like some thing " when i execute the report .
Could any one face this sort of requirment, Please let me know.
Thanks in advance.
Reagrds,
BharaniWhere would you like this dynamic text being displayed? As an "message" or in some parameter field?
If first
parameters date type d.
data: text type string.
at selection-screen.
concatenate 'Today is' date into text.
message text type 'I'.
If second
parameters pa_text type c length 50.
at selection-screen on date.
if date is not initial.
concatenate 'Today is' date into pa_text.
enidf.
at selection-screen output.
"show it as read only
loop at screen.
if screen-name = 'PA_TEXT'.
screen-input = abap_false.
modify screen.
endif.
endloop.
Regards
Marcin -
Addition of user defined fields in Results Recording screen (QE01)
HI All,
We've a business requirement to add user defined fields in results recording screen (Character Overview screen - QE01), so that the user will enter data in user defined fields during results recording. and the data entered in user defined fields should be saved in data base table along with actual results given by the user in order to retrieve data for reporting purpose.
Please suggest valuable solutions to acheive the requirement.
Thanks & regards,
rajeshHi Sujit,
Thanks for your reply,
We've tried using the " QEEM0029 User-Exit for Characteristic Overview Subscreen , however with "QEEM0029" exit, we are only able to add fields to the characteristics overview screen and there is no provision in this exit to save the data entered in the user fields to a table (QALS,QAMR, QASE).
Please suggest!
Thanks & regards,
rajesh -
Long text creation in custom screens
Hi
Can we add the functionality of adding a long text in the custom screen.
The long text should be same as the one which SAP provides in standard transactions.
If possible please tell me the solution.
Thanks & Regards
KapilHI,
yes you can add using TEXT AREA control here is the sample code.
insert a custom control area in the screen and create a object of the text editor.
check this code for PBO and PAI.
here TEDITOR is the custom contorl area name on screen
<b>MODULE PBO OUTPUT.
IF EDITOR IS INITIAL.
* set status
SET pf-status '1111'.
* create control container
CREATE OBJECT TextEdit_Custom_Container
EXPORTING
CONTAINER_NAME = 'TEDITOR'
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
LIFETIME_DYNPRO_DYNPRO_LINK = 5.
if sy-subrc ne 0.
* add your handling
ENDif.
mycontainer = 'TEDITOR'.
* create calls constructor, which initializes, creats and links
* TextEdit Control
create object editor
exporting
parent = TextEdit_Custom_Container
WORDWRAP_MODE =
* cl_gui_textedit=>wordwrap_off
cl_gui_textedit=>wordwrap_at_fixed_position
* cl_gui_textedit=>WORDWRAP_AT_WINDOWBORDER
WORDWRAP_POSITION = line_length
wordwrap_to_linebreak_mode = cl_gui_textedit=>true.
* to handle different containers
container_linked = 1.
refresh mytable.
ENDIF.
ENDMODULE. " PBO OUTPUT
MODULE pai INPUT.
case ok_code.
WHEN 'SAVE'.
* retrieve table from control
clear: txt.
call method editor->get_text_as_r3table
importing table = mytable.
loop at mytable into wa.
concatenate txt wa into txt
separated by '|'.
endloop.
shift txt left.
length = strlen( txt ).
ztext-CLUSTR = length.
ztext-text = txt.
modify ztext.
clear: ztext.
refresh: mytable.
call method editor->set_text_as_r3table
exporting table = mytable.
Message s000(zwa).
when 'DISP'.
select single * from
ztext
where fund = ztext-fund.
SPLIT ztext-text AT '|' INTO TABLE mytable.
call method editor->set_text_as_r3table
exporting table = mytable.
endcase.
clear: ok_code.
ENDMODULE. " pai INPUT</b>
Regards,
Wasim Ahmed -
Accept tab not activated for characteristics in result recording screen
Hi,
'Accept and Reject tab' is active only for few characteristics in result recording screen.After entering all the inspection data's system is manually valuating each MIC.
Pls. help me on how to activate the 'Accept and Reject tab' in results recording.
Regards,
ShriniDear Gajesh,
Thanks for your prompt reply.
I have created a SAMPLING PROCEDURE --> QUAL-DMS.
IN ASSIGNMENTS,
Sampling type --> 300 -- USE SAMPLING SCHEME
Valuation mode --> 1000 - ATTRIBUTIVE INSPECTION NON CONFIRMING UNITS
(I have selected the system defined Sampling Scheme-> 252 ISO 2859-1 / Level II / multiple)
Sampling scheme --> 252 ISO 2859-1 / Level II / multiple( SYSTEM DEFINED)
Determination rule 30 Use sampling scheme
Sampling scheme 252 ISO 2859-1 / Level II / multiple
Inspection severity --> 4 - Normal inspection
AQL value --> 15.000
THIS TABLE CONTAINS C1,D1;C2,D2;etc --> System Defined.
AS I have selected 252 - ISO 2859 -1/ Level II / multiple,
all values of the above sampling scheme must be copied.
It has calculated the sample size 40 for the sample lot 280 correctly
--> sample size is 8
5 samples are to be considered
5 x 8 = 40 samples --> System calculated the 40 samples correctly
SAMPLE LOT --> 280
SAMPLE SIZE --> 8
FIRST SAMPLE C1 --> 0 AND D1 --> 5;
SECOND SAMPLE C2 --> 3 AND D2 --> 8
THIRD SAMPLE C3--> 6 AND D3 --> 10
FOURTH SAMPLE C4 --> 9 AND D4 --> 12
FIFTH SAMPLE --> C5 12 AND D4 --> 13
I have not defined. I have selected the --> SAMPLING SCHEME 252,
I feel that all its value have to be copied.
Am I correct?
Please advice.
With Best Regards,
Raghu Sharma -
Hiding specification in Result recording Screen
Is it possible to hide specifications of characteristics in Result Recording screen. this is to prevent end user manipulating observed values as he shouyld not see tolerances. he only should see characteristics description and enter values. But master data will be avilable with specifications. This restriction should be there for particular roles only. all others should have normal screen during alla ctivity.
Thanks.
JaisonHello Jaison,
Please try using the Table setting which is available in the result recording screen. You can create a variant and make the specification field as invisible. Please take the help of ABAP and Basis and explore the possibility for the same.
Regards
Gajesh -
Populating result recording screen qe11
dear all,
i have got chemical results in the qamr table from one process.Now i have to feed mechanical values in the result recording screen(i.ie. QE11). My requirement is that after going to result recording screen from QA32-->results(qe11) ....my chemistry results should be showing on this screen . Earlier in my inspection plan we have only mechanical characteristics was showing here. User feeds the mech. values by checking chemistry values through another report. Now i want to add chemistry characteristics here also and the user will see what are the chemistry results before entering mech values....You are attempting to mix results here which you can't do.
You apparently have the chemistry results recorded as single results but you want to use inspection points for recording the mechanical results. No can do.
You could use two inspection types for this. Ideally you'd do the mechanical tests first in an 03 inspection lot. Then do the Chemistry results in an 04 inspection. The 04 lot could also use the results copy functionality to copy over the mechanical result from the 03 lot if you wanted all the resutls in a final inspection lot.
If you have to do the chemistry results first and then the mechanial, you can't use the above process. In this case, I think you'll have to have two different inspection lots.
FF -
Display the long text in alv by using function modules
Hi all,
How to display the long text in alv by using function modules ?
Send me any sample code.
Thanks in advance
krupali.Hello KR,
Use READ_TEXT and concatenate the first lines of the text.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'F01'
language = sy-langu
name = lv_name " purchase order with leading zeroes
object = 'EKKO'
TABLES
lines = t_lines
EXCEPTIONS
OTHERS = 8.
You can loop at t_lines and concatenate header in to some other field.
Best Regards,
Sasidhar Reddy Matli.
Edited by: Sasidhar Reddy Matli on Aug 13, 2008 12:25 PM
Maybe you are looking for
-
Canon MF4400w Printer - "Filter" failed error. Can't scan either.
Hi, I work in a wholly Mac environment. We have around 10 plus Macs in the office, most of them running 10.8.3 (the latest I believe). All Macs are able to print to our Canon MF4400w Printer fine EXCEPT mine. I've had a Canon technician come by. We'v
-
new iTunes won't open. Error says cant read iTunes Library.itl becuase it was created by a newer version of iTunes. I had just installed iTunes 10.3.1 as was instructed by the Genius at the store.
-
Multiple Vulnerabilities in Apple Mac OS X
Every few months, somebody (with a PC) emails me one of notices. I assume Apple does their security updates othen enough to take care of this. Or am I wrong? Who makes these notices? What should I do when I get one of these notices? Here's THe whole
-
How can I use a variable for an interface log and error fle
I want to use a variable for the interface's log and error file so that when I migrate from Dev to QA to Prod I don't have to do a lot of editing. Specifically on the "flow" tab for the "target", I want a variable to be the first part of the path for
-
ok, I admit i don't know much about this, although I"VE READ WHAT I CAN FIND. I did not import master images from my Finder/Pictures. But, I created and edited versions in Aperture. Why can't I export (email and create a CD) of the versions. I get an