Changing input parameters at GP-Runtime (Web Dynpro)

Hi,
I'm searching for a solution to change the input paramters for an action (at GP-Runtime) in a web dynpro application.
Is it possible to do something?
I cannot found something in the API, which solves the probelem.
Thanks for your helping hands
Steve

How many variations of the input parameters do you have.  Could you give more details on the use case?  Did you try the GP public API? It is capable of dynamically changing the input parameters. 
Are you using the webdynpro GP-Interface?
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/50d74ada-0c01-0010-07a8-8c118d408e59
If you have a limited number of use cases, then you could create a Block type "Alternatives" and then create a WebDynpro callable object for each permutation of the input parameters.
Regards,
Austin.

Similar Messages

  • BADI for changing Appraisal document application name for Web dynpro ABAP

    Hi,
    For Appraisal document customizing through PHAP_CATALOG_PA, We have BADI HRHAP00_BSP_TMPL  to change the BSP application name which can be used in Web layout for output display. Using this we can change application name from HAP_DOCUMENT to custom BSP application name
    Similarly, what is the BADI for changing Web dynpro ABAP applictaion name? Currently its triggering HAP_MAIN_DOCUMENT.
    how do we change application name to some custom web dynpro application name
    Regards,
    Kothand

    Hi Karim,
    I don't know, if there is any chance to get the Webdynpro application name. At least in the ABAP System fields is no information about the webdynpro application name.
    One remark: I have allways problems with BAPIS / BADIS that behave different depending on the caller. Could it be a good idea to pass some information through the interface / parameters?
    Best regards
    Renald

  • Passing parameters to Transactions from Web dynpro Application through ITS

    Hi,
    i need to call a transaction from Web dynpro through ITS. On action from web dynpro application, i am concatenating the respective parameters mentioned below along with URL. The problem is one parameter(VARIANT) is being passed to the t-code CAT3 correctly. The next mandatory parameter(PERNR) is not passed to the respective field.Here is the URL Code:
    CONCATENATE 'http'
    '://' host ':' port
    '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'CAT3'
    '%20TCATST-VARIANT=' lv_name2 '&CATSFIELDS-PERNR=' lv_name1 INTO url.
    Called T-Code CAT3
    Passing Parameters are:
    Data Profile TCATST-VARIANT
    Pernr: CATSFIELDS-PERNR

    Pradeep,
    iam trying to pass values from webdynpro application to SAP GUI Transaction
    here is the sample code which iam using
    CONCATENATE  'http://s0164dep01.adta.uae:50000/irj/portal/interop?NavigationTarget=pcd:portal_content/Testing/trn_iw33?'
    '%20CAUFVD-AUFNR='
                 'ApplicationParameter=CAUFVD-AUFNR='
                  lv_workorder';'
              'DYNP_OKCODE=SHOW'
             INTO lv_url.
    i could'nt able to succed as its displaying page not found exception.
    Help me on this to proceed further
    Regards
    Jaipal.E

  • How to find a BADI to change the default value of a Web Dynpro Screen?

    Hello Experts!!
    My requirement is as follows-
    The SAP cProjects Distribution Functions screens default the Calculation Base to “Per Day”(This is represented via the initially-selected value in a listbox). The requirement is to make it deafult to the current standard “Per Month” (This also appears in the list box).
    Is there any BADI to achieve this?
    I tried putting a debug point in the Get_Instance method of the class cl_exithandler to find all the BADIs associated with the screen. I got a bunch of BADIs with no luck. And now I am not even able to debug anymore as the debuger is not opening. Can anybody tell me why this is happening? It was working two days before. And yes I have read all the posts about debugging a web dynpro application and I am doing everything that is mentioned there- I have set an external debug point and I have checked the "IP Matching" checkbox against my name in the workbench, but, with no luck
    Any help on this will be greatly appreciated.
    Thanks and Regards,
    Smitha

    You can't do this on a running VI. If you have an idle VI, you can open a reference to that VI and use an invoke node with the Make Current Values Default method, but that will only work in LV (i.e. not in an EXE) and will affect all the controls. What you can do is save the values to a file and load them when the program starts. OpenG's File I/O package includes some VIs which will help you with that.
    Try to take over the world!

  • Change properties of Roles in Abap web dynpro

    Hello Gurus,
    I need to hid or unhide a role based on a condition in my abap web dynpro.
    Can anyone please update me how I can access it from abap web dynpro.
    Is there an API call from abap to set or reset the invisible in navigation area value in portal?
    Regards,
    Dale

    End of days play, this is what I was able to achieve.
    Realised the masthead jsp is the best place to call my abap web dynpro as it is just after the login and at the load of default framework page.
    I was able to call my abap web dynpro and on success, I am calling the homepage role.
    What I have done in the jsp is written an if else statement:
    1) If it is the first call to the jsp call my abap web dynpro in navigation mode 3. This ensures the roles are not visible and the redirection works before the page loads.
    2) Else load the framework page as usual.
    The only issue I have at this point is, I cannot depend on the first visit of the user.
    I need to know in the jsp where the call to jsp is coming from, if it is coming from login page, i will direct the user to WDA else if the call is from my WDA, the normal load should work.
    It would be ideal if my abap web dynpro could write something in the http header which the jsp could read as success. Still close but dont have the solution working yet
    Regards,
    Dale

  • Passing parameters from portal to web dynpro

    Hi,
    I have a scenario in which the portal iviews are on one server and the web dynpro application is on another server,but i need the username details in the dynpro application,How can it be done.Would using webservics be helpful in this scenario?
    Regards,
    Bhavana

    Hi,
    Have look at this thread
    Re: Navigate from Web Dynpro app to portal page
    Regards,
    Saravanan K

  • ABAP Web Dynpro - OfficeControl - Word Integration

    Hi,
    i have a problem concerning the office control of the abap web dynpro.
    I have a textedit box on the view of a web dynpro. Now i want to transfer the data from the textedit box to the word document. I used the "IOS_TEST_WORDPROCESSING" as an example.
    Everything works fine, if there is only one line of text in the textedit box. If i put for example three lines in it, word opens and now i have the choice for a data seperator.
    The word document contains only one field as a "MergeField" like the field of the word document used in the "IOS_TEST_WORDPROCESSING". 
    Could anyone give me a hint how to solve the problem.
    With best regards
    Markus

    I have the same problem. I want to integrate an ABAP Web Dynpro in GP, but there is no way to implement an Interface from GP like it is in JAVA. That means you cannot maintain input , output parameters and give a status back to GP. Seems that in ABAP the WD is not integrated in GP.
    I went to the relevant developement departement an they gave me the following answer.
    In GP you can maintain input parameters for a ABAP Web Dynpro Application manually which will be displayed in the apllication UI URL . Then you need a function module to map the input parameters inside the url to the ABAP Web Dynpro context. Output parameters are not possible in GP with ABAP Web Dynpro. It is also not possible to give back the processing state to GP from your ABAP web Dynpro Application like it is in JAVA. Only the GP framework provides a button to complete this Step manually by the user.
    Regards
    Rainer

  • ABAP Web Dynpro Guided Procedures integration

    Hello,
      does anyone know if there is a way for an ABAP Web Dynpro to expose input and output parameters for use in Guided Procedures?
      Thanks in advance
        Gabor

    I have the same problem. I want to integrate an ABAP Web Dynpro in GP, but there is no way to implement an Interface from GP like it is in JAVA. That means you cannot maintain input , output parameters and give a status back to GP. Seems that in ABAP the WD is not integrated in GP.
    I went to the relevant developement departement an they gave me the following answer.
    In GP you can maintain input parameters for a ABAP Web Dynpro Application manually which will be displayed in the apllication UI URL . Then you need a function module to map the input parameters inside the url to the ABAP Web Dynpro context. Output parameters are not possible in GP with ABAP Web Dynpro. It is also not possible to give back the processing state to GP from your ABAP web Dynpro Application like it is in JAVA. Only the GP framework provides a button to complete this Step manually by the user.
    Regards
    Rainer

  • How to change the Portal Password using a link from Web dynpro application

    Hello Everybody,
    I have a requirement to change the user password from a web dynpro application which is available on a mobile device. Firstly User will log into the portal through a mobile device and after getting authenticated user will be redirected to the mobile application. Within this mobile application there will be a link to change the login password(Portal login). Can somebody tell me how can i change the portal login password from a link available within the mobile application. Looking forward for a suitable reply.
    Thanks to all,
    Regards,
    Saby.

    Hi Maksim,
    Thanks for your reply..but i would also like to know can we directly use the Change Password Iview "persoUserPassword" from the portal. Can i directly Pass the URL of this iview from the portal to a "Change Password" link in the web dynpro application, so that when the user click this link he should be able to see this Iview on his/her mobile device and should be able to change the password from there. But i dont know whether this iview will appear properly on the mobile device or we have to have a custom web dynpro application for this purpose...Please reply with a suitable answer.
    Thanks in advance.
    Regards,
    Sarabjeet Singh.

  • Examples of 'calling a web dynpro application with parameters'

    Hi!!
    I'm I have been watching manual 'Web dynpro for abap: advanced concepts' in the sections 'url parameters' and 'calling a web dynpro application with parameters'.
    Is there some example where these terms are seen.
    Thanks in advance.

    Hi Ana,
    a window inbound plug can have parameters.
    These parameters are automatically fished out of the URL by the framework.
    So your inbound plug handler method has easy access to the parameters.
    URL
    http://<host>:port/sap/bc/webdynpro/sap/<your application>?param1=xyz&param2=abc
    The application is configured to call an inbound interface(window) and plug.
    The plug can be declared with parameters.
    Double click on window inbound plug and add your parameters.
    The parameters are made available by framework if present in Launch URL.
    You can also call an application that has parameters  directly entered on the parameters tab.
    ie Parameters can be part of the application launch.
    regards
    Phil

  • How to change parameter ALLOW_BROWSER in web-dynpro ?

    hi,
    i have a request where i have to change the property ALLOW_BROWSER in a web-dynpro from NO to YES.
    when i get in portal content administration this property is NOT changeable. the value NO is 'undergreyed' as well
    as the property CachingLevel

    Hi
    have a look on this thread
    1. Problem with getting table element's table row
    2.How to select the entire row by selecting the checkbox in a table
    BR
    Satish

  • NetWeaver, Web Dynpro, WebAS, J2EE enigine, BSP : putting it all  together

    Hello Friends,
    I am new to the developing environment of Web Dynpro. I just need a confirmation on my understanding. Please go through the following abstract and reply with a yes or changes if you dont agree.
    Web dynpro is a component of SAP NetWeaver, which also offers many other components such as XI, MI, MDM and BI. All put together NetWeaver provides people, business as well as information intergration. Web Dynpro in itself offers an easy way to develop highly interactive web pages through the MVC architecture. The coding or the meta data is in Java and hence a JDK needs to be installed on the local machine for its compilation. For running it needs to be deployed on the J2EE engine on the Web Application server. The project object gets a URL and accessing this URL displays the web application developed.
    Am I correct, till here ? If yes, then BSP initially used for making such web applications holds portability issues unlike Web Dynpro which can be used to develop applications in Java or ABAP, hence the reason why BSP is running off the road and Web DynPro is getting into the picture.
    Thanx for yor patience.
    Shiv Skanda Kasthala

    Hi Shiv,
    first of all, welcome at SDN.
    > I am new to the developing environment of Web Dynpro.
    No problem, each one of us has been a newbie at the beginning.
    > I just need a confirmation on my understanding.
    > Please go through the following abstract and reply
    > with a yes or changes if you dont agree.
    > Web dynpro is a component of SAP NetWeaver,
    No, Web Dynpro is basically a programming model and SAP's strategic approach for developing highly interactive business applications (it's not really or only a web framework, even if it's used mostly in conjunction with Web browser clients). The Web Dynpro runtime is part of the Web Application Server (until NetWeaver '05 available for Java only, followed by the ABAP runtime). So Web Dynpro is an integrated part of the application platform of SAP NetWeaver, but not a standalone component.
    > which also offers many other components such as XI, MI, MDM
    > and BI. All put together NetWeaver provides people,
    > business as well as information intergration.
    Ok so far.
    > Web Dynpro in itself offers an easy way to develop highly
    > interactive web pages through the MVC architecture.
    > The coding or the meta data is in Java and hence a
    > JDK needs to be installed on the local machine for
    > its compilation.
    The metadata is independant from possible target runtimes. At the moment, the metadata is used to generate Java classes only, but this is not mandatory. In case of the Web application server for Java, you need a JDK to run the server itself and as a logical consequence each kind of application hosted by the server (including Web Dynpro apps).
    > For running it needs to be deployed
    > on the J2EE engine on the Web Application server. The
    > project object gets a URL and accessing this URL
    > displays the web application developed.
    Nearly correct. In fact, each Web Dynpro application is represented by an URL. A Web Dynpro project can contain multiple applications, so there might be multiple URLs for different applications contained in a single WD project.
    >
    > Am I correct, till here ? If yes, then BSP initially
    > used for making such web applications holds
    > portability issues unlike Web Dynpro which can be
    > used to develop applications in Java or ABAP, hence
    > the reason why BSP is running off the road and Web
    > DynPro is getting into the picture.
    Roughly spoken, BSPs are for the ABAP "world" what JSPs are for the Java world. You'll always need an ABAP environment to run BSPs as you'll always need a Java runtime to run JSPs. Portability is limited in both cases to the corresponding basic runtime environment. But, as already stated, this is not really the case for Web Dynpro, since it abstracts the information needed to build the UIs in a manner which is generally independant from the target runtime environment.
    >
    > Thanx for yor patience.
    You are welcome.
    Hope that helps.
    Regards
    Stefan

  • Problem when generating an non-interactive form in Web Dynpro java.

    Hi,
    I'm trying to create a PDFDocument using a creation context in java. Everything works fine when the Interactive property of the creation context is set to true. When I change it to false however, the Web dynpro application hangs and eventually throws the following exception:
    java.net.SocketTimeoutException: Read timed out
       at java.net.SocketInputStream.socketRead0(Native Method)
       at java.net.SocketInputStream.read(SocketInputStream.java:129)
       at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
       at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
       at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:806)
    I'm wondering why this exception occurs when i'm generating a non interactive form and never appears when i'm generating a form with the Interactive property set to true.
    Any ideas?
    Edited by: Arjan Nieuwenhuizen on Feb 25, 2008 3:24 PM

    Yeah I know changing the form properties will solve my problem, but since i'm developing a training for Interactive Forms in Web Dynpro Java, I wanted to figure out why the (static / non-interactive) combination didn't work, turned out to be a template problem, which i still didn't figure out, except the fact that having flowed content on your template is not the problem.
    My ideas about your question:
    When we have the layout of an Interactive Form, its clear if it's meant to be static or dynamic, we don't know however, if it's interactive or non-interactive.
    I don't think we can judge a layout to have an Interactive or non-interactive purpose, can depend on the situation in which the same form is shown/used:
    - One moment it can be interactive, e.g. user is filling in the form, can enter data etc.
    - Next moment it can be non-interactive, e.g. form is shown to another user.
    So it's more the scenario/situation that determines if the form is interactive or non-interactive.

  • UWL - Records not getting into LeaveRequestApproval web dynpro screen

    Hi,
    We are on EP7 sp9 and ECC 6.0. We are working with UWL. In UWL, we downloaded the standard XML file and done changes for removing the other tabs except the 'Tasks' tab and also placed the refresh button on main screen. It looks fine. Now, the problem is the web dynpro screen is not pulling data from backend. Previously, when we click on 'LeaveRequestApproval' work item, we use to get ITS screen. at backend we did changes in SWFVISU transaction to get web dynpro popup screen when user clicks on 'LeaveRequestApproval' work item. We could able to get the popup web dynpro screen, but it is not pulling any records from backend.
    Now, let us know where we are doing mistake? do we need any more configuration at backend? If so, let us know the work around for it.
    Thanks in advance.
    Kind regards,
    Raj.

    Hi,
    But are you able to see the labels, buttons etc ? Or is it that the entire page itself is not visible ?
    Please check the log file and see what is the error you get there ? Or probably check on the backend side if there is a dump.
    You can also check with the debugger on the backend side...see what exactly happens on the backend when the page is getting loaded.
    Cheers,
    Sunil
    PS: Reward points for helpful answers.

  • Portal web dynpro form link as email .

    Dear All
    The requirement goes like this:
    We are developing a form in web dynpro and integerating into portal as an iview.
    Whenever the user submits a new form we should send a link of the form in portal to the user as email (with some parameters like form id for the webdynpro to open the correct form)
    How can build this link to the portal form dynamically and send it?
    As this web dynpro application will be accessed form different portal .I do not prefer hardcoding the host or url etc.
    Any help will be greatly appreciated.
    PS : Portal and web bynpro are on different system..

    I think this should be possible by passing the parameters via URL. You will have a URL created for your webdynpro application. Now add the URL parameters as name-value pairs separated by "&". Send this URL as the email. For example the URL might look like
    http://<Static URL to the webdynpro application>&FORMID=1234
    Insert the appropriate code in your webdynpro application to read the parameters values from URL. I am not giving the code here as i am not sure if it is WDJ or WDA application but in either case u have separate classes which reads the URL parameters.
    As this web dynpro application will be accessed form different portal .I do not prefer hardcoding the host or url etc.
    Can you please clarify more on this. Irrespective of your application (WDA or WDJ) i believe there shud be a static URL to access your webdynpro application (atleast a blank application without data).
    Thanks,
    Prasath N

Maybe you are looking for

  • Siemens TC 65 - Problem with Debbuging

    Hello! I�m new here in that forum a newbie at Java ME and my english could be better. So don�t punish me for some mistakes! ;-) Back to the point: Hopefully you can help me with my current problem. First of all, i try to use the Siemens Terminal TC65

  • ALTER ASSEMBLY and Continuous Integration

    I have a small assembly of scalar SQL functions built in .NET that I've manually integrated to SQL Server with CREATE ASSEMBLY and then CREATE FUNCTION.  However, as part of my continuous integration and deploy process, I'd like to update the assembl

  • Web pages do not open in history/bookmarks

    Web pages do not open in history/bookmarks,  I only see the Safari symbol.  Logging out of my imac account and logging back in sorts it out for a short time, but the problem comes back with only a blank page and the symbol showing only. I use to be a

  • Performing a Query on an Oracle DB from an iPhone

    I'm looking to essentially have a connection with an existing Oracle DB that is housing some information that I would like to retrieve when a user puts in a query from an iPhone. I read sometime back that this would be doable in SDK 3.0. Anyone have

  • ITunes Music License

    Hi, does anyone know if film trailer music, and underscore type music, purchased on iTunes can be used commercially or for videos that are shown online? I'm not talking about music from existing film soundtracks, but there is some music on iTunes tha