Function modules for converting Char value to hexadecimal value
Hi All,
Function modules for converting Char value to hexadecimal value.
Thanks in advance
Hi,
use this function module:
<b>RSS_UNIQUE_CONVERT_TO_HEX</b>
regards
Debjani
Rewards point for helpful answer
Similar Messages
-
Function module for converting the foreign currency to words
hi,
can anybody tell me about the function module for converting the foreign currency to words format.
Like 25.50 USD
should be "Twenty Five Dollar & Fifty Sents."
foreign currency can be anyone like USD, JPY, EUR etc.
Regards
Nitin VarshneyHi,
Try using the FM SPELL_AMOUNT
Check this wiki
[SPELL_AMOUNT|https://wiki.sdn.sap.com/wiki/display/Snippets/SpelltheAmountenteredin+words]
Regards
Sarves -
Problem with Time stamp function module for converting US to Japan
Hi All,
I need standard function module for converting US Timestamp to Japan, Can any one let me know is there any standard function modules.
thanks in advance!
Regards,
Kalidas.T
Edited by: Kalidas Thirumoorthy on May 5, 2009 5:29 PM
Edited by: Kalidas Thirumoorthy on May 5, 2009 5:30 PM
Edited by: Kalidas Thirumoorthy on May 5, 2009 5:30 PMTry this way:
CONVERT TIME STAMP <tst> TIME ZONE <tz> INTO DATE <d> TIME <t>.
CONVERT DATE <d> TIME <t> INTO TIME STAMP <tst> TIME ZONE <tz>.
<tst> is of type P(8) or P(11) with 7 decimal places
<tz> of type C(6)
Refer to help.sap.com for more details. -
Function module for converting number to exponential???
Hi All
please tell me Function module for converting number to exponential.
Deepaktry:
REPORT Zconvertf.
parameters p1 type p decimals 2 default '4711.99'.
data f1 type f.
move p1 to f1.
write: / p1, f1.
hope that helps
Andreas -
Function module for converting weight unit to another unit.
What is the function module for converting weight unit to another unit.
I want to convert LB to KG.
Tried with fm UNIT_CONVERSION_SIMPLE.
INPUT 100
NO_TYPE_CHECK
ROUND_SIGN X
UNIT_IN LB
UNIT_OUT KG
But there is no output.
Can some one help.The trick here is we need decalre input output with non-character data type like VBPLK-BRGEW.
We can test using normal SE37.
I tested and this program worked fine:
data: UNIT_IN LIKE T006-MSEHI,
UNIT_OUT LIKE T006-MSEHI,
output LIKE VBPLK-BRGEW,
input LIKE VBPLK-BRGEW.
input = 10.
CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
EXPORTING
INPUT = INPUT
UNIT_IN = 'LB' "UNIT_IN
UNIT_OUT = 'KG' "UNIT_OUT
IMPORTING
OUTPUT = OUTPUT.
write: output. -
Function module for converting sap script to smartforms?
hi ,
wat is the name of function module for converting sap script to smartforms?
regard's
Deepak sharmaHi,
No function module is there..
But go to T-code..Smartforms and in the menubar..
Utilities-->Migration->Import SApScript Form.
U can thus migrate SAPScipt to smartforms...
How ever a lot of changes have to be done in the migrated one,,
Regards -
Need Function Module for convertion of Foreign currency to Indian currency
hi friends,
i need function module for converting amount from
Foreign currency to Indian currency
thankshi Venkat,
Please use the function module CONVERT_TO_LOCAL_CURRENCY
<b><u>Sample code:</u></b>
call function 'CONVERT_TO_LOCAL_CURRENCY'
exporting
date = p_alv_tab-begda
foreign_amount = p_alv_tab-kkost_p_person
foreign_currency = p_alv_tab-kwaer " foreign currency
local_currency = l_ev_waer " Indian currency
importing
local_amount = p_alv_tab-kkost_p_person
exceptions
no_rate_found = 1
overflow = 2
no_factors_found = 3
no_spread_found = 4
others = 5.
Hope this helps,
Sajan Joseph. -
Function module for convert date as sap internal format ?
Hi All,
Is there any standard function module to convert the date filed as SAP internal date?
My problem is while uploading data from excel sheet date filed can be any format
for exp: dd/mm/yyyy or mm/dd/yyyy or yyyy/dd/mm or dd-mm-yyyy,mm-dd-yyyy
dd-mm-yyyy or dd.mm.yyyy or mm.dd.yyyy etc...
In our case there is no particular format in excel it can be differ for each user. I know we have few FM's in standard.
But those are not working for my req. pls help me if you have any idea.
Thanks in advance.
Regards,
Venkat Mote.Hi Venkatesh,
Can you please check with the following function module. For my case, it is working fine.
CALL FUNCTION 'CONVERT_DATE_TO_INTERN_FORMAT'
EXPORTING
datum = p_gs_date
dtype = 'DATS'
IMPORTING
idate = p_gs_date
Hope it helps to you.
Regards
Rajkumar Narasimman -
Is there any function module for converting text to hyperlink?
Hello all,
I am designing an application in BSP wherein the user can enter hypertext values for some
of the data enteries in the database table. Is there any function module available for converting
text into hypertext. Eg. if the user enters 'www.mypersonalwp.com' then it should convert this
text value into a hyperlink.
Thanks in advance.
Gurmahima.Hi,
Refer the given below link
http://help.sap.com/saphelp_erp2004/helpdata/EN/85/ce25c2d7ae11d3b56d006094192fe3/content.htm
Hope it helps you
Thanks
Arun Kayal -
Function Module for converting timestamp
Hi all
I have a scenario where in the timestamp is getting stored in a z table in the UTC format (i.e. 20,100,125,080,528).
Now when i have to display this value to the user, it should be like "25.01.2010 08:05:28". Is there any standard function module to accomplish this? or is it like i have to do it in my code using the offset?
please guide me.
Thanks in advance.
Regards
GauravHello
Use this:
DATA:
tstamp TYPE timestamp,
d TYPE D VALUE '19971224',
t TYPE T VALUE '235500'.
CONVERT TIME STAMP tstamp TIME ZONE 'UTC+12' INTO DATE d TIME t.
Just press F1 on TIME STAMP. -
Function module for converting German Data/Time to Indian Date/Time
Dear All,
My requirement is to convert German date and time to Indian date and time. Is there any function module available or any way we can get it?
Thanks and regards,
Atanuhi,
first get the timezone of that country
CALL FUNCTION 'TZON_LOCATION_TIMEZONE'
EXPORTING
if_country = p_it_userid-zcountry
IMPORTING
ef_timezone = l_tzone
EXCEPTIONS
no_timezone_found = 1
OTHERS = 2.
then use the below statements
-- Convert from server time to GMT
CLEAR l_tstmp.
CONVERT DATE l_datum
TIME l_ctime
INTO TIME STAMP l_tstmp TIME ZONE sy-zonlo.
*-- Convert from GMT to user backup time
CONVERT TIME STAMP l_tstmp TIME ZONE it_usr_timezone-ztzone
INTO DATE it_usr_timezone-zdate
TIME it_usr_timezone-ztime. -
Function module for finding sales order GT total value(vbak-netwr)
Can anyone tell which function module is used to find the Sales order greater than the input parameter which is total value(vbak-netwr).Output should be the details of sales order satisfying the condition.ie greater than the total value.
Hi chandra
I hope you are giving the logic to the ABAP'ers . By giving the input and the outputs. So here , VBAK-NETWR are related to functional consultants .
Based on the requirement , SD,FI etc the give the logic but mostly it is related to SD consultants only
Reagrds
Srinath -
Function module for convertion
hi,
can any body send me function modules to extract location id(32 ) and location no . my input to this function modules must be location id(22).
1)
input location id (22)
output
loaction id (32)
2)
input location id (22)
output
location no.
points will be awarded.
regards,
pradeep A.Pradeep - if you know the location and want to retrieve the locid or you know the locid and want to retrieve the location then go to table /sapapo/loc. This table will contain the guid in 22 length - in order to retrieve the 32 length guid call FM GUID_CONVERT or /SAPAPO/CIF_GUID_CONVERT. You can convert from 22 to 32 or 32 to 22 using these FM's.
Regards
Andy -
Function module for USD amount to TWD
Hi,
Any one send me function module for converting USD currency to TWD.
Thanks,
donaldHI,
DATA: gd_fcurr TYPE tcurr-fcurr,
gd_tcurr TYPE tcurr-tcurr,
gd_date TYPE sy-datum,
gd_value TYPE i.
gd_fcurr = 'USD'.
gd_tcurr = 'TWD'.
gd_date = sy-datum.
gd_value = 10.
PERFORM currency_conversion USING gd_fcurr
gd_tcurr
gd_date
CHANGING gd_value.
* Convert value to Currency value
*& Form currency_conversion
* text
* -->P_GD_FCURR text
* -->P_GD_TCURR text
* -->P_GD_DATE text
* <--P_GD_VALUE text
FORM currency_conversion USING p_fcurr
p_tcurr
p_date
CHANGING p_value.
DATA: t_er TYPE tcurr-ukurs,
t_ff TYPE tcurr-ffact,
t_lf TYPE tcurr-tfact,
t_vfd TYPE datum,
ld_erate(12) TYPE c.
CALL FUNCTION 'READ_EXCHANGE_RATE'
EXPORTING
* CLIENT = SY-MANDT
date = p_date
foreign_currency = p_fcurr
local_currency = p_tcurr
TYPE_OF_RATE = 'M'
* EXACT_DATE = ' '
IMPORTING
exchange_rate = t_er
foreign_factor = t_ff
local_factor = t_lf
valid_from_date = t_vfd
* DERIVED_RATE_TYPE =
* FIXED_RATE =
* OLDEST_RATE_FROM =
EXCEPTIONS
no_rate_found = 1
no_factors_found = 2
no_spread_found = 3
derived_2_times = 4
overflow = 5
zero_rate = 6
OTHERS = 7
IF sy-subrc EQ 0.
ld_erate = t_er / ( t_ff / t_lf ).
p_value = p_value * ld_erate.
ENDIF.
ENDFORM. " currency_conversion
You can use
<b>CONVERT_TO_FOREIGN_CURRENCY</b> Convert local currency to foreign
<b>CONVERT_TO_LOCAL_CURRENCY</b> Convert from foreign currency to local currency currency. -
Function Module to convert Current Date & Time to Julain Date.
Hi Guys,
Is there any Function Module for converting Current system Date to Julian Date.
I only want a Function Module not any report program.
Thanks......
Sudheer.hiii
i tried to find a FM for that but could not find any..ya after reading this thread i read about how julian date can be make..from this link only i read about Julian date
and for this time is also needed but i think there is not any FM for this.still i am searching.let me know if you get any.
Maybe you are looking for
-
Computer accounts in Workgroup Manager
Is it just me or is there no way to browse the network for computers and add them as computer accounts in 10.5 server's Workgroup Manager? I can tell you I am not going to manually enter over 500 computers one at a time. Apple needs to stop taking st
-
Hi! I have problem with big cluster. Big meas that it has 1000 or maybe even more elements, such as numeric, string, boolean, ..., that are in subclusters. Memory that it allocate is less than 5MB. Problems starts when I try to do anythih with it (mo
-
While export I getting error. How to resolve it ?
Oracle version : 9.2.0.1 OS : SUN Solaris 2.8 . exporting post-schema procedural objects and actions EXP-00008: ORACLE error 1403 encountered ORA-01403: no data found ORA-06512: at "SYS.DBMS_AQ_EXP_QUEUES", line 53 ORA-06512: at line 1 EXP-00085: The
-
Problem with viewing the project
When I run the project the page can not be display with internet explorer v7 and the project was run in the same version what can I do because I'm beginner in jdeveloper
-
Help I have two and three of the same song. can i delete using iTunes???