Getting Error with date parameter field -"Invalid DATE"
Hi
I created a report with 9.2 version. And i created 2 date parameter fields in it. And within crystal reports it works fine.
But If, I call from the VS2005 crystalreport.net(report document) SDK , i am getting error as Invalid Date" enter a Date Value". Actually it is a dtp control. how can i modify it.
<p>There's not enough details to get a good understanding of your scenario, but it sounds like you're using some kind of date control to retrieve the date value and pass it to the report's parameter field at runtime. </p><p>If this is correct, it sounds like the format of the date value from the control may not be what the report is expecting. To debug, I would first use hardcoded values when you set the report parameter fields to see what works. Then compare that to what the return value is from the control to see if they match. I suspect the formats differ. </p><p>I did a quick search on the BOBJ kbase and found a couple of articles that may help you. I recommend searching as there are lots of information on how to set parameter fields at runtime. </p><p><span style="margin-left: 5px"><a href="http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2010247&sliceId=&dialogID=8582434&stateId=1 0 8584068" target="_blank">c2010247</a></span><span style="margin-left: 5px"><span style="margin-left: 5px"><a href="http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2010251&sliceId=&dialogID=8582434&stateId=1 0 8584068" target="_blank">c2010251</a></span></span></p><p>-MJ</p>
Similar Messages
-
Post Author: Pursuit
CA Forum: Crystal Reports
How can i change my Parameter Field Type "Date" so it requests the date as dd-mm-yyyy and not yyyy-mm-ddHello,
You can still accept the date as it is, but you can convert the date in the report level with the folowing formulas when you pass the date to data base.
DayFormula: ToText(Day(Date(yyyy-mm-dd)),0) output you get day eg: DD
MonthFormula: ToText(Month(Date(yyyy-mm-dd)),0) output you get eg: MM
Year Formula: ToText(Year(Date(yyyy-mm-dd)),0) output you get eg: YYYY
DashFormula: "-"
Now combine all
CompleteDateFrmula= DateValue(& & & & {Year Formula})
You can pass this
Hope this help!!!!
Ashok -
getting error message could not activate cellular data network when trying to access the internet without using wifi. what do i need to do? i have already restore the phone.
contact your phone carrier as they handle cellular network.
-
Getting error "enter valid parameter"
Hi,
I am getting error "enter valid parameter" in R/3 while trying to process inbound messages thru XI. I have assigned partner type as "KU" and store number as partner number in mapping. sxmb_moni shows that messages have been successfully sent to R/3 system.
But in R/3, transaction WPER shows above error and partner type as "LS" in control recod of idoc.
please help me in understanding how inbound idoc in R/3 is showing "LS" as partner type and picking the corresponding logical partner profile, instead of customer type partner profile.
Since in retail, store number is customer number , inbound sales data should be posted against this customer.Hi Shaik,
just check when you send IDOC data from XI, then you are mapping the partner type field to which data.....map it to constant KU.............then on SAP R/3 in we20, add the IDOC in inbound parameter for KU partner and give processing code for it.
Hope this may solve your query.
Thanks,
Rajeev Gupta -
SharePoint Designer 2013 after installation getting error with runtime i.e. error writing to file Microsoft.SharePoint.Client.Runtime.Local.Resources.dll Verify that you have access to that directory
after retry..again SharePoint Designer requires the following component require to install Microsoft.NET framework version 4 i have downloaded and try to installed but fail not work please answer what to do?
Thanks and Regards, Rangnath MaliHi Rangnath,
For running SharePoint Designer 2013, you need to install Microsoft .NET 4.0 Framework or higher.
Please uninstall the Microsoft .NET 4.0 Framework, and install it again. After that, reboot your machine.
Best Regards,
Wendy
Wendy Li
TechNet Community Support -
Import of credit card data(tcode PRCC) getting error with currency
Hi Everyone,
Here is one query regarding Credit Card Clearing in Travel Management.
We were initially using KR files for uploading SAP specific credit card Transactional data to employee buffer and it contained data for only US employees with currency as US. Now we are migrating to use GL1025 files with employees from multiple countries and multiple currency. But the Service Provider (American Express) is sending transactional details with billed currency as USD for all employees(even for employees from other country). On processing the file in PRCC we are getting the below error for non US employees.
Do we have any configurations or something that needs to be maintained inorder to allow this?
Awaiting response.
Thanks in advance...
Regards
BinshiHi All,
For my above requirement, I made two configuration changes and the transaction details are getting loaded with out any error.
1) Changed the 'Settlement of foreign currency receipts" to 'hard currency' for the trip provision variant in global settings under control parameters for Travel expenses.
2) Maintained hard currency as USD for the other country(non US) in country settings. non US employee receipts got loaded in buffer in currency USD as required.
With this configuration change, even the posting document for all foreign currency receipts including AMEX receipts were created in USD.But our requirement was to make payment for all AMEX receipts in USD and other foreign currency receipts in the employee local currency.
So we just tried with the third option for configuration 1. Changed the 'Settlement of foreign currency receipts" to 'choose Between Trip currency and Hard currency per receipt'.
Now with this, foriegn currency receipts of the employee posting document getting created in employee local currency and AMEX receipts in USD. But we are confused how the currency for posting document is being selected with this option 3. Could anyone help us please??
Thanks & Regards
Binshi -
Issue with Custom data parameter in Excel Data Connection
Hello,
We are querying a OLAP (SSAS 2008) cube using Excel 2007 by creating a data connection to SSAS server with an extended parameter “Custom Data”. We are using custom data parameter to apply our application’s user security to filter dimension
members in Excel’s pivot table report. We have created a pivot table in Excel and the excel is including this custom data parameter along with each request that excel is submitting to SSAS.
However, when the user selects “Show Properties in Report” option for a dimension which is selected in Row-axis of pivot table, Excel is not including custom data parameter . Why this “Custom Data” parameter is not being included in
the request only for this specific case?
1. The Request which sent from Excel to SSAS when user clicks on “Show Properties in Report” option
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Session xmlns="urn:schemas-microsoft-com:xml-analysis" SessionId="AE6B294B-4983-4010-BC5F-E0896A49ECD9"/></soap:Header><soap:Body><Discover
xmlns="urn:schemas-microsoft-com:xml-analysis"><RequestType>DISCOVER_LITERALS</RequestType><Restrictions/><Properties><PropertyList><Content>SchemaData</Content><Format>Tabular</Format></PropertyList></Properties></Discover></soap:Body></soap:Envelope>
2. The sample Request which sent from Excel to SSAS for all other requests
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Session xmlns="urn:schemas-microsoft-com:xml-analysis" SessionId="74165AD6-C240-4634-92A1-61A400A3FC97"/></soap:Header><soap:Body><Discover
xmlns="urn:schemas-microsoft-com:xml-analysis"><RequestType>MDSCHEMA_CUBES</RequestType><Restrictions><RestrictionList><CUBE_NAME>RepCube</CUBE_NAME></RestrictionList></Restrictions><Properties><PropertyList><Catalog>QAV10_12thMay2010</Catalog><Timeout>5000</Timeout><SafetyOptions>2</SafetyOptions><MdxMissingMemberMode>Error</MdxMissingMemberMode><LocaleIdentifier>1033</LocaleIdentifier><DbpropMsmdMDXCompatibility>1</DbpropMsmdMDXCompatibility><CustomData>xxxxxx</CustomData></PropertyList></Properties></Discover></soap:Body></soap:Envelope>
As the Custom Data parameter is missing in 1st request our application logic is throwing a custom exception to Excel and Excel is not able to understand the exception message. Excel is sending the same request repeatedly (going into infinite loop) and the excel
window is freezed. Not able to work with excel until restarting the Excel.
Can anyone help me to resolve the above? quick help is much appriciated!
Thanks,
VenkatVenkat,
We have a very similar issue, but there is almost no material to help us. If this gets to you, please let me know if you progressed it or whether I need to go to Microsoft for a solution
THanks
David -
Formatting a Date Parameter Field
I created a Date/Time Parameter because the column is date/time. However, I only want the used to have to input the date portion. I know I can create the parameter as a Date but it returns a negative records even though there are records that meets the criteria. I know I have done this before, but for the life of me I cannot remember how I did it.
Can someone refresh my memory.
Thanks.
HerbieI found a way to get round this, here goes.
Create a new Parameter
Change Type to Date Time
Select Expert
Select your date time field and set it equal to parameter
In the parameter fields right click on parameter and select edit.
Change the type from Date Time to Date
Select any range values etc at this point because they will reset when you change from date time to date. -
Getting error code 150:30 after transferring data from iMac to iMac
Hey there,
I have just gotten a new iMac and have migrated my data from my old one to my new one. When I open After Effects CS4, I get error code 150:30, a licensing problem. I'm sure it has something to do with duplicate copies of the program. How can I fix this?The flaw is here:
have migrated my data
Reinstall the software properly.
Download CS4 products
Mylenium -
Date format in parameter field type date
Post Author: Luciano Brandao
CA Forum: Crystal Reports
Hi I need show /input date format dd-mm-yyyy in paramters field type date when Crystal prompt parameter to user. I used Crystal 11 Can help-me ? thanksPost Author: Crystal Fire
CA Forum: Crystal Reports
Put this in the page header to show the date parameters chosen for the report. Make sure you change the select expert for the date field to = ?{date field}
"All Posting Dates Between "+ ToText(Minimum({?date field}),"M/d/yyyy")" and "ToText(Maximum({?date field}),"M/d/yyyy") -
How to change date parameter field in crystal from YYYY-MM-DD to DD/MM/YY
Hi
I want to change a Parameter field in Crystal report from YYYY-MM-DD format to DD/MM/YY format>
Sukhi Singh wrote:
> Hi
> I want to change a Parameter field in Crystal report from YYYY-MM-DD format to DD/MM/YY format
What do you mean by Crystal Report? Are you sure you posted this to the correct forum? -
Expdp error with query parameter
i am trying to use datapump and using query parameter in there as below...
but when i use the below, its exporting some system "repcat$" tables and
nothing realted to scott.audit table or anything realted to my query where
clause...what am i doing wrong ??
expdp system
DUMPFILE=test.dmp
LOGFILE=test.log
DIRECTORY=DATA_PUMP_DIR
TABLES=SCOTT.AUDIT
QUERY=SCOTT.AUDIT:'"WHERE TRUNC (audit.audit_timestamp)
BETWEEN TO_DATE ('01012008','DDMMYYYY') AND TO_DATE ('13012008','DDMMYYYY')"'
also when i use scott instead of system user i get below error
Export: Release 10.2.0.3.0 - 64bit Production on Wednesday, 22 July, 2009 12:53:45
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Password:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-39145: directory object parameter must be specified and non-nulli treid again, but creating a new datapump dir as follows...create or replace dir dpdump as '/backup/dpdump/orcl';
then gave grant read,write on directory dpdump to system
and now why is oracle looking at a differnt location ?? even when i changed the
direcotry ???
$ expdp SYSTEM
DUMPFILE=test.dmp
LOGFILE=test.log
DIRECTORY=DPDUMP
QUERY=SCOTT.AUDIT:'"WHERE TRUNC (audit.audit_timestamp)
BETWEEN TO_DATE ('01012008','DDMMYYYY') AND TO_DATE ('13012008','DDMMYYYY')"'
Export: Release 10.2.0.3.0 - 64bit Production on Wednesday, 22 July, 2009 13:27:18
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Password:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31641: unable to create dump file "/oracle/app/oracle/product/10.2.0/admin/orcl/dpdump/expdat.dmp"
ORA-27038: created file already exists
Additional information: 1
$>
Seems little weird but can you:--
1. Drop the dpdump directory.
SQL> drop directory dpdump;
2. recreate it and then grant the permissions.
SQL> create directory dpdump as '/backup/dpdump/orcl';
The folders must exists in the location.
SQL> grant read,write on directory dpdump to system;
3. SELECT directory_name, grantee, privilege
FROM user_tab_privs t, all_directories d
WHERE t.table_name(+)=d.directory_name
ORDER BY 1,2,3;
Anand -
Getting error when passing custom fields to BAPI extension
Hi ,
I have problem with standard BAPI_PO_CREATE1 bapi function.
ERROR DETAILS
when FM:- BAPI_PO_CREATE1 first time executed getting error "Check item number 30 in table EXTENSIONIN" and PO not creating.
when using function key reverse(cntl+f12) in BAPI_PO_CREATE1 in same execution ,po document creating ,but data is not papulating custom field.
CODE USING IN MY PROGRAM
DATA :
ltab_extensionin TYPE TABLE OF bapiparex,
wa_extensionin TYPE bapiparex,
wa_BAPI_TE_MEPOITEM type BAPI_TE_MEPOITEM.
wa_bapi_te_mepoitem-po_item = wa_itab-item.
wa_bapi_te_mepoitem-zvsart = wa_itab-ship_type.
move 'BAPI_TE_MEPOITEM' to wa_extensionin-structure.
move wa_BAPI_TE_MEPOITEM to wa_extensionin-VALUEPART1 .
APPEND wa_extensionin TO ltab_extensionin.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = wa_pohead
poheaderx = wa_poheadx
testrun = ' '
IMPORTING
exppurchaseorder = v_po_number
TABLES
return = itab_return
poitem = itab_poitem
poitemx = itab_poitemx
poschedule = itab_posched
poschedulex = itab_poschedx
poshipping = itab_poshipping
poshippingx = itab_poshippingx
extensionin = ltab_extensionin.
Could one of u help me ?? .
Regards,
NayakHi,
Try populating the ltab_extensionin as the code given below:
Maybe it can help you.
Constants: c_flag_bape_vbak TYPE char10 VALUE 'BAPE_VBAK', " Constant
c_flag_bape_vbakx TYPE char10 VALUE 'BAPE_VBAKX'," Constant
wa_bape_vbap-vbeln = space.
wa_bape_vbap-posnr = wa_order_items_in-in_linenumber.
MOVE c_flag_bape_vbak TO wa_extensionin-structure.
MOVE c_flag_bape_vbap TO wa_extensionin-structure.
CALL METHOD cl_abap_container_utilities=>fill_container_c
EXPORTING
im_value = wa_bape_vbap
IMPORTING
ex_container = wa_extensionin-valuepart1.
APPEND wa_extensionin TO it_extensionin.
CLEAR : wa_extensionin.
MOVE c_flag_bape_vbapx TO wa_extensionin-structure.
wa_extensionin-valuepart1+0(10) = space.
wa_extensionin-valuepart1+10(6) = wa_order_items_in-in_linenumber.
wa_extensionin-valuepart1+80(3) = abap_true.
APPEND wa_extensionin TO it_extensionin.
CLEAR : wa_extensionin.
Regards,
Shweta -
Locks getting created with lock owner field ##
Hi
We are using ECC 6.0 system. We are facing a typical pronblem. Locks are getting created with ## in the user name field. Because of which updates are not happening. I solved this problenm by applying note 857439 but the problem again occurs after some days (That is locks getting created with ## in user name field)
Can anybody help me solving this problem permanently
Thanks in advance<p>There's not enough details to get a good understanding of your scenario, but it sounds like you're using some kind of date control to retrieve the date value and pass it to the report's parameter field at runtime. </p><p>If this is correct, it sounds like the format of the date value from the control may not be what the report is expecting. To debug, I would first use hardcoded values when you set the report parameter fields to see what works. Then compare that to what the return value is from the control to see if they match. I suspect the formats differ. </p><p>I did a quick search on the BOBJ kbase and found a couple of articles that may help you. I recommend searching as there are lots of information on how to set parameter fields at runtime. </p><p><span style="margin-left: 5px"><a href="http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2010247&sliceId=&dialogID=8582434&stateId=1 0 8584068" target="_blank">c2010247</a></span><span style="margin-left: 5px"><span style="margin-left: 5px"><a href="http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2010251&sliceId=&dialogID=8582434&stateId=1 0 8584068" target="_blank">c2010251</a></span></span></p><p>-MJ</p>
-
Build error: an input parameter is invalid
I am looking for help with a build error. I am getting the following error message when I try to build a project in 8.5.1:
Error 1 occurred at Open VI Reference in AB_Source_VI.lvclasspen_Reference.vi->AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
Possible reason(s):
LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
=========================
NI-488: Command requires GPIB Controller to be Controller-In-Charge.
VI Path:
Tom Rhoads
Goodrich FUS
Vergennes, VermontArducopter:
Did you check to see if the KB Hunter posted resolves the issue?
If you're opening a project in a newer version of LabVIEW, then there's a chance the mass compile tool might work. It will open and save all of the VIs within a specified folder. The tool is fairly self-explanatory, and you can access it from within LabVIEW by going to "Tools --> Advanced --> Mass Compile..."
Good luck!
Caleb Harris
National Instruments | Mechanical Engineer | http://www.ni.com/support
Maybe you are looking for
-
Installation of OS X on Windows PC
This may be a stupid question to many but I'm not too savvy on the whole hardware/software relationship issue. Anyway, if someone could explain it to me in simple to intermediate technical terms to help my finite brain comprehend, I'd appreciate it.
-
HT1473 how do i move songs from an ipod into my itunes library
My itunes library is missing loads of songs. How do I move songs from an old ipod into my library, so that I can then move into my new ipod and ipad?
-
need some matter which tells what is possible in SAP for a manufacturing industry. can anyone help me get close to this
-
How to see all the reporting variables in BW
Hi All, Is there any method or table we have in BW to see all the reporting variables Thanks in Advance! BW User
-
Sometimes I can sort albums by release date and other times I don't have the option. Its frustrating. I tried to look in preferences but couldn't change it.