Adding a text field in a custom infotype

Hi,
I have a custom infotype which deals with sickness data of the employee
My requirement is that the user will enter an explaianation for his sickness...etc. Thus I need to incorporate a text field in my infotype.
What I am planning is to give a button on the screen of infotype, so when user clicks it a text editor will open and and he can insert or update his sickness text data.
Please tell me how do i do that and also if there is any alternate better approach.
Regards,
Neha

you need to make a custom container on which you have to put editor
use class cl_gui_custom_container, cl_gui_text_editor, first define instances in top include then create objects. if you want this to be done when you click on any button then put this coding in the function code of that button.
aditya

Similar Messages

  • Adding additional text field to infotype in SQ02

    Hi ,
    I am trying to create an additional text filed to the infotype 0034 in a customized infoset, in Tx SQ02 as shown in the link below:
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/cb4468455611d189710000e8322d00/content.htm
    Here the question is :
    The check box "Detemine LIKE reference using text field" is grayed out and I couldn't able to check the box.
    Can any one help me to resolve this and let me know what is the significance of that check box?

    Hi Suresh,
    I tried running the query after deleting the newly added text fields to the infoset, the query is running properly with out any short dump, where as with the additional fields added it is going to short dump and the shot dump states as shown:
    An exception occurred. This exception is dealt with in more detail below          
    . The exception, which is assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_FUNC',    
    was neither                                                                      
    caught nor passed along using a RAISING clause, in the procedure "%_GET_PERNR"    
    "(FORM)"                                                                         
    Since the caller of the procedure could not have expected this exception          
    to occur, the running program was terminated.                                    
    The reason for the exception is:                                                  
    The program "!QZZ/SAPQUERY/H2AAVULA27174228" contains a CALL FUNCTION             
    statement. The name                                                              
    of the function module to be called is "RPAQ_GET_AF_0034".                                                                               
    No function module exists with the name "RPAQ_GET_AF_0034".                       
    All function modules are stored in the Function Library (SE37).                                                                               
    Possible reasons:                                                                 
    a) Wrong name specified. Particular attention should be paid                      
       to upper/lower case and underscores ("_")                                      
    b) Transport error                                                                
    c) If an enqueue/dequeue module has been used, the lock object                    
       may not have been activated (ABAP Dictionary)         
    Any help?
    Best regards
    Vamsi

  • Long text field required in customer field

    HI everybody,
      We are in the implementation of SRM 5.0. Here requirement is using z include structure, the customer fields have to be added.
    In structure, i can add my own fields. But customer wants long text in customer fields.
    If i maintain a field with 300 character means, screen displayed as single field as lengthy one.
    But customer wants long text.Main worry from customer side is, they want to able to copy and paste paragraph into SRM customer field.
    So please suggest me that how can i acheive this issue.
    Txns in advance

    Hi.
    You call read/write this field with FM REAd_TEXT of WRITE_TEXT, check this example:ù
    ztdline       TYPE tline           OCCURS 0   WITH HEADER LINE,
            CALL FUNCTION 'READ_TEXT'
              EXPORTING
                client                  = sy-mandt
                id                      = 'F01'
                language                = 'I'
                name                    = ekko-ebeln
                object                  = 'EKKO'
              TABLES
                lines                   = ztdline
              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 table ztdline have the long text.

  • Adding unlimited Text field in Shopping Cart in SRM 4.0

    Hi All,
    I am using SRM 4.0 and I need help adding the unlimited custom text field in the shopping cart screen similar to  Internal note in the shopping cart. I am able to add field with fixed character length but I need the custom field with unlimited text.
    Please let me know if you have any suggestions.
    Thanks in advance
    Vijay

    Hi,
    You can try with the TEXT schemas, you can configure this as i mentioned below:
    First, you need to create a text schema since BBP_PD_PO SPRO --> Supplier Relationship Management --> Cross aplication Basic Settings --> Text Schema --> Define Text Schema.
    There you can create your own text schema with the characteristics that you want for example: If you want that text schema appears in the header of the document or in the item or both, If you want that text schema is able for modifications or is only a view ....................
    Secod, when you have the name of your text schema you need to asign for the document that you want in
    PD_PO SPRO --> Supplier Relationship Management --> Cross aplication Basic Settings --> Define transaction types for every document type you can specify the text schema that you want to assign.
    If this solution doesn´t solve your issue maybe you can create a custom field ("Z") with data type "LRAW" this type is very big.
    Thanks

  • How to add F4 functionality to a field in the Custom Infotype

    Dear Friends,
    I have created a custom Infotype 9332 for tracking the career growth of the employee. now i want add F4 functionality to a field in this infotype. How to do it and where to implement the code. Please suggest your valuable options.
    regards.

    Hi,
      You have 2 options.
    1.Table Level
    create a search element and you can attch it in table.
    2.Screen Level.
    In the Flow logic, create a module like " FIELD P9332-fieldname MODULE f4_values" under PROCESS ON VALUE-REQUEST.you can do the coding in the module for populating.
    Reward points if helpful.
    Regards,
    Manoj.

  • (Text) Field Enhancement - in Customer Master

    Hi Experts,
    Pls. let me know that Steps involved in Text Enhancements?
    My requirement is that I need to do text enhancement for KATR6 field's description from Attribute 6 to my_own_description in Customer Master.
    How to proceed, pls. step by step?
    Thanq.
    Message was edited by:
            Srikhar
    Message was edited by:
            Srikhar

    go to cmod
    in menu bar  ....select menu option as below
    goto.....> textenhancements......>keywords ......> change .......
    give u r data element name there .....eg:matnr
    it will let u into a screen.....where u can modify the text description there make sure that it is Short field label,Medium Field Label,Long field label,Heading,Short Text......
    make change as per u r relavence and save it........
    the change will directly reflect in the database ......
    if u go check in the mara table .....check the description of matnr .....u can find the change u have did....
    reward points if helpful....

  • Adding a Text Field to inline text

    Using Adobe LifeCycle Designer, I'm wondering if there's an easy way to insert substitution text. I need to do this:
    "Thank you for your recent donatoin of ${Amount}. We would like..."
    The above example uses a floating field, but this type of object (or placeholder) is not available as an AcroForm variable (using iText). Thus far it appears that my only option is to use a Text Box but this seems VERY clunky because it's nearly impossible to visually line up the text box properly, plus, it doesn't size the sentence to the right -- i.e., it just sits on top of the text.
    What am I missing? My needs, to me, seem VERY simple but I can't seem to figure out how to make this work.

    I really wish I could agree with you because I REALLY want this to work. This is the ONLY thing keeping me from using Adobe. However, it's becoming clear that I'll have to scrap all the research I've done because I need to find a completely new solution (outside of Adobe Acrobat).<br /><br />I believe we need to think Post PDF Creation and Pre PDF rendering. Say a PDF is just sitting there in a folder. It has AcroForm variables in it -- Cool! This means I can fetch those variables, load them with whatever data I want, copy the PDF and wala! I have a new PDF with complete data and I've preserved my template PDF for another day.<br /><br />A floating field is dissolved the moment you click <Save> in Adobe LC. Binding happens right then. This means when it is rendered in a Reader the data is already there and if that data happens to be a script the script behaves accordingly. None of this works for me.<br /><br />One way to think of this is that the actual "text" in a PDF is fully compiled/flattened while AcroForm variables are uncompiled and dimensional. I can pop data in the AcroForm variables but whatever I do with these variables, it has no bearing on the compiled text.<br /><br />This means compiled text cannot interact with an AcroForm variable (i.e., it can't adjust left and right to size properly to an AcroForm variable).<br /><br />I find this lack of functionality to be surprising.

  • Delete field from a custom Infotype

    What are the steps involved in doing this?
    What are the things I need to take care of before doing this and after doing this?
    Thanks,
    Kiran

    Ok. There is a change in plan now. We want to initialse the field first before we delete it and check for all the records and make sure that field is initialised and only then hide the field on the infotype.
    So what are all the ways to initialise this field. I can think of BDC. any more clues please.
    Thanks,
    Kiran
    Edited by: kiran dasari on Jul 21, 2009 10:02 PM

  • How to fhide fields in Pa customized infotype

    Hi I am creating one PA related It, out of which i have 11 fields , but in Ovwer view screen i need to display only 6 fields. how it will be done. Please respond to this ASAP.
    Thanks,
    Kalyan

    no there is no view with v_t588M, but table with t588m is there....

  • Custom infotype - field length issue

    Hi experts,
    We have a requirement of keeping so much free text fields in the custom infotype. However, the system doesnu2019t allow having these many fields in the PS structure. We got the information from the error description as- The maximum length of PS structures for infotypes is 1000; this is the length of the general infotype header in bytes. Could you please suggest some way to solve this issue?
    Thanks,
    Rahul

    Give a field and try to enter some decription for large text in  that field .
    Create a table for that field and give F4 for that .
    Maintain the text in SO10 and call that text using read_text fn module .
    Try this way

  • IExpenses-12.1.3 Facing Issue with 2 custom text fields on the standard OAF

    Dear All,
    We are facing problem where custom text fields on standard OAF page does not retain their values when we traverse back-forth on the OAF page.
    Here is the exact issue details
    1) We added 2 text fields(Attribute5 and Attribute6) through personalization on Mileage Line Details Screen(standard OAF page) of iExpenses 12.1.3.
    2) And business requirement is whenever user enters values into these fields, difference of these values is populated in third field which is standard field on that page.
    Issue
    When user enters values into above 2 fields, difference is calculated correctly however once he clicks on return page and comes back again on the detail page
    then all the standard fields retain their values but 2 custom fields have blank value.
    Is there any issue with personalization? or any other issue? Please suggest.
    Thanks,
    Mahesh

    Thanks Pratap for checking
    There is button named as "Calculate Amount" on the line details page so it is happening in below 2 scenario
    1) When User enters values in 2 fields and clicks on Calculate Amount Button then values get disappeared from custom fields
    2) When user clicks on return button, go to main page and clicks on detail button ( to come back on same line) then all the standard fields have valuece and custom one's disappeared.
    Thanks,
    Mahesh

  • Add new loop field in custom infotype - error field .. not assigned to loop

    Hi,
    I have a task of adding a new loop field in a custom infotype screen 3000. Here, in the past there have only been the fields begin date and end date. I need to add a new field, so this is how I proceeeded:
    1) I modified the screen 3000 in SE38, adding the field where I wanted and defining a loop.
    Now, I get the syntax error : Field P9500-field is not assigned to a LOOP. LOOP...ENDLOOP must appear in PBO and PAI.
    There must be something wrong in what I'm doing, can you please let me know a quick fix on this or how I can accomplish this in PM01? Please keep in mind that this is a custom infotype for SAP TEM, I can't see it in PA.
    Best regards,
    George

    Not a nice solution but I had to do this quick and I'll correct it in the next days:
    The old flow logic PBO code was:
      LOOP.
        MODULE FILL_DYNPRO.
      ENDLOOP.
    If I wanted to insert here something like:
      FIELD whatever
        MODULE dummy.
    , I'd get stupid error messages like this other field is not in loop, endloop, then if I put that other field I'd get the error that the fields are in the same loop...
    Wanting just to get this over with, I added the following code (after the initial loop):
      LOOP.
        FIELD whatever
          MODULE FILL_DYNPRO."same module as above
      ENDLOOP.
    This was repeated in PAI.
    This pretty much works out fine for the moment, I'll look for finer solutions in the week to come.
    Thanks for the help, guys.
    Best regards,
    George

  • QM03-Custom tab-Change to text field not reflecting-FG - XQQM-screen-0106

    Hi,
    I have a requirement to change the text field on a custom tab of QM03 transaction. Quality notification type is Z1 and the tab is "Checklist". Both are custom defined.
    The existing text field is of 3 lines. The new text message is of 8 lines. When I did the changes on the custom screen 0106 in the function group XQQM, the changes are not reflected on the QM03 transaction's custom tab. Only first 3 lines were reflecting the change and rest of the 5 lines are not appearing on the screen.
    Pointers on this will be definitely helpful.
    Regards,
    Mallika.

    I had a similar problem, but it was with the message line. I found that with Web Forms, I had to issue the Synchronize; a second time, but in Client/Server Forms 6i, the first synchronize worked. Here is the code I used:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy"> SYNCHRONIZE;
    if Get_Application_Property(User_Interface) = 'WEB' then
    synchronize;--first does not work on web
    end if;</font></pre>
    Let us know if this works.

  • Authorization Object: P_ORGXX - fields can be from a custom infotype ?

    I need to create a customer-Specific Authorization Object, but the documentation states that we can use any of the fields in IT0001, and also customer-specific additionald fields. But we need to know if those additional fields can be from a custom infotype.
    If it is not possible, we need to replicate the std P_ORGXX and the way it validates the field pa0001- SACHZ. But with fields from a custom infotype. Is there any way to do it?
    I hope you can help me with this.
    Regards,

    Hi,
    Try the link from SAP as reference for authorization object creation and how functionality for authorization object works w/ infotype.
    http://help.sap.com/saphelp_470/helpdata/en/9e/74ba3bd14a6a6ae10000000a114084/content.htm
    http://help.sap.com/saphelp_470/helpdata/en/16/b8b83b5b831f3be10000000a114084/content.htm
    Thanks,
    Ameet

  • Marketing attribute in the text field, interactive script

    Hello Gurus,
    We are facing a problem in the interactive script, of the sap crm 7.0.
    We know the possibility of set some of the customer data into the
    script by filling bdc field inthe test field and then adding this text
    field to a script question.
    We did it in the customer data "***" by filling the bdc field with "ext
    field marketing attribute interactive script" and this data is showed
    in the script, but we can not show marketing attribute data in the
    script by using text field and bdc field.
    There is a possiblility of showing the marketing attribute in the text
    field or it is imposible due the structure of bol in crm.
    Thanks  in advance.

    Hello ,
    To display or change the marketing attributes of a business partner in the script follow these steps:
    1.  Run the Interactive Script Editor.
    2.  Create a new Question and in the Answer Area drag and drop the "Marketing Attribute" dynamic answer.
    3.  Select the "Marketing attribute will display here when executing the script" object and go to tab "Dynamic Content Parameters".
    4.  Select the attribute set and the attribute name.
    5.  Save the question.
    6.  Drag and drop the question to your script.
    7.  Change the template of the question node to either "Person Marketing Attributes" or "Organization Marketing Attributes" depending on what type of business partner is expected to be confirmed at run time in the IC_AGENT role.
    8  Save the script.
    9.  Run IC_AGENT or similar IC role.
    10. Confirm an organization ( if you used "Organization Marketing Attributes" ).
    11. Run the script.
    When you reached the question maintained above, the marketing attributes will render for that business partner, if they exists or will be created if they don't exists . To be created a button that will do a navigation is required. It means that the question will have to be linked to a next question or to itself by this button (to itself is required only if it is the last or the only question in the script). To suggest to the user that he or she has to click on the button, to save, is probably better to name the button "Save".
    Octavian

Maybe you are looking for

  • Loading a movie on a given frame?

    Hi, I'm new to Action script and all this stuff so help would be most appreciated, I made a website in flash that starts off with a little bit of sound and eventually when that sound ends there is no sound so I created a little mp3 player and I want

  • PHP/MySQL DW8 login not working in IE6

    I built an backend admin for my site and for some reason it will not login using IE6. It works fine with the following MAC (safari. firefox, IE0 PC (Firefox, Netscape) I was wandering is this is a know issue with IE or IE6? If anyone needs to see my

  • Edit the soundbank.gm file

    Hello, Excuse my english, I speak french. It's my first post, probably my first and my last topic. I want to edit the soundbank.gm file to put into it my own samples, it is possible ? Because the sound is bad, the drums specially. I have already down

  • Can't move regions all at once anymore, why?

    I am working on a very large orchestral score and before I was able to move all tracks at once around in the arranger, but now even with all regions in all tracks selected, only the track on which my mouse is, is being moved, Why is this?

  • I obtained a os x serial number, but I can't find where to enter it.

    Hi people, I bought a OS X Lion to update my Snow Leopard. I received  an email with the serial number, but I can't find the place to enter this code. I searched the App-Store but didn't find the place. Thx for your help.