Issue with date formula when running a report on the 1st day of the month
We have a formula that compares last month data against last year last month, the report runs on the 1st of every month although the report errors when it tries to run in January being the first month of the new year it tries to look for a month begining with Zero instead of looking back at decemeber which would be 12.
Does anyone any solutions for this issue?
Thanks,
Chris
Example of some formula's we have tried but none seem to work.
if {@MonthName} = "December" then year({CDCCHD.CDOPDT}) in year(currentdate)-1 to year(currentdate)-2 else year({CDCCHD.CDOPDT}) in year(currentdate)
OR
(if {@Last Full Month Name}= "December" then year({CDCCHD.CDOPDT})= year(currentdate)-2 or
{CDCCHD.CDOPDT} in lastyearytd else {CDCCHD.CDOPDT} in lastyearytd or
{CDCCHD.CDOPDT} in yeartodate)
OR
({CDCCHD.CDOPDT} in dateserial(year(currentdate)-1,month(currentdate),01)-1 to dateserial(year(currentdate)-1,month(currentdate)-1,01) or
{CDCCHD.CDOPDT} in lastfullmonth)
OR
if {@monthname} = "December" then {CDCCHD.CDOPDT} in dateadd("m", -28, (currentdate)) to (currentdate)-14 else {CDCCHD.CDOPDT} in dateadd("m", -14, (currentdate)) to (currentdate)
Chris,
Give these formulas a try...
Beg of Last Month
DateAdd("m", DateDiff("m",#1/1/1900#, CurrentDate) - 1, #1/1/1900#)
End of Last Month
DateAdd("m", DateDiff("m",#1/1/1900#, CurrentDate), #1/1/1900#)
Beg December of Last Year
IF DatePart("m",CurrentDate) = 1
THEN DateSerial(DatePart("yyyy",CurrentDate) -2, 12,1)
ELSE DateSerial(DatePart("yyyy",CurrentDate) -1, 12,1)
End December of Last Year
IF DatePart("m",CurrentDate) = 1
THEN DateSerial(DatePart("yyyy",CurrentDate) -1, 1,1)
ELSE DateSerial(DatePart("yyyy",CurrentDate), 1,1)
Note that the "End" formulas produce a value that shows midnight of the following day that you would normally expect to see... For example, if you are expecting to see 12/31/2009, it will show 1-1-2010.
The reason is that the formulas come out to be midnight of the day shown... So a range of 12/1/2009 - 1/1/2010 will include 12/31/2009's data but none of 1/1/2010... (12/1/2009 - 12/31/2009 would actually cut off 12/31/2009).
If for some reason your data is stored w/o time values then an adjustment would need to be mande.
HTH,
Jason
Similar Messages
-
Issue with Date showing Null in interactive report
I created an interactive report for a customer and was confused to see blanks or more specifically dashes where there should be dates in one of the fields. I knew this field should have data so I did some testing and this is what I have found:
The sql I am running is:
select
assigned_to_company,
last_resolved_date,
incident_id
from
rhpd0009_im_adherence_rpt2_vw
When I run the command in SQL workshop I get the following results with data in the last_resolved_date field:
[http://i83.photobucket.com/albums/j299/yogibayer/apexdateissuesqlcommand.jpg]
I copied and pasted the SQL from SQL workshop and created a new interactive report and got the following results with no last_resolved_dates showing up:
[http://i83.photobucket.com/albums/j299/yogibayer/apexdateissueinteractivereport.jpg]
For some reason the order is different, but the first one INC1117629 shows up in both of them and has a last_resolved_date in SQL workshop, but not in the interactive report. Any help would be appreciated.
Thank You
ScottVarad,
It seems to be related to the function we use to convert Remedy dates to Viewable dates. Remedy dates are stored as an integer that represents the absolute number of seconds from Jan 1, 1970 at 12:00 AM. We use a function that converts this number into a human readable date. I have tried encapsulating the result of the function in a TO_DATE and a TO_CHAR with the same results as before. There is something about the resulting data from the date convert function that Apex doesn't like. It would be interesting to isolate what exactly the issue is, but right now I'm just trying to find a work around.
Thank You
SCott -
Issue with Date used to Filter a Report
I have the following source for a report. The source was working correctly before and I am trying to add a date filter to it.
q VARCHAR2(32767); -- query
w VARCHAR2(4000) ; -- where clause
w2 VARCHAR2(4000) ; -- where clause for salesrep
w3 VARCHAR2(4000) ; -- where clause for agent
w4 VARCHAR2(4000) ; -- where clause for date range
we VARCHAR2(1) := 'N'; -- identifies if where clause exists
BEGIN
q := 'SELECT "TBLCALL"."CALLID", "TBLSALESREP"."LNAME" || '', '' || "TBLSALESREP"."FNAME" as "SalesRep", "TBLAGENT"."LNAME" || '', '' || "TBLAGENT"."FNAME" as "Agent", "TBLAGENT"."AGENTID", "COMPLETEDATE", htmldb_util.get_since("CREATEDATE") as "Age", "CREATEDATE",
"TBLDIRECTOR"."DIRECTORNAME",
decode("CREQUESTID",NULL,''None'',"CREQUESTID") as "# REQUESTS", "REQUESTSTATUS", "ESCALATIONNAME" '
||
' FROM "#OWNER#"."TBLAGENT", "#OWNER#"."TBLSALESREP", "#OWNER#"."TBLDIRECTOR", "#OWNER#"."TBLCALL", "#OWNER#"."VW_CALLREQUESTS", "#OWNER#"."VW_CALLSTATUS", "#OWNER#"."VW_CALLESCALATION" '
||
' WHERE "TBLAGENT"."AGENTID" = "TBLCALL"."AGENTID"
and "TBLSALESREP"."DIRECTORID"="TBLDIRECTOR"."DIRECTORID"
and "TBLCALL"."CALLID"="VW_CALLREQUESTS"."CALLID"(+)
and "TBLCALL"."CALLID"="VW_CALLSTATUS"."CALLID"(+)
and "TBLCALL"."CALLID"="VW_CALLESCALATION"."CALLID"(+)
and "TBLSALESREP"."SALESREPID"="TBLCALL"."SALESREPID" ';
IF :P1_COMPLETED = '0'
THEN
w := ' COMPLETEDATE is null';
we := 'Y';
END IF;
IF :P1_COMPLETED = '1'
THEN
w := ' COMPLETEDATE is not null ';
we := 'Y';
END IF;
IF :P1_SELECT_SALESREP != '-1' THEN
w2 := ' AND TBLCALL.SALESREPID= :P1_SELECT_SALESREP ';
ELSE
w2 := '';
END IF;
IF :P1_SELECT_AGENT != '-1' THEN
w3 := ' AND TBLAGENT.AGENTID= :P1_SELECT_AGENT ';
ELSE
w3 := '';
END IF;
IF :P1_STARTDATE is not null AND :P1_ENDDATE is not null THEN
w4:= ' AND TBLCALL.CREATEDATE between ' || to_date(NVL(:P1_STARTDATE,'01/01/1900'), 'MM/DD/YYYY') || ' AND ' || to_date(NVL(:P1_ENDDATE,'12/31/9999'),'MM/DD/YYYY');
ELSE
w4 := '';
end if;
IF we = 'Y' THEN
q := q || ' AND ' || w || w2 || w3 || w4 ;
ELSE
q := q || w2 || w3 || w4;
END IF;
RETURN q;
END;
Each time I try to run the page... the report gives me the following error:
failed to parse SQL query:
ORA-00904: "OCT": invalid identifier
It looks like a date format issue, but I have tried several things to resolve it and it still does not work... What can I do?I think you have a problem with format masks.
Check the format masks that are used in P1_STARTDATE and P2_STARTDATE -
Issue with Enter-PSSession when running from the shell and via script
Hello
Can someone please help me with the following issue
If I open the PowerShell console and do the following
Enter-PSSession -computername Server1
"This is a test" > C:\Log.txt
Exit-PSSession
It works e.g. the Log.txt file is create as expected on Server1
However if I put the exact same command in a script and execute the script.
./TestScript.ps1
The Log.txt file is created on my Client (e.g. PC) and not the Server1
I also tried using $Session = New-PSSession -ComputerName Server1 etc.....
then Enter-PSSession -Session $Session
I also tried Enter-PSSession etc....
Start-Sleep -seconds 60
"This is a test" > C:\Log.txt
Exit-PSSession
Again no luck when running from shell all OK, then executing as a script (again from the command line) files is created on client
Any ideas why this is happening please and how to resolve, I am using PowerShell v4 on the client and PowerShell v2 on the Server
Thanks
AAnotherUser__
AAnotherUser__No, the command is explicitly designed for interactive use, not within a script. If you see
http://technet.microsoft.com/en-us/library/hh849707.aspx you'll even see it clearly state that it "Starts an interactive session with a remote computer".
There are quite a few threads elsewhere on the same subject, all of which say the same thing, for instance
http://powershell.com/cs/blogs/tips/archive/2010/11/15/enter-pssession-do-s-and-don-ts.aspx and
http://powershell.org/wp/forums/topic/running-multiple-remote-commands-with-enter-pssession/ and
http://blogs.technet.com/b/heyscriptingguy/archive/2009/10/29/hey-scripting-guy-october-29-2009.aspx and
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/7e89b957-ff5b-42c4-b107-d7e18752fcf1/enterpssession-within-a-script
So when you run it interactively, you've started the interactive connection to the remote computer and are now running the relevant commands on that machine. When you run it from the script it starts the remote connection, but crucially it doesn't use that
new connection, the script is still being run in the current local session.
When you think about it makes sense. Using the Invoke-command method you're connecting to a remote machine, sending the script block to the remote machine, and then running that block of code on the remote machine. The remote machine only knows about the
code you send it, not the rest of the script (which is why if you use variables you have to pass them to invoke-command otherwise they won't be available to the script block on the remote machine. Conversely, when you use the Enter-PSSession method, you've
connected to the remote machine, but you haven't passed any code to it. At that point you're on the remote machine, but it has no way to know what you want it to do since your script code is on the local machine. It can then either return to the local
machine and run the next line of code locally (which it does), or sit there connected to the remote machine waiting input that will never come (which would be even less useful). -
Issue with Date Conversion when loading XML File into Oracle 10g Database
Hello all,
I have the interface shown in the screenshot below. In it, amongst other actions, I'm mapping an XML file element representing a date to an Oracle table column defined as DATE. The source and target columns are highlighted in the screenshot.
!http://img223.imageshack.us/img223/1565/odiscr275.jpg!
When I execute the interface, I get the following error message:
java.lang.IllegalArgumentException at java.sql.Date.valueOf(Date.java:103)
I'm assuming this refers to the date conversion!
I've already tried replacing SRC_TRADES.DEAL_DATE with TO_DATE( SRC_TRADES.DEAL_DATE, 'DD/MM/YYYY' ) in the Implementation tab. This function was not recognised when I executed the interface, so it didn't work! The date value in the XML file is in DD/MM/YYYY format.
I'm guessing that Oracle SQL Date functions don't work in the Implementation tab. Please could somebody let me know:
1. Which Date Conversion function I could use instead?
2. Where I can find a reference for the methods/functions I can use in the Implementation tab (if such a reference exists)?
Cheers.
JamesHi.
Try to change the execution area to staging area. After You change it, write in the mapping box just SRC_TRADERS.DEAL_DATE. When You use TO_DATE, the source field typu should be varchar2, not date (as it is in your source datastore) -
Formula to calculate the last day of the subsequent month
Hi - I am trying to create a formula in CR9 that will take a date field and translate it to the last day of the subsequent month. For example, I have a date of today, 2/3/2009. I need it to print on the report 3/31/2009. I have made some progress to get me the 1st day of the subsequent month, but I need it to be the last day of the subsequent month.
The formula I am have currently is:
DateSerial(Year({Name.JOIN_DATE}), Month({Name.JOIN_DATE}) + 1, 0)+1
this will give me 3/1/2009, but I need 3/31/2009.
Any help appreciated.
Thanks!Hi Joe,
You can use the following logic which also takes into account the extra day in a leap year. You will need 5 formulas for this:
First create a formula that calculates current month, call it @Current Month MM
Month(Name.JOIN_DATE)+1
Next create another formula called @Current Month Start Date which will give you the beginning of the month.
totext(Date (year(currentdate),tonumber({@Current Month MM}) ,1 ))
Next create another formula called @Current Year yyyy
Year(Name.JOIN_DATE)
Next, create a formula called @DaysofMonth with the following logic:
if tonumber({@Current Year yyyy}) mod 4 = 0 then
choose(month(date({@Current Month Start Date})),31,29,31,30,31,30,31,31,30,31,30,31) else
choose(month(date({@Current Month Start Date})),31,28,31,30,31,30,31,31,30,31,30,31)
Lastly create a formula called @Ending Date of Month
totext(Date (year(currentdate),tonumber({@Current Month MM}) ,{@DaysOfMonth} ))
I hope this information proves useful.
Regards,
Zack H.
Edited by: Zack H on Feb 3, 2009 5:34 PM
Edited by: Zack H on Feb 3, 2009 5:38 PM -
Creating new report 1st day of each month
Hello, all!
I have a vi that I run to record pressure on test units. I want to create a new excel report on the 1st day of each month. If it is not the 1st day of the month I want to just add the data for each test unit as a new worksheet. I have looked around and can't find a post for what I need to do exactly. If anyone can help, greatly appreciate.Hey END82,
I agree with RTSLVU's suggestion of using the Seconds to Date/Time vi. From there you can wire the day of the month into a case structure, and have the case for day number 1 to be where you create a new excel report and have the other default case add the data to the report.
I attached a VI Snippet which you can drag onto a block diagram to look at.
Hope this helps!
Joe S
Applications Engineer
National Instruments
Attachments:
date.png 13 KB -
Error when running a report in BPC NW
I am getting the following error when running a report for my application in BPC NW.
EVDRE encountered an error retrieving data from the Web Server (retrying in (X) seconds).
This error comes with this dialog option box to either continue or cancel retrying retrieving data. Retrying doesn't help either.
Any report I run (on any of my appsets), I get this error. I used the EVDRE function and also tried running a report using the template as the basis. But I get the error either way.
Does anyone know why this error is occurs or how to debug this issue. I saw some information about this in earlier threads but could not make much out of it.
Appreciate any assistance.Sanjay,
This is a very generic error...Couple of places to look for....
1)Reprocess the application (Modify application + Reassign SQL Index + Process Application)
2)optimizing the application sometimes helps (Full Optimize + Compress Database + Index defragmentation).
3)Create a "evdataserver_debug.txt" in user's private publication folder on server side to populate very detail level logging and check the log on client side EVDRE_LOG.txt for further peek into where things are getting messed up.
if evdataserver_debug.txt does not get populated on BPC 5.x...it is an issue with IIS authetication on Application server.
4)You have to check the event viewer into .NET server and also the BPC logs which can be found into
BPC\Logging for further details ..
Hope this helps..
Edited by: Vishal Mahawadhi on Jun 24, 2009 9:50 AM -
Hi All,
I m facing an issue with Date format in the prompt. I have used date presentation variables in my column formula as shown below:
FILTER("SKU Order Details"."Fulfilled Quantity" USING Time."Calendar Date" <= DATE '@{todate}{2900-01-01}')
The report returns data when I don't select any date range for start & end date prompts on the page. But when I select the start & end date values in the prompt, I m getting the following error:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value 10/22/2009 12:00:00 AM from 10/22/2009 12:00:00 AM does not match the specified format. (HY000)
I included the following formulas for start & end date prompts:
Start Date prompt: case when 1=2 then License."Ips Creation Date" else cast ('1.1.1900' as date) end
End Date prompt: case when 1=2 then License."Ips Creation Date" else cast ('1.1.2900' as date) end
Can you please help me resolve the issue.
Thanks,
KartikHi Nico,
I tried putting the format that you mentioned, I m getting an error message.
My prompts have the following formula :
Start: case when 1=2 then License."Creation Date" else cast('1.1.1900' as DATE) end
End: case when 1=2 then Time."Calendar Date" else cast('1.1.2900' as DATE) end
My column formula has the following syntax:
FILTER("SKU Order Details"."Fulfilled Quantity" USING Time."Calendar Date" between DATE '@{start}{1900-01-01}' AND DATE '@{end}{2999-01-01}')
Error Message:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value 11/17/2009 from 11/17/2009 does not match the specified format. (HY000)
Can you please let me know if something needs to be changed.
Thanks,
Kartik -
Is there a way to affect the URL used when running a report subscription?
We are using SQL Server 2008 R2. I am finding out that when running a report subscription to extract a file in csv format, an extra blank line is created at the bottom (i.e., extra line feed), and the mysterious BOM characters also get inserted at
the beginning. Both of these "features" are causing problems with a client's import of these files. Of course, it affects multiple clients.
I have done some research and have found information on how to edit the rsconfigserver file to render CSV files using ASCII and to not use Excel formatting. This removes both "features"/problems stated above.
However, editing the server config file will affect all csv extractions on that report server. Is there a way to control the URL of a specific report subscription to include these values (so only the reports that need the fix get it)? For example,
someone gave this URL as an example of how to add parameters including encoding in the URL. http://MyReportServer/ReportServer?%2fReport+Folder%2fReportName&rs:Command=Render&rs:Format=CSV&rc:Encoding=ASCII
Is there a way to have the report subscription run the report using a URL like this so it extracts it without the BOM characters? I was thinking a data driven subscription would allow me to set the values like this, but these parameters are only pertinent
AFTER the report is run and only needed for the final rendering. Not sure how to do this. Maybe it's not possible. If it's not, that's fine. I just need to write a proposal to our DBA's to talk them into making a couple edits to the server config
file.
Has anyone ever worked around this before in SSRS?
Thank you!!
DanaHi DanaSSRS,
According to your description, you want to have some report exported into CSV file with ASCII encoding when running a subscription. Right?
In Reporting Services, when we run the subscription, it will call the Render Extension as we configured in rsreportserver.config file, we can't set the Render format with ASCII Encoding on subscription level. As you said, the Render Extension we configured
in the rsreportserver.config will apply to all reports. In this scenario, you only want that extension apply to specific reports. For your requirement, we suggest you add a custom Render Extension in configure file. You just need to copy the CSV Extension
and add a <OverrideNames/> to override a new name. Then set the <Encoding> in <Configure>. And you can select this custom Extension when creating the subscription. This might be the most effective workaround.
Reference:
Customizing Rendering Extension Parameters in RSReportServer.Config
CSV Device Information Settings
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
How to avoid IE pop-ups when running BIP reports(w/ SSO) from Oracle Forms?
Hi all,
We have an OID/SSO integrated Oracle Forms and BI Publisher environment in place. We/users expect the same behavior when running Oracle Reports or BIP reports from Oracle Forms... which means receiving no intermediate pop-ups and simply getting the report output to appear in the relevant target application(PDF, EXCEL, etc). Currently we get multiple security warnings when running BIP reports from Oracle Forms.
Here's a list of Pop-ups contents:
1. "File Download - Security Warning" Do you want to open or save this file? -> OPEN
2. "File Download" Do you want to save this file? Name = ma01r500.pdf -> YES
3. "Save AS" -> pick desktop and save.
4. "Download Complete" -> OPEN
We have experimented with setting various IE security settings to LOW/enabled and still get these pop-ups.
Any suggestions is much appreciated.
Thanks,
YahyaFYI... Metalink Note 282996.1 has resolved the bigger issue with the extra pop-ups with SSO enabled environment.
Cause:
Internet Explorer (IE) has to cache PDF files in a temporary directory prior to opening the file. Without this IE cannot process PDF files. With SSO protected pages, the header cache settings are set to no-cache which prevents IE from downloading PDF files.
Solution:
In mod_osso.conf use the entry "OssoSendCacheHeaders off" which tells mod_osso to turn off all no-cache related headers, which the enables Internet Explorer to be cache the file in a temporary directory.
Now I am not sure if anybody has any thoughts/suggestions as how we might be able to resolve this issue where Oracle Reports WEB.SHOW_DOCUMENT calls have no pop-ups so ideally BIP reports WEB.SHOW_DOCUMENT calls should behave the same as both are calls from Oracle Forms.
But at least now our SSO enabled environment and un-secure DEV/UAT behave the same with a single pop-up. Ideally the users shouldn't have to come across this intermediate pop-up to open(save/cancel being the other options) the document(just like Oracle Reports calls).
Yahya -
I've posted this to the SCCM 2012 forum and only received one response so far that states that this is a known issue that has been discussed before and isn't easy to fix; I was not given any actual solution either. Since this involves SSRS I
thought I would try my luck here as well.
I'm having almost exactly the same problem as is referenced in this article: http://social.msdn.microsoft.com/Forums/uk/sqlreportingservices/thread/587a3319-bc54-4d30-bb3f-bb90a0c6ec50. When
I try to run either of these reports (Computers with specific software registered in Add Remove Programs; Count of instances of specific software registered with Add or Remove Programs) I receive the XML error shown in the attached screenshot. I'm fairly
sure the problem is the same as the other admin was experiencing and I just need to remove the unprintable characters (of the application name) from the dbo.v_Add_Remove_Program column.
The error references 0xFFFF but I could not find what that exactly translates too, other than it appears to be at the end of the spectrum for Unicode characters. I used the following sql query to search for the 0xFFFF entry, but no results were found:
use CM_UV2
Select distinct
CHARINDEX(cast(0xFFFF as varchar(1)),DisplayName0),
DisplayName0
from
dbo.v_Add_Remove_Programs
Where
CHARINDEX(cast(0xFFFF as varchar(1)),DisplayName0) > 0
When I used the original hex value of 0x28 I get plenty of results returned with "(" in them so the query seems sound. One of the articles I was searching mentioned running the query manually using the Management Studio and looking for strange characters
there but I'm not sure how to do that.
Basically I just need help finding the offending character and removing it. I also need to be able to replicate this for other strings as this looks like an error that will reoccur whenever any new software appears that has weird encoding in the title.
Thank you in advance for any help given.
Über RandomHi Uber,
This is a known issue that error occurs when running report "Count of instances of specific software registered with Add or Remove Programs" due to non-printable characters for XML. Based on internal research, the hotfix for this issue will be
included in the System Center 2012 Configuration Manager Service Pack 1.
As a workaround, you can remove the nonprintable character populated into the report parameter by referring to the following KB article:
http://support.microsoft.com/KB/914159
Hope this helps.
Regards,
Mike Yin
Mike Yin
TechNet Community Support -
Hi All,
I have a table(Revenues) and a view(locations) using which I have created a crosstab report
which has a date as a column in the table and rows contain Region and location and Summary column has the revenues.
Due to some issues I have again created another view which took data from both these (view and table) and I replaced the view in crystal report and build the cross tab.
Now I am unable to change the date time format ( Cross tab column) in the new view as it shows datatype as string.
I need to convert the date i.e this string in form ( yyyy/dd/mm hrs:minutes:sec ) to (mmm - yy)
How can i Acheive this.??
Thank you,
NaniHi
I have solved that Issue By making changes in the view.
But now I am struck with some thing else...
Here Is the Scenario.
Revenues Table has Three Colums ( Date, Revenue, Site _CODE) >>>> It has 650 rows
Locations VW has these columns ( Site_Code, site_DESC, Region,...................) It has 65 Rows.
For a cross tab I need Region and Site_Desc as Rows and Date as a Column And revenue as Summary column ( for month)
I was unable to retrieve all the Site Desc for a region in crystal reports ( Also tried outer joins in LInks tab)
So i have created a new view from both of the above which has ( date,Revenue, site_code,site_desc,Region) and updated it in the Data source location of crystal reports.
I am getting all the data from past 5 years (which has 65 rows in the crosstab)
But when I am trying to filter it to 2010 data It gives only 24rows of data ( I am loosing site desc in the regions.)
I need all the site Desc in table whether they have a revenue or not.
How can I do this.
I have tried applying the select expert but got no luck.
Your assistance will be appreciated.
Thank YOu. -
The last day of the month when the report is run
Hi,
I am working on custom outbound idocs for FICO module through INTERFACE Program the third party sytem needs <b> "The last day of the month when the report is run"</b> so is there any sytem field or standard SAP Sytem Table field which can give me that value.plz let me know ASAP.
Other wise should i develop custom logic.Hi,
Try this way.
Selection-screen
PARAMETERS: p_bldat LIKE bsis-bldat .
INITIALIZATION.
DATA: v_end_date LIKE sy-datum.
CALL FUNCTION 'LAST_DAY_OF_MONTHS'
EXPORTING
day_in = sy-datum
IMPORTING
last_day_of_month = v_end_date
EXCEPTIONS
day_in_no_date = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
p_bldat = v_end_date.
Thanks,
Anitha -
Issues with data usage Samsung S5
Over the past few months I have been paying outrageous bills due to one of my lines eating all my data when there is no one even touching the phone. I have 3 phones and a tablet on my plan and I am paying 288.00 a month and last month they charged me 15.00 for overage usages because it went over on the last day of the billing cycle. Once again that one line ate up all the data even though it's connected to our wifi or just sitting dormant. I am getting sick of paying these outrageous prices and am about to go somewhere else. I was tricked into the 10.00 a month tablet fee when I signed two phones up under the verizon edge plan. the sales clerk did not tell me I could not cancel the 10.00 a month fee because it would be under a year contract nor did I sign anything saying that, but when I went back in to change the 3rd line over to the Edge plan they told me it would be a $300 or so disconnect charge. So of course I am still paying 10.00 a month for no reason because I have wifi in my home and I only use the tablet in my home. so i need help with trying to figure out the data issues with just one of my lines. I do not have bluetooth on or location. I have went to the play store and uninstalled everything I could. I constantly close out of my applications and clear history etc.,,
So you thought they would just give you a free tablet at $10 a month and it didn't need to be in a contract like phones? I took the free tablet too but common sense told me it was locked into a contract, I didn't even ask as I just knew that would be the case but I didn't care. Mary
Maybe you are looking for
-
Free Goods Problem and User Exit if needed in Sales Order
Hello All, The problem is related to Free Goods in Sales Order which is given with an example - We have maintained Free Goods ( T Code - VBN1) in inclusive scenario which is as follows - For 210 PAC (Pack) of Material A 18 PAC Free. Where 1 PAC = 20
-
Line item and Ledger item difference when parking through BAPI
Hi Friends , I have a BAPI for parking the documents in SAP from another system.This BAPI is using the function module PRELIMINARY_POSTING_FB01 to park the documents.But when I park the documents using this BAPI and post the document manually th
-
How to convert html file to master file in sharepoint branding
How to convert HTML file to master file in SharePoint branding Programmatically
-
Jsf passing parameter between jsp's
Hi I have my main.jsp and another screen which i call object.jsp the object.jsp can present an object in multiple ways : add, edit, view i have 3 buttons in my main.jsp add, edit, view. I want to pass a parameter from main.jsp to object.jsp such that
-
Crystal Reports with BEx Query using Custom Exit Variable
Hi, We have BW BEx Query using Customer User Exit variable to derive the Fiscal Week for Last Year (called it VAR2) based on another user input variable Current Fiscal Week (called it VAR1). VAR2 is derived from VAR1 in CMOD via some codings and thu