Get URL by PCD in WD ABAP

Hello friends,
I'm developing a web dynpro abap applcation. My problem is when i'm pressing on button that need to open
bw iview.I am using the method CREATE_EXTERNAL_WINDOW from the interface IF_WD_WINDOW_MANAGER, now I need to send url as paramter.Is there any way to get url by pcd ( to get the url of bw iview )?
I'm doing it that way and not by calling NAVIGATE_ABSOLUTE method because when bw iview send me back paramters( with EPCM ) i want also to close it.
Thanks in advanced,
Udi

Hi Udi,
We had a similar requirement where we need to call a Transaction in portal with different values for its parameters.
Assuming that your BW iView will have NON-CHANGING Url path you can store that path in a abap table ( for multiple reports also) and then get the value when required.
If you need to pass any parameters with the URL you can concatenate it to the NON-CHANGING url part and send.
I hope it helps.
Revert back in case of queries/issues.
Regards,
Sumit Oberoi

Similar Messages

  • Get IView URL via PCD

    Hi,
    I've been using getPortalApplicationURL (WDPortalUtils Class) in portal 7.0 to get the URL of an iview using the pcd.
    It does not work in portal 7.3 ! (or any CE portal for that matter) it just returns the pcd itself as result, despite the fact it is not deprecated or anything else.
    Before I open an OSS regarding this issue i wanted to know if there's another way to get the URL via PCD.
    thanks!

    Hi Yoav,
    I tried setting up the EPCF but it isn't working. I can't
    get the iView to open in the central frame. Problem is, i
    can't change the code very much now as this is only a
    content migration from EP5 to EP6 and not a rewrite of the code.
    To get the rid i use:
    RID rid = RID.getRID(request.getParameter("rid"));
    but i don't url-encode it. Which might be the issue.
    However not url-encoding it was not an issue in EP5.
    Thanks,
    Ale

  • I am getting the following error at Import ABAP phase ...

    Dear All,
    I am getting the following error at Import ABAP phase when performing the system copy function (Import) via ./sapinst  ( OS - LINUX and DATABASE-ORACLE 10g)...
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    /usr/sap/RXT/SYS/exe/run/R3load: START OF LOG: 20090102154030
    /usr/sap/RXT/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#6 $ SAP
    /usr/sap/RXT/SYS/exe/run/R3load: version R7.00/V1.4 [UNICODE]
    Compiled Apr  1 2006 00:08:29
    /usr/sap/RXT/SYS/exe/run/R3load -testconnect
    DbSl Trace: OCI-call 'OCIServerAttach' failed: rc = 12541
    DbSl Trace: CONNECT failed with sql error '12541'
    DbSl Trace: OCI-call 'OCIServerAttach' failed: rc = 12541
    DbSl Trace: CONNECT failed with sql error '12541'
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: OCI-call 'OCIServerAttach' failed: rc = 12541
    DbSl Trace: CONNECT failed with sql error '12541'
    DbSl Trace: OCI-call 'OCIServerAttach' failed: rc = 12541
    DbSl Trace: CONNECT failed with sql error '12541'
    (DB) ERROR: DbSlErrorMsg rc = 99
    /usr/sap/RXT/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/RXT/SYS/exe/run/R3load: END OF LOG: 20090102154030
    Thanx,
    Amit

    Dear Juan,
    Trans.log is ;
    isrxi:rxtadm 7> cat trans.log
    4 ETW000 R3trans version 6.13 (release 700 - 20.02.06 - 16:15:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 02.01.2009 - 16:45:09
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Fri Jan  2 16:45:09 2009                              62  0.000062
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    13  0.000075
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             21  0.000096
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/RXT/SYS/exe/run/dboraslib.so' ...
    4 ETW000                                                                              26  0.000122
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/RXT/SYS/exe/run/dboraslib.so), hdl 0
    4 ETW000                                                                            9099  0.009221
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/RXT/SYS/exe/run/dboraslib.so' loaded
    4 ETW000                                                                              16  0.009237
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/RXT/SYS/exe/run/dboraslib.so
    4 ETW000                                                                              30  0.009267
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/RXT/SYS/exe/run/dboraslib.so' is "700.08", patchlevel (0.46)
    4 ETW000                                                                              42  0.009309
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/RXT/SYS/exe/run/dboraslib.so
    4 ETW000                                                                              21  0.009330
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/RXT/SYS/exe/run/dboraslib.so
    4 ETW000                                                                              25  0.009355
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              16  0.009371
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              21  0.009392
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         17  0.009409
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              15  0.009424
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              16  0.009440
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                        195  0.009635
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.UTF8          1567  0.011202
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPSR3's password           14  0.011216
    4 ETW000  [dev trc     ,00000]  Connecting as /@RXT on connection 0 (nls_hdl 0) ... (dbsl 700 240106)
    4 ETW000                                                                              15  0.011231
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              17  0.011248
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1  0x9342150  0x9349ba0  0x935a298
    4 ETW000                                                                              16  0.011264
    4 ETW000  [dev trc     ,00000]  Allocating service context handle for con_hdl=0       15  0.011279
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      11  0.011290
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server RXT (con_hdl=0,svchp=0x935a1c8,svrhp=0x935c4a8)
    4 ETW000                                                                              63  0.011353
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
    4 ETW000                                                                            1787  0.013140
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '12541'
    4 ETW000                                                                              16  0.013156
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                  46  0.013202
    4 ETW000  [dev trc     ,00000]  Connecting as SAPSR3/<pwd>@RXT on connection 0 (nls_hdl 0) ... (dbsl 700 240106)
    4 ETW000                                                                              15  0.013217
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              16  0.013233
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1  0x9342150  0x9349ba0  0x935a298
    4 ETW000                                                                              15  0.013248
    4 ETW000  [dev trc     ,00000]  server_detach(con_hdl=0,stale=0,svrhp=0x935c4a8)
    4 ETW000                                                                              14  0.013262
    4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=0x935a1c8,srvhp=0x935c4a8)
    4 ETW000                                                                              13  0.013275
    4 ETW000  [dev trc     ,00000]  Deallocating server context handle 0x935c4a8          20  0.013295
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      20  0.013315
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server RXT (con_hdl=0,svchp=0x935a1c8,svrhp=0x935c4a8)
    4 ETW000                                                                              25  0.013340
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
    4 ETW000                                                                             430  0.013770
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '12541'
    4 ETW000                                                                              16  0.013786
    4 ETW000  [dblink      ,00431]  ***LOG BY2=>sql error 12541  performing CON [dblink#3 @ 431]
    4 ETW000                                                                              85  0.013871
    4 ETW000  [dblink      ,00431]  ***LOG BY0=>ORA-12541: TNS:no listener [dblink#3 @ 431]
    4 ETW000                                                                              15  0.013886
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'RXT'"
    isrxi:rxtadm 8>
    Regards,
    Amit

  • Hi! I need to load a GET url that si very long. On other browsers, I can load the url. In firefox 3.6, no. There is an addons or a plugin so I can extend this limit? If yes, is possible to load automatically this addons when loading a certain page? thanks

    Hi!
    I need to load a GET url that si very long. On other browsers, I can load the url. In firefox 3.6, no.
    There is an addons or a plugin so I can extend this limit? If yes, is possible to load automatically this addons when loading a certain page? thanks
    The url is sometingh like this (this is correctly loaded, but it could be longer)

    Firefox should have problems with long GET data appended to an URL (long would be over 64k).<br />
    If there are problems then it is possible that an extension is the cause of that.
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Get Url from a text box

    Hello,
    I have read a couple posts in regards to the GEt URL function
    but couldn't find what I'm looking for.
    Trusting someone can help.
    Here are two reference files
    1- Main swf that loads the movie clip
    with the links
    Swf
    that displays the links I'm opening in a new window
    I'm able to open the url on a new window but couldn't find a
    way to control the height of this window. Please note that the
    links are all inside a text box. They are not separate buttons they
    are just text hiperlinks.
    Please let me know if any of you knows how to control the new
    _blank window height.
    Thanks
    Fe

    Hi. You should consider posting this to either the iPhone forum or the Developer forum. This forum is for discussing the Unix subsystem of OS X...

  • Help with calling a Get URL

    I am having a problem with calling a series of web pages
    within my movie. I have an index.fla that I publish to html. Within
    the index.html, I am calling multiple swf files to load content.
    Home.swf loads when the index page displays. Then the user clicks
    on any button and each button loads another swf replacing the main
    content with perhaps loading it's own swf files of content also.
    Everything is working fine. However, on one called swf file, called
    students.swf, I also have a menu swf file that is called when
    students loads. This menu swf file has text listed with
    actionscripting calling a data file that causes the text to expand
    and rollout and display a label of the url. When the user clicks on
    the list name I have a get url to the url of the label. Everything
    works fine in the swf files when I test the movies for the swf for
    the menu file and for the student file swf. However, when I publish
    and run the index page and start testing out the student swf that
    is called, the menu will not open up a new browser window with the
    link designated in the get url. I can't figure it out! It works
    fine in the swf files, but not when I test it out through the index
    controlling file. Please Help!!!

    if you're using as2, try adding
    this._lockroot=true;
    to the movieclip that contains getURL, the student file
    swf.

  • Get Url doesnt work in my flash .swf page

    Get url doesnt work in my flash .swf page
    www.wackyworld.biz/north.swf
    click on the building is supposed to go to a site. I made all the buildings symbols and when i hit f9 the actions window opens i put
    on bowling building
    on (Release)
    get URL (http://wackyworld.biz/bowling/bowling.html", "_self ") ;
    why when i click on the buildings they dont work? can someone download the file and convert it to fla and tell me what im doing wrong?
    Brent
    Message was edited by: crashncrazy

    i did click on the button and then put in the code.
    on (release)
         "getURL" (http://www.wackyworld.biz/bowling/bowling.html, "_self");
    like this?
    if so this is what i have. still no way to click on button on site

  • How to publish project to get url?

    how to publish project to get url?

    Hi
    If you publish your Captivate project to Adobe Connect, then you will get a URL which you can provide to your users. Users need to open the URL to play the project.
    If you publish your Captivate project which is SCORM compliant, then you need to upload this project to any LMS,  you will get a URL which you need to provide to your users, users will open on the URL and project will start playing.
    Thanks and Regards
    VJ

  • How do I get a variable, or object from ABAP STACK.

    Hey Gurus,
    How do I get a variable, or object from ABAP STACK.
    Example: I start my FM. I can see in the ABAP STACK the variable I need. I can see the object; I could use to get my variable. I need to use it in my FM; however I need to reference it in the run time. How do I do that?
    Is there a method I can use for reading ABAP STACK?
    Do I just use command: get reference of u2026?
    Does anyone have an example code?
    Basis version 7
    Thanks in advance
    Martin

    Ah, you mean you want to access a variable from another program in the call stack, yes?  You can do this using field symbols, but please don't try to change a value while doing this, it could really screw things up. 
    this example, is using two programs, where the second is accessing variables of the first program.  Basically just notice that we are using the program name and the variable name when assigning the field symbol.
    report zrich_0006 .
    tables: mara.
    parameters: p_matnr type mara-matnr..
    data: matnr type mara-matnr.
    data: imarc type table of marc with header line.
    matnr = p_matnr.
    select * from marc into table imarc up to 10 rows
                   where matnr = p_matnr.
    perform in in program zrich_0007.
    report zrich_0007 .
    *       FORM in                                                       *
    form in.
      data: field(50).
      data: xmarc type marc.
      field-symbols: <matnr>.
      field-symbols: <imarc> type marc_upl_tt.
    * Assign an individual variable
      field = '(ZRICH_0006)matnr'.
      assign (field) to <matnr>.
    * Assign an internal table
      field = '(ZRICH_0006)IMARC[]'.
      assign (field) to <imarc>.
    * Write out your data
      write <matnr>.
      loop at <imarc> into xmarc.
        write: / xmarc-werks.
      endloop.
    endform.
    Regards,
    Rich Heilman

  • Get URL variable in customer exit

    Hi,
    does anybody know how to process a variable value in a customer exit which was filled by an URL parameter? I have created an iView which calls a webtemplate via URL  "http://<SERVER>/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=ZTEST&var_name_1=MyVAR&var_operator_1=EQ&var_sign_2=I&var_value_low_ext_1=12345".
    When I execute the iView the value "12345" is correctly transported and stored in variable "MyVAR" and the result is also filtered on this value.
    Now I would like to modify the value in a customer exit but it seams as the entry is not not stored in table i_t_var_range. Any ideas how I might get access on the URL parameter value?
    Thanks, Carina

    Hi,
    I have exactly the same problem. Have you solve this problem ?
    It must exist a solution because SAP kowns how to get URL filters in standard, but I don't kown how!
    Thanks in advance for any help.
    Philippe

  • Get Url

    Hi,
    I have created following embedded code
    <object width='576' height='353' ID="Object1"
    VIEWASTEXT>
    <param name='movie' value='
    http://invind05/Rohit2/find_url.swf'
    />
    <param name='wmode' value='transparent'/>
    <embed src='
    http://invind05/Rohit2/find_url.swf'
    width='576' height='353' type='application/x-shockwave-flash'
    wmode='transparent'/>
    </object>
    This code will be used by client on any
    http:// xyz/abc.html.
    Iwant to get the url where the above .swf file is used. I
    donot want to add Java Script function in the embedded code.

    Kevin wrote:
    > How can i get a browser to load a new page url once a
    flash movie ends.So
    > the viewer doesnt have to click a link to open the new
    browser window? Ive
    > tried the get url action but no success so far.
    Place a key frame on the last frame of the timeline with
    getURL action.
    getURL("somepage.html");
    Once the movie reaches that frame, it will automatically call
    the browser window.
    It's good idea to place stop(); action on that frame as well,
    sometimes the movie
    rewind itself while the browser process the action, making
    impression like there
    is more to come and user get suddenly shifted elsewhere. They
    tend to hit the back
    button to go back see what has happened.
    Best Regards
    Urami
    Beauty is in the eye of the beer holder...
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Get URL + load Movie

    I am going from one Flash site to another and use the get URL
    code just fine getURL("
    http://www.site2.com).
    When I get to site2 how does one pass loadMovie or other
    commands to site2 flash from site 1 with the get URL command? Is
    that a case for shared Objects?
    Thanks

    It looks like you are loading in an external .swf for the
    thumbnails and the larger images for each section. If you want to
    update a particular section's photos, then you can just replace the
    old .swf with a new one with the same name. Your movie will then
    use the new .swf when it is called to be loaded.
    You should not use getURL() for any of this. GetURL() is used
    to load a new .html document into a browser.

  • ACE 4710 http probe get url question

    I am trying to create a http probe using the request method get url command. My url contains a question mark and the ACE will not accept the url as is and it strips out the question mark character. Is there a way to make the ace accept a url containg a question mark?
    probe http HTTP_PROBE
      port 9040
      interval 10
      faildetect 5
      passdetect interval 60
      expect status 200 200
      open 1
    The url I am trying to enter is /psp/epprod/?cmd=login
    When I enter it the ACE does as shown below
    (config-probe-http)# request method get url /psp/epprod/?
    <LINE>
    ACE-APP-02/vc_peoplesoft(config-probe-http)# request method get url /psp/epprod/cmd=login
    It strips out the ? character.

    Hi Nicholas,
    To enter a question mark you need to type ctrl+v prior to entering the ?
    You enter the control key then lowercase v, then your question mark.
    HTH
    Pablo

  • Changing an old Get URL

    Hello,
    I feel like I am losing my mind, and this may be a very easy
    fix that I am overlooking, but I am trying to just change the Get
    URL address of something that I did a long time ago. When I open
    the file, I found 2 instances where I put in the new URL in place
    of the old one, but when I test the movie, it still sends to the
    old address. I have cleared my cache in the browser, etc.
    Does anyone have an idea of what I might be overlooking in
    trying to change the URL? I created a fade up movie for an icon and
    I changed the address on the timeline and on the movie itself,
    which were the only 2 places I could find the URL to replace.
    You can see the website at
    http://www.dirtcad.com
    It is the fade up Blue Cross icon on the bottom right after
    the movie loads that needs to be changed. I created this movie in
    Flash MX and I opened it in Flash 8 and I am just trying to make
    that one change.
    Thanks for any suggestions.

    kregg wrote:
    > Hello,
    >
    > I feel like I am losing my mind, and this may be a very
    easy fix that I am
    > overlooking, but I am trying to just change the Get URL
    address of something
    > that I did a long time ago. When I open the file, I
    found 2 instances where I
    > put in the new URL in place of the old one, but when I
    test the movie, it still
    > sends to the old address. I have cleared my cache in the
    browser, etc.
    there really is no magic when comes to getURL action, you
    simply editing wrong instance
    and old action remain attached. You just remove the action in
    a wrong place so it
    takes no effect.
    Upload the file and let us check, much easier than trying to
    guess from here
    Regards
    Urami
    Happy New Year guys - all the best there is in the 2006 :)
    <urami>
    http://www.Flashfugitive.com
    </urami>
    <web junk free>
    http://www.firefox.com
    </web junk free>

  • Can not get URL using GetPageContext().getRequest().getRequestURI()

    Hi guys,
    I am coding a web application using ColdFusion 8.
    The situation is as follow:
    - I type https://mypage.com/aaa/bbb.html on web browser where aaa and bbb.html does not exist in my web folder.
    - And this will drive the error 404 PageNotFound occurred, in the code that processing error 404, I tried to get URL aaa/bbb.html by using GetPageContext().getRequest().getRequestURI() but the result of this command is my created 404 error page.
    - I also tried to get URL by using CGI, but also couldn't get it.
    Can you guys show me the way to get URL when no page is found error occurred?
    Thank you very much in advanced!

    No screen wrote:
    - I type https://mypage.com/aaa/bbb.html on web browser where aaa and bbb.html does not exist in my web folder.
    - And this will drive the error 404 PageNotFound occurred, in the code that processing error 404, I tried to get URL aaa/bbb.html by using GetPageContext().getRequest().getRequestURI() but the result of this command is my created 404 error page.
    ColdFusion will know nothing of https://mypage.com/aaa/bbb.html! As the requested page is HTML, the web server will respond to it, without involving ColdFusion. The ColdFusion function GetPageContext() is therefore irrelevant.

Maybe you are looking for

  • IWeb Update good for me - using 10.4?

    Aloha - I'm afraid to do the new iWeb update as the last two QT updates have messed with my FCP. I'm still using 10.4.11 - and was told my issues with QT may be b/c of that. So - I was wondering if I should hold off on the iWeb update or does the ope

  • ReadLine() in java.io.DataInputStream has been deprecated

    Hi, I am using the following code : File f=new File(filePath);                FileInputStream fis=new FileInputStream(f);                BufferedInputStream bis = new BufferedInputStream(fis); dis = new DataInputStream(bis);                while((rec

  • Procedure help

    Hi there, I am trying to write a procedure which calculates the remaining time from two different tables. The problem hereby is that one table (TBL_TIMESHEET) has the total for each day whereas the total for each day from the other table (TBL_COSTING

  • New distro releases, featuring Mageia and Mint

    Mageia, the community fork of the now-deceased Mandriva distro,droppedMageia 5 a couple ofweeks ago, andeWeek has a slideshowof new and improved features. A similar alternative,OpenMandriva, also has a new release.Meanwhile, Linux Mint 17.2 Cinnamon,

  • Itunes has disabled my dvd drive

    I upgraded to itunes 9 and now my dvd player will not work and my computer does not recognize it. I had it serviced and fixed last week and it was working and the guy stated it was a problem in i tunes. When it was fixed it worked until I connected m