Call transaction variant from IW51

hi ,
i have created a transaction variant for va01.
i want to call this transaction only when user creates sales order
from IW51(service notification) .i dont know how to call transaction variant from iw51.
i would appreciate your help on this.
thanks,
yoga

Hi,
You may refer this
Passing Variant's value to a transaction iview
Thanks
Prashant

Similar Messages

  • Call transaction LM05 from Z program

    Hi,
    I need to call transaction LM05 from a Z program, and when LM05 finishes then continue with the process in Z program. But when i use CALL TRANSACTION 'LM05' the process does not return to program Z, when LM05 finishes,it returns to main screen of 'LM05' but not Z program.
    I change CALL TRANSACTION by SUBMIT zrlmob001 AND RETURN, but it happens the same, because transaction 'LM05' continuosly evaluates the system variable SY-TCODE, and therefore SY-TCODE contains code transaction 'ZXX'.
    it exists a way to call a LM05 transaction from Z program, and then continue in z program after LM05 finishes?
    can i create a user exit screen for transaction LM05 and use the user exit to continue with the process that i wish in Z program after call transaction 'LM05'?
    I'm in SAP version ECC 6.0.
    Thanks in advance
    Alejandro

    Hi,
    I want to share how i resolved this topic:
    I searched for user exit, badi and did'nt find a correct way to solved this issue. Also, i tried to create a screen exit for transaction LM05, but the dynpro 2100 of program SAPLLMOB is used for transaction LM02, LM03, LM05 and for each one show a diferent initial screen, this logic cannot be suplied with my custom screen.
    Finally, how the final option, i used a enhancement implementation to add code in SAP standard program RLMOB001, and the problem was resolved. i am in version SAP ECC6.0, in this version is posible to create enhancement implementation, and for support package and upgrade, SAP will not overwrite your custom code.
    Regards,
    Alejandro.

  • CALL TRANSACTION 'ME33K  from another program

    Hi,
    I ma trying to CALL TRANSACTION 'ME33K  from another program, but it is not working.  The transactions is opening, but it is not opening with the contract number (ls_ekpo-ebeln) i am passing.
    ls_ekpo-ebeln does have a valued when CALL TRANSACTION 'ME33K  is called.
    In debug, I noticed the "value" is blank when step into CALL TRANSACTION 'ME33K .
       WHEN 'EBELN'.  "Contract
          l_field = 'EVRTN'.
         IF ls_ekpo-ebeln <> ''.
            GET PARAMETER ID 'VRT' FIELD l_field.  "EVRTN.
           SET PARAMETER ID 'VRT' FIELD ls_ekpo-ebeln.
           CALL TRANSACTION 'ME33K AND SKIP FIRST SCREEN.
            SET PARAMETER ID 'VRT' FIELD ls_ekpo-ebeln.
          ENDIF.
    Any help or suggestions would be great.
    Thanks,
    Naing

    Dear Naing,
    I execute the same code
    IF ls_ekpo IS INITIAL.
    GET PARAMETER ID 'VRT' FIELD LS_EKPO.
    SET PARAMETER ID 'VRT' FIELD ls_ekpo.
    CALL TRANSACTION 'ME33K' AND SKIP FIRST SCREEN.
    SET PARAMETER ID 'VRT' FIELD ls_ekpo.
    ENDIF.
    And it is working.
    Try to do de simple sintax.
    A program with one pararmeter to introduce the contract number.
    The set parameter for this parameter and the call transaction.
    I´m waiting your comments.
    Regards.
    Antonio.

  • Call SAP Transaction Variant from Iview

    Hello,
    I know we can pass parameters into a SAP transaction via the 'Application Parameters', but this does not always work especially for complicated selection screen options.
    Can the actual transaction variant ID be passed instead?
    Regards
    Mr.T

    Hi,
    You may refer this
    Passing Variant's value to a transaction iview
    Thanks
    Prashant

  • Transaction variant from TCODE ME51n issue

    I am created Transaction variant Against transaction ME51N and ME52n ( two transaction variant ) we donu2019t want to give transaction me51n and me52n to users.
    But the problem is that when I revoke the transaction Me51n and me52n from users and give them to transaction variant transactions YME51N and YME52N when the user run that transaction error occur that missing authorization object S_TCODE and value ME51N same in run in transaction YME52n the required transaction is me52n. we donu2019t want to give both transactions to users please help me regarding this issue
    thanks

    Check whether you are using it right.following extract from SAP help apply.
    Transaction type: Variant transaction
    In the SAP Reference IMG, under "Basis Components" -> "Application Personalizaion" -> "Tailoring of Application Transactions",  you can define transaction variants. These allow you to preassign values to fields within a transaction, define field attributes, or hide entire screens.
    To run a transaction variant, you define a variant transaction. On the next screen, enter the name of the transaction and the name of the variant.
    If above does not work there is a brute-force alternative- a little abap can be fired whenever someone executes me52n or yme52n to go after sy-uname  and thereby call yme52n or me52n as need be!

  • Call transaction variant  - crmd_order

    Hi,
    i have created a new transaction variant for cmrd_order. I'm trying to call the new tcode (zcrmd_order) in the abap code by passing the order number using call transaction.
    i have used the call transaction ..with bdcdata mode 'E' and im having problems. it works fine ...but now and then it displays the pop up box and couldnt figure out why.
    is there a better way of calling this transaction variant.
    Thanks,
    kris.

    Hi Sandra,
    i'm using the following statement
    Call transaction 'ZCRMD_ORDER'  using t_bdcdata options from T_opt .
    Some users are getting the pop-up box while for others its working fine. it works fine when the call transaction statement is being called for the first time. But when its called for the second time, this pop-up box appears.
    Not sure why this is happening.
    I have recorded the  screens and passed those to bdcdata tab and didn't use skip first screen.
    Let me know where i'm going wrong.
    Thanks,
    kris.

  • How to use call transaction stmt from webdynpro application

    Hi Expers,
    Can I use call transaction 'tcode' in my webdynpro application, I have tried in my application but i am getting short dump saying
    Error analysis+
    An exception occurred that is explained in detail below.The exception, which is assigned to class'CX_SY_SEND_DYNPRO_NO_RECEIVER',  was not caught and therefore caused a runtime error. The reason for the exception is: During background processing, the system  attempted to send a screen to a user. Current screen: "SAPLMGMM " 0060.
    I haven't used any more statements in my application am sure from my application side everything perfect. but I have seen a screen shot
    with SAP screen in webbrowser.
    Please help me out if you are not clear abt my doubt please ask me for clear idea.
    Thanks in advance
    Phalani M

    Hello,
    Since you can't use the call transaction command in web dynpros components, I suggest you to create a report and fill a BDC table on this and use the call transaction in this report.
    So, in your web dynpro component you can use a command SUBMIT to create a job in background.
    DATA: number           TYPE tbtcjob-jobcount,
          name             TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.
    Regards.

  • Calling transactional BAPI from Web Dyn Pro

    Hi,
    I am trying to call an RFC from web dynpro, unfortunately I'm a java person rather than ABAP so am struggling a little.  The Bapi is BAPI_BPCONTACT_CREATEFROMDATA, which a colleague has wrapped up so that it saves data from memory and then commits.  I can successfully create sales activities using this RFC from the GUI.  I have connected it to a web dynpro screen and am sending the same information I send from the GUI but get the following error message
    Msg Type I.  Start Processing of refernce object - Handle generated: $000000001 Message variable $000000001 Msg.no 000000 Msg.no 082 MessageID V3 Lines in parameter 0
    Msg Type I.  Integrity rule F0026 broken (field check) - Object $000000001! Msg Variable F0026 Msg Variable $000000001 Msg.no 000000 Msg.no 084 MessageID V3 Lines in Parameter 0
    Msg Type E.  Partner function CR is not defined from fiedl VBKAKOM-PARVW_BPARNR Msg Variable CR Msg Variable VBAKOM-PARVW_BPARNR Msg.no 000000 Msg.no 688 MessageID V1 Lines in Parameter 0
    Msg Type I.  Integrity Rule D0008 broken(dependency) - Object CR VBKAKOM-PARVW_BPARNR! Msg Variable D0008 Msg Variable VBAKOM-PARVW_BPARNR Msg Variable CR Msg.no 000000 Msg.no 085 MessageID V3 Lines in Parameter 0
    Msg Type I.  Business partner 100000000 with function CR from VBKAKOM not in VBPAKOM Msg Variable D0008 Msg Variable 100000000 Msg Variable CR Msg.no 000000 Msg.no 075 MessageID V3 Lines in Parameter 0
    The implementation within web dynpro is forcing to add a Bapi_Sender which I don't have to specify when using the GUI.  I am sending a bapi_sender object in the call with no information which is what I do when using the GUI.  As I mentioned before the parameters I am sending work perfectly when sent from the GUI.
    Any help would be greatly appreciated and I will award generous points. FYI I am also going to post this in the ABAP forum.
    Thanks in advance John Abbott

    Hello John,
    seems to be a customizing problem in SAP. Error says, that the Partner function CR is not properly configured in the tables VBKAKOM and VBPAKOM.
    Did you try to execute the bapi from se37 with function module -> test -> single test ? That is a comparable situation
    The sender has to be a logical system, that in this case, i suppose, has to be declared in SAP (and referenced in the Partner function) to create Data. It depends on the 'type' of function you are executing, reading or creating data in SAP.
    Regards Andreas
    Message was edited by: Andreas Milbredt

  • Call transaction MMBE from another program and press Back button

    Hello,
    I have program that is used as a 'launch pad' for some of our heavily used transactions. When I call the main 'launch pad' program, the user will select a button and a Call Transaction MMBE is initiated (USING the first screen). The user selects a material for display and presses the execute button (F8). The material overview is displayed correctly.  When the user presses the Back button (F12), transaction returns all the way back to the first called program and not to the first screen for transaction MMBE as expected.
    Does anyone know how I can change the screen flow and go back to the fist screen of MMBE and not the screen of the first called program?
    Regards,
    RC

    Rod,
    In your case i think it is not possible as it is standard functionality by SAP.
    Try work around, may be modification to the program will work.
    Regards,
    Amey

  • Calling transaction SECATT from webdynpro UI

    Hi friends,
    I want to open the secatt applications second screen from webdynpro UI. For this I am using the following code on webdynpro side
    CALL METHOD cl_wd_utilities=>construct_wd_url
            EXPORTING
              application_name = 'appname'
            IMPORTING
              out_absolute_url = lv_final_url.
    SPLIT lv_final_url AT 'webdynpro' INTO lv_first_url lv_second_url.
            SPLIT lv_second_url AT 'ztwb_tor' INTO lv_final_url lv_apostrophe.
            CLEAR lv_final_url.
            CONCATENATE  lv_first_url '/gui/sap/its/webgui?TRANSACTION=secatt&RB_TEST_CONFIG=X&RB_ECATT_SCRIPT=&    ECTC_VER-NAME ='  ls_ztwb_test_case-testcase '&okcode=ECOB_SHOW' lv_apostrophe
                INTO lv_final_url.
    CALL METHOD lo_window_manager->create_external_window
            EXPORTING
              url    = lv_final_url
            RECEIVING
              window = lo_window.
          lo_window->open( ).
    But I am still able to open the first screen of secatt and not the second screen with the relevant testcase datails.
    But if I try to open the second screen of SCAT transaction I am able to open it using the following url.
    CONCATENATE  lv_first_url '/gui/sap/its/webgui?TRANSACTION=SCAT&*CATA-ABLNR=' ls_ztwb_test_case-testcase '&okcode=ZEIG' lv_apostrophe
                INTO lv_final_url.
    Is there anything else that I need to pass as parameters in SECATT transaction.
    The program of SCAT transaction is a module pool program.
    The program of secatt transaction is a function pool program.

    Hi Jenish,
    As I am new to WebDynpro for ABAP I could not help you out exactly.But See this link which will help you to create applications in WebDynpro by using ABAP language.
    https://www.sdn.sap.com/irj/sdn/developerareas/abap?
    rid=/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    If you get any answer for your question let me know.
    Regards,
    Karthick K Eswaran

  • How to call transaction PC00_M10_CDTC from webdynpro?

    Hi all,
    I am newbie to webdypro. I need a step by step guidance on this. I have come across a solution by Vishal Kapoor as followed. But I need more elaboration on the steps.
    1: Call below method to get host, port and protocol
    cl_http_server=>if_http_server~get_location
    2: concatenate protocol '://' host ':' port '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction='your tcode name' into url
    3: get the window manager as we are opening t code in external window.
    DATA lo_window_manager TYPE REF TO if_wd_window_manager.
    DATA lo_api_component TYPE REF TO if_wd_component.
    DATA lo_window TYPE REF TO if_wd_window.
    lo_api_component = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    4: Call the url which we created above
    lo_window_manager->create_external_window(
    EXPORTING
    url = url
    RECEIVING
    window = lo_window ).
    The T code will be executed using the integrated ITS
    Questions:
    1. what ui element do i need? (link to url?)
    2. Where do i put in this chunk of codes? ( create a abc method?)
    3. How can I trigger this piece of code from the ui element? ( the connection/link between the ui element and method)
    Thanks all in advance.
    Edited by: Siong Chao on Mar 22, 2010 5:22 AM
    Edited by: Siong Chao on Mar 22, 2010 5:25 AM

    Hi,
    1. First decide when you have to call this transaction.. I  mean which UI element must be used..ie whether on clicking a link ( either link to Action or Link to URL UI element ) or just  need to call after a pressing a button(UI element ) likewise..
    2. Suppose If you are using a link to action UI element, give some text in the Text property and create an event in OnAction method..
    3. Double click that method and wrote the coding u want.. I mean as  u mentioned before.. For example
    i have used
       DATA LO_COMPONENTCONTROLLER TYPE REF TO IG_COMPONENTCONTROLLER .
      LO_COMPONENTCONTROLLER =   WD_THIS->GET_COMPONENTCONTROLLER_CTR( ).
        DATA LO_API_COMPONENTCONTROLLER TYPE REF TO IF_WD_COMPONENT.
        LO_API_COMPONENTCONTROLLER = LO_COMPONENTCONTROLLER->WD_GET_API( ).
      DATA LO_WINDOW_MANAGER TYPE REF TO IF_WD_WINDOW_MANAGER.
      CALL METHOD LO_API_COMPONENTCONTROLLER->GET_WINDOW_MANAGER
        RECEIVING
          WINDOW_MANAGER = LO_WINDOW_MANAGER.
      DATA LO_WD_WINDOW TYPE REF TO IF_WD_WINDOW.
      CALL METHOD LO_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW
        EXPORTING
          URL           =
    'http:<domain>/sap/bc/gui/sap/its/webgui?~TRANSACTION=<urtransaction name>'
         TITLE          = 'Display Material'
    *    MODAL          = ABAP_FALSE
    *    HAS_MENUBAR    = ABAP_TRUE
    *    IS_RESIZABLE   = ABAP_TRUE
    *    HAS_SCROLLBARS = ABAP_TRUE
    *    HAS_STATUSBAR  = ABAP_TRUE
    *    HAS_TOOLBAR    = ABAP_TRUE
    *    HAS_LOCATION   = ABAP_TRUE
        RECEIVING
          WINDOW         = LO_WD_WINDOW.
      LO_WD_WINDOW->open( )
    Suppose if u want to create a Link to URL UI element.. Just create it and pass URL to the  Reference Property of that.. Ur URl will automatically called in new window..

  • Transaction variant for Goods Issue going back to MB1A transaction screen

    Hello,
    I have created a transaction variant ZMB1A for Goods issue.
    When the goods issue transaction completed by using ZMB1A system again going back to the initial screen of MB1A. (Since it is the base of MB1A)
    Here the issue is everytime user had to enter the ZMB1A transaction. (for example if the user wants to issue material for different plants).
    Please suggest any suitable method to avoid the above multiple t code execution.
    Regards
    Rifaie M

    Hi,
    In SHD0, do the complete processing of Transaction MB1A during creation of Transaction Variant "ZMB1A" till posting of the Material document.
    To create a new T-Code as ZMB1A, go to Transaction SE93 and here enter Transaction Code as ZMB1A and Click Create button. Now enter Short text of Transaction and select option "Transaction with Variant (Variant transaction)" and press enter.
    Here enter following;
    Transaction             MB1A
    Transaction variant     ZMB1A
    Activate "Cross-client"
    Select Professional User Transaction
    Activate SAP GUI for HTML
    Activate SAP GUI for Java
    Activate SAP GUI for Windows
    Now Click SAVE button.
    Now you can start using Transaction ZMB1A which will call Transaction Variant ZMB1A.

  • Call transaction in ALV report

    Dear Experts,
    I want to call transaction HUMO from my ALV report on double click on Handling unit no.
    I want to pass the Handling unit through my report and skip the first screen.
    I try it using Call Transaction but the filed Handling unit doesn't have a parameter ID.
    I also try it using Submit but the program is a function pool.
    Can anyone please help me out in solving the issue.
    Thanks in advance
    Best regards
    Ankur G.

    Hai,
    This can be achieved by creating custom parameter id.
    1.Go to the table maintenance generator of the table TPARA and go to the Maintain button through the transaction SM30. 
    Enter the table view name TPARA.
    2.Click on the maintain button. The following information will appear. Click on the Tick button or the ENTER button to go to the next screen.
    3.Enter the Set/Get parameter id as the parameter ID you want to create. Here, I will be creating the parameter Id as ZNAME_DATA1. Click on ENTER button.
    4.It will ask for the text of the parameter Id. Enter the text of the parameter ID and click on the Save button.
    5.Now go to the SE11 transaction for creating a data element and enter the parameter id at the Further Characteristics tab at the parameter Id section.
    6.Activate the data element and use it with the program. It will act the same good as a standard one.

  • Call transaction

    Hi All,
    I'm  calling  transaction MD03 from my report to  run MRP on single material using following code.
    FORM RUN_MRP.
    read line sy-lilli field value pick2.
    if pick2 EQ 'X'.
      set parameter id 'MAT' field itb1-matnr .
      set parameter id 'WRK' field p_werks.
      call transaction 'MD03' and skip first screen.
    endif.
    ENDFORM.
    I want  this whole process in background. I mean I dont want to go to MD03 screens. if click on any line in report, background it sould run MRP. Could any one suggest me in this regard.
    Thanks and regards

    HI,
    DATA options TYPE ctu_params
    options-dismode = 'N'. 
    A     Display all screens
    E     Display errors
    N     Background processing
    P     Background processing; debugging possible
    CALL TRANSACTION 'SE24' USING bdcdata_tab OPTIONS FROM options..
    This will run in bak ground mode..
    reward if useful
    regards,
    nazeer

  • Call transaction 'SE38'

    Hi,
    i'm calling transaction SE38 from my report.
    First try was this:
    set parameter id 'RID' field selfield-value.
      call transaction 'SE38' and skip first screen.
    But the first screen is not skipped, it just stays on the entry screen with the reportname correctly filled.
    After that i tried
    bdcdyn 'SAPLWBABAP' '0100'.
      bdcfil 'BDC_OKCODE' '=SHOP'.
      bdcfil 'RS38M-PROGRAMM' selfield-value.
      bdcfil 'RS38M-FUNC_EDIT' 'X'.
    CALL TRANSACTION 'SE38' USING it_bdc MODE 'E'.
    This is working, but the old editor is called and not the new one.
    So at least, its working, but i really would like to call the new editor (which is configured in utilities/settings) instead od the backend editor.
    Any idea why in the first example the editor is noit called?

    Hi,
    CALL TRANSACTION ..... AND SKIP FIRST SCREEN only skips the first screen if you can get from the first to the second screen by pressing enter.  If you have to use a function key it wil stay on the first screen.
    For example, most of the functional transactions (FB03, VA03 etc...) will skip the first screen, but anything like SE38, SE11 etc need a function key to progress.
    Regards,
    Nick

Maybe you are looking for

  • ITunes 10 will not eject a CD

    After I have import sa CD into iTunes, the CD will not eject from iTunes.  If I use the eject keyboard key, or move the CD to trash, I receive a message THE DISK WASN'T EJECTED BECAUSE ONE OR MORE PROGRAMS MAY BE USING IT. So I FORCE EJECT and that d

  • Filter condition for Webi report scheduling

    Hello, I have a Webi report with a query that has one filter (it states the starting and ending date of data to be displayed in the report). This report has to be scheduled but it has to contain different filter values each time the report is run. I'

  • How to Create an Input Enabled Query

    Thanks in advance for your help, and sorry for the seemingly simple question, but I am new to integrated planning. I am trying to provide a simple method for the end users to update planning data in a cube.  From what I read I should be able to do th

  • Type conflict at call of a method

    HI Guru's, My name is Sreekar, i am working on FS-RI Workflow. i want to trigger a workflow when status change in standard screen after pressing save button my workflow will trigger.my abap code is follows. TYPES: BEGIN OF TY_LT_CONTAINER,           

  • What is the best way to obliterate a scratch on the back of the iPad?

    As the subject says, I need to make a scratch go away on the back of my iPad.  I don't know what made the scratch, but it is about 2 inches long and extends from near the center (doesn't touch the apple) toward the edge.  I don't want to touch any st