Email Alert with data from payload SAP PI 7.0
Hi,
i have a requirement to send an email alert when a Purchase Order Transmission fails through PI. In the email i need to send PO number which had failed.
Format is:
Subject- PO # XXXXXXX failed to reach XXXTarget
in the mail content i need to mention the error and why the error occurred.
Please tell if this is possible in SAP PI 7.0 If yes then How?
Regards,
Ashwani
Hi,
If the message fails in in mapping, you can send the alert with PO number in the email. Steps would be following.
Catch the execpetion
Call RFC SALERT_CREATE by passing required parameters
You can also pass the PO number as one of the value which will can be used in you alert category
PO number can be used as one of the Alert container
But if the message fails in adapter engine you cannot send the PO number in the email. You can just send email with standard alert containers.
Similar Messages
-
How to Extract email subject with date from outlook?
Hello,
I am new to powershell and was wondering how i can extract the email subject with date for entire last month? i need to generate a report every month end and have to go through all the emails which can be very cumbersome at times.
Divyansh
DivyanshOk i was able to find the commands but it only list email which are exactly 2 week old .. it does not list the recent items ..
Add-type -assembly "Microsoft.Office.Interop.Outlook" | out-null
$olFolders = "Microsoft.Office.Interop.Outlook.olDefaultFolders" -as [type]
$outlook = new-object -comobject outlook.application
$namespace = $outlook.GetNameSpace("MAPI")
$folder = $namespace.getDefaultFolder($olFolders::olFolderSentMail)
$folder.items | where { $_.SentOn -gt [datetime]"3/1/2014" -AND $_.On -lt [datetime]"3/25/2014" } | Select-Object -Property Subject, SentOn, Importance, SenderName
Divyansh -
Alert with Information from payload
I configured the alert framework so I get my alerts. Can anybody come up with procedure so: I can get more information (like PO number or other specific information) form the payload beside the standard variables?
I know how to do this in BMP with a control step on an exception branch or in a user defined function.
I 'm looking for a more universal way so that in every failure gives me this extra information.
Maybe we can do this in the pipeline as a extra first step?The stnadard alerts ( without BPM ) provide access only to the Vairbales n this link dynamically.
You cannot get the payload info in the alerts.
http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
Regards
Bhavesh -
PDF Creation with data from SAP system
Hi All,
I need to generate a PDF file using Adobe Document Service. The content of the PDF can be from any datasource (Oracle/ BW/ R3 ), So I require Webdynpro code for pdf creation with data from any of the systemHi Deepak,
Before starting the code just like that,make sure u have configured all services in Visual Administrator.
U can refer this:
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/95/5a08cd0e274a0bae559622d6670722/frameset.htm">Configuration Guide</a>
regards
Sumit -
Work with data from a table of another SAP R/3 system
Hi,
I want to work with data from a table of another system. I know there's a function called 'RFC_READ_TABLE' but I don't know really how it works. What I want to do is to get data from that system and pass it to the one where I'm working in order I can continue working with this data in the report.
Besides, I'd like to select only the records that have some conditions.
I'd appreciate if someone could tell how to do it, whether with FM 'RFC_READ_TABLE' or in another way.
Thanks in advance,
Gerard
P.S: The systems are already connected in SM59Yes, you can use RFC_read_table .You can pass the number of columns but I recommend you to bring all results in your internal table after that you can filter the records. Most of the time I have notice when you make RFC call with this FM to another system it works but it may also happen that other system controlling authorization and then it might give you nothing. As I face this problem on my last Project.
Hope thisll give you idea!!
<b>P.S award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise" -
How Can we get the data from Non-SAP to SAP in WebDynpro
Hi,
I hope u understand my query, How can we get the data from Non-SAP to SAP thru WebDynpro Programming.
Help out with the steps for getting the data or procedure.
Regards,
MutyapuYou can expose the APIs in the Non-SAP backend as Web Services, and consume them in SAP by creating an Enterprise Proxy. Then these can be called just like normal class methods from Web Dynpro.
Regards,
Nithya -
How to configure RBE in order to get data from a SAP System
Dear all,
I downloaded the last version of RBE in order to install it and evaluate the concept of Reverse Business Engineering.
After installing it on my laptop, I try to access with no exit. It appears a log on screen.
Someone can help me by explaining how to set first steps in order to connect with a system?
Thanks in advance, XavierHi Gopi,
Here I enclose the steps for sending data from a SAP R/3 system to Non-SAP R/3 thru ALE.
Here my Non SAP System is - Web Methods.
1.Creating LS - 1. SAP R/3 - S1_800
2. web methods LS - WM_800
2. ASSIGN CLIENTS TO LS - S1_800 TO 800
3. DEFINE TARGET RFC DESTINATIONS -
3.1. TCP/IP Connection - RFC DEST NAME -WM_800
Connection Type - T
Applicataion Type - Registered server proggram
PROGRAM ID - WMB2B1
Gateway Host - Sap Server Name
4.0. Model View Name - W_M_V (for sending data to IS)
sender - S1_800
receiver - WM_800
message type - MATMAS
4.1. Create Partner Profiles.
5. Create PORT - TCode - we21
5.1. For Wem Methods system - WM_PORT
RFC Destination Name - WM_800 (created in step 3.1.)
With Regards
Vasu -
Unable to read data from the SAP Service Marketplace issue
Good morning, experts.
I´ve just installed the SAP Download Manager, but I can´t get connected to Marketplace.
First I tried downloading a file I could see in my Basket Download. Then I deleted it from the basket so I could test only the connection. In both situations I got the same error message: "Unable to read data from the SAP Service Marketplace (...)".
It is probably due to wrong settings, but I can´t figure it out. My settings are:
Address: https://websmp205.sap-ag.de/
User name: S0005951541
Password: (my password)
Proxy (my proxy settings)
Any ideas?Thanks for your answer.
I can see my download basket online. I realize I didn´t delete the items so I could test purely the connection. I am going to do it again.
I found out I dind´t have permission to download those items, and with the right permission I could download them directly online.
As long as I have more information I am going to repost this issue on a new forum.
Thanks. -
Migrate Closed Sales Data from one SAP system to Other
Hi,
We have a requirement to migrate Closed Sales Order data from one SAP System to the New SAP system.
Please share your thoughts on the considerations / DOs and Donts for such cases.
Appreciate your response.
Kind Regards,
TanujiHi,
If you want to migrate closed SOs..then first consider why? and from what date i.e how long back?
Following are the considerations:
1) You can't get the creation date same as your previous system dates--this might lead to incorrect reporting. So you'll have to check if its really worth?
2) You might want to have a reference no somewhere in the new transactions from the previous system.
3) If you want to migrate the deliveries, invoices then you've to consider also GL migration as well as payments.
Regards,
Raghu. -
Prepopulating PDF Fillable Forms with data from XML files
How can I get a PDF fillable form to open pre-populated with data from an XML file automatically? I've been using Adobe Standard 9.0 and am willing to upgrade in a modest fashion if necessary. I am aware of the Navigation method > Forms > Manage Form Data > Import Data. This works fine, however, my users are not smart enough to do tis much clicking and selecting. Is there an automated way to have this XML data merged into the PDF file on the fly. These files will reside on an internal local area network and will be operated on local PC's that will probably have Acrobat Reader ONLY. I have been told that the only way to accomplish this is through Java Scripting. I would prefer to do this the 'old fashioned' way of command line switches, but that does not appear to be an option. Does anyone have a sample Javascript that would accomplish what I am trying to achieve. Any help would be greatly appreciated.
Hi Sharon
The easiest way is:
- Open your PDF form within Acrobat
- From the File menu, import the XML form data into the form
- From the File menu, use Save As... to save the file with a new name.
The new PDF will be identical to the original one, but will have the data embedded in it. Voila.
If you want the same form to pre-populate with different XML files depending on the circumstances, or if you're generating the XML on the fly, then things get more complicated. (And more expensive.) As your consultant said, LiveCycle Forms is one option, but it is expensive (actually even more than 10K). There are other options, including Cold Fusion, custom servlets, etc.
Howard
http://www.avoka.com -
Make readonly pdf with data from forms
Hi there,
I really appriciate any help on this issue...
I am not able to make read only file with data from the fillable pdf forms.
Requirement is my client need some form where they can enter some data and make a read only file from those forms and send them to their clients.
So I made fillable form in acrobat and send them, they will use reader to fill up the form but I dont know how to save those file with data so it will become just a document.
is there any way ?
Thanks....
-M.I am soory I am slow...
I made form file in acrobat... but after that my client is going to use reader and enter data to this forms and saves it. and then my client is going to send them to their customers.
So I shall use reader code and make all fields read only right ?
In this case I have to make a button and run this code on submit ?
Thanks.
-M. -
How do I replace data on my PC with data from iCloud?
How do I replace data on my PC with data from iCloud?
This long article covers all types of transfers, including moving to a new computer: http://www.ilounge.com/index.php/articles/comments/moving-your-itunes-library-to -a-new-hard-drive
-
Unable to read data from the SAP marketplace
Hi All,
These days, certain packages in my download basketball cannot be downloaded, while others can be downloaded normally.
After serveral redirecting, the SAP download manager keeps informing me that "Unable to read data from the SAP marketplace, check your settings and try again".
Anyone knows how to solve it?
Thanks,
YiningHi Yining,
You user on SAP MarketPlace is locked.
You have to unlock it but I do not know the way.
Check in user data maintenance on SAP MarketPlace who is your responsible and perhaps he wwill be able to solve to unlock our user.
Regards,
Ronan -
Trying to populate a table with data from WebRowset
Hi,
I want to be able to populate my tables with data from WebRowsets that have been saved to files. Everything goes good until I get to acceptChanges(). At which point I get a NullPointerException.
Here's the code...
WebRowSet wrs = new WebRowSetImpl();
FileReader reader = new FileReader(inputFile);
wrs.readXml(reader);
wrs.beforeFirst();
CachedRowSet crs = new CachedRowSetImpl();
crs.setSyncProvider("com.sun.rowset.providers.RIXMLProvider");
crs.populate(wrs);
crs.beforeFirst();
crs.acceptChanges(con);
Results in...
java.lang.NullPointerException
at com.sun.rowset.CachedRowSetImpl.acceptChanges(CachedRowSetImpl.java:867)
at com.sun.rowset.CachedRowSetImpl.acceptChanges(CachedRowSetImpl.java:919)
I'm using Java 1.5_02. I looked at the source code for CachedRowSetImpl, and the only thing I could think of is that maybe "provider.getRowSetWriter()" in the following snippet is returning null....
public void setSyncProvider(String s)
throws SQLException
provider = SyncFactory.getInstance(s);
rowSetReader = provider.getRowSetReader();
rowSetWriter = (TransactionalWriter)provider.getRowSetWriter();
Any ideas?? Thanks!I have the same problem after setting com.sun.rowset.providers.RIXMLProvider.
Looks like a bug to me.
By the way, why are you creating a new CachedRowSet and populate it with a WebRowset (which extends CachedRowSet)? -
Filling dynamic internal table with data from other internal table
Hi Friends,
My problem is that i have already built a dynamic internal table
(class int_table->create) but now i want to fill it with data from other internal table.
The dynamic table column name and the field value of the data filled internal table are same, but how to access that column name, since i cant hard code it anyway.
Like if my werks field value is '8001'. I want to place it under the column 8001 of dynamic table, Can anybody help me in this regard?
Awarding points is not a problem for even giving a slight hint.
Best RegardsHi
See this
Dynamic internal table is internal table that we create on the fly with flexible column numbers.
For sample code, please look at this code tutorial. Hopefully it can help you
Check this link:
http://www.****************/Tutorials/ABAP/DynamicInternaltable/DynamicInternalTable.htm
Sample code:
DATA: l_cnt(2) TYPE n,
l_cnt1(3) TYPE n,
l_nam(12),
l_con(18) TYPE c,
l_con1(18) TYPE c,
lf_mat TYPE matnr.
SORT it_bom_expl BY bom_comp bom_mat level.
CLEAR: l_cnt1, <fs_dyn_wa>.
Looping the component internal table
LOOP AT it_bom_expl INTO gf_it_bom_expl.
CLEAR: l_cnt1.
AT NEW bom_comp.
CLEAR: l_cnt, <fs_dyn_wa>, lf_mat.
For every new bom component the material data is moved to
temp material table which will be used for assigning the levels
checking the count
it_mat_temp[] = it_mat[].
Component data is been assigned to the field symbol which is checked
against the field of dynamic internal table and the value of the
component number is been passed to the dynamic internal table field
value.
ASSIGN COMPONENT c_comp_list OF STRUCTURE <fs_dyn_wa> TO
<fs_check>.
<fs_check> = gf_it_bom_expl-bom_comp.
ENDAT.
AT NEW bom_mat.
CLEAR l_con.
ENDAT.
lf_mat = gf_it_bom_expl-bom_mat.
Looping the temp internal table and looping the dynamic internal table
*by reading line by line into workarea, the materialxxn is been assigned
to field symbol which will be checked and used.
LOOP AT it_mat_temp.
l_nam = c_mat.
l_cnt1 = l_cnt1 + 1.
CONCATENATE l_nam l_cnt1 INTO l_nam.
LOOP AT <fs_dyn_table2> ASSIGNING <fs_dyn_wa2>.
ASSIGN COMPONENT l_nam OF STRUCTURE <fs_dyn_wa2> TO <fs_xy>.
ENDLOOP.
IF <fs_xy> = lf_mat.
CLEAR lf_mat.
l_con1 = l_con.
ENDIF.
Checking whether the material exists for a component and if so it is
been assigned to the field symbol which is checked against the field
of dynamic internal table and the level of the component number
against material is been passed to the dynamic internal table field
value.
IF <fs_xy> = gf_it_bom_expl-bom_mat.
ASSIGN COMPONENT l_nam OF STRUCTURE <fs_dyn_wa> TO <fs_check>.
CLEAR l_con.
MOVE gf_it_bom_expl-level TO l_con.
CONCATENATE c_val_l l_con INTO l_con.
CONDENSE l_con NO-GAPS.
IF l_con1 NE space.
CONCATENATE l_con1 l_con INTO l_con SEPARATED BY c_comma.
CLEAR l_con1.
l_cnt = l_cnt - 1.
ENDIF.
<fs_check> = l_con.
l_cnt = l_cnt + 1.
ENDIF.
ENDLOOP.
AT END OF bom_comp.
At end of every new bom component the count is moved to the field
symbol which is checked against the field of dynamic internal table
and the count is been passed to the dynamic internal table field
value.
ASSIGN COMPONENT c_count OF STRUCTURE <fs_dyn_wa> TO <fs_check>.
<fs_check> = l_cnt.
INSERT <fs_dyn_wa> INTO TABLE <fs_dyn_table>.
ENDAT.
ENDLOOP.
Reward if useful
Anji
Maybe you are looking for
-
Sony HDR-HC7 and FCP 6.0.1
I have been having trouble capturing any 1080i footage. This is a new camera that I was recommended (since I was having trouble with the Canon HV20) and going through EASY SETUP I can't seem to capture. SD comes through fine but anything I do in the
-
Voice Memos shows in computer iTunes but not on iphone
Now, I have iphone 5, OS 8.1 (Powerbook Pro OS 10.6.8). Earlier OS, I used to be able to enjoyed and managed the Voice Memos from iPhone to the computer iTunes Playlists, then selected and dragged it to a new playlist. Once I synced the new playlist
-
HT2688 How can I "click and drag" songs from one shared library to another?
I have home sharing activated on my mom's computer and mine and before the newest version of itunes, we were able to click and drag songs from one users' library into the other. We are not able to do that now and I wanted to know if there was a way t
-
I have a client who has been using Now to Date on her Mac. That program is now obscure and she is looking for software that is extremely similar. She has tried Outlook for Mac and it is too labor-intensive for her. She wants a professional look, a
-
Problem in passing parameters in command line in desktop
Hi, I am trying to generate reports from command line (Oracle Discoverer 4i Version 4.1.42.04.00) but I am facing problems when I try to pass date or numeric parameters. It seems to work with strings The following command is successful when i pass st