Webdynpro application execution

Hi All,
Is it possible to achieve below scenario?
I have created custom web-dynpro application to update cats. Application is accessible by the employees through PORTAL but employees are not having enough authorizations to update cats and client is not ready to provide any CATS related authorizations. How I can update CATS?
Is there any possibility to use SWITCH user functionality while update cats from portal?

Hi...
you dont need to give complete CATS authorization You have to find corresponding authroization object to users.
Try updating without authorization, then you will get the error, so to find out the exact authorization object
then go to system menu>>>>utilities>>>display authorization check
there u can see the corresponding authorization objects, now add those object to role.
I dont think you have an alternative way.
Regards
Srinivas
Edited by: sanasrinivas on Feb 16, 2012 10:27 AM

Similar Messages

  • Storing the output of BAPI for further use in Webdynpro application

    Hi,
    In my webdynpro application, a BAPI_A is called multiple times from a backend.
    All the previous outputs of the BAPI_A need to be stored in the webdynpro application as they serve as a complete set of input parameters for BAPI_B at the end.
    Can anybody shed light on this temporary storage mechanism of the outputs of the BAPI_A.
    Regards
    Meesum

    Hi Meesum,
    Your BAPI structure
    BAPI_A
    --Output (0..n)
    Field1
    Field2
    Field3
    Field4
    Value node structure
    vnBAPI_A (0..n)
    --vnResult (0..n)
    vaField1
    vaField2
    vaField3
    vaField4
    1. Declare objVnBAPI_A (between begin and end)
    2. Initialize in the vnBAPI_A in the wdDoInit()
    3. After each execution of the BAPI (BAPI_A), create the vnResult and populate the fields of vnResult (from the BAPI_A --> output)
    4. Add the vnResult object to objVnBAPI_A
    Hope this should help you.
    Regards,
    Santhosh.C

  • Cannot access WebDynpro application:com.sap.tc.webdynpro.services.exception

    Hello gurus!!
      I am trying to access the "Emergency address" from the LWE and I am getting this error "Cannot access Web Dynpro application: com.sap.tc.webdynpro.services.exceptions.WDException$DummyLocalizableTextFormatter@76829226". Could anybody please suggest what could be wrong with this action "Emergency Address"?
    Thanks much for your help with this,
    Maria Kutty Somori....

    Hi Yugandhar/Siddharth,
       Emergency address is the standard callable object for Execution that is part of the Standard Life and Work events. I have customized to reorganize the actions depending on our requirements and i have created a different folder structure and different order of execution of callable objects.
    How do I fix this "cannot access Webdynpro application" error? Please suggest.
    Thank you so much,
    Maria Kutty Somori.....

  • How to use WebDynpro Applications in Guided Procedure?

    Hello,
    i want to use a WebDynpro    application as a part of a guided procedure. Therefor i developed a simple WebDynpro    application as described in the NetWeaver    Developer Studio Help. The Application consists of only two views. The first view is to enter data, the second displays them. So far so good....
    In the next step i wanted to integrate this application as a CallableObject for execution in my guided procedures process. The wizard asks in step 2 for the "Development component" and WebDynpro    Application. But where do it get this information? Indifferently what path i enter, it only returns an error the the object is not available on the server.
    EDIT: The path to the webdynpro application is something like this: http://host:port/webdynpro/dispatcher/local/WebDynproUITest/UITest
    kind regards,
    Matthias

    Hello Dipankar,
    thx for the blog! This really helped a lot!
    The problem is, that you cant test the WebDynpro as a stand-alone application. What would be the best way to develop a WebDynpro Application for GP?
    Is there a way to start with a 'normal' WebDynpro Application and convert this when finished in a "guided procedure ready WebDynpro for CE Application"?
    I think i will contact you next week with more questions, for now on its weekend
    regards,
    Matthias

  • Error in WebDynpro Application in accessing "MIME Repository"

    Hi All,
    I am writing a XML file to Mime Repository from WebDynpro Application.
    To do this, I developed the below code:
      DATA mime_repository TYPE REF TO if_mr_api.
      DATA url TYPE string VALUE
    '/SAP/BC/WebDynpro/SAP/PUBLIC/BC/SSR/uuielibs/example.xml'.
      mime_repository = cl_mime_repository_api=>get_api( ).
      CALL METHOD mime_repository->put
        EXPORTING
          i_url                     = url
          i_content                 = content
          i_suppress_package_dialog = 'X'.
    In execution process,I am getting an error,
    "Screen output without connection to user" and "DYNPRO_SEND_IN_BACKGROUND"
    In calling the method IF_MR_API~PUT, I have passed "X" to I_SUPPRESS_PACKAGE_DIALOG to avoid Transport Request screen.
    Can you please suugest how can I overcoem this issue.

    Leha,
    Is this RFC expecting any mandatory parameters ? if that is the case make sure that you are sending the expected type mandatory parameter.  (you can print a message on the screen and verify this)
    If you are sure that you are sending the correct details to execute RFC, Please turn on the debiug session for the portal user in the backend and see whether the values are passing from the portal or not.
    How to switch on Debug mode in the backend for the specific user:
    Requirements:
    1. Make sure the user id existed in Portal and SAP Backend.
    2. Setup the debug mode for the user in the backend
    3. Run the application from the portal
    4. While executing the application from the portal , The backend stops the execution to debug, so from here you have to execute the FM step by step and verify whether you are getting the values from the portal or not.
    Steps to switch on Debug mode in the backend:
    Logon to ECC System>> To access the function module use SE37 tcode from the SAP Easy access menu>>Enter the Function Module name and click on Display>>From the SAP Menu click on Utilities>>Settings >>Debugging >>Enter the user ID to switch on the debug mode and Enter.
    Now the user ID is switched on for Debug. Go to the Function module Source Code>> palce the cursor at the start of the soruce code>>From the Menu go to Utilities>>BreakPoint>>Set?Delete Break Point
    This will set the break point for the mentioned user id and now you can veryfy the values on the backend.
    Once you complete the debug process please turnoff the debug mode.
    Thanks
    Krishna

  • Error in webdynpro application using RFC's

    Hii,
    I have a webdynpro application where i use RFC to add a new customer to the database.I have used datacust and Uicust to do the corresponding coding.While running the application, values are not getting added from the front-end...giving an error "Error in adding customer".While i execute the RFC at R3 and enter new customer values,values are getting saved successfully.
    I am not getting to solve the problem.Please do help out.
    Thanks,
    Parama.

    Leha,
    Is this RFC expecting any mandatory parameters ? if that is the case make sure that you are sending the expected type mandatory parameter.  (you can print a message on the screen and verify this)
    If you are sure that you are sending the correct details to execute RFC, Please turn on the debiug session for the portal user in the backend and see whether the values are passing from the portal or not.
    How to switch on Debug mode in the backend for the specific user:
    Requirements:
    1. Make sure the user id existed in Portal and SAP Backend.
    2. Setup the debug mode for the user in the backend
    3. Run the application from the portal
    4. While executing the application from the portal , The backend stops the execution to debug, so from here you have to execute the FM step by step and verify whether you are getting the values from the portal or not.
    Steps to switch on Debug mode in the backend:
    Logon to ECC System>> To access the function module use SE37 tcode from the SAP Easy access menu>>Enter the Function Module name and click on Display>>From the SAP Menu click on Utilities>>Settings >>Debugging >>Enter the user ID to switch on the debug mode and Enter.
    Now the user ID is switched on for Debug. Go to the Function module Source Code>> palce the cursor at the start of the soruce code>>From the Menu go to Utilities>>BreakPoint>>Set?Delete Break Point
    This will set the break point for the mentioned user id and now you can veryfy the values on the backend.
    Once you complete the debug process please turnoff the debug mode.
    Thanks
    Krishna

  • Callable Object for Webdynpro Application

    Hello,
    I have  a Webdynpro for Java Application where I am importing a model from R/3 and displaying certain records......and want to include it in GP Framework....so which is the Callable Object I should use.....i tried using Webdynpro application type but it gives me the error at runtime while execution as :
    Application error occurred during request processing.
      Details:   com.sap.tc.webdynpro.services.sal.core.DispatcherException: Failed to start deployable object sap.com/home~<webdynpro component name>
    Any help would be highly appreciated.
    Regards,
    Anil

    Hi Anil,
               I am also facing a similar problem . Can you please guide how to solve it.
    Thanks and Regards,
    Anurag

  • Webdynpro Application hangs on executing query

    I am  having strange issue with Webdynpro application running JDBC code. Webdynpro application hangs intermittently when it tries to run the below jdbc code .
    This code is written on custom controller. We are using the SAPSR3DB datasource.  Do anybody  have any idea why this is happening . Thanks in advance
    wdThis.wdGetAPI().getComponent().getMessageManager();
                                    try {
                                                    Connection conn;
                                                    InitialContext ctx = new InitialContext();
                                                    DataSource dataSource = (DataSource) ctx.lookup(readPropertyFile());
                                                    conn = dataSource.getConnection();
                                                    PreparedStatement stmt =
                                    conn.prepareStatement(
                                                                                    "insert into ZAE_PROD_GRtable(AUFNR,EXIDV_P,EXIDV_C,MATNR,WERKS,CHARG,VEMNG,VEMEH,CWMVEMNG,CWMVEMEH,STATUS,INDC) values(?,?,?,?,?,?,?,?,?,?,?,?)");
                                                    stmt.setString(1, wdContext.currentContextElement().getAUFNR());
                                                    stmt.setString(2, wdContext.currentHUDataElement().getEXIDVP());
                                                    stmt.setString(3, wdContext.currentHUDataElement().getEXIDVC());
                                                    stmt.setString(4, wdContext.currentOrderDataElement().getMATNR());
                                                    stmt.setString(5, wdContext.currentOrderDataElement().getWERKS());
                                                    stmt.setString(6, wdContext.currentOrderDataElement().getBATCH());
                                                    stmt.setString(7, wdContext.currentHUDataElement().getVEMNGP());
                                                    stmt.setString(8, wdContext.currentHUDataElement().getVEMEHP());
                                                    stmt.setString(9, wdContext.currentHUDataElement().getVEMNGC());
                                                    stmt.setString(10, wdContext.currentHUDataElement().getVEMEHC());
                                                    stmt.setString(11, "1");
                                                    stmt.setString(12, wdContext.currentContextElement().getHuIndicator));
                                                    stmt.executeUpdate();
                                                    stmt.close();
                                                    conn.close();
                                    } catch (SQLException ex) {
                                                    msgMgr.reportException(ex.getLocalizedMessage() +";SQL State - " + ex.getSQLState(), true);
                                    } catch (Exception ex) {
                                                    msgMgr.reportException(ex.getLocalizedMessage(), true);
    finally {
                   try {
                        conn.close();
                   } catch (Exception e) {
                        msgMgr.reportException(e.getLocalizedMessage(),true);

    Hello,
    There can be any issue, i dont see any compile time issue with your code, but you may wana do a simplistic query first.
    First of all, the statement and conection close, do it in the finally block, untill unless you are reusing it.
    other than this.
    First, after connection, see if you are getting the connection or not.
    conn = dataSource.getConnection();
    //print the connection and check if the connection is fine.
    comment remaining stuff in the loop.
    In the second shot, run a simple query like select count(*) from TABLE ;
    to see if the connection and execution is fine. this will make sure
    Also, before you set the values into the statement using setString, print the values to check for correctness and not null.
    btw, i found an extra ")" in your setString(12,.....) ;
    stmt.setString(12, wdContext.currentContextElement().getHuIndicator));
    What are you trying to close in your finally block when you have already closed the connection in the try.
    try{
              stmt.close();
              conn.close();
         } catch (SQLException ex) {
              msgMgr.reportException(
                   ex.getLocalizedMessage() + ";SQL State - " + ex.getSQLState(),
                   true);
         } catch (Exception ex) {
              msgMgr.reportException(ex.getLocalizedMessage(), true);
         finally {
              try {
                   conn.close();
              } catch (Exception e) {
                   msgMgr.reportException(e.getLocalizedMessage(), true);
    Remove it from try.
    Regards,
    Nitin
    Edited by: Nitin Mahajan on Jun 16, 2009 6:20 PM
    Edited by: Nitin Mahajan on Jun 16, 2009 6:21 PM
    Edited by: Nitin Mahajan on Jun 16, 2009 6:22 PM

  • Webdynpro Application in Portal?

    Hi Experts..
    I am using my webdynpro application in portal. The probelm is When i am trying to execute my WD application in portal it takes more time to execute. May i knw the reason. Help me to find out the solution for this..
    GS

    Hi,
    Check the init and the wdModify of your wd app.
    Is their any database connection or else a rfc execution done in the init???
    Regards
    Ayyapparaj

  • Reg:call  webdynpro application in another webdynpro application

    Dear All,
         I created a Webdynpro component which on execution displays the Table output.I got a requirement to call the same Webdynpro
    component in another webdynpro component which contains a BUTTON UI element on click of it i should call the first webdynpro application output.
    How can it be done?

    you can check my wiki in SDN, link for the same is given below:
    https://wiki.sdn.sap.com/wiki/display/WDABAP/Example%20for%20passing%20values%20from%20one%20Application%20to%20another%20Application%20in%20WebDynpro%20ABAP.
    With luck,
    Pritam.

  • Webdynpro Application slowness

    Hi everyone,
    I am working in Netweaver 7.0
    I have a webdynpro application which uses ARFC in order to execute a BAPI model object connected to the Action handler of a button.
    The response, after the button is clicked for the firsttime , is taking a long time.
    But once the response has been shown, the subsequent execution of the model object takes very less time.
    Why is this difference?
    Is there anything we can do to improve this ?
    Share your ideas,
    Thank you

    Hi,
    The following comments I will make is based on my experience.
    As per your hyperlink, you would be right. Having "many" FM's per "Model" would be "best practice", but I think this takes into consideration only connection pooling.
    In the real-world, this leads to inflated Models, barely re-usable, very 'costly' in Development Time, Build Time and Deployment Time. A fine tuning of JCO Connections is usually better than follow that (again, this is my opinion as a software developer).
    Another thing you should be aware of is how the underlying layer works (JCO). If the Model has never been used (Not Cached!) it will take expensive time to build the metadata and modeldata into the destinations. As a 'work-around', (I've never did this, I'm not even sure if this would work) is to create a J2EE Application and 'read' the whole thing at server startup.
    Also, be sure to be "caching" both destinations, this is a good 'performance' improvement.
    Hope this information helps somehow,
    Daniel

  • To get login details of portal into webdynpro application

    Hi All,
             How to get the portal login details(user name) into my webdynpro application.
    Thank you,
    Harsha P.

    Hi,
    If you want to have portal login details from backend system (with ABAP) you should ask this question in some portal forum and ask if it is possible. This has nothing to do with workflow or UWL. Even if you get the portal user ID to the backend system, then what? Do you want to manipulate the portal roles etc. from your ABAP WD application? Then you will have even more complicated requirements to achieve with ABAP. It is not that straightforward to call different portal functionalities from backend system. You might need to do some "portal development". And eventually your ABAP WD application might come just an unnecessary wrapper component for calling some web services or whatever in portal.
    Regards,
    Karri

  • Needs a background webdynpro application running at the server side

    Hi All,
    We have a requirement wherein we need to have an application running all the time at the server side to capture the response coming from a web application. Based on the response that the application receives, it needs to update some backend R/3 tables.
    We are thinking of a webdynpro java application.
    Can anyone suggest what kind of application needs to be implemented here?
    And what  would be the steps required to run the application at the server side without calling the application.
    Thanks & Regards,
    Anurag

    Hi Robin,
    Thanks for the detailed explaination.
    This may sound silly to you but I've another doubt which is as follows:
    As you mentioned that the external web application will be sending requests to our Web service(in SOAP envelopes) and rest of the functionality can be  achieved by our web service.
    Actually, we are expecting only responses from the external web application. The thing is that we are sending the requests to the external web applications from our custom webdynpro application and in return the web application will be sending us 2 responses.
    First response would be back to our WD java application URL(to the browser in which WD java app is running) which would get the response and display some message based on the response.
    Second would be to this web service which you have just suggested. We are having two responses so that even if the browser in which the WD java application is running gets accidentally closed, the response from the external web application must get captured somewhere else and should not get lost in any case.
    So, now since we are only expecting the response from the web application and we do not want any requests from the web application to our web service; how is this possible?
    I am asking the above question because you have mentioned that the external web application has to request our Web service but we want is only this web service to capture the response coming from the Web application.
    Or is it like the web application will send us the response string as request string to our Web Service and the web service will capture these response parameters as request parameters from the web application and do the further processing.
    But in that case, we do not want any response to be sent by the Web Service to the external web application.
    Please suggest if this is possible.
    Once again, many thanks for the help so far.
    Thanks & Regards,
    Anurag

  • SSO b/w portal and webdynpro application customized login??

    Hi,
    I  have one webdynpro application which has a login screen (Created as Webdynpro view). If user enters user/passord, the same gets checked from a custom table in the db (Method for checking user credtentials has been written in view controller). if user credentials are correct it performs some actions defined in webdynpro application.
    I want to configure SSO b/w portal and this webdynpro application sothat when user logon to the portal and open this webdypro application, Login page of webdynpro application should not be shown i.e user credentials should be passed from portal and corresponding authentication method in webdynpro should be called to authenticate the user.
    How to do the same without touching webdypro application ?
    Can we call a method of webdynpro application from portal?
    Regards
    Deepak

    1) To enable ticket authentication for the web dynpro iviews, you must maintain the definition of the system running the Web Dynpro application and set logon method to "SAPLOG"
    2)Since you have customized login screen, you need to bypass this screen manually when you login from portal.
    Add parameter to the application while defining the iview.Give some constant value.
    Check value of this parameter in webdynpro and fire to next view.

  • How To Get GP Process Parameters in a Webdynpro Application runtime

    Hi ,
    Iu2019 ll hope you can help me to solve my problem with GP process.
    Iu2019 m trying to get GP process parameters from a Webdynpro application.
    I have to get parameters during the process runtime in every step of the process using
    a webdynpro application with the following code:
          IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
          try {
                IGPProcessInstance processInst = rtm.getProcessInstance(processId,userContext);
                IGPProcessInstanceInfo procInfo = rtm.getProcessInstanceInformation(processInst.getID(),
    userContext.getSAPUser());
                IGPStructureInfo inputstructInfo = processInst.getTemplate().getInputParameters();
                IGPStructure inputparams = GPStructureFactory.getStructure(inputstructInfo);
          } catch (GPEngineException e) {
                // TODO Auto-generated catch block
    //          e.printStackTrace();
                manager.reportException("GPEngineException:"+getStackTrace(e), false);
          } catch (GPInvocationException e) {
                // TODO Auto-generated catch block
    //          e.printStackTrace();
                manager.reportException("GPInvocationException:"+getStackTrace(e), false);
    But printing the values of attributes with u201Cinputparams.getAttributeAs... ("param name")u201C the value returned is always 0. On the contrary if I check the same parameters structure in the runtime
    GP view of the portal, the values are those that I have set in the start process wizard.
    Have you a solution for this question?
    Thanks in advance
    Luca

    hi Abhimanyu
    I believe originally access to session was deliberately not made available inside WDA.
    Growing security concerns due to misuse of session information and
    perhaps other reasons as well.
    X.509  is considered a better approach.
    This may not help you in your problem.
    But you may see a trend in WDA pushing more robust and client independent
    approaches.
    Full x.509 access should remove the need for session fiddling.
    Also when developers access such session info directly, there is a possiblity
    when they dont understand the technology exactly that they create a security hole.
    You may know how to do safely, it is however discouraged.
    Im not aware of a way to get at the session info inside the WDA framework.
    Well not without a mod to the framework.
    It may be possible without a mod, but I dont know the trick.
    If someone has a little trick... please post.
    You may need to use BSP, if your only solution requires access to the session info.
    regards
    Phil

Maybe you are looking for

  • How do I print a spread with multiple page sizes?

    Hello fellow designers!!!! I'm trying to make a production dummy by printing double sided. My document has an extra fold on the outer edge (see attached image). I want to print 'D11-D12' as one spread with the reverse side as 'D13-12', so that I can

  • Java objects to Flex

    Hopefully this is the right forum, if not pleas accept my apologies. We need to return dollars and percent type numbers from java back to Flex using the BlazeDS interface. When I create a Java test object to return that looks like: public class Test2

  • IMac late 2013 + Mavericks + USB Sennheiser - input freeze

    Hi Since Mavericks i have a problem with my USB Sennheiser Headset. When i connect it directly to the iMac, every time i start FaceTime or mumble, after 30 seconds? 1 Minute? the microphone get very noisy/scratchy. After i attached an old USB 2.0 Hub

  • Obtaining patchset 9.0.1.4 for bug 2144889

    I need to get this patchset, have been all over the oracle website looking for it can anybody help. Thanks John

  • SGV element does not show up when html uploaded

    SGV  image referred to in http://motorimageworks.com/gav/index.html  wont display when all Edge generated files are uploaded to server - yet it works fine when all the Edge  files are viewed on the local hard drive. The code was generated with Edge