How to do an error in Data Services?

Hi guys!
I´m novice with Data Services. I have one question very simple.
I have a Query mapping with a SAP table and a flat file with information to do a WHERE clausule with the table. If my query does´t has any results, how can i do an error in log to abort the JOB?
For example:
Error 1001: The Query doesn´t find the variable BURKS.
Thanks!!
Edited by: Albertoe on Dec 21, 2010 6:48 PM

This example checks the BUKRS field.  If the field is not empty then value is carried forward and the job continues to run.  If the field is empty then an exception is raised and the job is terminated.
ifthenelse(length(BUKRS) > 0,
     BUKRS,
     raise_exception('The BUKRS field is empty.',
The message defined in the function will be written to the log file.
Paul

Similar Messages

  • Not able to login to Gtalk - Error messgae: Data Services unavailabl​e

    Model: 9860
    OS: 7.1.0
    Gtalk: 3.0.0.23
    Active connection during issue: Wi-fi
    Mobile Service: Vodafone
    When ever I try to login, I get this error message: Data Services Unavailable. All the time i try to login, I am active on wi-fi connection. Please help on following:
    1. Is there a way to make wi-fi connection as primary/default internet access point and not data/3G services
    2. How to make gtalk work on wifi connection without data/3g plan.

    Now that I have data plans activated, Gtalk is working.. it would have been good to have some IM apps work with WiFi connectivity...

  • "Error 3000: Data Service is unavailable" error message (Web)?

    Ever since I got my Palm, I've had difficulty getting on the web.
    It says: "Connecting to Broadband Access" but then an error message box appears saying: "Service Connection Progress: Error 3000: Data service is unavailable".
    I then have to soft reset every single time, and then I am able to access the internet just fine.
    Is something wrong with my Palm? This is a brand new Palm I purchased through Verizon in June.
    What can I do to fix this issue, without having to soft reset every time I want to access the internet?
    Post relates to: Treo 700p (Verizon)

    I have the same error (and other errors too) with my 700P from Verizon.  This is what I have found with playing.  All can be repeated.
    1)  If I turn off phone radio then turn back on I can browse the web all day long, I can send MMS messages, I can check my email, etc.  All relating to the "data" portion of the Verizon service.  No Problems. But.........
    2)  As soon as I make a call (use the "voice" portion of the Verizon service) and then try to do one of the following above mentioned I get all kinds of ERRORs depending on the specific program I'm in/trying to use.  No matter what.... error, error, error, bla, bla.
    3)  I can turn the phone radio of then back on and all works fine "data" wise until I make another call.
    4)  Note, you don't have to do a soft reset or take the  battery out to get it to begin working again, just turn the phone radio off then back on.
    I HAVE DONE THIS AND CAN MAKE IT REPEAT EVERY TIME WITH THE PHONE FRESH OUT OF THE BOX OR AFTER PERFORMING A HARD REST or with all normal apps installed.  Does not matter.
    Some other tid bits of info....
    1) It appears to not matter what city I am in.  The problem is the same as discribed above.  Confirmed cities are: Atlanta-GA, Savannah-GA, Memphis-TN, Columbia-SC, Bristal-TN.
    2) It appears to ALWAYS happen on the "EDVO" network as the "EV" is always showing on the phone screen.  Have not been able to try in an area with out the EV, aka the 1x area.
      This PROBLEM of course is a MAJOR pain in the rear.  I have called Verizon tech support about the problem multiple times.  Eash time they said they had no "record" of me calling about the problem documented in their computer.  The first tech said it was my software causing the problem and to do a hard reset and don't load the problem software back on (even though I already told him I did that).  The next tech said it was a currpted file and to do the hard reset and reinstall and all would be fine (even though I already told him I did that) and said to trust him, he see this all the time.  The next tech said the phone was bad and FedEx'd me a new phone.  It did the samething right out of the box as described above.  The last tech said they need to "re-provisioned" my phone and said that would fix the problem.  So she did something on her end then told me to "program my phone" doing the *228, option 1.  Still does it.  No correction to the problem.

  • How to call stored procedure in data services?

    Hi, all,
    I'm a newbie and am trying to evaluate Flex for our
    development environment. We use a lot of Oracle stored packages in
    the database to process the business logic. However, I can't seem
    to find a good example to call a stored procedure in flex data
    services.
    Here is a part of my data-management-config.xml:
    <destination id="oracle2">
    <adapter ref="java-dao" />
    <properties>
    <use-transactions>true</use-transactions>
    <source>flex.data.assemblers.SQLAssembler</source>
    <scope>application</scope>
    <metadata>
    <identity property="GKEY"/>
    </metadata>
    <network>
    <session-timeout>20</session-timeout>
    <paging enabled="false" pageSize="10" />
    <throttle-inbound policy="ERROR" max-frequency="500"/>
    <throttle-outbound policy="REPLACE"
    max-frequency="500"/>
    </network>
    <server>
    <database>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <url>jdbc:oracle:thin:xxxxxxxxxxx:1521/racdev</url>
    <login-timeout>15</login-timeout>
    </database>
    <actionscript-class>History</actionscript-class>
    <fill>
    <name>by_nbr</name>
    <sql>select to_char(POSTED,'dd-Mon-yyyy hh:mi:ssAM')
    POSTED, GKEY, EQUSE_GKEY,WTASK_ID,VSL_ID,VOY_NBR,STATUS from
    equipment_history where eq_nbr = #sNbr# order by posted
    desc</sql>
    </fill></server>
    </properties>
    </destination>
    How do I call a stored procedure named
    pk_equipment_history.get(eq_nbr varchar2, o_resultset out
    sys_refcursor) in place of the sql select in the above file? The
    o_resultset output parameter will return exactly the same result as
    the sql. How do I bind the output parameter?
    TIA

    Hi,
    Your question isn't related to Java Programming and should be asked in a [Hibernate forum|http://forum.hibernate.org/]
    Kaj

  • Non Exceptions error in DATA SERVICES

    Hello everyone.
    Anyone know how I can reassign the ranges for error exceptions in Data Services ?. For example an error when deleting a file that does not exist on disk, throws code 50616, but the catch object can not monitor it because it is not within the exceptions.
    How I can add exceptions to these groups, or, how I can monitor these errors as they occur ?.
    Error handling in Data Services is very bad in my opinion.

    Do you have an example of how this would work with the catch all and a script?  We are facing a similar issue where it seems our catch block is not catching all errors.  In this case it appears to be a stored procedure that is missing.
    (14.2) 09-09-14 07:08:50 (E) (9036:7600) DBS-070401: |Data flow DF_Subk_UpdateLetterContractData|Transform QRY_SP_TOUPDATELETTERCONTRACT-Function2  ODBC data source <10.25.34.140> error message for operation <SQLExecute>: <[Microsoft][SQL Server Native Client 10.0][SQL Server]Could not find stored procedure 'DBO.SP_UpdateContractLetterData'.>.
    The job is erroring but in the catch block we are trying to call an RFC back in the ECC system to update the status (job was triggered from ECC) and it never reaches the catch block to do this.

  • How to use BusinessObjects 4.0 Data Services (BODS)

    0.I am looking for BusinessObjects Data Services (BODS) for dummies
    1. How to connect Business Object 4.0 Data Services (BODS) with SQL server 2008R2
    2.I would like to connect SAP HR to Business Object 4.0 (BODS) Data Services

    Hi,
    I would suggest you post the questions into the forum for Data Services.
    Ingo

  • How to perform merge operation using Data services designer?

    I am new here and new to Data Services Desinger as well.
    And currently, I want to do a merge operation using query transform or table comparison transform. But sadly, neither one of them is giving me what I want.
    So, wonder if you could help clarify if either one of them could achieve MERGE operation between and source and target tables?
    if positive, then how?
    PS:
    by MERGE, i mean, if data exists in target table, then only do update, else, do insert. same with the standard MERGE operation of oracle.
    If you need any more info, let me know!
    Thanks in advance.

    You can do this.
    You don't need the Tabe_Comparison transform actually.
    Just query the data you need and output the flow from your query to your target table.
    Then, you'll have to check the "Auto correct load" option: this will insert new lines and updates old ones. One checked, you can ckeck the "Auto correct load" checkbox.
    By default, BODS will know a line already exists based uppon the primary key columns of your target table. If you want to change the columns used to determine if a line should be inserted or updated, use the "Use input key" checkbox (and define some PK column in your query).
    Hope this helps
    Guillaume

  • Error in data services

    Dear Experts,
    I have downloaded data services blue prints availalbe in the SAP network and i imported the ATL file successfully. I have reconfigured my target datastore.
    When i  try to execute the Job_DqBatchUSA_AddressCleanseob  , I'm getting the following error.
    Im trying to learn quality transforms. Please guide me.
    Error :
    Job name: Job_DqBatchUSA_AddressCleanse
    (12.1) 02-01-07 16:42:17 (W) (4016:5364) VAL-030910: |Session Job_DqBatchUSA_AddressCleanse
    Transform <USARegulatoryNonCertified_AddressCleanse>:Option Error(Option: NON_CERTIFIED_OPTIONS/DISABLE_CERTIFICATION): PSFORM                                                     3553 will not be generated  because some Non-Certified options are enabled.
    (12.1) 02-01-07 16:42:18 (W) (4912:3060) VAL-030910: |Dataflow DF_DqBatchUSA_AddressCleanse
    Transform <USARegulatoryNonCertified_AddressCleanse>:Option Error(Option: NON_CERTIFIED_OPTIONS/DISABLE_CERTIFICATION): PSFORM                                                   3553 will not be generated  because some Non-Certified options are enabled.
    (12.1) 02-01-07 16:42:19 (E) (4912:3596) DQX-058306: |Dataflow DF_DqBatchUSA_AddressCleanse|Transform USARegulatoryNonCertified_AddressCleanse
    Transform <USARegulatoryNonCertified_AddressCleanse>: WRONG DIRECTORY -        Invalid City directory..
    (12.1) 02-01-07 16:42:19 (E) (4912:3596) DQX-058302: |Dataflow DF_DqBatchUSA_AddressCleanse|Transform USARegulatoryNonCertified_AddressCleanse
    Transform <USARegulatoryNonCertified_AddressCleanse>: DLL <uractransformu.dll> runtime function <PerThreadInit> failed with   error <4>. More detailed information may be obtained from previous errors.
    (12.1) 02-01-07 16:42:30 (E) (4016:5364) DQX-058302: |Dataflow DF_DqBatchUSA_AddressCleanse|Transform USARegulatoryNonCertified_AddressCleanse
    Transform <USARegulatoryNonCertified_AddressCleanse>: DLL <uractransformu.dll> runtime function <PerThreadInit> failed with
    error <4>. More detailed information may be obtained from previous errors.
    Regards,
    Dirasa.

    Just a slight correction...
    >
    Niels Weigel wrote:
    > You need to have a subscribtion to the US Address Directories, as they are not free of charge.
    >
    > You can download them on the SAP Support Portal --> Downloads --> SAP Installations & Upgrades
    > Choose Entry by applications on the left hand navigation
    > Choose SAP BusinessObjects packages and products
    > Go to the last Entry Address Directories
    > Go to BOBJ ADDR DIR US
    > Go to BOBJ ADDR US 2004-2008
    > Go to Installation
    > Choose Download Tab
    > Choose BOBJ ADDRESS DATA - UNITED STATES 2004-2008 CASS MAY-09  (EXE for Win, TGZ for Unix) if you are using Data Services XI 3.x
    >
    > You will get there only if you have a license for the Address Directories - USA.
    >
    > Niels
    The 2009 CASS version will not be used until the Data Services XI 3.2 release.
    Thanks,
    Brandon

  • How to write python code in Data Services ?

    I read that you can use python programming to do tasks that custom SAP Data Services Designer components cannot do. Here is the link for that -
    SAP Data Services/BODS equivalent of Microsoft SSIS Script Task
    I don't know where I can type my code in DS / BODS. I see a script in the designer window, but it has nothing to do with python. Can someone show me
    where it is and how to do programming in SAP DS ?
    In SSIS, creating a script with programming language is very easy. Just drag and drop the Script component and start coding right away.
    Unfortunately, SAP does not seem to be so simple.

    Hi Terry,
    There is simple solution provided by Ramesh Murugan then why do you want go for hard way !! Not sure your intention
    For your questions
    Can we do the ENTIRE etl in python ?
    Not sure but  I didn't get any complicated scenarios so for  and also we need to consider performance as well
    Challenge with some complicated scenarios with BODS !! We happy to provide solutions
    But every tool has unique capability !!
    Regards,
    Manoj

  • Error in data service

    i have create a simple flex data services project and i am
    getting error
    Unexpected attribute 'url' found in 'endpoint' from file:
    services-config.xml. helloworld
    i am new in flex data service plz help me

    Not sure if you have already got the answer, use "URI" not
    "URL".

  • XML self referred nested element error in Data Services

    Hi,
    I am using BO Data services for data transfer. I am having an error while transferring data from xml file to database. Here is the scenario:
    When i execute the job i get the error that an element "CategoryList" found in xml file but not found in the schema used to build the ETL plan.
    i dig into that and found out that "CategoryList" is self referential. For example the CategoryList has a nested element Category, and Category has a nested element CategoryList; which makes CategoryList self referred indirectly. when i don't have this self referential mechanism the data transfer work fine with the same xml and xsd files.
    Is there any special way to deal with this?
    Thanks
    Umer

    Not sure if you have already got the answer, use "URI" not
    "URL".

  • How we can configure a bachup Data services Server?

    Hello,
    "Data services" Production Server :
    OS: Windows 2003 Server SP2
    Data services: 11.3
    Repository: oracle10gr2
    We want to prepare a backup server identical to that of production. The Backup Server will be used in case of problems on the production server.
    Can you help us to make procedure that build a backup server from production server.
    thanks

    Hi,
    Short answer would be: there is no automatic way to do that.
    The amount of work to create this redundancy will depends heavily on your platform and how the Data Services components are deployed u2013 such as Job Server, repository databases, access servers, etc.
    If I understood your aim, the intention is not to create a load balance environment, but to 'clone' a deployment and let it in standby in case of issues with the default server. Is that right?
    In this case, you still could take advantage of the server group functionality to create a redundant Job Server, for instance. This configuration helps you to create the u2018backup serveru2019 you intent to and, at the same time, leverage the load balance resources available in DS. You will need to replicate the access server, adapters, and ODBC driversu2019 configurations (if applicable) in the other server.
    Just as important as the Job Server, a database redundancy for the Locals and Central repositories in your environment should be created, so you can replicate the repository in another machine using your RDBMS native resources, instead of backing it up constantly. Iu2019m not sure though if the repositories databases replication could affects job performance. Itu2019s recommended to double check that.
    As for the licensing issues regarding this redundant server, I suggest you talk with your Account Representative.
    Hope Iu2019m not flogging a dead horse here.
    Regards,
    Pedro
    PS. You should consider upgrading your software. You can ask your Account Representative for that as well.

  • How to read .db file for Data services in Linux Environment

    Hi all,
    Can anyone tell me how to read a .db file for SAP BODS 4.0 which got installed in Linux?
    This is Urgent...

    If we are talking about MS Access, AFAIK there is no native support of that format in SAP Data Services. You may try to find ODBC driver fot that.
    Thank you,
    Viacheslav.

  • Error in Data Services tutorial

    In the "Before You Begin" section of the Flex Data Services
    tutorial in "Getting Started with Flex", the first bullet is
    incorrect. It text should be:
    "Ensure that you have installed the Flex Data Services Beta 3
    release and that you can run the applications in the samples web
    application."
    The installation instructions are located here:
    http://www.adobe.com/go/flex2_installation
    The tutorial zip file is located here:
    http://www.macromedia.com/go/flex2beta1_quickstart_tutorial_zip
    - Mike Peterson
    Adobe Flex documentation team

    Just a slight correction...
    >
    Niels Weigel wrote:
    > You need to have a subscribtion to the US Address Directories, as they are not free of charge.
    >
    > You can download them on the SAP Support Portal --> Downloads --> SAP Installations & Upgrades
    > Choose Entry by applications on the left hand navigation
    > Choose SAP BusinessObjects packages and products
    > Go to the last Entry Address Directories
    > Go to BOBJ ADDR DIR US
    > Go to BOBJ ADDR US 2004-2008
    > Go to Installation
    > Choose Download Tab
    > Choose BOBJ ADDRESS DATA - UNITED STATES 2004-2008 CASS MAY-09  (EXE for Win, TGZ for Unix) if you are using Data Services XI 3.x
    >
    > You will get there only if you have a license for the Address Directories - USA.
    >
    > Niels
    The 2009 CASS version will not be used until the Data Services XI 3.2 release.
    Thanks,
    Brandon

  • How to Connect to UniData from Data Services

    Other ETL tools like DataStage has a Unidata connector stage
    Is there anything similar in BusinessObjects Data Services ?

    There is no separate connectivity available out of the box. However, if there is a JDBC driver available for it then you can use that to connect to it as a SQL technology. Or you can invoke SSAS web services and process the xml output in odi.

Maybe you are looking for

  • Trouble opening PDFs from websites on MacBook Pro

    I have started getting a black screen when trying to open PDF files on some websites.  I've tried to make sure my block pop ups isn't active and that my updates are current, but still no luck.  Frustrating!!

  • DDNS Authentication Fails with E2000

    Just purchased an E2000 (Firmware version 1.0.03) to use with DDNS. Much to my surprise there seems to be a problem with saving the password at the confiuration screen. Settings; - Service Type = DynDNS.org - Username = <my user name. - Password = <m

  • UCCX 7: Report on agent service level

    Hi all, Typically we would measure the service level based on a CSQ. Would it be possible to measure it on the agent level? For example, the number of calls answered before/after service level by the agent. I guessing the CCD table would be capturing

  • Loadjava gives ORA-29516: Assertion failure at eox.c:232

    I was trying to test on the loadjava and Java Stored Procedure capabilities on Oracle 9i Release 2. I ran into the following error when I tried to load a number of Oracle jar library files into the database (in order to resolve my class using org.apa

  • VE54 Preference calculation Missing Protocoll

    Dear Gurus, When running VE55 Preference calculation only for one material it brings a protocoll saying exactly which components involved etc. When running VE54 Preference calculation fior mass materials it brings only a running protocoll. There is n