Background Job with User Name

I am trying to submit report program in background job. I want to submit it with specific user name so I am submitting with user name as 'ABC'  as below
data: user type sy-uname.
user = 'ABC'.
SUBMIT z_program AND RETURN
             WITH matnr = matnr
             WITH werks = werks
             USER user
             VIA JOB jobname
             NUMBER jobcount
But it creates job with current user(sy-uname) running the program and  not 'ABC'. How I can change it for specified user?

SUBMIT z_program AND RETURN
WITH matnr = matnr
WITH werks = werks
USER user
VIA JOB jobname
NUMBER jobcount
AND RETURN.    "you forgot to return back
Of course the user should be the one existing in the system. I guess there is no such ABC. Find the one which exists (use i.e. su01).

Similar Messages

  • Batch job with user name

    Hi,
    Is it possible to create a batch job with another user name using JOB_OPEN?
    and what is the use of JOB_GROUP option??
    Thx in advance.
    PRa

    use:
    CALL FUNCTION 'JOB_OPEN'...
    *--create Step
        SUBMIT RFBIBL00 AND RETURN
               USER SY-UNAME VIA JOB JOBNAME NUMBER JOBCOUNT
               WITH DS_NAME = FILE
               WITH CALLMODE = 'B'.
    greetings

  • My lock screen just shows a black background and a User Name/Password dialog after opening the screen from sleep. How do I get it back to where it blurs my desktop image with the dialog and my account image displayed?

    I'm not sure when it began, but now my Macbook Air only shows a black background and a User Name and Password dialog box when I wake it from sleep. It used to show my desktop background blurred with my user name and icon displayed with only a text field for entering my password. I'm currently using Yosemite (OS X 10.10.1) and all updates have been done. Any help or suggestions would be greatly appreciated as I know this isn't a real problem, just an annoyance since I couldn't find how to change it back in the System Preferences.

    I just have to point out that after looking at a related post (https://discussions.apple.com/message/22661092#22661092), it brought to memory that my issue most certainly began happening after I added some DoD certificates to the keychain. This obviously has something to do with it, but it still leaves me wondering what actually causes this to happen. :/

  • Background job with immediate start

    Hi,
    In my program, I have to create a background job with immediate start. I used function module 'BP_JOB_CREATE', but it does not start immediately.
    Can anybody provide sample code for immediate job start.
    Regards,
    Nitin

    Hi,
    Use these function modules.
    JOB_OPEN
    JOB_SUBMIT
    JOB_CLOSE
    in JOB_SUBMIT function module u can pass to start the job immediately in export parameters PRIPARAMS structure  field name PRIMM which has to be set to 'X' to start immediately.
    regards,
    Santosh Thorat

  • Not able to run the job with user id - is

    Hello experts,
    We have problem.
    Every day we run the job.
    ( the job contians two programs called  ZTIBCOPRG  and J_5HJSTP  )).
    I would like to know why the above job is running with the user ID TIBCOADM.  Because this user has German settings for the size conversion in program ZTIBCOPRG and we are having some issues.
    We changed the user to TIBCOUSA and the job would not run. 
    We have changed the user back to TIBCOADM.  It is running.
    KINDLY HELP ME WITH YOUR VALUABLE inputs.   YOUR HELP WILL BE HIGHLY APPRECIATED.
    I have checked for both users in AGR_USERS  table.
    The AGR_USERS is the old user and have many roles compared to userid TIBCOUSA.
    WHERE WE NEED TO SEE . IS it authorisation problem or the other user with whom unable to run the job ?
    or is this the error in the program ZTIBCOPRG which is not able to do size conversion and causing some issues.
    Thanks and Regards,

    Hi,
         after running the job with user id TIBCOUSA, it should be in cancelled state as per your comments.
    you just select the cancelled job and type JDBG in command box and enter it takes you to Debug mode.
    There you may get some information where it is failing.
    Sudheer. A

  • How to read the data from a file in another computer with user name and password login

    How to read read the data from a file in anohter computer which need to login with user name and password?

    duplicate post:  http://forums.ni.com/t5/LabVIEW/log-on-the-other-computer-with-user-name-and-password/m-p/2061478
    duplicate post:  http://forums.ni.com/t5/LabVIEW/do-need-to-enter-the-user-name-and-password-when-TCP-ip/m-p/2061612
    duplicate post   http://forums.ni.com/t5/LabVIEW/log-on-the-other-computer-with-user-name-and-password/m-p/2060682

  • Report on documents posted with user name-urgent

    Hi All
    Is there any report available to find out the documents posted  with user name on any one particular date.
    This req. is for a audit purpose.
    Thks & regards
    nivi

    Hi Hein
    They dont want to use any query and generate report.  There are billing issues.  They are enquiring whether standard report or transaction code is there to track the same.
    Anyway Thks for your inputs.
    Thanks & Regards
    nivi

  • ERROR: Cannot connect to Host: [SERVER] with user name: [J2EE_ADMIN]

    Hello SAP experts
    I have started to deploy java SPS on a solution manager system, but has encountered some problems.
    I've tried both JSPM and SDM, but get the following error:
    Software Component 'ADSSAP'/ 'sap.com'/ 'SAP AG' / '1000 .7.00.16.0.20080610114809''/ '1 ':
    Caught exception mens checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Can not connect to Host: [SERVER.domain] with user name: [J2EE_ADMIN]
    Check your login information.
    Exception is:
    com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception vid getInitialContext surgery. No server is running. [Root exception is com.sap.engine.services.
    I can not log on Visual admin, with user J2EE_ADMIN, I've checked the user is not locked in the ABAP stack. I have activated SAP * on the JAVA stack, but still can not log on, get this error:
    Error while connecting
    com.sap.engine.services.security.exceptions.BaseLoginException: Can not create new remote login context.
    I've run out of ideas, please some suggestions.

    SOLVED - Note 609603

  • ERROR:Cannot connect to Host: [MTW02SDEP02] with user name: [Administrator]

    Dear All,
    When I try to deploy WD application, it gives me this following error and doesn't deploy.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [MTW02SDEP02] with user name: [Administrator]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during getInitialContext operation. No server is running. [Root exception is
    Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.
         at com.sap.engine.services.security.remote.login.RemoteLoginContextExt.<init>(RemoteLoginContextExt.java:34)
         at com.sap.engine.services.jndi.implclient.LoginHelper.clientSideLogin(LoginHelper.java:81)
         at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:355)
         ... 38 more
    Caused by: com.sap.engine.services.rmi_p4.P4ConnectionException: Possible problem: no available running server node. Check your running servers.
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:709)
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:697)
         at com.sap.engine.services.rmi_p4.Parser.newRequest(Parser.java:180)
         at com.sap.engine.services.rmi_p4.Connection.run(Connection.java:427)
         ... 1 more
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted

    Hi
    Try this
    1. Is this is the remote server?
       if yes make one entry in host file under C:\WINDOWS\system32\drivers\etc
        format   :  <server ip>  <servername>
        restart NWDS
    2.If not then put the Ip address  instead of name inside Window--preference --Sap server Check.
    3. Put some different UserId and Password who has deployment rights
    Best Regards
    Satish Kumar

  • Cannot connect to Host with user name J2EE_ADMIN !!!

    Hi all,
    this exception when deploy from NWDS04s:
    <i><b>Caught exception while checking the login credentials for SAP J2EE Engine. Cannot connect to Host with user name J2EE_ADMIN</b></i>
    Complete exception:
    <i>Result
    => deployment aborted : file:/D:/DOCUME1/VITO1.PAL/LOCALS~1/Temp/temp23237GivaudanNavigation.ear
    Aborted: development component 'GivaudanNavigation'/'local'/'LOKAL'/'0.2006.03.20.16.50.48':
    Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [milds2004] with user name: [J2EE_ADMIN]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Access Denied.]
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted</i>
    Any help will be appreciate. Thx.
    Vito

    Hi Nagarajan,
    it seems not good
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>sdm changepassword "sdmhome=D:\usr\sap\GVD\
    DVEBMGS01\SDM\program" "newpassword=ADMIN1"
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_java_home=D:/j2sdk1.4.2_09
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_64bit_switch=
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_heap_size=128
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_memory_switch=-Xmx128M
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_com="D:/j2sdk1.4.2_09\bin\java"  -X
    mx128M  -jar "D:\usr\sap\GVD\DVEBMGS01\SDM\program\bin\SDM.jar"
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>"D:/j2sdk1.4.2_09\bin\java"  -Xmx128M  -jar
    "D:\usr\sap\GVD\DVEBMGS01\SDM\program\bin\SDM.jar" changepassword "sdmhome=D:\u
    sr\sap\GVD\DVEBMGS01\SDM\program" "sdmhome=D:\usr\sap\GVD\DVEBMGS01\SDM\program"
    "newpassword=ADMIN1"
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addI
    viewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBased
    SecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator g
    enerateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem
    startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConf
    igurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHiera
    rchicalContext lookup
    Starting SDM - Software Deployment Manager...
    tc/SL/SDM/SDM/sap.com/SAP AG/7.0005.20051006181702.0000
    Initializing Network Manager (50117)
    Checking if another SDM is running on port 50118
    SDM is integrated in JStartupFramework. No repository changing commands are poss
    ible.
    Processing error. Return code: 4
    Could U help, pls? Thx
    Vito

  • Log on the other computer with user name and password

    How to use labview to write a software to log on the other computer with user name and password?

    Jimmyzeng wrote:
    Nobody can help on this?
    Besides repeatedly asking the same question in thread after thread, you are not providing enough information to answer the question. You have been given answers already stating that operating systems do not make this very easy to do using programs for security concerns. In addition, the authentication process varies depending on what service you are communicating with. You really need to provide more information if you want to get meaningful answers to your questions.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Background job for user synch in comliance calibrator not working

    Hi Gurus,
    When I am trying to execute the background job for User Sync from "Schedule Ananlysis" I am getting an error. Can anyone help . I am putting the log
    Nov 17, 2008 6:06:49 AM com.virsa.cc.xsys.bg.BgJobDaemon init
    INFO: *** BgJobDaemon loaded
    Nov 17, 2008 6:07:07 AM com.virsa.cc.common.util.ConnectionUtil getConnection
    FINEST: retry: 60Object not found in lookup of BC_ADM.
    com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of BC_ADM.
         at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:649)
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:344)
         at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:254)
         at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:271)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.virsa.cc.common.util.ConnectionUtil.getConnection(ConnectionUtil.java:32)
         at com.virsa.cc.xsys.bg.bo.BgSchedulerBO.getLogSpoolPath(BgSchedulerBO.java:605)
         at com.virsa.cc.xsys.bg.bo.BgSchedulerBO.getSpoolDirectory(BgSchedulerBO.java:588)
         at com.virsa.cc.xsys.riskanalysis.AnalysisDaemon.<clinit>(AnalysisDaemon.java:51)
         at com.virsa.cc.comp.BgJobInvokerView.wdDoModifyView(BgJobInvokerView.java:322)
         at com.virsa.cc.comp.wdp.InternalBgJobInvokerView.wdDoModifyView(InternalBgJobInvokerView.java:1135)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)
         at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:337)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:481)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doModifyView(WindowPhaseModel.java:551)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:148)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process

    check out the notes 999785 note have u followed the instructions as told in the article "https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a07b4cc8-1a57-2b10-1798-d2fec068473a" .please follow the prerequisites check and follow the post installation check list .there is a article out there for post installation.
    Edited by: Ambarish annapureddy on Mar 11, 2009 1:28 PM

  • Table name for background job with report, variant and step user id list.

    Hello All,
    I need to generate the list of scheduled backgroung job with the list of Report Name, Variant, Step User Id called. Please any one tell the SAP Table name from which I can get these data.
    Thanks in Advance,
    Amit

    Hi Rohit,
    Thanks for your reply. But from TBTCO, i can't find program/report name and variant. Just the list of background job i can see.
    Regards,
    Amit

  • Schedule background job with different user

    hi ,
    i want to schedule a background job under a different user
    i have used the parameter AUTHCKNAM of 'job_submit'
    it is giving sy-subrc = 0 .
    but it is not working
    i have also used the FM 'bp_job_create' in place of 'job_open'
    it is giving sy-subrc = 0 .
    but not working as needed
    kindly help
    regards...

    hi
    Try this
    We can do that via SUBMIT statement:
    Go through the documentation os SUBMIT statement with addition:
    ... USER user VIA JOB job NUMBER n
    Schedules the specified report in the job specified by the job name job and the job number n. The job runs under the user name user and you can omit the addition USER user. The assignment of the job number occurs via the function module JOB_OPEN (see also the documentation for the function modules JOB_CLOSE and JOB_SUBMIT). This addition can only be used with the addition ...AND RETURN.
    OR
    go through this link , i hope this ll help you to solve your problem
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5f/ff2138faeb3807e10000009b38f889/content.htm
    Hope this helps.
    Thanks
    Tushar

  • How to schedule background job under the name of other user?

    Hello
    I need to schedule ABAP program (Se38) for background run under the name of other user (BW-ADMIN).
    Can somebody tell me how to do it. I dont see this option (change user name) anywhere in SE38.

    Hi,
    You should try scheduling it using sm36.
    Here you can change the user.
    Thanks
    Ajay

Maybe you are looking for