Background job with FTP

Hi,
I have devloped a program which takes the required data in internal table and places the file in FTP.
When i execute it manually, the file gets placed properly, but when i schedule the program in background, the program gets executed but the file dow

Hi,
You Must be using RFC destination as SAPFTP, when you see go to SM59 -> TCP/IP -> SAPFTP & double click on SAPFTP, go to  Technical Setting tab, you have 4 option in Activation Type. Select Start on Application Server Option and then save the setting. Now test the Background job.
Regards
Sanjeev Pallan

Similar Messages

  • 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

  • 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).

  • MDMGX download to ports as background job without FTP?

    Hello everybody,
    is it possible to use MDMGX as a background job to download directly into the mdm ports without FTP?
    If I try to download as a local download (in background job) I get the error message: "Cannot open dataset for batch download of file: No such file or directory. Message no. MDM_GX_MSG031"
    Any advice?
    Regards,
    Axel

    Hello Alex,
    As said in the above post MDMGX is used to extract the reference data from ECC. This data can be extracted to the local system as well. You need to specify the FTP server and MDM Root of the system on which the MDM server is Installed, by doing so the data extracted will be placed in the respective folders created under the given root in MDM. PI is not required for this since the output is in the required XML format
    Please go through the below link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0740b31-a934-2b10-2e95-af2252991baa?QuickLink=index&overridelayout=true&30296699350032
    http://wiki.sdn.sap.com/wiki/display/SAPMDM/MDMGenericExtractor
    Hope this helps
    Rgds,
    Prasad
    Edited by: Prasad Tuttagunta on Feb 28, 2012 12:28 PM

  • 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

  • View All Background Jobs with Class A

    Hi All,
    We have around 500 Background jobs scheduled on PRD system (CI and on the  rest DI's),
    Our requirement is how to generate  a list with All the backround jobs w.r.t their Job class (Any method /T-code navigation, function etc) so that I can get all the 500 jobs segregated w.r.t their job class( sm37 wont give selection condition using job class)
    Thanks a lot  for  your  respoonses.

    Just pull the list from table TBTCO
    Regards
    Juan

  • 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

  • How to run a background job with the cloud_scheduler package

    Hi,
    Is the cloud_scheduler package able to run background jobs as documented? When you try to run a job in another session using:
    cloud_scheduler.run_job(job_name=>'MYJOB', use_current_session=>false);
    The call fails with:
    ORA-20002: Cannot run job MYJOB. Adhoc background execution is disallowed. Please enable the job instead.
    If you try to use cloud_scheduler.enable to run the job then the job does not run when scheduled.
    Rod West

    Hi Rod,
    Yes, I believe so. Here's a test case that I just ran successfully from SQL Workshop in my database trial service:
    create table myjob_test (aa timestamp with time zone);
    begin
        cloud_scheduler.create_job (
            job_name        => 'MYJOB',
            job_type        => 'PLSQL_BLOCK',
            job_action      => 'begin insert into myjob_test values (systimestamp); commit; end;',
            repeat_interval => 'freq=minutely; interval=3' );
    end;
    begin
        cloud_scheduler.enable ( name => 'MYJOB' );
    end;
    select job_name, state, run_count, failure_count, last_start_date, next_run_date, systimestamp from sys.user_scheduler_jobs;
    select * from myjob_test order by aa;Is the next_run_date in the past for your job? If it is, try disabling/enabling the job to "reinitialize" the job's schedule.
    -- Vlad

  • Running background job with class type "A"

    Hi All,
    Can anyone let me know is it possible to run an background job in R/3 with class type "A" with respect to a specific info package. Thanks.
    Regards,
    Ashok

    I do not think this is possible (ie unless you think of modifying SAP code).

  • Monitoring multiple background jobs with CCMS

    Hi,
         Can multiple background job be monitored with the help of CCMS.If yes then    is it adviseable to go ahead with that or not?
         Say the number of jobs to be monitored are 1000 in SCM.....
         If yes plz suggest me how the same can be done ?
    Regards
    Siddharth

    Yes Multiple jobs can be monitored using CCMS .. You dont have to monitor all the jobs , you can restrict it by entering the job name in ALBTCMON . The following link will be helpful
    http://help.sap.com/saphelp_nw04s/helpdata/en/1c/48803d48de0610e10000000a114084/content.htm
    Thanks
    Prince Jose

  • Can I schedule a program as a periordic background job with dynamic viarent

    Hello experts, Can I schedule a progarm as a periodic background job run every day with dynamic condition (current day), if can,how?
    Best wishes,
    Evan

    Hi,
    You can do this to get desired results:
    Write a small new program that calls the program that you need to run daily by using submit .
    The new program can give input of current date to the called program.
    Now you can schedule the new program as a daily batch job.

  • BDC in background job with file upload

    I create one report BDC for Mass Upload, in the foreground i select the file and its working fine. when i am assigning  to background the job is create and released but the code is not execute. when i see the logs it show the error "there is no file".
    what is the problem?
                 i create variants and i declare it in the job creation. i thing the file path is the problem. the file is in presentation server while assign to background job it can't able to pick the file.
                 My requirement is, i need to pick a file for my network path and upload it to the sap database using BDC. can any one help pls!!!
    Edited by: sudhakar.ssm on Jul 19, 2010 1:10 PM

    Mr . Bala Duvvuri
    i know that but my requirement is different. i need to open a file in my network path, there it have a folder called DATA there every day they put a file. i need to upload it into sap Database. for that can u help me... when i search it in google it say i need to create a interface code with RFC Destination....         
               like that can u gave me a solution pls...

  • Scheduling a background Job with gaps in dates

    Hi Experts,
    I am having a requirement : A background job has to be scheduled for running a program every 15 minutes and for every month.But this job should not run from date 10th to 15th of every month.For example,In july month Job should start run from 01.07.2014 to 31.07.2014 excluding 10.07.2014 to 15.07.2014.
    Can we achieve this without a custom program and using SM36?
    Regards,
    Arun.

    Hello Arun,
    is it possible to define a factory calendar to you in the system, if you can define one then you can define the 10-15 the of every month as holiday.
    We can select the factory calendar above defined in the job. This can be found by clicking on the restrictions button in the start condition screen.
    in that start date restrictions, you can find 5 options in those you can pick the do not execute the periodic job on sunday and holidays.
    but this will effect the sundays which are falling in 1-10 th & 15-31st of each month, will that be OK ?
    if you do not want to try out the above all steps, then you can simply create 2 job running for each month
    1st one for 1-10th of every month.
    2nd one for 16th to end date.
    Let us know in case of any concerns on the same.
    thanks,
    Bhaskar

  • Background job with download

    Hi
    Is it possible to set a program , that contains the download , in background?
    If so, how?
    Thank U
    Narendra

    hi,
    You cannot download to the frontend in a background job because the GUI isn't available.
    You will have to use OPEN DATASET stmts and
    put the file on the Application server in the background
    and then use the transaction CG3Y in the foreground to download the file to the pc from the application server.
    regards,
    priya.

  • Background Jobs with Dynamic Dates

    I am looking for how to run a job in the background on a Daily basis where the data time range is always Yesterday - specifically, I want to run a Notification report daily to see the previous day's notifications.
    I have established a Variant with the Dynamic Dates to be "Current Date - 1 days", and schedule it to run in the background Daily.  The report runs daily as scheduled, but the dates are not changing (i.e. it always runs the report for the same date).

    Dear Richard,
    It appears that the date that you generated by "Current Date - 1" is not used for running notification report or not passed from variant.
    You can actually code the same in your program.
    I suggest you to expecute the report in SE38 with debugging by putting a break-point.
    v_date = sy-datum - 1.
    v_date should be used for notification report. (not sy-datum)
    Reward points if this is helpful.
    Regards,
    Naveen.

Maybe you are looking for

  • Possible bug, simplechat?

    I noticed that if you click on send after typing in a message, the message is cleared once it is transmitted.  However if you use the enter key it remains in the typing box even after the message is transmitted.

  • Applying downpayment to invoice

    Error message occuring when trying to apply downpayment to invoice.... No matching records found 'AR Down Payment' (ODPI) (ODBC-2028) Message 131-183 please assist

  • Ora-1666 on standby database

    Hi All, I have configured data guard on windows server 2003 platform with primary on 1 server and standby on another server. Oracle is of version 9i with exact release 9.2.0.6.0. I have enabled archived log on primary, modified init file with log_des

  • App Store problems again?

    I keep getting the 'Cannot connect to iTunes store' message.. I have a ipad2 wifi only model and have recently updated to the new iOS 6.1 update.. Is there a service outage like on the 25 of October? Any advice people??

  • How to get sysstat-5.0.5-9.i386.rpm

    I am trying to install oracle 10g on Red Hat Linux 2.6.9-55.0.6.EL. However, while installing linux i did not selected to add the package 'sysstat'. Now, I need this package for proper installation of Oracle 10g. when i do rpm -q, it says that syssta