2006 Jan 16 1:05 PM
Hi !
I wanted to ask few Abap questions :
1. How do i show a calendar on select options date field ?
2. what is the name of the function for changes currencies of field ? for example i need to change from type Usd to Euro ?
3. What is the function for abstract , adding dates fields ? ( not to take in account a Saturday and not working days ).
thanks
moshe
Hi !
I wanted to ask few Abap questions :
1. How do i show a calendar on select options date field ?
2. what is the name of the function for changes currencies of field ? for example i need to change from type Usd to Euro ?
3. What is the function for abstract , adding dates fields ? ( not to take in account a Saturday and not working days ).
thanks
moshe
2006 Jan 16 1:08 PM
HI MOshe,
Declare the date parameters like below
parameters: p_date like RM07I-ZLDAT.
sorry!!! that should be select-options
TABLES: RM071
SELECT-OPTIONs: p_date FOR RM07I-ZLDAT.
Message was edited by: Ravi Kanth Talagana
2006 Jan 16 1:10 PM
2006 Jan 16 1:17 PM
2006 Jan 16 1:11 PM
1. at selection-screen on value request for <parameter name>
call function F4_DATE_CONTROL
Regards
Raja
2006 Jan 16 1:16 PM
Hi,
1)to get calender use the following code
select-options s_date for sy-datum.
2) Use Function Currency_convert or
CURRENCY_CONVERT_TO_EURO
Regards
Amole
2006 Jan 16 1:26 PM
Hi Moshe,
For Calender if you any field to which the domain DATUM is assigned it shows calender.
for eg,
select-options date for P0000_AF-hiredate.
You can try the function module to add the days WDKAL_DATE_ADD_FKDAYS.
One of the function modules to convert currency is HR_ECM_CONVERT_CURRENCY
Thanks
Lakshman
2006 Jan 16 1:34 PM
Hi Moshe,
for your 3rd question, the work days depend on the factory calendar..
Use RM_GO_BACK_N_DAYS to subtarct days & WDKAL_DATE_ADD_FKDAYS to add days.
Regards,
Suresh Datti
2006 Jan 16 7:16 PM
Hi Lakshman !
First thanks for the answer HR_ECM_CONVERT_CURRENCY
is good, however i need a function like HR_ECM_CONVERT_CURRENC, but with mor acurate result.
( rezlution of XXX.XX )
thanks
moshe
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |