How to handle error msgs in one system which are available only in another?
Hi Experts,
I have two SAP systems A and B. An ABAP program in system A calls Function module in System B.
System B returns any error with message id, class and variables in the event of any invalid data.
How to handle this returned error message in system A when the message class exists only in system B.
One way is to create a copy of this message class along with all the messages in system A.
But the function module in system B calls many BAPIs which in turn may return messages from many different message classes. So making a copy of so many message classes in System A means creating so many custom objects.
Is there any better way to handle this without creating the message classes in System A?
Thanks & Regards
Gopal
Edited by: gopalkrishna baliga on Apr 27, 2010 6:28 AM
Hi Gopal,
As per my understanding your function module can retrun any number of error messages and it may have varied descriptions.It would be difficult to handle each of these error individually.
One of the methods can be..use the raise exception otion whenever any error is encountered if you want to do in the shortedt way.
you can catch all th set of error in soem exceptions and then use the same.
Handling each error individually in the source system would be difficult if these errors do not exisit in the source system at all.
Similar Messages
-
How to handle errors in a file at sender side?
Hi
I have done a file to proxy scenario.
I know how to handle errors on proxy.
But on sender side when picking the file if one the record have worng fomat its throwing mapping error and its not processing any record..
I wanted to process the records which have right format and data and all remaining recrods which have wromg format should be send back to the sender as file.
How to do this.
How to handle error in sender file.
Regards
SowmyaHello Sowmya,
In your scenario Three ways you can validate the data.
1) Before the data reaches into SAP system ie in XI system during Mapping or before mapping i,e in Adapter Module in the Sender side
2) this option, is in the receiver applications side. ie. Validations will be taken care in the SAP system i.e in ABAP server proxy code.
3)Through BPM, If Mapping Exception Occures then through exception Branch you can send bad formate file to sender again.
Generally, it is prefer to more business critical validations in the Application System ie Receiver Application System (ABAP Server Proxy)
In this, you can have more flexibility of the validations as you are validating some of the SAP payroll informations as Personal ID etc.
Based on the complexity and flexibility of the requirement, you can either do this in the XI (if XI, ie Sender Adapter Module or Mapping) or in the ABAP proxy
Thanks'
Sunil Singh -
How many JVM can exist in one system
How many JVM can exist in one system?
r u talking abt installed JDK's or JVM loaded in to physical memory?
if installed JDK's then Caffeine0001 is right.
and if u r talking abt JVM loaded in to physical memory then again answer is same as above i.e. whatever your machin's physical memory can effort. -
How to transport CU02 objects from one system to another?
Hi,
How to transport CU02 objects from one system (Development) to another (Quality)?You need to set up the object dependency IDOC in the partner profile.Message type is KNOMAS. The transaction to send is CLD2.
-
How to put SELECTED videos in one place, so I can ONLY show the SELECTED videos on my TV and not ALL of the videos I have ever taken
YYou have to describe your issue in more detail. Are you using iTunes? Trying to see it in Apple TV, etc, etc.
-
How to delete the queries in BW Production which are no longer existing.
Hi,
How to delete the queries in BW production which are no longer existing in DEV.
1. I tried Using RSZDELETE in Production it is not getting deleted and the below message given.
Query object 4A7V83T3RB4ABIOKSDJT2HWDL is blocked. Deletion has been cancelled.
2. I tried creating another query in dev with the same technical name and send a transport with deletion
it is not working.
Please advise me on this for any function module or any other method.
Thanks
SuryaHi,
If you transported the query from DEV and now you want to delete it, you should open a BEx request (Dev Class under which it was originally transported -- or-- Standard - type) in DEV delete the query and move the transport to Production.
As far as your error is concerned, usually when you can delete a query using the delete option in query designer itself,
Business Explorer> query-> delete objects , when you press execute the system offers you a list of dependent objects on the query(workbook,views), in case the sysytem is unable to delete them i.e.they being used as a input query for a characteristic variable (replacement path),then system throws this error.You can delete these all depndents under there prescribed roles , fav s & then proceed.
Hope this will be expedite.
Thax & regards.
Vaibhave Sharma -
How to find the list of Queries/Reports which are using Exceptional Aggregation in SAP BI?
Hi All,
We are interested to know how to find the list of Queries/ Reports which are using Exceptional aggregation in SAP BI.
Please let us know is there any table's to check the list of reports using Exceptional Aggregation in SAP BI.Hi,
Here you go..
1) Go to table RSZCALC and get list of ELTUID where AGGREXC is not INITIAL and AGGRCHA is not initial; now you get only exception aggregation set based on some chars. Also you can further add STEPNR = 1 since your intention is just to get query name , not the calculation details; this will reduce number of entries to lookup and save DB time for next steps.
Here you will get list of exception aggregation UUID numbers from which you can get properties from RSZELTDIR.
2) Pass list of RSZCALC-ELTUID to table RSZELTXREF - TELTUID and get list of RSZELTXREF -SELTUID - this table stores query to it's elements maping kind.
3) Now again pass RSZELTXREF - SELTUID into same table but into different field RSZELTZREF - TELTUID and get RSZELTXREF - SELTUID
This step you get query reference sheet or column or query general UUID for next step.
4) Pass list of RSZELTXREF - SELTUID into RSZELTDIR - ELTUID with DEFTP as 'REP'. Now you get list of query names in RSZELTDIR - MAPNAME and description in TXTLG.
Note: you can also get the reference chars used for exception aggregation from RSZCALC - AGGRCHA field.
Hope this helps.
Please keep in mind, it might take more time depends on how many query elements you have in the system...
Comments added for better DB performance by: Arun Thangaraj -
How to check no. of NIC cards which are available in Solaris 9 server.
How to check no. of NIC cards which are available in Solaris 9 server.
Regards,
Dinesh.Hi
For list network cards that was sometime registered in system:
grep network /etc/path_to_inst | awk ' { print substr($3,2,length($3) -2 ) $2 } '
ifconfig -a show all network interfaces that curently configured
For check that interface that was listen at first comand available or not: Try
ifconfg <interface_name> plumb
ifconfg <interface_name> unplumb
Do not touch already configured interface or lost network connection.
Regards. -
How can I get a list of apps which are supported on ipod touch model ma623zo?
How can I get a list of apps which are supported on ipod touch model ma623zo?
It's about 6 years old I think.
I have put the latest IOS on there (currently 3.1.3 (7E18)).
I download apps from the app store but they often fail to launch. I assume they're incompatible.
Is there a way to check which apps will work and which won't before I buy them?
Thanks!I have no idea how my reply could be "misleading". I stated the exact situation: there are millions of apps in the iTunes Store, and providing a comprehensive, accurate list of which apps support which version(s) of iOS would be highly impractical. You can perhaps help with your search by going to AppShopper:
http://appshopper.com/search/?search=iOS+3
That will give you at least some starting points, but AppShopper is neither comprehensive nor completely accurate. I've found a number of apps listed there over the time the site has existed that either are no longer offered or which have been updated beyond the iOS version indicated. But it might help.
Regards. -
How do I remove songs from my iPad which are no longer present in my library. Normal synching works for everything else except two songs ' stuck' on my iPad ?? Any solutions. ???? Thanks.
You can remove them manually on the device. Swipe across the track to bring up a delete button.
tt2 -
How can I buy movies available only on another country's iTunes?
how can I buy movies available only on another country's iTunes?
You can't, you can only buy from your own country's store - to be able to buy from another country you will need to be in that country and have a valid billing address, and iTunes account. in that country. You can try requesting that the films that you want to buy be added to your store, but ultimately it's the film studios decision : http://www.apple.com/feedback/itunes.html
-
Previously, the "Check for updates" option is found under the Help menu. In Firefox 4, I cannot find this option; how will we be able to check if there are available updates?
Can this new version update itself automatically? How do I set this option?Why do developers move stuff just to move it?
-
How to set the link to the result which are executed my query from database
Hi,
i have successfully displayed the results which are available in the database by jdbc, query.
Then, How to give the link like href to each & every result...
note: The number of records may be change. depending upon the records availablity in the database. but every result have the link.
Thanks in advance.
Regards
Kumarhai kumar..
i post an example code ..
<%
ResultSet rs1=stmt.executeQuery("select fromu,subject,message,mdate,status,mesid from message where to='" + lname +"'" );
while(rs1.next())
l=rs1.getLong(6);
out.println("<tr align='center'> <td> <a href='deletemessage.jsp?mesid="+ l + "'>Delete </a></td><td>" + rs1.getString(1) +"</td><td> <a href='viewmessage.jsp?mesid="+ l +"'>"+ rs1.getString(2) +"</a></td><td>"+ rs1.getString(4) +"</td><td>"+ rs1.getString(5) +"</td></tr>");
%> -
How To Handle Error Message In TCD Recording?
Hi All,
I tried recording a transaction (my own transaction) by not enterring value in an obligatory field. the error message came. but when i executed the script, it showed an error. but actualy, the error message was expected right? how to handle this situation? i tried with tcd and sapgui recording. both gave almot the same result.
i am including the script which i have written.
MESSAGE ( MSG_1 ).
*TCD ( ZCUST , ZCUST_1 , ECC ).
SAPGUI ( SAP_1 , ECC ).
ENDMESSAGE ( E_MSG_1 ).
v_mno = &tfill.
v_msg = E_MSG_1[v_mno]-msgtext.
v_mtp = E_MSG_1[v_mno]-msgtyp.
If Msg Type is E *** **** It Has To Be E ****
IF ( v_mtp = 'E' and v_msg = 'Account no AC02 does not exist EXIT = X').
logtext(0,'Passed').
ELSE.
log(v_mtp).
log(v_msg).
logtext(1,'Failed').
ENDIF.
End Of The Condition For Message Type E ******I have recording messages using the TCD command.
My script (very simple):
MESSAGE ( MSG_2 ).
TCD ( ME21 , ME21_1 , R3 ).
ENDMESSAGE ( E_MSG_2 ).
In the MESSAGE command interface, I defined rules to allow several kind of messages.
Execution: 3 mesages found:
* transform PR into PO
MESSAGE MSG_2 [1,009 sec]
RULES MSG_2 = XML-DATA-01
Message MODE EXIT TYPE ID NR
[1] 'A' 'I' 06 456
[2] 'A' 'W' 'ME' 080
[3] 'A' 'E' 'ZE' 029
TCD ME21 [0,545 sec N] Target sys R3 -> ZDA010A219
S06017 Standard PO created under the number 8201075606
Tgt System Z_A219->R3->ZDA010A219 (ZDA 010 ... HP-UX ORACLE)
CALL TRANSACTION ME21 ME21_1 XML-DATA-01
03 MESSAGES FROM ME21 ME21_1 XML-DATA-01
I 06 456 Release effected with release code 00001
W ME 080 Delivery date: next workday is 02.05.2007
S 06 017 Standard PO created under the number 8201075606
ENDMESSAGE E_MSG_2 (&TFILL = 0)
As you can see, 3 messages are found but the &TFILL variable is still 0.
I guess (but cannot test yet) I would manage to record those messages using SAPGUI command.
Is there anything wrong with my script?
My SAP_BASIS component is in version 620. I'm not using the ultimate version of eCATT (no WEBDYNPRO command, etc.). Could it be an explanation?
Thank you in advance,
Olivier -
How to handle errors in data templates
Hi
What is the recommended way to handle errors for example if one of your SQL statement in a data template returned no data how and where would you be able to create an error message for the user to find and read.
Thanks,
MarkThe closest I have come to doing this is to put conditional statements into the format template. If a value matches an expected (ex. is null) you can return a message (in the report) via the format template (ex. "No Data Found").
I am not sure this really answers your question as this is in the format template, but I generally view them as a matched pair that work together. I try to stick with data extraction in the data define, and do all my conditional stuff in the format templates.
Scott
Maybe you are looking for
-
LTE in vodafone CZ is blocked. Operator have not problem with Samsung. Why?
Why is LTE VF CZ blocked ?
-
om the moment we have oracle 7.3.4 and we connect with msaccess via an odbc driver ORACLE73 Ver 3.5 next month we get oracle 9i, but how can we connect msacces to that tables? right now connection to test-databases dont work.
-
CE 7.1 SR3 installation/startup issue - enserver shuts down
I'm trying to work with the CE 7.1 SR3 and I'm hitting a startup problem. When the server is being started, from both the installation process (installation completes without falling over) and when starting from within the SAPMMC I get an error mes
-
Sent an email with a large attachment (27mb). It is stuck. No error messages. Can still receive mail (MobileMe) in IMac mail app. Just cannot send. Sent Mailbox shows a clock image at 1 o'clock.
-
Imacs go offline when they sleep
Hi, I have 11 intel imacs and use ARD to admin them but when they sleep they seem to sever the network connection resulting in a communication error when I try to remotely wake them. Also I wanted to look into the use of them as Logic Pro nodes for o