Editing long text in Quality notification
I am not able to delete or change long text in quality notification since it is greyed out. Can anybody help ?
Hi,
you should check in configuration the part "Overview of Notification Type" (Quality Management>>Quality Notifications>>Overview of Notification Type).
When you select your notification type you go to "Format Long text" and there you can disable "No text change". This option is useful when you want to add text but don't want to allow modification of existing text.
Hope this help,
Serge
Similar Messages
-
Issue ith Long text in Quality Notification.
Hi All,
I have an Issue with Quality Notification long text change functionality.User reported that he can only append the additional text and can't edit the alaready entered screen. When I verified the config for the notification type it shows that 'Log line' check box have been checked and "No text" change Check Box Not checked. We need log lind and the same time user can edit the alkready entered screen. We are using Ecc 6.0 system.
Please guide me to fix that Issue.
Regards,
SenthilHi,
you should check in configuration the part "Overview of Notification Type" (Quality Management>>Quality Notifications>>Overview of Notification Type).
When you select your notification type you go to "Format Long text" and there you can disable "No text change". This option is useful when you want to add text but don't want to allow modification of existing text.
Hope this help,
Serge -
Show long text for Quality Notification when double click field in alv
I have an ALV grid called using a FM and I am using the user command routine to do somthing when a particular cell is clicked. I want to call up the root cause text from the action box of the QN via QM03 . I am building a BDC table to call with a CALL transaction but when I write my BDC up to that point, the program is running the BDC but not going to the point where the long text is displayed is i am in mode 'N'.
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
READ TABLE itab INDEX rs_selfield-tabindex.
CASE r_ucomm.
WHEN '&IC1'.
CASE rs_selfield-fieldname.
* When double click on root cause, display root cause long text
WHEN 'ZZ_URCOD'.
PERFORM display_root_cause_text.
CALL TRANSACTION 'QM03' USING gt_bdc MODE 'N'.
ENDCASE.
ENDFORM. "user_command
FORM display_root_cause_text .
FREE gt_bdc.
PERFORM fill_bdc USING 'SAPLIQS0' '0200' 'X'.
PERFORM fill_bdc USING 'RIWO00-QMNUM' itab-qmnum space.
PERFORM fill_bdc USING 'SAPLIQS0' '7200' 'X'.
PERFORM fill_bdc USING 'BDC_OKCODE' '=10\TAB03' space.
PERFORM fill_bdc USING 'SAPLIQS0' '7200' 'X'.
PERFORM fill_bdc USING 'BDC_CURSOR'
'QMICON-LTURSACHE(01)' space.
PERFORM fill_bdc USING 'BDC_OKCODE' '=UX01' space.
ENDFORM. " DISPLAY_ROOT_CAUSE_TEXT
Any one have any suggestions of know of a BAPI that I can achieve the same thing?
Thanks
Larissa MaryniukHello,
also try to use the messages clause (of type BDCMSGCOLL).
This will return the system messages.
call transaction 'XXXX' using BDCTAB
mode 'P'
messages into MSG_TAB.
Try to change the mode from 'N' to 'P' and try to place a breakpoint and check what happens.
Alternatively, you can read the Quality Notification text using FM READ_TEXT, and then show this data to the user in pop-up, rather than calling the tx.
Hope this helps. -
Long text indicator against Notification task & SubOrder creation
Hi all,
We are using BAPI_ALM_NOTIF_ADD to create long texts against the notification tasks. Though the long texts are created and can be viewed through IW22, the long text indicator in QMSM table is not set and hence when I display the notification through IW23 and navigate to the tasks, the long text available icon is not displayed. I tried to use CREATE_TEXT and SAVE_TEXT as well. Somehow the long text indicator doesn't get set. Do I need to explicitly set this indicator after the BAPI call? Please provide your valuable inputs.
Also, I have one more issue. Is there a way of creating Sub Order against the PM order through a BAPI? We have a requirement to create a Sub Order against the superior PM order through transaction IW36. Could you please suggest if any of you have come across any BAPI that supports this requirement?
Thanks & Regards,
VidyaI know I am posting answer to very old thread as did not find any answer so far, so giving clue. See if new solution seekers this helps you now…
Cause:
As the create_text or save_text does creation of text at data base level and does not pass through all the screens of the particular transaction, so the text editor icon is not enabled [like in tcode IW23 (IW33) Notification display text editor, tables holding damage text and cause text indicator qmfe-indtx & qmur-indtx I ]
Solution:
Read existing text using FM READ_TEXT i.e. retain existing text in internal table, say IT_READ
Delete existing text using FM 'DELETE_TEXT'. Remember to set save_direct = x
Perform BDC to add dummy text doing call transaction. This will set text indicator to ‘X’.
Append your new ext to IT_READ.
Now create text again using FM 'CREATE_TEXT'. Remember to set save_direct = x
If you have requirement that created text should not be editable then you need to change format of IT_READ.
Like IT_READ-tdformat = ‘>X’ & IT_READ-tdline = ‘*<one space><your text>’ [may use CONCATENATE '*' IT_READ-tdline INTO IT_READ-tdline SEPARATED BY space.].
Below are above steps code snap shots.
Bdc part for IW22
PERFORM bdc_dynpro USING 'X' 'SAPLIQS0' '7200'.
PERFORM bdc_field USING 'BDC_OKCODE' '=TXPS'. "DAMAGE_TXT icon
or PERFORM bdc_field USING 'BDC_OKCODE' '=TXUR'. "CAUSE_TXT icon
Based on your text editor configured to keep track of timestamp log, use one of the option. My case first two lines of text editor shown timestamp log lines and they are non editable.
* PERFORM bdc_dynpro USING 'X' 'SAPLSTXX' '1100'.
* PERFORM bdc_field USING 'BDC_CURSOR' 'RSTXT-TXLINE(02)'.
* PERFORM bdc_field USING 'BDC_OKCODE' '=POSF'.
* PERFORM bdc_field USING 'RSTXT-TXPARGRAPH(02)' '*'.
* PERFORM bdc_field USING 'RSTXT-TXLINE(02)' 'Dummy text for indicator line 2'.
* PERFORM bdc_dynpro USING 'X' 'SAPLSTXX' '1100'.
* PERFORM bdc_field USING 'BDC_CURSOR' 'RSTXT-TXLINE(03)'.
* PERFORM bdc_field USING 'BDC_OKCODE' '=POSF'.
* PERFORM bdc_field USING 'RSTXT-TXPARGRAPH(03)' '*'.
* PERFORM bdc_field USING 'RSTXT-TXLINE(03)' 'Dummy text for indicator line 3'.
PERFORM bdc_dynpro USING 'X' 'SAPLSTXX' '1100'.
PERFORM bdc_field USING 'BDC_CURSOR' 'RSTXT-TXLINE(04)'.
PERFORM bdc_field USING 'BDC_OKCODE' '=POSF'.
PERFORM bdc_field USING 'RSTXT-TXPARGRAPH(04)' '*'.
PERFORM bdc_field USING 'RSTXT-TXLINE(04)' 'Dummy text for indicator line 4'.
PERFORM bdc_field USING 'BDC_OKCODE' '=TXBA'.
FORM bdc_dynpro USING value1
value2
value3.
CLEAR bdcdata.
bdcdata-dynbegin = value1.
bdcdata-program = value2.
bdcdata-dynpro = value3.
APPEND bdcdata.
ENDFORM. " BDC_DYNPRO
form DELETE_EXISTINGTEXT.
CALL FUNCTION 'DELETE_TEXT'
EXPORTING
CLIENT = sy-mandt
ID = LTXT
LANGUAGE = E
name = <notification number + suffix>
– determine from text editor header damage text need suffixed 0001 , cause text need suffixed 00010001
object = QMFE = damage or QMUR = CAUSE
savemode_direct = 'X'
* TEXTMEMORY_ONLY = ' '
* LOCAL_CAT = ' '
EXCEPTIONS
not_found = 1
OTHERS = 2.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = gc_x
endform. " DELETE_EXISTINGTEXT
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = LTXT
flanguage = E
fname = <notification number + suffix>
– determine from text editor header damage text need suffixed 0001 , cause text need suffixed 00010001
object = QMFE = damage or QMUR = CAUSE
fobject = QMFE = damage or QMUR = CAUSE
save_direct = x
fformat = ‘>X’
TABLES
flines = t_editor_text
EXCEPTIONS
no_init = 1
no_save = 2
OTHERS = 3.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = gc_x. -
How to embed images in long text of PM Notifications/Orders
Dear Sir,
How to embed images in long text of PM Notifications/Orders? Kindly help.
Thanks & Regards
PM Team.Hi,
Unfortunately, You will not be able to view the graphics within the Long text editor screen.Only Limited word functionality is available on these editors.
You will have to store these pictures separately as an attachment, through generic object services and then view them through that.
Regards
Narasimhan -
How to edit long text of Services in P.O.?
Hi Friends,
How can I make "Long Text" of services editable while creating P.O.
If any solution let me know.
Regards
SivaDear,
Enter t-code, ME22N.
Enter your purchase order number, Here you can change text for service.
If you want to change Long text of service which is available item detail level of purchase order.
Enter t-code AC03, enter your service number and click on change button.
Here you find the long text for services, change text of service which is coming in purchase order item detail level of purchase order.
Regarda,
Mahesh Wagh. -
Activity Long Text from Service Notification
Hi,
We are designing a report to fetch some fields from the service notification. I am not able to get 2 fileds which are 'Notification Long Text' and 'Activity Long Text'. Can anyone help us to find out how we can bring these fields into the report?
(I can get activity text from table QMMA, but from where can I get activity long text?)
Please let us know the table names or any fucntional module to fetch these field values?
Regards,
SAMHi,
Thank you very much for your input.
I need to get the notification Activity Long Text .So which are the following parameters I need to pass to the FM READ_TEXT?
Text Name : ?
Language : EN
Text ID : ?
Text Object : ?
Please let me knowfrom where and what values I need to pass to the fileds Text name, Text ID and Text object?
Regards,
SAM -
Activity Long Text from the Notification
Hi,
We are designing a report to fetch some fields from the service notification. I am not able to get 2 fileds which are 'Notification Long Text' and 'Activity Long Text'. Can anyone help us to find out how we can bring these fields into the report?
(I can get activity text from table QMMA, but from where can I get activity long text?)
Please let us know the table names or any fucntional module to fetch these field values?
Regards,
SAMHi,
The same question i think
Language->EN, Text ID:- LTXT ,Text Object : QMMA , Name :- I think starting with 001Notification Number0001
But the simple way to identify all these are , open IW22 -> Open that Activity Longtext and goto menu ->Header -u will find Text Header details ..
Hope this helps u
regards
pushpa -
Copy Long text of a notification to its Follow-up Notification
Hi,
Need clarification on
Copying of PM-Notification Long text to the Long text of its Follow-up Notifcations.
Regards,
LSK.Hi lalitha
Pl go through the below link for details regarding copy of long text
http://help.sap.com/saphelp_47x200/helpdata/en/af/cb5447461411d189f20000e81ddfac/frameset.htm
Regards
Suhas -
FM to get the long text of a notification/CRM order?
I use select statement into database table BALHDR, but get only the protocol data. Does anybody know how to obtain the longtext (content) of a notification?
Thanx.
Nunocall function 'READ_TEXT'
EXPORTING
id = '0001'
language = 'EN'
name = document number
object = object name
TABLES
lines = lines
cheers,
sasi -
Maintain notification long text in IW21
Hi Expert,
I have one requirement as follows:
In TCode IW21: Create PM Notification, client wants Notification Long should appear as a Template from Standard Text (TCode: SO10).
Now I want to fetch this Std. Text which is maintained in TCode SO10 and show it at Notification Long Text while creating Notification using TCode: IW21.
Please guide me how to do this functionality using any User Exit or any Enhancement available in SAP.
Thanks,
Jay.Hi,
Create SAP standard text
DATA: IT_TEXTS type standard table of TLINE,
wa_texts like line of it_texts,
THEAD TYPE THEAD.
**Populate text table
wa_texts-tdformat = '*'. "new line
wa_texts-tdline = 'First line of text'.
append wa_texts to it_texts.
clear: wa_texts.
wa_texts-tdformat = '='. "continuation line
wa_texts-tdline = 'still first section of text'.
append wa_texts to it_texts.
clear: wa_texts.
**Also need to Populate THEAD details which can be gathered from the Text Identification Details
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID = THEAD-TDID
FLANGUAGE = THEAD-TDSPRAS
FNAME = THEAD-TDNAME
FOBJECT = THEAD-TDOBJECT
SAVE_DIRECT = 'X'
FFORMAT = '*'
TABLES
FLINES = IT_TEXTS
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3.
Thanks,
Abhijit -
Allow modifications over "Long Text" in notifications until it's released
Hi friends!!!
It is possible to allow modifications over field LONG TEXT until the notification is released??, I know you can disable a field in customizing but I don't know how to restrict the action just until the notification is released,
I need your help!!!!!
Thanks so much,
FrineePeculiar - I was just looking at this (for a different problem). Look at OSS note #876698.
Rob -
PASS THE LONG TEXT TO SAPSCRIPT
Hello Friends,
I m using itcsy structure to pass long text of quality certificate to sapscript output but im able to show only 80 characters in the output but my long text is more than 250 characters.
so how i can show these many characters value in my sapscript pls guide....
Regards,
SunnyIf you want to print the long text, you should use the INCLUDE statement in your SAP SCript.
1. You don't have to take the pain of fetching the text.
2. You don't have to reformat the same.
INCLUDE TEXT_NAME OBJECT TEXT ID
example:-
INCLUDE ZSDINV2A OBJECT TEXT ID ST LANGUAGE EN
Edited by: krupa jani on Nov 25, 2008 10:17 AM -
Prepopulate text in Claim's long text
Hi,
My client has a requirement to prepopulate the long text of claim notification with a predefined fixed text. So, whenever user will try to create a claim, the long text will already be showing some predefined text which would be editable. Is there a way to achieve this in standard SAP?
Thanks,
NitishaHi Nitisha,
please try BAPI_CLAIM_CREATE .
thanks
Sunil -
Using long text in Mobile 7.1
Hello,
We are using Mobile 7.1. We want to display a long text of the notification object in the Mobile Client. We defined this field as STRING data type in the DOE and set TEXT MEMO flag for it. Unfortunately we have a problem with its definition in the backend. This field is included in the header structure for the noitification obect so when we define it as STRING (DSTRING data element), we get compilation error that STRINGS cannot be defined in the flat structure.
So how can we define this field in the backend in order to transfer more than 256 characters?
Thanks in advance,
SergeyHi,
You need to have a separate table to store attachments in the backend.
In the DOE define the attribute as STRING(tick the text memo) [This you have already done] .
In the backend you will need another table where you will be storing the attachments.
Lets assume you have a notification table : In this define the field for headertext with the data type as CHAR and length 1
Create another table where you want to store the attachments:
You can have the fields as NOTIFICATION and HEADERTEXT. This headertext should have a datatype STRING. You can also have a field called attachment type to store whether it is HeaderText or Binary Memo.
Create a BAPI wrapper for getting the HEADERTEXT with importing parameter as NOTIFICATION and exporting HeaderText and a return parameter:
Here the source code:
SELECT SINGLE b~headertext INTO e_headertext
FROM <notification table> AS a
INNER JOIN <attachment table> AS b ON
borderid = aorderid
WHERE a~orderid = orderid AND
a~headertext = 'X' and
b~ATTCHTYP = 'HEDTXT'.
Now in the DOE : give this function module name in the attachment Function module. SAVE (very important)
After doing the mapping go to the attachment tab and do the mapping with the attachment function module.
save and activate the backend adapter.
execute SDOE_LOAD.
Go to SE11: there should be a table starting <cds table name>ending with _TM.
Create an application in the similar way. No extra code required.
Thanks and Regards,
Narayani
Maybe you are looking for
-
I want to export my bookmarks from my desktop and then import them into Firefox on my laptop. The Help file tells me to open "Organize Bookmarks" 'but I can't find it! Help!
-
InDesign crashing on startup with upgrade to Yosemite -only on main admin user- MacBook Pro 2011
Hi, I have been reading forums about similar issue but not able to solve my issue. 1.) Installed Yosemite 1x 2.) Indesign CS5 crashed on Launch (Photoshop and Illustrator opened fine) a.) So I upgraded to CC 3.) Indesign CC also crashed on launc
-
How can I create a list?
I want to create a list like this in html: <ol> <li>...</li> <li>...</li< </ol> How can I do this with Sun java Studio Creator ?
-
File server migration with Offline files involved
Hi, We are planning a file server migration in following weeks. This morning, our customer came with the good old "Ow, and I just thought about something else" Here's the scenario : -They are using 1 network drive -That network drive is made offline
-
How to add azerbaijan language to sap portal
how to add new azerbaijan language to sap portal?İ want step by step configuration .Thanks advance