Default posting date as 'Today Date' while executing CAT5 to transfer hours
Hi Experts,
I want to schedule a job in background to execute CAT5 automatically but system should consider posting date as 'as on date'/ 'Current date' for transferring the all hours into project otherwise it throws an error 'Posting period is not open'.
So please let me know, how can I configure the system so that it should consider posting date as 'Today Date' by default while executing CAT5 in both cases whether manually or automatically.
Thanks in advance.
With regards,
Sandy
Edited by: Sandyk on Nov 5, 2009 3:31 PM
Edited by: Sandyk on Nov 5, 2009 3:33 PM
Hi,
Try to take a look the setting of the following transaction,
IMG> FA> AR & AP> Business Transactions> Incoming Payments> Manual Incoming Payments> Define Tolerances
See what has been set for payment term for Residual Items.
Regards,
Similar Messages
-
How pass date parametet in procedure while executing
I am written procerdure in which I have to pass parameter the datatype is date how can I am able to pass the date while executing
please help meya its from the cient application but I am checking that procedure is executing properly or not so I passing it through prompt.
I am executing in tha same format given by u, its displaying following error
BEGIN HANGER_FAILURE_PROCEDURE (to_date('01-jan-05','dd-mon-yy') ); END;
ERROR at line 1:
ORA-01001: invalid cursor
ORA-06512: at "SYSTEM.HANGER_FAILURE_PROCEDURE", line 62
ORA-06512: at line 1
===============================
And my procedure is
CREATE OR REPLACE PROCEDURE HANGER_FAILURE_PROCEDURE (startDate IN FRIT_HANGER.AGING_START_TIME%TYPE ) IS
shiftDescription SHIFT.DESCRIPTION%TYPE;
failure_number HANGER_FAILURE.FAILURE_NUMBER%TYPE;
failure HANGER_FAILURE.FAILURE_NUMBER%TYPE;
fritID LVT_TEST.FRIT_ID%TYPE ;
lvt_description LVT.DESCRIPTION%TYPE;
test_time LVT_TEST.TEST_TIME%TYPE ;
mikr LVT_TEST.MIKR%TYPE;
mikr_res LVT_TEST.MIKR_PASSED%TYPE;
mikg LVT_TEST.MIKG%TYPE;
mikg_res LVT_TEST.MIKG_PASSED%TYPE;
mikb LVT_TEST.MIKB%TYPE;
mikb_res LVT_TEST.MIKB_PASSED%TYPE;
coe2r LVT_TEST.COE2R%TYPE;
coe2r_res LVT_TEST.COE2R_PASSED%TYPE;
coe2g LVT_TEST.COE2G%TYPE;
coe2g_res LVT_TEST.COE2G_PASSED%TYPE;
coe2b LVT_TEST.COE2B%TYPE;
coe2b_res LVT_TEST.COE2B_PASSED%TYPE;
grparameter AGING_TEST.GR%TYPE;
ccr VTS_TEST.CCR%TYPE;
ccg VTS_TEST.CCG%TYPE;
ccb VTS_TEST.CCB%TYPE;
aging_hangerId AGING_HANGER.AGING_HANGER_ID%TYPE;
aging_start_time FRIT_HANGER.AGING_START_TIME%TYPE;
failure_type HANGER_FAILURE_TYPE.HANGER_FAILURE_TYPE_ID%TYPE;
CURSOR result_lvt(sdate FRIT_HANGER.AGING_START_TIME%TYPE) IS
SELECT
AGING_HANGER.AGING_HANGER_ID,
LVT.DESCRIPTION,
FRIT_HANGER.AGING_START_TIME,
LVT_TEST.FRIT_ID,
LVT_TEST.TEST_TIME,
LVT_TEST.MIKR,
LVT_TEST.MIKR_PASSED,
LVT_TEST.MIKG,
LVT_TEST.MIKG_PASSED,
LVT_TEST.MIKB,
LVT_TEST.MIKB_PASSED,
LVT_TEST.COE2R,
LVT_TEST.COE2R_PASSED,
LVT_TEST.COE2G,
LVT_TEST.COE2G_PASSED,
LVT_TEST.COE2B,
LVT_TEST.COE2B_PASSED
FROM LVT_TEST,LVT,FRIT_HANGER,AGING_HANGER
WHERE LVT_TEST.LVT_ID=LVT.LVT_ID
AND
FRIT_HANGER.AGING_HANGER_ID=AGING_HANGER.AGING_HANGER_ID
AND LVT_TEST.FRIT_ID=FRIT_HANGER.FRIT_ID
AND FRIT_HANGER.AGING_START_TIME>sdate
ORDER BY FRIT_HANGER.AGING_START_TIME;
BEGIN
IF result_lvt%ISOPEN THEN
OPEN result_lvt(startDate);
END IF;
LOOP
FETCH result_lvt
INTO aging_hangerId, lvt_description, aging_start_time, fritID, test_time, mikr, mikr_res, mikg, mikg_res, mikb, mikb_res, coe2r, coe2r_res, coe2g, coe2g_res, coe2b, coe2b_res;
exit when result_lvt%NOTFOUND;
SELECT GR INTO grparameter
FROM AGING_TEST
WHERE
TEST_TIME = (SELECT MAX(TEST_TIME) FROM AGING_TEST WHERE FRIT_ID = fritID);
SELECT CCR, CCG, CCB INTO ccr,ccg,ccb
FROM VTS_TEST
WHERE TEST_TIME = (SELECT MAX(TEST_TIME) FROM VTS_TEST WHERE FRIT_ID = fritID);
SELECT DESCRIPTION INTO shiftDescription
FROM SHIFT
WHERE START_TIME=TRUNC( aging_start_time);
IF( mikr_res=0 OR mikg_res = 0 OR mikb_res = 0 )
THEN
SELECT MAX(FAILURE_NUMBER) INTO failure
FROM HANGER_FAILURE
WHERE AGING_HANGER_ID=aging_hangerId
AND TO_DATE(AGING_START_TIME) = TO_DATE(aging_start_time)
AND
SHIFT_DESCRIPTION = shiftDescription;
failure_number:=failure+1;
SELECT HANGER_FAILURE_TYPE_ID INTO failure_type
FROM HANGER_FAILURE_TYPE
WHERE DESCRIPTION='MIK';
INSERT INTO HANGER_FAILURE (HANGER_FAILURE_ID, HANGER_FAILURE_TYPE_ID, AGING_HANGER_ID,
SHIFT_DESCRIPTION, AGING_START_TIME, FAILURE_NUMBER, LVT_DESCRIPTION,FRIT_ID,TEST_TIME, MIKR, MIKG, MIKB, COE2R, COE2G, COE2B, GR,CCR, CCG ,CCB ) VALUES(HANGER_FAILURE_ID_GENERATOR.NEXTVAL, failure_type, aging_hangerId, shiftDescription,aging_start_time,failure_number ,lvt_description, fritID,test_time, mikr,mikg,mikb,coe2r,coe2g,coe2b,grparameter,ccr,ccg,ccb);
ELSE
DBMS_OUTPUT.PUT_LINE('Doesn''t occur any MIK failure');
END IF;
IF (coe2r_res = 0 OR coe2g_res = 0 OR coe2b_res = 0)
THEN
SELECT MAX(FAILURE_NUMBER) INTO failure
FROM HANGER_FAILURE
WHERE AGING_HANGER_ID=aging_hangerId
AND TO_DATE(AGING_START_TIME) = TO_DATE(aging_start_time)
AND
SHIFT_DESCRIPTION = shiftDescription;
failure_number :=failure+1;
SELECT HANGER_FAILURE_TYPE_ID INTO failure_type
FROM HANGER_FAILURE_TYPE
WHERE DESCRIPTION='COE2';
INSERT INTO HANGER_FAILURE (HANGER_FAILURE_ID,HANGER_FAILURE_TYPE_ID,AGING_HANGER_ID,
SHIFT_DESCRIPTION,AGING_START_TIME ,FAILURE_NUMBER, LVT_DESCRIPTION,FRIT_ID,TEST_TIME,MIKR,MIKG,MIKB,COE2R,COE2G,
COE2B,GR ,CCR,CCG ,CCB ) VALUES(HANGER_FAILURE_ID_GENERATOR.NEXTVAL, failure_type, aging_hangerId, shiftDescription,aging_start_time,failure_number ,lvt_description, fritID,test_time, mikr,mikg,mikb,coe2r,coe2g,coe2b,grparameter,ccr,ccg,ccb);
ELSE
DBMS_OUTPUT.PUT_LINE('Doesn''t occur any COE2 failure');
END IF;
END LOOP;
CLOSE result_lvt;
END;
plz help me -
How to display contineous 10 dates from today date using SQL query
Hi All
I need a requirement of displaying 10 dates and numbers contineously, I have written a query for getting 10 numbers like this
select rownum from dual where rownum < 10 connect by rownum = level;
But i am not able to get the dates, Can any one help me ?Hi Satyaki,
No issues on my 9.2.0.8 client.
SQL*Plus: Release 9.2.0.8.0 - Production on Sat May 3 09:49:17 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn test/test@db10g
Connected.
SQL> select rownum, trunc(sysdate) + rownum from dual where rownum <= 10 connect by rownum = level;
ROWNUM TRUNC(SYS
1 04-MAY-08
2 05-MAY-08
3 06-MAY-08
4 07-MAY-08
5 08-MAY-08
6 09-MAY-08
7 10-MAY-08
8 11-MAY-08
9 12-MAY-08
10 13-MAY-08
10 rows selected.
SQL> Regards -
Ad Hoc Query - While executing - System could not read any data
Hello Techies,
When I am excuting my Ad hoc query - for one personnel number for which Infotype 28 subtype 0001 has been maintained
But system is throwing this error -
System could not read any data
Message no. AQ_AD_HOC226
Diagnosis
There is no data available for the specified selections.
System response
The results list in the lower part of the screen still displays the last list to be created.
Please let me know why does it happening ?
Thanks
JaydeepIt was an date selection issue - as while executing the Ad hoc query - the reporting date is today -
changed to all -
Hi,
I have date as a Variable selection in the query.
The date field shud accept values taht are Greater than equal to todays Date (Default) only.By default it shud be todays date
or the user can choose either a future date ,however he shud not be able to see the report for previous date.
Kindly let me know as to how to proceed ??
Any changes in QD or any Coding to be written.
Explain Step by Step
Thanx in Advance.
SVU123Hello,
You can use a variable with processing type user exit. In the user exit at [I_STEP = 1|http://help.sap.com/saphelp_nw04/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/frameset.htm] assign the system date (SY-DATUM), so when the user execute the report it will display the current system date. If the user choose some other date and execute, then in the [I_STEP = 2|http://help.sap.com/saphelp_nw04/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/frameset.htm] check the date whether it is less than the current date , if so given an message, else proceed with user selected values.
To know more about [I_STEP|http://help.sap.com/saphelp_nw04/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/frameset.htm]
The following values are valid for I_STEP:
I_STEP = 1
Call takes place directly before variable entry
I_STEP = 2
Call takes place directly after variable entry. This step is only started up when the same variable is not input ready and could not be filled at I_STEP=1.
I_STEP = 3
In this call, you can check the values of the variables. Triggering an exception (RAISE) causes the variable screen to appear once more. Afterwards, I_STEP=2 is also called again.
I_STEP = 0
The enhancement is not called from the variable screen. The call can come from the authorization check or from the Monitor.
For coding examples,
[User Exit Examples|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6378ef94-0501-0010-19a5-972687ddc9ef]
[User Exits in SAP BW|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/23f2f094-0501-0010-b29b-c5605dbdaa45]
[Five Ways to Enhance SAP BI Backend Functionality Using ABAP|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4493c4a6-0301-0010-62a2-efd6ded61e04]
Thanks
Chandran -
Error while executing file in Background
Hi All,
I need to schedule a job in background.where i need to read data from excel file.
while executing in background mode its saying 'Error while reading file'.
but in foreground i can able to execute it.can anybody help me out.
Thanks
Sudhahi Sudha,
I think the program tries to read from presentation server (with GUI_UPLOAD or something similary), which is not possible in background (because in background there is no presentation server).
hope this helps
ec -
While executing DTP in DSO getting Error?
Hi,
I am extracting the data from a flat file..I am loading the data to DSO. While executing DTP i am getting this error
"Dump: ABAP/4 processor: SAPSQL_AMBIGUOUS_FIELDNAME"
My fields are SID,SNAME,SADD,SMOB. I did twice but again i am getting same error.
After some time i changed that first field as SMID..Then DTP executes correctly...
Can you please explain what happened in this case?
Regards,Hi
Account determination for entry CAIN AUM ____ _ 7920 not possible
This is a clear OBYC error
Here CAIN is chart of accounts
AUM is transaction key
Go to OBYC select AUM double click that
system will ask for chart of accounts give CAIN as chart of accounts
maintain the necessary settings for 7920 and for the valuation grouping code
Here system has not given what is your valuation grouping code
In t code OMWD you can see what is the valuation grouping code assigned to your plant
make the necessary settings
I feel by chance or by mistake in your delivery doc there is a line item with 0 qty in both delivery and picking
That is why system has gone for AUM transaction key
check that and delete that item and then without the above said settings being maintained the PGI can get processed
Check and revert back
Regards
Raja -
Store Replenishment STO created date and delivery date
Hi
The Store replenishment STO generated out of WRP1 ;
The STO document date and delivery date is defaulted to 3 days later.
ie. WRP1 was run on 31st May. But the delivery date and the STO doc. date is 3rd June.
Is there any way to influence this? We want it to be defaulted to the next date; Replenishment is to be run for th next date.
ie. June 1st.
RegardsHi Carlos
The master data of the article field MARC-PLIFZ- is maintianed as 0 days.
Basically the replenishment is done in the same day. (DC in the same city as the store)
However still the delivery date in the STO is by default 3 days later.
In the WRP1 screen - the planning date is today date.
Regards -
Mat document cancellation date is before then po date and gr date
suppose my po date is 10.04.2007
GR date or Mat doc date is 10.04.2007
But doc cancellation date with ref to purchase date is prior to 10.04.2007 (09.04.2007)
how it can be possible and how can we stop this?
thanksTo avoid this kind of situation make the filed GOHEAD-BUDAT is display in the OMJX transcaiton then system will take the defualt date is todays date.
-
Different Request Delivery Date & Goods Issue Date
Hi SD Experts,
Please find my queries as below:
1. How do i configure the system to propose delivery date as today's date? Currently the system now always propose tomorrow's date but i want it to be today's date. Assuming today is 21st December but the system is always giving 22nd December. Anything that can be done inside SPRO? Inside VOV8 i just tick 'Propose Delivery Date' but i left the box empty for 'Lead time in days'
2. Assuming today is 21st December, and i created a SO. The goods issue date is always tomorrow's date as well which is 22nd December. I want the goods issue date to follow 'Request Delivery Date'
3. In conclusion, why is 'Request Delivery Date' is always tomorrow's date?
Anything that can be done? Please help
Thanks!
Regards,
LEE
Edited by: YEOW LENG LEE on Dec 21, 2008 12:10 PMHi lee
A request delivery date comes if you maintain the lead time in days in VOV8 , GR time , In-house production time RLT in days in MMR , based on that the you will get the requested delivery date If you keep the fields blank then you will get the request delivery date as todays date only but if you have assigned factory calendar in shipping point and if you create sales order on Saturday (19/12/2008) then the delivery date will be on Monday i.e., 22/12/2008.
Now if you want the goods issue date as different date then the delivery date should be different ,if you fill any one feild and check then you will get the different goods issue date
Coming finally you are getting a request delivery date as tomorrow's date because of the factory calendar you have assigned to shipping point and to the CMR
Regards
Srinath -
Defaulting the Document date to system date while GR cancelation via MIGO
Hi All,
While canceling a GR via MIGO transaction, i manually change the Document date to system date, but after posting still the document date is showing the original document date when is was posted.
Is this is the standard behavior?
I have a requirement to make this date default to system date. But it is not considering the date which we centered in the screen.
Kindly help me to resolve this issue.
Srinu KaduriHi,
while doing GR cancellation,system will take only system date for example today will be in the document date.
With Regards,
Jaheer -
Hi,
While running KSU5 , the default posting date is last day of period. We need to change the default posting date to current date.Please advise on any userexit/ solution if it has been implemented for same.
Thanks in advance.
Regards,
S.Sumana.Hi,
the posting date in KSU5 is determined from the period you are executing KSU5.
So if KSU5 is executed for period 005 (and your fiscal year is calendar year) the posting date is the last of May.
You cant change it to another MONTH (eg June, posting date and period would be different) and i doubt that it makes sense to change it for example to the 20st of May.
Can you explain why you need this?
Best regards, Christian -
Web Analysis Error -- Error while executing query and retrieving data
Regarding Web Analysis:
We have a number of reports that we created. yesterday they were all working fine. today we try to open them and most are generating an error.
The error is:
Error while executing query and retrieving data.; nested exception is:
com.hyperion.ap.APException: [1033] Native:
1013033[Thu Oct 22 09:08:17
2009]server name/application name/database name/user name/Error91013033)
ReportWriter exit abnormally
Does anyone have any insight into what is going on?
My version information is:
Hyperion System 9 BI+ Analytic Administration Services 9.3.0.1.1 Build 2
Web Analysis 9.3.0.0.0.286
Thanks in advance for your help.
DaveWHi,
And also click on check option by opening the query in Query designer,as Mr . Arun suggested.
And if you get any error in checking, see the long message(detail).
With rgds,
Anil Kumar Sharma .P -
Default posting date on first WD of month
The posting date on first working day of the month was defaulted as last month's date. Eg. on first may, the default posting date was given as 30th april. why is this so.
Hi,
I am not sure for which transaction code you are making entry or it is general statement.
generally, default date of posting is today's date as defined in own defult data with user ID
Regards,
Vinod -
No data while executing this query .Please Help
Declare @FrmDate as date
Declare @ToDate as date
Declare @series as Varchar(10)
SELECT T2.[CardCode] AS 'Customer/Vendor Code', T2.[CardName] AS 'Customer/Vendor Name',
T2.[DocNum] AS 'Document Number',T3.SeriesName, T1.[SumApplied] AS 'Paid to Invoice',
T2.[DocDate] AS 'Posting Date', T0.[DocNum] AS 'Document Number',
T0.[DocDate] AS 'Posting Date'
FROM [dbo].[OINV] T0 INNER JOIN [dbo].[RCT2] T1 ON T1.[DocEntry] = T0.[DocEntry]
INNER JOIN [dbo].[ORCT] T2 ON T2.[DocNum] = T1.[DocNum]
INNER JOIN [dbo].[NNM1] T3 ON T2.Series = T3.Series
WHERE T2.[DocDate] between @FrmDate and @ToDate and T3.SeriesName = @seriesHi,
Please do not post multiple thread on same subject. Close this thread here.
Thanks & Regards,
Nagarajan
Maybe you are looking for
-
I am trying to download photoshop presets from online but can't seem to figure out how to open them in photoshop. They download sucessfuly and then goes to my download folder on my computer, from there I double click on the file and photoshop opens a
-
how can i change my account id/email on my iphone for icloud?? it won't allow me to update it despite that it already has been updated online through both itunes and icloud. HELP!!
-
Hai all, in a screen i have to assign search help to a field werks but if i double click that field i am taken to a report where that field werks is declared as: data:p_werks type werks_d. but if i derectly execute the screen it is displaying the scr
-
Images Issue when saving an illustrator file as pdf
Hi, I have been suffering these couple of days with the pdfs I save from my illustrator CS5 multi page file. It is a brochure that I designed using many images that I adjusted in Photoshop to CMYK & 300 dpi & embedded in ai. I used some drop shadows
-
Acrobat xi is extremely slow to launch on windows 8
when i double click on a document, it takes a couple of minutes for acrobat to launch. I am running Adobe Acrobat Reader 11.0.0 on windows 8 enterprise, 64 bit