How to use XSJS file path in Controller.js file

Hi Experts,
Regarding How to use XSJS file path in Controller.js file.
I have gone through the SAP HANA Extended Application Services (Thomas Jung http://scn.sap.com/community/developer-center/hana/blog/2012/11/29/sap-hana-extended-application-services article.)
Seems to be there is no information about the same. May be the article is targetted for Beginners and above. As I am a learner I am not able to do the same.
var aUrl = '../../logic/demo_main.xsjs? (highlighted)
Suppose my XSJS file is at http://ipaddress:8000/newtest/Func.XSJS.
Can I use like below
var aUrl = 'http://ipaddress:8000/newtest/Func.xsjs?
or
var aUrl = '../../newtest/Func.xsjs?
I tried with multiple options but not able to get the expected output.
Can you please provide more details on this?

Dear Thomas,
I am a abap developer , recently we meet a problem on our webdynpro report performnace issue. As in the development, we use SALV_WD_TABLE to design a ALV. and verything work correctly in our DEV system.
But after when our QAS system, there are more records for the ALV, one of them has 21000 records. And in the layout, we have a column as checkbox.
If we click any one checkbox, then the layout will respond almost 1~2 minutes. With debug I found the most time cost in the standard program.
And with search I found that you have solution to solve it as 1,000,000 rows.
So is it possible to provide some idea or solution to us?
Many thanks for your help!
BR
Vincent Chen

Similar Messages

  • How to get full file path while uploading a file in flex Applications

    How to get full file path while uploading a file in flex applications.
    FileReference Object is giving file name and other details but not the actual path.
    Is there any workaround to to get the file path?.
    Thanks

    Why not ask in the Flex forum; it is more likely that someone over there knows.

  • Create Navigation path in IDT4.0 and how to use these navigation paths in Webi report

    Hi All, I want to know how to create navigation path in universe? I am using IDT BO4.0 SP4 and relational connection and want to create navigation path. I would like to know how to use this navigation path in Webi report? If I create a webi report where can I see my navigation paths and how to use it. If you can give any document or link which expalins this whole process, that would be great. Thanks,

    HI REMI ,
    1. ANSWER TO YOUR 1st QUESTION i.e. HOW TO CREATE A NAVIGATIONAL PATH :
        IN IDT 4.0  , YOU WILL FIND A NAVIGATIONAL PATH IN BOTTOM WHEN YOU WILL OPEN YOUR      BUSINESS LAYER , THERE YOU CAN CLICK CUSTOM NAVIGATION PATH -> THEN CLICK AT      ADD A NAVIGATIOAL PATH BUTTON->THEN GIVE NAME NAVIGATIONAL PATH NAME->THEN ADD THE OBJECTS UNDER YOUR NAVIGATIONAL PATH IN A HIERARCHICAL SEQUENCE .     FOR EX :     COUNTRY->STATE->CITY . AND YOUR CUSTOM NAVIGATIONAL PATH IS     CREATED.
    2. ANSWER TO YOUR SECOND QUESTION WHAT IS THE USE OF NAVIGATIONAL PATH IN WEBI REPORT :
    NAVIGATIONAL PATH HELPS YOU TO PERFORM DRILL DOWN ON YOUR DIMENSION OBJECTS , FOR EX : LET 'S SAY YOU CREATED A NAVIGATIONAL PATH- REGION SALES  : Containing COUNTRY->STATE->SALES. THIS WILL HELP YOU TO DRILL DOWN IN YOUR WEBI REPORT AS SHOWN BELOW :
    COUNTRY                      SALES
    INDIA                             $1000000
    (after clicking INDIA you will get below structure in your Report)
    STATE                           SALES
    DELHI                             $600000
    ANDRA-PRADESH          $200000
    MAHARASHTRA             $200000
    (after clicking MAHARASHTRA you will get below structure in your Report)
    CITY                              SALES
    MUMBAI                         $150000
    NAGPUR                        $  50000  
    ACTUALLY , DRILL - DOWN AS THE NAME SOUND HELP TO DRILL THE DIMENSION TILL ROOT LEVEL & SEE THE MEASURES VALUES ASSOCIATED WITH THOSE VALUES LEVELS.
    1ST LEVEL WILL ALWAYS CONTAIN THE SUM OF THE MEASURE OBJECTS
    CHEERS ,
    KAPIL

  • How to use runtime.exe to activate the native file coping commands

    How to use runtime.exe to activate the native file coping commands.(It might include using process(), and such.. but how?

    Why would you want to do this? It's harder than copying the file in Java (by reading the file and writing it to a new file) and you'll need to write new code each time you want to port your code to a new OS.

  • Changing File path for different TIFF files in a For loop

    Hi dear users:
    I am using "IMAQ write TIFF File.vi" that basically writes a TIFF file to a specified file path. However, I would like to CHANGE the file path for each TIFF file i save in a for loop. The reason for this is that the File path has to include the file name and I do not want to write over the same file name all the time in a for loop. What I would like to have are sequential TIFF images. So if the file name would be "Image", I would like the result to be Image0, Image1, Image2 and so forth when I run my For loop. Can anyone help me with this?
    Thanks

    Use the "Format Into String" and the "Build Path" functions:
    Message Edited by smercurio_fc on 06-26-2007 05:16 PM
    Attachments:
    Example_BD.png ‏3 KB

  • How to use sub folder paths for external table location parameter?

    is it possible to use one Oracle directory and address multiple files under some OS sub-directories beside that Oracle directory? Like;
    host mkdir /tmp/orcl_dir
    host mkdir /tmp/orcl_dir/fold1
    host mkdir /tmp/orcl_dir/fold2
    CREATE DIRECTORY ext_tab_dir AS '/tmp/orcl_dir';
    CREATE TABLE ext_all_source
        ORGANIZATION EXTERNAL (
           TYPE ORACLE_DATAPUMP
           DEFAULT DIRECTORY ext_tab_dir
           LOCATION ( 'fold1/all_source1.dmp', 'fold2/all_source2.dmp' ) ) PARALLEL 4
        AS SELECT * FROM all_source;
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04076: file name cannot contain a path specification: fold1/all_source1.dmp
    ORA-06512: at "SYS.ORACLE_DATAPUMP", line 19Thank you.
    Message was edited by:
    antu

    Justin is there a way you are aware of at operating system level to teach oracle that it has to access for example 16 different piece of files over a meta file. I saw some definition file like this but I am searching if this is the tools own mapping format;
    $ cat ./CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat
    (object mfile_c_type
    (path "file:OBSOLETE")
    (fs "file://amanos/s01/abinitio/data/prod/mfs/mfs_16way")
    (local_paths 16
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_001/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_002/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_003/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_004/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_005/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_006/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_007/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_008/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_009/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_010/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_011/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_012/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_013/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_014/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_015/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"
      "file://amanos/s01/abinitio/data/prod/mfs/parts/mfs_16way_016/mfs_16way/Applications/RDS/CON_PUB/main/CON_xfrm_subs_status_reason_act_lk_20080302.dat"))or at least a symbolic linking strategy may handle this, but I couldn't figure out how and of course this will have its own costs of course to manage.

  • How do I find the path to a pdf file I have found in Spotlight?

    I downloaded a pdf file, and a few days later couldn't remember where I put it on my HD.I found it easily using spotlight, but that brings up the file as a full pdf in Preview, and I can't see any way of finding the patrent folder, or the path to it, so I can find it again or move it. How do I do that?
    Thanks,
    Richard

    I just found the answer myself - https://discussions.apple.com/message/17196624#17196624 .
    I agree with the comments in that thread - not at all intuitive!
    Richard

  • How can i set a path for my deployment files in weblogic server 10.3

    Hi
    How can i set the path for my WAR ,JAR files while deploying.i am using the wls10.3 version.
    is there any scripts for this ,please provide me.
    my Application is ADF 11g application.

    By "path", I assume you mean "classpath".
    The simplest way is simply to include the jars you need inside the web application or web module's WEB-INF/lib directory, EJB module's META-INF/lib directory, or EAR lib directory.
    If that's not practical, if you use NodeManager to start your servers, you can go to the "Server Start" tab in the server definition in the WebLogic console and edit the "Classpath" field, which defaults to no value. You can specify a classpath value there. Note that if you specify a value there, it REPLACES the default classpath for the server, it doesn't add to it. If you need to just add to it (a much more likely scenario), if the value references the value "$CLASSPATH" in it, that will reference the original classpath value that the server would have had.
    So, for instance, if you wanted to include the MQ jars in the server classpath, you could set a value like this:
    /usr/java/mq/lib/mq.jar:/usr/java/mq/lib/mqstuff.jar:$CLASSPATH

  • How to get the real path of the xml file

    I have a java application
    following is the package structure
    com>>gts>>xml
    having file---------> MyXML.xml
    com>>gts>>java
    having java program to read the file
    Problem is if I use File file = new File("..\\xml\\MyXML.xml");
    java.io.FileNotFoundException: E:\LEARNING_WORK_SPACE\JavaXml\..\xml\MyXml.xml (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
    How do I get the real path of the xml file.
    Edited by: shashiwagh on Jan 29, 2010 11:46 AM

    Hi,
    if your XML file is inside a package you can easily get it from the classloader.
    Note that your application maybe packaged inside a jar so it is not safe to use java.io.File for this purpose.
    You have an xml file in :
    com/gts/xml/MyXML.xml
    in a class of the same module (that will packaged in the same jar) for example com.gts.java.XmlLoader :
    // To get the stream :
    InputStream is = this.getClass().getResourceAsStream("/com/gts/xml/MyXML.xml");
    // Or the URL :
    URL xml = this.getClass().getResource("/com/gts/xml/MyXML.xml");Hope it helps.

  • How to mention a  Relative path in a java file

    How to mention the relative path of the file in fileinputstream?
    The directory structure is as follows,Inside the **model** folder i have a java file called GetContents.java
    I need to refer the input.xls file inside the template folder in GetContents.java.file.
    I tried new FileInputStream("..\\..\\..\\template\\DevContentsTemplate.xls") cos the GetContents.class file will be inside webcontent\web-inf\classes\model\GetContents.class and I thought if i use the above relative path , it should refer webcontent\web-inf\template\input.xls
    But it throws a file not found exception.
    ContentValidation
    - src
    -action
    -model
              -bean
              -form
              -utils
    -WebContent
                   -WEB-INF
                        -classes
                        -action
                   -model
                             -bean
                             -form
                             -utils
                        -lib
                   -template
                             -input.xls
    Kindly help.
    Thanks.

    morshed_nsu wrote:
    if so then for one ../ you will reach classes folder. for another you will reach the folder containing src, classes, templates etc.
    So you do not need 3 escapes.I posted that same answer 7 hours before you did! What part of your answer is any additional help compared to mine? It's fine to give someone another answer, but there's not much point in giving the SAME answer 7 hours later. If it were a few seconds or a few minutes later, I would excuse you for having tried to post at the same time. But, 7 hours?! Please read the existing answers next time, not just the original post.

  • How to use Swing html to parse a html file..

    I am currently working on a project in java.i need to read a Html file, extract the table tag along with its contents if it has a button embedded in it and replace it with another code..
    i tried it with Reg Ex in java but in vain.. Any help is great... I need an idea of how to use Html parser for this prob.. any examples will be fine..

    Run the program from command line, this way you will see the errors, if any.
    example.: java -jar theJarfile.jar
    I was successful in creating a comm application. I placed the win32com.dll in the same directory of my application jar file and all worked.
    I also extracted the comm.jar , and jar'd my app with the extracted comm files to make one jar.
    I also had a fileWriter() to get the clients jre path and my app would write the javax.properties file to the correct place.
    It took me severel weeks and late nights to accomplish this, but it was all necessary to be able to install only my app, and not a bunch of api's that were needed.

  • How can I see the path from the preview file (*.prel) to my video files ?

    Because a lack of hard disk space I have moved my video files to another drive and therefore unfortunately destroyed the relative connection to the preview file (*.prel).
    Therefore the videos are not to be seen in the preview file any more.
    How can I get information about the relative path between the preview file and the place for the original video files so I can get those back in the original position ?
    or:
    It may be possible to change the path for every clip in my preview file - but how ?
    I can read answers in English, German or Danish.

    hansk
    What version of Premiere Elements on what computer operating system?
    Generalizing for now...
    If you know where the files are by actually seeing them in their hard drive save location and you are getting "Where is the file ______?" messages, then you use those
    messages to reconnect the source media to the project. Are you getting those messages and have you tried for the reconnects that way?
    If edits are involved in the files that have become disconnected to the project, you can also consider the program's Replace Footage feature.
    ATR Premiere Elements Troubleshooting: PE11: Replace Footage
    Typically either of these ways is one at a time reconnects. With the "Where is the file _____?" message way sometimes you get lucky (depends on the circumstances) and more
    than one file at a time might reconnect.
    Please review and consider. Any questions or need clarification, please ask.
    ATR

  • How to use independent replacement paths for same KF over several months?

    Dear Experts,
    I have a query requirement to show KF values for items that meet a condition on another KF for a five month period.  I know that I can accomplish this using a replacement path variable on item for one month at a time, however I am not sure how to do this for multiple months in one query.
    This is an example:
    Month 1
    KF 1 > 0 for Items A & B.........so show KF 2 for for Items A & B
    Month 2
    KF 1 > 0 for Items B & C.........so show KF 2 for for Items B & C
    Month 3
    KF 1 > 0 for Items A & C.........so show KF 2 for for Items A & C
    Thanks in advance for your help!
    Kathryn

    Ok, Nancy, code copy/ paste did work fine.
    what does this mean:
    "Change the image in the properties panel to display your new image."
    (the image is displaying ok)
    NEverthesless, I think I got Murrays old notes.
    Here is my new version of Murrays writing, easiest way I think:
    You open up a pre-existing html, say Chicago. Then drag over with pointer to the new jpeg you want (Buffalo). It replaces Chicago with the buffalo jpeg, all links work perfectly. Then do a save as called Buffalo.

  • How to use the same element in different photoshop files?

    It occurs to me often that I use the same element in different photoshop files, a header or footer shown in the example below. So when the footer changes in one document, I need to change this footer in every other single document.
    Is there a possibility to use some kind of template, one single document,  that can be placed in different files , which is still editable afterwards?
    Thanks in advance.
    I'm using Photoshop CS6

    In a single document you can have several pages and these pages may have headers and footers that share smart objects.  If you replace the contents of the an embedded smart object on one page page that is shared on an other page the pages you will see both pages contents are changed. For they share the common object.   It is also possibly to have independent smart object layers. It depends how you create the layers in the single document.
    Example one sharing a smart object hi-light a smart object layer and use menu layer>Duplicate Layer... This will create a second smart object layer that share a common smart object. Each layer has is own associated transform. Do it again and you will have three layers the share a common smart object. So you can use each layer associated transform to position and size the layers contents. Make a picture package for example. When you hi-light any of the three smart layers and you use menu Layer>Smart Objects>Replace Contents... all three layers contents will be replace with the new smart object.  Care must be taken to replace the smart object with an identical size object for only the object is replaced the three associated transform for the three layers are not replaced or changed.
    Example two independent smart objects  hi-light a smart object layer and use menu layer>Smart Objects>New Smart Object via Copy.  This will  create a second smart object layer that has it own embedded smart object copy.  Do it again and you will have three all have independent embedded smart object that are identical.  However they do not have to remain identical.  For example if the first smart object layer was created by using ACR to open a RAW file as a smart object layer the embedded object is a copy of the raw file and its associated RAW conversion settings.  Double clicking on one of the smart object layers and you will see ACR open on its embedded RAW file with the embedded RAW conversion setting.  Changing these settings will update the layer smart object content with new ACR setting and pixel when you click OK in ACR. Repeat for the third and you will find you have three different raw conversions in Photoshop you can mask and blend together to bring out detail.
    I think what your missing is that a smart object contains a copy of the original object.  Changing the original after creating a smart object layer in document will not effect the smart object layer at all. Its independant from the original having a copy of the original. Only changes to the smart object layer and its embedded smart object effect smart object layers.

  • I have an iMac with 2 internal drives and set-up with multiple user accounts.  How do I create a path to store data files on my second drive within an application?

    I have an iMac with 2 internal drives and a multiple user account set-up.  Hw do I create a path to store data files on the second drive within an application?

    This is the Mac mini forum not the iMac forum however...
    Applications written for average users like Photoshop, Word, i.e. GUI based applications provide a 'Save' dialog box which while allow selecting second drives or any drive. The dialob box initially shown might be in the simple mode but you just need to click on the triangle to show the full set of options. You should then see the different drive names amongst other options.
    If your referring to an application your writing yourself then you need to build a pathname. This can be in one of two styles depending on the programming system your using. This could be a POSIX style path or a Mac style path.
    POSIX = /Volumes/volname/foldername
    Mac style = Volname:foldername:

Maybe you are looking for