Blank Long Text in BPM alerts
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
rajeev
Hi 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
Similar Messages
-
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,
RobertoMessage 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 -
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 -
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 -
Alert using Dynamic text in BPM.
Hi,
I am using dynamic text function in alrtcatdef transaction for raising an alert using BPM.
But in the alert inbox I am not getting the an alert error message which is passed to alert catagory in control step of BPM. Can anyone please let me know what may be the possible solution of it.
I have done the below configuration:
Configuration done in Alrtcatdef transaction:
Created an alert catagory
assigned the fixed recipient
click the dynamic text button in alert catagory property.
Configuration done in BPM:
Used the Control step.
given the Alert catagory name,action and the alert error message.
Please let me know the solution soon.
Thanks and Regards,
Sandeep.HI Bhavesh,
I have referred the michal weblog and I have done the same step except the container operation step.
My requirement was to send the hard coded error message to the alert catagory so I didnt used the container operation step.
In the Control step I have hard coded my error message.
But still it is not showing in my alert inbox.
Can you please let me know is there any other settings needs to be done.
Thanks and Regards,
Sandeep. -
BPM Alert shows in Inbox but without custom text
We have a BPM which raises an alert and passes a message to a fixed receipent Inbox. In our Dev environment this works great. We replicated this functinoality in our QA environment and now the user gets an alert in their Inbox but instead of the custom message they just receive the alert category description. We have scene this problem in the past when we forgot to check dynamic text on the alert category but we checked this so it must be something else.
Any help would be appreciated.
CheersHi Puloma,
If I run RSALERTTEST with no additional confirguration it creates an alert in my inbox with the alert category description as the alert message. If I run RSALERTTEST and use the additional configuration menu to add in a description it uses that description as the alert message short text. It appears to be working as expected. The problem seems to be that although my BPM works perfect in Dev, in our QA environment it is not feeding the alert description correctly to the alert message. This is just a guess I am not sure if there is a way for me to monitor what alert description my bpm created.
Regards -
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. -
BPM Alert Container Elements Not Filled
Hi All,
Another problem i am facing when i am raising alert from BPM.
In inbox i see alert message being raised but with no text.
I have also subscribed to email alerts.
In the email the subject is Process 000000008058
and the content is the first alphabet of the AlertMessage container element.
Ex : In BPM my container element is AlertMessage and the message assigned is <i>Error</i> . Then in email message i only get E. where as in alert inbox i get nothing.
ps : im using XI 7.0 SP 9. there are no notes which are applicable for this release.
Regards,
Rahul
Message was edited by:
Rahul JainHi Bhavesh,
<i>>When you select Dynamic text in the Alert category, the Container tab will no longer be available in ALRTCATDEF for your Alet Category.!</i>
the container tab is available but the Long& Short text tab is disabled.
I did not mean that..
What i meant was see next to the Properties tab in Alert Category defination there is a Container tab where we define our own container elements.
Do i need to define the names there..or i can directly use in the BPM?
Regards,
Rahul
Message was edited by:
Rahul Jain -
Hi masters.....
i am doing one scenario where i have to pick data from source side and send it to target system then from the target system i wil be getting response that data is successfully inserted in target system ... if it is not inserted then it should throw expections.... for tht i had used bpm ...
i am facing one problem i had defined alert category where in container tab i had defined SXMS_MSG_GUID,SXMS_ERROR_CODE,SXMS_ERROR_CAT,SXMS_FROM_SERVICE..
In short text tab i had mentioned......
error:&SXMS_MSG_GUID&
In long Text i had mentioned ........
error:&SXMS_ERROR_CODE& , &SXMS_MSG_GUID& (Category &SXMS_ERROR_CAT& ) was found in message &SXMS_MSG_GUID& from the interface &SXMS_FROM_SERVICE&
i had created the alert rules in RWB also ...
but when i went to alert inbox then i got message like below...
longtext tab.....
error: , (Category ) was found in message from the interface &SXMS_FROM_SERVICE& .
in short text tab....
error:
I didnt get the actual details with respect to the variable used in container tab...
can u help me to get wht mistake i had done while setting alert config in bpm ....
Thanks in Advance .....
jagannath.i had checked ICF service also .... but still i am not getting variables value in alert inbox
Here in bpm ... in control step i had given these parameters...
in properties ...............
1) AlertCategory Name: alertcat name i had given ....
2) Alert Message: "Error".. it means i had given my own message as error with in double quotes..
is it right or i have to give any variable name .... which i had used in container ..
if so then ......i had used more thn one variable in container..... so how i should give variable name in this block(in alert message block)...
Thanks in advance,
jagannath. -
Report Error Message in BPM Alert?
Hi,
I designed a BPM with a transformation step and a send step. For each step I have an exception branch where I want to trigger an alert, when something goes wrong.
I already configured in TC ALRTCATDEF an alert category (Dynamic Text activated). And I made an container operatinon with folloing control step, where I for example report the message ID.
But, going through the blogs and threads I didn't find the information, how I can report the exact error message, the error category (and in case of the send step the adapter and the adapter error text) to the alert. How can I get this data to put it into a container variable?
Can anybody give me some information about that?
Thanks in advance
Dominic
System: PI 7.0 SP15You can use the below information for raising an Alert for adapters.
Specific Error Information from the Adapter Engine:
Container Element
ABAP Dictionary Data Type
Meaning
SXMS_TO_ADAPTER_TYPE
CHAR70
Adapter type
SXMS_TO_ADAPTER_ERRTXT
CHAR70
Error text from the Adapter Engine
Refer the below link:
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm -
i want to print a description in text mode which is 5-6 lines some times it have a blank line also so
how to print in ALV .i m using READ_TEXT function but sumtime it not works when text exceed 4-5 lines
what i sud do.hi,
there is another way u can use yours internal table field like long text field. that is.
parameters: salno type vbak-vbeln.
data: begin of itab occurs 0,
vbeln type vbak-vbeln,
matnr type vbap-matnr,
longtext type thead occurs 0,
end of itab.
data: itabstxl type standard table of stxl with header line.
select single vbakvbeln vbapmatnr into (itab-vbeln, itab-matnr)
from vbak inner join vbap
on vbakvbeln = vbapvbeln
where vbak~vbeln = salno.
select single tdobject tdname tdid tdspras from stxl
into (itabstxl-tdobject,itabstxl-tdname,itabstxl-tdid,itabstxl-tdspras)
where relid = 'TX'
and tdobject = 'VBBK'
and tdname = salno "YOUR OWN TDNAME e,g
and tdid = 'Z003'
and tdspras = 'EN'.
call function 'READ_TEXT'
exporting
CLIENT = SY-MANDT
id = itabstxl-tdid
language = itabstxl-tdspras
name = itabstxl-tdname
object = itabstxl-tdobject
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = itab-longtext
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
break abaper.
I HOPE THIS WILL SOLVE THIS WILL SOLVE THE PROBLEM OF THE OTHERS AS WELL. -
Hi,
I need to get the long text that we maintained in CJ20n tcode under long text at project level. I need to display the same in Script layout or report. I didnot find any table or functional module to get it. please help me out.
regards,
ChandraHi
Double click on the Long text, it will take you to Text editor
from the Menu GOTO-> HEADER
you will find the OBJECT,ID,OBJECTNAME and LANGUAGE parameters for that lang text which are to be passed to the READ_TEXT fun module
for displaying it on report use the above fun module and fetch the text in IT_LINES internal table and write it on report output
You can also see the doc of the read_text
READ_TEXT
READ_TEXT provides a text for the application program in the specified work areas.
The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
Function call:
CALL FUNCTION 'READ_TEXT'
EXPORTING CLIENT = SY-MANDT
OBJECT = ?...
NAME = ?...
ID = ?...
LANGUAGE = ?...
ARCHIVE_HANDLE = 0
IMPORTING HEADER =
TABLES LINES = ?...
EXCEPTIONS ID =
LANGUAGE =
NAME =
NOT_FOUND =
OBJECT =
REFERENCE_CHECK =
WRONG_ACCESS_TO_ARCHIVE =
Export parameters:
CLIENT
Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
Reference field: SY-MANDT
Default value: SY-MANDT
OBJECT
Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
Reference field: THEAD-TDOBJECT
NAME
Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
Reference field: THEAD-TDNAME
ID
Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
Reference field: THEAD-TDID
LANGUAGE
Enter the language key of the text module. The system accepts only languages that are defined in table T002.
Reference field: THEAD-TDSPRAS
ARCHIVE_HANDLE
If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
The value '0' indicates that you do not want to read the text from the archive.
Reference field: SY-TABIX
Default value: 0
Import parameters:
HEADER
If the system finds the desired text, it returns the text header in this parameter.
Structure: THEAD
Table parameters:
LINES
The table contains all text lines that belong to the text read.
Structure: TLINE
Exceptions:
ID
The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
LANGUAGE
The parameter LANGUAGE contains a language key that does not exist in table T002.
NAME
The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
Possible errors:
The field contains only blanks.
The field contains the invalid characters * or ,.
OBJECT
The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
NOT_FOUND
The system did not find the specified text module.
REFERENCE_CHECK
The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
WRONG_ACCESS_ TO_ARCHIVE
The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
IN SCRIPTS you can use the INCLUDE statement to print the Long texts
/: INCLUDE TEXT<name> ID <id> Lang <en> paragraph <za>
Regards
Anji
Maybe you are looking for
-
Hi, I have created a DSO based on the schedule lines standard extractor 2LIS_02_SCL. The keys of this DSO are PO Number, PO Item and Schedule Line number. I have succeed to get some key figures like PO Quantity, GR Quantity and Invoice Receipt Quanti
-
Hi everyone! I have iphone 4s, which was my friends bought it from canada appstore about 1 month before and has serial number DQ*******TDD and IMEI ****. When i try to check warranty on the page https://selfsolve.apple.com/wcResults.do i see We're so
-
Help creating a XA Format CD - Can this be done on my Power Mac G5?
Going way back to Performa 6320 series I was able to read CD-XA Format CDs. Such as older video game system discs. Back in 1994 I started to create data backups with .bin and mp3 files of the games. (saves space) In 1997 I had a serious apartment fir
-
Open Dir, SMB, AFP, Changing Password on first login (Windows)
Hey all... I've read up on some documentation but have run into a roadblock trying to set up file sharing for Open Directory user accounts with OS X Server 10.5.6. I have AFP and SMB (and Open dir) services enabled. Using all default settings I am ab
-
GR without PO - Movement types?
Hi All, As per SOX compliance we have to remove all movement types from the system which allow Goods Receipt without PO. Is 561 the only movement type which allows GR without PO or are there any more movement types which I need to remove. Regards, V