Putting a CR into Production & date checking
HI I have finished testing a Crystal Report and now want to put into Production. I have been working on a test server.
What is involved to make this work in a Production database?
One other thing, I have hard coded dates that are used. Everything is based on a date called End date which is the hard coded for the month that I found good data. Then going backwards for 4 months using the Date add formulas.
I prefer to get the date a better way but could live with it being a passed parameter. I need to have the user enter a ending date for a particular month but I must validate what they enter that is in fact the last date of that particular month.
So I may need a formulas for that?
Philky,
You can have the user just enter the particular month and have the formula below calculate the exact # of days for that month.
Take for example, if the user enters 5 or May into parameter {?Month}, you can have a formula that can calculate the # of days for that parameter.
Create a formula called @DaysOfMonth as such:
if Year(currentdate) mod 4 = 0 then
choose({?Month}, "31","29","31","30","31","30","31","31","30","31","30","31") else
choose({?Month}, "31","28","31","30","31","30","31","31","30","31","30","31")
The reason for the mod function is to account for the extra day in a leap year.
This code will ensure that you get the right number of days for the month the user selected.
I hope this information proves useful.
Regards,
Zack H.
Similar Messages
-
How can I put the signature into the data file.
Hi all,
I want to put the signature into the data file, mean the data file will be on the top and the signature will be at the buttom.how can i do that?
Thanks.
example:-
dataFile.txt
Name=...
Address=...
Signature=6A07C70E....123FEAB(Hex)Thanks for your reply.
First, i have a keypair (public key and private key).
I use the private key to initialize the Signature and
use the Signature to sign a data file ( dataFile.txt) .
So when i need to comfirm the data file not being modify
I have to verify the data file with the Signature and the public key.
I hardcoded the public key in my program so my client (receiver of data)
need only the Signature file and the data file (2 files).
So how can i combine the Signature file and the data file into 1 file? -
How can I programatically use the forced values to put a value into numeric data member?
I am extremely new at using Lookout and need a way to programmatically force a value into a numeric data member so that I can later use that value as a flag when creating a report.
Hi,
You can do this with an Expression similar to the following:
Object.datamember = if(Pb1, Pot1, Object.datamember)
Where Object.datamember is the datamember of the Object you want to write to.
Pb1, is a PushButton -- it can be any logical condition.
Pot1, is a Pot -- it can be any other source for your numeric data.
The IF statement basically says, "if Pushbutton Pb1 is pressed, write the current value of Pot1 to the Object's datamember. And if it's not pressed, leave its value as-is."
Hope this helps.
Regards,
Khalid -
How to trace planned order data after it has been converted into production
Hi, There,
The planned order has been converted into production order.
However, I need to trace if this planned order is generated by MRP
run or created manually. I can't get any planned order info from
table PLAF. Any input?
Regards,
NancyHi,
Once fully converted, the Planned Order data will not be available in the Table : PLAF.
If it is available, then You can have the details with the Time Stamp and User data from PLAF.
But, the refrence will be available in the Production Order.
You want to make a Track of the Planned Order details and the Quanity, then you need to have/create Z tables so that the data will be availabe.
This is how most of the Organizations keep a track of the Planned order data.
Hope this helps..
Regards,
Siva -
Putting a massive amount of data into a single variable
I'm running a command to find the amount of space .xar files (it's a Citrix temp file of sort) are using on my organization's main file server. The server itself presents quite a few terabytes of data and all our user's profile folders are there, so we're
talking about many thousands of folders with a whole mess of files. The command I was using is the following:
(gci w: -r -force -include *.xar | measure -sum -property Length).Sum
It took a long time to run, at least 5 hours, but it was finished when I got back to my desk this morning. Turns out we have 63 gigabytes of those .xar files.
I have a few questions:
1) Is this the best way to get that info?
2) If I need to put that command into a variable {$size = (gci w: -r -force ... Length).Sum} to get other info, am I going to kill my poor server's memory?
Thank you
[email protected]I may need to correlate size across department as sorted by user, or get total number of instances.
[email protected]
Is that department / user information all contained in the path to the file, or do you need to do something like query the Owner from NTFS security on the file?
Here's a quick C# function to search for files and output the full path and size of each to a CSV file. If this still isn't fast enough, maybe speed can be improved more by using the Win32 API's FindFirstFile / FileNextFile / FindClose functions,
but I'm not certain how much of a benefit that would give.
Note: This code requires at least .NET Framework 4.0, which means PowerShell 3.0.
Add-Type -TypeDefinition @'
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
public static class FileSearcher
public static void DumpFileInfoToCsv(string directory, string filter, bool recurse, string csvFile)
SearchOption searchOption = recurse ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly;
if (directory == null)
throw new ArgumentNullException("directory");
if (csvFile == null)
throw new ArgumentNullException("csvFile");
DirectoryInfo dirInfo = new DirectoryInfo(directory);
if (!dirInfo.Exists)
throw new DirectoryNotFoundException(directory);
using (StreamWriter csv = new StreamWriter(csvFile, false, Encoding.UTF8))
csv.WriteLine("\"Path\",\"Size\"");
if (string.IsNullOrEmpty(filter))
filter = "*";
foreach (FileInfo fileInfo in dirInfo.EnumerateFiles(filter, searchOption))
csv.WriteLine("\"{0}\",\"{1}\"", fileInfo.FullName, fileInfo.Length);
[FileSearcher]::DumpFileInfoToCsv('W:\', '*.xar', $true, "$home\XarFiles.csv")
You could then examine the CSV file at leisure to group and total up sizes however you like. (Remember to convert the CSV's "Size" column from a string to a numeric type first.) -
Master data check not working when loading into and ODS object
Hi guys,
we are loading transactional data into an ODS from a flat file.
In the infopackage, we have checked the option :
"Do not update data if no master data exists for a characteristic".
This option seems to be unreliable :
For some characteristics (it seems those loaded using transfer rules (routines)), incorrect data is still loaded into the ODS even if no entry exist in the associated infoobject master data table.
Any help appreciated.
Many thanks !
Pierre-YvesHi Dear,
please delete all the incorrect master data from the master data characteristic first and then try to uploading the data again .It should work, because there migth be some master data created when data were loaded with out the check before.
And please check whether all your characteristic info object are of master data , I mean that in the infoobject defination you have checked the master data check box on the info object. If you have only text then it might fail the master data check.
hope this help.
cheers,
balaji
Message was edited by: Balaji NS -
Putting tick mark into check box in smartform
hi,
can any one please let me know if i can put a tick mark in the check box of the smartform.
for example: i need to select one among yes or no check box. how do i do it.
should i have to upload a graphic of the tick mark and then display or is there any provision in smartforms to do that.Hi,
Check threads like
smartform- check box
and
what r the steps to display check box in smartform
Eddy
PS.
Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
Spread the wor(l)d! -
I have a power Mac G4 with a mirror front running 10.4.9. How current of an OS can I run on this machine? I want to put it back into use but need to upgrade the OS so that I can run the newest version of Quickbooks amoung other things.
I think you're out of luck...
System Requirements:
Minimum System Requirements
Mac with an Intel processor
Mac OS X v10.6
1 GB RAM
CD-ROM drive for installation
120 MB of available disk space
Printer: 100% Macintosh-compatible printer, if you plan to print invoices, checks, deposit slips, lists, purchase orders, mailing labels, reports, or graphs
Checks: Use Intuit Checks if you plan to print checks. Canadian Image Ready Cheques are not supported.
Integration/Compatibility Requirements
Export report data requires Numbers '09 (included with iWork from Apple) or Microsoft Excel 2004 or 2008 for Mac.
E-mail requires Apple Mail; Microsoft Entourage 2004 or 2008 for Mac
Back up to MobileMe requires paid MobileMe account available separately from Apple, Inc.
iCal, iChat, and AddressBook are included in Mac OS X. Internet access required for iChat.
Accepting credit and debit cards directly into QuickBooks 2011 for Mac requires Intuit Merchant Service for QuickBooks for Mac (sold separately); subject to application approval and debit card transactions are processed as Signature Debit which does not require entering a PIN code. See http://payments.intuit.com/legal.jsp for details.
Processing payroll, integrated with QuickBooks for Mac, requires paid subscription (sold separately), EIN and Internet access. QuickBooks 2011 for Mac works with Intuit QuickBooks Payroll for Mac.
http://www.amazon.com/Intuit-413615-QuickBooks-2011-for/dp/system-requirements/B 003YJ8WFE/ref=noref?ie=UTF8&n=229534&s=software -
URGENT Date checking even not working !
Using forms Builder 6i.
Trigger POST-QUERY to the payments BLOCK
IF :payments.payment_date IS NULL
AND
Trunc(SYSDATE) > Trunc(:payments.payment_due) THEN
message('TENANT HAS NOT PAID THE BILL YET');
END IF;
I am not sure if i am coding it right, I am trying to check if payment_due field is NULL (blank) AND at the same time current date higher than the payment_due THEN display a message.
I am trying to make the code check the payment_due automatic every time I execute the queries. But it doesent, as i have tried moving the dates around to see if it works.
Any help apprichiated.
Thanks in advanceThanks for that info.
I almost solved it, except there is one problem with that.
In order to check the field you have to Click on every field/ on them to execute the condition or code.
But how do I make it check automaticly, when I open the form? Like when I press QUERY EXECUTE and to check all of them at the same time.
I assume you need to put this code into a cursor or a loop? I am pretty bad at curors or loops, help would be a real advantage.
Thanks -
Import products into Product catalog - WWM1 ERP E-commerce
Hi guru's,
Is there a standard LSMW or program form SAP to import products (XML file) into Product catalog (wwm1). We have arround 10,000 materials and it is practically hard to enter them manually.
We are implementing SAP ERP E-commerce and are on ECC 6.0.
Thanks
RamWhile lot of effort is put by SAP in a BAPI to read Catalog or Catalog Export programs, there isn't any direct program to automatically load catalog.
We are out of luck if we don't use the automatic option in Catalog - that is to load catalog as per the hierarchy. If we have to use manual then there are no standard LSMW / programs for TCODE WWM1 to load products in catalog. We have found that the screens don't work well for a BDC type loading and hence we could not use LSMW easily.
Now, here is the IDOC for [Product Catalog - PRDCAT / PRDCAT01 |https://websmp205.sap-ag.de/sapidb/011000358700002529571998/prdcat01_d.htm] and one for [Product Catalog Item - PRDPOS / PRDPOS01|https://websmp209.sap-ag.de/sapidb/011000358700002529571998/prdpos01_d.htm]. What do these give you? Nothing much really - you can use these as a way of input of your XML catalog data. But you still have to write your own program to load the data.
In CRM, there are bunch of function modules when used in a coordinated way, can be used to build a loading program.
Easwar Ram
http://www.parxlns.com -
Basic dates and production dates
dear all,
i have made a PIR using MD61 for 01.04.2010,
after that, i run the MRP using MD02 to make the planned order, so when i open the MD04 tcode, the planned order has been created for 01.04.2010 too...
the problem is when i convert that planned order to production order, when i check the finish date of the production order, it has been change to 02.04.2010, why the start dates and finish dates changes in the production order???
best regard,
MARUFATHi,
i have check in OPU3, the schduling type is backward, and the automatic scheduling is tick
i also check in MRP view, the scheduling margin key is 000 so there is no float time problem, and the GR processing time is 0,
i run the MRP RUn MD02 using planning type 1 using basic dates
but when i convert the planned order into production order, the finish date always change,
so, if the finish date in the planned order is 01.04.2010 , after i convert into production order, the finish date change into 02.04.2010
what makes me confuse is that the scheduling time is backward, but why all the finish date of the planned order after i convert to production order change into +1 days after the finish dates ??
can you help me to solve this problem?
regard
MARUFAT -
Getting Error when convert the plan order into production order
Hi Experts,
When i converting the planorder into production order i am getting this error
could you please suggest me hoew can i resolve this issue.
Message no. CK466
Diagnosis
The system could not calculate a price for the internal activity with activity type 20000 of cost
center 110TUP002 because none of the valuation strategies in valuation variant 006 was successful.
System Response
If the system issues a warning message or an information message, the costing item will be
used in costing with a value of zero.
If the system issues an error message, it sets the status "KF" (costed with errors).
If the system issues a termination message, the cost estimate cannot be processed.
Procedure
1. Check the master data for activity type 20000 of cost center 110TUP002.
2. If you have authorization for Customizing, check the valuation strategy for internal activities
in valuation variant 006.
Thanks®ards.
Sateesh.CHi,
For the orders for which you get the error, note the dates, then check in KSBT, whether there is price maintained for that period.
Eg: If the order has a start - 2nd Aug, 2010 & end 10th Aug, 2010, then check if price exists for period - 08, year - 2010
Regards,
Vivek
Added
If the values are maintained, then check the costing variants specified for the order type in OPL8 for plant - order type combination in cost accounting tab. Then in OPL1, check the details specified for the variants. If you're not sure on this, take help from your FI-Co colleague. -
Importing Production Data to SAP IDES
Dear All,
We need a Server for User Level SAP Training. Last time we use SAP IDES for user training but it is not very useful to the user.
The main issue is that no real data is there. Is it possible that I will export full database from Production at DB2 level and import it in IDES machine.Hi,
I would strongly recommend you not to do this. IDES is a demo system with some default data in it. Definetly you will land up in to issue if you try to put your production data in to IDES as I suspect there should be lot of differences. So dont do that as it is not recommended. The better way is to remove the IDES completely (If it is not required anymore) and install SAP on it (Not IDES version) and after that export your production data in to it by following appropriate method.
If you require IDES to be remaining, then either check for another server or get a new server and after that install SAP and export production data.
Regards,
Sharath -
Today our BW Production data load was failed.
When i right click the data target -manage-i can find the request with red trafic light...but when i tried to hit the TV SCREEN THE SYSTEM IS HANGING DOWN...it is not allowing me to enter into the request...
When i try to access the request from rsmon the same thing is happening
when i tried to check the logs in process chain for today the same thing happened.
I think this is some thing related to back ground job
Please help urgent..please give me detailed procedure as it production system
ThanksST22 ERRORS
21.03.2006 09:17:57 sbcpap01 SKELLY2 400 C MESSAGE_TYPE_X CL_GUI_CFW====================CP 1
21.03.2006 04:08:09 sbcpcibw ALEREMOTE 400 C TIME_OUT SAPLSENA 1
21.03.2006 04:03:18 sbcpcibw ALEREMOTE 400 C TIME_OUT SAPLSENA 1
21.03.2006 03:57:22 sbcpcibw ALEREMOTE 400 C TIME_OUT SAPLSENA 1
21.03.2006 03:51:37 sbcpcibw ALEREMOTE 400 C TIME_OUT SAPLSENA 1
21.03.2006 03:45:55 sbcpcibw ALEREMOTE 400 C TIME_OUT SAPLSENA 1 -
Drop down system does not work just flickers an example can not put an email into a folder
the drop down system doesn't work an example when I try to put an email into a folder when I click on the move message to location all the folder references just flicker and do not allow me to click on any thing another example when I tried to entered data into the "This happened" block below I just got flickering. This happened over the last few days and happens every time I try to use the drop downs
Try to disable hardware acceleration.
*Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
If disabling hardware acceleration works then check if there is an update available for your graphics display driver.
*https://support.mozilla.org/kb/how-do-i-upgrade-my-graphics-drivers
Maybe you are looking for
-
Error message when I try to update phone
I havent updated my iphone since 2011 as I cant get passed an error message 1403. It says my iphone is corrupt. I have updated Itunes so many times and run diagnostics. I have backed up my phone and tried to restore but it says it is corrupt and can
-
Problem uploading multibyte CSV file
I apologize, this topic has been addressed several times, but I still can't find the solution. I have multibyte CSV files (extract from BI) : Excel says "Unicode txt" and when I save them from Excel in "Text CSV", they get half the size on the disk.
-
Messages in Mavericks: How do we invoke "iChat Theater?"
Has the "iChat Theater" feature been removed from Messages? I can't find it anywhere. We used to be able to drag in files (video, pictures, documents) to view them "live" with our videoconferencing partner, like so: And now it appears that all we c
-
Afdrukken naar jpeg in voorvertoning geeft error
Ik krijg de volgende error bij het afdrukken naar JPEg vanuit de voorvertning, iemand een idee? Er heeft zich een fout voorgedaan bij het uitvoeren van de taak 'Kopieer Finder-onderdelen (Copy Finder Items)'. Controleer de kenmerken. Welke kenmerken
-
Hi , When I try to call : Socket sok=new Socket (adres,poort); the thread looks to stop... How to avoid this ? Thx for tip etc !