Calling Transaction with Paramters

Hi
I want to call a the transaction KSB1 from Web.
I tried <a href="https://<hostname>/sap/bc/gui/sap/its/webgui?transaction=*KSB1%20KOSTL-LOW=123456%20R_BUDAT-LOW=20080101%20R_BUDAT-HIGH=20080131;DYNP_OKCODE=DOIT">https://<hostname>/sap/bc/gui/sap/its/webgui?transaction=*KSB1%20KOSTL-LOW=123456%20R_BUDAT-LOW=20080101%20R_BUDAT-HIGH=20080131;DYNP_OKCODE=DOIT</a>
The only parameter which is working is KOSTL-LOW, R_BUDAT-LOW and R_BUDAT-HIGH does not work.
Any idea?
Greetings
Marcus

Hi Marcus,
please read in the Wiki FAQ for the ITS forum the articel: "How to prefill fields and skip first screen with webgui?" https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=22375
Best regards,
Klaus

Similar Messages

  • Skip first screen of BD87 using call transaction with BDC_DATA option

    hello all,
    i am using call transaction with BDC_DATA option and i want to skip first screen, so can anyone please tell me how can i skip first screen of BD87 and get second screen that is output screen?
    regards.

    Hi
    Build a BDCDATA with following code..
                                                          T     BD87                                                                               
    RBDMON00     1100     X                                                                               
    BDC_CURSOR     SX_DOCNU-LOW
                                                                BDC_OKCODE     =CRET
                                                                SX_DOCNU-LOW                                                                               
    SX_CRETI-LOW     00:00:00
                                                                SX_CRETI-HIGH     00:00:00
                                                                SX_UPDDA-LOW     05.02.2010
                                                                SX_UPDDA-HIGH     05.02.2010
                                                                SX_UPDTI-LOW     00:00:00
                                                                SX_UPDTI-HIGH     00:00:00
    RBDMON00     0100     X                                                                               
    BDC_OKCODE     =BACK
    RBDMON00     1100     X                                                                               
    BDC_OKCODE     /ECBAC
                                                                BDC_CURSOR     SX_DOCNU-LOW

  • Calling transaction with webgui takes forever on some workstation

    Hi,
    I am calling transaction CV03N via webgui from webdynpro application. The problem is on some workstation it takes forever
    to load the screen with transaction details. For other it works fine.
    Did anyone come across this situation? Is there anything need to be set up on personal system to run the application as expected.
    Please help.
    Thanks.
    Trupti

    Hi,
    check that all the machines are using the same proxy server and have same browser settings.

  • Calling transaction with hotspot_click

    Hello everybody,
    I need to know if it is possible to call transaction within an ALV when clicking
    on a hotspotted field.
    In that case how can I handle it ?
    Thank you.
    Luca

    the  below  is the code for the  alv  double click
    *& Report  ZUS_SDN_TWO_ALV_GRIDS
    REPORT  zus_sdn_alvgrid_events_1.
    DATA:
      gd_okcode        TYPE ui_func,
      gt_fcat          TYPE lvc_t_fcat,
      go_docking       TYPE REF TO cl_gui_docking_container,
      go_docking2      TYPE REF TO cl_gui_docking_container,
      go_grid1         TYPE REF TO cl_gui_alv_grid,
      go_grid2         TYPE REF TO cl_gui_alv_grid.
    DATA:
      gt_t001          TYPE STANDARD TABLE OF t001,
      gt_knb1          TYPE STANDARD TABLE OF knb1.
    *       CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS:
          handle_double_click FOR EVENT double_click OF cl_gui_alv_grid
            IMPORTING
              e_row
              e_column
              es_row_no
              sender.
    ENDCLASS.                    "lcl_eventhandler DEFINITION
    *       CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
      METHOD handle_double_click.
    *   define local data
        DATA:
          ls_t001     TYPE t001,
          ls_col_id   TYPE lvc_s_col.
        CHECK ( sender = go_grid1 ).
        READ TABLE gt_t001 INTO ls_t001 INDEX e_row-index.
        CHECK ( ls_t001-bukrs IS NOT INITIAL ).
        SELECT * FROM knb1 INTO TABLE gt_knb1
          WHERE bukrs = ls_t001-bukrs.
        IF ( syst-subrc NE 0 ).
          MESSAGE 'No customers found' TYPE 'S'.
        ELSE.
    *     Trigger PAI of dynpro '0100' and set new ok-code
          CALL METHOD cl_gui_cfw=>set_new_ok_code( 'CALL_SCREEN_0200' ).
        ENDIF.
      ENDMETHOD.                    "handle_hotspot_click
    ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
    START-OF-SELECTION.
      SELECT * FROM t001 INTO TABLE gt_t001.
      REFRESH: gt_knb1.
    * Create docking container
      CREATE OBJECT go_docking
        EXPORTING
          parent                      = cl_gui_container=>screen0
          ratio                       = 90
        EXCEPTIONS
          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.
      CREATE OBJECT go_docking2
        EXPORTING
          parent                      = cl_gui_container=>screen0
          ratio                       = 90
        EXCEPTIONS
          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.
    * Create ALV grid
      CREATE OBJECT go_grid1
        EXPORTING
          i_parent          = go_docking
        EXCEPTIONS
          OTHERS            = 5.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CREATE OBJECT go_grid2
        EXPORTING
          i_parent          = go_docking2
        EXCEPTIONS
          OTHERS            = 5.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Set event handler
      SET HANDLER:
        lcl_eventhandler=>handle_double_click FOR go_grid1.
    * Display data
      CALL METHOD go_grid1->set_table_for_first_display
        EXPORTING
          i_structure_name = 'T001'
        CHANGING
          it_outtab        = gt_t001
        EXCEPTIONS
          OTHERS           = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL METHOD go_grid2->set_table_for_first_display
        EXPORTING
          i_structure_name = 'KNB1'
        CHANGING
          it_outtab        = gt_knb1
        EXCEPTIONS
          OTHERS           = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Link the docking container to the target dynpro
      CALL METHOD go_docking->link
        EXPORTING
          repid                       = syst-repid
          dynnr                       = '0100'
    *      CONTAINER                   =
        EXCEPTIONS
          OTHERS                      = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL METHOD go_docking2->link
        EXPORTING
          repid                       = syst-repid
          dynnr                       = '0200'
    *      CONTAINER                   =
        EXCEPTIONS
          OTHERS                      = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * ok-code field = GD_OKCODE
      CALL SCREEN '0100'.
    END-OF-SELECTION.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'STATUS_0100'.
    *  SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
      CASE gd_okcode.
        WHEN 'BACK' OR
             'END'  OR
             'CANC'.
          SET SCREEN 0. LEAVE SCREEN.
        WHEN 'CALL_SCREEN_0200'.
          go_grid2->refresh_table_display( ).  " necessary
          CALL SCREEN '0200'.
        WHEN OTHERS.
      ENDCASE.
      CLEAR: gd_okcode.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    Girish

  • Calling transaction with different start screen

    Hello
    I have two transactions TRANSACTION 1 and TRANSACTION 2, made by myself.
    TRANSACTION 1 has screen 001 as initial. It also has another screens.
    I want to call TRANSACTION 1 from TRANSACTION 2 starting not with screen 001, but for example with screen 005. Is that possible?

    HI,
      As an alternative, you will have to do a partial BDC recording for the transaction and write the code to call the transaction in ERROR mode.
    Go to shdb transaction.
    Create a recording for the transaction.
    Enter the required data and when you reach the screen you want, just backout.
    This would create a recording.
    Using this recording, you have to create a BDC program which would call the transaction in Error mode.
    Regards,
    Ravi

  • Calling transaction with 2 variants

    I am having a problem calling a transaction that requires 2 variants.  The transaction is WCLE.  I would like to call this transaction in abap.  The problem is that there are 2 screens.  The first screen I would like to select variant A which takes me to a second selection screen where I would like to select another variant then run it to get the results.   Anyone have any ideas?

    Try using BDC recording.

  • Calling transactions with pre-filled screen in background processing

    Hi,
    We are currently running the two standard SAP programs RVV50R10C and SDV03V02 in background mode with static variants. A new requirement has come up whereby we need to run these programs with changing selection criterions, i.e. depending on whether a certain material has had a movement during the day.
    We are currently looking at the following options, all of which must be executeable in background mode:
    1) Create a Z-program which identifies the materials for which RVV50R10C and SDV03V02 should process, and then at the end of the Z-program save variants containing the materials for each of the two standard programs. The standard programs will be scheduled as step #2 and #3 in the same batch job by using the variant which has been overwritten by the Z-program.
    2) Create a Z-program which identifies the materials for which RVV50R10C and SDV03V02 should process, and then at the end of the Z-program call these programs by specifying the material numbers in addition to other relevant selection criterions by passing a batch input table.
    3) Copy the standard programs into Z-versions and enhance the selection criterias according to our needs.
    Of the options above we would prefer not to use 3) since we rather use the standard programs due to SAP support etc. The preferred option would be 1).
    Anyone faced a similar requirement and have some ideas about standard SAP functions to save a variant and what issues we might face in option 1) and 2)?

    Hi Geir,
    2nd option is good. Create a Z program to identify the material numbers which you want to process & then in the Z Program itself use SUBMIT statement to call the standard programs RVV50R10C and SDV03V02. Using SUBMIT statement you can populate the selection screen parameters for the calling programs.
    Please let us know if you need any additional details.
    Thanks,
    Best regards,
    Prashant

  • Call transaction BDC with different user id

    Hello,
    We have a BDC program for creating Invoice using "CALL TRANSACTION VF01" method. But there are are few user IDs accessing this program who do not have authorisation to VF01. So requirement is to create Invoice with a common user id.
    Please help if it is possible to call transaction with different user id. Please also provide you inputs if you can suggest some other way to fulfill this requirement.
    Thanks & Regards,
    Rohit

    Hi Rohit,
    if users are not authorized to post invoice, why is it required to surpass the checks?
    A Question the business should answer.
    It should not be the consultants obligation to find doubtable ways.
    Regards
    Clemens

  • Call tranasaction with skip first screen in ecc6

    Hi,
    We are doing upgrade from 4.7 to ecc 6. We are getting an error while running a report( The addition "AND SKIP FIRST SCREEN" can't be used with "CALL TRANSACTION .. USING".  ) in ecc6. This is not showing error in 4.7. Call transaction with skip first screen is fine in 4.7. But it is throwing an error in ecc6.
    Could anybody provide me the pointers to rectify this error.
    Regards,
    Ramesh

    Hi
    Did you pass all the mandatory field values to the calling transaction , Because when you use this addition you need to pass all the mandatory field values then only it works fine. Check out whether you are passing all the mandatory field values.
    Regards
    Pavan

  • CALL TRANSACTION AND SKIP FIRST SCREEN to specified tab in TCODE 'IW32'

    Hi,
    I am using CALL TRANSACTION AND SKIP FIRST SCREEN in ALV Grid Report to call IW32 tcode and it goes to tcode skipping the first screen. But it goes to the default header tab in the tab control. Whereas I wish to go to the specified tab 'OPERATIONS'.
    Can any one help me, as to how to resolve this issue ?
    Thanks in advance.

    Sridher,
    I have the similar requirement. but in my case its COSTS tab. Could you please provide the code you have used for this to work?
    I used standard "call transaction with mode 'E' ". This seems to be working but I am not pleased by my effort. Is there any proper way that you might have followed ?
    Greatly appreciated your help.
    Regards,
    Reddy

  • 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 Transaction Failing in ABAp Proxy

    Hi All,
    We are trying to CALL the VL02n Transaction in our ABAP Proxy Class Code. But the System is somehow not able to CALL The Transaction.
    But if we create a BDC Session the session is getting created.
    Any inputs as to why this is falling.
    Regards,
    Arunava

    Hi there,
    Arun and I are working on this issue together.
    We have tried the Call Transaction with mode 'N', and it does not work.  We get sy-subrc = 1,001 from the Call transaction statement.  We we run it in Mode 'A', we get kicked out from the session completely.  The user we are using to connect from XI to ECC has SAP_ALL, and is also a Dialog user.
    Any help/ideas would be very well apprciated...
    Regards,
    Jawwad

  • Call transaction in web by WebDynpro

    Good day!
    How i can call transaction with <b>parameters</b> from my web dynpro?
    I need from my WebDynpro program run for ex:
    http://yourabaphost.domain.com:port/sap/bc/gui/sap/its/webgui?~transaction=iw32
    Regards.
    Points guaranteed.

    Hi.
    Oh now i see .. you could use this URL as source in an WebDynpro IFrame. Worked without problems here.
    But keep in mind that the WebDynpro IFrame is obselete.
    Or open a new window with this URL ?
    Cheers,
    Sascha
    Message was edited by:
            Sascha Dingeldey

  • Set parameter and call transaction

    Hi.
    To use the call transaction with the skip first screen option we have to use the set parameter statement. Depending on the PID which the technical specs of the fields contain, it is possible to preset these values. My query is that if the screen contains checkboxes and a lot of them, how do i select them?
    Please advice as this is a part of my project.
    Regards....

    Hi,
    Here is what's given in the help of "Call transaction".
    Example
    CALL TRANSACTION 'SP01'.
    Addition 1
    ... AND SKIP FIRST SCREEN
    Effect
    Skips the first screen in the transaction (provided all the required fields have been assigned values by the SPA/GPA mechanism).
    I need to know how to assign values to the transaction XK02. It's got checkboxes and it must skip the first screen.
    Please help.
    A BDC table disables the GUI status and I am unable to go back to the calling program.
    Thanks and Regards,
    Prem.

  • Messages from call transaction don't appear

    Hello everyone,
    I'm having a problem that i never experienced.
    I have a call transaction for T-code 'FOB1', like this:
      CALL TRANSACTION f_tcode USING bdc_tab MODE f_mode UPDATE 'S'
                                           MESSAGES INTO messtab.
    I allready tried using 'A' mode and 'N' mode, but the problem persists. My table messtab, that should, at least, bring the message for successfull creation of document, is completely empty!! with one difference. If i choose "visible" mode, a warning appears that is not a concern for creating the document. That 'W' message appears in my table messtab, ONLY if i run the call transaction with 'visible' mode. It looks like if the messages are being deleted so fast that the system doesn't catch them.
    Any suggestions ??
          Thank you.

    Thank you for all your answers, but my problem persists.
    In response to all:
    - I tried eliminating the UPDATE statement or using option 'A', but the message table still appears empty.
    - When i create a document through transaction FOB1, it does send a S message with the number of the document created.
    - I tried creating a Batch Input and process it through SM35, and the log shows several S messages.
    I'm having trouble solving this one. Any more suggestions ?

Maybe you are looking for

  • Problem with reflection in Generics

    I'm using the Prototype compiler for JSR-014 and I am having a big problem with reflection. In the simplest case class n<T> {     void go() {      this.getGenericType().getTypeParameters();      this.getClass().getGenericInterfaces(); }I get a "canno

  • Create PDF from Web page using Acrobat X - Page Order

    I have a structured web site that is in fact Program Help The web pages are structured as follows: index.html - Main Topic Index page with links to all topic subject index pages topic/index.html - Topic Subject Index Page with links to all subject pa

  • RFQ buttons do not open in a new window

    Hello, We are on SAP SRM 7.0 with EHP1 and have configured bidding process. We are able to create RFQ from the navigation link however the following buttons viz. Create RFQ,Display RFQ ,Edit and Response and Awards on click of it do not open a new wi

  • Varient configuration order bom

    can we change the order bom created during sales order creation through varient configuration without ECM activities? thanking you srinivas

  • Reading OLE files

    does anyone know how can i read (only the text) from OLE files, such as WORD or EXCEL, in java? thanks.