05-21-2008 4:40 PM
How can i upload a logo in SAP Script.?
Is there any function module to convert the amount in words with paise.? (i.e) for example 10.50 as "Rupees ten and fifty paise only".
05-21-2008 4:52 PM
Hi vennila,
Logo can be uploaded through the transaction SE78(SAp graphics management.
SPELL_AMOUNT is the function module to convert the amount in words.
Regards,
Sharath
05-21-2008 4:46 PM
hi vennila,
u can upload logo from legacy to sap using SE78.
after tht now u can load this logo into ur script by creating a graphic window and insert ur logo.
u can convert amount into words using function module
'SPELL_AMOUNT'.
<removed by moderator>
Edited by: Mike Pokraka on Aug 4, 2008 9:13 AM
05-21-2008 5:19 PM
05-21-2008 4:52 PM
Hi vennila,
Logo can be uploaded through the transaction SE78(SAp graphics management.
SPELL_AMOUNT is the function module to convert the amount in words.
Regards,
Sharath
05-21-2008 4:57 PM
Your logo should be in TIF format and load it using the SE78 transaction.
Display the logo by including it in the SAP script using the include statement.
use SPELL_AMOUNT function to spell the amount.
hope it helps.
FY
<removed by moderator>
Edited by: Mike Pokraka on Aug 4, 2008 9:13 AM
05-21-2008 4:59 PM
GOTO SE78, upload your logo in SE78..
Come back to your SApscript, goto the window you want to place the logo, menu, insert --> graphics and give the name of the logo that you have uploaded.
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
check the sample code
DATA : AMT_IN_WORDS(200).
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
AMT_IN_NUM = '99999999999'
IMPORTING
AMT_IN_WORDS = AMT_IN_WORDS
EXCEPTIONS
DATA_TYPE_MISMATCH = 1
OTHERS = 2.
WRITE : AMT_IN_WORDS
Regards
Kiran Sure
05-21-2008 5:03 PM
hi check this for uploading the script..
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/uploading%2blogo%2bin%2bscript
regards,
venkat
05-21-2008 5:20 PM