Reports-Job-Scheduler: create job with startoption later: wrong date-format
Hi,
I test reports 11.1.1.2.0 (weblogic11 g) and try to start a report job with Reports-Job-Scheduler.
Startoption: later and date = 09:48 Jan 12, 2010
When I submit the job I get following Error:
REP-50006: Das Argument SCHEDULE ist in der Befehlszeile ungültig: 09:48 Jän 12, 2010
in english:
Rep-50006: argument Schedule is wrong in command line: 09:48 Jän 12, 2010
Why is Jän instead of Jan.
When I start the report in February then it works.
I defined also environment variables in basic configuration for the report server:
NLS_DATE_FORMAT DD.MM.YYYY
NLS_DATE_LANGUAGE GERMAN
NLS_LANG GERMAN_GERMANY.WE8ISO8859P1
I would be very pleased to get support.
Many thanks
Alois
I created a SR and oracle support found a bug in EM.
Similar Messages
-
How create header with user id time date to VC-report's output as display ?
How create header with user id time date to VC-report's output as display ?
This info should come from the VC - not all the way from R3-side via FunctionModule/BABI. So only userid, date, time to output as normal text (which is not editable of course). Thanks =)Hi ann-mari
Go through following link may it help u
Form Item disabled based on portal role
/people/community.user/blog/2007/01/17/visual-composer-explorations-using-portal-roles-to-influence-ui-element-behavior
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/usingrolestoinfluenceapplication&
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/passingvaluesvia+URL&
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad182ac7-0a01-0010-4fb8-8a4d217b19c1
Best Regards
````Satish```` -
Document Type with a later posting date
Hi,
We are on SAP B1 2005 PL50.
We occasionally get the message " There is a document of this type with a later posting date" while posting AP invoices. It happens to some AP invoices only because other invoices get added even though the document is posted with a prior posting date then what is in existence
Please advice, what could be causing this.
Thanks
AsifHi Mohamed,
If there is a document existing in the database with a posting date later
than the current one, this system message will pop up.
This system message works based on the following setting:
Under Administration -> System Initialisation -> Document Settings ->
Tab 'General' is a tickbox 'Block Documents with Earlier Date'.
If this box is ticked, the error message 'There is a document of this
type with a later posting date.' is received and the document
cannot be added. This affects the following documents:
- AR and AP Invoice
- AR and AP Credit Memo
- AR and AP Reserve Invoice
If the box is unticked, the system displays the message: 'There is a
document of this type with a later posting date. CONTINUE or
CANCEL.' If 'Continue' is chosen, the document can be added.
It is not possible to turn this off message.
Hope it helps.
Jesper -
Job scheduling in CPS with SOLMAN
Hi,
I'm looking for info on job scheduling in CPS using solution manager with and without the Process scheduling adapter.
Regards,
EshaHello Esha,
follow this link to all tutorials on JSM & SAP CPS:
http:/service.sap.com/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000063102008E
Use this link to download all information on JSM
http://service.sap.com/~sapidb/011000358700001996012008E.zip
Regards,
Martin
Please follow us on SDN:
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/u/25168834 [original link is broken] [original link is broken]
/people/martin.lauer/blog
and SAP Service Marketplace:
http://service.sap.com/jsm -
Job scheduled, flow diag.s, dependencies in Graphical & Spreadsheet format
Would you please let me know if the CPS (Redwood) provides the list of all the jobs scheduled or to be executed, their flow diagrams and dependencies, both graphically as well as in a spreadsheet format, which can be exported out to a file or can be printed? If it is possible, how this can be done?
Hi Ashish,
The flows that have been built can be displayed using the "Show diagram" option (right click on job of flow, or on a job chain definition).
Tabular reports can be generated under the "Reports" option under Definitions.
Regards,
Anton. -
Wrong date format when creating a universe based on a MS Analysis cube
Hi,
When creating a universe based on a MS Analysis 2008 cube the date objects from the cube are created in the universe with CHAR format when it should be DATE format
I have tried to resolve the issue by modifying the date object in the universe with MDX but with little success.
I wonder if it is an error in the cube and that it actually should be possible to get the correct date format from the cube when creating the universe automatically in the universe design tool.
The date object is organised in a hierarchy.
Any ideas? - both to resolve the issue by using MDX in the universe object properties or in the cube.
The universe design tool is version 4.0 SP2 patch 5
/KimOh I knew I was missing something. Ok version 2.
I think in general this approach would work. I assumed you are starting from 1 and resetting to 1.
There should be error handling and so forth that is not here. Probably some details need to be tweaked.
So the key thing here AFAIK is to put the sequence reset in an autonomous procedure. Exactly how to do that may need to be modified.
PS this version has a bug. After the reset needs to change the increment of the sequence back to 1.
and I left that out. oops!
/* testtrigger */
/* previously:
create table mytable (
myprimary_key number(10) primary key,
column1 number(2)
create sequence mysequence
start with 1
increment by 1
maxvalue 99
nocache;
create table mylastdate (lastdate date);
insert into mylastdate(lastdate) values (trunc(sysdate));
create or replace procedure reset_mysequence (in_correction number) is
pragma autonomous_transaction;
begin
execute immediate 'alter sequence mysequence INCREMENT BY ' || in_correction || ' MINVALUE 1';
update mylastdate set lastdate = trunc(sysdate);
commit;
end;
show errors;
create or replace trigger mytrigger
before insert on mytable for each row
declare
tmpdate number(8) := null;
lastdate_used number(8) := null;
correction number := null;
lastseq number(2) := null;
begin
if INSERTING then
tmpdate := to_number(to_char(sysdate,'YYYYMMDD'));
select to_number(to_char(lastdate,'YYYYMMDD')) into lastdate_used
from mylastdate;
select mysequence.currval into lastseq from dual;
/* when this displays in the forum it shows lt gt as nothing on the screen
so this should be lastdate not equal to tmpdate */
if lastdate_used <> tmpdate and lastseq > 1 then
correction := -(lastseq - 1);
reset_mysequence(correction);
end if;
:new.myprimary_key := (tmpdate * 100) + mysequence.nextval;
end if;
end;
show errors;
Edited by: lake on Nov 30, 2010 10:39 AM
Edited by: lake on Nov 30, 2010 10:52 AM -
Downloads with Safari show wrong date
Hi, this is my first post and I'm stumped.
When I download a file (i.e. PDF) via Safari on either my Imac or Macbook (4.03 and 4.02) both running Leopard 10.5.7 it shows up in my downloads folder with the wrong date: wrong year, month, and day.
When I download the same file with Firefox the download date is correct.
Does anyone have any suggestions to remedy this annoying problem? Thanks.Ok. I just downloaded a PDF via Safari that shows the creation date as: 23/12/08 1:10 AM.
Same file downloaded via Firefox shows date correctly: today at 9:16 PM.
The date from Safari has been all over the map... 03, 07, 00 etc. all different.
Message was edited by: i-Mack -
Problem with reading English UK date format in Excel
When I build and debug the rulebase I get the following error: Error in rulebase: "Cannot perform comparison expression on right expression with type number".
The actual problem is that it does not read the date correctly in Excel. I have got the following date comparison >=31-09-2011 in excel. Instead of reading 31st September 2011 it tries to reed as 9th of the 31month 2011...
I have set all language and location, region settings to English United Kingdom (dd/MM/yyyy), United Kingdom but it seems it does not help. In Excel I have set English UK as well.
OPM version: 10.1.0.27
Windows 7
MS Office 7
I had this problem previously but I resolved by changing language or location setting I think, or language for non-Unicode programs. I cannot remember exactly. But this time it seems it does not work. Reinstalling does not work either.
Can anybody help with this?
What settings OPM uses to read the date?
Thank you!Jasmine, you are right 31-09-2011 is a wrong date, I just typed any date as an example and didn't realize that it is an impossible date . We use many dates in Excel in a format dd-MM-yyyy (we do not type in date in runtime).
In the link you have sent it says that "Formatted attribute values based on rulebase region are used".
Date:
" if your region was set to the United States you would see the following: MM-dd-yy"
"Region set to Australia, which includes the date format dd/MM/yy
Region in our project is set to United Kingdom so the date format should be dd-MM-yyyy.
I have checked that OPM Project Properties Language is set to English (UK) so it should be fine.
The strange thing is that it works fine on other laptops - the date 03-09-2011 is red as 3 September 2011, but on my laptop it is red as 9 March 2011.
When it comes to read the date 30-09-2011, on other laptops is red as 30 September 2011, but on mine cannot make a date as there is no month number 30 so it throws the error "Cannot perform comparison expression on right expression with type number"... What actually happens is that on my laptop OPM reads the dates from Excel in American format.
As I wrote earlier, It was working fine at my laptop as well before reinstalling Windows. I had this problem long time ago again but I was able to resolve it by changing language,region settings in Windows I think.
Now it seems like I have got the same language,region settings in Windows as I had before, my colleagues got the same language, region settings on their machines as well.
Iit seems like dd/MM/yyyy is red fine (UK format), but the format dd-MM-yyyy is red in American format...
What settings should be set in Windows or Excel or maybe somewhere else OPM to read the date from Excel in English UK format dd-MM-yyyy? -
I was trying to create a Crystal Reports XI report to return security permissions of files and folders. I have been able to successfully connect and return data using the File System Data driver as the Data Source; however the String limit on the ACL NT Security Field is 255 characters. The full string of data to be returned can be much longer than the 255 limit and I cannot find how to manipulate that parameter.
I am currently on Crystals XI and Crystal XI R2 and have applied the latest service packs but still see the issue. My Crystal Reports Database DLL for File System data ( crdb_FileSystem.dll ) is at Product Version 11.5.10.1263.
Is it possible to change string limits when using the File System Data driver as the Data Source? If so, how can that be accomplished. If not, is there another method to retrieve information with the Windows File System Data being the Data Source? Meaning, could I reach my end game objective of reporting on the Windows ACL's with Crystal through another method?Hello,
This is a known issue. Early versions you could not create folder structures longer than 255 characters. With the updates to the various OS's this is now possible but CR did not allocate the same space required.
It's been tracked as an enhancement - ADAPT01174519 but set for a future release.
There are likely other ways of getting the info and then putting it into an Excel file format and using that as the data source.
I did a Google search and found this option: http://www.tomshardware.com/forum/16772-45-display-explorer-folders-tree-structure-export-excel
There are tools out there to do this kind of thing....
Thank you
Don
Note the reference to msls.exe appears to be a trojan: http://www.greatis.com/appdata/d/m/msls.exe.htm so don't install it.
Edited by: Don Williams on Mar 19, 2010 8:45 AM -
Problem with control hints and date formatting
Hi,
I have a Date attribute with a control hint 'dd.MM.yyyy' in my EO. When the user browse through the data all date values have 4 digits. But when a lazy user changes a date value to e.g. 12.12.04, the new value is stored as 12.12.0004. This is correct Java behavior.
When I change my control hint to 'dd.MM.yy', the lazy user can enter 12.12.04, which is stored as 12.12.2004. Great, but the user want to see a 4-digit year.
My problem is that the customer wants to enter only 2 digits for the year but the application must render the date with 4 digits.
How can I configure ADF to solve my problem?
Does Domains help? Is there a general switch in Java or ADF witch converts 12.12.04 to 12.12.2004?
Any hints are welcome.
Thanks,
MarkusFor your 2nd problem, you can create a field of type string (create a data type which has domain STRING), which has unlimited lenght. However, you can only have 3 of these fields in your table.
I think this will solve the # problem too.
Regards,
Valter Oliveira. -
Create unique Form ID - Help on Date Format in Concat
I am having problems formating a date value in my concat statement. I have tried to write is different ways and still can't seem to get the string correct.
Ideally, I would like to change the date value to a Julian value for the form ID, but I would settle for just mmddyy value without the / or - in between.
Codes I have tried w/out date format string
JavaScript - Calculate
Program.FormID.rawValue=Program.State.rawValue + Program.ProgramNumber.rawValue + Program.ProgramDate.formattedValue;
Returns - MO1234Jul8,2010
-------------And--------------------
Program.FormID.rawValue=Program.State.rawValue + Program.ProgramNumber.rawValue + Program.ProgramDate.rawValue;
Returns - MO12342010-07-08
FormCalc - Calculate
(This one has the current date as a value, but it changes the unique form ID when reopened on another day, that is why I am using ProgramDate)
Concat(Date2Num(Date(), "ddmmyyy"),Program.State.rawValue, Program.ProgramNumber.rawValue)
Returns - 0MO1234
----------- And --------------------
if
(Program.ProgramNumber.rawValue ne null) then
$.rawValue
= CONCAT(Program.State.rawValue, Program.ProgramNumber.rawValue, Program.ProgramDate.formattedValue)
else
$.rawValue = ""
endif
Returns - MO1234July8,2010 (formattedValue)
MO12342010-07-08 (rawValue)
What would be the better language to use, FormCalc or JavaScript for this example?
I am not all that skilled at coding and use forums like this to help me, so I appreciate any help.
Thanks in advance - EveDate.prototype.yyyymmdd = function() {
var yyyy = this.getFullYear().toString();
var mm = (this.getMonth()+1).toString(); // getMonth() is zero-based
var dd = this.getDate().toString();
return yyyy + (mm[1]?mm:"0"+mm[0]) + (dd[1]?dd:"0"+dd[0]); // padding
Now, after having spliced the internal Date object, you can do this:
d = new Date();
d.yyyymmdd();
The line above returns today's date: "20100709". -
Error occured while posting the job schedule for JDBCAdapter
Hi Experts,
In Application Log in Path: "/usr/sap/<SID>/DVExxxx/j2ee/cluster/server1/log", I see the error:
#/Applications/ExchangeInfrastructure/AdapterFramework/Services/Util
##com.sap.aii.af.service.scheduler.SchedulerManagerImpl.postJobScheduleOthers(String, int)
#J2EE_GUEST#0##n/a##f7956e1f6b4711e0b851001e0b5d3ac8#SAPEngine_Application_Thread[impl:3]_23##0#0
#Error#1#com.sap.aii.af.service.scheduler.SchedulerManagerImpl#Plain
###error occured while posting the job schedule for JDBCAdapter_9f0584b1bcb33b94b67ada456233bcb8 with 2#
Frequently are created Lock's and I need remove them in Visual Admin.
Any idea about this error?
Tks in advance.Hi,
After applying the SP 23 Patch Level 08, LOCK JDBC problems stopped.
But now when a network error or database error, the JDBC Sender Communication channels that were open to connection, are blocked.
Even following the instructions in [SAP Note 1083488 - XI FTP_JDBC sender channel stop polling indefinitely (04_04S)|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1083488] the problem continues.
I've already set the parameter "taskTimeout" and selected the option "Disconnect from Database After Each Message Processing" but not resolved.
Any ideas?
Thanks in advance. -
Hi Everyone,
I having a problem to transfer data from MS SQL 2005 to IBMAS400. Previously my SSIS was running perfectly but there is some changes I need to be done in order for the system to work well. Considers my changes are minimal & just for upgrades (but I did
include DELETE statements to truncate AS400 table before I insert fresh data from MS SQL table to the same AS400 table), so I compile my SSIS package & it run successfully & I passed it into MS SQL Integrated Service as 1 of the packages & manually
executed the package & the result is the same, that mean it was successful again but when I try to run it in a MS SQL Job Scheduler, the job failed with these message shown below as extracted from the job View history.
Date today
Log Job History (MSSQLToAS400)
Step ID 1
Server MSSQLServer
Job Name MSSQLToAS400
Step Name pumptoAS400
Duration 00:00:36
Sql Severity 0
Sql Message ID 0
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted 0
Message
Executed as user: MSSQLServer\SYSTEM. ... 9.00.4035.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: today time
Error: on today time
Code: 0xC0202009 Source: SSISMSSQLToAS400 Connection manager "SourceToDestinationOLEDB"
Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred.
Error code: 0x80004005. An OLE DB record is available.
Source: "IBMDA400 Session"
Hresult: 0x80004005
Description: "CWBSY0002 - Password for user AS400ADMIN on system AS400SYSTEM is not correct ". End Error
Error: today
Code: 0xC020801C
Source: Data Flow Task OLE DB Destination [5160]
Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "DestinationClearData" failed with error code 0xC0202009. There may be error messages posted before
this with more information on why the AcquireConnection method ca... The package execution fa... The step failed.
So I hope somebody can shed some hints or tips for me to overcome time problem of mine. Thanks for your help in advance. As I had scoured thoroughout MSDN forums & found none solution for my problem yet.
PS: In the SQL Integrated Services when I deployed the package I set the security of the packages to Rely on server...
Hope this will help.Hi Ironmaidenroxz,
From the message “Executed as user: MSSQLServer\SYSTEM”, we can see that the SQL Server Agent job ran under the Local System account. However, a Local System account doesn’t have the network rights natively, therefore, the job failed to communicate with
the remote IBMAS400 server.
To address this issue, you need to create a proxy account for SQL Server Agent to run the job. When creating the credentials for the proxy account, you can use the Windows domain account under which you executed the package manually.
References:
How to: Create a Credential
How to: Create a Proxy
Regards,
Mike Yin
TechNet Community Support -
Hi Friends,
i have a problem with job scheduling.
two jobs need to be scheduled. (job1 and job2)
i used
job_open.
submit job1 using parameters.
job_close.
then for second job.
job_open.
submit job2 using parameter2.
job_close.
when i go and look in sm37. i see when job1 is running the job2 is in release status.
but what we need is when job1 is running job2 should be in schedule status. it should start only after job1 is completed.
in the job2 job_close i used job1 as the PRED_JOBNAME.
but i when i run the program job2 is in released status , not in schedule mode.
is there any way we can make the job2 in scheduled mode instead of release.
can we use event to control this. if yes please let me know how we can do it.
ThanksHi,
As Appana wrote - i'm not sure there's a problem, but why don't u make one job with 2 steps? this way u will be perfectly sure that job2 (2nd step in the new job) will run only after job1 (1st step n the new job)...
Good luck
Igal -
ASE 15.7 Job Scheduler won´t start again
Hi,
we encoutered the following problem in our ECC6.0 / EHP5 on ASE 15.7 PL 122 System:
DBACockpit / Collector Configuration shows the warning "The ASE-Job Scheduler is not active". The log SID_JSAGENT shows the following entries:
00:11704:12104:2014/09/01 08:00:35.78 jamain Opening jsagent connection.
00:11704:12104:2014/09/01 08:00:35.78 jamain Agent will listen on <IP>
00:11704:12104:2014/09/01 08:00:35.78 jamain SYB_JSAGENT waiting for connection
00:11704:12104:2014/09/01 08:00:36.72 jamain Job Scheduler Agent connected with Job Scheduler Task on port 4903
00:11704:12104:2014/09/01 08:00:36.72 jamain Initializing SYB_JSAGENT
00:11704:12104:2014/09/01 08:00:36.72 jamain Allocating list resources.
00:11704:12104:2014/09/01 08:00:36.72 jamain Allocating queue resources.
00:11704:12104:2014/09/01 08:00:36.72 jamain Allocating thread resources.
00:11704:12104:2014/09/01 08:00:36.72 jamain Initializing connection pool.
00:11704:12104:2014/09/01 08:00:36.99 jamain Client message: ct_connect(): user api layer: external error: The connection failed because of invalid or missing external configuration data.
00:11704:12104:2014/09/01 08:00:36.99 jamain ct_connect() failed.
00:11704:12104:2014/09/01 08:00:36.99 jamain jsj_AddConxs: jsd_MakeConnection() failed for user jstask to server SID
00:11704:12104:2014/09/01 08:00:36.99 jamain jsj_CreateConxPool: jsj_AddConxs() failed
00:11704:12104:2014/09/01 08:00:36.99 jamain Initialization failed initializing connection pool
00:11704:12104:2014/09/01 08:00:36.99 jamain Jsagent failed to handle INIT message.
00:11704:12104:2014/09/01 08:00:36.99 jamain JS Agent aborting. Cancel all running jobs.
00:11704:12104:2014/09/01 08:00:36.99 jamain Job Processing failed.
00:11704:12104:2014/09/01 08:00:36.99 jamain JS Agent exiting.
Restarting the scheduler on ISQL doesn´t seem to work. Any ideas?
Many thanks & greetings
Vierengel StefanHi,
thank you. Problem was solved by performing the following steps
1. deleting the following file: DRIVE:\sybase\SID\OCS-15_0\ini\ocs.cfg
2. Stop / Start Job Scheduler
exec sybmgmtdb..sp_sjobcontrol '','stop_js'
go
exec sybmgmtdb..sp_sjobcontrol '','start_js'
go
3. Refresh DBACockpit
Greetings
Vierengel Stefan
Maybe you are looking for
-
Apple TV3 and the New iPad - I WANT to stream the sound only
Hey guys! I've got the new iPad and apple tv 3 which is great together! I have a receiver (which is located in the living room) with Zone2 option and also have outdoor speakers which are connected to that Zone2. When I sit outside i want to use my g
-
Satellite Pro U200 - External VGA monitor does not show any output
I have bought this device as used from ebay. It is working fine except that the External VGA connection does not work. I am using win 7 and have it does recognize the external display correctly and I can configure it as an extended display. However t
-
HT204088 how to refund a purchase?
Dear All, I don't know why a magazine subscription has been purchased. I want to refund my money back. Could anyone please help me? Regards, M.
-
Moving SPL in small values, how to ?
Hi Forum How to get my SPL to move in the from transport set value? I can only get it to move in bars!! It seems to be a keyboard layout problem maybe only concerning foreigners using different keyboard layouts ?! yours fan Bo
-
HT5824 can I stop contacts from going into icloud?
Other than removing my contacts from my iPhone 4S, can I stop my contacts from going into iCloud?