Background Job step and Variant

Hi,
   We are undergoing process of renaming user IDs(Eg from ABC to XYZ). I would like to know the effect on Background jobs due to renaming. I am sure we need to update the job step(s) with the new user ID. Do we need to do anything with variants too or will they work for new IDs also. Your help is highly appreciated.
Thanks,
Venu.

Hi,
This is SAP Business one system administration forum. Please find correct forum and repost your discussion to get quick assistance.
Please close this thread here with helpful answer.
Thanks & Regards,
Nagarajan

Similar Messages

  • Schedule background job using system variant

    Dear gurus,
    We're planning to schedule background job using system variant, for example, current fiscal year and current posting period (transaction AFAB). Is it possible? So for example, for this month, "Posting Period" value will be 6, and then next month will be 7.
    Can you tell me how to do this, if I want to set up the schedule only once?
    Thanks for your help.
    Best Regards,

    done using abap

  • How to create a background job without a variant ?

    How to create a background job without a variant ?

    Hi,
    Go to se38.. specify the program name and execute Or use Tcode
    On the selection screen specify the variant...
    Then from the menu options choose program->excute in background...
    In this way we can crate a backgroup job with out crateing any varinat for the report...
    Satya.

  • Background Job Step

    Hi,
    I have 3 steps in my job. I want to check the status of each job step and if that job step fails , send email to certain people.
    How do i go abt doing abt it??
    In table TBTCP --  it gives the status of each job step as 'P' ie scheduled even for the finished ones... so i cant get correct data from TBTCP.
    Is der any FM implementing the same??
    Its Urgent.
    Answers will be rewarded,
    regards,
    Rohan

    Hi Rohan,
    Instead of creating the stpes, why don't you create the Job after completing the Fisrt job and for the Third Job select after completion of the Second job, so that you will get the Status in TBTCP table from there you can write the code to send the email
    Regards
    Sudheer

  • Is it possible to create a  background job without a variant

    Hi all,
    Is it possible to create a  background job without a variant ?
    If Yes ..How ?
    Thanks in advance
    KR

    Hi KR,
       if you have any selection-screen in your programm it is not possible otherwise it is possible.
    Plzz Reward if it is useful,
    Mahi.

  • How to get Current Background Job name and Job Count programmically?

    Hi all,
            I have a requirement wherein I need to get the Current Background Job name and Job Count in the program and store it in a custom table. In other words, whenever I schedule a particular program ( This is a Std program) in background, I need to update this table with the Job Name and Job Count. This will be used by another program later to read the Job Information from table TBTCO. TBTCO has key fields Job Name and Job ID. The sheduled program will be a SAP standard program and I'll be writing the logic to get the info in an Implicit Enhancement Spot.
    Is there anyway I can do this? Any FM to get this information?
    Thanks,
    Mahesh.

    Hey Adrian,
                             Thanks a lot. This is what exactly i was looking for. Appreciate it.
    Mahesh.

  • 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

  • Background job  step - Printer - Output device  table

    Hi,
    When creating background job, printer- output device also specified for every step. Which table to check for job name and output device combination ?
    Thanks.

    Hi Raj check table TBTCP

  • Background Job assigment with variant in SM37 , for Textfile uploading

    Dear all,
    Im using the BAPI_PO_CHANGE to update the existing schedule dates in Purchase Orders,
    for this the po's , item, schedules, delivery dates(Need to update) from a Textfile into the internal table
    and passing that data to bapi function module, it works fi9 in foreground and the output is a classical report
    with Corresponding messages through RETURN.
    i need the same to run in background with a variant, but after assigning the background job in SM36,
    i found that the job assigned got CANCELLED in SM37.
    I hope everything is clear, so kindly revert back with solution.
    Regards,
    Niranjan.G

    Hi,
    You should understand that background job will be executed in application server and there will be no gui or access to presentation server available.
    You should upload your file to application server through tcode CG3Z.
    See F1 help for OPEN DATASET / Search SCN for sample codes for OPEN DATASET.
    You should change the code so that it can be run in both modes using the system variable SY-BATCH.
    If it is space use GUI_UPLOAD, if it is X use OPEN DATASET.
    Regards
    Karthik D

  • Background job schedule and mail triggering

    Hi Experts,
    I schedule a background job to run a custom program for project closure.The job is running successfully. But,the mail I am getting from this job run is same all the time (means it's showing same project closure again and again though I am running job for different projects). Is it some bug in our custom program or any parameters required to be check in job schedule?
    Kindly suggest.
    Thanks & Regards
    Saurabh

    Yes. That is the point I am missing. Just one 'date' is checked and project is taken into account for the custom program and after its successful run the mail is sent to users.
    And when the same program I am assigning in SM36,it is actually running the program accurately for project/s but sending the same mail which it send for very first project earlier.
    Can you please guide me on the way to create these variants? 
    You will need to Save different variants for different projects and then assign the variants with your job.
    Will it be required to create variant again and again and assign different projects individually? As, we are not sure that which project is gonna be created in future. So, need guideline how these variants can help me to sort out the e-mail issue.
    Regards
    Saurabh

  • Background Job Scheduling with variants in IS - Public sector

    Hi,
    We run auto write off using scheduled job activity (SM37 -Program : RFKK_MA_SCHEDULER). There is an variant containing Main Transactions that needs to be included / excluded for write off.
    The variant values are changed / updated with additional main transactions and when we run the batch jobs the new variant values are not getting picked or used. If we run the program independently i.e FP04M and use the variant, the new variant values are being handled.
    I am not sure what is missing in the SM37 background job that is defined though the variant values are runtime parameters and should have automatically be used after it undergoes modification in the next job exeuction.
    Kindly provide your feedback.
    Thanks & Regards
    Bala
    P.S. : I Have posted this query in IS forum too.

    Hi,
    You should understand that background job will be executed in application server and there will be no gui or access to presentation server available.
    You should upload your file to application server through tcode CG3Z.
    See F1 help for OPEN DATASET / Search SCN for sample codes for OPEN DATASET.
    You should change the code so that it can be run in both modes using the system variable SY-BATCH.
    If it is space use GUI_UPLOAD, if it is X use OPEN DATASET.
    Regards
    Karthik D

  • Creating a background job with out Variant.

    Hi Experts,
    I'm developed one ALV report which is not having any selection-screen and Variant.
    We can execute the program in fore ground but the user wants to be run in back ground and he wants to be created a spool requet for that report.
    My Question is ...the above requirement is possible or not.
    if your answer is yes then
    How to create a variant for a report which is not having any selection-screen?
    Can we creat a spool request manually ..means with in the report only through coding?
    Thank you ,
    Venky.

    try this one...
    you can submit your report in background and create spool...
    An ALV report can be executed in background.. but if its an ALV Grid then spool will contain ALV list output. You can directly select execute in background even if you dont have any parameter on selection screen. or try below code...... if you want to create a spool from the report itself.....
    I hope its useful
    DATA: number           TYPE tbtcjob-jobcount,
          name             TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT report TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.

  • Parallel (same) background jobs:  Memory and locking issues

    <b>Scenerio:</b>  Multiple concurrent inbound asynchronous XI messages need to be processed in SAP.  We have the XI proxy initiating an RFC. This RFC exports internal tables (essentially the XI payload) to a unique shared memory ID (for each XI message). RFC then submits an abap (submit..and return)  in a background job. This abap reads (via IMPORT) the shared memory ID to get the data then process it.
    <b>Problem:</b>  : When multiple concurrent jobs/abap are running, often, but not always, one of the submitted abaps either gets a non-zero return code from the IMPORT, or the IMPORT from shared memory seems to work fine, but the table contents contains data from the other (parallel) run, even though the memory ID used is correct and unique.
    I have attempted to resolve this by using various methods (memory IDs, SPA/GPA parameter, ENQUEUE) of locking in the RFC (unlocking at end of abap), so that only one background job is executed at a time.  However, the best I can do is having two or three running in parallel.
    So I'm wondering how to solve this memory issue and/or how to make the abap processing synchronous?  Any help appreciated. Thanks.

    There is a limitation on Amt of data you can store in ABAP Memory and SAP Memory .. check those limitation ..per user ..
    also check for Number of external session granted by urr basis ppl...
    it may be possible that only 3-4 session are allowed coz each background process create and external session ..

  • Background Job definition and relationship between jobs

    Hi All,
    I have 2 jobs J1 and J2. After finishing J1, J2 should start. While defining through SM36, if we use After Job in Start Condition, first time the runs are ok, but if we wish to run it periodic, the dependency is lost. Can someone help me out??
    RSPC option is not there.
    thanks,
    Partha Maity

    Hi,
    I have tried the option of Job definition through SM36, it works for the first time as i have said, in periodic running dependency is lost. Tried again , same output.
    Defining a single job, we have tried this option, and it is taking unusally longer time, thats why we want to have separate job,. and one single big job fails we have very little option of recovery.
    RSPC option is not there in APO 3.1
    By events, how this can be acheived can some one give detail workout.
    Thanks in anticipation.
    Partha Maity

  • How to Execute RMDATIND inside another Background Job using a variant?

    Hi,
    It is only possible to start RMDATIND (direct input) in background from transaction BMV0 u2013 it is impossible just to place the program in another job in SM37 or SM36.
    In a related thead I saw : u201DSolved my self by using BI_START_JOB. If I use this function module along with RS_CREATE_VARIANT and RS_VARIANT_DELETE. u201C
    Following is the link to that thread
    Re: Problem in using JOB_OPEN, JOB_SUBMIT & JOB_CLOSE
    RS_CREATE_VARIANT (Creating a variant (not using a selection screen))
    RS_VARIANT_DELETE(Variant to be deleted)
    BI_START_JOB
    Can some one provide me with all the parameters required to execute the above Function Modules?

    Hi,
    Refer below thread:
    Process Control in Confirmation Parameters
    All the relevant details are explained in detail..
    Best Regards,
    Siva

Maybe you are looking for

  • How to find from the data dict if a user has read access on a directory

    How to find "dynamically" if a user has READ access to a directory object. I want to know if there is a data dictionary table that holds if a user/schema has read access to a directory object. I know there is an dba_directories table and an all_direc

  • Password-protected Excel file

    I am trying to create a connection to a password-protected Excel 2003 file. When I go to Create New Connection/Access/Excel(DAO)/make New Connection - I enter the filename path, choose Excel 8.0 from drop-down, and click the box for Secure Logon, and

  • A failure occured while importing Java SSO ticket certificate in ABAP stack Exception : FOREIGN_ENQUEUE_LOCK

    Dear All, We have completed the fresh installation of Soman7.1. Now , We are doing the "Configuration of the Solman" and we are in the Step "Basic configuration ". SID:        SMI Hostname: Solmantrg Solman version: 7.1 The SSO Setup is failing with

  • Macmini 2012, Mountain Lion, Logitech C600 webcam USB Mic...

    OK. So I got the new macmini 2012(base model). Got 10.8.2 on it and a webcam Logitech C600. Everything works fine (no additional drivers needed). The problem comes when sometimes (randomly) the mic stops working. It is a USB mic integrated in the web

  • Web Query Popup

    Is it possible to create a popup with the cube status for a web query. I have a request to display the status of the data once a web query is run. The request is to display all cubes within the multicube with date and times. I know under text element