RFC/BAPI Call (ABAP Web Dynpro)- DYNPRO_SEND_IN_BACKGROUND

Hi all,
I'm developing an ABAP Web Dynpro application which utilise a RFC enabled function module. When I tried to execute the function module through the browser it terminated with an abap dump. I checked ST22 and found the following dump: 'DYNPRO_SEND_IN_BACKGROUND'. However when I tried executing it using SE37, the function module works fine.
Any ideas?
Ricky

Hello Ricky,
to my guts feeling that should be fine, but I have never used call dialog in such a scenario. If I were in your shoes I would try to break down the problem:
- Is it of general nature?
- Is it specific to this dialog?
To distinquish that I would write the most basic dialog and use it the same way as the target one. If this fails too, using FuBa´s with call dialog seems to be not possible => try to avoid that situation. If the test succeeds, well the hunt for the needle in the haystack is open.
Good Luck
  Klaus

Similar Messages

  • Call Transaction (BAPI) in ABAP Web Dynpro

    I'm developing a ABAP WD application which make use of a RFC BAPI. The BAPI will then use call transaction to perform certain operation on R3. 
    <b>CALL TRANSACTION 'IQS12' USING bdcdata MODE 'P'
      MESSAGES INTO itab.</b>
    It works fine when I tested it using TCode SE37. When the call transaction fails all error message is trapped inside the internal table.
    However when I run it using ABAP WD, it does not return the internal table but an error page on the portal. The error message was displayed on the portal page. I would like to handle the error message by my own. Is there any way doing this?
    Appreciate if anyone can sort this out for me. Thanks in advance.
    Ricky

    Hi,
    It's okie now. I have found out that this is a known issue and there's a SAP notes (935725) for that.
    According to the notes, call transaction with message type E will fail if the BAPI is executed through http.
    Thanks for replying. Appreciate that.
    Ricky

  • 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

  • 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

  • How to call an web dynpro abap application with an particular theme

    Dear friends,
    i have created one web dynpro abap application. i created one theme XYZ in portal with required font size. when i applied this theme on portal all web dynpro application use this theme.
    i want to use current theme for one application not for all.
    is it poosible to call an web dynpro abap appl with the particular theme where as others should not be temper with this theme.
    please guide me by some useful steps.
    regards
    sunil

    Sunil,
    Check if this helps.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7015b1f9-535c-2910-c8b7-e681fe75aaf8?QuickLink=index&overridelayout=true
    Cheers!
    Sandeep Tudumu

  • Consume WebService in ABAP Web Dynpro

    Hi, Is there any How To or step by step document which shows to consume web service in ABAP Web Dynpro.
    I've searched a lot but could not find any.
    Please provide me some pointer/examples.
    Thanks,
    CD

    Hi Thomas,
    I am facing a problem in consuming web service in webdynpro.
    I created a web service for standard FM BAPI_BUS1240_CREATE (it is available in SAP ECC server).
    I want to consume this web service in another system (SAP Portal system, where users will be providing input; this FM is not available here).
    I created a Proxy class in SAP Portal system through the WSDL document of the Web service.
    I configured logical port for the same in TCode: SOAMANAGER and successfully tested the Client proxy (through TCode: SE80). As a result, the record is created in SAP ECC server.
    Now, I am unable to do the same through Webdynpro. Please find the attached Proxy class screen-shot. It has 6 methods of which BUS1240_CREATE contains the relevant parameters of the actual BAPI FM.
    I filled up the same parameters that I used in Testing the Client proxy but unable to create record in SAP ECC system. My code (On_submit of a button) looks like below,
    TRY.
          CREATE OBJECT wd_assist
            EXPORTING
              logical_port_name = 'ZXXXXXXX'.          "Logical port configured through SOAMANGER
            CATCH cx_ai_system_fault.
      ENDTRY.
          CALL METHOD wd_assist->bus1240create                  "Method filled with input parameters given by user
            EXPORTING
              input  = ls_inp
            IMPORTING
              output = ls_outp.
    After execution of method BUS1240_CREATE, system throws the error as below,
    The following error text was processed in the system DEP : Error (id=SoapFaultCode:5 ): Web service processing error; more details in the web service error log on provider side (UTC timestamp 20141011062545; Transaction ID 5B0F51E4AD4EF13EA6B9E41F137BE3CC)
    Please tell me where I went wrong. Do I need to call methods of the Proxy class? Also suggest if any configuration change involved in this.
    Have a nice day, thanks.

  • Is abap web dynpro is a netweaver product?

    Dear experts,
    is abap web dynro is a netweaver product? ..i wonder why is it categorized under application server in sdn forums can anyone explian..
    in addition to abap i am willing to learn abap web dynpro.how would be the prospectes of abap web dynpro in the us market ...or do u suggest any other hot topic to learn?..please feel free to comment on my idea and kindly suggest me a better option if my idea is not ideal....
    i am not into java till now so i am not willing to learn java web dynpro..
    please suggest a better option so that i can use my abap skills to the fullest..
    thanks in advance.

    Hi Ramu,
      Yes, ABAP Web dynpro is a Netweaver product. It cums with mySAP suite.
    This is the hot technology in the market and if you are not a JAVA guy then you must go with ABAP Web dynpro.
    Basically with the help of ABAP Web dynpro we develope custom products for the client. this is UI based technology and one of best option for "ABAPers" .
    For Web dynpro ABAP you will require SAP ECC 6.0 onwards and WAS 7.0
    is a must. It has very good future propspects as this is best UI technology.
    In web dynpro ABAP we follow MVC(Model View Controller) architecture.
    In this object oriented ABAP is used to provide background functionality. Here, your ABAP skills can be utilized to the fullest. Programming in web dynpro ABAP is different than conventional ABAP programming. Here we strictly follow MVC architecture in terms of controller interface. Also there are many wizards available so that we can directly pick the code from wizards.
    e.g We can call BAPI through a service call in web dynpro application. Thus automatically backgroud code for BAPI execution will be generated.
    To start with Web dynpro ABAP you can try following tutorial:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
    You can start with tutorials and all. There are around six tutorials in SDN library.
    Web Dynpro for ABAP
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
    best tutorials in wbdynpro for ABAP to start with :
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]
    Have a look at the following SDN WDA Wiki . There you can find all relevant information.
    https://wiki.sdn.sap.com/wiki/display/WDABAP/Main
    Also you can search weblogs on web dynpro ABAP.
    Hope this will help you.
    Cheers,
    Darshna.

  • Workflow to abap web dynpro

    Hi All,
    I want to call the ABAP Web Dynpro Screen from a step of a SAP Workflow.
    Please help.
    Rgds,
    Avijit

    Hi,
      IF you configure in "SWFVISU" then communication would be enable from "SAP R/3 to Portal" for that particular task.
    There should some configuration/Registration done from portal side by specifying the Webdynpro Application name for workitem to open the application in UWL.
    Now by following your method i think your ZFM has to be RFC inorder to get called from Portal.
    Better way would be Configuring in "SWFVISU".
    Kindly let me know if you to know the procedure to configure task number of the workitem in SWFVISU.
    Hope this would help you to solve your issue.
    Good luck,
    Narin Nandivada

  • ABAP Web Dynpro iView error

    My ABAP Web Dynpro iView encouters errors:
    The URL http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo// was not called due to an error.
    Note
    The following error text was processed in the system SB2 : WebDynpro Exception: Error in UCF Template POPUP_PAGE ($).
    The error occurred on the application server sw06_SB2_04 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: RENDER_TEMPLATE of program CL_WDR_UCF====================CP
    Method: HANDLE_TEMPLATE of program CL_WDR_UCF====================CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    I was able to run the ABAP web dynpro application outside of portal by using the url: http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo/. But with the extra / at the end, I get the same error.
    Can anyone point me to how to remove that extra / at the end?
    Thanks
    Ben

    Hi Gurus ,
    We have upgraded the SAP HR system from ECC6.3 to ECC6.4 and netweaver from 7.0 to 7.1 .
    Following are the list of error in EHP4 system ,
    1) Layout of ABAP Webdynpro Component are not displayed .
    2) Any ABAP WEBDYNPRO Application is not displayed by tesing in SAP-R3 and also in ESS .
    error are as follows while trying to view layout in abap webdynpro application :
    http://dv.hr.co.in:4567/sap/bc/wdvd/painting.html?_vdrespkey=4IS29CT7NDRIOI511AFI0R1E3&_vdframe=painting&sap-client=435
    If any one have information for this kindly let me know .
    Thanks :
    Vishwas

  • 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

  • Adding an ABAP Web Dynpro application to a Java Web Dynpro screen

    Hey fellow SAPers
    This is an interesting one .........
    We have developed a bespoke ABAP Web Dynpro screen that we want to include into a tabstrip in a Java Web Wynpro application. We have managed to do this by inserting an iFrame into the tabstrip, and then passing the UWL of the ABAP Web Dynpro app. This works. However, life is never that easy and of course whenever the screen is refreshed, the ABAP WD app is called again and so any changes to the data on the ABAP screen are lost as the data in the ABAP app is re-selected and the data returns to it's original state.
    Does anyone know:
    - of another way to incorporate an ABAP WD screen into a Java WD screen (as a tabstrip)
    - how to de-activate a Java view so that the view containing the ABAP WD app is refreshed (i.e. the window is refreshed), the view is not refreshed and the ABAP app is not re-called .....
    - any other ideas ....
    of course, we could re-develop the same screen in Javam, but that would be too easy
    Looking forward to your responses
    Jon

    >
    > Hi Jon,
    >
    > First of all Iframe is not officially supported until 7.01 version.
    I believe it is deprecated in 7.01 and re-supported in 7.02
    [7.01 IFrame Help|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm]
    [7.02 IFrame help|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm]
    >
    > Would you not use Portal for that and incorporate two iViews in a Page?
    I'm guessing you want to show this within the WDJ app not above, below to the left, right...
    This is a very very difficult thing to do - I'm guessing that you are not actively passing data into the URL of the WDJ IFrame, but just have "decorated" the WDJ app with the a statically linked IFrame. In this case the only thing you have to tie the two together is the user id that you are using - and potentially the time the app was launched. You could in theory use a shared memory area (watch out for multi app server environments) to store the state of the app in case it got refreshed... but this is not a simple thing to do...
    Consider if it is absolutely necessary to enhance the WDJ in place - hopefully you can just replace it with a WDA when you install EhP5
    Good luck,
    Chris

  • 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

  • Use ZBEX Anonymous Login Service in BIApplicationFrame in ABAP Web Dynpro

    Hello,
    We created a ZBEX Service as an alias of the BEX Service as per SAP OSS Note 516884 to allow users to anonymously access BW reports.
    Now we want to embed the BI Web Application in an ABAP Webdynpro as a BIApplicationFrame.
    Note that the ABAP Web Dynpro is on the SAP R/3 ERP side while BI is a separate BW instance.
    The problem we are facing is the standard BIApplicationFrame element uses the SAP standard BEX service when it forms the URL and we do not seem to have a way to make it use the ZBEX Anonymous login service. Hence it always asks for the logon screen defeating our purpose.
    Has anybody done been able to make the BIApplicationFrame use ZBEX service and if yes, what is the solution to this problem?
    Thanks and regards,
    Atul Kulkarni

    Hi Ankur,
    Someone will somewhere call the EJB (not: "Java Bean"!). As an EJB isn't part of a request/response cycle but mainly thought for business logic, it is of course the task of the calling component to deliver the user (his logonID for example) to the EJB.  There is not other way!
    Hope it helps
    Detlev

  • Report Varaint in ABAP web dynpro

    Hello All,
    I am currently working on an ABAP Web dynpro development.
    I am developing a Report, where the requirement is to have Variants (same as that of GUI reports).
    The user can select the particular variant, which will populate the selection screen.
    I am new to ABAP Web dynpro and am unaware whether Standard functionality of Variants is available for Web dynpro?
    Can you please tell me whether Variants is available for Web dynpro?
    Thanks and Regards,
    Pratik

    Hi Pratik.
    You could define the select options in a table per variant.
    Depending on the selected variant you read the corresponding selection fields
    from that table and populate the select options fields in wddoinit.
    Then just call submit report afterwards.
    AFAIK there is no standard functionality for that.
    Cheers,
    Sascha

  • Implicit commit in ABAP Web Dynpro?

    I wonder if ABAP Web Dynpro is executing an implicit commit. I have two buttons on the same view. The first one inserts an entry into a table, the second one executes a "rollback work" (and to be sure calls function "DB_ROLLBACK").
    However, after first pressing the insert-button and secondly the rollback-button, the rollback had no effect, i.e. one dataset has been permanently inserted into the database table.
    Is it possible that until the view is ready for new processing (i.e. finished any initializations) an implicit commit is executed by SAP?
    I have not used any commit nor do I use debugger mode.
    The same behavior happens when I split the insert and rollback things into two views. In the second view the rollback is possible before the inbound plug is processed to the end, but afterwards (e.g. when handling a button click by an assigned method) not.

    Hi Klaus,
    I was wondering if you could do a ST05 trace? It will reveal the place where the commit happens. It will be quite interesting to see if it happens inside of the WD runtime. If yes, I would consider it a bug.
    Best regards,
    Thomas

Maybe you are looking for

  • Date Variable in Obiee 11g

    Hi All, I have created a dynamic repository variable that gives the current date. The date is given in the following format 'MM/DD/YYYY'. This is format that I want the date to appear in. In the presentation catalog, I have created a presentation var

  • Playlist selected for synching no longer exists - can't synch ipod

    I just installed itune yesterday. Not sure why this error has popped up, but after getting all my music into the itunes folder, there is no longer anything on the ipod itslef, adn I receive this error message. How can I reset the ipod to synch withou

  • SUM - amount of product in all WAREHOUSEs

    Hi I am sql beginner and have a problem with collecting data from Oracle DB. I have a table ODT with all the products (nr of product and nr of warehouse are the PK) (NTWR and NODD). for every warehouse the product has its row. for example product nr

  • Error in Forms 10g

    I tired the suggestion mentioned in replies of my previous message. BUT problem is still there. OC4J exe is running properly, i mean J2EE container is initialized properly. but when i try to test teh Servlet in browser writting URL: "http://mycompute

  • Light leak, dust under screen AND dented back.

    Two weeks ago I purchased a second generation iPod touch. First thing I noticed after taking it out of the packaging was a rather neat dent on the backplate. I decided not to worry about it, as it would be in a case most of the time and hence it woul