Execute automatically when calling transaction iview

Hi All,
I am navigating to a "Transaction iView" (SAPGUI for Windows) from a WebDynpro application.
I am able to fill all screen fields dynamically, but I have a problem executing the transaction.
I have tried passing a parameter called "OkCode" (or "OKCODE" or "OK-CODE") with the value "MELD" (transaction IW52) but it's not working.
Any Ideas?
Aviad

If that transaction accepts any value, you can use this code to send params to SAP R/3.
WDPortalNavigation.navigateAbsolute(PageURL, WDPortalNavigationMode.SHOW_INPLACE, WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
queryString);
like this way,
String OkcodeStr = "MELD";
WDPortalNavigation.navigateAbsolute(
"ROLES://portal_content/...iview path";,
WDPortalNavigationMode.SHOW_EXTERNAL,
(String) null,
(String) null,
WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
(String) null,
(String) null,
"OkCode="OkcodeStr);
OkCode - is the SAP Transaction input param (Give same name)
Regards,
Sridhar

Similar Messages

  • How can java programs execute automatically when it connects to network

    Good Day dears...
    How can java programs execute automatically when it connects to network.
    Thanks in Advance friends Shackir

    884924 wrote:
    Good Day dears...
    How can java programs execute automatically when it connects to network.What is "it"? That is, execute when what connects to the network?
    Your computer? If that's what you mean, this is not a Java question. It's an OS operational/administrative question. Executing any program, whether written in Java or not, based on some system event has to do with that system, not with the program. If it's possible to do this, you'd do it exactly the same way for a Java program as you would for any other program.
    Or is "it" the program itself? If this is what you mean, then it's a nonsensical question. For the program to connect to the network and detect that it has connected to the network, it must already be executing, so asking how to execute it at that point is meaningless.
    Finally, I'll point out that "connecting to the network" is a pretty meaningless phrase. Or rather, it has so many potentially valid meanings that it's impossible to know which one you're referring to when you use that phrase. And I'd be willing to bet you don't have a clear picture of that yourself.

  • Calling Transactional IVIEW

    Hi ,
    Created a Transactional Iview for Custom Tcode.In portal as well i was able to look into the preview of the transaction code.
    I used the follwing code to navigate this Transactional IView in the ABAP WEBDYNP which is been linked to an action button .There is no view or dump comming up when i hit the button .
    The code is as below for navigation :
    data lr_componentcontroller type ref to ig_componentcontroller .
    data l_api_componentcontroller type ref to if_wd_component.
    data lr_port_manager type ref to if_wd_portal_integration.
    lr_componentcontroller = wd_this->get_componentcontroller_ctr( ).
    l_api_componentcontroller = lr_componentcontroller->wd_get_api( ).
    lr_port_manager = l_api_componentcontroller->get_portal_manager( ).
    Data: target type string.
    target = 'pcd:portal_content/com.rc.folder.support_development/com.rc.folder.service_requests/com.rc.iview.empl_certificate'.
    call method lr_port_manager->navigate_absolute
    exporting
    navigation_target = target .
    I am getting Wait Message if I give as sepcified above, and if add 'Roles://' to the starting of target String (PCD Path) its not showing me anything.
    Just wondering what else i was missing ..any suggestion would be helpfull..
    Regards,
    Manohar

    Hi Manohar,
    I gave this string and it worked fine
    ROLES://portal_content/com.XYZ.APPL/com.apple.Userid/com.XYZ.Demo1/com.XYZ.role.role/com.XYZ.role.DEMO1/com.sap.netweaver.bc.uwl.uwl_page'
    I got this from properties of iView.
    Hopefully this helps you.
    Regards,
    Priya

  • I want to Hide Back option but Not Save option when using transaction iview

    Hi,
    Sap Guru's
    I am new in Sap EP.... I am using Transaction iviews in the portal....  I want to Hide Back option but not the Save Option of transactions....I want to hide it from  potal ...... Is it Possible.....
    I have done settings in  SICF Tcode in ECC system as Following:
    ~Webgui = 1
    ~Webgui_simple_toolbar = 160, 2, 4, 16, 32, 64 and some more values... It is hiding the Back option but also the Save Option....
    I also want to disable commands as Ctlr  + S , shift + F3
    Suggest me some solution so that this can be done from portal instead of ECC systems.....
    Thank's in Advance
    Regards-
    Sumeet Sharma

    Hai,
      Kalyan,
    I have done this problem using SICF but instead of Hiding Back option .. I have allowed a user to run only one transaction using an iview....
    Put following parameter in SICF:
    ~webgui = 1
    ~theme = Sl
    ~SINGLETRANSACTION = 1
    By this configuration user will be able to execute only one transaction i.e  assigned him in his transaction iview.... It's an alternate solution of hiding back......
    when user click front screen back option of an transaction iview he will get message ... Logged off....
    Regards-
    Sumeet Sharma

  • Skip first screen when calling transaction via  BDC

    I need to use BDC to call transaction FD32 and suppress the first screen. Do I need to set BDC_OKCODE? However, when I set BDC_OKCODE to '/00', this error occured, "System error: Error in routine DYNPRO_ERSTES_BILD".
    Here is my code:
    CLEAR ls_bdcdata.
    ls_bdcdata-program  = 'SAPMF02C'.
    ls_bdcdata-dynpro   = '0100'.
    ls_bdcdata-dynbegin = 'X'.
    APPEND ls_bdcdata TO lt_bdcdata.
    CLEAR ls_bdcdata.
    ls_bdcdata-fnam = 'RF02L-KUNNR'.
    ls_bdcdata-fval = gs_data-kunnr.
    APPEND ls_bdcdata TO lt_bdcdata.
    CLEAR ls_bdcdata.
    ls_bdcdata-fnam = 'RF02L-KKBER'.
    ls_bdcdata-fval = p_kkber.
    APPEND ls_bdcdata TO lt_bdcdata.
    CLEAR ls_bdcdata.
    ls_bdcdata-fnam = 'RF02L-D0105'.
    ls_bdcdata-fval = 'X'.
    APPEND ls_bdcdata TO lt_bdcdata.
    CLEAR ls_bdcdata.
    ls_bdcdata-fnam = 'BDC_OKCODE'.
    ls_bdcdata-fval = '/00'.
    APPEND ls_bdcdata TO lt_bdcdata.
    opt-dismode = 'E'.
    opt-defsize = 'X'.
    CALL TRANSACTION 'FD32' USING lt_bdcdata OPTIONS FROM opt.
    Any suggestions?

    Hi,
    Try this..This is working fine for me..
    CLEAR ls_bdcdata.
    ls_bdcdata-program = 'SAPMF02C'.
    ls_bdcdata-dynpro = '0100'.
    ls_bdcdata-dynbegin = 'X'.
    APPEND ls_bdcdata TO lt_bdcdata.
    CLEAR ls_bdcdata.
    ls_bdcdata-fnam = 'BDC_CURSOR'.
    ls_bdcdata-fval = 'RF02L-D0110'.
    APPEND ls_bdcdata TO lt_bdcdata.
    CLEAR ls_bdcdata.
    ls_bdcdata-fnam = 'BDC_OKCODE'.
    ls_bdcdata-fval = '/00'.
    APPEND ls_bdcdata TO lt_bdcdata.
    CLEAR ls_bdcdata.
    ls_bdcdata-fnam = 'RF02L-KUNNR'.
    ls_bdcdata-fval = gs_data-kunnr.
    APPEND ls_bdcdata TO lt_bdcdata.
    CLEAR ls_bdcdata.
    ls_bdcdata-fnam = 'RF02L-KKBER'.
    ls_bdcdata-fval = p_kkber.
    APPEND ls_bdcdata TO lt_bdcdata.
    CLEAR ls_bdcdata.
    ls_bdcdata-fnam = 'RF02L-D0105'.
    ls_bdcdata-fval = 'X'.
    APPEND ls_bdcdata TO lt_bdcdata.
    CLEAR ls_bdcdata.
    ls_bdcdata-fnam = 'RF02L-D0110'.
    ls_bdcdata-fval = 'X'.
    APPEND ls_bdcdata TO lt_bdcdata.
    CLEAR ls_bdcdata.
    ls_bdcdata-fnam = 'RF02L-D0120'.
    ls_bdcdata-fval = 'X'.
    APPEND ls_bdcdata TO lt_bdcdata.
    CALL TRANSACTION 'FD32' USING lt_bdcdata MODE 'E'.
    Thanks,
    Naren

  • ABAP WebDynpro app calling Transaction iview with Dynamic Parameters..?

    Good day!
    I need to code a call to a transaction (with dynamic parameters) from an Abap WD application.  It appears that to achieve this, the app needs to call a new portal transaction iview, passing the parameters in the call..? 
    This should ideally be via a Sapgui for Windows, but Html also an option (does it matter with regards to the method used?). 
    Kindly assist with advise/instructions, idealy with sample code extract to illustrate (new to Abap WD)...
    Kind regards
    j

    Hi
    this will help you doing so
    http://help.sap.com/saphelp_nw04s/helpdata/en/18/f96f4132f15c58e10000000a1550b0/frameset.htm
    Use BUSINESS_PARAMETERS to pass the data
    Abhi

  • How to track error message when calling Transaction: va02

    Hi all,
        As we all know, when we change an order through T-Code: VA02, system will update modified data to corresponding database. Meanwhile, if our operate is not legal or incorrect on T-code: VA02, system will call corresponding error messages to us.
        Now I want to know:
       1. how to track the error messages
       2. Is there any Tcode such as: SM21 that we can see the message logs after our operation?
    Thanks.

    Hi ,
    message table for call transaction
    DATA: BEGIN OF G_T_MSG OCCURS 0.
            INCLUDE STRUCTURE BDCMSGCOLL.
    DATA: END OF G_T_MSG.
    Exucute transaction via Call Transaction
      CALL TRANSACTION  'FB01'
                     USING g_t_bdcdata
                     MODE g_l_mode
                     UPDATE 'S'
                     MESSAGES INTO g_t_msg          .
    errors will be stpored in the table g_t_msg ..
    Thanks .

  • Calling transaction iview and coming back to abap iview

    Hello all,
    Is it possible to call a transaction iview from abap webdynpro application iview and come back to it after we are finishing running the transaction?  I know I can use the navigate_absolute method to call the transaction iview but i want to know if we can come back to the original abap iview, which called this transaction iview.
    resume suspend is not an option since they do not work in portal as per the sap help.
    Thanks.
    J.

    thanks

  • How to Call Transaction iView that calls RRMXP from Web Dynpro for ABAP

    Dear Experts,,
    I'm developing an application in Web Dynpro for ABAP wherein I'm supposed to give a link that should open an SAP Transaction iView that calls  tcode = 'RRMXP' and I pass the application parameter as QUERY/WBID = <BI query/Workbook ID>.
    I tried calling com.sap.portal.appintegrator.sap.bwc.Transaction iView, but it asks for system/application and GUI type parameters. How to pass through the URL?
    Any help would be highly appreciated
    Regds,
    Srini

    Hi Wolfgang,,
    My problem was that I was supposed to call the BeX Web Analyser ( a BI excel based tool - client installation) on click of a button in my WD-ABAP application. I solved it as follows :
    In the portal pcd, I cam across a folder content provided by SAP. Here, you'll find standard template iViews that can be used to call applications ( for which you make iViews). I had to call an SAP TCode : RRMXP so as to call a BI Workbook/Query.
    So, I called the standard iView template for sap_transaction_iView as follows :
    irj/servlet/prt/portal/prtmode/preview/prtroot/'
               'pcd!3aportal_content!2fcom.sap.pct!2ftemplates'
               '!2fiviews!2fcom.sap.portal.sap_transaction_iview?'
               'sap-config-mode=true&System=BWR3System&TCode=RRMXP'
               '&GuiType=WinGui&OkCode=y&ApplicationParameter='  <appnm>  into url.
          l_popup =
             l_window_manager->create_external_window( url = url
                                          has_menubar = ' '
                                         has_statusbar = ' '
                                          has_toolbar = ' '
                                          has_location = ' ').
          l_popup->open( ).
    And , it worked.
    Any more help pls feel free to revert.
    Regds,
    Srini

  • Close command field ( one to execute the tcode ) in transactional iview

    Hi All,
    I need to close the command field ( one to execute the tcode at the top left corner ) in transactional iview.
    I know it has to do something with some services to be closed in sicf.
    Can anyone sugggest on this?
    Thanks and Regards,
    Nuzhat

    Hi Nuzhat,
    Please follow the steps below given
    In transaction SICF go to /sap/bc/gui/sap/its/webgui there you can modify some parameters by clicking on "GUI Configuration"
    and enter the following value:
    Parameter Name= ~WEBGUI_SIMPLE_TOOLBAR
    Value = one of the next values or the sum of the values of what you want.
    0 : Hiding the page header completely (not recommended)
    1 : Standard setting : This is the recommended standard setting in which the title and the menu bar below it with the Exit and Help button and the application buttons are displayed.
    2 : Displaying the title line
    4 : Displaying the buttons Exit and Help
    8 : Displaying the active system buttons on the screen (for example, Back and Cancel)*
    16 : Displaying the system menu
    32 : Displaying the application buttons
    128 : Deactivating the information block in the status bar (new)
    Thanks
    Murthy

  • Skipping multiple screens when calling transaction.

    Hi Gurus,
    It's quite easy to call transaction mm03 with from an ABAP program.
    Filling the parameter ID MAT with the material, and you're good to go.
    Call transaction 'MM03' and skip first screen.
    So far so good. But is it also possible to enter data for the next screens (you have to select a view and plant). Now the user still has to enter that data and I was wondering if I could do that automatically...
    kind regards,
    Ron.

    Hi
    CALL TRANSACTION ta USING bdc_tab
    bdc_tab of row type BDCDATA from the ABAP Dictionary
    regards
    Pavan

  • Execute button and call transaction

    Hi,
    I have 2 buttons - activate and deactivate in the selection screen of a classical report. I use call transaction to do the process and both the buttons work. But I have to click on the execute button on top left everytime before clicking on activate or deactivate buttons. Otherwise it gives the message No changes made after doing the call transaction.
    How to make it work without clicking on the execute button everytime?
    Regards,
    bindazme

    Hi Sesh,
    here is the code.
    Selection Screen Declaration
    selection-screen : begin of block blk1 with frame title text-001.
    parameters: s_matnr like qmat-matnr.
    parameters: s_werks like qmat-werks.
    parameters: p_insty like qmat-art.
    selection-screen  : end of block blk1.
    selection-screen : begin of block blk2 with frame title text-002,
                        begin of line,
                        pushbutton 2(20)  but1 user-command clk1,
                        pushbutton 32(20) but2 user-command clk2,
    selection-screen :  end of line,
                        end of block blk2.
    Selection Screen Output
    at selection-screen output.
       but1 = 'Activate Insp type'.
       but2 = 'DeActivate Insp type'.
    Start of selection
    at selection-screen.
    Acitvate Inspection type
    if  sy-ucomm = 'CLK1'.
    perform screen using: 'SAPLMGMM' '0060'.
    perform field using: 'BDC_CURSOR' 'RMMG1-MATNR',
    'RMMG1-MATNR' s_matnr,
    'BDC_OKCODE' '=AUSW'.
    call transaction 'MM02' using bdctab mode 'N' update 'L'.
    endif.
    DeActivate Inspection type
    if  sy-ucomm = 'CLK2'.
    perform screen using: 'SAPLMGMM' '0060'.
    perform field using: 'BDC_CURSOR' 'RMMG1-MATNR',
    'RMMG1-MATNR' s_matnr,
    'BDC_OKCODE' '=AUSW'.
    call transaction 'MM02' using bdctab mode 'N' update 'L'.
    endif.

  • Error when Calling Transaction in ABAP Proxy

    Hi All,
    I'm trying to call a transaction in synchronous ABAP Proxy, but there's a CNTL_ERROR in the details of SXMB_MONI.
    I've checked some threads related to this problem, but they're not solved yet.
    Please advise, can I use "call transaction" in synchronous ABAP Proxy ? Is there any additional setting / code to prevent the error ?
    Thanks in advance,
    Andy S

    Hi Stefan,
    I'm trying to assign marketing attributes in our CRM Business Partner Transaction, which is triggered by messages sent from some 3rd party application.
    Recently, I find out that this transaction (TCode BP) raise the same error (CNTL_ERROR) if run background from SM35. So the problem is not about calling transaction in ABAP Proxy, but due to the TCode BP itself.......
    My ABAPER friend is trying to find the BAPI to replace this call transaction .........
    Thanks a lot for your response........
    Regards,
    Andy S

  • ABORT_MESSAGE_STATE when calling transaction via integrated ITS

    Hello experts,
    we use ECC 6.0 (and therefore Netweaver 7).
    I try to start a customer transaction via integrated ITS on our consolidation system with the following link.
    http://  ...   :8080/sap/bc/gui/sap/its/webgui/!?~transaction=ZCO16&sap-client=200
    In our dev system all works fine so far. But in consoloidation I get errors showing in the browser after logon:
    Error when processing your request
    What has happened?
    The URL http://  ...   :8080/sap/bc/gui/sap/its/webgui/! was not called due to an error.
    Note
    The following error text was processed in the system Q01 : System error
    The error occurred on the application server asapt02sv1_Q01_00 and in the work process 1 .
    The termination type was: ABORT_MESSAGE_STATE
    The ABAP call stack was:
    SYSTEM-EXIT of program SAPMZCO002
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system Q01 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server asapt02sv1_Q01_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 1 in transaction ST11 on the application server asapt02sv1_Q01_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 200 -u: IE121 -l: E -s: Q01 -i: asapt02sv1_Q01_00 -w: 1 -d: 20080111 -t: 165033 -v: ABORT_MESSAGE_STATE -e: System error
    HTTP 500 - Internal Server Error
    SM21 says:
    16:37:04 DIA  001 200 IE121   ZCO1           W0  1 ITS, User session terminated   
    long message:
    ocumentation for system log message W0 1 :                            
    he user session has been terminated after an error in the log         
    onversion from SAPdiag to HTML. Look in the preceding syslog entries to
    ind the cause of the error. For more error details, refer to the trace
    iles.                                                                 
    16:37:04 DIA  001 200 IE121   ZCO1           D0  1 Transaction Canceled ITS_P 001 ( )                
    long message:
    The transaction has been terminated.  This may be caused by a      
    termination message from the application (MESSAGE Axxx) or by an   
    error detected by the SAP System due to which it makes no sense to 
    proceed with the transaction.  The actual reason for the termination
    is indicated by the T100 message and the parameters.               
    The tracefile of the work process says:
    ========================================
    W Fri Jan 11 16:37:04 2008                                                                               
    W      *** ERROR => julep: PpioCreateParseTree:  IRepRetrieve(templates/system/header.html) failed. [w3xxppio.cpp 1184]             
    W      *** ERROR => julep: PpioCreateHtmlPP:  PpioCreateParseTree(templates/system/header.html) failed, rc=0x10c [w3xxppio.cpp 985] 
    W      *** ERROR => julep: XIntInterpret:  PpioCreateHtmlPP(templates/system/header.html) failed, rc=0x10c [w3xxjuce.cpp 529]       
    W      *** ERROR => xgdk: MsgtBuildHtmlBlock: IntpDoInterpret (templates/system/header.html) failed, rc=0x2101 [w3xxmsgt.c   220]   
    W      *** WARNING => diag: SemgXGHandleResponse: Returning rc=0xffffffcc [w3xxsemg.cpp 1490]                                       
    W      *** ERROR => plugin: XKrnHandleResponse failed rc= -52 [itspxkrn.cpp 764]                                                    
    W      *** ERROR => plugin: ItspXKrn_HandleResponse failed. 700000840333ba0 rc: 0 [itspxkrn.cpp 391]                                
    W    *** ERROR => ipl_ConvertOut failed rc = 1, send icf error page [itsplxx.c    1526]                                             
    M    ***LOG W01=>  [itsplxx.c    1527]                                                                               
    W    *** ERROR => ipl_ConvertOut returns 1(ITSPE_FAILURE) [itsplxx.c    1529]                                                       
    W    *** ERROR => Raise Last error:[1 from: itspxx.cpp  :817] [itsplxx.c    1216]                                                   
    W    *** ERROR => RaiseError(sapdext) ITS_P:01 [itspxx.cpp   817]                                                                   
    ==========================================
    I don't have any dumps.
    Please help. Thanks in advance.
    Frank

    Hello Ruchit,
    > Publishing is done via SE80 but may be it may not be needed. But you can try that out as well.
    Please advise. How do I this precisely?
    > Try this. Deactivate your SICF completely in consolidation system and then reactivate
    > it. After that give this a try.
    All services have been activated now (after deactivating first) but I have still the same symptom.
    > Also when you are trying to execute this customer transaction just compare the urls you
    > are getting in development and consolidation. I guess there is an issue with the
    > url you are getting.
    I get exact the same URL after (except the hostname of course):
    http:// ... 8080/sap/bc/gui/sap/its/webgui/!?sap-system-login-basic_auth=X&sap-client=200&sap-language=EN&%7Etransaction=ZCO16
    Regards.
    Frank

  • LOAD_PROGRAM_NOT_FOUND when calling transaction in ECC6 from CRM3.0

    Hi
    Very new to CRM so would appreciate any assistance here.
    We have a CRM 3.0 system and have recently replaced the old 4.7 R3 system with ECC6  The ECC6 system has a different logical system name to the old 4.7 system.  We have created a new RFC destination, a new logical system name, linked then in BD97 etc as per note 363097.
    We then changed the logical system names in the action boxes to the new logical system.
    When we call the transactions in the new system it shortdumps in the destination system with LOAD_PROGRAM_NOT_FOUND and the program it is trying to load is as follows.
    /1ISU/ENMD4MAND300ZMK00000VA21.  This program name is what it tries to call when we want to call VA21 in the R3 system.  It is prefixing the transaction code with language, source logical system and action box configuration name.  You can change the transaction code to VA23 and the program name it dumps on becomes /1ISU/ENMD4MAND300ZMK00000VA23.
    Can anyone explain why it is doing this and what we can do to fix it?
    Thanks
    Leigh

    Hi Liegh,
    Even i was facing similar problem of Load_Program_not_found. For this you can check the program  name in your queus, which will give the name of the program which is not active, then check the same program in your debugging process above.
    Try and let me know, cos my problem was fixed by this.
    Best Regards,
    Madhup

Maybe you are looking for

  • To givingupusa - a simple Encore Tutorial

    To givingupusa - a simple Encore Tutorial I have CS5, so you need to go slowly to be sure you find the correct commands for your version of Premiere Pro and Encore This is for DVD only, since I don't do BluRay Verify these steps with the book or PDF

  • Adobe Photoshop CS5 Extended

    Mine is stuck like this, can someone help me download this damm programme, downloading programmes here in Adobe was nice, easy and stressless, but now it frustrates me like hell! First, It didn't download the programme when I clicked it here but then

  • Can I run Firefox in chromeless mode (ie. with no Windows borders etc)

    I think chromeless mode is the correct term to use. Basically I want to run Firefox 8 without the usual Windows borders. For example to run it un-maximised but looking just as it does when maximised. If I'm not being clear please ask questions. Thank

  • HT4235 Itunes only sees ipod nano in disk mode and still won't sync it

    I have to place my ipod nano in disk mode for itunes (or Windows for that matter) to find it. In disk mode Windows and Itunes see the ipod and it passes all the diagnostic tests save for the sync test where it can no longer see the ipod and apparentl

  • Oracle Management Server Service not created

    Hello, I created a Management Server Repository using OEMCA and an existing SID. According to the details displayed at the end of the wizard I assume that the process was finished successfully: (NT-Service OracleOraHome81 ManagementServer is started.