Query regarding translation in module pool
Hi ppl,
I have created a module pool program which has a screen with a number of screen elements.
Now, I have translated the texts of the fields into oher languages also (using GOTO-> Translation through the program).
My doubt is that will the translation also be captured in the same TR under which my module pool report is created or is there any other procedure to transport the translations done?
I am working on SAP version 4.6C.
Please help.
Thanks,
David.
Hi,
You can translate elements using SE63 , also the way u have done also is fine .
TR gets attached to program request.
TC
Sajimon Chandran
Similar Messages
-
Translations for module pool programme
Hi,
I am trying to do translations for buttons/field textx in module pool. However I am unable to find the option to do it.
Could you please let me know, how can I do this?
Thanks,
ShanHi,
I have found the solution.
Translation at menu level -
Language translation in module pool program
Hi,
In PO creation .change and display ( ME21N, ME22N, ME23N ) at header line there is one tab added by customization and in the subscreen of that tab there are five fields now I want to translate the language of all those five fields.
when I go se 80>program name>doubleclick on screen number of that subscreen then >goto->tranlation and give the target language I get the temperory list after expanding the tree I get program name there I get field which I want to translate.
out of five fields of screen which I need to translate I can see four fields there that I am able to tranlate.
My question is why I am not getting rest of one field.
Regards
SagarHi,
how you have solved this issue??
I am also getting same issue....Can you help me?
Regards,
Abdul -
Query Regarding Translation API
I am using Microsoft Translator API (Microsoft Azure MarketPlace).
There is a mention of getting Access Token. Through Access Token We need to translator API.
I have a doubt whether generated access token will remain constant or going to change each time for translation.
I am in a dilemma that can I convert whole html string into other language at Once or I need to pass control wise text each time?Thank you for your question Karpit
You require the Access Token with each API call you make to the Translator
The Access Token will expire after a time period of 10 minutes after it is generated. In order to get a new Access Token, you need to make a call to the token service with your client id and client secret.
There is a code sample of how to do this and more information about generating Access Tokens here - http://msdn.microsoft.com/en-us/library/hh454950.aspx
Regards,
Tanvi Surti
Program Manager, Microsoft Translator
Microsoft Translator team - www.microsoft.com/Translator -
Hi,
I am developing a module pool, i have to update the transaction through my module pool, so i am using call transaction method . first i have written the perform with recording steps .. but when i tried to activate the main program i am getting an error saying that
Include ZMPPMTR_INCL
Incorrect nesting: Before the statement "FORM", the structure
introduced by "IF" must be concluded with "ENDIF". .
but in my program there is no if ..endif statement , why i am getting this error can any one giv me a solution for this?
waiting for ur reply...
Regards
Srinathhi,
in module pool the mail program contains top include and possibly other includes along with screen,
so save all the components of the main program and come to main program and then activate then the system recognizes all the components and activates accordingly.
try the following
use pretty printer to show the indentations.
double click on the error message it will take you to where the error occured.
try to find the if or endif or form or endform.
hope this will serve your purpose.
Thanks and regards
Ramchander Rao.Krish -
What is meany By Module Pools and Functional Pools
Hi gurus,
I want to know what are module pools and functional pool. If any of you have some information on it, I would be glad if you can share it with me
Regards
JasonHi Jason
Module pool is a type of program that contains steps of screens and can only be executed with a transaction code or menu function.
function-pool is the introductory statement for programs of type Function Group, these are programs in which you can define function modules.
Take a look at this:
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/21/682f8b277e11d2954e0000e8353423/frameset.htm">Program Types and Execution</a>
I hope it helps. -
Modul pool scrreen related query
hi abapers,
please solve my query regarding module pool.
i have a module pool screen with table grid and i use upload and download function define on push button, when i press first time upload button my data can easily upload to table grid,
but when i use mouse scroll button then again data can uploaded on table grid.
please tale me if any statement or function is exist to handle this problem.
thanks,
AbhiHI I HAVE WRITTEN THIS CODE.
{ MODULE USER_COMMAND_5000_TRC_DETL INPUT.
CASE SY-UCOMM.
WHEN 'UPLOAD'.
PERFORM DATA_UPLOAD.
CLEAR SY-UCOMM.
WHEN 'DOWNLOAD'.
PERFORM DOWNLOAD.
ENDCASE.
FORM DATA_UPLOAD .
CALL FUNCTION 'F4_FILENAME'
EXPORTING
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR =
I_LINE_HEADER = 'X'
I_TAB_RAW_DATA = IT_RAW " WORK TABLE
I_FILENAME = P_FILE "'C:\UPLOAD1.XLS'
TABLES
I_TAB_CONVERTED_DATA = IT_FINAL[] "ACTUAL DATA
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. }
Edited by: Abhilash on Apr 16, 2009 12:03 PM -
hi all,
I have a query in module pool, my problem is
lets say i have two fields in a screen.
out of which one is a date field and other one is a field which has got F4 help.
When i pick some values from the F4 help i have to populate the date field simaultaneously.
EG: when i pick value 1 from F4 help then i have to pass
the date value to screen as soon as i pick.
Can anybody help me out..
Regards,
KrishnakumarHi,
Check this sample code and kindly reward points by clicking the star on the left of reply,if it helps.
PROCESS BEFORE OUTPUT.
PROCESS AFTER INPUT.
FIELD s_begru MODULE abc ON INPUT.
Process on value-request.
field s_begru module f4_help.
*& Report ZZZ_JAYTEST1 *
REPORT ZZZ_JAYTEST1 .
tables kna1.
data:
begin of t_values occurs 2,
value like kna1-begru,
end of t_values,
t_return like ddshretval occurs 0 with header line.
data s_begru like kna1-begru.
call screen 9000.
*& Module f4_help INPUT
text
module f4_help input.
refresh t_values.
t_values = 'PAR*'.
append t_values.
t_values = 'UGG'.
append t_values.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'BEGRU'
value_org = 'S'
tables
value_tab = t_values
return_tab = t_return
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
if sy-subrc = 0.
read table t_return index 1.
s_begru = t_return-fieldval.
*Populate the date field also here
endif.
endmodule. " f4_help INPUT
*& Module abc INPUT
text
module abc input.
read table t_values with key value = s_begru.
if sy-subrc ne 0.
clear s_begru.
endif.
endmodule. " abc INPUT -
Query on module pool field -f4 help
Hi all,
My query is as follows :
There are 2 fields in module pool screen :
sector
lfd
Now there is a table called sector with 2 fields sector and lfd.
now when f4 is pressed on the above sector field, this sector table has to be called so that I can select the required sector from the f4.
I am able to do till above.
Now the issue is when I press f4 on sector field and select the required sector, the lfd value for this corresponding sector should be automatically populated in lfd field on the the above module pool screen.
please let me know regarding the above.
regards,
srinivasHi
after assigning the value to lfd field
call the same screen again. ex: call screen 'screen name'.'
or
Try this..
global variable
Data: Variable type c.
in your PBO
if variable is not initial.
lfd = 'Variable'.
endif.
clear Variable.
in POV
after calling F4IF_FIELD_VALUE_REQUEST function module and assigning the output to sector field
Variable = lfd value.
once after executing your f4 functionality, if you press enter you will see the value in lfd field as well
Regards
Edited by: Anesht on Sep 30, 2010 5:56 PM -
Dear friends,
I have a problem in handling tabstrips in module pool programming.
the problem is when i go to next screen it gets initiated to the tab number which i have declared in the data part.
but the data in the screen remains intact.
after pressing the option in the status it gets initiated and then i have to click the particular tab to go the tab and to see the changes get affected.
how to solve this problem.
plz do the needful.
regards
samarendraHi,
You just need to create the screen........
PAI
*& Include MZDS_CRTSCREENI01
*& Module USER_COMMAND_0100 INPUT
* text
MODULE USER_COMMAND_0100 INPUT.
CASE OK_CODE.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'SPFLI' OR 'SBOOK'.
TAB1-ACTIVETAB = OK_CODE.
WHEN 'EXIT'.
LEAVE PROGRAM.
WHEN 'CANCEL'.
LEAVE TO SCREEN 100.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
PBO
*& Include MZDS_CRTSCREENO01
*& Module STATUS_0100 OUTPUT
* text
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'BASE'.
SET TITLEBAR 'TITLE'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module CLEAR_OKCODE OUTPUT
* text
MODULE CLEAR_OKCODE OUTPUT.
CLEAR OK_CODE.
ENDMODULE. " CLEAR_OKCODE OUTPUT
MODULE DISPLAY_DATA OUTPUT.
CASE 'X' .
WHEN RBT-SPFLI.
SELECT CITYFROM AIRPFROM CITYTO AIRPTO FROM SPFLI
INTO CORRESPONDING FIELDS OF TABLE IT_SPFLI
WHERE CARRID = SPFLI-CARRID
AND CONNID = SPFLI-CONNID.
FLDATE = ' '.
BOOKNO = ' '.
CUSTNO = ' '.
LOOP AT IT_SPFLI.
DEP_CITY = IT_SPFLI-CITYFROM.
DEP_AIR = IT_SPFLI-AIRPFROM.
DES_CITY = IT_SPFLI-CITYTO.
DES_AIR = IT_SPFLI-AIRPTO.
ENDLOOP.
WHEN RBT-SBOOK.
SELECT SINGLE FLDATE BOOKID CUSTOMID FROM SBOOK
INTO CORRESPONDING FIELDS OF IT_SBOOK
WHERE CARRID = SPFLI-CARRID
AND CONNID = SPFLI-CONNID.
FLDATE = IT_SBOOK-FLDATE.
BOOKNO = IT_SBOOK-BOOKID.
CUSTNO = IT_SBOOK-CUSTOMID.
DEP_CITY = ' '.
DEP_AIR = ' '.
DES_CITY = ' '.
DES_AIR = ' '.
ENDCASE.
ENDMODULE.
*& Module CALL_DYNNR OUTPUT
* text
MODULE CALL_DYNNR OUTPUT.
CASE TAB1-ACTIVETAB.
WHEN 'SPFLI'.
DYNNR = 102.
WHEN 'SBOOK'.
DYNNR = 103.
WHEN OTHERS.
TAB1-ACTIVETAB = 'SPFLI'.
DYNNR = 102.
ENDCASE.
ENDMODULE. " CALL_DYNNR OUTPUT
*& Module DISPLAY_SFLIGHT OUTPUT
* text
MODULE DISPLAY_SFLIGHT OUTPUT.
SELECT CITYFROM AIRPFROM CITYTO AIRPTO FROM SPFLI
INTO CORRESPONDING FIELDS OF TABLE IT_SPFLI
WHERE CARRID = SPFLI-CARRID
AND CONNID = SPFLI-CONNID.
CITY_FROM = IT_SPFLI-CITYFROM.
AIRP_FROM = IT_SPFLI-AIRPFROM.
CITY_TO = IT_SPFLI-CITYTO.
AIRP_TO = IT_SPFLI-AIRPTO.
ENDMODULE. " DISPLAY_SFLIGHT OUTPUT
*& Module DISPLAY_SBOOK OUTPUT
* text
MODULE DISPLAY_SBOOK OUTPUT.
SELECT SINGLE FLDATE BOOKID CUSTOMID FROM SBOOK
INTO CORRESPONDING FIELDS OF IT_SBOOK
WHERE CARRID = SPFLI-CARRID
AND CONNID = SPFLI-CONNID.
FL_DATE = IT_SBOOK-FLDATE.
BOOKID = IT_SBOOK-BOOKID.
CUSTOMID = IT_SBOOK-CUSTOMID.
ENDMODULE. " DISPLAY_SBOOK OUTPUT
TOP INCLUDE
*& Include MZDS_CRTSCREENTOP Module Pool SAPMZDS_CRTSCREEN
PROGRAM SAPMZDS_CRTSCREEN.
TABLES: SPFLI,SBOOK.
DATA: OK_CODE TYPE SYUCOMM.
CONTROLS TAB1 TYPE TABSTRIP.
DATA: BEGIN OF IT_SPFLI OCCURS 0,
CITYFROM TYPE SPFLI-CITYFROM,
AIRPFROM TYPE SPFLI-AIRPFROM,
CITYTO TYPE SPFLI-CITYTO,
AIRPTO TYPE SPFLI-AIRPTO,
END OF IT_SPFLI.
DATA: IT_SBOOK TYPE SBOOK.
DATA: DYNNR TYPE SY-DYNNR.
DATA: DEP_CITY(20) TYPE C,
DEP_AIR(20) TYPE C,
DES_CITY(20) TYPE C,
DES_AIR(20) TYPE C.
DATA: FLDATE(20) TYPE C,
BOOKNO(20) TYPE C,
CUSTNO(20) TYPE C.
DATA:CITY_FROM(20) TYPE C,
AIRP_FROM(20) TYPE C,
CITY_TO(20) TYPE C,
AIRP_TO(20) TYPE C.
DATA: FL_DATE(20) TYPE C,
BOOKID(20) TYPE C,
CUSTOMID(20) TYPE C.
DATA: BEGIN OF RBT,
SPFLI VALUE 'X',
SBOOK,
END OF RBT.
HTH
Regards,
Dhruv Shah -
Regarding select option in a module pool prog .
hello .. i need some help regarding select options in a module pool program .. i hav tried putting a select options in a module pool prog but i am not able 2 ... can any one tel me why select options r not aloowed in a module pool prog ?? and i read that we hav 2 use ranges 2 fulfil the needs of the select options . is there any way i cal get all the functionality of select options ( eg including , excludig , equal to , not equal to , .... .) using a range ??
Hi
Select-options won't work if you declare the program as Module POOL.
if you wants to use select-options like utility in module pool programming
use ranges
declare and develop ranges and use that in select statement where condition.
ranges: r_vbeln for vbak-vbeln.
r_vbeln-low = '0018900678'.
r_vbeln-sign = 'I'.
r_vbeln-option = 'EQ'.
append r_vbeln.
r_vbeln-low = '0018900456'.
r_vbeln-sign = 'I'.
r_vbeln-option = 'EQ'.
append r_vbeln.
reward if useful
regards
Anji -
Regarding F4 help in Module pool Programming
Hi folks,
I have created a Screen in Module pool. I have to attach a F4 help for a field. I did that using the Function Module 'F4IF_INT_TABLE_VALUE_REQUEST'. Its working fine, but the when i click the value in the window, correct field value is not coming to the screen field. I have to get the value of first field in that window, but the value of the last field is coming to the screen. I have cheked the return table in debugging. It getting the value of last field, but not the first field. I have given the correct field value in the retfield parameter. Can any body suggest me why its not coming..
Thanks and Regards,
Shyam.Hi Ramachander,
I have already passed 'S' to value_org.
Please find my source code below.
MODULE set_hodf4 INPUT.
MOVE 'IT_HODF4-DEPTID' TO iretfield.
REFRESH it_hodf4.
SELECT DISTINCT deptid
bukrs
werks FROM zmm_ktph_hodmail INTO TABLE it_hodf4.
DESCRIBE TABLE it_hodf4 LINES my-tfill.
CASE my-tfill.
WHEN '0'.
* No & entries found.
MESSAGE i005.
WHEN OTHERS. "Get F4 help
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
* DDIC_STRUCTURE = ' '
retfield = iretfield
* DYNPPROG = ' '
* DYNPNR = ' '
* DYNPROFIELD = ' '
window_title = c_hod
value_org = 'S'
display = 'F'
* IMPORTING
* USER_RESET =
TABLES
value_tab = it_hodf4
return_tab = f4_hod
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3
IF NOT f4_hod[] IS INITIAL.
MOVE f4_hod-fieldval TO zmm_ktph_hodmail-deptid.
ENDIF.
ENDCASE.
ENDMODULE. " set_HODf4 INPUT
Thanks,
Shyam.
Code Formatted by: Alvaro Tejada Galindo on Dec 26, 2008 10:33 AM -
Regarding standard menu in module pool... have ur point.s
Hi all,
I wanna copy stanadard status to my module pool program. Could u pleas help me for that...
<b>have ur points..</b>
Regards,
[email protected]Hi Pradeep,
Goto SE41--> give the prog name SAPLKKBL and select the Status Radio button and give STANDARD
now press Ctrl+F6 which prompts you a new dialog to enter your desired prog name and status name. give in teh program name and enter a status name, which copies the standarad status to your program.
now in your program set the status using the statement
set pf-status 'NEW_STANDARD'.
Regards
Gopi -
query regarding function module SPOOL_RQ_READ_BAPI_EXPORTS (EBP-SRM Module)
shopping cart
Hi in FM SPOOL_RQ_READ_BAPI_EXPORTS
i want to relate the internal tables requisition_items and requisition_services.
but in am not getting the key on which they should be joined
here i have to take the quantity and other fields from requisition_services
right now i am using the joining condition as
requisition_items-pckg_no = requisition_services-pckg_no.
any help in this regard is welcome.
Thanks and regards,
VithalprasadHi Kathirvel,
Thank you for reply. I am making changes for standard code only.
" Call FM SPOOL_DPO_READ_BAPI_EXPORTS to read PO data exported to backend.
Use this data to call FM B46B_DPO_TRANSFER and copy errors tab from
' lt_bapi_return ' to ' et_messages' retrun tab in 'doc_check' badi. "
Thank you.
Regards, Sunu -
Regarding Module Pool Screen Painter
Dear All,
Hi all. When i am using 4.7 i am able to see all the icons like check box .radio buttons,push buttons ,table control and all . There i can drag and drop on the screen easily . I can see this all icons on the left side in the screen painter. In ecc i tried to create a module pool program. In that screen painter i am not able to see these icons in that screen .
When i am clicking on layout on initial screen it is showing ''''EU_SCRP_WN32 : timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' '''' . That is also in text format with some lines and all. I was totally struck here . Please help me in this .
Regards,
Madhu.How can you solve the problem ? Please explain it.
Maybe you are looking for
-
Fails to activate Office Professional Plus 2013 Trial
Hello Yesterday I downloaded from Microsoft evaluation center the Microsoft Office Professional Plus 2013 Trial. The installation completed successfully but when I am trying to activate Office using the email address that I use to download the applic
-
http://web.longfintuna.net/g/?z=1&ilmernzkvtazt=90E6BAB3210D58DA&pu=&s=D-firefox&nm=ilmernzkvtazt&t= I believe it's some kind of adware... Thanks. Jan
-
Why computer won't fully load Acrobat - stops every time at 80%.
I cannot get Acrobe Pro to load fully. It freezes every time I attempt to load it at 80%.
-
Why does my iPad screen goes blank
Just bought my iPad 3, screen goes blank frequently, even after rebooting and /or closing and opening app? Any ideas?
-
Mask is causing animation to reset/stutter
For some reason when the mask fully reveals the art, the waves stutter (frame 26) and restart their animation from frame 1. Can anyone tell me why this is happening? I've included a link to download the CS4 flash file. Thanks! http://board.flashkit