how to calculate the difference between two date type of
variables ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / amit
You can use the function
module 'DAYS_BETWEEN_TWO_DATES' and pass the start date in
i_datum_bis and end date in i_datum_von then you get the
accurate result!!!!!!!!!!!!!!!!!!!!!!!!!
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / sandeep
You can use the function
module 'FIMA_DAYS_AND_MONTHS_AND_YEARS' and pass the dates
to & from to get the job done....
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / vijay
data: x type i value '10',
y type i value '6',
z type i .
z= x - y.
write:/ z.
Is This Answer Correct ? | 5 Yes | 10 No |
Can we create Enhancements of our own, i.e. customer defined?
Reuse-ALV-list display?
After transferring of data from flat file to application server i found that it is showing wrong data .Say i had currency in flat file as 1000.00 USD. After transferring i found it is showing as 100.000 in the application server. How will you handle this case?
How do you find the tables to report from when the user just tell you the transaction he uses? And all the underlying data is from SAP structures?
which processor controls the flow logic of an online program?
can we create views in bdc
component of message and type of message?
What is the use of the raising exception?
Can you call a bdc from a report program ?
Explain what is runtime analysis?
How to creat transactions? : abap data dictionary
What is the difference between OpenSQL and Native Sql?