Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to calculate the difference between two date type of
variables ?

Answer Posted / kapil

data : date1 type sy-datum ,
date2 type sy-datum ,
days type i .

date1 = sy-datum.
date2 = sy-datum - 7.
days = date1 - date2.

write : days. "Answer should be 7

Is This Answer Correct ?    16 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different database integrities?

986


Define database layer? : abap data dictionary

1025


What is the length of function code at user-command?

1247


In selection screen I have three fields, plant mat no and material group. If I input plant how do I get the mat no and material group based on plant dynamically?

1082


Module Pool Programming: Events and Table Control handling.

1316


What are ranges?

981


SAP query how to use end users?

2140


What are the basic object types? : sap abap hr

1084


How does the system handle roll areas for external program components?

1079


Double click function on the lists, identifying the line selected by the user on the list?

980


What are the kinds of foreign key fields?

1019


What are client dependant objects in abap/sap?

1108


Can we access static attribute from instance method

1430


how can we enable hyperlink in screen painter?

3861


How can we omit a leading sign and a leading zero in sapscript?

979