How to Maintain Translation of texts of Exception Class

Hi Experts,
I have an exception class ZCX_CHECK . I have maintained a text in the text tab of the exception class
like No components  Exists in  Package  &PACKAGE_NAME&
PACKAGE_NAME is the Attribute . How do I maintain Translation of the TEXT. When I navigate like Goto->Translation , it is saying Empty Object list.
When I maintain text elements and give text-001 in the text tab of the exception class , the ouptu is coming as text-001 in the Report .
How do I amintain translation , or how can I integrate a message class with an exception class .I know where to metion messsage class  . But how do I use it inside exception class

Let me rephrase this: When entering a text in your Exception class it will be automatically part of the OTR. You can check this by looking this up in SOTR_EDIT.Press the binoculars button (Find), and search on package (development class).
Now via SE63: Translation->ABAP Objects->Short texts
open node OT on pop-up and double click on Subnode.Enter a * on screen for Object name and press F4. Now enter collection (package / development) class. Select the text to be translated.
BTW: Via SOTR_EDIT you can retrieve the logical key (field concept) which is needed for translation. Select the GUID (logical key / concept) from SOTR_EDIT.

Similar Messages

  • How to maintain Space between text in Smart form

    Hi Experts,
    How to maintain space between text in smat form.
    For example
    I need to maintain like this
    Prepared By:                       Passed By:                  Approved By:       
        but after save it come like this 
    Prepared By:   Passed By:  Approved By:      
    How to maintain spaces between texts?
    Regards,
    Sreedhar.

    hi,
    we can give space in the smartform in the same way as in the scripts with two commas one space can be given.
    when u click on the text in the window ,
    there in the general attributes at the left hand side u can find a small icon for editor in that u can define the spaces with the variable to be printed in &var&.

  • How to maintain translation of views in material master

    Hi,
    How we can maintain translation of views in material master
    E.g.
    Basic Data
    Classification
    Purchasing
    MRP1
    MRP2
    Ect…
    We want to maintain translations in different languages.
    Thanks
    Sudhir

    Dear Sudhir,
    Check this link may be help you.
    https://help.sap.com/saphelp_nw70/helpdata/en/ad/06dcf1c4be11d291c70000e8a5f6e6/content.htm
    Regards,
    PK.

  • How to maintain PO Header Text entry in table T166K for different PO Type

    Hi,
    Can anyone tell me if there is a config transaction ( or path ) to maintain PO Header Text entry in table T166K for different PO Types
    Thanks
    Shrikant

    Spro->Material Management->Purchasing->Purchase Order->Texts for Purchase Orders.
    There are 4 config setting to do for this.
    Read information text.
    regards,nishant
    please reward if this helps

  • How to maintain PO Header Text entry in table T166K for different PO Types

    Hi,
    Can anyone tell me if there is a config transaction ( or path ) to maintain PO Header Text entry in table T166K for different PO Types
    Thanks
    Shrikant

    Resolved.

  • How to maintain comments (or Text fields) in BPS planning layout.

    Hello
    I found following document on SDN written by Tarun Malik:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60938938-de6f-2910-2080-fc80d38ebfec?quicklink=index&overridelayout=true
    Are there bugs in the coding:
    Functionmodule Z_BPS_WRITE_LAYOUT_READ_ODS:
    *it_ll_data = it_ll. "it_ll has not been defined upfront?!
    APPEND range TO et_dimension. " et_dimension has not been defined upfront?!
    Maybe Tarun Malik can answer?
    Regards
    Arjan

    Hi,
    Yeh i  know they need to click on that to see the comments ;
    Just checking if your are ok with the approach as it will avoid your coding part as well as  performance of the layout.
    going by Tarun's approach,
    how have you declared your import and export  parameters of  your function module ?
    I think you are missing that part which is giving you the error ..
    Pratyush

  • Free text standard exception class

    Hi!
    Before I create a Z class, I tried to find the standard one which is generic and allows free text entry, like:
    RAISE EXCEPTION TYPE cx_free_text EXPORTING e_free_text = 'My own error message'.
    Has anyone found such a class?
    Thanks!
    KR,
    Igor

    Here's a workaround with CX_T100_MSG and a message 398(00) which contains only placehodlers '& & & &'. This works, but it would still be better to have shorter syntax as in my question.
          RAISE EXCEPTION TYPE cx_t100_msg
                EXPORTING t100_msgid = '00' "message: '& & & &'
                          t100_msgno = '398'
                          t100_msgv1 = 'My error message pt1...'
                          t100_msgv2 = '...continued with pt2'.

  • How to maintain long texts in different languages in a message class

    Hi All,
    I have maintained a message and its transaltions in some other languages in a custom message class. I have maintined the long text in English language. But I am not getting how to maintain the long text in other languages.
    Please help.
    Regards
    Kiran

    Hi Kiran,
    Good!
    In the message class corresponding to that message give the place holders &&&&.
    Like 001    &&&&
    in the program.
    Message <class>001 with text-001 text-002 text-003 text-004.
    then you could disply long text.translation takes place if u enter in different language automatically.
    thanks,
    Sunil.

  • Own ZCX Exception Class, how to translate

    Hi,
    i've written my own ZCX_XYZ exception class. On the tabstrip "Texts" i've entered some texts, but how can i translate those texts? When i'm going to Goto/Translations i'm just getting empty object list...

    Thanks for investigating again. Using SE63_OTR i'm getting the message that this is obsolet and i have to use SE63.
    To make things more clearer i made some screenshots.
    <a href="http://666kb.com/i/atri3x4ib1uryogzr.png">Class with Attributes</a>
    So i have a class ZCX_FTP, the superclass is CX_DYNAMIC_CHECK, and i have an attribut which was generated automatically with the same name of the class.
    The texts are as follows:
    <a href="http://666kb.com/i/atri6gk1z8qn3ff9j.png">Defined Text</a>
    So now i'm going to SE63 (BTW are these texts otr short texts or long ones?), entered the ID and pressed Edit:
    <a href="http://666kb.com/i/atri82j1b5x02q7ev.png">SE63 with ID</a>
    I'm getting Object does not exists....
    Logging on with different language might be a workaround with de/en, but i have some difficulties navigating inswedish, greek, france and half a dozen more languages. On the other hand, i do not want to hand over the source texts to those who translates the texts. I'm really lost in this and cant find online help/documentation dealing with this.

  • OVS ValueHelp - Translation of texts

    Hello,
    We are using OVS ValueHelp in our WD application. This application can be used both in German & English language.
    The functionality of OVS is working fine. But the problem is with the translation of the texts in OVS valuehelp.
    The label & buttons, "Advanced Search", "Go" and "Exitu201D of the valuehelp are displayed in English language irrespective of the language selection.
    How can I translate the texts 'Advanced Search', 'Go' and 'Exit' of the OVS valuehelp in other language (German)?
    Thanks
    Mahaboob Hussain

    Hello jan,
    My application is deployed in such a way that it can be used in German & English languages (Internationalization concept, using .xlf files).
    Currently  my application is successfully displaying in german language when the user select German language using personalization of the portal header (as mentioned by you).
    But the texts in OVS ValueHelp are still shown in english, even though the selected language is German.
    My question is how can i modify (develop) the OVS such that the texts 'Advance Search', 'Go' & 'Exit' can be displayed in German language. (as NWDS doesn't show the .xlf files of this valuehelp (view)).
    Thanks
    Mahaboob Hussain

  • Translation OTR-Texts in WebDynpro

    Hi,
    how can I translate OTR-texts in a WebDynpro? Is there a special transaction?
    BR Alfons

    Hi,
    see the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/0a/784941bb75f623e10000000a155106/frameset.htm">documentation</a>
    OTR texts are translated via SE63
    Regards, Heidi
    PS: See also http://help.sap.com/saphelp_nw70/helpdata/en/f8/dd8a0f276111d5b316000102a3fd99/frameset.htm
    Message was edited by:
            Heidi von Geisau

  • How to maintain Message Class Version?

    Dear friends,
    Pls do let me know how to maintain the version of a message class and how to revert back the changes made to a message class.
    Regards,
    Alok.

    Hello Alok,
    1. Message class does not any version concept.
    2. Its always online and latest.!
    As per my understanding, SYstem is not maintaining the version of the message class becuase, you can edit one or any messages from the message class.
    All messages are stored in table T100, and this table is also not activated for "Log
    data changes".
    Regards,
    Vasanth

  • ABAP OO Exception Class

    Class Based Exception Handling involves raising exception (RAISE EXCEPTION TYPE), catching it (CATCH within TRY/ENTRY block) and maybe execute GET_TEXT method to get the text for that exception.
    Allowing exception texts be stored as part of exception classes, does that mean that SAP is moving away from using SAP Message Class (transaction SE91 messages) and relying now onwards upon storing texts in respective Exception Clases?
    My understanding is that SE91 holds not only the texts for exceptions (or hard errors) but also informational and warning messages, and hence if program condition has to display an informational or warning message, there is not need to create an Exception Class for such a condition (and then get the TEXT for that informational message from that Exception Class). Right?
    Pls explain. Thanks much.

    Hi Chetan,
    Sap is not moving away from T100-based (SE91) messages at all.
    In fact you do not store exceptions texts in exception classes but in the OTR (Online Text Repository) and still in T100. If an exception class implements the interface IF_T100_MESSAGE (as of Release 6.40), you can use the statement
    MESSAGE excref TYPE ...
    to display the message after
    CATCH INTO excref.
    It is recommended to use T100-messages for texts send to the user via MESSAGE and OTR-texts for texts not sent to the user but used internally, e.g. for writing into logs.
    Regards
    Horst

  • How to maintained the Text  language for CKF keyfigure

    Dear All,
    Please let me know how to maintained the text language for CKF I am using only keyfigures in CKF.
    Issue is text is not showing in Spain language when user exeuted the report (longin Spain) for CKF keyfigures .
    As per report design there are formuals and direct keyfigures and CKF has defined and we keep it under in Row struture in the report.
    After exeuted the report (Login Spain)Text has converted in all languages along with spain except for CKF keyfigures.
    Issue in text CKF's:
    There is a main  CKF (Cost) under this again we defined two sub CKF's those are total cost and average cost. We able to see the text in Spain language for Main CKF(cost) and also cheked in RSZELTTXT(Texts of reporting component elements) for the same.
    We can able to see the text in all languages for main CKF(cost) and enteries are there in RSZELTTXT table.
    We can see only  the text in english for  total cost and average cost and also enteris are there only in EN in RSZELTTXT table.
    It would help to me if any one can answer my question.
    Thanks in advance .
    Regards,
    MQ

    U can fetch the texts for the items using
    Read_text.
    Example:
        g_f_tdname = xvttp-vbeln.
        g_f_obj = p_obj.
        g_f_langu = 'DE'.
        REFRESH g_t_lines.
        CLEAR g_t_lines.
        CALL FUNCTION 'READ_TEXT'
             EXPORTING
                  id                      = p_var
                  language                = g_f_langu
                  name                    = g_f_tdname
                  object                  = g_f_obj
             TABLES
                  lines                   = g_t_lines
             EXCEPTIONS
                  id                      = 1
                  language                = 2
                  name                    = 3
                  not_found               = 4
                  object                  = 5
                  reference_check         = 6
                  wrong_access_to_archive = 7
                  OTHERS                  = 8.
        IF sy-subrc <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    The Required fields are,
    Text-id ,language,name,object.
    Let me know if you further require help.
    Regards

  • How to translate the text dynamically in the program?

    Hi All,
    I have a requirement where I need to translate the text dynamically in the program based on the Language Key retrieved.
    Let's say that the Login language is 'EN' and in the logic has retrieved the language 'IT'(based on some conditions). I have to transate the text(which is maintained using the text elements) to ITALIAN(IT) Language and send the same as an email.
    Could you please tell me if any Function Module is available in SAP which translates the text Dynamically in the program. or is there any other way to translate the text dynamically in the program.
    Could you please share your valuable inputs? Thank you in advance.
    Thanks & regards,
    Paddu.

    you could use SET LOCALE LANGUAGE myLanguage - so you can switch to the desired language and all texts will selected from that language.

Maybe you are looking for

  • Issue with PO Release strategy

    Hi experts, I have problem with Po release strategy in 5 to 10 purchase orders, i have created few purchase orders(2000 Po's) with same document type and company code ..etc and saved, then release strategy has been triggered. For few purhcase orders

  • Web sharing not working (Forbidden error)

    http://localhost/~myusername  doesnt work with web sharing turned on. http://192.168.0.102/ (my local IP on the network) also fails to work. It won't open locally or from other computers on the network. I tried the apple fix here http://support.apple

  • How do I fix a "medium write error" when I try to burn a MP3 CD?

    how do I fix a "medium write error" when I try to burn a MP3 CD? Thanks, Jackie

  • Moving into temp house 2 mths,it has bt,can i shar...

    I am moving into my Dads house for one or two months untill i find a new place. I am still under contract with BT and have bt broadband too. It will cost me £150 to get out of my contract, then when i find a new place it will cost me £130 approx to g

  • Problem Launching Webvast Wednesday

    Guys, I am currently facing some issue with the WebCast Wednesday sessions broadcasted every Wednesday; I am having Windows 7 Enterprise OS being newly installed into the PC and I am not able to get connected with the Webcast because of the network s