Call a transaction with Application WD ABAP

Dear Expert.
In this moment I have the following requirement:
I created an Application WD ABAP and created a button that must call a transaction of R/3 in the portal.
I created a Transaction Iview and for this iView I created a Page. Now I want that  when the enduser press the button in the application WD ABAP, the system call the transaction.
How Can solve this issue?
Thanks in advance for you help.
Regards

the wizard tool will create the OBN call for you, just go to portal navigation in the wizard tool.
your IVIEW parameters should be pass in the OBN call.
thanks!
Jason PV

Similar Messages

  • How to call a transaction with a variant

    Hi all
    I created a bdc program after updating it should call another transaction with predefined variant that that transaction program is of type module pool.
    can anyone tell me the syntax how to call a transaction with a variant.

    Hi
    goto Tcode SHD0
    enter the Tcode for which Tran Variant has to be created(dialog Tcode)
    enter Trans variant to be created
    press create button
    it will go through all the screens of that Tcode and save
    and modify the fields as per requirement
    we can create Transaction Variants Using SHD0 Transaction.
    Transaction Variants and Screen Variants
    Transaction variants can simplify transaction runs as they allow you to:
    Preassign values to fields
    Hide and change the 'ready for input' status of fields
    Hide and change table control column attributes
    Hide menu functions
    Hide entire screens
    In particular, hiding fields in connection with screen compression, and hiding screens, can result in greater clarity and simplicity.
    Transaction variants are made up of a sequence of screen variants. The field values and field attributes for the individual screens found in transaction variants are stored in screen variants. Each of these variants is assigned to a specific transaction, can, however, also contain values for screens in other transactions if this is required by transaction flow. The transaction that the variant is assigned to serves as initial transaction when the variant is called.
    There are both client-specific and cross-client transaction variants. All screen variants are cross-client, but may be assigned to a client-specific transaction variant.
    A namespace exists for cross-client transaction variants and screen variants and both are automatically attached to the Transport Organizer. Client-specific transaction variants must be transported manually.
    In principle, transaction and screen variants can be created for all dialog and reporting transactions. There are, however, certain Restrictions that apply to certain transactions, depending on their internal structure.
    No transaction variants are possible with transactions already containing preset parameters (parameter transactions and variant transactions).
    Regards
    Anji

  • In EP, call R3 transaction with dynamic variant name

    Hello
    I know that I can call a R3 transaction with a dedicated variant thanks to the process below:
    Create a transaction iview , Tcode = "START_REPORT"
    In application parameters pass these values separated by '&' sign.
    D_SREPOVARI-REPORT - your report
    D_SREPOVARI-VARIANT - your saved variant.
    choose skip inital screen in the parameters.
    But do you have a tip to call a different variant for every user.
    For example, I have users "1111" and "2222". In R3 I have created the variant "1111" and "2222" for a transaction.
    In EP, I would like that when I call this transaction connected as "1111", the variant "1111" is used, and when I'm logged as "2222", the variant "2222" is used.
    Do you know how I can do that ?
    Thank you !

    Hello,
    where is the information which user has to call which variant stored? If it's in R/3 then you can write an wrapper report which is called from the Portal, adds the Variant information and then calls the original report.
    Regards
    Gregor

  • BDC Calling MIGO transaction with different actions

    Hi everyone,
    i am doing a  BDC for MIGO t-code....to create Good Receipt w.r.t Purchase Order.....
    While executing the Pgm....if some other user has opened the MIGO t-code in DISPLAY mode then that pgm is not able to call the MIGO t-code...to create Good Receipt w.r.t Purchase Order.....
    As this  bdc pgm is witten to create the good receipt i.e. why it is not allowing to create the receipt as already someone else has opened it in DISPLAY mode....
    The following code is to create Good Receipt w.r.t Purchase Order.....
      perform bdc_field       using 'GODYNPRO-ACTION'
                                    'A01'. -
    Good receipt
      perform bdc_field       using 'GODYNPRO-REFDOC'
                                    'R01'.-----Purchase order
    PLease if somebody can help me out with this code...or can send me any program related to this pgm.
    With Regards,
    Seevangi Mishra

    Try using the bapi BAPI_GOODSMVT_CREATE.
    Here is part of the code:
    method create_goodsreceipt.
      data: ls_header   type bapi2017_gm_head_01.
      data: lv_code     type bapi2017_gm_code.
      data: lv_document type bapi2017_gm_head_ret-mat_doc.
      data: lv_year     type bapi2017_gm_head_ret-doc_year.
      field-symbols: <fsi>  type bapi2017_gm_item_create.
      data: lt_items type bapi2017_gm_item_create_t.
      data: lt_ret type table of bapiret2.
      data: ls_ret type bapiret2.
      data: lv_error type xfeld.
      data: ls_headout type bapi2017_gm_head_ret.
      lt_items[] = items[].
    * header position
      ls_header-pstng_date = sy-datum.
      ls_header-doc_date = sy-datum.
      ls_header-ref_doc_no = 'ref do no'.
      ls_header-pr_uname = sy-uname.
      ls_header-header_txt = 'header test'.
    * code invullen
      move '01' to lv_code.
    * aanpassen items table
      loop at lt_items assigning <fsi>.
        <fsi>-move_type = '101'.
        <fsi>-mvt_ind = 'B'.
        <fsi>-po_number = me->ebeln.
        <fsi>-plant = me->bukrs.
      endloop.
    * bapi oproepen
      call function 'BAPI_GOODSMVT_CREATE'
        exporting
          goodsmvt_header  = ls_header
          goodsmvt_code    = lv_code
          testrun          = testrun
        importing
          goodsmvt_headret = ls_headout
          materialdocument = lv_document
          matdocumentyear  = lv_year
        tables
          goodsmvt_item    = lt_items
          return           = lt_ret.
    * commit
      if testrun = space .
        lv_error = zcl_bapi=>check_for_errors( lt_ret ).
        if lv_error is initial.
          ls_ret-type = 'S'.
          ls_ret-id = 'CREATED'.
          ls_ret-message = ls_headout.
          ls_ret-message_v1 = ls_headout-mat_doc.
          append ls_ret to lt_ret.
          call function 'BAPI_TRANSACTION_COMMIT'.
        endif.
      endif.
      returntable[] = lt_ret[].
    endmethod.
    Hope it helps you,
    Bert

  • Call Bex Workbook with parameters via ABAP

    Dear all,
    I have a problem with Excel workbook run from the functional module and transfer parameters to it.
    For this purposes I have used FM RSAH_LAUNCH_EXCEL. I use SAP BW 2004s version.
    In fact this FM opens the Excel workbook but these parameters (that were defined in the table I_T_VAR) are not available in Excel. The window with variables pops up anyway and fields in this window are empty.
    What I would like to do finally is to run this Excel workbook, send some parameters to avoid of appearing this window. It was possible to do in Sap BW 3.5 (according to my experience). Probably it is possible to do in some other way in 2004s? If you know please give me a clue.
    One more question: I try to use the function SAPBEXsetVariable() in BeX that I used to use in 3.5. In 2004s it is not available. Does somebody know what can be used instead of it in 2004s?
    Thanks in advance.

    How about putting values of variables into filter area of WB?

  • Calling Java webdynpr application in ABAP webdynpro application

    Hi All,
    I have a requirement to call a Java webdynpro application from ABAP Webdynpro application. Is it possible? If any of you have done, please let me know how to do it.
    Regards,
    Basha.

    Hi,
    And as you said it Java Webdynpro application, it should be possible to generate the URL for the Application at runtime.
    I also haven't tried, but it should work. Please let me know if LinkTOURL doesnt suffice, we can try and check if it works.
    Thanks,
    Anand

  • Passing multiple values for a single field in URL to call sap Transaction

    Hi All,
    I need to pass multiple values for a single field to SAP transaction .
    means if i have say a field "Date" which can contain more than one value, <b>but its not a range which has two fields</b> . How is it possible.
    Let me know pls.
    Regards,
    Sirisha.R.S.

    Hi Satyajit,
    I need to call a transaction with multiple values which gives me the report based on those values.
    So I need to pass multiple values for a single parameter.
    I hope u got it.
    Regards,
    Sirisha.R.S.

  • Oo transaction with parameters

    Hi,
        I would like to create a "OO transaction" for a public class method . The method is having an one import parameter. Is it possible to call OO transaction with the method argumnet.
    Ex: class1->method1(arg1). is it possible to wrap this method with oo transaction . if so ,how can i call the transaction to pass value to the method.

    Hello Jey
    Parameter ID 'BUK' is used to set the company code.
    Thus, in your MAIN method (which is started by the OO-transaction) you could code at the beginning:
    GET PARAMETER ID 'BUK' field me->md_company_code.  " instance attribute of your class
    However, I would place this coding into the CONSTRUCTOR method of your class.
    Regards,
       Uwe

  • Reg calling Transaction code in Webdynpro ABAP

    Hi All,
    Can I call Transaction code in Webdynpro ABAP Portal Application. If so, how can this be possible? Can anybody give me a lead?
    Thanks.
    Kumar Saurav.

    Hi,
    The most easy Way is here:
    1) Test any Webdynpro Application from SE80 when the webdynpro Browser opens to display output
    Copy its HTTP link, Suppose we get the below link
    http://r3d01web1.Siemens.dk:8001/sap/bc/webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN
    2) Now replace some part of the above link ( webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN )  with the new link part ( gui/sap/its/webgui?~transaction=PA30 )
    So that the newly generated link is such that the below one:
    http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30
    Note in place of PA30 you can put any of your desired tcode.
    3) Now Just Make a webdynpro component and in its View layout put a LINK TO URL ui element
    and in its property REFERENCE just past the http link ( http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30 )
    4) Activate and test your webdynpro Application.

  • Calling Web Service With ABAP

    Hi all,
    I want to create a call to a Web Service of XI from another R/3 server.
    I've created client proxy in system as said
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    But when I try I get the following error:
    <i><CODE>INTERNAL.SYSTEM_NOT_CONFIGURED_AS_XMB</CODE>
    <ERRORTEXT>System not configured as XI Integration Engine</ERRORTEXT></i>
    I know I've left some configuration, I've to say to XI that R/3 server is going to use call to XI as application server, but how I do this conf?
    If I try from XI I get:
    <i>INTERNAL.PROXY_NOT_ALLOWED_ON_IS</i>
    Is possible to call a web service from the XI server?
    Thanks in advance.
    Urtzi

    HI,
    Also see the below links
    error:INTERNAL.SYSTEM_NOT_CONFIGURED_AS_XMB
    DESTINATION_NOT_FOUND
    HTTP destination IED_100 does not exist (system , transaction SM59)
    CCM2.0 Config in NW2004s (PI7.0) u0096 XI Error
    CCM2.0 Config in NW2004s (PI7.0) u0096 XI Error
    Regards
    Chilla

  • 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 call a WD JAVA application from a WD ABAP application

    Hi experts,
    Here I have two applications with me. One has been created through WebDynpro ABAP while the other one has been created through WebDynpro JAVA. Now i have to call upon the JAVA aplication from my ABAp application. In other words in need to integrate both the applications so as to have an easy navigation in between them.
    In the whole process I need to take care that the data is not lost from both ABAP or JAVA side.
    Please help me someone knows the solution.
    Regards,
    Kaustubh Maithani

    Hi,
    Usally to run WebDynpro for Java Application, we get the Application URL.
    If you want to call this WebDynpro Java Application from Webdynpro Abap, then create UI element like Link to Action or LinktoURL and give the url as WebDynpro for Java URL.
    Regards,
    Lakshmi Prasad.

  • How to call a transaction from ABAP code

    Hi everybody,
    How do I run a transaction from my ABAP code?
    For example, through my ABAP code, I want to call the ME24 transaction (Maintain Purchase Order).
    Thanks for the help,
    Roy

    CALL TRANSACTION
    Syntax
    CALL TRANSACTION ta { [AND SKIP FIRST SCREEN]
                        | [USING bdc_tab [bdc_options]] }.
    Extras:
    1. ... AND SKIP FIRST SCREEN
    2. ... USING bdc_tab [bdc_options]
    Effect
    The statement CALL TRANSACTION calls the transaction whose transaction code is contained in data object ta. The data object ta must be of character type and must contain the transaction code in uppercase letters. If the transaction specified in ta cannot be found, an untreatable exception is triggered. The additions suppress the display of the initial screen and allow you to execute the transaction using a batch input session.
    At CALL TRANSACTION the calling program and its data is kept, and after exiting the called transaction, processing is resumed in the calling program after the call.
    When the transaction is called, the ABAP program linked with the transaction code is loaded in a new internal session. The session of the calling program is kept. The called program runs in an SAP LUW of its own.
    If the called transaction is a dialog transaction, after loading the ABAP program the event LOAD-OF-PROGRAM is triggered and the dynpro defined as initial dynpro of the transaction is called. The initial dynpro is the first dynpro of a dynpro sequence. The transaction is finished when the dynpro sequence is ended by encountering the next dynpro with dynpro number 0 or when the program is exited with the LEAVE PROGRAM statement.
    If the called transaction is an OO transaction (as of release 6.10), when loading all programs except class pools the event LOAD-OF-PROGRAM is triggered and then the method linked with the transaction code is called. If the method is an instance method, implicitly an object of the corresponding class is generated and referenced by the runtime environment. The transaction is finished when the method is finished or when the program is exited using the LEAVE PROGRAM statement.
    After the end of the transaction call, program execution of the calling program resumes after the CALL TRANSACTION statement.
    Note
    At the statement CALL TRANSACTION, the authorization of the current user to execute the called transaction is not checked automatically. If the calling program does not execute a check, the called program must check the authorization. To do this, the called program must call function module AUTHORITY_CHECK_TCODE.
    Addition 1
    ... AND SKIP FIRST SCREEN
    Effect
    This addition suppresses the display of a screen of the initial dynpro of a called dialog transaction. The addition AND SKIP FIRST SCREEN suppresses the first screen under these prerequisites:
    For the initial dynpro, in the Screen Painter the own dynpro number must not be specified as the next screen number.
    All mandatory input fields of the initial dynpro must be filled completely and with the correct values by the SPA/GPA parameters
    If these prerequisites are met, that screen of the dynpro is displayed that is specified in the Screen Painter as the next dynpro of the initial dynpro.
    Example
    If the static next dynpro of the initial dynpro of the called dialog transaction FLIGHT_TA is not the initial dynpro itself, its screen is suppressed, because its input fields are filled using the SPA/GPA parameters CAR and CON.
    DATA: carrid TYPE spfli-carrid,
          connid TYPE spfli-connid.
    SET PARAMETER ID: 'CAR' FIELD carrid,
                      'CON' FIELD connid.
    CALL TRANSACTION 'FLIGHT_TA' AND SKIP FIRST SCREEN.
    Addition 2
    ... USING bdc_tab [bdc_options]
    Effect
    Use this addition to pass an internal table bdc_tab of row type BDCDATA from the ABAP Dictionary to a dialog transaction. The additions bdc_options control the batch input processing. When a transaction with addition USING is called, the system field sy-binpt is set to value "X" in the called program - while this transaction is running, no other transaction can be called with this addition.
    The internal table bdc_tab is the program-internal representation of a batch input session and must be filled accordingly. The structure BDCDATA has the components shown in the table below.
    Component Description
    PROGRAM Name of the program of the called transaction
    DYNPRO Number of the dynpro to be processed
    DYNBEGIN Flag for the beginning of a new dynpro (possible values are "X" and " ")
    FNAM Name of a dynpro field to be filled or batch input control statement, for example, to position the cursor
    FVAL Value to be passed to the dynpro field or to the control statement
    Using the internal table bdc_tab, you can provide any number of screens of the called transaction with input and user actions.
    System Fields
    sy-subrc Description
    0 The batch input processing of the called transaction was successful.
    < 1000 Error in the called transaction. If within the transaction a message was sent, you can receive it using the addition MESSAGES.
    1001 Error in batch input processing.
    Note
    Outside of ABAP Objects you can specify the additions AND SKIP FIRST SCREEN and USING together. However, this does not make sense, because the addition AND SKIP FIRST SCREEN is desigend only to fill the mandatory input fields using SPA/GPA parameters, while the batch input table specified with USING controls the entire transaction flow including the display of the screens.
    Example
    Call of the Class Builder (transaction SE24) and display of class CL_SPFLI_PERSISTENT. The internal table bdcdata_tab contains the input for the batch input processing of the first dynpro (1000) of the transaction. Using structure opt, the batch input processing is set to suppress the first screen and to display the next screen in the standard size.
    DATA class_name(30) TYPE c VALUE 'CL_SPFLI_PERSISTENT'.
    DATA: bdcdata_wa  TYPE bdcdata,
          bdcdata_tab TYPE TABLE OF bdcdata.
    DATA opt TYPE ctu_params.
    CLEAR bdcdata_wa.
    bdcdata_wa-program  = 'SAPLSEOD'.
    bdcdata_wa-dynpro   = '1000'.
    bdcdata_wa-dynbegin = 'X'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_CURSOR'.
    bdcdata_wa-fval = 'SEOCLASS-CLSNAME'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'SEOCLASS-CLSNAME'.
    bdcdata_wa-fval = class_name.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = '=CIDI'.
    APPEND bdcdata_wa TO bdcdata_tab.
    opt-dismode = 'E'.
    opt-defsize = 'X'.
    CALL TRANSACTION 'SE24' USING bdcdata_tab OPTIONS FROM opt.

  • Call BSP Application From ABAP

    Hi,
    I want to call BSP Application from ABAP. I've searched the forum and they all are displaying BSP Page in Container of the Screen. My requirement is to show it in a web browser. For that matter I am generating URL to call BSP Application. Following is the code which is throwing short dump.
    DATA: url TYPE string,
    l_appl TYPE string,
    l_page TYPE string,
    l_params TYPE LINE OF tihttpnvp,
    params TYPE tihttpnvp.
    l_appl = 'ZPWLS_SCH_RPT'.
    l_page = 'SELECTION_SCREEN.htm'.
      call method cl_http_ext_webapp=>create_url_for_bsp_application
        exporting
          bsp_application      = l_appl
          bsp_start_page       = l_page
          bsp_start_parameters = params
        importing
          abs_url              = url.
          CALL FUNCTION 'CALL_BROWSER'
           EXPORTING
             url                          = url
            WINDOW_NAME                  = ' '
            new_window                   = 'X'
            BROWSER_TYPE                 =
            CONTEXTSTRING                =
          EXCEPTIONS
            FRONTEND_NOT_SUPPORTED       = 1
            FRONTEND_ERROR               = 2
            PROG_NOT_FOUND               = 3
            NO_BATCH                     = 4
            UNSPECIFIED_ERROR            = 5
            OTHERS                       = 6
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    Thanks,
    Usman Malik

    What is the dump? also you should uncomment the following lines to receive the exception thrown by the FM
    * EXCEPTIONS
    * FRONTEND_NOT_SUPPORTED = 1
    * FRONTEND_ERROR = 2
    * PROG_NOT_FOUND = 3
    * NO_BATCH = 4
    * UNSPECIFIED_ERROR = 5
    * OTHERS = 6

  • Oyput- IDoc- 3 send with application own transaction

    Dear All,
    How is system generating IDoc when the Despatch time has been set as "3 send with application own transaction" in the output type setup?
    because in my system,no idoc is generating.
    Kindly provide your views.
    Thanks.

    Hi,
    When the Despatch time has been set as "3 send with application own transaction" in the output type,
    It means the IDoc will be processed by an local 'z' program based upon NAST entries.
    You have to develop an Z program with help of ABAPer to generate the IDoc based upon table 'NAST' entires.
    regards
    Vivek.

Maybe you are looking for

  • Addition of new fields in wrfapc02

    Hi, I need to add an extra field in the transaction wrfapc02 which is for SAP Retail. Could someone guide me the process. The BADI available adds an extra tab but we need to add a field on the Purchasing tab. Thanks, Dishant

  • Acrobat Pro 8 will not print some graphics, any ideas?

    I am printing from Word 2007 to an Acrobat Pro 8 PDF.   When I do so, some of the graphics will not show up.   They seem to be in the document as when I highlight them, they show they are blocked and I can actually copy the stuff by highlighting it a

  • Can InDesign handle "hidden" text boxes?

    I've been tasked with creating a Userguide Lab Manual with student exercises.  The client wants content to be in three layers:  1) basic tasks listed, 2) accessible "hints" to complete tasks, 3) accessible step-by-step explanation to complete tasks. 

  • I don't understand how to use ObjectInputStream

    When I compile the below program, it gives me a "grade_c.java:87: Exception java.lang.ClassNotFoundException must be caught, or it must be declared in the throws clause of this method.                     String today = (String)s.readObject();" error

  • Designer Configuration/ Users locking each other

    I have Designer 9i installed in an education environment. We have about 100 users all sharing the same repository, with their own user accounts. They are reverse and forward engineering against their own db tables. The system is grinding to a halt, s