Extract the messaje from an exception
Hello,
When an exception is raised, i insert in the audit table the error
err_msg := substr(sqlerrm, 1, 200);
update cr15394_1 set [...], error = err_msg where id_client = r.id_client;
[...]The error looks like:
ORA-20100: <PSCON_SCT_ERR> Sectorul nu este introdus!
ORA-06512: at "INFO.OS_ERR", line 15
ORA-06512: at "INFO.OS_PERS_CONTACT", line 525
ORA-06512: at "INFO.OS_PERS_CONTACT", line 614
ORA
Is there any possibility to extract just the error text (' Sectorul nu este introdus!'), without that ORA-20100, and <PSCON_SCT_ERR> ? So in the audit table i should insert only the error without any codes?
Thanks!
like this:
SQL> ed
Wrote file afiedt.buf
1 declare
2 begin
3 dbms_output.put_line(sqlerrm);
4 dbms_output.put_line(SUBSTR(sqlerrm,INSTR(sqlerrm,':',1,1)+1));
5* end;
SQL> /
ORA-0000: normal, successful completion
normal, successful completion
PL/SQL procedure successfully completed.
SQL>
Similar Messages
-
Extract the data from xbrl source
Hi ,
I want to extract the data from xbrl source system . I have one xsd, few xml files and one xbrl file . I have imported xsd file but lot of the xml files failing to parse against xsd.
Please guide me how to extract the data from xbrl file .
Thanks & Regards,
Ramana.Hi,
Yes it will work, follow the bellow steps,
Steps
1) Create a blank database in Microsoft Access, lets call it 'TestDB.mdb'. I saved this mdb file in my XI server path itself,
xiserver\xitemp\db\TestDB.mdb
(you can save it anywhere provided it has a shared access)
2) Add a table in TestDB.mdb, call it TEST_EMPLOYEE with the following rows and save it.
EMPID type text
EMPNAME type text
EMPAGE type number
FLAG type text
3) Now follow the same steps as mentioned in the blog,
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
except for the receiver jdbc adapter configuration.
4) In the receiver JDBC adapter configuration pass the following parameters,
Transport Protocol: JDBC 2.0
Message Protocol: XML SQL Format
Adapter Engine: Integration Server
JDBC Driver: jdbc.odbc.JdbcOdbcDriver
Connection: jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//xiserver/xitemp/db/TestDB.mdb
5) In my case there is no userid and password required, but if you have userid and password, then the parameter for Connection becomes,
jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//xiserver/xitemp/db/TestDB.mdb;Uid=yourid;Pwd=yourpwd;
Reward Points ,if found Useful.
Thanks,
Satish. -
Unable to extract the data from ECC 6.0 to PSA
Hello,
I'm trying to extract the data from ECC 6.0 data source name as 2LIS_11_VAHDR into BI 7.0
When i try to load Full Load into PSA , I'm getting following error message
Error Message: "DataSource 2LIS_11_VAHDR must be activated"
Actually the data source already active , I look at the datasource using T-code LBWE it is active.
In BI on datasource(2LIS_11_VAHDR) when i right click selected "Manage" system is giving throughing below error message
"Invalid DataStore object name /BIC/B0000043: Reason: No valid entry in table RSTS"
If anybody faced this error message please advise what i'm doing wrong?
Advance thanksECC 6.0 side
Delete the setup tables
Fill the data into setup tables
Schedule the job
I can see the data using RSA3 (2LIS_11_VAHDR) 1000 records
BI7.0(Service Pack 15)
Replicate the datasource in Production in Backgroud
Migrate Datasource 3.5 to 7.0 in Development
I did't migrate 3.5 to 7.0 in Production it's not allowing
When i try to schedule the InfoPakage it's giving error message "Data Source is not active"
I'm sure this problem relate to Data Source 3.5 to 7.0 convertion problem in production. In Development there is no problem because manually i convert the datasource 3.5 to 7.0
Thanks -
I am trying to use photomerge compose. I open one standard jpeg image and one image that is my business logo in a png format. When I select the png image, to extract the logo from it, it appears as all white and will not allow me to select the logo from it. It has worked in the past but I downloaded the update today and photomerge will not work correctly. Any ideas?
hedger,
How do you expect anyone to help when we don't know a darned thing about the file, abut your setup, exact version of Photoshop and your OS, machine specs, etc.?
BOILERPLATE TEXT:
Note that this is boilerplate text.
If you give complete and detailed information about your setup and the issue at hand,
such as your platform (Mac or Win),
exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
your settings in Photoshop > Preference > Performance
the type of file you were working on,
machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
what troubleshooting steps you have taken so far,
what error message(s) you receive,
if having issues opening raw files also the exact camera make and model that generated them,
if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
etc.,
someone may be able to help you (not necessarily this poster, who is not a Windows user).
a screen shot of your settings or of the image could be very helpful too.
Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
http://forums.adobe.com/thread/419981?tstart=0
Thanks! -
How can I extract the data from Xstring .
Hi Gurus ,
How can I extract the data from a XSTRING .
I have to get the data which is filled in the survey form the data is getting saved in form of xstring .
Someone told me that there is a standard FM for that . but I am not able to find .
Please reply with the FM in case some one knows about it .
Thanks in advance .The following code works as of 7.0 (in any SAP system):
FORM XSTRING_TO_STRING USING input TYPE xstring CHANGING output TYPE string.
TYPES : BEGIN OF ty_struc,
line TYPE c LENGTH 100,
END OF ty_struc.
DATA lt_char TYPE TABLE OF ty_struc.
DATA length TYPE i.
length = xstrlen( input ) / cl_abap_char_utilities=>charsize.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = input
tables
binary_tab = lt_char.
CONCATENATE LINES OF lt_char INTO output RESPECTING BLANKS.
output = output(length).
ENDFORM.
Edited by: Sandra Rossi on Mar 30, 2010 12:24 AM -
Use LINQ to extract the data from a file...
Hi,
I have created a Subprocedure CreateEventList
which populates an EventsComboBox
with a current day's events (if any).
I need to store the events in a generic List communityEvents
which is a collection of
communityEvent
objects. This List needs to be created and assigned to the instance variable
communityEvents.
This method should call helper method ExtractData
which will use LINQ to extract the data from my file.
The specified day is the date selected on the calendar control. This method will be called from the CreateEventList.
This method should clear all data from List communityEvents.
A LINQ
query that creates CommunityEvent
objects should select the events scheduled for selected
day from the file. The selected events should be added to List
communityEvents.
See code below.
Thanks,
public class CommunityEvent
private int day;
public int Day
get
return day;
set
day = value;
private string time;
public string Time
get
return time;
set
time = value;
private decimal price;
public decimal Price
get
return price;
set
price = value;
private string name;
public string Name
get
return name;
set
name = value;
private string description;
public string Description
get
return description;
set
description = value;
private void eventComboBox_SelectedIndexChanged(object sender, EventArgs e)
if (eventComboBox.SelectedIndex == 0)
descriptionTextBox.Text = "2.30PM. Price 12.50. Take part in creating various types of Arts & Crafts at this fair.";
if (eventComboBox.SelectedIndex == 1)
descriptionTextBox.Text = "4.30PM. Price 00.00. Take part in cleaning the local Park.";
if (eventComboBox.SelectedIndex == 2)
descriptionTextBox.Text = "1.30PM. Price 10.00. Take part in selling goods.";
if (eventComboBox.SelectedIndex == 3)
descriptionTextBox.Text = "12.30PM. Price 10.00. Take part in a game of rounders in the local Park.";
if (eventComboBox.SelectedIndex == 4)
descriptionTextBox.Text = "11.30PM. Price 15.00. Take part in an Egg & Spoon Race in the local Park";
if (eventComboBox.SelectedIndex == 5)
descriptionTextBox.Text = "No Events today.";Any help here would be great.
Look, you have to make the file a XML file type -- Somefilename.xml.
http://www.xmlfiles.com/xml/xml_intro.asp
You can use NotePad XML to make the XML and save the text file.
http://support.microsoft.com/kb/296560
Or you can just use Notepad (standard), if you know the basics of how to create XML, which is just text data that can created and saved in a text file, which, represents data.
http://www.codeproject.com/Tips/522456/Reading-XML-using-LINQ
You can do a (select new CommunityEvent) just like the example is doing a
select new FileToWatch and load the XML data into the CommunityEvent properties.
So you need to learn how to make a manual XML textfile with XML data in it, and you need to learn how to use LINQ to read the XML. Linq is not going to work against some flat text file you created. There are plenty of examples out on Bing and Google
on how to use Linq-2-XML.
http://en.wikipedia.org/wiki/Language_Integrated_Query
<copied>
LINQ extends the language by the addition of query
expressions, which are akin to
SQL statements, and can be used to conveniently extract and process data from
arrays, enumerable
classes, XML documents,
relational databases, and third-party data sources. Other uses, which utilize query expressions as a general framework for readably composing arbitrary computations, include the construction of event handlers<sup class="reference" id="cite_ref-reactive_2-0">[2]</sup>
or
monadic parsers.<sup class="reference" id="cite_ref-parscomb_3-0">[3]</sup>
<end>
<sup class="reference" id="cite_ref-parscomb_3-0"></sup> -
Is it possible to Extract the Data from Website?
Dear Experts,
Is it possible to Extract the Data from Website and Upload it in the SAP Table?.It is very Urgent.Please help me.
Thanks & Regards,
Ashok.Hi Friend,
Generaly if it is one time activity you can do it manually by copy paste in excel.
But if it is weekly or monthly activity then you have to ask website provide to provide data in excel or CSV file and upload it into SAP.
I have a situtation like this, and they (Rapaport price) provide it in CSV format with defined columns.
So it is better to raise the issue to website provider.
Regards
Krishnendu -
Is it possible to extract the DN from a certificate?
Is it possible to extract the DN from a certificate?
During the SSL Handshaking process, does ORACLE read the certificate, write the certificate properties to some V$ table or enviroment variable?There is no problem yet. I just want to know ORACLE's capablities.
I want know at any time does ORACLE record/store/save/etc the properties of a client's digital certificate. I want to use the DN from the certificate to login to an APEX application. Then use the DN as a parameter to call a WebService.
Your thoughts!!! -
How to Extract the data from Microsoft BI to SAP BI 7
Dear All,
We have a requirement to Extract the data from Microsoft BI to Sap BI 7. How can we achieve this??
Shall we use the DB connection for this??
If anyone knows about this please give me some suggestion.
Thanks in advance
SathiyaHi All,
How to include the DBMS name when I give the connection. We are using the Data base as MS-BI.
Please guide me
Thanks in advance.
Regards
Sathiya -
How to extract the data from R/3?
Gurus,
I need to extract the data from R/3 to BI . Below i am giving Table name followed by field name and field description.
I am using BI 7.0 and ECC 6.0
I am having following doubts.
1. Based on below information which extract method I need to use (Generic data Extraction?)?
2. I try to create a one view but I could not find Join between the tables. I found only few joins. how to join other tables?
3. Without joining these table how can I collect the data ?
4. Do i need to create multiple tables?
SAP Table SAP Field Field Description
VBAK-> VBELN-> Sales Document
VBAP-> WERKS-> Plant
VBAK-> AUART-> Doc Type
VBAP-> PSTYV-> Item Category
VBAP-> MATNR-> Material
VBAP-> ARKTX-> Description
MATNR-> GROES->
VBAP-> ZIEME-> Target Quantity UOM
VBAP-> WAVWR-> Cost
VBAK-> ERNAM-> Name of a person who created the object
VBAKA-> KUNNR-> Customer Number 1
VBAP-> BSTNK-> Customer purchase Order no
VBEP-> BANFN-> Purchase Requisition Number
QMFE-> FEGRP-> Cause Code(Code Group Problem)
QMFE-> FECOD-> Damage Code(Problem or Damage Code)
QMEL-> QMNUM-> Notification No
EQUI-> EQUNR-> Equipment Number
QMEL-> QMART-> Notification Type
QMELI-> ERDAT-> Date on Which Record Was Created
============================================================================================
Gurus I will assign full points .
ThanksHi,
I would use the standard extractor 2lis_11_vaitm and enhance it for the following fields:
VBEP-> BANFN-> Purchase Requisition Number
QMFE-> FEGRP-> Cause Code(Code Group Problem)
QMFE-> FECOD-> Damage Code(Problem or Damage Code)
QMEL-> QMNUM-> Notification No
EQUI-> EQUNR-> Equipment Number
QMEL-> QMART-> Notification Type
QMELI-> ERDAT-> Date on Which Record Was Created
regards
Siggi -
How to Extract the data from R/3 Genric extractor to BW ?
How to Extract the data from R/3 Genric extractor to BW ?
hi,
step by step procedure for generic extraction delta
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
Refer:
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
http://help.sap.com/saphelp_nw04/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
Generic Extraction via Function Module
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
Extractions in BI
https://www.sdn.sap.com/irj/sdn/wiki
New to Materials Management / Warehouse Management?
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1b439590-0201-0010-ea8e-cba686f21f06
Ramesh -
How to extract the number from image using java
Hello every one
i want to develope a project which can extract the number from image
that i can use as inter or String or char.
Is there any API in java which provide this type of facility.
right now i m using java 5
thanks in Advance
JigneshIn my project i have a image in that i have a
co-ordinate (x,y) I am still puzzled as to what you seek. It sounds to me like you have a point (x, y) represented by p. in java it's just p.getX() p.getY()
i want to convert that cordinate to numeric form,
i mena i want to use that cordinate in somewhere else
in project.point.getX() point.getY()
So need to convert it into numeric form u can called
it OCR also.OCR is optical character recognition. If I want out and took a picture of the US Declaration of Independence and then wanted the words on the parchement in the picture in text form, then I would run the picture through a software program and it would try to optically recognise what lettering and number were present in the picture. In the end, I would have a text of what is written on the US Declaration of Independence.
Is that what you want? -
Can you extract the audio from a music video?
Some of my favorite songs were purchased from Itunes as music videos. (Because they are also my favorite videos.) Now I'm trying to figure out how to move those songs to the iPod +without having to buy the songs as just songs!+ It's been very frustrating. "Create iPod or iPhone version" doesn't convert to anything useful for a Shuffle. How do I extract the audio from the video?
Or do I have to buy the same music over again?Hello RoyFeni,
And welcome to Apple Discussions!
Can you change the music video's *Media Type* to Music from under the Options tab of the *Get Info* window for the track in iTunes?
I'm not sure if you can, but hey its at least worth a try. It's all I have though.
Otherwise, this is not possible via iTunes. The only way you would be able to extract the audio is through the help of some third party application. Not sure how simple or complicated the process is.
B-rock -
Can I just extract the audio from my iMovie creations?
I have made some nice videos of my band on iMovie, and am wondering if I can just extract the audio from those to have in iTunes to listen to live audio versions of our songs.
share/Export with Quicktime/drop down menu choose aiff..
exported file contains audio-only.
use iTunes/Garageband/Audacity/.. to convert into smaller aac, mp3 whatever..
welcome to the iMovie boards, GrooveWarrior… -
I am extracting the data from ECC To bw .but Data Loading taking long tim
Hi All,
i am extracting the data from ECC To BI Syatem..but Data Loading Taking Long time. from last 6 hoursinfopackage is running.still it is showing yellow.Manually i made the red.and delete again i applied repeat of the last delta.but same proble is coming .in the status job is showing bckground job is not finished at source system.we requested to basis.basis people killed that job.again we schedule the chain also again same problem is coming.how can i solve this issue.
Thanks ,
chanduHi,
There are different places to track your job. Once your job is triggered in BW, you can track your load job where exactly it is taking more time and why. Follow below steps:
1) After InfoPackage is triggered, then take the request number and go to source system to check your extraction job status.
You can get the job status by taking the request number from BW and go to transaction SM37 in ECC. Then give the request number with begining '' and ending ''. Also give '*' to user name.
Job name: REQ_XXXXXX
User Name: *
Check the job status whether job is completed or cancelled or short dump. If the job is still running check in SM66 whether you can see any process. If not accordingly you got to check in ST22 or SM21 in ECC. If the job is complete, then the same in BW side now.
2) Check the data arrived in PSA, if not check whether Transfer routines or start routines are having bad SQL or code. Similarly in update rules.
3) Once it is through in Source system (ECC), Transfer rules , Update Rules, then the next task is updating the data might some time take more time which might be based on some parameters ( Number of parallel process to update database ). Check whether updating the database is taking more time and may be you got to check with the DBA guy also.
At all the times you should see minimum of atleast once process running all the time in SM66 till the time your job gets complete. If not you will see a log in ST22.
Let me know if you still have questions.
Assigning points is the only way of saying thanks in SDN.
Thanks,
Kumar.
Maybe you are looking for
-
Accounting Document not Cleared using BAPI_ACC_DOCUMENT_POST
Dear Experts, I am Using BAPI_ACC_DOCUMENT_POST to post the GL'S , Accounting document is getting created successfully . My Doubt is whether this bapi will clear the Accounting document automatically or we have to use any other function module to cle
-
How can i print an email without printing the attachment?
I just got my new macbook pro retina display. I am using Mac mail and want to know how I can print an email without printing the attachement. Any suggestions and solutions would be appreciated.
-
Error M7 311 "No Special stock defined for value only material"
I had this in the SD forum however someone suggested to go to the MM forum. Here is my issue I am receiving an error when trying to receive our demo unit in as an inbound receipt off of an RMA (this is our normal process when we send a demo unit to
-
Hi All, Actually we are trying to download all view details of material from MM03 T-code. We need to fetch the value of the fields Planning Materail (<b>PRGRP</b>) and the Planning Plant (<b>PRWRK</b>) for the MRP view in the MM03 Transaction. We tri
-
Re: Graphic Issues with Leopard - iMac 24" White GeForce 7300 GT
I noticed the same issue. It's especially noticeable in Photo Booth. The video and sound don't sync up.