Passing Abap Variants as Application Parameters

Hello.
I have searched extensively trying to find documentation for passing ABAP variants as application parameters. For example, I am creating an R/3 iview calling the transaction IW59 (display service notifications)where I am trying to use an existing ABAP variant that has the value of BV. There are no screen fields that I can find.
Is there a solution to this? Any help will be greatly appreciated.
Best Regards,
Pete Horan

Hi,
We've encountered the same problem (we think). We want to open a webgui transaction in EP 5.0 with a given variant. What do we need to input in the field "additional dynpro parameters" for this to work? We've tried "VARIANT=", but this doesn't work. We've also set the parameter "process first screen automatically" to "true".
has anyone experienced this problem before? Any help appreciated!
Regards,
Hans Petter Bjørn

Similar Messages

  • Can the role info be passed from portal to ABAP web dynpro application

    Hi,
    We have some roles in the portal. We call the ABAP web dynpro applications from the portal. Is it possible to pass on the role from the portal to the Web dynpro ABAP application so that we can use this role information in the application.
    Thanks,
    Pooja

    Hi,
    you can try to add the expression
      role=<IView.PCDUnit>
    as part of the Application Parameters in the iView. This will be the role in 99%. However not all iViews started in the Portal must belong to a role. You can start iViews using page navigation that are not part of a role. Therefore the PCD does not talk about roles but about "units" which is the superordinate term.
    the value will be the PCD path of the role - e.g:
      portal_content/myFolder/roles/myRole

  • AppIntegrator - Issue with Passing Application parameters

    Hi,
    I've created a WebApplication system using 'HowTos' (com.sap.portal.howtos.webapp.par) file and set the system parameters.
    I've created a generic iView with AppIntegrator par file (com.sap.portal.appintegrator.sap.par). Where I've passing the parameters as 'ApplicationParameter'. Following are the parameters that I'm passing in the AplicationParameter..
    redirectTo=/test/ourenv/myfile.ext/($Limited)&Login
    but when I see the result through HTTP WATCH, iView passing  them as redirectTo=%2Ftest%2Fourenv%2Fmyfile.ext%2F%28%24Limited%29
    so the other application is not taking this redirectTo parameter.
    Is there any way to stop Decode/Encode the application parameters?
    Thanks in Advance,
    Satya

    hI,
    Yeah it would not.
    The url specification is very clear there are certain symbols which should not be passed in any url. The reason you see encoded url is to ensure that the symbols are preserved in your request.
    Your external program can easily decode %2f already in your url , to '/' and get the correct parameters or choose another symbol instead of '/'
    There is no other solution. As I just checked up, url specification which applies to any url across the world is very clear on this count.
    So encoding has been done to ensure your parameters are coded correctly. The client program should be able o decode it.
    The '/' is a reserved character with a specific meaning and cannot be used for anything apart from its specified purpose. You have to encode it if you need to pass it for other purpose.
    Refer to this link.
    http://www.w3.org/Addressing/URL/uri-spec.html
    This is clear on this count.
    Regards,
    Harish

  • Passing Application Parameters

    We are building a Flex (desktop) application which is distributed through our web application (a J2EE WAR file).  I would like to be able to externalize several parameters (such as some web service identifiers) so that I can build the application once and move it through difference environment (i.e. dev, integration, qa, etc.).
    I am using Adobe FlashBuilder 4 and with Air 1.5.3.  All the examples I have found seem to include passing a parameter through the flashvars parameter.  However, I have not been able to get this to work.  Any direction would be greatly appreciated.
    -John

    OK, I am not having much luck.  Here is the javascript code with an example parameter (testparm) being passed:
    AC_FL_RunContent(
    'codebase','http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab',
    'width','217',
    'height','180',
    'id','badge',
    'align','middle',
    'src','badge',
    'quality','high',
    'bgcolor','#FFFFFF',
    'name','badge',
    'allowscriptaccess','always',
    'pluginspage','http://www.macromedia.com/go/getflashplayer',
    'flashvars','testparm=test123&appname=.........
    'movie','badge' ); //end AC code
    And here is the Flex code that gets run in the application's init() method:
    var test:String = FlexGlobals.topLevelApplication.parameters.testparm;
    Alert.show("testparm=" + test, 'Alert Box', mx.controls.Alert.OK);
    Note that I have also tried using the deprecated "Application.application.parameters" as you suggested but in both cases, I just get a null value.
    I must be missing something that links the flashvars in the javascript to the flex application. 

  • Passing application parameters to 9i forms

    We recently converted our Forms 6 forms to 9i, on Solaris. We recompiled them on AIX and got them running, except that I have trouble figuring out how to pass application parameters. We passed the parameters on the run-form command line in our olf forms.
    In 9i, I tried passing the parameter through the URL; I also tried assigning the the parameter values in formsweb.cfg. Does baseHTML need to be involved in this?
    Also Oracle does not certify that forms 9i for AIX. Does anyone know of any problem running on AIX.

    Clayton,
    do you mean custom parameters when saying application parameters?
    if you application contains custom parameters that are passed when starting the Forms, then this can be added using the otherparams parameter.
    E.g.
    otherparams=usesdi=yes myparam1=foo myparam2=foo2
    The other params parameter can be set in the formsweb.cfg file (forms90/server) globally for all applications or individual for a single application. If you need to pass custom parameters in the URL then it could be done more nicely if you specify the following in the formsweb.cfg file
    otherparams=usesdi=%usesdi% myparam1=%myparam1% myparam2=%myparam2%
    In the request URL you would request the application by
    .../forms90/f90servlet?config=myApp&usesdi=yes&myparam1=12&myparam2=hello
    "myApp" would be a named configuration in the formsweb.cfg file like:
    [myApp]
    form=myEmp
    userid=scott/tiger@orcl
    lookandfeel=oracle
    otherparams=usesdi=%usesdi% myparam1=%myparam1% myparam2=%myparam2%
    You don't need to change the baseHTML file for this. The Forms system commands are pre-defined in formsweb.cfg and don't need to be added to the URL
    Haven't heard about Forms not running on AIX, so I cannot help you with this question
    Fran

  • Application Parameters not working in the Transactional iViews

    We had created transactional iViews for calling the standard SAP Transaction: IQS8 and IQS9. Here the issue is that we would like to populate the default screens for these 2 transactions with different set of default values.
    So, we created variants and sending them as an application parameter to these trasnactional iViews. When we call this iView it is displaying these default values as per the variant which we are sending. But when executing that transaction, it seems those application parameters that we send through the iView are not being used to call that transaction.
    How to enforce the transaction to make it use the application parameters as default values, does any one has any idea?
    Please let me know if any one of you have a solution for this.

    Hi Venkat,
    You might want to try the following approach:
    1- Create a new transaction code in your SAP system (using transaction SE93 - maintain transaction) which would be a transaction variant of the transaction you want to call with a specific variant
    2- Create a 'SAP transaction' iview that points to the new transaction code you created (SAP information <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/88/266a3e54a2e946e10000000a114084/frameset.htm">here</a>)
    Hope this helps.
    Regards,
    Joseph

  • Another bug in Flex? (Application.parameters and query strings)

    I'm passing in two query string parameters in the source of SWFLoader and both of them are clumped together in the first parameter by application.parameters.
    But I switch the order of the parameters in the query string and both parameters are returned correctly:
    Case #1:
    Query String:  ?cfg=zzzzzzz54B&embed_div=x
    parameters.cfg: zzzzzzz54B&embed_div=x
    parameters.embed_div:  [nothing]
    Case #2:
    Query String:  ?embed_div=x&cfg=zzzzzzz54B
    parameters.cfg: zzzzzzz54B
    parameters.embed_div: x
    Here is the actual debug commands:
    Dumper.info(this.url);
    Dumper.info(this.parameters.cfg)
    Dumper.info(this.parameters.embed_div);
    And output:
    (Case #1)
    [INFO]: file:///C:/Program%20Files/WordRad234/chm/wordrad_kt/web%20pages/zzzzzzz5/rad_3xf.swf?cfg =zzzzzzz54B%26embed_div%3Dx (String)
    [INFO]: zzzzzzz54B&embed_div=x (String)
    [INFO]: (Object)
    (Case #2)
    [INFO]: file:///C:/Program%20Files/WordRad234/chm/wordrad_kt/web%20pages/zzzzzzz5/rad_3xf.swf?emb ed_div=x&cfg=zzzzzzz54B (String)
    [INFO]: zzzzzzz54B (String)
    [INFO]: x (String)
    Something I just noticed: the equal sign after embed_div is replaced by %3D but only if embed_div comes last.

    NEVERMIND:
    It was something I was doing  to the source of SWFLoader beforehand (involving encodeURIComponent).
    I have to say, I have many, many times thought something was a bug in Flex and it was in fact my code.  In general, I think Flex/AS3 is an elegant and useful product.  The sort of ad hoc  tweaks that have to be done to avoid memory leaks though is ridiculous (though I do have that figured out pretty much as well.)

  • Passing a Variant array to ArrayToImage Function

    Hi,
    I need help passing a Variant array to the ArrayToImage function in the NI Vision library.
    I have no problems using the ImageToArray function - but when going back to the CWIMAQImage type the application throws an exception.
    Are there any code samples for doing this?
    Thanks!

    Hello,
    Thank you for posting to the NI forums! Try calling the ImageToArray function then immediately passing the resultant array back to ArrayToImage. That will determine whether the ArrayToImage function is causing the error, or the array that is passed into it. Can you post a small sample of how you call the ArrayToImage function and the errors that are thrown?
    Thanks,
    Maclean G.
    Applications Engineering
    National Instruments

  • Passing querystring via alias application call

    Hello everyone,
    first of all I'm not quite sure if this is the correct forum for my question so please excuse me if it's the wrong one.
    We're using short urls (alias) to call a application in our portal. For example http://sapportal/alias_test will be transalated to something like http://host:port/irj/portal?NavigationTarget=ROLES://portal_content/content/1/2/3
    So far so good. Now I want to pass a parameter via the alias (http://sapportal/alias_test?param=value). This will be translated into http://host:port/irj/portal?NavigationTarget=ROLES://portal_content/content/1/2/3?param=value. For some reason the parameter cannot be read via request->get_form_field( 'param' ). Calling the application with a parameter directly via the controller works just fine.
    You might need to know that http://host:port/irj/portal?NavigationTarget=ROLES://portal_content/content/1/2/3 is using an iView to execute the BSP application. In the settings for this iView I can define application parameters, however, this won't help since the value I want to pass with the alias is dynamic.
    Any idea how I could solve this issue?
    Please let me know if you need any further information.
    Thank you in advance.

    You're only 50% correct at what you're saying. I managed to find a solution on my own and it's working.
    In the controller I'm using request->get_header_fields to read the referer field. This contains the translated url including the querystring for the alias. Extracting the parameter is rather easy then.
    In other words: It's possible to read parameters for the situation given but it's not as easy as reading parameters passed by a form.
    For your Information: The link is used in an E-Mail where I don't want to have a full url. And even if I would use a full url (the translated url) it wouldn't help since the parameter would still not be passed to the application.
    Anyway. It's solved.

  • FM to pass one variant to another called program from a calling program

    Hi Gurus,
    Please let me know the name of the function module to pass one variant to another called program from a calling program without displaying the selection screen of the called program.

    you can use fm rs_variant_fetch to retrieve the variant info.
    Check the abap help on the statement submit to get info on how to call a program with variables, or a variant
    Kind regards, Rob Dielemans

  • Error while accesing ABAP web dynpro application

    Hi Experts,
    We are getting warning symbol on web page status bar, when we are accessing the ABAP web dynpro application
    only first page of application is getting loaded and when we click on page it is showing error on status bar and we can perform any thing.
    once we double click on warning icon,
    below details are coming:
    Line: 1491
    Char: 3
    Error: Object Expected
    Code: 0
    URL: url of the ABAP web dynpro application
    This scenario is occuring for many ABAP WD application for a client.
    Please guide how to solve this issue?
    Thanks!
    Piyush

    Hi
    First try a very simple application with nothing in it just one text saying Hello World
    Run it and see what happens.
    Also check if your url uses FQDN name. something like https:
    company.name.co:50000\.......
    If you do not use the FQDN it will always show a script error on the bottom and some functions will not work e.g
    dropdowns.
    regards
    Yuval.

  • Is there any possibility to create ABAP Webdyn pro application in SAP 4.6C

    HI All,
    My client is in SAP 4.6C version want's to devlop some SAP ABAP webdyn pro application for their end user requirement.
    Is it possible to do so if yes how ,they are ready to buy the required H/W and S/W component for the same,but they can't upgrade SAP to higher version at this moment.
    As per my understanding WebDynpro for ABAP is dependent on current  R/3 version. For that one should have mySAP ERP 2005 I guess.correct me if i am wrong .
    Need your suggestion ..
    How to achive ABAP webdyn pro application in SAP 4.6C Version.
    Thanks,
    Dev

    Thanks!
    Note 1098009 - Limitations for Web Dynpro ABAP
    Solution
    SAP System Prior to SAP NetWeaver 7.0 (NW2004s)
    Web Dynpro ABAP is not released for official use in systems prior to SAP NetWeaver 7.0 (NW2004s).
    Hope that helps.
    Cheers,
    Chris
    edit - hmm hope I'm not taking a liberty quoting an SAP note ... If any mod's object - please remove quote - but I can't really see the harm in this case!
    Edited by: Chris Paine on Apr 30, 2010 2:12 PM

  • Calling an interface METHOD of another abap web dynpro application

    Hi Experts,
    Can u plz tell how we can Call an interface METHOD of another abap web dynpro application in main WD Component.
    Thanks
    Mahesh

    Hi ,,
       Example ALV interface method calling   GET_MODEL interface method
       View attribute   declaration   :    M_WD_ALV  type      IWCI_SALV_WD_TABLE
         DATA lo_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
          wd_this->M_WD_ALV =   wd_this->wd_cpifc_alv( ).   "ALV is the usage name
         DATA lv_value TYPE ref to cl_salv_wd_config_table.
          lv_value = wd_this->M_WD_ALV->get_model(  ).   " interface method calling in ALV component usage.....
    Regards,
    Devi

  • Call a ABAP Web-Dynpro-application via a BSP-Application

    We have a BSP-Framework, that call several applications among other things other BSP-Applications, ITS-Application and other systems. Now I want to integrate a ABAP Web Dynpro-Application.
    For the moment I can call the ABAP Web Dynpro-Application from our application.
    This application runs in the same session as the Framework (verify in transaction sm04).
    When I want to call another application in the Framework, the session will be killed (no more sessions in sm04). This happens also, when I want to call the ABAP Web Dynpro-Application a second time.
    I guess, that the ABAP-Framework thinks I want to go outside the system (for example www.google.de) and close the session. I found out, that this wouldn't happen, if the application were suspended. But I found no way to tell the application via a url-parameter to suspend.
    Can someone help me?

    Thx for the tip,
    but I can't firea suspend plug. Because I'm in BSP. I understand the docu so, that you have the option to call a other apllication like BSP from a ABAP Web Dynpro.
    I want to call the ABAP Web Dynpro form BSP like this way.
    1. Start BSP-Framework
    2. Call ABAP Web-Dynpro-Application from BSP
    3. Call another Application from BSP without automatically logout by unload ABAP Web Dynpro. (I have a chance to call the ABAP Web Dynpro again via url to suspend before I call the other app.)
    Regards Stefanie

  • Exiting from ABAP Web Dynpro application

    Hi,
    In ESS portal we have one tab Personal info, there I have created one link and integrated my ABAP web dynpro application.
    I want to exit from the application and go back to the Personal info sub area. created one exit button in my application on press of that i need take this action.
    Please guide me with this
    Thanks!
    Piyush

    Piyush,
    I am not sure whether it works or not just get the navigation url of personalinfo subarea and using portal APIs navigate to that url when you click on exit button
    Thanks
    Bala Duvvuri

Maybe you are looking for

  • Canvas and viewer won't display video correctly

    I have just reinstalled and then reinstalled 5.1.4. Picture plays on external video monitor but will not play in either canvas or viewer. RGB is set. Mirror on playback is set. Audio will play. Viewer will play on external monitor. Usually a still wi

  • Converting string into datetime format

    Hi, I have a report within Apex that runs based on a select query. This select query uses a decode statement which retrieves the relevant date for each row. I am using to_char(hd.PLANNED_IMPL_DATE,'DD-MON-YY HH24:MI') in my select query to retrieve t

  • HP Pavilion DV6 Notebook Speaker Volume Too Low

    I have all speaker/audio settings everywhere set at maximum, but the speaker volume I get when I play any kind of audio or video feed from anywhere is way too low. (If I plug external speakers into the headphone jack, the volume is much better.) I've

  • Google Indexing problem

    I really need some help - I created this site in DW: www.napatouristguide.com. I submitted it to google, verified it, added a sitemap, and waited a week so far. It shows that it found 15 urls in the sitemap, and indexed 4. However, the only way you c

  • Can't get smooth streaming

    Hi,   I have installed FMS 3.5 on three different machines with the same less-than-optimum result.  Two of the servers were virtual on VMware ESX3 and the third is on dedicated hardware:  Quad 2.33GHz CPU, 8GB RAM, Gigabit interface, Win 2003 Ent SP2