Agentry | Windows Command | Action Type | Issue

Hello Experts,
I am trying to open a Windows Application from an Agentry Application.
I am using an Action of type "Windows Command" which will be triggered on a button click in Agentry.
In the action definition I have specified the value to Command Line property in different ways as mentioned below;
1. C:/Path/To/My/App.exe
2. "C:/Path/To/My/App.exe"
3. C:/Path/To/My/App.exe arg1 arg2 (here, arg1 and arg2 are arguments/parameters specific to my App.exe)
4. "C:/Path/To/My/App.exe" arg1 arg2
All of the above mentioned values (one at a time) work for me and I can open the Windows App on click of a button in Agentry App.
The other properties;
"Wait" check box is unchecked.
"Continue Label" is set to OK
"Cancel Label" is set to Not Allowed
But the issue is, I am able to do this in ATE and not in Windows Client or on Windows Device.
ATE Version is Agentry v6.1.0.3
Windows Client Version is Agentry v6.1.3.10200 (SAP WM 6.0)
Also tried it on Windows Client Version Agentry v7.0.3.257 (SAP WM 6.1.0)
Please put in your valuable suggestions.
Thanks,
Dharmaraj Patil
Tags edited by: Michael Appleby

Hi Stephen,
Thanks for the reply.
I am using WPF Client for SAP WM 6.0 and also tried it on 6.1.0.
Ultimately, what I want to do is open another Windows App and pass few parameters to it.
Creating/ installing another app which does windows command line will complicate the things and add dependencies.
Whats your opinion?
Regards,
Dharmaraj

Similar Messages

  • I just started my creative cloud subscription and in AI i am trying to convert text to outlines but that command in type is not active!! can anybody tell me why? and what shall I do to activate it? i am using AI in windows 8

    I just started my creative cloud subscription and in AI i am trying to convert text to outlines but that command in type is not active!! can anybody tell me why? and what shall I do to activate it? i am using AI in windows 8

    Maybe look at this thread:
    Create Outlines greyed out when using a certain font

  • How to set Lov item property (Action type,event,parameter etc) in PR when page load

    Hi gurus
    I am new to OAF, First I need to explain my scenerio.
    I need to make some field mandatory or non mandatory based on one LOV item (Pick list or message choice list).
    for this i extended the controler and apply the changes, but in this case what heppen, It will effect only when i open the list (pop list) and click on more (Available in poplist) and it will open a new form and i select value from that form. But when I open the poplist and select the value from the same list rather going to more option (it does not open new form), then there are no effect. I though the issue with refreshing when selecting value from the same list.
    To resolving this issue what i did
    1. go to page == > the same LOV
    2. Change the Client Action properties (
         Action type  = fireAction
         event          = xxevent
        submit = true.
    After doing this when i run the page from my OAF enviroement , every thing is OK. Then I transfer the Controler to Server machine and change the controller and run the same page from the server, it has the same refreshing issue, Then I thought because I did not transfer LOV such properties so this is hepening,
    Now I want to initilize such properties in Page load or what I need to do, Please advise me.
    Regards,
    Haq

    Edward,
    Thank you for the suggestion! It directly lead to my solution wherein I used CASE statements for the column in my Region SELECT such as the following:
    WHEN (:P2_GRADING_METHOD = 'CR/NC' OR scs.scs_pass_audit = 'P') AND GET_GRADE_B93 (sac.stc_final_grade, sac.stc_verified_grade) IS NULL THEN htmldb_item.select_list_from_lov (5, 'Enter Grade', 'GRADE_LOV_CRNC','onBlur="return validate_grade(this,''FW_DATE_'||ROWNUM||''')"','NO',NULL,NULL,'GRADE_'||ROWNUM)
    When the column is NULL, the Select List (LOV) contains the entry 'Enter Grade' and that is the value displayed on page load. I bypass the value 'Enter Grade' during Submit Processing where database updating occurs.
    I did not find the need to enter values for p_null_value and p_null_text since I don't believe that it would cause the 'Enter Grade' value to display on page load for null value columns but rather would enable the user to select 'Enter Grade' from the list and have a specified return value stored in htmldb_item array.
    Again, thank you for the help!

  • Unable to connect to database from windows command prompt

    Hi All,
    Im trying to connect to Oracle database from my windows command prompt, these are the steps I followed:
    1) cd C:\oracle\product\11.2.0\client_1\sqlplus
    2) sqlplus username\password@hostname:1521\service_name
    I do get the error ORA-06401: NETCMN: invalid driver designator
    I did try using the SQLPLUS \NOLOG
    Connect username\password@hostname:1521\service_name
    I still get the same error.
    I did manually type all the commands to make sure no additional charaters coming and etc...How shall I overcome this...

    user9103174 wrote:
    Hi All,
    Im trying to connect to Oracle database from my windows command prompt, these are the steps I followed:
    1) cd C:\oracle\product\11.2.0\client_1\sqlplus
    2) sqlplus username\password@hostname:1521\service_name
    I do get the error ORA-06401: NETCMN: invalid driver designator
    I did try using the SQLPLUS \NOLOG
    Connect username\password@hostname:1521\service_name
    I still get the same error.
    I did manually type all the commands to make sure no additional charaters coming and etc...How shall I overcome this...do you desire/plan on using EZCONNECT or tnsnames.ora entry?
    EZCONNECT sample is below
    sqlplus user1/pass1@'dbserver:1521/orcl_sid'

  • Can't run java .class programs from Windows command line!

    I have tried to get a program that I wrote with the JDK to run from the Windows command line, but it is not working. I typed:
    java HelloWorld
    Where my .class was HelloWorld.class, a compiled java program. I spelled the name correctly (and I am in the correct directory), yet I get the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld
    I think something is screwy with windows, but that's just me. Any ideas??

    Likely a CLASSPATH issue - try
    java -classpath . HelloWorldGood Luck
    Lee

  • WebDynpro Action Types : Validating vs Non Validating Action Types

    Hi
    Can someone tell me the difference between Validating and Non Validating Action Types in webdynpro. I read it through, but its not very clear.
    regards
    Saurabh

    HI Maksim,
    Thanx it helped !!
    I need some more help. I have a PAR file which displays an employees CV in an IView. I want to print only the content in the iView (i.e the CV) not the complete page with Roles and worksets, is there some code that can do this.
    I need to place a button on the CV (in the iView) and on the click of the button the CV (iView) gets printed.
    A workaround for this is that I open the CV (from the iView Personalization ) in a new window and then from the File menu of the new window fire the Print option. But I dont want to do it this way.
    I want to Print the CV from the parent window only.
    Plz suggest !!
    Regards
    Saurabh

  • Windows command length execeeded when add java options in opmn.xml

    Hi All,
    I have a Oracle AS 9i installed on Windows 2000. There are some requirement from my application that need to add additional java-options when start up OC4J. So, I updated the opmn.xml by add my things to <data id="java-options" > for start-parameters.
    But when I start up server, I got following information in ipm.log:
    06/05/16 17:18:06 create_proc: Windows command length exceeded: D:\ora9ias\jdk\bin\javaw.exe
    I have tried Oracle AS 10g with the same OS and java-options, the server can start up without any problem.
    Is there anyway to make Oracle AS 9i work in this situation?
    Thanks for any help.

    Hi again,
    Solved the issue simply by editing the xml file with sed:
    VAR1='OC4J_I413\/config\/java2\.policy -Djava\.awt\.headless\=true -Dhttp\.webdir\.enable\=false -XX\:MaxPermSize\=128M -Xms512M -Xmx1024M -XX\:AppendRatio\=3\"\/\>'
    VAR2='OC4J_I413\/config\/java2\.policy -Djava\.awt\.headless\=true -Dhttp\.webdir\.enable\=false -XX\:MaxPermSize\=256M -Xms512M -Xmx1024M -XX\:AppendRatio\=3 -Duser\.country\=SE -Duser\.language\=sv\"\/\>'
    sed "s/$VAR1/$VAR2/" opmn.xml > Newopmn.xml; cp Newopmn.xml opmn.xml
    This is a text string that contains start parameters and it can be found here:
    <category id="start-parameters">
    <data id="java-options" value="-server -Djava.security.policy=$ORACLE_HOME/j2ee/OC4J_I413/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -XX:MaxPermSize=128M -Xms512M -Xmx1024M -XX:AppendRatio=3"/>
    //Kerstin

  • Pass UTF character literal from Windows command prompt

    I'm trying to pass \u00fd (� - 0253) via the windows command line as a parameter to a java app. "DOS" is converting it to a superscripted 2. Any ideas on how to work around this? It works fine if I pass the parameter via a windows program.
    Thanks

    \00fd is "Latin Small Letter Y With Acute" according to my Unicode crib. But your DOS window doesn't use Unicode, it uses CP437 or CP850 depending on where in the world it thinks you live. (Both of them have the superscript-2 character at the FD code point.) I don't see the y-acute character anywhere in CP437, so if you're in North America (or maybe Britain too?) you can't do that. In CP850 the EC (decimal 236) code point is y-acute.
    However you aren't out of luck in either case. There is a DOS command "chcp". If you type "chcp" at the command line it tells you what your code page is. If you type "chcp 850" at the command line it will change your code page to CP850, if it can.
    (I am getting all this information from my MS-DOS 5.0 User's Guide and Reference, by the way. I may put it up for sale on eBay.)

  • RFID Fixed Device: Different action type

    Hi Forum,
    we are working with a fixed device.
    The same "device group" could send via PML message different command:
    - Tag commissioning
    - Tag decommissioning
    AII determines and execute the right "rule"
    Unfortunately AII determines the same "action type", because in customizing  ("Condition and rule --> Activities --> Assign action type to Device Group role") to the same Business Role/Doc Type we could assign just one default  "action type".
    How could we address different action type? Is there an additional field in PML message we could manage? Or ...?

    Hi Paolo
    There are two ways:
    1.Maintain different device groups for different roles corresponding to different action types. Thus, in this approach it is not possible to assign different roles to same device group.
    2. Alternatively, define one device group. To this device group assign <i><b>ALL Roles</b></i>. Now assign different action types to this <i>AII Roles</i>. 
    Also maintain the condition for fixed devices for different business processes.
    Going by second approach you will be able to assign diiferent action types to one role (i.e. ALL Roles) under one device group.
    The only problem with the second approach is, you wont be able to maintain the different location ids for different processes for the same device group.

  • Open Page in new window using action link

    How do I open a page in a new window, using action link ?
    If I put javascript window.open in OnClick event, the action event ins�t called.

    Hi,
    The window.open method can be used with the hyperlink component. So please try it with a hyperlink component.
    Cheers
    Giri :-)
    Creator Team

  • Short Dump while executing New Hire (action type) in PA40

    Hi All,
    i am getting short dump while executing PA40 for new hire action type can anyone look into this and guide as i am new to HCM.
    Category               ABAP Programming Error                                                      
    Runtime Errors         SYNTAX_ERROR                                                                
    ABAP Program           /1PAPAXX/HDR_21000A                                                         
    Application Component  Not Assigned                                                                
    Date and Time          21.08.2014 14:07:03                                                         
    Short text                                                                                       
        Syntax error in program "/1PAPAXX/HDR_21000A ".                                              
    What happened?                                                                                   
        Error in the ABAP Application Program                                                        
        The current ABAP program "SAPFP50M" had to be terminated because it has                      
        come across a statement that unfortunately cannot be executed.                               
        The following syntax error occurred in program "/1PAPAXX/HDR_21000A " in                     
        include "/1PAPAXX/HDR_21000AO01 " in                                                        
        line 52:                                                                                     
        ""LV_LENGTH" has already been declared"                                                      
        The include has been created and last changed by:                                            
        Created by: "HCM04 "                                                                         
        Last changed by: "HCM03 "                                                                    
        Error in the ABAP Application Program                                                        
        The current ABAP program "SAPFP50M" had to be terminated because it has                      
        come across a statement that unfortunately cannot be executed.                               
    What can you do?                                                                                 
        Please eliminate the error by performing a syntax check                                      
        (or an extended program check) on the program "/1PAPAXX/HDR_21000A ".                        
        You can also perform the syntax check from the ABAP Editor.                                  
        If the problem persists, proceed as follows:                                                 
        Note down which actions and inputs caused the error.                                         
        To process the problem further, contact you SAP system                                       
        administrator.                                                                               
        Using Transaction ST22 for ABAP Dump Analysis, you can look                                  
        at and manage termination messages, and you can also                                         
        keep them for a long time.                                                                   
    Error analysis                                                                                   
        The following syntax error was found in the program /1PAPAXX/HDR_21000A :                    
        ""LV_LENGTH" has already been declared"                                                      
    How to correct the error                                                                         
        Probably the only way to eliminate the error is to correct the program.                      
        If you cannot solve the problem yourself and want to send an error                           
        notification to SAP, include the following information:                                      
        1. The description of the current problem (short dump)                                       
           To save the description, choose "System->List->Save->Local File                           
        (Unconverted)".                                                                              
        2. Corresponding system log                                                                  
           Display the system log by calling transaction SM21.                                       
           Restrict the time interval to 10 minutes before and five minutes                          
        after the short dump. Then choose "System->List->Save->Local File                            
        (Unconverted)".                                                                              
        3. If the problem occurs in a problem of your own or a modified SAP                          
        program: The source code of the program                                                      
           In the editor, choose "Utilities->More                                                    
        Utilities->Upload/Download->Download".                                                       
        4. Details about the conditions under which the error occurred or which                      
        actions and input led to the error.                                                          
    System environment                                                                               
        SAP Release..... 731                                                                         
        SAP Basis Level. 0007                                                                        
        Application server... "dc-ds-erp"                                                            
        Network address...... "172.16.23.111"                                                        
        Operating system..... "Linux"                                                                
        Release.............. "3.0.13-0.27-default"                                                  
        Hardware type........ "x86_64"                                                               
        Character length.... 16 Bits                                                                 
        Pointer length....... 64 Bits                                                                
        Work process number.. 1                                                                      
        Shortdump setting.... "full"                                                                 
        Database server... "dc-ds-erp"                                                               
        Database type..... "ORACLE"                                                                  
        Database name..... "ECD"                                                                     
        Database user ID.. "SAPSR3"                                                                  
        Terminal.......... "NLC-HP"                                                                  
        Char.set.... "C"                                                                             
        SAP kernel....... 720                                                                        
        created (date)... "Sep 14 2013 06:16:24"                                                     
        create on........ "Linux GNU SLES-11 x86_64 cc4.3.4 use-pr130820"                            
        Database version. "OCI_112, 11.2.0.3.0, V1, default"                                         
        Patch level. 500                                                                             
        Patch text.. " "                                                                             
        Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*"              
        SAP database version. 720                                                                    
        Operating system..... "Linux 2.6, Linux 3"                                                   
        Memory consumption                                                                           
        Roll.... 0                                                                                   
        EM...... 37708200                                                                            
        Heap.... 0                                                                                   
        Page.... 106496                                                                              
        MM Used. 4666776                                                                             
        MM Free. 3709976                                                                             
    User and Transaction                                                                             
        Client.............. 210                                                                     
        User................ "HCM03"                                                                 
        Language key........ "E"                                                                     
        Transaction......... "PA40 "                                                                 
        Transaction ID...... "53EF470299AB5D67E1000000AC10176F"                                      
        EPP Whole Context ID.... "005056A301D11EE48A9D08B337F884E3"                                  
        EPP Connection ID....... 00000000000000000000000000000000                                    
        EPP Caller Counter...... 0                                                                   
        Program............. "SAPFP50M"                                                              
        Screen.............. "MP000000 1000"                                                         
        Screen Line......... 3                                                                       
        Debugger Active..... "none"                                                                  
    Information on where terminated                                                                  
        Termination occurred in the ABAP program "SAPFP50M" - in                                     
        "GET_HEADER_WITH_TCLAS".                                                                    
        The main program was "MP000000 ".                                                            
        In the source code you have the termination point in line 146                                
        of the (Include) program "FP50MDHD".                                                         
    Source Code Extract                                                                              
    Line
    SourceCde                                                                                  
      116
      CALL FUNCTION 'HR_HEADER_GET'                                                            
      117
          EXPORTING                                                                            
      118
               DHDID                    = FHD_HID                                              
      119
               BEGDA                    = BEGDA                                                
      120
               TCLAS                    = TCLAS                                                
      121
    * Es wird nur einer der folgenden 3 Parameter benutzt.                                     
      122
    * Ausgewertet wird zunaechst MOLGA, dann P0001 dann PERNR.                                 
      123
    * Der erste der nicht initial ist wird ausgewertet.                                        
      124
    *           MOLGA                   =                                                      
      125
               P0001                    = P0001                                                
      126
               PERNR                    = PSPAR-PERNR                                          
      127
          IMPORTING                                                                            
      128
               PROG                     = HEADER_PROG                                          
      129
               DNUM                     = HEADER_DYNNR                                         
      130
           EXCEPTIONS                                                                          
      131
                HEADER_DEACTIVATED          = 1                                                
      132
                HEADER_UNKNOWN              = 2                                                
      133
                HEADER_GENERATE_DEACTIVATED = 3                                                
      134
                HEADER_GENERATE_FAILED      = 4                                                
      135
                INTERNAL_ERROR              = 5                                                
      136
                OTHERS                      = 6.                                               
      137
      138
      IF NOT SY-SUBRC IS INITIAL.                                                              
      139
    * Bei Problemen gibt's eben ein leeres Dynpro.                                             
      140
        HEADER_PROG = 'SAPMP50A'.                                                              
      141
        HEADER_DYNNR = '0090'.                                                                 
      142
      ELSE.  " NOT sy-subrc IS INITIAL.                                   "                    
      143
    * Dann setzen wir jetzt auch noch das Datum fest.                                          
      144
        PERFORM HEADER_BEGDA_SET IN PROGRAM (HEADER_PROG) USING BEGDA.                         
      145
    * Und schalten auf Uebergabe der PERNR mit globalen Variablen.                             
    >>>>>
        PERFORM HEADER_LAZY_ON IN PROGRAM (HEADER_PROG).                                       
      147
      ENDIF.  " (ELSE) NOT sy-subrc IS INITIAL.                           "                    
      148
    * Merken wie der Header heisst. Damit MPPERS00 sich erinnern kann.                         

    Hi,
    Error Log: Syntax error
    ""LV_LENGTH" has already been declared"
    please check LV_LENGTH variable declaration.
    It may be declared more once!

  • How to retrieve the action type of a PA40 action?

    Hi there,
    I am trying to find out the way to identify what was the action type for the personnel action that is just being executed. I will try to explain myself with a concrete example.
    Let's take the hiring action.
    A user goes to PA40 and initiates the action to hire a new employee. The program will then start guiding the user through the different infotypes defined within the infogroup.
    Let's say that the order is IT0001, IT0002, IT0006, ...
    I have setup table T779X to call a Function Module of my own after inserting IT0006. At that point in time I can know that the IT has been modified through transaction PA40 (sy-tcode) but, how can I know what action is being executed?
    Thanks

    Jim,
    Actions can always be found afterwards in IT000 indeed
    My problem is that I need to know what action type was initiated in REAL TIME. When I am debugging the batch for IT0006, after the user initiated an action through PA40
    Thanks for the answer anyway

  • How to execute a scenario from Windows command prompt

    Hi,
    I have a package which is executing fine from Designer. But the same scenario if I am trying to execute from windows command prompt, then it is giving error.
    The package is getting a refresh variable, passing to interface which is creating a file from table, this file is then getting FTP'ed to another server.
    I am executing following command -
    startscen OB_TAB_TO_FILE_PKG 001 ODICTX "-v=2"
    The error is -
    A JDK is required to execute Web Services with OracleDI. You are currently using
    a JRE.
    OracleDI: Starting scenario OB_TAB_TO_FILE_PKG 001 in context ODICTX ...
    java.sql.SQLException: socket creation error
    at org.hsqldb.jdbc.jdbcUtil.sqlException(jdbcUtil.java:67)
    at org.hsqldb.jdbc.jdbcConnection.<init>(jdbcConnection.java:2451)
    at org.hsqldb.jdbcDriver.getConnection(jdbcDriver.java:188)
    at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:166)
    at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.c(SnpsConnection.java)
    at com.sunopsis.sql.i.run(i.java)
    DwgJv.main: Exit. Return code:-1
    Please let me know where I am going anything wrong.
    Thanks,
    Himanshu

    Hi,
    you need to make the necessary changes to the %odi%\bin\odiparams.bat config file, under the "Repository Connection Information" section so that startscen knows how to extract metadata from your repository.
    You apparently have left the default settings to the Hypersonic demo repository. Is that the technology your repository is hosted on?

  • Error while executing "" command Error type ACCESS VIOLATION Error Address: 0006898E Module name:gfsdesk.DLL

    Hi All,
    I'm using diadem from .net Program. While on the run I'm getting the following error.
    Error While executing "" Command
    Error type ACCESS VIOLATION
    Error Address: 0006898E
    Module name:gfsdesk.DLL
    Anyone have any idea why this is happening?
    regards,
    Swaroop

    Hi Swaroop,
    It would be helpful to better understand what your code really does. The information that you called DIAdem from your enviroenment is not yet sufficient to understand what the problem might be.
    Andreas

  • Add a new action type

    hi experts,
    i want to add a new reason of action type while using pa40/pa30.. can anyone help me with the steps for the same.
    Regards.

    Hi
    u can Go through this
    PM>PA>Customizing procedure>action>Define info groups>User group dependency on menus and info groups
    Enter what action u want to add
    Again go through this Menu path
    PM>PA>Customizing procedure>action>Set up personnel action is there ,Add ur action here also
    Thanks

Maybe you are looking for

  • HOw to copy a playlist on Creative Mediasource from one HD to another

    I recently had to install a new HD on my computer. The new HD is now the master dri've. The old HD is still in the computer and used to back up files. I had to reinstall my Creative media source organizer on the new HD but can't get access to the pla

  • [SOLVED]Compilation Issues:

    How does one simply compile a program that can "just run?" I used GCC as a Windows user and never once did I have issues with it. The wiki, assuming there's a proper page for it, should have something for compilation in it. If there's any other resou

  • Doubts in internal table logic

    Hi All, I have two internal table, according to the posnr value i need to add the kbetr value from the 2nd internal table and update the value in the 1st line internal table. below the example of my internal table. Here for the line item 0010 i need

  • Passing Invoice Payment in Consolidation Scenario

    Hello, I'm writing an scenario for consolidation more Business One Companies in one HQ Company. I'have no problem with BP, and Invoice but a question is: If I want pass Incoming/Outgoing Payment referring some AP or AR Invoivces, how can I close the

  • No xenbr while creating vm from the manager

    Hi all I am trying to create a virtual machine from the template: Oracle Enterprise Linux release 4 Update 5 x86_64 But when I arrive to set Virtual Machine Information I cannot choose or set the xenbr for the vif, and the manager cannot make me go o