Question on scheduling prod job

Hi experts,
I need help. Due to a technical reason, I can not schedule the process chain in prod. If I can give the program name to basis, they can be able to schedule the daily job. Is there any way I can get the program name(without the ability to run the chain) and job name so that it can be scheduled?
Thanks in anticipation.

Go To transaction:
SE37
Type: RSPC_CHAIN_START.
Click: Execute
I_CHAIN = "Your Process Chain name"
But, you cannot schedule from there since its a transaction. If you really want to go to that route, ask a ABAPer to create a program to call the above function module and then you can schedule the program.
Still its a very bad idea and please don't use it.
Just ask your BASIS folks to go to RSPC and let them schedule the P-Chains themselves.
Thanks,
Uday-Ram Chamarthy

Similar Messages

  • Scheduled Background jobs after Client Copy

    Hello,
    I've been doing some searching online and I don't seem to be able to find a definitive answer to this question:
    Are background jobs client specific?
    I've seen some discussions on here say some are and some are not.  I've also seen a discussion that says ALL background jobs are client specific.
    It's really related to non-SAP background jobs after a client copy.
    If I have a client 100 in QA with half a dozen non-SAP standard jobs configured, and I create client 110 in QA and perform a remote client copy from PROD into client 110 on QA, will my non-SAP standard backgrounds run in Client 110, or do I need to set them all up again?
    Thanks

    Hello All
    If I have a client 100 in QA with half a dozen non-SAP standard jobs configured, and I create client 110 in QA and perform a remote client copy from PROD into client 110 on QA, will my non-SAP standard backgrounds run in Client 110, or do I need to set them all up again?
    Yes. You will need to set those non standard jobs in the new client. When you schedule a job there will be a reference to the client where the job will be executed is stored under AUTHCKMAN in the table TBTCO. If the job is scheduled periodically then the job is executed only on the client where it is scheduled.
    I used SAP_ALL profile when performing the client copy.  So my scheduled jobs WILL have been copied along with everything else? Is that correct?
    In SAP_ALL profile the background jobs will be coming from source client not from QA client 100.
    No. Background jobs are not transportable and will not be copied during a client copy. Job definitions are client independent.
    Read these SAP notes.
    31503 - FAQ: Background jobs
    51135 - Why are bkgd processing jobs not generally transportable?
    If you want to schedule those jobs in the new client the follow the suggestion in the SAP note 3150 point 6.
    Regards
    RB

  • A collections of questions on scheduling information

    Hello, I am doing some research on QoS management, and I need much scheduling information. So I got some questions.
    1 Based on the oracle scheduler, I want to design my own scheduler(non-preempt). That is, once a job is finished, the scheduler need to schedule new jobs based on some job information. So how can i design such a scheduler? I think it should be a job in the database, but it is neither periodic nor event-based.
    2 Each time my scheduler runs, it probably schedule a same job to run. If the former instance of this job has not completed, the new instance will be skipped. How can I disable the former instance and let the new instance run?
    3 I will configure a periodic job which will collect all of the statistic data at the beginning of each period. How can I read the duration time of each job which has been completed? I know I can read the duration time from ALL_SCHEDULER_JOB_RUN_DETAILS,but the accuracy of the duration time in that view is only second. I need better accuracy. Another problem is, if a job has completed several instances in the last period, how can i differentiate them from each other. Because all of the instance number is 1.
    4 And also, I need to know how much CPU time all of the jobs in the last period have consumed. How can I know the cpu time of each instance of each job?(not only the jobs which have completed but also those jobs which are running.) (because I need add them together and write some algorithm to control it not exceed 80% of the period.)
    I am sorry to put so many troublesome questions together. Hope somebody can give me some guidance. Thanks a lot.

    Hi,
    I'll try to answer some of these questions briefly.
    1 Based on the oracle scheduler, I want to design my
    own scheduler(non-preempt). That is, once a job is
    finished, the scheduler need to schedule new jobs
    based on some job information. So how can i design
    such a scheduler? I think it should be a job in the
    database, but it is neither periodic nor
    event-based.The design of a new Scheduler is not something I can really advise on. Perhaps you could have it based on a master process which is a Scheduler job that runs frequently (once every minute or so).
    2 Each time my scheduler runs, it probably schedule a
    same job to run. If the former instance of this job
    has not completed, the new instance will be skipped.
    How can I disable the former instance and let the new
    instance run? The Scheduler does not allow multiple instances of the same job to run. If you want multiple instances of your action to run you need to create a scheduler program and then you can have multiple jobs pointing to that program. Those jobs can happily run in parallel
    3 I will configure a periodic job which will collect
    all of the statistic data at the beginning of each
    period. How can I read the duration time of each job
    which has been completed? I know I can read the
    duration time from ALL_SCHEDULER_JOB_RUN_DETAILS,but
    the accuracy of the duration time in that view is
    only second. I need better accuracy. Another problem
    is, if a job has completed several instances in the
    last period, how can i differentiate them from each
    other. Because all of the instance number is 1.The jobs will have different requested_start_dates . To gain better accuracy you can use log_date-actual_start_date from the ALL_SCHEDULER_JOB_RUN_DETAILS view.
    4 And also, I need to know how much CPU time all of
    the jobs in the last period have consumed. How can I
    know the cpu time of each instance of each job?(not
    only the jobs which have completed but also those
    jobs which are running.) (because I need add them
    together and write some algorithm to control it not
    exceed 80% of the period.)You can do this by querying both ALL_SCHEDULER_JOB_RUN_DETAILS and ALL_SCHEDULER_RUNNING_JOBS .
    Hope this helps,
    Ravi.

  • Schedule background jobs which run only on Thursdays.

    Dear Friends,
    We are using ECC6.00. I have a requirement whereby a specific job (background) should be executed only on Thursdays. I searched in this forum but couldn't get anything related to my question. I tried the options present in the SM36 transactions (scheduling options).
    Is there any way of achieving my requirement.? Experts help required.
    Regards,
    M.M

    Hi Magesh,
    I am not sure if this would be the right approach. But if you are really sure that there is no way to do this using SM36 settings,
    you can schedule a job to execute daily, which would be a custom abap program.
    This program would check the day and if it is a thursday ,will schedule another job for the day(programatically).
    This can be a way around to solve this problem.
    Regards,
    Sagar

  • Schedule background job programatically

    Hi,
    I want to schedule background job programatically  .
    Also, I want to specify the scheduled start time & start date .
    Please suggest .
    Moderator message - This question has been asked and answered many times before. Please search before posting.
    Edited by: Rob Burbank on Apr 16, 2009 12:27 PM

    Hi
    Please check this link
    [http://help.sap.com/saphelp_46c/helpdata/en/fa/096ee5543b11d1898e0000e8322d00/frameset.htm]
    Thanks,
    Hari

  • Schedule Background jobs automatically -

    Hello Guys,
    I have the following requirement.
    I have a copy program in BPS-SEM(ABAP program).
    Users have to run the copy program for different combinations like
    variant:1
    costcenetr 100-200
    valuetype - 10
    user 1
    variant:2
    costcenetr 400-500
    valuetype - 10 to 20
    user 1
    variant:3
    costcenetr 1000 to 2000
    valuetype - 50 to 70
    user 2
    ...etc.maybe there will be 10 to 15 variants will be created by 4-5 different users .
    I have to schedule the above jobs in sequence. The user wants to determine
    variant 1 - seq 1
    variant 4 - seq 2 after completing variant 1
    variant3  - seq3 after completing variant 4
    so I have to schedule all the variants in sequence the user wants to schedule the job.
    After all the above jobs are done, I have to schedule a job with variant called - calculate all functions. This has to be last after running all the above variants.
    My question is
    4 users have created 10 variants.
    I want to schedule the above variants in sequence in which the user wants to do execute it.(Is there anyway user can choose the sequence )
    2.After running all the above variants I have one variant which I have to run after completing the above variants.
    Thanks for your help guys.

    Hi,
    While Scheduling jobs through SM36 you have to specifiy the start condition for a Job.
    You can specify the START CONDITION as 'AFTER JOB'. So the first JOB will be scheduled normally. For all the Other JOBS, we will specify the start condition as the Previous JOB.In this case the Job will run After the completion of the previous Job.
    So you can schedule all the JOBS in sequence for all the Variants. So every JOB will run one after other in sequence
    Go through the link below
    http://help.sap.com/saphelp_bw21c/helpdata/en/c4/3a7fae505211d189550000e829fbbd/content.htm
    Reward points if useful
    Regards,
    Abhishek

  • How to schedule a job to trigger SAP IE send the message

    Hi XIer,
    Our scenario:
    I created a report to use ABAP client proxy to trigger a message in SAP R3. I can see this message has generated in SXMB_MONI in SAP IE(not in XI IE)&#65292;but the message status is <message released( commit successful )>, but not send, so I go to SMQ2 inbound queue, and execute the message which pending there waiting for trigger. Then the message successful send out.
    My question will be: I believe there will be some background job to do this job to trigger the messages lay in the inbound queue, but I don't know which report will do this job, is there any one can give some hits? thank you very much for your time. : )

    Hi -
    Have you registered the queues on the R/3 side?   In SAP R/3's SXMB_ADM-->Manage Queues, then select "Register Queues" and "Execute Action" button.
    Shouldn't need to schedule a job to trigger the send.
    Regards,
    Jin

  • How to schedule a job which needs to run evry day 1(AM) o clk?

    begin
    DBMS_SCHEDULER.create_job (
    job_name=> 'BJAZPROPMAINTAIN',
    job_type=> 'PLSQL_BLOCK',
    job_action=> schemaname.schedule_procedure;',
    start_date=> '02-aug-08 01:00:00 PM',
    repeat_interval=> 'FREQ=DAILY; BYHOUR=01',
    enabled =>TRUE,
    auto_drop=>FALSE);
    end;
    Hi all,
    i want to schedule a job which needs to be run every day one o clock early morning i haven't set the job_scheduler before this. by searching thru net and prev scheduler coding i have written the above code here for running evry day early morning 1 o clock i m little bit of confused in the time
    repeat_interval=>'FREQ=DAILY;BYHOUR=01'; whether is is correct one or wrong?
    and also there are some other job is scheduled in the same time . will it create any problem of executing at the sametime or we need to change the timing of 1:15 like that?
    please advise me..

    Thanks a lot so it will be executing every night 1 o clock am i right?
    It should.But I shall say that schedule it and than only we can be sure about it.About the timing part, its correct syntatically.
    i saw that job_priority column in dba_scheduler_jobs table but dont know what it does?
    and also how can fetch this job scheduler sid,serial# i checked v$session but how to correlate this ..
    please explain me
    In schedulerjobs,there is a column ,client_id.You can map it to the sid from the V$session.I don't have a box running Oracle at the moment so I wont be test it for you.Do it and post feedback.
    what will happen if more than one job is scheduled in the sametime
    i think for this only we set the priority on the two which one needs to be first exec(depends on the high priority)
    let me know about this.
    Jobs are prioritized by two parts,within the class they are a part of and individualy.If you have two jobs in the same class than they can be make run with a different priority with the priority clause set within them.This has a number which start from 1 meaning highest priority.So if there are two jobs scheduled for the same time,you need to check which job class they fall into. If they are in the same class than you have to change the priority of them.
    I suggest you read the books,they cover all these topics in much more detail.
    Also there is a dedicated forum about Scheduler.In future for Scheduler regarded questions, you can visit there.
    Scheduler
    Aman....

  • Scheduling Dependent Jobs

    Hi,
    I am trying to schedule 2 jobs that are not logically linked, but their execution is dependent.
    ex: Job A: Gather the DB Stats
    Job B: Run the DB Export
    Due to some technical reasons, I want Job B to run during its allocated schedule ONLY IF Job A ran, and completed successfully before it was Job B time slot.
    So my questions:
    1- Is there a way to do this in Enterprise manager?
    2- Is there a way to do this in the script, other than calling job B specifically from job A, nor enabling / disabling nor altering the Job in any way..
    Thanks

    Thanks Lakmal.. So I am using Oracle 11g, and I had a look at the link you provided. Quite informative and useful.
    So I have the below assumptions, please correct me if I am wrong:
    1- So this is basically like a subroutine of jobs,whereby they run according to the chain.
    2- and each job runs when the previous is completed.
    3- So if one of the jobs in the chain fails, the whole chain fails, and no retries are executed on the chain level
    Right?
    Thanks

  • Schedule a Job

    Hi,
    I have followed the following <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1515">blog</a> and inside the run method I have written a code which accesses user data and calls a Remote FM using JCA.
    The same code works when I execute in Abstract portal component.
    I have scheduled the job but the FM I wanted to call is not getting triggered at all.
    Can some one give me some idea of where should I look to solve this problem.
    Regards,
    Nagaraju Donikena
    Message was edited by:
            Nagaraju Donikena

    You will want to have a look at the <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/d2/5c830ca67fd842b2e87b0c341c64cd/frameset.htm">Logging and Tracing API</a>.
    To get started, you'll want to have a static variable in your scheduler task:
    static Location _loc = Location.getLocation(<classname>.class);
    and then you can make calls in individual methods like this:
    _loc.debugT("It's running!");
    In order for this method to work, you'll have to make sure that the location for the class in question is set to output for the "Debug" level.
    So if your Java class is "com.acme.example.MyClass", then you'll want to create a new location in Visual Administrator's Log Configurator with the same name (or any "parent" of this name, like "com.acme") and then make sure the severity is set to "Debug" to see the messages.
    Also, there used to be an issue with scheduler tasks where it was necessary to browse down through the entire configuration tree in the KM config iView and click on your task to get the KM runtime to load the task. This was in older versions.
    Do you see any errors in your logs?

  • API for scheduling background jobs

    Hello friends,
    What is the API provided by R/3 to schedule background jobs, apart from the internal transactions,  sm36 ?
    regards,
    Tanmay.

    Hi,
    There are FMs to create and schedule jobs instead of manually going to transaction SM36.
    JOB_OPEN (create a job)
    JOB_SUBMIT (attach program to be scheduled and set other scheduling parameters)
    JOB_CLOSE (finally release it for use)
    Hope your question is answered...
    Regards, Tapas
    <Pls reward if useful or answered>

  • Scheduled Batch jobs error : ora-01031 insufficient privileges

    I have created a batch job that runs my database backups on a windows 2000 server. This job works perfect from the command line with the following syntax:
    coldbackup.bat PROD
    I have tried to schedule this backup to run every evening as follows:
    at 01:00 /every:M,T,W,Th,F,S C:\coldbackup.bat PROD
    The batch job does run every morning but generates an error when trying to shutdown the database. The error is ora-01031 insufficient privileges and seems to be related to the 'connect / as sysdba' command. The job has been scheduled using the local 'Administrator' user, which have been added to the ORA_DBA group.
    I have thought of one solution and that entails hard-coding the username and password into the script, but that creates a security risk.
    Can someone explain this behaviour and possible provide a good solution.
    Thank you

    Solution: Yes, I have found the solution to my problem.
    I was trying to schedule the batch job from the command line and in doing so the job was running in a 'system' user.
    When I scheduled the job from the control panel --> schedule tasks I was able to enter the 'run as' username and password.

  • Scheduling V3 Job.

    Hello experts,
    Need inputs on the below query..
    Background:
    There is V3 job scheduled for logistics application no. 11, 12, 13as follows
    LIS-BW-VB_APPLICATION_13_100---runs daily (all 7 days) at 00:00 for 6 mins
    LIS-BW-VB_APPLICATION_12_100---runs daily (all 7 days) at 19:30 for 6 mins
    LIS-BW-VB_APPLICATION_11_100----runs daily (all 7 days) at 00:00 for 16 mins
    Now there is a R/3 transport going on due to which all users on R/3 will be locked on saturday at 5am to 7am (2 hours). Please note that the R/3 transport is not related to any modifications related to above application no.s.(11,12,13)...the transports are for some other project.
    Also the corresponding process chains for logistics application no. 11, 12 and 13 do not run on saturdays and Sundays. The process chains runs daily from Monday to Friday.
    Question 1: What actions do i need to take considering the above scenario on BW side.
    Question 2: If i run the V3 job from LBWE screen (using Job Control tab) as Immediately, then after the completion of V3 job which were scheduled Immediately, will they be again scheduled as normally they use to (as mention above) OR do i need to again give the start condition (Run daily at 00:00 for appl no. 11, and so on..)
    Thanks.

    Hi,
    Question 1: What actions do i need to take considering the above scenario on BW side.
    Nothing needs to be done. You dont't even need to clear LBWQ/ RSA7 queues. They would be taken care of in the next run.
    Question 2: If i run the V3 job from LBWE screen (using Job Control tab) as Immediately, then after the completion of V3 job which were scheduled Immediately, will they be again scheduled as normally they use to (as mention above) OR do i need to again give the start condition (Run daily at 00:00 for appl no. 11, and so on..)
    If still you want to run the job as immediately, you have 2 ways,
    1. From LBWE schedule it the way you have mentioned. This way your job would be trigger only once. And the periodic job which is in place would not be impacted. It would continue to trigger on daily basis.
    2. Go to SM37. Here, you would find all your jobs in released status.(If you double click on these jobs, you would find that these jobs are scheduled to run on daily basis. Thats how this job gets triggered on daily basis)
    LIS-BW-VB_APPLICATION_13_100
    LIS-BW-VB_APPLICATION_12_100
    LIS-BW-VB_APPLICATION_11_100
    Simply, select any of these jobs. On menu bar, Job-> Repeat Scheduling-> Schedule the job immediately. This way again, your job would get scheduled and would not impact the normal frequency of the released job.

  • Schedule Agent Job as per calendar

    Hi All,
    I have a requiremnt which needs to be automated using Sql Server Agent Job..I am not sure how it can be done.. I have a calendar table which consists 5yrs of dates column.. I need to schedule a job depending on those dates.. 
    How can i achieve this using Sql Server Agent Job. I know we can write a step but how to do it is my question. Let me know if i am not clear in asking my questions..
    Thanks Folks
    Thanks, Anji

    Hi Anji
    According to steps you have described(idea is to fail STEP1 for date which are not present in Job_Schedule table)
    Step1 : Create a STEP1 with TSQL code as below
    IF NOT EXISTS(select Rundate from Job_Schedule where RunDate = convert(varchar(10),GETDATE(),121) and Isprocessed=0)
    RAISERROR('Job date is not Job_Schedule table',16,1)
    and make sure "On  Failure" is set to "Quit the job reporting success" for STEP1
    STEP2 : you can configure your ETL package
    STEP 3 : you can update the Job_Schedule using below query
    IF EXISTS(select Rundate from Job_Schedule where RunDate = convert(varchar(10),GETDATE(),121) and Isprocessed=0)
    UPDATE Job_Schedule SET Isprocessed = 1 where RunDate = convert(varchar(10),GETDATE(),121) Isprocessed=0
    you could also include this step in your ETL package too, in that way you can take different path when current date is not present in Job_Schedule
    I actually suggest this method like for a store procedure configured in SQL JOB, it is much simple when compare to ETL JOB
    IF EXISTS(select Rundate from Job_Schedule where RunDate = convert(varchar(10),GETDATE(),121) and Isprocessed=0)
    EXEC SP1
    please try to include STEP1 in you ETL package if it is feasible
    Thanks
    Saravana Kumar C
    Please Mark This As Answer if it helps to solve the issue

  • How to schedule a job in another system.

    Hi,
    Now i have an ABAP program, which run in system ABC, client 001. i want to schedule a job in the program, with the function modules JOB_OPEN, JOB_SUBMIT, and JOB_CLOSE. But this job should run in ABC/002.
    How to write code?
    Who can help me on the requirement, or provide me another new solution except event trigger?
    Thanks & Best Regards,
    Johnney

    Here is the code. It works fine..
    FUNCTION Z_F_TRIGGER_REPORT.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_PROG) TYPE  D010SINF-PROG
    *"     VALUE(I_VARIANT) TYPE  VARIS-VARIANT
    *"     VALUE(I_MODE) TYPE  CHAR01
    *"  EXPORTING
    *"     VALUE(E_SUBRC) TYPE  SYST-SUBRC
    *"     VALUE(E_MSG) TYPE  CHAR80
    Functio ID :  Z_F_TRIGGER_REPORT
    TITLE      :  Report Trigger Tool
    Create Date:  15.03.2004
    Author     :  Denis Vieira
    Ownership : For the exclusive use of the Procter & Gamble Company
    Description:
    The purpose of this function module is to trigger programs
    requested remotely.
    AUTHORIZATION CHECKS
    OBJECT               AUTHORITY FIELDS         ABAP FIELDS
                     |                       |
    CHANGE HISTORY                                                      *
      DATE      |  Name  | Description                       | Reference *
    29.Jun.2006 | BA4513 | Unicode conversion and upgrade    | SPK290606
                |        | to My SAP ERP                     |
    **eject.
    Check if selected program exists in the destination file
      SELECT SINGLE  SUBC
             FROM    D010SINF
             INTO    D010SINF-SUBC
             WHERE   PROG    EQ  I_PROG
             AND     R3STATE EQ  C_A.
      IF SY-SUBRC NE C_0.
        MOVE  C_2                                               TO E_SUBRC.
        MOVE 'Report does not exist in destination system'(M01) TO E_MSG.
        EXIT.
      ENDIF.
    Check if program request is an executable program
      IF D010SINF-SUBC NE C_1.
        MOVE  C_2                                               TO E_SUBRC.
        MOVE 'Report is not an executable program'(M02)         TO E_MSG.
        EXIT.
      ENDIF.
    Check if selected variant exists in the destination file
      SELECT COUNT( * )
           FROM  VARIS
           INTO  W_COUNT
           WHERE REPORT  EQ I_PROG
           AND   VARIANT EQ I_VARIANT
           AND   DYNNR   EQ C_1000.
      IF W_COUNT EQ C_0.
        MOVE  C_2                                                TO E_SUBRC.
        MOVE 'Variant does not exist in destination system'(M03) TO E_MSG.
        EXIT.
      ENDIF.
      IF I_MODE EQ C_B.
        PERFORM 0100_BACKGROUND USING     I_PROG I_VARIANT
                                CHANGING  E_MSG  E_SUBRC.
      ELSE.
        PERFORM 0200_FOREGROUND USING     I_PROG I_VARIANT
                                CHANGING  E_MSG  E_SUBRC.
      ENDIF.
    ENDFUNCTION.
    *eject
    *&      Form  0100_background
    Executes Selected program in BackGround Mode VIA JOB
    *Block commented from here SPK290606
    *FORM 0100_BACKGROUND USING     L_PROG L_VARIANT
                        CHANGING  L_MSG  L_SUBRC.
    *Block commented till here SPK290606
    *Block added from here SPK290606
    FORM 0100_BACKGROUND USING    L_PROG    LIKE D010SINF-PROG
                                  L_VARIANT LIKE VARIS-VARIANT
                         CHANGING L_MSG     TYPE  CHAR80
                                  L_SUBRC   TYPE  SYST-SUBRC.
    *Block added till here SPK290606
      CONCATENATE C_AREA
                  C_UND
                  L_PROG
                  C_UND
                  SY-DATUM
                  C_UND
                  SY-UZEIT
                  INTO W_JOBNAME.
    Create a JOB and Get the Number for further execution
      CALL FUNCTION 'JOB_OPEN'
           EXPORTING
                JOBNAME  = W_JOBNAME
           IMPORTING
                JOBCOUNT = W_JOBCOUNT.
      IF SY-SUBRC NE C_0.
        MOVE  C_2                       TO L_SUBRC.
        MOVE 'Error opening job'(M07)   TO L_MSG.
        EXIT.
      ENDIF.
    Submit program
      SUBMIT (L_PROG)
        USING SELECTION-SET L_VARIANT
        VIA JOB W_JOBNAME NUMBER W_JOBCOUNT
        AND RETURN.
      IF SY-SUBRC NE C_0.
        MOVE  C_2                        TO L_SUBRC.
        MOVE 'Error Submitting Job'(M06) TO L_MSG.
        EXIT.
      ENDIF.
    Closes job to start its processing
      CALL FUNCTION 'JOB_CLOSE'
           EXPORTING
                JOBCOUNT  = W_JOBCOUNT
                JOBNAME   = W_JOBNAME
                STRTIMMED = 'X'.
      IF SY-SUBRC NE C_0.
        MOVE  C_2                       TO L_SUBRC.
        MOVE 'Error closing job'(M08)   TO L_MSG.
        EXIT.
      ENDIF.
      MOVE  C_0                                          TO L_SUBRC.
      MOVE 'Program Submitted in Background Mode'(M09)   TO L_MSG.
    ENDFORM.
    *eject
    *&      Form  0200_foreground
    Executes Selected program in ForeGround Mode VIA Submit
    *Block commented from here SPK290606
    *FORM 0200_FOREGROUND USING     L_PROG L_VARIANT
                        CHANGING  L_MSG  L_SUBRC.
    *Block commented till here SPK290606
    *Block added from here SPK290606
    FORM 0200_FOREGROUND USING    L_PROG    LIKE D010SINF-PROG
                                  L_VARIANT LIKE VARIS-VARIANT
                         CHANGING L_MSG     TYPE  CHAR80
                                  L_SUBRC   TYPE  SYST-SUBRC.
    *Block added till here SPK290606
      SUBMIT (L_PROG) USING SELECTION-SET L_VARIANT
             EXPORTING LIST TO MEMORY AND RETURN.
      IF SY-SUBRC EQ C_0.
        MOVE  C_0                                 TO L_SUBRC.
        MOVE 'Report submitted successfully'(M04) TO L_MSG.
      ELSE.
        MOVE  C_2                                 TO L_SUBRC.
        MOVE 'Error submitting report'(M05)       TO L_MSG.
      ENDIF.
    ENDFORM.

Maybe you are looking for

  • Reports only showing up in local admin console?

    Ok, so I am stuck. I have installed SCCM 2012 without issue and installed the Reporting Services point using the same system as the SRS server. Everyhting at first appeared to be great. Using the local console on the server all the reports show up an

  • Vendor Master Creation  / Change workflow

    How can we have   facility of vendor master workflow.  After the vendor master gets created, unless there is an approval, no transactions to be posted.  How it can be achieved .  Pl. send some details thanks amit

  • Is it possible to create 2 Date objects with different hashcode.

    Hi, I want to create 2 java.util.Date objects with different hashcodes. Is it possible?? Regards, Farooq

  • Conditional Form validation

    hi, is it possible to do conditional or group validation with the new Spry widgets? Thanks.

  • How to place an MP3 in muse

    I am trying to place a few MP3 into muse and have tried the sites that where mentioned, soundcloud, wimpy, and etc.  And nothing is working and I have tried researching the web why and I followed those instructions and still no luck after 2 hours.  C