on 08-14-2008 10:31 PM
Hi Dears,
I am working with adapters JMS to Idoc. I have a plain message with different message types. You can see the sample message below. If message type is RL30 i need to raise alert if message type is RL50 i need to generate Idoc. How i can call Alert catagory when message type is RL30 ?
#MMDC 0001RL500207301605ABCD
#MMDC 0001RL300207301605ABCD
#MMDC 0001RL500207301605ABCD
#MMDC 0001RL500207301605ABCD
Thanks,
Hi,
As correctly said by aamir. u need to write a UDf and check in UDF for the message type. if the message type is RL30 then rasie an alert and if its not RL30 then generate the IDOC.
also from the UDF u need to call the alert method which will raise the alert for the RL30 message type.
I think u can refer the below weblog.
For raising an alert you need to first configure the alert please follow the below weblog written by Michal Krawczyk
Configuration steps are: go to transaction ALRTCATDEF
1) Define Alert Category
2) Create container elements which are used for holding an error messages.
3) Recipient Determination.
Alert can be triggered in different ways.
1) Triggering by Calling a Function Module Directly.
chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
You need to write a UDF and within it raise a exception if message type is RL30.
as far as alert category is concerned,you can make any alert category in ALRTCATDEF,and assign that category to your interface in alert configuration in RWB.
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As mentioned in above post you have to go for raising the smart exception...
Also you can Define the Alert Notification for this kind of exception in mapping. so your purpose of getting the Alert for Message Type RL30 will resolve...and in case of RL50 IDOCs will be created..
Please refer below link of the code...to raise exception
Here you need to customize it by add the check condtion of Message Type Value == RL30.
Thanks
swarup
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.