Long text for Messages
Hi,
I am trying to display warning message W899(V1).
For this message, Long text is not maintained in SE91.
Can we display Long text for such messages? My Long text content will be generated in program. So it will not be fixed always.
Thanks in Advance
Umesh
Umesh,
899(V1) cannot have a long text as it is dynamically assigned. It takes four text variables and displays them as the message. Because of the dynamic nature of the message, you cannot create one long text explaination for it. Look at the following to illustrate what I am talking about.
MESSAGE W899(V1) WITH 'I am First Message'
'I am Second Message'
'I am Third Message'
'I am Fourth Message'.
Your popup will be displayed as 'I am First Message I am Second Message I am Third Message I am Fourth Message'. Now what long text do you think is suitable for this vs. another message displayed as follows.
MESSAGE W899(V1) WITH 'You have Entered wrong values.'
'See long text for an explanation.'
'Correct the value'
'and rerun'.
Now here it makes sense to have some long text, but since you are using a message id, you cannot do. If you add long text based on the second message, then it will be applicable to first one also, where it will not make sense.
Use function module HELP_OBJECT_SHOW. See program DEMO_DYNPRO_F1_HELP for the usage of this function module.
Similar Messages
-
Translation long text for message
Hi friends,
this is a real issue and I do not need any unspecific recommendations.
I created a message in Z namespace with additional longtext. I have to translate the long text from German to english.
I wasted one hour with trying in SE63 - I did not get anywhere, nothing selected, nothing displayed.
Need a step-by-step guide or link to useful online help.
Desperate.
TIA,
ClemensHello Clemens
Here is a step-by-step procedure (assumption: message class has name ZUS_SDN):
(1) Call transaction <b>SE63</b>
(2) Choose menu: <i>Translation -> R/3 Enterprise -> Transport Objects</i>
(3) Enter: R3TR MSAG ZUS_SDN and choose target language -> push ENTER button
The following hierarchy will be displayed:
<b>Temporary Worklist </b>
5 ABAP texts
5 <MESS> Messages " messages
ZUS_SDN 000 ZUS_SDN
5 Technical short texts
5 <MSAG> Message Classes " description of message class
ZUS_SDN ZUS_SDN
5 Further object types " long text of messages
5 <NA> Messages
ZUS_SDN000 ZUS_SDN
Regards
Uwe -
Issue in maintaining Long Text in Message Class
Hi
For Note implementation 1413492, I have to maintain long text, when I click on Long Text , I get a pop-up Create Modification , with 2 options for Template Type (1) Original Text (2) Template (With Headers)
Can anyone let me know how to proceed further, whatever name I give for the Modification, I am getting Error Message saying 'Enhancement Name violates the namespace convention (Note 989653)', I have tried unchecking the Self Explanatory check box as well, but still I get the same error message.
Below is the Long text I have to maintain class FR, message number 533
7. Create new error messages in the message class FR:
Call transaction SE91, enter the message class FR, and choose "Display" and
then "Change". Enter the following new messages:
Message Message short text:
533 Error while calling RFC destination
534 Contract Accounts Receivable and Payable is not installed in the
system
535 For company code & there were & data records transferred from
FI-CA
536 Error during data transfer from FI-CA for company code &; error
text:
Set the "Self-explanat'y" indicator for messages 535 and 536.
Enter a long text for messages 533 and 534:
Long text FR 533:
CAUSE
An error occurred when testing the RFC connection to Contract Accounts
Receivable and Payable. The message text is:
&V1&&V2&&V3&
SYS_ADMIN
Check the settings of the RFC destination &V4&.Hi Ryan,
Extract from note 989653;
Note:
The name of the modification object must start with:
o 'Z'/'Y', or
o the customer namespace available in the system (TRNSPACE table).
Otherwise, message 645 will appear because the SAP namespace is not
permitted.
My suggestion would be to start the name with a Z.
Regards,
Nick -
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 -
Post long text for document line item via FI-GL Inbound IDoc
Hi guru,
I am trying post extension ZFIDCP02 linked basic type FIDCCP02 and message type FIDCC2 IDoc in R/3 (4.6c) via IBM Websphere (Inbound IDoc),
I am use inbound function module IDOC_INPUT_FIDCC2 and activate exit 008 (EXIT_SAPLF050_008) and exit 002 (EXIT_SAPLF050_002),
In the extension ZFIDCP02 and under E1FISEG, I am add my segment ZITEXT include field TDSPRAS, TDID, TDOBJECT, TDLINE.
I am send ZFIDCP02 IDoc via IBM Websphere no error but all field TDSPRAS, TDID, TDOBJECT, TDLINE in my segment ZITEXT not post in FI-GL.
How can I post long text for document line item (ZITEXT) in FI-GL ?.
and I'm mean post ZITEXT to bank statement via IDOC.
Please throw light on this and may be I 'm want solution or example ABAP code for exit 002 (EXIT_SAPLF050_002).
Thanks in advance,
Akkapong Pirachai
CAT Telecom
Edited by: Akkapong Pirachai on Aug 20, 2008 7:40 AMClose question because long time for answer.
-
User exit to make the field 'Long text for UD' as mandatory
Hi Gurus,
My requiremen is that while doing UD, I need to make the field 'Long text for UD' as mandatory for the rejected materials
pls suggest.
Thanks
GaneshHi,
U can use the badi ME_PROCESS_PO_CUST methid PO PROCESS_ITEM. In this u have both doc type and line item data and using this u can through the error message to make the field compulsory.u can go to the 'Goto' in menu and in this go to 'Sample code' .Here u will find how to use this badi. -
How to add long text for existing static text in Adobe forms.
Hi all,
I have a requirement that I need to add a long text for existing Static text in my adobe form
1) Counter part inputs
2) Mack Inputs.
These two are static texts, I need to add the long text in the following manner.
1)Counter Part Inputs(zds220)
2)mack Inouts(zds340)
Please suggest me how to do it.
Thank You.
Suneel.Hi Nitin Sikka,
Thanks for your reply. I found solution for the above issue. I need to change the text to text field and binding to that text field.
Thank You,
Suneel. -
Long text for line item appears twice in my PO form...
Hello Experts,
I am wondering why my long text for my 1st line item is appearing twice. In my PO, I only
maintained a long text for my 1st PO line item appeards twice. below is my code:
/E ITEM_LINE_1
IZ &EKPO-EBELP&,,&EKPO-TXZ01&
IZ ,,&EKPO-EMATN&,,&EKPO-MENGE&,,&EKPO-MEINS&,,&EKPO-UMREZ&,,&EKPO-NETPR&,,
= &EKPO-NETWR&
/: DEFINE &LV_TEXTNAME& = ''
/: PERFORM GET_LONGTEXT_ITEM IN PROGRAM ZMMRP0008
/: USING &EKPO-EBELN&
/: USING &EKPO-EBELP&
/: CHANGING &LV_TEXTNAME&
/: ENDPERFORM
/: INCLUDE &LV_TEXTNAME& OBJECT 'EKPO' ID 'F01'
The element 'ITEM_LINE_1' is called per line item. So in my case, 3 times. The INCLUDE statement
at the end of the element is for the longtext. I am now confused as to why it appears twice for the 1st line item.
Thank you guys and take care!Hi,
You can debug and check whats happening there.
Regards,
Ram -
Default values for long text for mic in inspection plan
hi,
Some long text are coming default when i am creating inpection plan for mic.
This is coming for only particular plant. For other plant it is not coming. Is there anywhere we can make it as default for a particualar line item . ie for particular characteristics i.e 10, 20 etc
sathish. RHi,
I am not sure , whether you are mentioning about Long text for MIC or Default insp char number (10,20,30..) in the insp plan.
If you are talking about Insp char number in the insp plan . you can specify the same in SPRO , QM->Q planning ->Insp planning -> General -> Maintain profiles for default values.
Regards
K.M.Arun -
Hello,
we are working on a process to download longtexts from one system and to upload into another system to add missing long text there for different objects.
We are using SAVE_TEXT and it is working fine for documents in DRAW/DRAT.
Here we got what we expected. Long texts are uploaded and can be edited in the
transaction CV02N.
But then we started with material and with BOMs (bill of material).
Result of upload:
STXH is filled with entries but in MM02 and CS02 we cannot see the added long texts.
Seems that the connection between material and bom and their texts is missing.
For BOM we are not totally wrong. If there is a longtext in the BOM we can add longtext (we READ_TEXT the existing longtext and add our text. Then we do a update) and can see the added longtext in CSxx transactions.
But if there is only a short text, our insert via SAVE_TEXT is not working.
Is there something we are doing wrong or don´t we understand something?
Any help is appreciated.
Best regard
DirkHello Naren,
oh, this answer was bringing light into my confusion.
My problem is that there will be some import files with any long text for any object in R/3 like
material with x textids , bom, equipment etc...
Is there any chance to find out easily which text object combination with textid belongs to a specific long text. The TTXID table is only a listing w/o any explanantion???????
Update longtext in BOM header -> set STZU-LTXSP
Update longtext alternative in BOM header -> set STKO-LTXSP
Update longtext in BOM position -> set STPO-LTXSP
And what is the text ID DPO for?
My other problem now is with Material long text import.
I checked the SDN threats but could not find the answer.
This is my abap that is not running for material.
I can see the long text entries from READ_TEXT, but not in STXH and STXL.
zs_textline_c [ ] = zs_textline_b [ ] .
CALL FUNCTION 'INIT_TEXT'
EXPORTING
id = wa_header-tdid
language = wa_header-tdspras
name = wa_header-tdname
object = wa_header-tdobject
IMPORTING
header = wa_header_b
TABLES
lines = zs_textline_c
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
IF sy-subrc <> 0.
ENDIF.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = wa_header_b
insert = 'X'
savemode_direct = 'X'
owner_specified = 'X'
local_cat = ' '
IMPORTING
function = l_result
NEWHEADER =
TABLES
lines = zs_textline_b
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5
IF sy-subrc <> 0.
ENDIF.
CALL FUNCTION 'COMMIT_TEXT'.
COMMIT WORK.
Your help is welcome!
Best regards
Dirk
Edited by: Dirk Meinhard on Mar 31, 2009 4:33 PM -
Create long text for network activity
Hello,
I'll create a long text for a network activity, but I found no BAPI for that.
When I create long text for an order activity I use the BAPI BAPI_ALM_ORDER_MAINTAIN. There it is possible to specifiy the long text lines.
In the BAPI BAPI_NETWORK_MAINTAIN there ist no table for specifying long text.
Did anyone know how to create a long text for an network activity?Hello Vivek,
I'll tried this too. My problem was, if I add long text to a existing network activity, everything works well. But in my programm I create a new network plan with one network activity (0010). After commit I become the correct network plan number. Then I try to add long text to the network activity. I get correct return codes but if I look in the transcation CJ20N I could not see some text. If I use the READ_TEXT function with the key I insert the text, I see the text, but not with the transaction CJ20N.
I compared the key I used in my program with the key if I insert text with transaction CJ20N. I could'nt found some differences.
SELECT SINGLE afvcp~mandt afvcp~aufpl afvcp~aplzl
INTO (mandant,aufpl,aplzl)
FROM afvcp INNER JOIN
afko ON
afko~mandt = afvcp~mandt
AND afko~aufpl = afvcp~aufpl
AND afko~aufnr = ordernumbernew.
"*Create Identifier
CONCATENATE
mandant aufpl aplzl
INTO lv_name.
header-tdobject = 'AUFK'.
header-tdname = lv_name.
header-tdspras = sy-langu.
header-tdform = 'SYSTEM'.
header-tdid = 'AVOT'.
header-mandt = sy-mandt.
header-TDLINESIZE = '079'.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = header
insert = 'X'
savemode_direct = 'X'
owner_specified = ' '
local_cat = ' '
IMPORTING
function = func
newheader = newheader
TABLES
lines = lines
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
OBJECT = header-tdobject
SAVEMODE_DIRECT = 'X'
IMPORTING
COMMIT_COUNT = commit_count
COMMIT WORK AND WAIT.
For example in the debug the header ist filled with:
1 TDOBJECT C 10 AUFK
2 TDNAME C 70 210000044156300000001
3 TDID C 4 AVOT
4 TDSPRAS C 1 D
5 TDTITLE C 50
6 TDFORM C 16 SYSTEM
7 TDSTYLE C 8
8 TDVERSION N 5 00000
9 TDFUSER C 12
10 TDFRELES C 4
11 TDFDATE D 8 00000000
12 TDFTIME T 6 000000
13 TDLUSER C 12
14 TDLRELES C 4
15 TDLDATE D 8 00000000
16 TDLTIME T 6 000000
17 TDLINESIZE N 3 079
18 TDTXTLINES N 5 00000
19 TDHYPHENAT C 1
20 TDOSPRAS C 1
21 TDTRANSTAT N 1 0
22 TDMACODE1 C 16
23 TDMACODE2 C 16
24 TDREFOBJ C 10
25 TDREFNAME C 70
26 TDREFID C 4 4
In CJ20N the header is filled with
1 TDOBJECT C 10 AUFK
2 TDNAME C 70 210000044156300000001
3 TDID C 4 AVOT
4 TDSPRAS C 1 D
5 TDTITLE C 50
6 TDFORM C 16 SYSTEM
7 TDSTYLE C 8
8 TDVERSION N 5 00000
9 TDFUSER C 12
10 TDFRELES C 4
11 TDFDATE D 8 00000000
12 TDFTIME T 6 000000
13 TDLUSER C 12
14 TDLRELES C 4
15 TDLDATE D 8 00000000
16 TDLTIME T 6 000000
17 TDLINESIZE N 3 079
18 TDTXTLINES N 5 00007
19 TDHYPHENAT C 1
20 TDOSPRAS C 1
21 TDTRANSTAT N 1 0
22 TDMACODE1 C 16
23 TDMACODE2 C 16
24 TDREFOBJ C 10
25 TDREFNAME C 70
26 TDREFID C 4 -
Short Text and Long Text for WBS
HI All,
I am working on Interface Project where I need to enter Short description and long text for a WBS with external text.
Let me know if any FM Module is exist for same where I can Put this Short Description and Long Text seprately for a WBS Element.
Regards,
Atul R. RajmaneHi Atul,
I think you can enter short description & long text seprately for a WBS while creating entire struture of project in PS only. I don't think other than PS you will be able to enter short & long text for individual WBS.
Regards,
Sandeep -
Where do I find the long text for Damage and Cause in Notifications (IW21)
Hi ppl,
Can anyone let me know where the long text for Damage and Cause is stored (can be seen in IW21)?
Can I retrieve it through FM READ_TEXT? If yes, what are the values of the parameters to be passed?
Thanks,
David.Hi!
It is easy to check whether some text is read by "READ_TEXT" or not.
1) Create text in dialogue mode and save it.
2) Place brake-point in READ_TEXT FM
3) go to view this text in transaction again
If the program is switched to debug mode, it means u can use this FM. Have u tried do this stuff? -
Long text for object type.
Hi,
Is there any table which stores long text for object type?
I am fetching list of objects from table TADIR for particular user, I am getting objects as DOMA, TABL, PROG ..etc But I want long text for these object type for eg. Domain for DOMA, Program for PROG and so on.. Is there any method to get the long text for object type?
Regards,
Parshuram.Hello Vinod,
Looks like the FM 'TRINT_OBJECT_TABLE' is tightly coupled to SAP CTS & hence the hard-coding! Also i don't see where the long text of the object is returned.
On the contrary if you check the FM 'DOCU_READ' you've the table DOKTL which stores the long text(or the documentation) of the object.
Btw, i'm not sure what did the OP actually mean by "long-text". Does he mean the documentation?
Dammit! I get it now. Imho, "description" should have been a more appropriate word
BR,
Suhas
Edited by: Suhas Saha on Jan 13, 2012 4:57 PM -
How to save long text for IA01 Transaction using BDC
Hi All,
In my requirement I have to create a Task List Equipment and Task List Functional Location using BDC.Here I need to upload the long text for both IA01 and IA11 transactions.I am using SAVE_TEXT function module to save the text and COMMIT_TEXT also after save text.But I am not able to see the text in IA12 and IA02 transactions.But using READ_TEXT I am able to get the text what updated using SAVE_TEXT.
Please answer for this if any one worked on this requirement <Priority normalized by moderator>
Thanks,
Satya.
Edited by: Vinod Kumar on Jan 2, 2012 9:02 PMHi Satya,
There is a simple way to update the long text. There is direct input object in the LSMW for long text.
Object : 0001
Method : 0001
Program type : D
SImply go and create the LSMW with first option and follow the steps. No need to call the function modules separately. This standard program will take care of every thing.
If you have multiple lines to populate in the equipment master at the header level then you need two set of files. Then key will be equipment number with leading zeros if it will not be alpha numeric.
1) First file with field EQUNR.
2) Second file will be
EQUNR C(018) Technical identification number
TXPARGRAPH C(002) Tag column
TXLINE C(072) Text editor text line
TEXT_MARK C(001) Description Indicator for RIIBIP00 (IBIP) Processing
Please let me know if you need more in detail.
Thanks,
Satheesh
Maybe you are looking for
-
Using nested tables and varrays in Forms/Reports6i
Hi! Could anybody give practical examples of applications based on nested tables and varrays in Forms/Reports6i. The possible schema of building user interface and so on. Thank you. [email protected]
-
Input Level problem in GB with Fastrack Pro
I have a wierd problem with Fastrack Pro. It's the same in GB and also Logic Express. I'm trying to record acoustic piano with a pair of condensor mic's on a MacBook Pro. I do get a weak signal in both programs if I set the gain knobs on Fastrack abo
-
Hi: I've just put in a third tape using my Sony VX2100. First two tapes detected fine. Third tape sees not breaks in the tape. Perhaps I changed a setting without realizing it. Can anyone offer any possible solutions. I imagine it's just a wrong sett
-
How to make the Access Gate SDK work with Web Gate
When we want control the display of one area in one page, we can define this area as one resource then control the access of it. But when the user has been authenticated in the application, how can we get the user session and then call Access Gate SD
-
Attach User define tables and view table need add to database into my add-o
Hi there, I want to deploy an addon, there are User define tables and view table need add to database. I need some advice on some issues.. 1. Can I attach User define tables and view table need add to database into my addon. 2. I wonder which chance