[Solved] Use of getOption in a getSrcTablesList call

Hi gurus,
I'm rewriting a LKM to retrieve data from Oracle to Oracle through an existing dblink without creating a view on the source.
I want to pass the name of my dblink in the getSrcTablesList call by using an option of the LKM but the call to getOption is not accepted here (line 7) :
create or replace view <%=odiRef.getObjectNameDefaultPSchema("L", "" , "W")%><%=odiRef.getInfo("COLL_NAME")%>
     <%=odiRef.getColList("", "[CX_COL_NAME]", ",\n\t", "", "")%>
as select     <%=odiRef.getPop("DISTINCT_ROWS")%>
     <%=odiRef.getColList("", "[EXPRESSION]", ",\n\t", "", "")%>
from     <%=odiRef.getSrcTablesList("", "[SCHEMA].[RES_NAME]@<%=odiRef.getOption("DBLINK_NAME")%> [POP_TAB_ALIAS]", ", ", "")%>
where     (1=1)
<%=odiRef.getFilter()%>
<%=odiRef.getJrnFilter()%>
<%=odiRef.getJoin()%>
<%=odiRef.getGrpBy()%>
<%=odiRef.getHaving()%>
The error message is "BeanShell script error: Parse error at line 11, column 10. Encountered: ( BSF info: Create view on target at line: 0 column: columnNo" (...).
Do you know a workaround ?
Or am I choosing the wrong way to do that ?
Thanks in advance for your help.
Regards

I've just found the correct syntax myself.
For the record :
from     <%=odiRef.getSrcTablesList("", "[SCHEMA].[RES_NAME]@"\+odiRef.getOption("DBLINK_NAME")\+" [POP_TAB_ALIAS]", ", ", "")%>

Similar Messages

  • What r the diff. error that can be solved using RSRV tcode?

    Hi ,
    what r the diff. error that can be solved using RSRV tcode?
    I want to know all the errors that can be solved using RSRV t code
    if any body is having good document regarding RSRV please send it to me at
    <u><b>[email protected]</b></u>
    Thanx in advance,
    ravi.

    Hi,
    Refer the below links for more details about RSRV TCODE.
    /community [original link is broken]
    http://help.sap.com/saphelp_nw04/helpdata/en/92/1d733b73a8f706e10000000a11402f/frameset.htm
    it's for bw objects consistency analysis and repair.
    from transaction code RSRV doc itself :
    Transaction RSRV: BW Data and Metadata Test and Repair Environment.
    Transaction RSRV checks the consistency of data stored in BW. It mostly examines the foreign key relationships between individual tables in the enhanced star schema of the BW system.
    The transaction interface was re-designed for SAP Portals release 3.0A. A brief guide about how to use the transaction follows.
    Starting the Transaction
    You can reach the test and repair environment
    By entering the transaction code RSRV
    From InfoObject maintenance (Transaction RSD1)
    By clicking on the "Analyze" button in the intial screen.
    After selecting a characteristic in the maintenance screen via the "Processing -> Analyze InfoObject" menu option.
    The Initial Screen
    When using the test and repair environment for the first time, the message "Values were not found for all setting parameters" draws your attention to the fact that there aren't any saved settings for your user.
    After confirming the dialog box, you reach the initial screen of the transaction. This is divided into two parts:
    1. On the left-hand side, you can see a tree structure with the pool of available tests.
    2. The right-hand side is empty at first. The tests you have selected will be put here. A selection of tests is called a Test Package here.
    Combined and Elementary Tests
    An Elementary Test is a test that cannot be divided into smaller tests and that can therefore only be executed as a whole.
    In this regard, a Combined Test determines which elementary tests are to be executed after entering the parameters. You can remove individual elementary tests from the test package before carrying out the actual test run, in order to reduce run time, for example.
    Combining a Test Package and Executing it.
    Firstly select one or more tests with drag&drop or by double-clicking. Each selected test appears as a closed folder in the view of your test package. (An exception is elementary tests without parameters: These do not appear as a folder). You can also drag a whole folder of tests from the test pool across to the right-hand screen area; all tests that are located in the hierarchical structure under this folder are then added to the test package. You can also display a short description of the test, if required. Do this right-clicking on a test and choosing "Description" from the context menu.
    Afterwards, you must supply the tests with parameters. Tests without parameters must not be given parameters. You are given notification of this when selecting them. You can enter parameters by double-clicking on a test (or a test package) or by expanding the folder of the test.
    A dialog box appears in which you must enter the required parameters. Input help is often available. After entering the parameters, a folder with the name "Parameter" is added under the test. This contains the parameter values. The test name can change in some circumstances, enabling you to see at first sight for which parameter values the test is to be executed. It is possible to select the same test several times and give it different parameters, which may even be preferable in some situations. When you have supplied the combined test with parameters, the folder with the name "Elementary Tests" is added under this one. It contains the elementary tests, from which the combined test is built. You can delete individual elementary tests in the test pool using drag & drop.
    After supplying all tests with parameters, you can start the test run by clicking on the "Execution" button. After execution, the test icons change from a gray rhombus to a red, yellow or green one, depending on whether the test had errors, warnings or was error-free.
    Test Results
    The test results are written to the application log. Depending on the settings, the system jumps automatically to this display, or you can reach it by clicking on the "Display" button. The results are saved in the database, and can therefore be compared later with additional test runs.
    In the left-hand side of the window, you can see an overview of the most recent test runs. Double-clicking on a folder displays all messages under these nodes as a flat (non-hierarchical) list in the right-hand screen area. Long texts or detail data may be available for individual messages, which can be displayed with a mouse click.
    Repairs
    Some tests can repair inconsistencies and errors. Automatic correction is generally not possible: If entries are missing from the SID table for a characteristic, in which case the lost SIDs are still being used in a dimension table (and the corresponding dimension keys are still being used in the fact table) of an InfoCube, you can only remove the inconsistency by reloading the transaction data of the InfoCube. Also note that you must make repairs in the correct sequence. You must always read the documentation for the test and have a good idea about how the error occured, before making the repairs.
    After executing the test run, go from the application log back to the initial screen to make these repairs. Click on the "Fix Errors" button to start an error run. Since the dataset could have changed between the test and the repair run, the required tests are executed again before the actual repair. The results can be found in the application log once again.
    Test Packages
    The test package is deleted if you do not save the test package in the display before leaving the test environment. Choose "Test Packages -> Save Test Package" in the option menu. You can do the following via options in the "Test Package" menu:
    Load packages
    Load for processing - the package is then locked against changes by others.
    Delete and
    Schedule execution at a later date or at regular intervals in background processing
    Settings
    In the "Settings" menu option, you can make settings (adjust the size of the screen areas, for example) and save them. The settings are automatically read when starting the test environment. Support packages are being delivered with additional settings options since the test environment is under development at the moment. A message notifies the user at the start if there aren't any values for the setting options.
    Jobs Menu Option
    You can access the job overview via the Jobs -> Job Overview menu. Use this when you want to check the status of a test package you have scheduled.
    Application Log Menu Option
    You can display old logs from previous test runs in the dialog box, as well as scheduled ones. The option of deleting test logs can also be found here.
    New Selection Button
    The currently selected test package is deleted when you press this button.
    Filter Button
    After a test run, click on this button to remove all elementary tests without errors or warnings from the test package.
    Executing Test Packages in Process Chains
    You can add a process chain to the ABAP Programm RSRV_JOB_RUNNER in the process chain maintenance transaction, RSPC. To do this, use drag & drop to select the process type "ABAP Program" under "General Services" in the process type view. When maintaining process variants you will be asked for the program name and a program variant. Enter RSRV_JOB_RUNNER for the program name. Choose a program variant name and click on "Change". In the next screen you are able to either change or display an already existing variant, or create a new variant. When creating a new variant you will be asked for the following: Package name (an imput help on this is available), the detail level for the log to which the RSRV log in the process chain log is to be integrated, and a message type severity at which process chain processing should be terminated.
    The RSRV process log in the process chain is built as follows:
    First is a summary specifying whether errors, warnings, or no errors occurred for each elementary test.
    A log view of the RSRV test package at the specified detail level follows.
    Example: If you choose the value '3' for the detail level, only messages up to and including detail level 3 will be included in the log processes for the process chain. Messages occuring at a lower layer of the test package test are not displayed in this log. Please note that, unlike the application log, the process log does not propagate errors from deep detail levels to low detail levels. For example, if a single detail level 4 error occurs the summary will show that the relevant test delivered an error. However, this error will not be listed in the second part of the log.
    A complete log is always written independantly of the RSRV process log in the process chain. You can view this in the menu option "Application Log->Display Log->From Batch".
    Please note that there is currently no transport object for test packages and that consequently these cannot be transported. Process chains that execute RSRV test packages must therefore be manually postprocessed after a transport to a different system: The relevant test packages must be created.
    Hope This Helps,
    This is already there in SDN.
    Regards,
    rik

  • Data used for a 25 minute skype call

    Hello, 
    I am using skype 7.0 for windows PC to make 25 minute skype calls for work. I am just on an 800mb limit per day. According to my ISP's Web site, 800 mb is enough to make 4.5 hours of skype calls. But I saw that for just one skype call, my statistics tab showed I consumed about 350+mb already after just one 25 minute skype call. So if this is the case for every skype call I make, I can only make 2-3 25 minute skype calls before my ISP limits my internet usage for the day.
    How much data is used for 1 25 minute skype call using PC ?
    I think my ISP's Web site is misleading about skype calls.
    Solved!
    Go to Solution.

    You can still have your video on and your student can have their video off.  If they "call" you instead of "video call" you, their video will never be engaged and you can just turn your video on from that point.  The big problem with ISP bandwidth restrictions is that their limitation tends to count upload and download which greatly reduces your overall real bandwidth.  You can use this as a guide as well to guesstimate.
    http://community.skype.com/t5/Windows-archive/Bandwidth-Consumption-Question-Again/m-p/2887243/highl...
    Be aware that this only accounts for one-way communication.  If you were to both have your video on at the same quality the figure would double.  If your student only has audio engaged then you would only add 25 minutes of "äudio" to gauge an approximation.  Since Skype is "automatic" call quality can go up or down.  Netlimeter or it's equivalent is the only real way to lower the video quality other than using a much lower resolution camera.
    In regards to your ISP's "video conferencing" calculation, it's not pulled out of a hat.  It appears to be calculated off a total video conferencing rate of 384k which is generally at a CIF/SIF resolution (~352x288 or lower).  Skype's video quality operates at a higher rate that even supersedes their 90-minute movie estimate they provided as well.  If you were to compare either a 90-minute DVD quality video or a 90-minute Blu-ray quality video the bandwidth would of course be surpassed as well as downloaded/watched movies vary in quality as well.
    I believe the average amount of bandwidth consumption for typical households can be upwards of 150-300+ Gigabytes a month.  Low metered accounts are generally for mobile devices or people who don't plan to use the Internet beyond basic web searching and e-mail.  I personally would use a plan like that to get Internet in remote places but I wouldn't plan to do anything beyond the basics.
    In regards to overage of bandwidth consumption ISPs either:
    1.  Terminate the data service for the month when exceeded
    2.  Charge you overage charges at a set cost per MB or GB.
    3.  Allow you to continue to use the service but cap your Internet speed to twice that of dial-up (115kbp/s) or possibly even lower. 

  • I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add

    I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add APN. Now when i switch to safari its showing you are not subscribed for cellular data. But I am able to use data on other phone.
    Will you please help me in this regard?
    Another issue, since i bought my new iphone there is dust inside back main camera.
    Your advises are highly appreciated.

    Hey Shaiju isac,
    I'd take a look at the following article, it'll guide you though steps to you troubleshoot cellular data issues on your iPhone:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Cheers,
    David

  • Can I use a PS3 controller to play Call Of Duty Black Ops for Mac

    Is it possible to use a playstation 3 controller with call of duty black ops bought from the app store running on mountain lion 10.8.3 (without 3rd party software)

    I think Call of Duty doesn't support controllers due to the balance implications in multiplayer.

  • How can i use iphone 4 to make video calls through 3G network

    Pls let me know how can I use my IPhone4 to make video calls through my Airtel 3G network. Also pls suggest if any alternate is available. Thanks

    Re: Skype
    If I used skype wouldn't I only ge able to call other Skype users??

  • In Siri, I can call by my voice, but why I can not use Siri voice call in my country (Laos), just can call only us phone number; my country we use like 3 number for option call, 8 numbers for call friend but Siri cannot use this please help us, thanks

    In Siri, I can call by my voice, but why I can not use Siri voice call in my country (Laos), just can call only us phone number; my country we use like 3 number for option call, 8 numbers for call friend but Siri cannot use this please help us, thanks
    And please help me can type Laos font in it like andrio phone.

    Hi Cozumel,
    Thanks for posting. I'm sorry you're having problems with your bills. I can take a look at this for you. Drop me an email with your account details and a link to this thread for reference. You'll find the address in my profile.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • I am using a Application in c dll calling from jni jar by java applet in firefox version 19.0 , the problem is click event message box will not working correct

    I am using a Application in c dll calling from jni jar by java applet in firefox version 19.0 , the problem is button click event message box or popup window will not working correctly. Please any one suggest me the steps to overcome this not responding or slowness in the responding problem of Button click event.

    Hello,
    In Firefox 23, as part of an effort to simplify the Firefox options set and protect users from unintentially damaging their Firefox, the option to disable JavaScript was removed from the Firefox Options window.
    However, the option to disable JavaScript was not removed from Firefox entirely. You can still access it from about:config or by installing an add-on.
    '''about:config'''
    # In the address bar, type "about:config" (with no quotes), and press Enter.
    # Click "I'll be careful, I promise"
    # In the search bar, search for "javascript.enabled" (with no quotes).
    # Right click the result named "javascript.enabled" and click "Toggle". JavaScript is now disabled.
    To Re-enable JavaScript, repeat these steps.
    '''Add-ons'''
    You can alternatively install an add-on that lets you disable JavaScript, such as
    *[https://addons.mozilla.org/firefox/addon/noscript/ No-Script] (to disable JavaScript on a per page basis, as required)
    *[https://addons.mozilla.org/firefox/addon/quickjava/ QuickJava] (to easily disable and enable JavaScript, automatic loading of images, and other content)
    Thank you and I hope this helps!

  • Using a landline number as displayed caller id

    Is it possible to use a landline number as displayed caller id, instead of a mobile number?

    Hi, cb10,  and welcome to the Community,
    Unfortunately, no.  Skype does not have a means to verify a land line number.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • TS1398 till 2 days back I was able to use facetime but now I can call through facetime and ring is also there but the thing is while connecting it is showing FACETIME FAILED..plz tell me a solution for this

    till 2 days back I was able to use facetime but now I can call through facetime and ring is also there but the thing is while connecting it is showing FACETIME FAILED..plz tell me a solution for this

    you have a ps cs4 license for mac and you have some way of finding your serial number.
    if yes, download an install the installation file.  if you already have the installation file, what is its name and file extension?  (eg, if it's one file, it should be a dmg file.)
    if you need the installation file,
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • HT204380 I have done all the above. I am in Germany using an iPad 2, trying to call an iPad 2 in the UK. My IPad goes through the call and then times out. I have been on the phone to the receiver at the time so know they had their iPad on.

    I have done all the above. I am in Germany using an iPad 2, trying to call an iPad 2 in the UK. My IPad goes through the call and then times out. I have been on the phone to the receiver at the time so know they had their iPad on.

    What do you mean that you can't "call" an iPad in the UK??  That doesn't particularly make sense.  You can email to an iPad or text them, but the iPad is not a phone, so how do you expect to "call" them??
    Hope this helps

  • What is facetime audio and can I use it to make free international calls between iPhones?

    what is facetime audio and can I use it to make free international calls between iphones?

    First, check
    1. Settings > General > Restrictions: should be OFF > FaceTime: ON?
    2. Settings > FaceTime > FaceTime: ON?
         ou can be reached by FaceTime at: your phone number?
    If all the above are correct, see below:
    FaceTime is available with iPhone 4 or latter, except those iPhones that were sold in the Middle East.
    Can you tell us which iPhone model that has no FaceTime?

  • When I try to use face time it keep saying call ended

    When  I try to use face time  it always says call ended.

    Does this happen everywhere that you try to use Facetime, or does it just happen in your own home WiFi network? Have you ever been able to connect a Facetime call at all?

  • TS3367 My partner has the Iphone 5 and I am using a MacBook with version 1.0.2. When using the face time app to call him he says that cam freezes and he is unable to hear me. Any ideas of the problem and and ideas for resolving the issue?

    My partner has the Iphone 5 and I am using a MacBook with version 1.0.2. When using the face time app to call him he says that cam freezes and he is unable to hear me. Any ideas of the problem and and ideas for resolving the issue?

    Had the same problem, the only fault and the reason why it happend is a bad wifi connection!
    Could ofc be something else, but thats my two cents!

  • What stub code does APEX uses when making a web service call ?

    What stub code does APEX uses when making a web service call (manual web service reference)
    I am using APEX (which was part of the 11g installation).

    Hi Steve,
    Some options for the same issue:
    web service time out
    How to check for Web Srvice Timeout in ABAP Proxy call
    Regards
    Vijaya

Maybe you are looking for

  • Error calling a webservice from one server process of the cluster

    Hi , I have a servlet which on startup makes a call to a webservice. I deploy this webapp on the cluster. The cluster has two instances each instance having one server process. So when the server restarts one server process on one instance calls the

  • Transfer Price of Profit Centre

    I am trying to activate the Transfer price setting for the Profit Centre.  We have one controlling area with currency INR.  I have made the settings for Profit Centre account with currency type 20 (controlling area currency-INR) with valuation view (

  • Values in the Prompt

    Hi The report prompt displays only the value for which the data is existing in the system as in: if status has value a,b,c,d,e and the records are only created for a,b,c then only these three appears in the prompt drop down . is there a way in wich a

  • 'duplicate column name'-Exception when using identical objects

    Hi all, we're currently experiencing problems when using one single object instance for two different members of a mapped class. Here is an excerpt from our ToplinkMapping.java which shows the relevant parts: public ClassDescriptor buildQuotationDefD

  • Testdrive for 64 Bit Linux Systems?

    Will there be a NW4 Testdrive for 64 Bit Linux Systems? Regards, Tobias