Alert Long Text
Hi all!
I have a problem when a BPM throws an alert with dynamic text from a control step:
- If the control step have the next text: &var_container&
The long text in the alert inbox is filled with the content of the var_container.
- If the control step have the next text: Message with id &var_container& failed
The long text in the alert inbox is empty...
Thanks in advance,
Roberto
Message ID is not accessible inside a BPM and hence the problem.
Why is not accessible -> Look at this really interesting thread.
Re: Message id in BPM
What is the solution - workaround from Michal
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
Regards
Bhavesh
Similar Messages
-
Alert : long text not complete
Hi all,
I manage specific alerts in my BPM.
I have defined it as "dynamic text" alerts in ALRTCATDEF.
These alerts are well thrown by PI however I can see only the first caracter of the long text.
My version is PI 7.0 SP8.
Is it a known issue ?
Thanks in advance,
J.C.Hi JC,
This may not be an issue at all...and just the way alerts are shown in the inbox.
Just right click on the table cell where you see the first character of the text, right click and select "view source".
You should be able to see the long text within the HTML source.
Though not a solution but this can be used to test out the alert.
Regards
Gaurav
PS: Please reward points for helpful answers. -
Hi
I have configured alerts for a BPM Scenario. I have enabled the dynamic text . I am able to see the alert in the Alert inbox, But in the long text it shows only one character.
I am working in XI 7.0 SP level 8. What could be the problem.
With regards
VaradharajanHi
835031 cannot solve the problem as this note is for 2004s SP1 and Vardharajan is on SP08 same as me and I am having the same problem. But still haven't got any solution.
Let me know Vardharajan if you have solved this problem!
-K -
Hello,
I have a problem triggering an alert with dynamic text out of a bpm. The alert is triggered correctly (I can't see any dump in tzhe log files), I can see the alert in my alert inbox, but the long text isn't filled. I'm using SAP Netweaver 2004s SP 9 (SAP Basis 7.00).
Then I tried the same preocedure in a SAP Netweaver 2004 SP 15 (SAP Basis 6.40) with the same settings, and it worked fine. I can see the long message in the alert inbox. The only differnce was, that in 2004s the alert classification 'Webflow Alert' didn't exist, so I had to create it.
Does anybody know, where the problem could be?
Thanks,
ThomasHi,
Just check that the length of the message is not more then the required limit. If thats the case it sometimes does not show the message.
Else, just try re-activating that step again by making some dummy chnages.
This problem happens at times when you are using dynamic variables .
Regards
Vijaya -
Hello Experts,
I had configured dynamic alerts in BPM (of PI 7.1) and I am raising the same through Control step. The configuration is similar as described in blog
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
Accordingly the alert is getting generated from BPM control step.But my problem is whenever i use container variable (&variable&), i am receiving blank long text in email and in alert inbox. It works fine with hard-coded text from BPM.
I could see the container variable value in SXMB_MONI but somehow it loses Long text.
Thanks in advance.
regards
rajeevHi rajeev,
Make sure that your variable name is correctly spelt in all the places.
check the assignment step when you pass the value to the variable.
You can try re assigning the value to the variable afresh.
Make sure you have the dynamic text option checked in the Alert Category.
Regards,
Ravi Kanth Talagana -
HTML in Alert Category Long Text?
Hi All,
Can I include HTML in the Alert Category Long Text and have it show in the alert email that's sent out?
Thanks,
J WolffI donot think this would be possible...but i maybe wrong...
The reason is that the content type set by the alerting framework for the mail that it sends is "text/plain", so even if you have html tags it would just be interpreted as plain text only...
If by some chance we can set the alerting framework to send emails with a content type "text/html"..then it would be possible..
Thanks,
Renjith -
XI Alert Text (Modifyinng long text using BADI ALERT_MODIFY_TEXT)
Hello, Has anyone been able to successfully implement the BADI ALERT_MODIFY_TEXT ?
The export parameters of the BADI contains an internal table called CT_LONG_TEXT which I am updating with a simple "hello world" message. However, I cannot see this text inside the long-text field in me Alert Inbox in the RWB.
I am certain that the badi is being invoked (I am inserting an entry to a custom table to ensure that - and also, I have written out the original contents of CT_LONG_TEXT which contains the original long text which I configured in ALRTCATDEF), however, no changes to the CT_LONG_TEXT seems to go through..
Is there anything else I need to do? In my ALRTCATDEF config, I have also tried to use the "Dynamic Text" option but to no avail.
Thanks in advance for your help.Post Author: RScipione
CA Forum: Performance Management and Dashboards
I'll reply to my own post so that others might benefit from the response I got from customer support.
It is possible to use functions in alert text, but the function must be preceeded by #f and followed by %. So to get the example from my previous post working, I used:
#f MetricValue(metric1.id, 0) %
The 'f' is case sensitive by the way. -
Hi,
I'm triggering Alerts from BPM with Dynamic variables. In ALRTCATDEF I was not able to define the header ( Subject field on the email ) as I need to check Dynamic Text box which will deactivate Short and Long Text. Furthermore Shortext ( for example its like " Process number 00001234567 " ) in ALRTINBOX becoming Subject field in the email. So when we receive email with the Subject field as "Process number 00001234567" doesn't makes sense until you open the email.
I did gone thru the document and all the blogs and lost how to fix it.
Do anyone have the same problem?.. Please help.
Basically I want to system ID on the Subject line of the email.Well there is an alternate solution. But as a standard using the Control Step of the BPM, this is not possible.
Trigger Alert from a UDF as shown in this blog of mine,
/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
And also as shown in this blog,
/people/community.user/blog/2006/10/16/simple-steps-to-get-descriptive-alerts-from-bpm-in-xi
Regards
Bhavesh -
Hello Experts,
How are "Short Text" and "Long text" used in CATS? I thought that these were supposed to be two separate text fields, but when I make an entry in the Long text field, the value shows up in the Short Text field.
Are these two separate fields? Any ideas how to use both Short Text and Long text and not have the value copied from one to the other?Hi,
You can Create a rule in Alert Configuration based on the <b>error code</b> under "where did the error occur".
Based on this you can trigger the required Alert category. -
How to print long text in scripts
plzzzzzzzzz answer this qestion
how to print long text in scriptsHi Kranthi,
You can create Text Id and include that in your script.
For example:
/E TEXT
/: INCLUDE ZTEXT OBJECT TEXT ID ST
Hope this helps.
Please reward if useful.
Thanks,
Srinivasa -
Database Table where modifications to message long text are stored (log)
Hi,
As per manual correction mentioned in SAP note 1144291,
we have changed the long text for message XC092 by modification of the long text.
This note 1144291 is a pre-requisite for SAP Note 1310808.
After the notes were implemented, it is noticed that message CURTO1055 has incorrect information in its long text. This is because, the variable in the long text are not correctly defined in the long text.
Both the messages XC-092 and CURTO1-055 are SAP standard.
The error for CURTO1-055 can be rectified by modification of the long text and maintenance of the correct variables.
However, my question is:
Where do we check the log for document modifcation for a message long text.
I have found the logs relevant to my modification in table DOKHL and DOKIL.
But in which table do we get all of the foll. data:
- Message class
- Message number
- Modification name
- Modification created by
- Modification done on
- Last changed by
- Last changed on
Kindly help. A <removed by moderator> solution would be really helpful.
Best Regards,
Smruthi
Edited by: Thomas Zloch on May 5, 2011 12:07 PM - urgency reducedHi Smruthi,
The modification changes would be in the SMODILOG table. Please note this is a core basis table and should not be changed, however to best find your changes search under the TRKORR field with the relevant tp request.
Best regards,
Derrick Hurley
Development Workench -
Can not see long text description of a characteristics in portal
Hi experts,
I designed two queries via Query designer and published them to portal but I can not see the the long text description of "Name" attribute belongs to 0BPARTNER characteristics.
One of the queries shows only the last name of partner in portal while it is showing full name and last name in Bex Analyzer. The other query shows only the key value in both portal and Bex Analyzer.
I want to see long text description in both queries.
For an additional information, I'm extracting data from CRM 5.00 to BW 7.00
What will be the reason for this and how can I solve it?
Can anyone help me for this issue, it's a kind of emergency situation.Hi,
we have the same problem.
We want to change <b>only</b> in the screen variable the hierarchy text (from default to long\medium text) but even if there's a possibility to do this, really it doesn't happen anything - it' s possible when you start query, in the selection screen inside every the variable there's a command "User Settings" in which manage what you want to see (I put display custom, as text, medium text).
I try to do this also in query analizer, selecting variable (hierarchy) and enter in this (user setting), changing in display custom as text - medium text, but even if I save this settings, really doesn't happen anything.
It seems the system isn't sensitive to this selection...
By now, if someone has an answer, please write us!
Thanks in advance,
Alessandra Mirone -
Creating a long text using ABAP code.. fm SAVE_TEXT
When you create an order via IW31 one of the options is to click on the text button and create a long text. I am basically trying to mimic this action from within my ABAP code.
The text id details are as follows:
Text Name 500000015000046 which is (5000000 + order number)
Language EN
Text ID KOPF Order header text
Text Object AUFK Order text
If i manually create the text within the transaction i am then able to view and update it via function modules READ_TEXT and SAVE_TEXT. But if the text has not already been created READ_TEXT obviously returns nothing as it does not exist and SAVE_TEXT does not seem to created it!
Anyone know how i would go about creating this text using ABAP code?
Hope this make a bit of sense
Thanks in advance
MartI have implemented the code as i think it should be. See below, can any see what is wrong. If i add init_text it makes no difference and adding the commit_text just makes it hang
DATA: IT_TEXTS type standard table of TLINE,
wa_texts like line of it_texts,
wa_txtheader type THEAD.
wa_txtheader-TDID = 'KOPF'.
wa_txtheader-TDSPRAS = 'EN'.
wa_txtheader-TDNAME = '500000015000056'.
wa_txtheader-TDOBJECT = 'AUFK'.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = wa_txtheader
INSERT = 'X'
SAVEMODE_DIRECT = ' '
OWNER_SPECIFIED = 'X'
LOCAL_CAT = ' '
IMPORTING
FUNCTION =
NEWHEADER =
TABLES
LINES = IT_TEXTS
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
Long text doesn't fit the window exactly
Hi friends,
in PO smartforms i have included the header text of PO.
the problem is the long text doesn't fit to the window exactly i.e.,
when we enter the text in PO in the header a line can contain only 60 characters approximately where as in my smartforms it can contain more than that.
so in the display of smart form i get lot of space in the right side and i get the remaining part of text in the next line.
regards,
Saravan rajhi,
what u have told is correct but we can't expect the end user to do it each time when they paste the long text.
is there any option to bring it by default.
regards,
saravan raj -
From which table i can get the long text
Hi All
I have created some long text through function module CREATE_TEXT And i am able to see the text in the transaction .
My requirement is from which table i can get these stored long text???
Any suggestions please.
ThanksAppreciate your answers.
I have checked the both the fields stxh as well as stxl but i am not able to find any text fields out there.
My actual requirement is some third party software needs to b mapped the table fields in order to import it.
So if i know the table fields that would be easier.
Can you tell me y we can not read it from the tables?
Thanks,
@run.
Maybe you are looking for
-
HT1386 What do I do if my iPod Touch does not show up as a device in iTunes?
Until my latest upday, when I connected my iPod Touch to my Mac, launched iTunes, I selected my iPod under devices and click on sync. Now my iPod doesn't show up under devices? How to I get it to be recognized again?
-
Adding a view in a component of BSP application
Hi All, I want to create new component for a BSP and add a view to it. my scenario is : I have a problem in creating a pop-up view whenever a button in a WEB UI is clicked. I have added a button in the items tab of sales order creation(in WEB UI),so
-
How to obtain a case number for License transfer process
How to obtain a case number for License transfer process.
-
Purchased songs (lost)
Purchased songs two days ago see them on my history but cannot access them anywhere in library or anywhere. can anyone help??
-
Netgear WNDR3400 - drive share issues with MacBook Pro 10.9
Hello, I have a Seagate drive connected to a Netgear WNDR3400 router and it has two partitions: 1Tb for Mac (Mac_Storage) and 1Tb for Windows (Win_Storage). When I connect to it as smb://readyshare from my Mac, the Mac_Storage is mounted correctly, b