Insert a text module in my custom ISR form

Dear All,
I am facing an issue when trying to insert a text module in my custom ISR form .
I have created a custom text module, and inserted the same in the context of my form. This form is linked to my ISR scenario.
On running this scenario via portal, the textmodule does not show any value .
Has anyone faced this issue before ? If so, can you pls help me out.
Thanks in advance,
Aditi

Hi Aditi,
You can create text elements insteadin the intialization method of the BADI implementation.Please follow the below steps:
1)we create a characterstic'TEXT' OF TYPE STEXT.THIS IS 40 CHARCTER LONG.
2)Now in the initialize method write:
method IF_EX_QISR1~INT_SERVICE_REQUEST_INIT.
  data ls_special_data type qisrsspecial_param.
  READ TABLE special_data INTO ls_special_data
        WITH KEY fieldname = 'TEXT'.
  ls_special_data-fieldvalue = 'Test Text'.
  MODIFY special_data FROM ls_special_data INDEX sy-tabix.
endmethod.
3)Double click on the 'Jai Hanuman' will ask u to create a text element .Say yes and this will create a text element exactly the same way we do for the any report.
This will work and also provide the option of multilingual capability.
Regards,
Amita Gupta

Similar Messages

  • Can I include a logo into text module in smart forms

    Hi,
    I want to know whether I can include a logo into text module or not in smart forms.
    Pls some one assist me.
    Regards,
    Chandra

    Hi,
    No you cannot attach a logo in Text Module because it can store only text, and your logo is stored in presentation server so it cannot be used aywhere else.I hope your question is answered.
    Regards.

  • How to insert a code for a function module into a Customer Exit Variable?

    I have two Key Figures viz., Net Prchs Rtl, and Net Prchs Unt. Both these Key figures have This Week (TW) and Last Week (LW). There is a variable for This week but there is no variable defined for Last week.
    I need to get data in the column LW (Last Week) for both the key figures.
    In function module EXIT_SAPLRRS0_001 one of the functions I have is:
    Get the previous Fiscal Week
              CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
    I need to create a new variable to get values in the Last week column for different key figures and use function “'DATE_TO_PERIOD_CONVERT'” in that variable.
    Can anyone please explain me the steps as to how to use a function module in a variable so that when the variable is used in a key figure it shows the output.
    In other words what I want to know is after creating a Customer exit variable of type Characteristic value how do I refer the above mentioned function moduel and insert the code for the function module into the Customer exit variable that I created.
    Thank you.
    TR.

    Hi Wond,
    Thanks a lot for your reply. I understand what you mean but I have never done this before so can you please explain it in a detailed manner. I have the following code:
    Get the previous Fiscal Week
              CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
                EXPORTING
                  i_date         = ld_date
                  i_periv        = lc_periv
                IMPORTING
                  e_buper        = ln_poper
                  e_gjahr        = ln_bdatj
                EXCEPTIONS
                  input_false    = 1
                  t009_notfound  = 2
                  t009b_notfound = 3
                  OTHERS         = 4.
              IF sy-subrc <> 0.
                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              ELSE.
                lc_poper = ln_poper.
                CONCATENATE ln_bdatj lc_poper+1(2) INTO wa_e_t_range-low.
                wa_e_t_range-sign = 'I'.
                wa_e_t_range-opt = 'EQ'.
                APPEND wa_e_t_range TO e_t_range.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDIF.
    I believe I should now use the above code in my customer exit variable. If that's right can you please explain me the steps as to how should I do this so that the variable gets populated.
    Thank you.
    Regards,
    TR.

  • How to use the text module in script

    hi,
            i script how to use the text modules and how to write the code  in layout of the script?

    Hi,
    You canr use text modules in script. You have to use standard texts .
    Standard text are maintained in SO10 transaction.
    you can create translation text for other languages also . So based on logon language it will print translation text.
    go to SO10
    give textname it say Ztextname  id as ST and language as EN
    say create, then you will get editor there maintain your text and save it . then come back . Now change language (say for german DE) say create and eneter translation text and save it.
    so now you have created a text called ztextname which you can use in your script.
    Inorder to insert the texts in your script do as below
    go to any window editor and   select path
    Insert->texts->symbols->standard symbols
    then you will get popup  in which you have to mention all the parameters that you have created earlier.
    after inserting just change language EN to sy-langu
    Reward points if useful
    About text elements Sravan already given some informatiomn
    Regards,
    Nageswar

  • How to fetch the text dynamically from text modules

    Hello All,
    I have a requirement where the I need to print the Form in multiple languages. For this I have created textmodules and maintianed translations as well. But for Spanish and Portugese there are two version languages. For example Spain has Spain english and South American english, similarly Portugal Portugese and Brazilian portugese.
    In se63 transaction, we dont have two versions.Only one of them is available.
    Therefore I've created a custom table where in which I will mainted country.langauge and textmodule name as 3 coloumns. I have cretaed a FM
    where in I pass the country and language as import params to get all the respective text modules.
    Now I tried to move the textmodules to some some structure which I finally moved it to Context part in Adobe form.
    Now I tried to create text module, by giving variable name in the text field. For example i have passed &st_dun_texts-email&.
    It says text module does not exist.
    I have also created using dynamic text.There field name would be passed.But In the output I am getting the Text module name but not the content inside the text module.
    The actual content which is there in the text module should be printed
    Can anyone please help me out on the above problem. ?  It is urgent....!!!!!

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

  • Variable field in Text module which is used in Adobe forms

    Hi All,
    I want to use text module in my Adobe form to display text .
    Problem is that i want to insert a variable dynamically in text module i.e.
    My text is:
    For example : "In the period from &EMPLOYEE_DETAIL-PERIOD& you have not paid your tax:"
    Now EMPLOYEE_DETAIL is a structure in context of form with period as field .
    I want that data stored in this field should come in adobe,right now instead of data this text &EMPLOYEE_DETAIL-PERIOD& comes i.e. this is considered as text
    I tried this with SO10 by clicking on the "add" icon, i am getting a pop up screen with the following option. can you please help me which option to select and how to define the variable?
    Options given in pop up screen
    1. Symbols,
    2. Command,
    3. Text Element,
    4. Comment,
    5. SAP Characters
    6. Link
    6.1 Char Format
    6.2 Key
    6.3 Text
    if suppose i am using the wrong button please tell me where i can find this "add" button.
    Thanks and Regards,
    Karunakaran

    Hi,
    Use the floating field in Adobe.
    Use a  Static Text Field  and Insert the Field EMPLOYEE_DETAIL-PERIOD from your Data View
    Thanks.
    Uma

  • Condition based text module

    Hi,
      I need to print different text based on customer type. Can any body guide me how to use text modules for this.
    Regards,
    Venkat.

    Hi,
         First create the different standard texts using SO10 transaction.
    And then in the form window you can give the condition like if customer type = 'A' then display standard text 'a' or elseif 'b' else 'c'.
    Hope it helps.
    Reward if it is useful.
    Thanks,
    Srinivas

  • Can we include a table data inbetween a paragraph using a text module

    can we include a table data inbetween a paragraph using a text module or standard text.
    For eg:
    This is the output for purchase order &itab-ebeln& and this purchase order &itab-ebeln& has been released.
    I want the purchase order number to be placed inbetween these line as shown above. Can anyone help me on how to do this.
    Regards,
    Rose.
    Edited by: camila phyrose on Feb 18, 2008 11:11 AM

    Hi,
    You can do this in the Text module by adding the fields with the 'Insert field' icon (just as you would with a text element).  The Text module doesn't understand their content, but at runtime provided your smartform does this will work.
    Regards,
    Nick

  • Storing the output of a function module into a custom table

    Hi Gurus,
    Is it possible to store the output of a function module into a custom table.How can this be done?Is it complex?

    hi,
    After u execute the FM and get values in the internal table ITAB_RESULT. Create a custom table having structure same as ITAB_RESULT call it ZRESULT.
    data :wa type ITAB_RESULT.
    call FM and get result it ITAB_RESULT
    loop at itab_result.
    move-corresponding itab_result to wa.
    insert wa to ZRESULT.
    endloop.
    Regards,
    Mansi.

  • Photoshop CS5 insert specific text in part of save as dialogue box

    Hi,
    I have a large number of images to export as web-images.
    I have an action in Photoshop (CS5 sadly) that works just fine.
    However I need to rename them.
    I select part of the name and overwrite with the new text and press enter and it continues.
    In a perfect world I would be able to select one of, say 3 different optional texts to be inserted over the selected text.
    Is that possible to do in an actionscript?
    In a bit less perfect world, I would be able to pause the action - select the text and maybe add a few characters - and kick the action to insert the text and move on.
    Example:
    Original names have no real name structure.
    Original name could be
    100000-10_xxx_13.jpg
    100000-xx-17h.jpg
    100000_00.jpg
    Wanted name structure
    100000-10-12300-xxx-xxx-01.jpg
    Is this possible? A pointer would be nice. :-)
    /K

    First of all actionscript exists it a Flash feature I do not think you meant that.  Photoshop has action support and has script  stpport.  Actions can use scripts and scripts can use actions.   Actions can only use logic by using scripts.  Actions can also be made interactive by turning on step dialogs.  For example you could add a text layer "Copyright John Smith © 2014" step then turn on the make text layer step dialog. When the step is played the text "Copyright John Smith © 2014"  will be  added and be displayed in text edit mode all highlighted you can edit the text and click on the commit text check mark in the tool option bar to commit your text change or accept the text as recorded.
    Action have some control over save file names but not much.  For good naming of output files you need to use Batch or a  Photoshop script.  Scripting is programming which most likely you do not have the required education and skill set to do.   However Photoshop ships with some canned scripts and other can be downloaded from the web to help you process your images.  I would highly recommend searching for and a download for Installing Image Processor Pro plug-in script .  It is better then the Image Processor Script that ships with Photoshop.
    Image Processing scripts can save and resize images file of your  images. These scripts dialog provide you with all the options you need to save the file types you need with the save option that you set and you can have these scripts include actions you create to to do custom processing.  You actions only need to deal with things you want to do to the image. File handling and image sizing will be done for you using your options set in the scripts dialog. With Image Processor Pro you cane even encapsulate the dialog setting by recording using the Image Processor Pro.
    As long as man exists this will be a less then perfect world we make mistakes and learn from them .  A perfect world would be boring there would be nothing to do.....

  • Text from text module is not appearing in smartform output

    Hi Experts,
    We are using text modules in one of our smartform to print the sender text . The name of this text module is being dynamically determined during the execution and is coming correctly but still the the text inside the text module is not appearing in the output. We checked one more similar form which is working on the similar logic but calling a different text module , there it is working perfectly. I have tried all the possibilties like changing the window size, changing the fonts and other parameters of the text module but still its not appearing . This seems to be something unusual as in both the smartforms(one with text appearing from module and one without the text) the logic is exactly similar for getting the text module name. The name is getting determined in both the cases correctly and the text modules are also maintained in same manner for both these forms but text is appearing on one and not on other.
    Kindly help if any one of you have also faced similar issue.
    Regards

    Hi Priyank,
    There could be various reasons....
    Wrong language for example
    An easy way to prove this is, put the text direct into the smartforms and see, if it pops up immediately.
    If so, you have to really debug this spot and see if the pased name is correct. (Copy paste it in the debugger, to be really sure, there could be a space in fornt or in the end...)
    If that doesn't help, you have to share more details. Your question is not that very specific. You know
    ~Florian

  • SAP SCRIPT Header text and Item text not printing in customized PO

    Hello Experts,
                          I have copied the standard MEDRUCK to ZMEDRUCK and customized the form according to the requirement.
    I want to print the header text and Item text in my form.
    For Header text I have used :
    /: INCLUDE &EKKO-EBELN& OBJECT EKKO ID F01
    Problem 1: The text what I enter in header text is flowing only when I hit on print preview without saving the form. Once I save the SAP SCRIPT  and click on print preview the field is appearing blank. I also tried to print the form, but the field is appearing blank even on the print out.
    Problem 2: For item text the field is concatenation of  EBELN & EBELP. Can anyone suggest me how to concatenate and fetch the text in item text.

    Hi,
        Im getting an error in my subroutine pool for i_xtline which is to fetch ITEM TEXT., It says its not a in any internal table nor defined as data. How can I proceed further. I have pasted my code below. Please check and revert ASAP
    PROGRAM  ZMEDRUCK_SUBP1.
    TABLES: EKPO, EKKO.
    FORM fetch_table_data TABLES in_tab STRUCTURE itcsy
                                 out_tab STRUCTURE itcsy.
    data xname like THEAD-TDNAME.
    data i_xtline like xtline.
    clear i_xtline.
    refresh i_xtline.
    CONCATENATE EKPO-ebeln EKPO-ebelp INTO v_item_text.
    MOVE v_item_text to ITEMTXT.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
      CLIENT                        = SY-MANDT
        id                            = F01
        language                      = EN
        name                          = ITEMTXT
        object                        = EKPO
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
      tables
        lines                         = i_xtline
    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.
    ENDFORM.

  • How to add internal table fileds in Text module in smart forms

    Hi Friends,
        How to add internal table fileds in Text module in smart forms?
    Thanks & Regards,
    Vallamuthu.M

    Hi Vallamuthu ,
    how did you solve your problem?
    thanks,

  • How to insert sales text (MM02) into a single record of a Ztable.

    Hi,
    I'm extracting data from different data base tables and populating a Ztable which has Matnr as primary key and sales text as a field.
    I have already used READ_TEXT to display the text and it is displayed in multiple records which in turn leads to duplication of Material numbers.
    Now I want to avoid duplication of records (Matnr) as this being a primary record, and display the sales text of a particular material number into one single record.
    Can anyone tell me how to insert sales text (MM02) transaction into one single record.
    Thanks,
    Govind

    sorry i am not enough clear about your requirement...
    as i can understand i am explaining to you.
    suppose your itab contains repaeating matnr.
    matnr
    1
    1
    2
    2
    2
    3
    3
    like this.
    data : text(200),
             matnr like mara-matnr.
    loop at itab.
    call READ_TEXT fnmodule.
    loop at tline.
    concatenate text tline-tdline into text.
    endloop.
    matnr = itab-matnr.
    at end of matnr.
    itab1-matnr = matnr.
    itab1-text = text.
    append itab1.
    clear text.
    endat.
    endloop.
    NB change the code as per your requirement
    regards
    shiba dutta

  • E-recruitment 6.0 - Smart Form - Text Module - Qualifying Event

    Hi all,
    Once more a question:
    E-recruitment 6.0
    Smartforms with invitation letters (for example for an interview)
    In the recruiter's portal we use a 'qualifying event' to 'set' an appointment' , date, time, place etc.
    We use the input from this reference activity in the text module of the smartform.
    The text module holds the main text of the letter.
    The text from the module appears in the recruiters portal when the recruiter performs activity 'send letter' (act. type: invitation) so that he can add some text manually if he likes.
    This functionality is in E-R6.0 since SP7
    It goes well when the recruiter does not add anything manually. The variables load in the smartform and it works as wel wanted.
    BUT when the recruiter manually changes the letter (the text module) in the recruiters portal, all variable are lost from the letter.
    I hope someone can help me out.
    Edited by: N. Lodewijk on Dec 4, 2008 11:57 AM

    You need to use the functionality "Changeable letter".

Maybe you are looking for

  • Getting keynote '09 animations to work when using powerpoint

    I have been using keynote 09 for a while to make my presentations. Unfortunately most places i present at have windows and therefore i have to present in powerpoint format. This causes me to have a number of compatibility issues especially with anima

  • Doble click in alv

    i use this FM DATA: g_user_command TYPE slis_formname  VALUE 'DOUBLE_DOUBLE'. CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'        EXPORTING             i_callback_program = l_program             i_callback_user_command = g_user_command             i_callba

  • Long Text  To Short text

    Hi ALL, I am getting a long text(around 1000 chars long) in one of my field and I need to divide it into small chunks of 255 char and send it in the table form. Is there any functional module available for this or any standard statement? Points would

  • Photoshop dejo de abrir archivos

    Hola a todos, Bueno llebo 3 dias como loco buscando una solucion y no he dado con ella. Os cuento: El photoshop ha dejado de repente de abrir archivos o guardarlos, el programa se abre pero es imposible abir archivos, no desde el menu abrir, ni desde

  • Measure mobiles computational performance

    The source code here measures mobile phones computational performance. Is there anybody who can explain for me what is the thougt behind the pi? What does pi? computationPerformance= pi(10); 1617 //allows the JIT compiler to optimize the function pi(