Not getting proper date values for original GI Date
Hi,
I have to Calculate Original GI Date based on Original promise Date and transport Date(Original GI Date = Original promise Date-transport Date) and I am getting Original Promise date as"21112008" and transport date as"20112008". when I subtract in Update rules as formula as (Original promise Date-transport Date) getting Original GI DATE as"01000001" as it is giving wrong date values.please help me whether i am going right way or is there any thing else i have to select in Update rule level (formula) to get proper date values or how can i approach to get original GI date.
it is QUITE Urgent...please help any one to solve the Issue.
REGARDS
VENKAT.
Hi Venkatesh,
Please search SDN forum before you post any questions. There are lots of threads available for this scenarios.
Use formula variables in Bex in order to achieve your requirement.
Links below, may be helpful:
Formula variable with replacement path on system date
How to creae days count variable in SAP BI-BEx
http://help.sap.com/saphelp_nw70/helpdata/en/f1/0a56a7e09411d2acb90000e829fbfe/frameset.htm
Regards,
Ravi Kanth.
Similar Messages
-
Why my function can not get proper varaible value
Hi.
I write a MXML file like this.
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="
http://www.adobe.com/2006/mxml"
invoke="setint()"
creationComplete="getint()">
<mx:Script>
<![CDATA[
import mx.utils.StringUtil;
import mx.controls.Alert;
public var number:int = 100;
private function setint():void{
number = 200;
Alert.show("" + number);
private function getint():void{
Alert.show("" + number);
]]>
</mx:Script>
</mx:WindowedApplication>
I define a varaible in ActionScrip. one function is to set
its value, another is to get its value. why function getint()
always get value 100. this varaible can not be set. the two
function are trigger in invoke event and creationComplete."crystalChen" <[email protected]> wrote in
message
news:ghska7$31a$[email protected]..
> Hi.
> I write a MXML file like this.
> <?xml version="1.0" encoding="utf-8"?>
> <mx:WindowedApplication xmlns:mx="
http://www.adobe.com/2006/mxml"
> invoke="setint()"
> creationComplete="getint()">
>
> <mx:Script>
> <![CDATA[
> import mx.utils.StringUtil;
> import mx.controls.Alert;
>
> public var number:int = 100;
> private function setint():void{
> number = 200;
> Alert.show("" + number);
> }
>
> private function getint():void{
> Alert.show("" + number);
> }
> ]]>
> </mx:Script>
>
> </mx:WindowedApplication>
>
> I define a varaible in ActionScrip. one function is to
set its value,
> another
> is to get its value. why function getint() always get
value 100. this
> varaible
> can not be set. the two function are trigger in invoke
event and
> creationComplete.
Check out "Defining Public properties by using getter and
setter methods"
http://www.adobe.com/livedocs/flex/3/html/help.html?content=ascomponents_3.html -
Not getting the return value of a program though it has no errors
public static String giroReturnFileDate(String strType)throws IOException{
try{
SimpleDateFormat getFormatDate = new SimpleDateFormat("yyMM");
Date date = new Date();
String str = getFormatDate.format(date);
System.out.println("Current Date is : "+ str);
System.out.println("Fetching the Giro file now");
if(strType.equalsIgnoreCase("WPD") || strType.equalsIgnoreCase("ISTD")) {
FileReader inputFileReader = new FileReader("giro2itcs_"+strType+".txt");
ArrayList list = new ArrayList();
ArrayList list1 = new ArrayList();
System.out.println("Reading the file");
BufferedReader inputStream = new BufferedReader(inputFileReader);
String inLine = null;
String str1 = null;
while((inLine = inputStream.readLine()) != null && inLine.length() < 2)
list.add(inLine);
System.out.println("Control Record for giro2itcs_"+strType+"is:"+ inLine);
inputFileReader.close();
inputStream.close();
for (int i=0; i<inLine.length(); i++ )
str1 = inLine.substring(19,23);
System.out.println("date of the transaction is:"+str1);
if (str .equals(str1)){
System.out.println("giro2itcs_"+strType+".txt file is created today");
return "true";
else{
System.out.println("giro2itcs_"+strType+".txt file is not created today");
return "false";
}// end of if
return "test";
}// end of try
catch(Exception e) {
System.out.println("The Exception is ::::::::::::::"+e);
return "one";
}//end of giroReturnFileDate(...) method
}//end of of the class
main method is seperate. this program compiles fine but am not getting the return value for this. none of the return values. plzzz help me.can you send me the code complete one ...
i will debug and solve the problem
[email protected]
By publishing your email address you are likely to get loads of spam. -
Lost newly purchased Iphone5, Reported complain in police station but not getting proper responce. Can apple help me out for this?
Oh, don't worry. I know exactly. I'm a retired law enforcement officer after 30 years. I didn't mean for them to allow you to use the Internet, I meant for them to assign an officer to try and track the device for the victim. Again, that would require the victim to provide their Apple ID and password, which most would not want to provide.
Pinging the phone as you mention is only when there is probable cause and that is done through the carrier.
I'm glad to see someone also understand that a stolen cell phone is not as important to law enforcement as it is to the victim. It is unfortunate as smartphones get more expensive. Hopefully as iOS 7 makes it debut later this year, the work Apple has done will have some impact on smartphone theft. Other manufactures and carriers are starting to improve here in the states. It never was something carriers worryed about with blacklisting. This is where they were a step ahead in Europe. -
How to get item field values for old versions?
I need to be able to query old field values from previous versions of items in a SharePoint list. I can't execute code on the server (it needs to work with SharePoint Online/O365 for a start).
So far the ONLY API I've that lets me do this is the lists.asmx GetVersionCollection SOAP call.
This lets me specify a single field name and returns an XML structure with the values for the various versions, along with the modification time and who made the change - but NO reliable way of actually identifying *which* version (i.e. an ID or label). That
is, if I know I need to fetch the Title value from version 512 ("1.0") of item 1 in list "Documents", I don't see how to reliably parse the results to determine which entry is version 512. While they may be returned in order, in many cases
the entries are actually missing when there was no field value present (or perhaps when the field hadn't been created yet). I've tried comparing the Modified date to the Created date of the corresponding FileVersion item (which I can get via CSOM or REST),
and while it works some of the time, it's not reliable. I've also looked at the output from the lists.asmx GetVersion API but I don't see how that's useful either, as the Created property for all versions always seems to be just the date the file was originally
created.
It does seem odd to me that there's not a neat way of doing this - if I need to return information for several fields but just for a single version, I have to make a whole lot of requests that return far more info than I need, and then I need to figure out
how to parse the returned text in the case of, say, multiple-value taxonomy fields etc.
Anyone tried doing anything similar here?
Thanks
Dylantry these links:
https://support.office.microsoft.com/en-us/article/Track-and-view-version-information-for-SharePoint-list-items-2d69d936-fb0b-4c84-830e-11708e6ec317?CorrelationId=f87cf6ea-8cbf-446a-a4a0-e2c3a86b3425&ui=en-US&rs=en-US&ad=US
https://social.technet.microsoft.com/Forums/en-US/e48ff216-7ed1-4b20-9f21-d496b1583eea/how-to-get-item-field-values-for-old-versions?forum=sharepointdevelopment
http://sharepoint.stackexchange.com/questions/20019/get-meta-data-from-a-previous-version-of-a-document-through-webservice-in-moss-2
http://sharepoint.stackexchange.com/questions/121594/getting-information-from-previous-versions-of-a-sp-list-using-csom
Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing -
Custom Report for the Stock and Stock value for a specific date
Hi SAP Gurus,
Is there any SAP standard t-code or any logic to get the transcations (additions (for example: Purchases) and subtractions (Sales) to the inventory) for a particular materials in a plant and with Total Stock and also Total Stock value when that particular transaction happened?
Our system is R/3 4.7
I looked at the MB5B, MBCE, MBCA, MC44, MB51 and some other standard T-codes but could not find the total stock value at the time of Transaction happened.
The history tables MBEWH and MARDH are updated after the month end closing procedures, right, which means I will have the inventory value changing every month if material has Price "S".
Thank you,
-HarterHi Harter,
Unfortunately, you cannot see in a single tcode the value of stock and stock quantity on a specific date. As you yourself have pointed out, we only have to make use of the history table MBEWH, MARDH for the month wise stock quantity and value. Along with that you should also make use of the table MBEW to take teh stock quantity and value. So the total value of stock on a particular date will be
Stock qnty = MBEWH value until the previous month (for teh specific valuation class, period etc) + MBEW value for the present date.
But this will nto work out if you want to find out teh stock quantity and stock value on a past date basis. For past data, only m onthwise data is available. For this anyway you can refer to MC.1 and so on reports. -
How to get the opening balances for lessthan selected date in cubes.
Hi All,
my task is to get the opening balances for the selected date.
Ex: If I select date say 31-1-2013, I should get the sum of values which are less than the selected date.
in sql:
select sum(balance) from banktrans where banktrans.transdate < 31-1-2013;
BankTable BankTrans
BankId BankId
balance
transdate
BankTable (records):
SCB
BankTrans(records):
a) SCB, 15000, 10-02-2013
b) SCB, 20000, 31-01-2014
c) SCB, 50000, 21-09-2012
If I select date as 31-01-2014, I should get the value as 65000
If I select date as 10-02-2013, I should get the value as 50000
Date will be dynamic selection from years months days hirearchy ( time dimension)
How can i achieve this?
any help is much appreciated.
Thanks,
RakeshDear David,
I've tried the below with static date but i'm not getting the values which are sum of less than the given date.
I've given 1st jan 2013 as static date and I need to get the sum of values which are less than the 1st jan date.
CREATE
MEMBER
CURRENTCUBE.[Measures].[OPENBALANCE]
AS
Sum({Null:[Time].[Years
Quarters Months Weeks Days].[Days].&[2013-01-01T00:00:00]},[Measures].[AmountCur]]),
FORMAT_STRING
= "Standard",
VISIBLE
= 1
can you plz check the above once and guide me.
Thankyou,
Rakesh -
Why am I getting very high values for the very low frequency region of a random signal?
I am tyring to produce a power spectrum graph for a Tachogram data, related to Heart Rate Variability Analysis. This data can be thought to be as a random signal, but has a frequency spectrum range of 0 - 1HZ.
The problem that I am facing is, I am getting very high values for very low frequency region, closer to DC value. Even the DC value is really high, in the range 10^8. It is suppose to be a low number. Any suggestions would be appreciated.
Thanks.Here is what my work is all about. I am trying to develop a software for Heart Rate Variability analysis. I am not sure if you are aware of heart beat waveforms, they are bunch spikes, occuring at irregular intervals. We have to do analysis on this waveform. How ? First we have to create a plot called Tachogram. This is done by, for example, let's name the first spike R1, the second one R2, and the third one R3, and so on. This is how the co-ordinate points are created. (R1, R2-R1), (R2, R3-R2), and so on...
Here R1 is the time instant at which the spike R1 occurs, and R2-R1 is the time difference between these peak occurences. So, if we plot these values, then it gives us one like what you saw on your time domain plot. What we have to do with this signal is, we have to apply FFT technique to produce its power spectrum for analysis. Generally the frequency range of the spectrum goes from 0 - 0.5 Hz. They part this range into VLF, LF, and HF, and analyze how much power is distributed in these regions. The distribution would tell you if you were stressed out,or have worked out, things like that. Normally, you can view spikes around LF, HF region. If you had viewed the power spectrum for the data that I sent, then that's what it pretty much looks like. I think I have said a lot about it now. Hope you get it.
We were talking about the "other component", I can't really see where it lies, must be in the 60-80 sec. range in the graph. If you look at the spectrum, I am getting a huge value around 0.0033 Hz, how do I minimize or remove this ?
Also, I am using Unevenly Spaced Signal Spectrum.vi, I am not sure what excactly is the unit for the Power Spectrum output. Technical Papers denote, Periodogram algorithm used by this VI, gives Power Spectral Density ? If that's right, then the unit is V^2/HZ.
Please advise.
Again, I should thank you for your time and effort.
I have to meet a deadline this week in finishing this project, and your help is immense to me at this point.
Thanks & Best Regards, -
Selecting last value for a given date
I've read some of the other threads on the this tope, but can't find a resolution.
My query is supposed to get the last values for the given two days (start date and end date) and I return the difference between the two values. The query as it is only works for days where there is an entry for 12:00 pm. On some days, it will therefore return nothing. But I'm not sure how to get it to choose the last value for the given day and still remain a fast query.
Here is a sample of the query with dates that return a result.
SELECT max_query.sgnl_id as sgnl, max_query.max_val - min_query.min_val result_val
FROM
(SELECT t1.sgnl_id, t2.smpl_dte, t1.pv_id,
MAX(t2.integ_since_val) AS max_val
FROM diag.blm_acct t2, diag.pv_sgnl_id_assc t1
WHERE t2.smpl_dte = TO_DATE ('11/15/2008 12:00:00 PM', 'MM-DD-YYYY HH:MI:SS AM')
AND t1.pv_id = t2.pv_id
AND t2.pv_id IN
(SELECT pv_id
FROM diag.pv_sgnl_id_assc
WHERE sgnl_id IN
(SELECT sgnl_id
FROM diag.series_sgnl_rec_asgn
WHERE series_id = 'Series5'
GROUP BY t1.sgnl_id, t2.smpl_dte, t1.pv_id
) max_query ,
(SELECT pv_id,
MAX(integ_since_val) AS min_val
FROM diag.blm_acct
WHERE smpl_dte = TO_DATE ('11/10/2008 12:00:00 PM', 'MM-DD-YYYY HH:MI:SS AM')
AND pv_id IN
(SELECT pv_id
FROM diag.pv_sgnl_id_assc
WHERE sgnl_id IN
(SELECT sgnl_id
FROM diag.series_sgnl_rec_asgn
WHERE series_id = 'Series5'
GROUP BY pv_id
) min_query WHERE max_query.pv_id = min_query.pv_id
ORDER BY max_query.sgnl_idThe data set in the table is quite large, but the above query returns only 49 results (one for each signal in 'Series5').
I tried the following statement by itself to get the last value, but it takes quite a long time to execute (increased the overall query time from 1 sec to 400+ sec when used in the query above):
SELECT DISTINCT trunc(smpl_dte) as the_day,
first_value(integ_since_val) over (partition by trunc(smpl_dte) order by smpl_dte desc) as last_val_per_day
FROM diag.blm_acct WHERE pv_id = 3 and trunc(smpl_dte) = to_date('05/18/2008', 'MM-DD-YYYY ')Any thoughts?Well here is an example of the output I'm trying to generate:
SGNL RESULT_VAL
CCL_Diag:BLM00:Slow60PulsesTotalLoss 52.843439255
CCL_Diag:BLM101:Slow60PulsesTotalLoss 55.7883452511etc...
Here is the table structure:
describe diag.blm_acct;
Name Null Type
BLM_ACCT_ID NOT NULL NUMBER(12)
PV_ID NOT NULL NUMBER(38)
SMPL_DTE NOT NULL DATE
INTEG_OVER_VAL BINARY_DOUBLE()
INTEG_SINCE_VAL BINARY_DOUBLE()
INTEG_TYPE_ID NUMBER(3)
describe diag.PV_SGNL_ID_ASSC
Name Null Type
PV_ID NOT NULL NUMBER(38)
SGNL_ID NOT NULL VARCHAR2(75)
describe diag.SERIES_SGNL_REC_ASGN
Name Null Type
SERIES_ID NOT NULL VARCHAR2(50)
SGNL_ID NOT NULL VARCHAR2(75)
DISP_ORD_NBR NUMBER The main problem I'm having is how to replace this line of code:
WHERE t2.smpl_dte = TO_DATE ('11/15/2008 12:00:00 PM', 'MM-DD-YYYY HH:MI:SS AM')with something that will get the last value (integ_since_val) in the diag.blm_acct table for the 11/15 date.
Edited by: Solerous on Feb 18, 2009 11:32 AM - I figured out how to output the table data -
How to get the week number for a given date?
hi guys,
what is coding to get the week number for a given date?
For example, 1/1/05 is week 1. then 8/1/05 is week 2.The second parameter to pass to the method is supposed to be one of the month constants JANUARY - DECEMBER. It happens to be that their numerical values are 0-11, not 1-12, so your "12" refers to the "13th" month of the year.
givenDate = new GregorianCalendar(2003, Calendar.DECEMBER, 31);
If you want to construct dates and times from strings like you seem to be, look into SimpleDateFormat http://javaalmanac.com/egs/java.text/ParseTime.html
(even still I got WEEK_OF_YEAR as 1 which is true but not really what I expected, excuse my previous reply but I wanted to check the facts before posting this) -
How to fetch year till date value for earning for current ,last and year
hi,
how to fetch year till date value for earning for current ,last and year before that from payroll result
plz reply soon,
pratyushDear Pratyush,
Pick this from CRT.
Use LDB PNPCE & Fire event GET PAYROLL &
then you can pick from CRT.
Hope this helps.
Kindly reward in case useful.
Regards & Thanks,
Darshan Mulmule -
Not getting proper payment advice
Hi,
When we are runing F110, we are not getting proper payment advice.
Vendor getting information on payment advice total of amount paid no invoice details are printing, if vendor having less than 4 line items in payment run.
If vendor having more than 4 line items in payment run vendor getting correct details.
In this every time we have to inform vendor what invoices paid if vendor having less than 4 invoices.
Can anyone help us to resolve this and get correct details of payment advice.
Thanks,
SridharHello Sridhar,
Please check the Payment Advice output control settings for the particular Payment Method and Company Code in FBZP.
I assume that your current configuration reflects "Payment Advice after 4 lines"...which needs to be de-activated and change the setting to "Always Pyt Adv."
Reward if this resolves your problem.
With Regards
Vijay Gajavalli -
How to get the purchase value for a purticular price.
Hi guru's,
I want to get the purchase value for some materials, in a particular plant and in a particular month. How can I get this data.
waiting for replies
thanks
tuljasingh.Hi,
Refer report ME1P - PO Price History.
Else Use Reports;
ME2N - PO List by Document No
ME2M - PO List by Materials
ME2L - PO List by Vendors
ME80FN - General Analysis of Purchase Orders -
How to get Privacy Policy value for each userprofile in sharepoint 2010?
In userprofile application, we have defined Privacy Policy of mobilephone feild as optional, so every user has option to choose visibility scope of this property to "Everyone/My Manager/my colegues/Only Me" .
Now I am trying to get mobilephone value and their selected visibility option for each user.
I am able to get mobilephone value but I could not get "what each user has chosen as their visibility scope"?Hi,
According to your post, my understanding is that you want to get Privacy Policy value for each userprofile in sharepoint 2010.
You need to use RunWithElevatedPrivileges method to impersonate user.
To get the get mobilephone policy, you can use user["CellPhone "].Privacy.
For more information, you can refer to:
c# - Getting property privacy with Sharepoint 2010
How to Programmatically Impersonate Users in SharePoint
Managing Sharepoint 2010 Profiles Programmatically
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
Getting JPEG Library Error for Corrupt JPEG Data using CS5
After recently upgrading to CS5 I am getting JPEG Library Errors for corrupt JPEG data. I have my old PC still in use that uses CS4 and does not generate these errors when accessing the same site. Could someone please assist me in how to get rid of these errors using CS5? I can't find help out there anywhere for this!
Thanks in advance!You could use Photoshop's Image Processor to open all of your jpegs in a given folder, make a slight tweek and resave them in the hopes of cleaning out any errors that DW is hitting. It's worth a shot maybe.
1. In PS go to File > Scripts > Image Processor
2. For Step 1, browse to a folder in your site with jpeg issues
3. For Step 2, choose save in same location
4. For Step 3, choose Save as JPEG and check Convert File to sRGB
5. Click Run
This will create a sub folder called JPEG with the images resaved there. You can drag them into the parent folder to replace the originals.
If you haven't already, make sure to report the bug here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
At least the right people will be made aware of it then and if it's common enough to trip whatever quantity/user reports system they use, it would get included for repair.
I honestly don't think it's a "bug" per se, since the forum isn't absolutely flooded with the problem.
Maybe you are looking for
-
Restoring my PC from backup after hard drive crash.
I need to reinstall re-install lightroom - what do I need??? I have my product key and serial number - anything else needed? Thanks
-
Need to replicate Portal /irj security setting
Hi Folks, I am working on a Portal 6 - Web AS 6.40 SPS 21 I have strange proprietary application (I guess aspx) handling user authentication in the production Portal: whenever a user points the browser to the production portal public URL (say https:/
-
Peer to Peer on Mobile Devices
I am trying to develop a real-time game for mobile devices that will allow multiple players. The basic connection concept is: 1) One person puts their game in "host" mode. That causes it to listen for outside connections. 2) A player (client) fires u
-
** How to debug ABAP Mapping at run time?
Hi Friends, We have created one class using the interface IF_MAPPING and the method EXCUTE. Inside the class we have written coding. We refer this class in the interface mapping as mapping program. But, while execute the scenario, how do I debug my c
-
In the new iTunes 11, in the store, if I click on an album I see the "Name", "Artist", "Time", "Popularity" and "Price" columns. But no the "Composer" column, a useful information especially for classical music. There is a way to see the Composer col