Calling a Standard SAP transaction VA03 from another web dynpro application

Hi All,
I have a requirement wherein I need to call the standard SAP transaction VA03 whenever a sales order is selected in some other we dynpro application so that the sales order gets displayed.
No regarding usage of OBN for the above functionality I have certain queries:
1. In order to call VA03 do I need to create a transactional iview for it or is there any direct method.Also how to pass this sales order number as parameter to the T.Code.
2. Can we use standard business object BUS2032 for OBN or a new Business object is created.What exactly is the purpose of these standard business objects in portal and when should they be used.
Thanks in advance
Aman Gupta

Hi Aman - Do you have a portal team in your project or you have to create the IVIEWS yourself?
I do have a portal team and I dont know how they create the IVIEWs but for example, I will go to my portal team and I will ask them to create an IVIEW for TCODE VA03, they will created and they will tell me the input parameters they entered for the IVIEW so I can call OBN and display in webdynpro.
SAP in SRM has webdynpro e.g. for BUS2121 and they have an IVIEW already implemented in the portal context pointing to the webdynpro of BUS2121 so we can used the IVIEW by calling OBN and passing the parameters; in my case the object_type will be 'shc' and the operation will be 'display' and the paremeters itab will be the GUID of my shopping cart, that way the OBN can understand which Shopping cart open and in which operation mode.
I also did something like your requirement, I need it to display a specific case in Records Management but SAP has a standard IVIEW for records management 'RMREGEDIT' that didn't work for my requirement so I went to SE38 created a program that displayed the case based on GUID and I created a TCODE of my custom program. Portal team created a custom IVIEW of my custom TCODE and they told me the input parameters to call the TCODE in OBN and I pass in the itab parameter the GUID of the case using the FM that I post before.
The action to call the OBN is in the event handler ON_CLICK of my ALV and the action is getting trigger when the user actually clicks a HYPERLINK in the ALV.
Hope this helps you!
Please feel free to ask me more details if you need.
Jason PV

Similar Messages

  • How to call a standard sap transaction in workflow

    Dear All,
    I want to know how to call a standard sap transaction inside my workflow , please tell me how to get this done .
    Kind Regards,
    Anshu Kumar

    Hi,
    You can use the FM - ABAP4_CALL_TRANSACTION u2013 Initiates a transaction in a separate window
    inside the method in the BO.
    Implement that BO and the method in the Activity of the WF..!!
    Use the FM like this:-
    CALL FUNCTION 'ABAP4_CALL_TRANSACTION'
      EXPORTING
        tcode                         = 'ZSCREEN_884' - T-Code
       SKIP_SCREEN                   = ' '
       MODE_VAL                      = 'A'
       UPDATE_VAL                    = 'A'
    EXCEPTIONS
       CALL_TRANSACTION_DENIED       = 1
       TCODE_INVALID                 = 2
       OTHERS                        = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    If you do not want to use the FM u can use this Statement:-
    call transaction 'ZSCREEN_884'. - T_CODE
    Check the following links:-
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/delegationandRedefiningmethodsofbusinessobject+BUS1001
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
    Let me know if you still face any issues..!!
    Regards,
    Kanika

  • Parameter transfer from one Web Dynpro Application to another

    hi,
    Is it true that  only parameters with string type can be transfered from one Web dynpro application to another ?

    hi, Justin ,
    You are right , I can use inplug for the dest component , and can transfer referenced type , but now I met a problem , how I can transfer the parameter to the dest comp ? 
    I can use the following code to transfer a value from origin to dest , but how to transfer an object , can you give me some sample code ?
    CONCATENATE l_url '?'
                   '&guid=' lv_guid
                   into l_url.
    CALL METHOD window_manager->create_external_window
          EXPORTING
            url    = l_url
          RECEIVING
            window = lo_window.

  • How to execute a BI query/view from a web dynpro application?

    Hi all,
    I am trying to connect to a BI system from a Web Dynpro application. I have to execute a view/query and process the output in my application. Please guide me about how to establish the connection to the BI system from my web dynpro application and then execute the query/view.
    I have tried executing/modelling the BI query/view using Visual Composer but I get an error saying 'QueryView Instantiation failed' when I try to drag the view/query on to the design board.
    Please guide me and help me achieve this.
    Thanks & Regards,
    Kishan

    Hi Kishan,
    Define system for BI in portal and define JCo destination, then from WDJ application use can query BI.
    Create the Technical System and connect with JCO Destinations
    or
    Connecting through the BI Connecters (ex: XMLA Connecter)
    Refer below link:-
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1
    In this document you will get details related to connector and other admin activity.
    Hope this may help you.
    Deepak!!!

  • How to Debug a BAPI from a Web Dynpro application

    I have a Web Dynpro application calling a BAPI, and I would very much like to see what data the Web Dynpro application is passing into the BAPI, and then debug the BAPI.
    Is there a way to do this? I'm wondering if it is possible to somehow set up the ABAP stack so that on receipt of the BAPI call, it appears on the tRFC queue waiting for execution.
    However it is done, I need a way to step through the BAPI on the ABAP stack.
    BR,
    Tony.

    Hi Anthony,
    The ABAP runtime environment contains various tools that you can use for analysis purposes, such as for debugging source code. All source code written for Web Dynpro applications in ABAP can normally be tested using the debugger.
    To allow it to test other Web Dynpro-specific program entities too, the debugger has been equipped with a special enhancement. In the phase model in the active application, you can typically see the following information at various points in time:
    -The structure of the content of the current controller,
    -The properties of the UI elements in the layout of the current view
    -The currently instantiated component usages
    Starting the Debugger
    The functions for debugging Web Dynpro entities are embedded in the new debugger. You therefore need to have selected the new debugger in your Workbench settings.
    Selecting the New Debugger
    1. In the menu, choose Utilities -> Settings.
    2. A dialog box now appears that contains two nested tab page areas. Choose the “parent” tab page ABAP Editor.
    3. The settings for ABAP Editor always open with the content of the child tab page Editor. Here, select Front End Editor (New).
    4. Now switch to the Debugging tab page in the ABAP Editor settings and select New Debugger.
    5. Save your changes and close the dialog.
    Starting the Debugging Process
    To run an application in debugging mode, you first need to set an external breakpoint in display mode in one of the methods in the component.
    Now start a test run of the application from ABAP Workbench as usual.
    The method in which you set the breakpoint depends on the purpose of the test run. To debug a view, for example, it is best to set the breakpoint in method WDDOMODIFYVIEW. Provided that the context of the view controller is not filled using a supply method, the view is fully instantiated in the phase model at this point in time.
    Selecting the Web Dynpro Tool in the New Debugger
    When you start the application, another session opens automatically for the debugger. If you have not yet saved any personal settings with regard to the layout of the debugger, the Editor tool will now appear on the left, with the Display Variables tool on the right.
    1. Select one of the three desktops in order to reconfigure it for debugging the Web Dynpro application (see Designing Work Areas).
    2. The right-hand edge of the debugger window has a bar of function icons. Choose the Replace Tools icon:
    3. In the next dialog box (New Tool) open the lowest node (Special Tools) and choose Web Dynpro.
    4. Confirm the dialog box.
    On the right of the debugger desktop, you will see that the previous tool has now been replaced by the Web Dynpro debugger. You can save this setting for future debugging activities. To do this, choose Save Layout In the debugger’s general toolbar.
    Thankyou,
    Ramganesh.

  • How to start a Web GUI program from a Web Dynpro application

    I know the program name , and it is a Web GUI program ,is anybody know how to start it from a Web Dynpro application

    hi,
    I use the following program to call a SAP GUI program :
    DATA: l_componentcontroller TYPE REF TO ig_componentcontroller.
      DATA: l_api_componentcontroller type ref to if_wd_component.
      DATA: l_sapgui_manager type ref to cl_wdr_sapgui_integration.
      DATA: lt_parameters    TYPE wdr_name_value_list.
      l_componentcontroller = wd_this->get_componentcontroller_ctr( ).
      l_api_componentcontroller = l_componentcontroller->wd_get_api( ).
      l_sapgui_manager = l_api_componentcontroller->get_sapgui_manager( ).
      IF l_sapgui_manager IS NOT INITIAL.
        l_sapgui_manager->fire( EXPORTING name = 'PROGRAM_NAME 'parameters = lt_parameters ).
    But the l_sapgui_manager is always initial , what can I do ?
    ENDIF.

  • 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

  • Calling  second step of transaction of r3 through web dynpro

    Hi all
    We are calling a particular transaction and passing paramter to it through web dynpro.We have successfully implemented it.but we are facing problem in  calling second step of transaction and passing parameter required at second step.
    pls tell me if any one has any ideas how to do it ???
    regards
    zaid

    Does the second step involve a new function module or does it make use of the same one?  Regardless the second call shouldn't be any different than the subsequent calls.  Maybe you could provide more details.
    /Greg

  • Access KM predefined property values from a Web Dynpro application

    Hi,
    I am trying to build a custom search interface in Web Dynpro which leverages the KMC Indexing and Search services.
    In this interface I would like to display value lists of predefined properties in KM (created using the Property Metadata Service) and bind each predefined property's value list to a checkbox group UI element.
    Which KM API should I use to retrieve the values of a specific predefined property ?
    When using the standard flexible user interface in the portal this can easily be achieved through configuration, but now I would like to know how to achieve this in Java code.
    Thanks in advance for your input.
    I have some idea on how to get the propertymap from a resource, but how can I access the metadata of a predefined property in KM directly ?

    Hi Theo, i'm working on something like this, i have a WD application that is accessing Km through a Webservice, on the webservice ejb i have this problem:
    IResourceFactory resFactory = ResourceFactory.getInstance();
    IRepositoryServiceFactory serFactory = resFactory.getServiceFactory();
    IPropertyConfigurationService propConfigService = (IPropertyConfigurationService) serFactory.getService("PropertyConfigurationService");
    IMetaNameListIterator i = propConfigService.getMetaModel().nameIterator();
         while (i.hasNext()) {
         IMetaName metaname = i.next();
         if ( metaname.getDocumentPatterns()!= null){
         propertyData.setId(metaname.getName());
         propertyData.setName(metaname.getLabel(locale));
         propertyData.setNamespace(metaname.getNamespace());
         propertyData.setDescription(metaname.getDescription(locale));
                    propertyList.add(propertyData);
    On this line serFactory.getService("PropertyConfigurationService") i get the following error on the trace:
    #System.err#sap.com/KmmsListEAR#System.err#Guest#2####30a27fa0cbfa11dbace30018de0545f1#SAPEngine_Application_Thread[impl:3]#Error##Plain###Configuration Framework error: unable to create an IConfigClientContext instance from an EP5 userInitialConfigException: The configuration service locator could not be initialized for any of the environments. The configuration framework is not available.#
    #System.err#sap.com/KmmsListEAR#System.err#Guest#2####30a27fa0cbfa11dbace30018de0545f1#SAPEngine_Application_Thread[impl:3]#Error##Plain###InitialConfigException: The configuration service locator could not be initialized for any of the environments. The configuration framework is not available.
    Do you have any idea of how to solve this? or if you accomplished in a different way, can you guide me a little bit.
    Thanks in advance Theo

  • Fetching SAP R/3 table in web dynpro application

    Hello All
    I ve a group in portal. This group have member users stored in sap r/3 table.
    Now i have a requirement that whenever changes are made in sap r/3 table i.e. either adding of users or removing of users from table, these changes should automatically get reflected in Portal.
    I should use rfc for accessing the table, but what code so that depending upon user-id, changes should reflect in Portal????

    i did it on my own

  • Start transaction in Side Panel Web Dynpro application into NWBC

    Hello experts,
    I want to start a SAPGUI transaction out of a Side Panel of another transaction.
    e.g. in transaction A I have the Side Panel AA in which I want to click on a Link/Button (a action) to get to transaction B.
    How is it possible to realize this?
    Kind regards,
    Eike

    NWBC  - New Tab instead of window

  • How can I create a web Service from my Web Dynpro Application ?

    Hi,
    Kindly let me know How I could create a "Web Service" with my Web Dynpro DC project.
    Awaiting your responses.
    Regards,
    Mahesh

    Hi Mahesh,
          You can use the web services by creating the Model in web Dynpro
    And if you want to publish your own web service then you have to create a EJB module and publish as a web service.
    Thanks
    Ninad

  • Call standard SAP transaction in BSP

    Hi guys,
    I am working in WAS 6.20.
    We have separate server for WAS and records fetched from R/3 server.
    Now the requirement is i have to call a standard SAP transaction and the output of the standard transaction should be displayed in the BSP output.
    Is it possible to call a SAP standard transaction in WAS 6.20.
    Is it possible to display the same output in the BSP screen.
    Above to all, displayed output should be refreshed automatically for every 20 minutes.
    I come with lot of doubts, expecting your reply.
    Hopefully waiting for yours reply.
    Saravanan. V

    Hi,
    Pls check threads like
    calling STD SAP transaction in BSP
    Calling R/3 Transaction from BSP
    Calling standard R/3 transaction from BSP
    Calling an SAP transaction from a BSP page
    Calling ITS transaction from BSP
    Can we call standard transaction from bsp
    Eddy
    Pimp up the S(D)N site and earn points. Check this <a href="/people/eddy.declercq/blog/2007/02/01/pimp-up-the-jam log</a> for details

  • Calling a Web Dynpro Application from POWL feeder class

    Hi,
    I know this question is asked before but never answered, but I try again......
    I have a own POWL feeder class where I defined a button in method IF_POWL_FEEDER~GET_ACTIONS.
    I know that this action can be handled in method IF_POWL_FEEDER~HANDLE_ACTION.
    When pressing the button I want do call another web dynpro application.
    How can I do this? -> Any Example Coding?
    Thank you and best regards, Edgar

    Hi Vineet,
    it works, thanks a lot!!!!  Best Regards, Eddy
    P.S.: Here is the coding for triggering the event and passing parameters for the selected POWL table line:
    METHOD if_powl_feeder~handle_action.
      DATA: ls_parameter TYPE powl_namevalue_sty.
      DATA: lt_flights TYPE ty_flights.
      DATA: ls_flight TYPE sflight.
      DATA: ls_selected TYPE rstabix.
      FIELD-SYMBOLS: <lt_fligts> TYPE STANDARD TABLE.
      IF i_actionid = 'EDIT'.
    *   Important: this triggers the event
        e_portal_actions-fire_wdevent = abap_true.
    *   Pass parameters to event
        ASSIGN c_result_tab TO <lt_fligts>.
        lt_flights = <lt_fligts>.
    *   Determine the first selected row
        READ TABLE c_selected INTO ls_selected INDEX 1.
    *   Read selected POWL data
        READ TABLE lt_flights INDEX ls_selected-TABIX INTO ls_flight.
        CHECK sy-subrc = 0.
    *   Pass parameters
        ls_parameter-key = 'ACTIONID'.
        ls_parameter-value = 'I_ACTIONID'.
        APPEND ls_parameter TO e_portal_actions-parameters.
        ls_parameter-key = 'CARRID'.
        ls_parameter-value = ls_flight-carrid.
        APPEND ls_parameter TO e_portal_actions-parameters.
        ls_parameter-key = 'CONNID'.
        ls_parameter-value = ls_flight-connid.
        APPEND ls_parameter TO e_portal_actions-parameters.
        ls_parameter-key = 'FLDATE'.
        ls_parameter-value = ls_flight-fldate.
        APPEND ls_parameter TO e_portal_actions-parameters.
      ENDIF.
    ENDMETHOD.

  • Call ESS FPM CATS Working time application from non FPM web dynpro application on click of button

    Hi,
    My requirement is to launch ESS Working time application HRESS_AC_CATS_1 from custom web dynpro application.
    ESS CATS working time application is configured in LPD_CUST launchpad.
    I tried using method  cl_hr_navigation_services=>navigate in my custom web dynpro but it did not work.
    Regards,
    Ibrahim

    In case you want to use Launchpad, you can use ABAP class CL_APB_LAUNCHPAD_API. If choose not to use Launchpad, you can use method CONSTRUCT_WD_URL of ABAP class CL_WD_UTILITIES to generate the URL. Specify Web Dynpro application and Web Dynpro Configuration as parameter. Finally create an external window using method CREATE_EXTERNAL_WINDOW that points to that URL.

Maybe you are looking for