Executing an application with PersonalJava

What is the exact command line syntax for executing an application with PersonalJava? My interpreter complains that it is: Unable to initialize threads: cannot find class java/lang/Thread.

which version do you use, and how is it installed?
On my device pjava 1.0 worked ok after installation, the 1.1 beta did not; it didn't even find the pjava.exe.
Keep in mind that third parties have personal java versions with better jdk's. Maybe one of them is preinstalled on your device. I found out myself after a long search and lots of trying that my device had the CrEme VM installed, based on jdk 1.1.8.
Luc

Similar Messages

  • Error when I execute an application with the java command in a DOS prompt

    Hi:
    I have a trouble. I edit the most simple program in Java: hello.java
    In DOS prompt, I compile the program. The result is the file hello.class
    c:\> javac hello.java
    However, I try to execute this program with the command java
    c:\> java hello
    and the DOS prompt send me an error like this: Java.exe has a problem and must be closed.
    I press the option "Don't send". After this, the DOS prompt returns empty and it doesnt execute the application:
    c:\>
    By the way, in an IDE editor like Gel, the file hello.java is compiled and executed correctly without problems.
    I edited other simple Java files, I compiled them succesfully and I can't run them in a DOS pormpt. The result is the same dialog box: "Java.exe has a problem and must be closed".
    The question is: Why don't these programs run in a DOS prompt?
    My Operating System is Microsoft Windows XP and the Java compiler version is: 1.6.0_13
    Thanks in advanced.

    Hi again:
    What happens when you type "java -version"?
    Answer:
    java version "1.2"
    Classic VM (build JDK-1.2-V, native threads)
    What is the value of your %PATH%?
    Answer:
    Path=E:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Archivos comunes\Adaptec Shared\System;C:\Archivos de programa\Executive Software\DiskeeperLite\;C:\Archivos de programa\QuickTime\QTSystem\;C:\Archivos de programa\Java\jdk1.6.0_13\bin;C:\Archivos de programa\Microsoft SQL Server\80\Tools\Binn\;e:\Microsoft SQL Server\90\Tools\binn\;C:\BITWARE\;C:\Archivos de programa\Archivos comunes\Ahead\Lib\
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    Have you considered running Linux?
    Answer: No, because Linux is more complex.
    Additional information:
    My Operating System is: Microsoft Windows XP Profesional Version 2002, Service Pack 3, running on an Intel Pentium 4, CPU 2.4 Ghz, RAM: 2.23 Gb

  • Cannot execute Web Application with JDeveloper

    Hi,
    I'm trying to execute an application I've been assigned to modify, usin JDeveloper. When I run the project with JDeveloper, it first compiles it, successfully, and then starts the embedded server, and starts the web browser trying to display the page, but actually the browser displays nothing. I've checked all logs in the application, and in JDeveloper install dir, and nothing displays, just as if it started properly. Could someone help me with this issue? What should I check in order to detect the root cause of this error? Below is the display of the embedded OC4J Server log:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    D:\jdevstudio10133\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
    D:\jdevstudio10133\jdk\bin\javaw.exe -client -classpath D:\jdevstudio10133\j2ee\home\oc4j.jar;D:\jdevstudio10133\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\jdevstudio10133\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    08/11/2008 05:07:10 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    08/11/2008 05:07:10 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 36031 ms.
    08/08/11 17:07:25 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
    Target URL -- http://172.18.131.69:8988/GStarToolkit-ViewController-context-root/faces/login.jsp

    Hi,
    assuming they have configured security in the web.xml in the normal way, you need to ask for a protected page rather than the login page.
    The login pages are presented by the server rather than accessed directly.
    eg. Running .../faces/app/Home.jsp will take you to login.jsp if security is configured.
    Brenden

  • Error while executing WD Application with a Interactive Form

    Hello All,
    I am trying to run an WD application on my local j2ee engine in which i have added an Interactive form( i have added only static text in that ), but when i test the application it is throwing an error like:
    The initial exception that caused the request to fail, was:
       java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:461)
    And i am able to run the rpData webservice individually with the same user name (administrator )
    Could any one suggest me how to run my application on my local engie.
    Thanks & Regards,
    Trikanth

    Dear Trikanth,
    are you sure you have added the Administrator user to the ADSCaller Security role?
    Visual Admin -> Server node -> Services -> Security Provider -> com.adobe/AdobeDocumentServices*AdobeDocumentServicesAssembly.jar
    Best regards,
    Dezso

  • Error while executing WebDynpro Application with Adobe interactive forms.

    I have created a webDynpro application which involves an adobe interactive form. When i deploy and run the application, i am able to deploy it on the J2EE engine on the EP server but while executing it, i get the following exception -
    <b>Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "UsageRights" operation. Request start time: Thu Oct 12 17:30:39 GMT+05:30 2006
        at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:486)
        at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:185)
        at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1154)
        at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:402)
        at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
        ... 21 more</b>
    I would appreciate any help in this matter.
    Thanks...

    Hi,
    Check the note in this site...
    https://websmp204.sap-ag.de/notes
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Execute Webdynpro4Abap Application with same ERP-User for all portal-users?

    Hi,
    is it possible to let a Webdynpro4Abap application run with only one ERP-User for all portal-users? Therefore not needing an ERP-license for every portal-user?
    Somekind of mapping maybe?
    Regards
    Jan

    Jan,
    It is possible but it all depends on the type of application .If you want to show same data for all users you can use one user but if data is different for all users then you cannot go with this approach.
    to configure single backend user for your application go to tcode SICF and look for that application and go to logon data tab by double clicking and give one common user details
    Thanks
    Bala Duvvuri

  • Error while executing SAP E-Commerce Application with UME system

    When attempting to login to the B2B application (http://hostname:port/b2b/init.do), we receive the following error:
    Error while executing SAP E-Commerce Application with UME system; try again to log on. If the problem persists, call our hotline.
    I checked the defaultTrace log and every time the login page is called the following messages are displayed:
    #System.err#sap.com/crm~b2b#System.err#Guest#0##n/a##70cf2ba0756b11df86050003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Error##Plain###com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The output is committed.
    #System.err#sap.com/crm~b2b#System.err#Guest#0##n/a##70cf2ba0756b11df86050003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Error##Plain###  at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:354)#
    another 40 lines of similar text
    When a login is attempted, the following messages are appended to the trace file:
    #tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#Guest#0##n/a##f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[actionxecution]='begin' [actionclass]='com.sap.isa.user.action.PrepareLoginBaseAction' [path]='/preparelogin'#
    tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#USER1#7439##n/a##f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[actionxecution]='end' [actionclass]='com.sap.isa.user.action.PrepareLoginBaseAction' [path]='/preparelogin' [forward]='/login.do' [exectime]='42'#
    #tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#USER1#7439##n/a##f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[jcofuncionexecution]='begin' [funcname]='CRM_ISA_SSO_LOGIN_CHECKS' [ashost]='<hostname>' [sysid]='CRM'#
    #tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#USER1#7439##<hostname>_CJM_678801250#USER1#f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[jcofunctionexecution]='end' [funcname]='CRM_ISA_SSO_LOGIN_CHECKS' [ashost]='<hostname>' [sysid]='CRM' [exectime]='12'#
    I have modified the userid and hostname in the above trace output.
    Does anyone know how we can debug this issue further?
    Thanks,
    Setu

    Hi,
    Are you using UME login type for your B2B Scenario?
    In your B2B XCM setting have you selected UME related login type?
    eCommerce Developer

  • How to execute a application folder with space

    Hi All,
    Can any one help to execute the application folder or a file that contains space.
    Below I have pated my sample coding:
    var myFile=new File("/E/test text/lanch.app");
    myFile.exceute();
    If I remove the space between "test test", it works perfect.
    Request advice.
    Thanks,
    Christober

    Hi,
    Run this:
    alert (mFolder = Folder.selectDialog());
    and notice how "spaced name" is alerted by your OS;
    Jarek

  • Know Operating System where i execute my Application java with code java

    Hi! i need know Operating System where i am executing my application Java in runtime. Help me. Thanks!

    raulcr wrote:
    What "os.name" can it return me? i need strings if os.name is unix or win. Thanks!I have to admit, it's a real nuisance that Java doesn't provide more info on specific property values, but there's a list for what you want [here.|http://lopica.sourceforge.net/os.html] I also found a nifty little program suggestion [here.|http://www.mkyong.com/java/how-to-detect-os-in-java-systemgetpropertyosname/]
    Don't forget to test thoroughly :-).
    Winston

  • How to start a application with a login window?

    hi there
    does anyone have any idea on how to start an application with a login window? a login window is the first frame or window to be displayed when an application starts running. and only correct login id and password have been entered the real application will start. any sample out there? thank you.

    You can start a new thread by making a thread object and passing it an implementation of a runnable object. Runnable has just one method, public void run(), this is was gets executed in a second thread. perhaps the code you would use would look something like this.
    <code>
    // set up thread for login window
    new Thread(new Runnable() {
    public void run() {
    // construct your login window here
    // when you are done processing the
    // password....
    if(goodPassword) {
    authorized = true; // a global variable
    notifyAll(); // don't forget this
    else {
    System.exit(42);
    }).start();
    // control does not stop this code gets executed while
    // the above thread is running.
    // Set up main program here. This is done in the
    // backround.
    while(!authorized) {
    synchronized(this)
    { wait(50); }
    // now when the user logs in this frame pops
    // up real quick.
    myFrame.setVisible(true);
    </code>
    Hope you can figure it out.. good luck :)

  • How to execute an application in Solaris using Runtime.getRuntime.exec() ?

    I am currently doing a project which requires the execution of Solaris applications through the use of Java Servlet with this Runtime method - Runtime.getRuntime.exec()
    This means that if the client PC tries to access the servlet in the server PC, an application is supposed to be executed and launched on the server PC itself. Actually, the servlet part is not an issue as the main problem is the executing of applications in different platforms which is a big headache.
    When I tried running this program on a Windows 2000 machine, it works perfectly fine. However, when I tried it on a Solaris machine, nothing happens. And I mean nothing... no errors, no nothing. I really don't know what's wrong.
    Here's the code.
    public void doPost(HttpServletRequest request, HttpServletResponse response)
         throws ServletException, IOException
         response.setContentType("text/html");
         PrintWriter out = response.getWriter();
              Process process;                                                       Runtime runtime = Runtime.getRuntime();
              String com= "sh /opt/home/acrobat/";
              String program = request.getParameter("program");
              try
                        process = runtime.exec(com);
              catch (Exception e)
                   out.println(e);
    It works under Windows when com = "c:\winnt\system32\notepad.exe"
    When under Solaris, I have tried everything possible. For example, the launching of the application acrobat.
    com = "/opt/home/acrobat"
    com = "sh /opt/home/acrobat"I have also tried reading in the process and then printing it out. It doesn't work either. It only works when excuting commands like 'ls'
    BufferedReader read = new BufferedReader(new InputStreamReader(process.getInputStream()));Why is it such a breeze to execute prgrams under Windows while there are so many problems under Solaris.
    Can some experts please please PLEASE point out the errors and give me some advice and help to make this program work under Solaris! Please... I really need to do this!!
    My email address - [email protected]
    I appreciate it.
    By the way, I'm coding and compiling in a Windows 2000 machine before ftp'ing the .class file to the Solaris server machine to run.

    it is possible that you are trying to run a program that is going to display a window on an X server, but you have not specified a display. You specifiy a display by setting the DISPLAY environment variable eg.
    setenv DISPLAY 10.0.0.1:0
    To check that runtime.exec is working you should try to run a program that does not reqire access to an X Server. Try something like
    cmd = "sh -c 'ls -l > ~/testlist.lst'";
    alternatively try this
    cmd = "sh -c 'export DISPLAY=127.0.0.1:0;xterm '"
    you will also need to permit access to the X server using the xhost + command

  • How to launch an application with elevated administrator account privilege from windows service even if the account has not yet logon

    Here is the case:
    OS environment: Windows 7
    There are two user accounts in my system, standard user "S" and administrator account "A", and there is a windows service running with "Local System" privilege.
    Now i logged-in with account "S", and i want to launch an application with elevated administrator account "A" from that service program, so here is the code snippet:
    int LaunchAppWithElevatedPrivilege (
    LPTSTR lpszUsername, // client to log on
    LPTSTR lpszDomain, // domain of client's account
    LPTSTR lpszPassword, // client's password
    LPTSTR lpCommandLine // command line to execute e.g. L"C:\\windows\\regedit.exe"
    DWORD dwExitCode = 0;
    HANDLE hToken = NULL;
    HANDLE hFullToken = NULL;
    HANDLE hPrimaryFullToken = NULL;
    HANDLE lsa = NULL;
    BOOL bResult = FALSE;
    LUID luid;
    MSV1_0_INTERACTIVE_PROFILE* profile = NULL;
    DWORD err;
    PTOKEN_GROUPS LocalGroups = NULL;
    DWORD dwLength = 0;
    DWORD dwSessionId = 0;
    LPVOID pEnv = NULL;
    DWORD dwCreationFlags = 0;
    PROCESS_INFORMATION pi = {0};
    STARTUPINFO si = {0};
    __try
    if (!LogonUser( lpszUsername,
    lpszDomain,
    lpszPassword,
    LOGON32_LOGON_INTERACTIVE,
    LOGON32_PROVIDER_DEFAULT,
    &hToken))
    LOG_FAILED(L"GetTokenInformation failed!");
    __leave;
    if( !GetTokenInformation(hToken, (TOKEN_INFORMATION_CLASS)19, (VOID*)&hFullToken,
    sizeof(HANDLE), &dwLength))
    LOG_FAILED(L"GetTokenInformation failed!");
    __leave;
    if(!DuplicateTokenEx(hFullToken, MAXIMUM_ALLOWED, NULL,
    SecurityIdentification, TokenPrimary, &hPrimaryFullToken))
    LOG_FAILED(L"DuplicateTokenEx failed!");
    __leave;
    DWORD dwSessionId = 0;
    WTS_SESSION_INFO* sessionInfo = NULL;
    DWORD ndSessionInfoCount;
    bResult = WTSEnumerateSessions(WTS_CURRENT_SERVER_HANDLE, 0, 1, &sessionInfo, &ndSessionInfoCount);
    if (!bResult)
    dwSessionId = WTSGetActiveConsoleSessionId();
    else
    for(unsigned int i=0; i<ndSessionInfoCount; i++)
    if( sessionInfo[i].State == WTSActive )
    dwSessionId = sessionInfo[i].SessionId;
    if(0 == dwSessionId)
    LOG_FAILED(L"Get active session id failed!");
    __leave;
    if(!SetTokenInformation(hPrimaryFullToken, TokenSessionId, &dwSessionId, sizeof(DWORD)))
    LOG_FAILED(L"SetTokenInformation failed!");
    __leave;
    if(CreateEnvironmentBlock(&pEnv, hPrimaryFullToken, FALSE))
    dwCreationFlags |= CREATE_UNICODE_ENVIRONMENT;
    else
    pEnv=NULL;
    if (! ImpersonateLoggedOnUser(hPrimaryFullToken) )
    LOG_FAILED(L"ImpersonateLoggedOnUser failed!");
    __leave;
    si.cb= sizeof(STARTUPINFO);
    si.lpDesktop = L"winsta0\\default";
    bResult = CreateProcessAsUser(
    hPrimaryFullToken, // client's access token
    NULL, // file to execute
    lpCommandLine, // command line
    NULL, // pointer to process SECURITY_ATTRIBUTES
    NULL, // pointer to thread SECURITY_ATTRIBUTES
    FALSE, // handles are not inheritable
    dwCreationFlags, // creation flags
    pEnv, // pointer to new environment block
    NULL, // name of current directory
    &si, // pointer to STARTUPINFO structure
    &pi // receives information about new process
    RevertToSelf();
    if (bResult && pi.hProcess != INVALID_HANDLE_VALUE)
    WaitForSingleObject(pi.hProcess, INFINITE);
    GetExitCodeProcess(pi.hProcess, &dwExitCode);
    else
    LOG_FAILED(L"CreateProcessAsUser failed!");
    __finally
    if (pi.hProcess != INVALID_HANDLE_VALUE)
    CloseHandle(pi.hProcess);
    if (pi.hThread != INVALID_HANDLE_VALUE)
    CloseHandle(pi.hThread);
    if(LocalGroups)
    LocalFree(LocalGroups);
    if(pEnv)
    DestroyEnvironmentBlock(pEnv);
    if(hToken)
    CloseHandle(hToken);
    if(hFullToken)
    CloseHandle(hFullToken);
    if(hPrimaryFullToken)
    CloseHandle(hPrimaryFullToken);
    return dwExitCode;
    I passed in username and password of account "A" to method "LaunchAppWithElevatedPrivilege", and also the application i want to launch, e.g. "C:\windows\regedit.exe", but when i run the service program, i found it do launch
    "regedit.exe" with elevated account "A", but the content of regedit.exe is pure back. screenshot as below:
    Can anyone help me on this?

    You code is not dealing with the DACL access to Winsta0\Default.  Only the LocalSystem account will have full access and the interactively logged on user which is why regedit is not displaying properly.  You'll need to grant access to your user. 
    You also need to deal with UAC since that code is going to give you a non-elevated token via LogonUser().  You need to get the full token via a call to GetTokenInformation() + TokenLinkedToken.
    thanks
    Frank K [MSFT]
    Follow us on Twitter, www.twitter.com/WindowsSDK.

  • Problems building a stand alone application with LV 8.6.1.

    I'm having problems building  a stand alone application with LV8.6.1. I'm using a USB- 6008 DAQ and USB-6501 Digital device in the application. I already have an simple executable on the machine so the Run time Engine is already installed.  For the USB DAQ device, I assume I need to include the DAQmx8.8 as one of the installers. When I attempt to build the application, I'm prompted for several disk, one being a distribuition disk 1. I have the installation disk for the developer package. I did not  see a distribuiton disk as one of the installation disks. When I insert disk 1 I get an error that another application is trying to run. Could someone tell me which installers I need to include and where do I find the "distributor" disk.
    Thank you,

    are you building installer for the first time on this PC?...It usually asks for the drivers CDs and some toolkits if required.
    you just need to use drivers CDs (comes with LabVIEW) from which you installed on this PC. If you have ever upgraded drivers, then you have to use the latest CDs only.......
    another issue may be ...when u insert the driver disk, it has autorun, it will launch drivers installation wizard....close that and then try to build distribution......... 
    Message Edited by Anil Reddy on 09-25-2009 01:22 PM
    Anil Punnam
    CLD
    LV 2012, TestStand 4.2..........

  • You are not authorized to execute this application in SAP E-Recruit

    Hi,
    We are getting the below error while going to recruitment page for recruiter:
    "You are not authorized to execute this application"
    At the same time when we check in SLG1, we get the below errors:
    No candidate could be found for US E0023127
    The error occurred in program CL_HRRCF_CANDIDATE============CM003 line 361
    Apart from this we are not getting any dumps/traces in ST22/ST05/ST01.
    When we encountered this error for the first time, we executed the report RCF_CREATE_USER in SE38 and the problem was resolved.
    We got the error again 2 days back, after that also it got automatically resolved. But, now we are getting this error continuously.
    We also tried re-executing the report RCF_CREATE_USER and HRALXSYNC but no use.
    The service user (for recruiter) is a reference user from RCF_CAND_INT.
    We have also tried giving different roles and authorizations to the user.
    SAP_ERC_RECRUITER_CI_4
    SAP_RCF_RECRUITER
    SAP_ERC_REC_ADMIN_CI_4
    SAP_ALL
    We are in ECC 6 EHP 6 and we have a standalone EREC system with ERECRUIT 617 SP3.
    We are stuck at this point in our EREC project.
    Kindly provide your valuable suggestions for this issue.
    Thanks in advance!
    Regards,
    Khushboo

    Hello Khushboo,
    the message you are getting is a bit misleading as it is the standard behavior of the quick search if the user you are logged in as recruiter does not have a candidate assigned. So the message in SLG1 points into the correct direction.
    I am not sure what you are meaning by "the service user (for recruiter)". Although table T77RCF_ROLE allows to specify a reference user for all roles in eRec only the entries for internal and external candidates are actually used. So the authorization assignment for the recruiter specific roles has always to be done directy for each user. A reference user could be overwritten / reset to RCF_CAND_INT by the ALE.
    What bothers me a bit is the user name and that you mention RCF_CREATE_USER and HRALXSYNC at the same time. This might be the reason for your issue. Looks like you created a candidate for a user using RCF_CREATE_USER which is later transferred in the ALE from HR Core to eRec. This was not a good idea. RCF_CREATE_USER is only for creating project users when the HR core to eRec and for special users who need a candidate while do not have an employee id in HR core (e.g. WF-BATCH). This is why I always recommend to use non-production user Ids for everyone during project phase. Its been quite a time some of my projects did otherwise and I remember a similar issue with one of the customer admins. Everytime data for the user / employee was send in ALE the candidate / user was messed up.
    Getting this fixed was quite troublesome. In the end we had to dump the original candidate. We deleted all records between candidate object, central person, business partner and person object in HRP1001. By that time the customer was still on the old ALE version so today I would also delete all entries in HRP558X infotype tables for the employee. Then I would first try to finger the employee id (e.g. change the name, save, directly change it back, save again ) so it is transferred during the nightly processing of the change pointers and put in the IDoc. If this is not working I would try to transfer it again using PFAL.
    Kind Regards
    Roman     

  • How can I execute external application?

    Hi friends I want printing my barcodes a laser printer (Kyocera) it isn't a barcode printer. So I think (and I look kyocera web page my model doesn't support barcode printing in sap) print my barcodes using an external system. Before SAP we are using JollyPrint application for printing barcodes. It is using an Excel file.
    I can create a excel file for this application. I must execute this (JollyPrint-it is a label application) application when I press a button. How can I execute this application?
    Thanks
    Mehmet
    P.S. I have been writing this message with details may be somebody can give me a simple way for this

    Well, I can suggest you following steps. May be it works for you .
    -Create an external OS command in SM69
    -Test OS command in SM49 ( <u><i>about OS command if you search in SDN you’ll get lot of material</i></u> )
    -Create a Script at your OS level, I’m assuming you might have some UNIX flavor or Sun solaria’s.
    -Create a Shell script , which execute the printer job from OS .
    -Shell script will have parameters . ( e.g. printer name, destination etc )
    -set the path of shell script directory in SM69 ( the command you just created )
    -Execute shell script using your ABAP program ( use FM "SXPG_COMMAND_EXECUTE" )
    In the ABAP  program you can pass the parameters and execute the command from ABAP as a result your job will start printing on the required destination. Moreover, you can also capture the spool at OS level .
    FYI
    For UNIX script, if you search in www.google.com ( UNIX forums) . you’ll get shell script .
    Hope this’ll give you idea!!
    <b>P.S award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

Maybe you are looking for