Rescheduling job using v_v2
Hi All,
When I run rescheduling job of backorders using V-V2 transaction, system is considering only firmed planned order receipts even though the scope of availability check has indicator "Incl. planned orders" as 'X' (Check all planned orders).
i.e., system is proposing new dates/quantities only if I firm any planned order.
Is this the SAP standard configuration that only firmed planned orders are considered for rescheduling job?
Thanks
Hello,
Precoditions for V_V2:
-Shipping data should be there
-V_V2 only takes the quantities on the plant level in considaration, the quantities just on the storage location level will not considered, because the design flaw is that picking the checking rule maintained in t161vn (storage location customization) and passing it on availability check routines is missing.
br, G
Similar Messages
-
Dear Friends,
Our Backorder rescheduling job runs in background every day at 2AM using program SDV03V02. Currently it is taking more than 7 hours. Need to do performance tuning ASAP. Tried to achieve by applying indexes, OSS notes 0000822884. But there is only 15min improvement after applying these.
Since this is frequently used batch job in every project. Please through some light if you come across this situation. Your immediate reply is appreciated and thanks in advance.
-RamaHi Rama,
Have you raised this with SAP?
Regards,
Atish -
Remove Reschedule jobs from Developer Reports Sever 6i
Dear All,
Please guide me how i can remove reschedule jobs from Developer Reports 6i
Regards
USMAN ALIInstall Forms in one directory (You can have reports in the same
directory).
Install oracle DB in another directory.
Don't change any file and reboot.
The listener will start automatically as a service.
(If not from a command line write "lsnrctl start" to start it).
To connect from forms/report to the DB you need to activate the
sqlnet easy config tool from the directory where forms is.
Follow the wizard to define an entry in the tnsnames.ora file
automatically.
Then you can use your forms with the DB.
(IF you get problems it usually helps to let us know the error
code you get so we can direct you in the correct direction). -
I am in the middle of a job using CS 6, but at the same time opening the Creative Suite apps. I created an InDesign file in CS 6, saved it, and now I can't open it. I'm getting this message: Cannot open file because it was saved with a newer version of Adobe InDesign CC (10.1). You must use that version or later to open the file." AARRGGHH! So how do I access the file?
Sounds like you opened and saved it in CC, so now you need to go back to CC and either complete the project there, or export to IDML to take it back into CS6.
-
Schedule a daily job using JOB_CLOSE
Hello,
I want to schedule a daily job using job_open, job_submit & job_close.
This job should run everyday at 22:00 hrs.
What are the parameters I need to set for the FM JOB_CLOSE?
Thanks,
A PothuneediLook at this sample provided by SAP : <a href="http://help.sap.com/saphelp_sm32/helpdata/en/fa/096d8e543b11d1898e0000e8322d00/content.htm">Sample Program: Start-Time Window with JOB_CLOSE</a>
Sample Program: Start-Time Window with JOB_CLOSE Locate the document in its SAP
<b>Library structure</b>
* Submit job: start-time window defined, with periodic repeat and
* with target system upon which the job is to run.
* In this case, you must provide start date settings. You can
* have the job started immediately with a JOB_CLOSE parameter,
* set the start date yourself, or ask the user with
* BP_START_DATE_EDITOR.
* Example: Provide start-date specifications yourself.
STARTDATE = '19970101'.
STARTTIME = '160000'.
LASTSTARTDATE = '19970101'.
LASTSTARTTIME = '180000'.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = JOBNUMBER " Job identification: number
JOBNAME = JOBNAME " and name.
SDLSTRTDT = STARTDATE " Start of start-time...
SDLSTRTTM = STARTTIME " window
LASTSTRTDT = LASTSTARTDATE " Optional: end of...
LASTSTRTTM = LASTSTARTTIME " start-time window
PRDMONTHS = '1' " Restart at intervals of
PRDWEEKS = '1' " the sum of the PRD*
PRDDAYS = '1' " parameters
PRDHOURS = '1'
PRDMINS = '1'
STARTDATE_RESTRICTION = BTC_DONT_PROCESS_ON_HOLIDAY
" Restrict job start to work
" days; don't start job if
" scheduled on holiday.
" Other values:
" BTC_PROCESS_BEFORE_HOLIDAY
" BTC_PROCESS_AFTER_HOLIDAY
CALENDAR_ID = '01' " ID of R/3 factory calendar
" for determining workdays
TARGETSYSTEM = 'hs0011' " Optional: name of the host
" system on which the job is
" to run. Set only if
" absolutely required.
" Example: A required tape
" drive is accessible only
" from a single host system.
IMPORTING
JOB_WAS_RELEASED = JOB_RELEASED " If user has authorization
" to release jobs to run, job
" is automatically released
" when it is scheduled. This
" field is set to 'x' if the
" job has been released.
" Otherwise, the job is sche-
" duled but must be released
" by an administrator before
" it can be started.
EXCEPTIONS
INVALID_STARTDATE = 01
JOBNAME_MISSING = 02
JOB_CLOSE_FAILED = 03
JOB_NOSTEPS = 04
JOB_NOTEX = 05
LOCK_FAILED = 06
OTHERS = 99.
IF SY-SUBRC > 0.
<Error processing>
ENDIF.
Regards -
Creating JOB using JOB API - Future Dated value for a segment
Hi
Trying to create a JOB using "hr_job_api.create_job" as of today (17-Jul-2009), with one of the segment value has the 'Date_from' as 26-Jul-2009.
API is throwing the below error
ORA-20001: FLEX-VALUE IS EXPIRED:
ORA-06512: at "APPS.HR_JOB_API", line 878
Have anyone come across this error before ?
Thanks
ArunAs per the error it saying there is a problem in the DFF attached with the job, or even job kff itself, paste the whole code and whole error
-
Schedule Background job using transaction CATM
Hi all,
Since we cannot schedule a background job using transaction CATM, I have created a program calling the CATM transaction through batch-input.
I have done a recording and entered the coding in a Z-program. For a vendor, I have recorded time in CAT2 for multiple purchase orders.
After entering the vendor number in CATM, all the purchase orders showed up. I have clicked 'select all' and posted.
When I run the program in the background, it posts only for one purchase order.
When I run the program in the foreground, using the Select All-button it only proceeds with the first line in my list of PO's.
How to read the whole stack and post the whole stack of purchase orders?
Please help me out with this.
Thanks
Regards
Srinivasan Desingh
408 368 3837Hi,
When I run the program in the background, it posts only for one purchase order.
When I run the program in the foreground, using the Select All-button it only proceeds with the first line in my list of PO's.
See..it's a Z-program so Its difficult to answer without checking the program. But I think, you should check your BDC again from Debugging, with the help of your abaper. You will find, why its is processing only one entry.
Regards
Shishir -
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 Schedule Job using Database Control for SQLPLUS script?
Hi All,
I am using Database version 10.2. I would like to schedule a SQLPLUS script job using Database control (Not using Grid Control!). The following is the script.
========================================================
define OEM_FRIENDLY=1
define OWB_BACKGROUND=0
set serveroutput on
set verify off
whenever sqlerror exit failure;
define REPOS_OWNER='&1.'
define LOCATION_NAME='&2.'
define TASK_TYPE='&3.'
define TASK_NAME='&4.'
define SYSTEM_PARAMS='&5.'
define CUSTOM_PARAMS='&6.'
alter session set current_schema = &REPOS_OWNER.;
set role owb_d_&REPOS_OWNER., owb_o_&REPOS_OWNER.;
variable exec_return_code number;
begin
-- Initialize Return Code
:exec_return_code := wb_rt_api_exec.RESULT_FAILURE;
-- Run Task
:exec_return_code := wb_rt_api_exec.run_task('&LOCATION_NAME.',
'&TASK_TYPE.',
'&TASK_NAME.',
'&CUSTOM_PARAMS.',
'&SYSTEM_PARAMS.',
&OEM_FRIENDLY.,
&OWB_BACKGROUND.);
end;
exit :exec_return_code;
===========================================================
Is it possible to schedule SQLPLUS script with 6 different parameters? If yes then how can I schedule for monday to friday or only for Saturday and sundays.
Please provide brief steps.
Thanks for your help in advance.
- MehulLet me explain to you about scheduler.
You can schedule a pl/sql stored procedure TEST_S as follows...
Begin
dbms_scheduler.create_job(
job_name=>'MY_JOB',
Job_Type=>'STORED_PROCEDURE',
job_action=>'TEST_S',
start_date=>sysdate,
repeat_interval=>'freq=monthly;BYDAY=MON,TUE,WED,THU,FRI',
end_date=>null');
END;
You can also also execute o/s script like .bat or .sh. For this job type should be EXECUTABLE.
Example of converting a .sql script in .bat script...
insert.sql
insert into dept values(50,'IT','LONDON');
exit
insert.bat
sqlplus scott/tiger @insert.sql
Executing now...
C:\Documents and Settings>insert.bat
C:\Documents and Settings>sqlplus scott/tiger @insert.sql
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Mar 1 08:01:00 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
1 row created.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - P
oduction
With the Partitioning, OLAP and Data Mining options
C:\Documents and Settings>
So first read about DBMS_SCHEDULER and do the work in prompt. Then you can go and schedule it even by database control.
Scheduling by database control...
http://www.oracle.com/technology/oramag/oracle/04-jul/o44tech_dba.html
Scheduler
http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sched.htm#CIHEHDHA
PS: By default each job you created is disable state. Please enable it by enable procedure of DBMS_SCHEDULER package. -
How to schedule the background job using current selection screen field val
Hello Friends,
How to schedule the background job using current selection screen field values.
after completion of the job the spool should be sent as a mail to SAP Inbox.
Is there any way to create the variant dynamically by reading the current selection screen values.
Thanks,
RaviHi,
To get the variant details you can use teh following FM.
'RS_VARIANT_CONTENTS'.
Regards,
Ankur Parab -
Getting error while trying to execute a external job using dbms_scheduler
Hello,
I create a job using alpha account.
begin
dbms_scheduler.create_job(
job_name => 'jps_test_executable',
job_type => 'EXECUTABLE',
job_action => '/usr/bin/ksh',
number_of_arguments => 2
dbms_scheduler.set_job_argument_value (
job_name => 'jps_test_executable',
argument_position => 1,
argument_value => '/tmp/abc.sh'
and when I execute the job in the schema using alpha account it works fine.
BEGIN
DBMS_SCHEDULER.run_job (job_name => 'jps_test_executable',
use_current_session => FALSE);
END;
Works fine.
But if I try to execute the same job using some other account say beta in the same schema , I am getting error
ORA-27476 :”SMS.RUN_SMS_JOBS Does not exist ORA-06512 at “SYS.DBMS_ISCHED” line 2793 ORA-06512 :at “SYS.DBMS_SCHEDULER”,line 1794
even I give the fill qualifier, still I am getting the error.
BEGIN
DBMS_SCHEDULER.run_job (job_name => 'alpha.jps_test_executable',
use_current_session => FALSE);
END;
Any help will be appreciated.
Thank you,
RajIt's the expected behavior:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sched.htm#CIHHBGGI
RUN_JOB requires that you be the owner of the job or have ALTER privileges on that job. You can also run a job if you have the CREATE ANY JOB privilege.So, you need to grant the required privilege:
aplha@orcl> grant alter on alpha.jps_test_executable to beta;HTH
Enrique
PS If your problem was solved consider marking the question as answered. -
In ABAP HR how to get job using position
In ABAP HR how to get job using position (Using Infotype 1001)
Hi anilkumar,
1. u have the position
u want the Job
2. In hrp1001 table
OTYPE = 'S' (for position)
OBJID = POSITION (AS ABOVE)
SCLAS = 'C' (for finding job)
<b> SOBID = XXXXXX (here u will get the JOB)</b>
regards,
amit m. -
Schedule a job using dbms_job package
SQL to schedule a job using DBMS_JOB.
variable jobno number;
variable status number;
begin
dbms_job.submit(:jobno, 'x(:status);', trunc(sysdate)+8/24,
'trunc(sysdate)+1+8/24', null);
commit;
end;
It fails and returns the following error ...
ORA-01008: not all variables bound
Is it possible to schedule a job to run a procedure with "IN OUT" parameter? I would appreciate any assistance.
Proc runs if I execute it from command mode and there are no issues.You cannot pass parameters back from a job-- Oracle spawns a separate session to run your job, so that session would receive any OUT parameters and end immediately after the job finishes. Even if Oracle let you do this, you would lose the OUT value as soon as the job ended.
If you want a job to return a status, you can-
1) Store the status in a table
2) Queue a status message in an Oracle Advanced Queue
3) Use dbms_alert to alert another process
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Scheduling job using DBMS_JOB.SUBMIT()
Hi people I hav esubmitted a job using DBMS_JOB.SUBMIT() package.I have set the time it should run after 5 minutes from the time i created.but now my question is how do we know the submitted job has been executed within specified interval?.am using oracle 9i.please suggest me.
Regards
VIDSYou should refer to DBA_JOBS and DBA_JOBS_RUNNING views to get information about your jobs
Please refer to this address to get more information about these views
http://pandazen.wordpress.com/2007/12/19/oracle-job-to-be-continued/
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com -
Trigger a job using an event through a process chain
Hi,
After the success of 5metachain, I am using AND condition
My requirement is as follows, it should trigger a job which needs to be after AND condition,
I have created an event using sm64. Basically the client wants to trigger the job using the event through the process chain. I have tried test scenariou2019s using ABAP program (Process type) in the process chain but it is failing. Is there any other way to trigger a job using an event through a process chain? If ABAP program is the only option, can you please specify what all needs to be filled in the variant?
Regards.
JerryHi,
Create a program like below,
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
EVENTID = 'EVENT WHICH YOU HAVE CREATED'
EXCEPTIONS
BAD_EVENTID = 1
EVENTID_DOES_NOT_EXIST = 2
EVENTID_MISSING = 3
RAISE_FAILED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
search and include the program name which you have created above in the "ABAP program" process type which you are going to include in the process chain.
Include the event which you have created in the start condition of the job.
Note: No need of give any variant, because here we are calling only one function in this program.
Regards,
Sridevi.
Maybe you are looking for
-
IPod touch 5th gen unlock screen GLITCH while music is playing
Hello, everyone. I am experiencing two, what I believe to be, very annoying software glitches on my 5th Gen iPod Touch 64 GB. I know for certain that I am not the only one because I have read other articles in this forum with people going through the
-
Deploy CR 10 from VS 2005 C# fails to login on 2nd try
Hi, I'm new to CR and .NET in general, but I've got a working app on my development m/c. I built a setup project in .NET and deployed the app to our test lab. From there I was able to generate a report on my first request, but when I returned to the
-
Help, I Can't open excel or word attachment​s
I received an email with an excel attachment. I open it and the screen is blank. when I open a word attachment, it looks like a fuzzy picture of the doc. How can I open and use word and excel attachments (I use office 2003)
-
Intermittent wifi connection drops on OSX 10.8.1
I've noticed since upgrading my Macbook Pro (early 2011) to 10.8, wifi connection would drop quite often if open Apple store and/or Itunes. I've tried changing wifi channels on my router, but with out success. I would have to turn wifi off/on to try
-
Display document present on network drive onto the Portal
Hi All, Can anybody suggest me a way to display a document that is present on the network drive onto the Portal. Thanks, Tom