CcBPM: can we resend the failed message from PI to R/3
Hi All,
I have a scenario where I need to process 4 separate files in a fixed sequenec in R/3. (File-1 first, then File-2, File-3 and then File-4). These files will come to PI at same time.
I understand CCBPM may be the only way to do it elegantly. (please advise if otherwise)
My questions on CCBPM approach:
1. If out of the 4 files, The first file fails to update data in R/3 (due to missing config), can I make the ccBPM to stop and not process other files.
2. So approach in point 1 above means, ccBPM will have to wait for an acknowledgement from SAP or run some RFC command to check if data has actually been posted...am I right?
3. Now, If the user manually corrects the config in R/3, can I re-run this interface from PI(read ccBPM) to start the processing of 1st file( which failed previously).
4. If it succeeds to post data in SAP, then will ccBPM ensure that all other files are sent for processing as they all need to go in a sequence.
5. Is this message re-running possible from SXI_MONITOR or for ccBPM failed messages there is something else. ( aplogies for this basic question - I am new to ccBPM approach )
Appreciate your help on same.
Many thanks
SK
Hi SK,
plz find all required informations at [SAP Help: Integraton Processes (ccBPM)|http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm]
And, yes, you are new to BPM, but obvisiously experienced in IT at all and additional familiar with SAP applications. Look forward to run your first BP, it is a very welcome satisfaction to see the checkered flag. Only the best drivers are going to see it
Regards,
Udo
Similar Messages
-
How can I Fetch the error message from a OAF page
Hi,
A confirmation message is coming on the page,I want to catch the error message and depending on its value want to add some validation.
Is that possible to fetch the error message from the page?is it a confirmation message or an error message ?
Code in the OAF page would be raising an OAException with a message name defined in message dictionary.
you would need to look at the code to understand where this is thrown from and add your validation there.
Tapash -
How can SMO retrieve the SQL messages from ExecuteNonQuery(SQLFile)
I have a vb.net app that uses SMO to execute SQL files with the ExecuteNonQuery(SQLFile). The ExecuteNonQuery(SQLFile) is in a TRY CATCH and I catch SQLException, SMOException, and general Exception. When my SQL file has an error, such as a table name that
does not exists, it throws a general Exception and the message is "An exception occurred while executing a Transact-SQL statement or batch." I want the message that would be shown on the Messages pane in SSMS "Msg 2812, Level 16, State 62, Line
2. Could not find stored procedure 'ifs_RunHistoryInsertv2x'."
How can I get the Msg from SQL returned to SMO so that I can show is in a messagebox?How could I do something like this in Powershell?
I've tried something like this:
[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMO') | out-null
# Create SMO Server Object
$Server = New-Object ('Microsoft.SQLServer.Management.Smo.Server') "SD-KP-DEVSUP01\KP"
#AddHandler $Server.ConnectionContext.InfoMessage, New SqlInfoMessageEventHandler(AddressOf OnInfoMessage)
$db = $Server.Databases["master"]
try {
$db.ExecuteWithResults("SELECT name from sys.databases2").Tables[0]
catch [Exception] {
$_.Exception|fl -Force
#[SqlException]$se=$_.Exception.InnerException
and I get this Error:
SmoExceptionType : FailedOperationException
Operation : Execute with results
FailedObject : [master]
Message : Execute with results failed for Database 'master'.
HelpLink : http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=12.0.2000.8+((SQL14_RTM).140220-1752)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Exec
ute+with+results+Database&LinkId=20476
Data : {HelpLink.ProdName, HelpLink.BaseHelpUrl, HelpLink.LinkId, HelpLink.ProdVer...}
InnerException : Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch. ---> System.Data.SqlClient.SqlException: Invalid object name
'sys.databases2'.
at Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSql(ExecuteTSqlAction action, Object execObject, DataSet fillDataSet, Boolean catchException)
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteWithResults(String sqlCommand)
--- End of inner exception stack trace ---
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteWithResults(String sqlCommand)
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteWithResults(StringCollection sqlCommands)
at Microsoft.SqlServer.Management.Smo.ExecutionManager.ExecuteWithResults(StringCollection query)
at Microsoft.SqlServer.Management.Smo.Database.ExecuteWithResults(StringCollection sqlCommands)
TargetSite : System.Data.DataSet ExecuteWithResults(System.Collections.Specialized.StringCollection)
StackTrace : at Microsoft.SqlServer.Management.Smo.Database.ExecuteWithResults(StringCollection sqlCommands)
at CallSite.Target(Closure , CallSite , Object , String )
Source : Microsoft.SqlServer.Smo
HResult : -2146233088
I've looked at all the items in $_ and $Error[0] but can't find any reference to what actual script line failed.
I really want to do output something like this to get more details where the error happened in a big script file.
Console.WriteLine("Msg {0}, Level {1}, State {2}, Line {3}", e.Number, e.Class, e.State, e.LineNumber) -
How can i get the error message from the thrown/raised exception?
DB version:10gR2
Examples for this thread taken from
Want Stored Procs to get exectuted regardless of preceeding SPs Success or
I have a package with several functions and procedures inside.I created a caller procedure called callProcs, which will execute various procedures within the package in the appropriate order.
In the below example i cannot get the error message thrown from line 20
create or replace package body mypackage
is
variable_proc1 number;
variable_proc2 number;
variable_proc3 number;
v_result number;
my_exception exception;
procedure proc1
is
begin
select 8/0 into variable_proc1 from dual;
exception
when others
then raise my_exception; ----line 20
end;
procedure proc2
is
begin
select 1 into variable_proc2 from dual;
exception
when others
then
null;
end;
procedure proc3
is
begin
select 3 into variable_proc3 from dual;
exception
when others
then
null;
end;
Procedure caller_proc
is
begin
proc1;
proc2;
proc3;
v_result:=variable_proc2+variable_proc3;
dbms_output.put_line('The output is '||v_result);
exception
when my_exception
then
dbms_output.put_line('Heyyyyy the error is '||SQLERRM); -- exception caught at line 64 of caller proc
end;
end mypackage;
When i try executing the caller proc, i don't get the error. Instead i get the text User-Defined Exception as shown below
set serveroutput on
exec mypackage.caller_proc;
Heyyyyy the error is User-Defined Exception
PL/SQL procedure successfully completed.Edited by: user10633418 on Mar 10, 2009 11:30 PMThank you justin.
Sorry my earlier post was a bit ambiguous.
I wanted the error generated at proc1 to be captured at caller proc's Exception handling section (line 64) so that i could log the error to an ERR_LOG table.
I can actually log this error at proc1 itself like
exception
when others
THEN
error_message :='My custom message for the particular proc '||SQLERRM;
dbms_output.put_line(error_message);
logerror(error_message); --an autonomous error logging proc
raise;But there is a RAISE statement in proc1's exception handling, so the exception gets propogated to caller proc's exception handling section {color:#ff0000}*and another redundant row will be created at ERR_LOG table for the same error because there is a*{color}
logerror(error_message);--an autonomous error logging proc
in the WHEN OTHERS section of exception handling section of the caller proc
I want to avoid the creation of this redundant row in ERR_LOG table. -
I am unable to clear 1 message in my email inbox showing on the icon. I have tried clearning out all messages in my inbox and it still shows 1 message remaining unread. I erased messages 5 days ago and since then it has been showing 1 message remaining. How can I clear this from the icon? Thanks
Ouit Mail app. (Remove from MultiTasking bar).
Double tap the home button to bring up the multitasking dock. Tap and hold an app. A red badge with a minus symbol will appear on the icons. Tap the minus symbol of Mail app to quit. -
Seriously, the red thingy on top of my icon is annoying me.. And it doesn't let me hear the stupid message
Contact YOUR OWN carrier (provider/the company you pay for cellular service) and tell them about your problem with listening to your voicemails. They should be able to reset it for you.
To delete voicemails: Go to voicemail, choose a voicemail, and swipe left. The "delete" option will appear. -
RFC to Resend the error messages
Hi All,
As I know we can resend the error messages from the SXMB_MONI, SMQ2 and Message Monitoring. But I want to know Is there any RFC to resend the error messages?
Thanks,
Satish.Thanks
-
We have an IDOC to File Scenario. We are FTPing the file on the Receiver end.
When the receiver System is Down after certain number of attempts my job fails with the red flag.
Once the file System is up, how to resend the Faile Message(As it is not possible for us to trigger the IDOC again!!!).
Thanks.Jenni,
You can resend the messages by selecting the message and clicking Resend button in RWB. You can also refer Naveen's blog :/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
-raj. -
Extracting Value from Message Payload of the Failed Messages
Hi Experts,
We are working on PI 7.0. We have an asynchronous scenario from JMS to IDOC. Vehicle related data is being sent to SAP.
We have a requirement where in we have to extract the vehicle commission number (a field in message payload) of all the failed messages in sxmb_moni(mapping failure).
Is there a way we can achieve this? Can we write some OS level script to the same.
If yes please help me out here.
This is a critical issue.
Kindly advice.
Regards,
PoojaHi Pooja,
We have done something similar, but instead of the Vehicle Comm Num, we just retrieved our Transaction ID. Please see the links below. These will send out an email if there was an issue with the message mapping.
Customize E-Mail Body and Subject in Alerts in SAP PI 7.31 – Java Stack Only – Part 1 – ESR
Trigger customized email on error in PI
XI Alerts from UDF using file adapter.
Trigger one alert per failed message
How to send variable data through alert mail without BPM
Raise Alert and also Execute the message
Regards,
Jannus -
How can i remove the phone number from the text messages that i receive in the notification center
how can i remove the phone number from the text messages that i receive in the notification center?
You choose whether to see text messages in Notification Center or not. If you elect to see them, they will display the phone number (unless they are from a contact in your contacts list).
You can choose not to see them at Settings > Notification Center > Messages. -
I recently switched from my iphone to a samsung Galaxy S4, trading in my iphone. I now can not send/receive text messages from any iphones to my galaxy S4. Since I traded the iphone in, I can't access it to make any changes. Any ideas?
http://support.apple.com/kb/TS5185
-
Ever since I enabled iMessage on my Mac Airbook, I can no longer receive text messages from the iMessage people on my iPhone, only on my iMessage now!! How do I get the messages to reach both iMessage and iPhone??
We are suffering very similar issues when communicating from my iphone to a friend who has both iphone and iPad enabled.
As long as I reply to an existing text chain, then it is visible on the target iphone. If I SMS the phone number, it gets routed to the IPAD!! And NO, I should not have to disable imessage when I want to send an SMS!! -
just got a Nikon D610 and CS5 for Mac can't open the images -- message says installed version of camera raw doesn't support the camera. Downloaded the Raw 6.2 update for Mac, but installation failed. Now what?
The D610 didn't get out-of-the-box RAW support until Photoshop CC.
You can either upgrade to CC or use the DNG Converter to convert and open your DNGs in CS5. -
HT3529 how can i prevent everyone on the group message from seeing everyone else's replies?
how can i prevent everyone on the group message from seeing everyone else's replies?
Thanks! makes sense. When I replied to a message earlier, I noticed I replied to everyone in the group again. so your saying if I create a new thread from the person i want to reply to , the message will only go to that one person? meaning i have to tap the reply bubble from that person to create the new thread?
-
I accidentally deleted all my husband's Mac mail and now it is also gone from his gmail account. How can I retrieve the deletd messages?
Did you also empty the trash can? If you did not empty the trash, then likely mail moved the messages to the trash folder on GMAIL.
Maybe you are looking for
-
Dropdown list in WD-ABAP.
hi gurus, I'm doing WD for ABAP and I'm trying to get contents into a dropdown list. I'm using DropDownListByKey. The contents come from a customizing table. I'm not sure where exactly I should add my coding: does it go into a supply func
-
Have iphone4-is there a way to turn off voicemail if i don't want to recieve any voicemail?
have iphone4-is there a way to turn off voicemail if i don't want to recieve any voicemail?
-
Is Java in the repository or how do I install it?
I have never successfully installed Java in Linux unless there is a repository package or it come installed. It seems to me that the Sun instructions are missing newbie information for sure. I have not installed Arch yet. I need to know if Java, win3
-
How do I get an app back when I delete everything
PPlease help me how do I get mine craft back.
-
Hello, I'm trying to create local users in my Switch /Routers with different privileges. My requirement is when the user telnets to Switch /Router , he should get a screen with username rather than using login command from unprivileged mode . Now to