Any function module to translate the text
Hi all,
I have a requirement like, in the report i have to display the headings according to languages chosen
dynamically.
let me know is there is any process or Function module to translate the texts.
Regards,
Madhavi
Hi,
you can use SE63 for translating
or use
FM 'TRANSLATE_TEXT_TEXTLOG'.
And also 'SKTZ_TRANSLATE_TEXT_TEXTLOG'
Regards,
Flavya
Similar Messages
-
Function Module to translate the language
Hi
Can I get a Function Module to translate the language,
Suppose if I enter EMployee Name in English I should be getting in German or Taiwan or Japaneses langu.
Any inputs
Regards
Rohini.Hi,
There is no such BAPI which could translate the input. Instead check the standard BAPI for your scenario , if it accepts language as input means then pass relevant language code and get the output.
This is possible only if the table contains data in different languages
More clearly you need to access the text table using standard BAPI.
Because text tabls contains both language key and datas in corresponding languages.
Thanks,
Ramanan.P -
Function Module for Translation of text from Lower to Upper Case
Hi All,
Can any one give me function module for translation of text from lower to upper case.
If we use Translate statement for the program in the Extended Syntax check it is giving error.
Thanks in advance.
Regards,
srinivasHi Srinivas,
You can use any of the Function Modules below.
AIPC_CONVERT_TO_UPPERCASE
2054_TRANSLATE_2_UPPERCASE
HR_99S_CONV_UPPER_CASE
Please reward if useful.
regards,
Raj -
Is there any function module to get the variables used in a query?
Hi experts
Please, do you know if is there any function module to get the variables used in a query?
Thanks and regards
LuisHi Srini
Yes, I have checked the tables but I need a function module
Thanks anyway!
Luis -
Is there any function module to convert the date format
Dear ABAPers,
Is there any function module to convert the date format from dd.mm.yyyy to dd-mmm-yyyy.
I want to convert the date format from dd.mm.yyy to dd.mmm.yyy Eg.from 10.03.2008 to 10-mar-2009.
Thanks & Regards,
Ashok.hi,
create custom function module or copy the below code in the report ..and use it
the out put for below is :----Convert a DATE field into a full format date eg. March 23, 2000
FUNCTION Z_CONVERT_DATE_INTO_FULL_DATE.
""Local interface:
*" IMPORTING
*" VALUE(DATE) LIKE SY-DATUM
*" EXPORTING
*" VALUE(FORMATTED_DATE)
*" EXCEPTIONS
*" INVALID_DATE
TABLES: TTDTG.
DATA: BEGIN OF T_DATE,
YYYY(4) TYPE C,
MM(2) TYPE C,
DD(2) TYPE C,
END OF T_DATE.
DATA: DAY(3) TYPE N.
DATA: VARNAME LIKE TTDTG-VARNAME.
IF DATE IS INITIAL.
CLEAR FORMATTED_DATE.
EXIT.
ENDIF.
check document date format
CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
EXPORTING
DATE = DATE
EXCEPTIONS
PLAUSIBILITY_CHECK_FAILED = 1.
IF SY-SUBRC NE 0.
RAISE INVALID_DATE.
ENDIF.
MOVE DATE TO T_DATE.
CONCATENATE '%%SAPSCRIPT_MMM_' T_DATE-MM INTO VARNAME.
SELECT SINGLE * FROM TTDTG WHERE SPRAS = 'EN' AND VARNAME = VARNAME.
WRITE T_DATE-DD TO DAY.
CONCATENATE DAY ',' INTO DAY.
CONCATENATE TTDTG-VARVALUE DAY T_DATE-YYYY INTO FORMATTED_DATE
SEPARATED BY SPACE.
ENDFUNCTION.
the output is :--Convert a DATE field into a full format date eg. March 23, 2000
Regards,
Prabhudas -
Any function module to change the mode in Planning board
Hi guys,
Is there any function module to change the mode in Planning board?
I would like to call a custom screen to to chagne the mode since the strandard function cannot show enough info.
Thanks.Thanks Bhanu for ur quick reply.
Is that enough to change the technical name in the table RSZCOMPDIR.
Let me give some more information, idea is to change the technical name of all the queries present in a system based on a new naming conventions.
Eg.
Change all the technical name of queries ZQSAP to ZQXYZ.
If there is function module which allows to change the technical name of the queries that not only updates the table RSZCOMPDIR but also all the interlinked tables. -
Any Function module to find the vendor description
Any Function module to find the vendor description.
Regards
PaulHi,
Do you mean that you need the name and address details of the Vendor. you can get it in table LFA1.
regards,
Mahesh -
Is there any function module to Change the System Status
Dear ABAPers,
I am working in the Customer Service Module.I want to change the System status.
Is there any function module to change the System Status.
Thanks & Regards,
Ashok.Hi Ashok
Service Order status update function module ?
How to set the system status
Check above threads,
Regards,
Syf -
Any function module for calling a text editor in subscreen?
Hi,
I would like to know if there is any function module that can be used to call a text/note editor and can be displayed in a subscreen of a main screen (dialog programming)? This text/note editor should not be able to edit, but for display only.
Please help. Thanks...>
Pablo Casamayor wrote:
> Hi,
>
> maybe this can help:
>
> check program SAPTEXTEDIT_TEST_1
> in this program pay attention to:
>
>
> MODULE pai INPUT.
>
> CASE ok_code.
> ....
> WHEN 'FIND'.
> PERFORM find_text.
> ....
> WHEN 'HIGHLIGHT'.
> highlight = 1.
> PERFORM highlight_lines USING highlight.
>
>
>
> *&---------------------------------------------------------------------*
> *& Form FIND_TEXT
> *&---------------------------------------------------------------------*
> FORM find_text.
> found = 0.
> IF case_sensitive = 'X'. " button on Dynpro
> case_sensitive_mode = editor->true.
> ELSE.
> case_sensitive_mode = editor->false.
> ENDIF.
> IF whole_word = 'X'. " button on Dynpro
> whole_word_mode = editor->true.
> ELSE.
> whole_word_mode = editor->false.
> ENDIF.
>
> CALL METHOD editor->find_and_select_text
> EXPORTING search_string = search_string
> case_sensitive_mode = case_sensitive_mode
> whole_word_mode = whole_word_mode
> CHANGING string_found = found.
> * Flush for proper work of the following if statement
> CALL METHOD cl_gui_cfw=>flush.
> IF NOT search_string IS INITIAL.
> IF found NE 0.
> MESSAGE s000 WITH text-013.
> ELSE.
> MESSAGE s000 WITH text-014.
> ENDIF.
> ENDIF.
> ENDFORM. " FIND_TEXT
>
> *&---------------------------------------------------------------------*
> *& Form HIGHLIGHT_LINES
> *&---------------------------------------------------------------------*
> * -->P_HIGHLIGHT text *
> *----------------------------------------------------------------------*
> FORM highlight_lines USING p_highlight.
> IF selection EQ 'X'.
> CALL METHOD editor->highlight_selection
> EXPORTING highlight_mode = p_highlight
> EXCEPTIONS has_no_effect = 1.
> IF sy-subrc NE 0.
> * add your handling
> ENDIF.
> ELSE.
> CALL METHOD editor->highlight_lines
> EXPORTING
> from_line = from_line
> to_line = to_line
> highlight_mode = p_highlight
> EXCEPTIONS has_no_effect = 1.
> IF sy-subrc NE 0.
> * add your handling
> ENDIF.
> ENDIF.
>
> ENDFORM. " HIGHLIGHT_LINES
>
> and this link:
> http://help.sap.com/saphelp_45b/helpdata/EN/0e/514035634d761fe10000009b38f889/frameset.htm
>
> Best regards.
>
> Edited by: Pablo Casamayor on Apr 17, 2009 9:19 AM
Hi Pablo,
I have look through the program SAPTEXTEDIT_TEST_1. This program does the Text Selection and Highlighting the Text only after the buttons of each of the function is clicked.
My requirements will be, having all the selected text (with a string pattern) to be highlighted when this text editor is displayed. Is this possible?
Really thanks for your replies...
Regards,
Chuak Fen -
Function module for getting the text.
Hi ,
Is there any funcion module to get the message text if i pass the message no and message class as the exporting parameter.
Useful answers will be rewarded.
Regards,
neslin.hi...
use this one
BAPI_MESSAGE_GETDETAIL
ok and following are for display
LMON_MESSAGE_DISPLAY
LTIF_MESSAGE_DISPLAY
reward..points -
Is there any function module to get the purchase order conditions from EONP
Hi,
I want to get the EONP and EONH table details for the purchase orders with the help of function module. Can anyone tell me any function module name which would give me those details.
Thanks,
AtanuHi
Check with BAPI function module BAPI_PO_GETDETAIL and BAPI_PO_GETDETAIL1.
Regards
Srilaxmi -
Is their any function module to see the details of employee ?
Hello ,
Is their any function module through which we can see the details of employee
ASAP
SANDEEP JADHAVBAPI_EMPLOYEE_GETLIST
BAPI_EMPLOYEE_GETDATA
BAPI_PERSDATA_GETDETAIL: Read personal data
BAPI_PERSDATA_GETDETAILEDLIST: Read instances with data
BAPI_PERSDATA_GETLIST: Read instances -
Any Function Module to translate variable data in smartform
Hi All,
I am working with smartform.
My requirement is, when user logins with Japan language.
then all the data ( text template and variable data ) should be in Japan .
By using SE63 ,i can translate only text data. How about the variable data in smartform?
Please suggest any solution.
Regards,
KishanHope you are passing the variable from print program. If not then do the same. and in the print program do the below thing.
wf_spras = sy-langu.
CALL FUNCTION 'CONVERSION_EXIT_ISOLA_OUTP
EXPORTING
input = wf_spras
IMPORTING
output = wf_language.
SET LANGUAGE wf_language.
wa_control_parameters-langu = wf_spras.
PS : wa_control_parameter , you pass through control_parameters, in to the SMARTFORM calling FM .
Make sure that the data, which u fill into the variable you are talking about in maintained in the log on language also. -
Remote function module to download the text file
Hi Experts,
I have a requirement of text file should be downloaded from RFC connection by which function module.Can you please tell me whether this method is used to download text file (CALL METHOD cl_gui_frontend_services=>gui_upload).Hi Jaswanth,
FM used to upload the data from the non sap system to the SAP sytem is the GUI_UPLOAD ans GUI_DOWLOAD is downloading the data from SAP to the presentation server .This file can be xls,tab or space deliminatior ettxt fiel.
I think this was your requirement.
Pooja -
Is there any function module to get the no. of days in a month?
hi all,
if i have the month and year then is there any FM by which i can get the no. of dayz in that month?
regards,
shweta upadhyay.Hi swetha,
i have written my own function module,may be it helps u.
""Local interface:
*" IMPORTING
*" VALUE(DAY_IN) LIKE SY-DATUM
*" EXPORTING
*" VALUE(FIRST_DAY_OF_MONTH) LIKE SY-DATUM
*" VALUE(LAST_DAY_OF_MONTH) LIKE SY-DATUM
*" VALUE(NUMBER_OF_DAYS) TYPE I
*" EXCEPTIONS
*" DAY_IN_NO_DATE
DATA: BEGIN OF DATE,
J(4),
M(2),
T(2),
END OF DATE.
DATA: ZAHL TYPE I.
DATA: DAYS_SUBTRACT TYPE I.
DATA: XDATUM TYPE D.
XDATUM = DAY_IN.
XDATUM+6(2) = '01'.
XDATUM = XDATUM + 35.
XDATUM+6(2) = '01'. XDATUM = XDATUM - 1.
NUMBER_OF_DAYS = XDATUM+6(2).
DATE = DAY_IN.
IF DATE-M LT JANUARY OR DATE-M GT DECEMBER.
raise DAY_IN_NO_DATE.
ENDIF.
IF DATE-J LT LOWDATE.
raise DAY_IN_NO_DATE.
ENDIF.
IF DATE-J EQ HIGHDATE-J AND
DATE-M EQ HIGHDATE-M.
LAST_DAY_OF_MONTH = HIGHDATE.
ELSE.
IF DATE-M EQ DECEMBER.
ZAHL = DATE-J + 1.
UNPACK ZAHL TO DATE-J.
DATE-M = FRIST.
DAYS_SUBTRACT = NUMBER_OF_DAYS - 1.
ELSE.
ZAHL = DATE-M + 1.
UNPACK ZAHL TO DATE-M.
DAYS_SUBTRACT = NUMBER_OF_DAYS - 0.
ENDIF.
First of the subsequent month
DATE-T = FRIST.
LAST_DAY_OF_MONTH = DATE.
FIRST_DAY_OF_MONTH = DATE.
SUBTRACT 1 FROM LAST_DAY_OF_MONTH.
SUBTRACT DAYS_SUBTRACT FROM FIRST_DAY_OF_MONTH.
ENDIF.
ENDFUNCTION.
regards,
nagaraj
Maybe you are looking for
-
Doubts in GeoRaster Concept.
Hi everybody, I have few doubts in GeoRaster concepts. I did mosaicing of multiple Georasater objects using "sdo_geor.getRasterSubset()" and able to display image properly. But while doing this I come across few people suggestions. They said that mos
-
Date Formatting in a Result Field: Crystal Reports 2008
I'm modifying a report at runtime in c# .Net using Crystal Reports 2008. I'm having trouble modifying a date fields format. I have accessed the DateFieldFormat object, and modified the properties, but only the SystemDefaultType property seems to have
-
some one know if apple tv works in ipad 1
-
Marilyn emailed a couple of weeks ago and asked if I had any ideas I wanted to write about. I have been doing a lot of Linux consultancy over the past few weeks, and I'm also neck deep in a network monitoring solution. So I have been a bit distracted
-
How backup bootmarks in firefox 5.0 /linux ubuntu?
how can i do a bootmark's backup in firefox 5.0 for linux ubuntu?