To extend SAP user date and to add months to the current date
Hi All,
I need to extent the user date in SAP based on one condition.
If the condition is true extend the date by 12 monthd if false 6 months from the current date.
Can i have the FM for user date extentions and FM for getting the date.
Thanks,
Chandu.
Hi ,
You can use this FM for exteding the date.
CALL FUNCTION 'BAPI_USER_CHANGE'
EXPORTING
username = us_username
logondata = e_bapilogond
logondatax = e_bapilogondx
TABLES
return = i_return.
u need to pass date and correspoing flag also.
For extension of the date by months u can use this FM.
CALL FUNCTION 'MONTH_PLUS_DETERMINE'
EXPORTING
months = 6 or 12 ( depending up on ur logic)
olddate = sy-datum
IMPORTING
newdate = us_expdate.
Thanks and regards.
Sham
Similar Messages
-
In Firefox 4 how can I cause the date on downloaded files to be the current date? (Some are and some are not. In FF3 the dates were ALWAYS the current ones.)
== This happened ==
Every time Firefox opened
== I upgraded to Firefox 4 (beta)Firefox 3.6.* and earlier set the downloaded file's modification time to the current time. In Firefox 4.0 the behavior has been changed, if a server returns a timestamp telling when the file was last modified (Last-Modified header), it is used instead.
You can revert to the previous behaviour by using the [https://addons.mozilla.org/en-US/firefox/addon/93121/ Download Timestamp] add-on. -
I want to add 2 months to the current date
actally i want to add 2 montsh fro teh current date.but i have to consider the month of february for the calculation and even the leap year.
so can u guys help me out .
waiting for the reply
thanks in advance.Hi Rajeev ,
Welcome to SDN.
Check this and execute the code.
This will cover the leap year also.
data: date like sy-datum,
date1 like sy-datum.
date = sy-datum.
CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
EXPORTING
date = date
days = 00
months = 02 "no of months
SIGNUM = '+' "months added
years = 00
IMPORTING
CALC_DATE = date1. " new date
write:/ 'new date', date1.
regards.
vijay -
My data is nearly used up and I will b eon the road when it is completely used up. I would like to add more now so that I do not have to pull off the road to login and add more data to my plan. The website is very poorly designed and of it is possible to do this I can't find where it is. Please do not tell me to call the CS line like you have everyone else who has asked similar questions. If so please state that this is the only way to add more data to a plan/account as I don't have the availability to sit on hold for 40 minutes... Thanks
TSchlottman, we want that process to be as easy as possible for you. Happy to provide direction on how to change your plan. To change your minutes, text or data: Go to the Change Minutes, Text or Data page in My Verizon. If you have multiple lines on your account with separate plans, select the plan you’d you like to make a change to, and click Next. Select the data plan you’d like to have and click Next at the bottom of the page. Select the date when you want your changes to take effect and click Next. Review your changes and click Submit Changes.
BrianP_VZW
Follow Us on Twitter @VZWSupport -
I use SpeedPort W700V from German Telekom as router for my WiFi and DSL access. DSL connection to Internet is proper running, WiFi with iPAS does only work if I switch of the Encryption mode of SpeedPort (Standard parameter in SpeedPort is WPA2 with shared key PSK). Who can give a hint how to switch on the encryption / deencryption mode of iPAD 2. 3G Sim Card is currently not installed.
Thanks for the quick response. No, I did not get any error messages or any terms-of-usage screen. The employee I told my problem to was not computer savvy either. She just suggested I move to different spots w/in the library to see if that would make a difference. It didn't. When I connected to the library WiFi it did change the Verizon 3G that is usually in the upper left corner to iPad with two to three emanating arcs. I may have to go to the library in the next town. I was able to connect to theirs in the past when I had to download something greater than 20 MB. Unless I really want it, I will probably not even try to download something more than 20 MB due to the hassle. Yeah, I may have been better off getting a normal desktop or laptop and getting WiFi at home. To do that now would mean having my iPad 2 and a desktop computer, which I feel is extravagant. (I know there are a lot of big spenders out there who got the iPad as additional gadget for fun. This is a rich country.) A Verizon rep told me I couldn't set up a WiFi router at home just using an iPad. So it seems like a person who just uses 3G is limited to surfing the net (not even much YouTube because it eats a lot of data) and using email. I read about an app that helps print wirelessly using 3G, but a reviewer said you had to be an engineer to get it done right. BTW, I like the Steelers. I'm old enough to remember Franco Harris and that blond guy whose name escapes me back in the '70s. Since I live in North Jersey I feel I have to support the Giants. But I know football about as well as computers.
-
I need date that is three months prior to current date or sy-datum
Hi All,
Please help me in this issue.
In the selection screen the lower limit of the select option should be last three months and on high it should be the sy-datum for ex
30.06.2007 30.09.2007
thanks in advance
thanks & regards
KreddyHi,
you got the date
now subtract 3 from the month
and use this fm this will give the last day of the particular month
for eg
current month required
3 12 and -1 for year
4 1
5 2
like this
for
2 11 -1 for year
1 10 and -1 for year
then use it
CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
EXPORTING
DAY_IN = R_FDATE-HIGH
IMPORTING
LAST_DAY_OF_MONTH = G_LTDT
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.
regards,
Venkatesh -
How to add 15 days to the current date
Hi everyone,
I have the following doubt.
I stored the current system date in to a variable.Now I want to store the date which is 15 days after the current date in to a new variable.
ie current date:1-aug-09
later date:1-aug-09 + 15 days ie 16-aug-09.
Plz help me in solving this problem.
Thanks & Regards,
srinivasjaligamasrinivas wrote:
I used String variable to store the current Date.
Now in new string variable i want to store the date after 15 days from current dateSee reply #2. String is not the right type, to be doing date arithmetic, just like it wouldn't be the right type to do numeric arithmetic. You wouldn't store integer values as strings and ask how to add them up, would you? -
How to get the current date and compare dates
hi
does anyone know how you would get the current date?
furthermore, how to compare the current date with a past date to see how many days or months have past since then?
thankshave a look at the Date class. new Date() creates an object containing the exact date and time at creation time. (Date).getTime() might be useful for comparing two dates. GregorianCalendar might be useful, too.
-
How can I return the current Date in Java?
I am new to Java, and basically I want to know how I can return the current date as a variable, so for example, I have declared the following date variable
private java.util.Date currentDate;How can I return the current date, do I have to write a method? To be more specific, I need to write a setMethod, that simply returns the current Date in Java.
Please point me in the right direction.
Thanks,If all you want is a date for printing or displaying, the easiest way is to use Date as shown below. If you need something more complex, look at the Calendar API.
import java.util.Date;
class DateEx
public static void main(String args[])
Date now = new Date();
System.out.println(now);
} -
Get SAP user Id and External E-mail Id From Position in SRM
Hello All,
I am fetching Position from Ztable, And i want to get SAP User Id and External E-mail Id from this Position. Is there any Function Module or any table through which can i get it? Please suggest me ASAP.Hi,
I think FM BAPI_USER_GET_DETAIL will do. Structure ADRESS contains everything.
If you like to display at screen - use BAPI_USER_DISPLAY.
Kind regards,
HP -
10.9.1 used terminal with rm-rf and deleted my user data. Can I get back the deleted data? Help. I really just need mail file and desktop files recovered.
If data were on the SSD drive with TRIM - practically no chance. If HDD - use DIY recovery software such as DiskDrill or DataResue.
As quickly as possible turn off the drive where deleted data.
Use an external HDD with installed OSX for data recovery.
Alex
Apple Certified Support Professional -
SAP User Id and Passward table
Hello Friends,
Please Tell me in which table Sap User Id and Passward is saved.
Regards,
vandana.Thank u abhii. Given full points.
But one more question i have Developed Y System and in that system there is logon Screen which asked for user id and passward .
Now i want to save this passward in the in encrypted form. How can i do this .
Please Help me .
Regards,
vandana. -
Upload Demand Data adds up to the old data for SAP SPP
While uploading demand data using csv files, it adds the demand values again if uploaded for same part- same time- location again.
Do we an option in the data upload process, where in we can configure it so that it overwrites the old data and add the new data.Hi Bhargav ,
When you are repetitively load the same data, there exists the requests in request tab page of Manage Data Targets which are active and again you are loading the same data with different request ,hence it gets added ,
If you don't want then you need to delete this old request and then load the data or in InfoPackage in Update Tab page you can select the delta update or full update option .
Regards ,
Digambar -
I have an iMac desktop and I can't get the word "Date" to open in my iCal. It is not highlighted. How do I get this to open?
An event can only have one date. There is already a date field. Why do you want another date field, perhaps we can find another way?
-
I have adobe 9 pro. I am currently adding fields to a document and would like my date field to display the current date when the document is opened so that the user does not have to enter the date each time. How do I do that?
Have you searched for this issue. It has been answered many times.
Example Acrobat JavaScripts
Scroll down to the . Insert Today's Date into Form Field section.
Maybe you are looking for
-
I'm getting an iPod tomorrow. I am totally geeked! I anticipate zero problems plugging it in and syncing my library. However, my little brother just bought a devil box with Vista and he's having a helluva time with his music. I was over there last we
-
Mac OS X 10.9.4 でクラッシュしてしまい.失ったPhotoshop CCはインストールできましたが.Photoshop CC購入時にLightroom等インストールできるようになっていましたがこれらのソフトのインストール方法を教えてください.
-
Want in implement Java oracle Forms.
Hi, I want to learn how to implement java in oracle form, and that to I want it using oracle forms builder and not using Jbuilder. E.g. implementing Java Beans in oracle forms. As I am a begineer in this field, please guilde me from where I should st
-
Hi! I am new to iWeb. I have had no problems with creating hyperlinks, but after they have been used they turn to a pale color which is hard to read wth my background. Is there a way that I can specify the color that the links will change to after th
-
Unable to perform second level release of pr.kindly help
dear friends, my client is facing problem related to pr release.he is unable to do second level release of one particular pr.other pr he is able to release. actually,the pr is having 3 level release,the first level release has been ok,but user in the