Dynamic Long Text in WAD  (BW 3.5)

Hello Guys,
  I need to display in a wad dynamic text that would change dependeding of the month chossen. Any suggestion for display long text in WAD?
Regards,
Iván.

hi,
You can do this but i am not sure directly in WAD you can do this in Bex by creating Customer Exit text varibale for the heading you want to display dynamically.
Based on the selectio criteria of the month pass the values in the Customer Exit so that it will change in the Bex Query.Create an WAD report based on the Query.
I think it will solve your problem.
Let me know if you any issues.
Regards,
Shiva.

Similar Messages

  • Dynamic text in Long text of message

    Hi All
    Can you please guide me that how dynamic text are maintained in long text of the messages.
    I have used variable name between 2 ampersands 1.e. &var&..but its nt working. Where could be the mistake ?
    Regards,
    Shreya

    The problem is... I want to show an error message. and when user double clicks on that message, a pop up screen should come showing the detailed description of that message which also contains some dynamic text...eg:
    The message is "Please maintain ABC field for Company Code &1".
    To this short text i want to give a long text description eg:
    "For the Combination of Compay Code &2 and Account &3, ABC field should not be blank".
    Dynamic text element in short text is working fine,  but in long text it is showing &2 and &3..,, ie these are not populated with values.
    Where could be the mistake ?

  • Long Texts in BI: displaying in Web report using WAD

    Hi, Gurus!
    Assumtion is that:
    *) user uses EP portal to access BI reports;
    *) these reports are pre-formatted, preferably-static, and with print option (maybe via xls or pdf format);
    *) Win Gui is NOT an option to use in EP;
    Here is the Question:
    Is there any ready-made recipe how to get BI reports containing Long Texts on web (most possibly by using WAD - Web Application Designer)?
    There are two great blogs by Eugene Khusainov:
    *) <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3766">https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3766</a>
    *) <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3768">https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3768</a>
    These ones deal with this question in Bex WorkBook.
    I'm looking for similar solution as in above mentioned blogs, but only for the web (EP). Thus would like to get your opinion before reinventing the wheel.
    Thanks a lot in advance for all ideas!
    --- Kaspars
    P.S. Have gone through several SAP docs, but had not find an exact solution...
    P.S.S. in case you have some ready-made-docs, please use the following e-mail: [email protected]

    Hi, Prakash!
    Thank you for the suggestions! The document you mentioned is a very good as such. However in my case it doesn't seem to be a solution.
    Could you please elaborate on your comment regarding "rendering with XSL" ...?
    Thanks,
    --- Kaspars
    NOTE to clarify 'static': I am not looking for a precalculated report/document. It should be like a normal query. But from a users point-of-view it is just a report he/she can ONLY print out. That's it; no drill-downs, no filtering, no nothing.
    Wouldn't there be these long texts (texts in several columns, that should be displayed as one column) + header & footer formatting;... Then I could use regular EP iView template (and pure query made in BEx Query Designer as data source within it).
    NOTE 2: user just have to click on a hyperlink in EP to access this report. No parameters should be submitted by user.

  • How to send long text  in a mail using FM : SO_NEW_DOCUMENT_SEND_API1

    Hi All,
    In my BSp application user can enter long text   ( can be more than 300 char ) in TextEdit.
    problem is as below:
    1) i am getting all the text in oninput processing ...
    2) using the FM READ_TEXT to   get mail template built in SO10.
    3) Replacing all dynamic variables in mail template with user enterd text.
    4) then passing the data to FM SO_NEW_DOCUMENT_SEND_API1.  this FM has table parameter with 255 char ( please check once )
    i am able to send the data  in mail.   But long text more than 256 char is not comming as single paragraph.
    For expamle  ...user enter the following  text in text edit.
    Responsible for the development, implementation, and maintenance of human resource information systems (HRIS) associated with the collection, retrieval, accessibility, and usage of employee information for Human Resource department planning and activities.  Maintains internal database files and tables, and develops custom reports to meet the requirements of Human Resource management and staff.
    in inbox i am getting as below:
    Job Description for    : Responsible for the development, implementation, and maintenance of human resource information systems (HRIS) associated with the collection, retrieval, accessibility, and usage of employee information for Human Resource depa
      Maintains internal database files and tables, and develops custom reports to meet the requirements of Human Resource management and staff.
    Job Description for is fixed text from SO10 templete.   and  remainning text is user text.
    some data is missing in mail.
    SO10 template  is as below  :
    Job Description for : &INSTRUC1&
    &INSTRUC2&
    help to solve the above issue.
    Regads,
    Kishan
    Edited by: kishanrao.sap on Oct 11, 2010 3:12 PM

    Hi Krishna,
      Please use the object_type parameter of tthe FM as 'HTM'.
    Then divide the text by append them into the lines of the object_content. In the begining and end make sure you have
    <p> --  in the begining
    </p>-- in the end
    if i want to type the text in one para " My name is Imran and i am an ABAP developer".
    CLEAR: WA_OBJECT_CONTENT.
      WA_OBJECT_CONTENT-line = '<html>'<body><p> My name is Imran.
      APPEND WA_OBJECT_CONTENT TO T_OBJECT_CONTENT.
    CLEAR WA_OBJECT_CONTENT.
      WA_OBJECT_CONTENT-line = ' and i am an ABAP developer</p></body><html;>'.
      APPEND WA_OBJECT_CONTENT TO T_OBJECT_CONTENT.
    Hope this helps you.
    Regards
    Imran.

  • Reading long text from excel file to an internal table

    Hi
    Can any body tell me how to read long text from excel file to an internal table.
    When i am using this FM KCD_EXCEL_OLE_TO_INT_CONVERT then it is reading only 32 characters from each cell.
    But in my excel sheet in one of the cell has very long text which i need to upload into a internal table.
    may i know which FM or what logic i need to use for this problem.
    Regards

    Hi,
    Here is an example program.  It will upload an Excel file with two columns.  You could also assign the Excel structure dynamically, but I wanted to keep the example simple.  The main point is that the internal table (it_excel in this example) must match the Excel structure that you want to convert.
    Remember, this is just an example to help you figure out how to properly use the technique.  It will certainly need to be modified to fit your requirements, and as always there may be a better way to get the Excel converted... this is just one possibility that has worked for me in the past.
    *& Report  zexcel_upload_test                            *
    REPORT  zexcel_upload_test.
    TYPE-POOLS: truxs.
    TYPES: BEGIN OF ty_excel,
             col_a(10) TYPE n,
             col_b(35) TYPE c,
           END OF ty_excel.
    DATA: l_data_tab         TYPE TABLE OF string,
          l_text_data        TYPE truxs_t_text_data,
          l_gui_filename     TYPE string,
          it_excel           TYPE TABLE OF ty_excel.
    FIELD-SYMBOLS: <wa_excel>  TYPE ty_excel.
    PARAMETERS: p_file TYPE rlgrap-filename.
    * Pass the file name in the correct format
    l_gui_filename = p_file.
    * Upload data from PC
    CALL METHOD cl_gui_frontend_services=>gui_upload
      EXPORTING
        filename                = l_gui_filename
        filetype                = 'ASC'
        has_field_separator     = 'X'
      CHANGING
        data_tab                = l_data_tab
      EXCEPTIONS
        file_open_error         = 1
        file_read_error         = 2
        no_batch                = 3
        gui_refuse_filetransfer = 4
        invalid_type            = 5
        no_authority            = 6
        unknown_error           = 7
        bad_data_format         = 8
        header_not_allowed      = 9
        separator_not_allowed   = 10
        header_too_long         = 11
        unknown_dp_error        = 12
        access_denied           = 13
        dp_out_of_memory        = 14
        disk_full               = 15
        dp_timeout              = 16
        OTHERS                  = 17.
    IF sy-subrc <> 0.
    *   MESSAGE ...
      EXIT.
    ENDIF.
    * Convert from Excel into the appropriate itab
    l_text_data[] = l_data_tab[].
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
      EXPORTING
        i_field_seperator    = 'X'
        i_tab_raw_data       = l_text_data
        i_filename           = p_file
      TABLES
        i_tab_converted_data = it_excel
      EXCEPTIONS
        conversion_failed    = 1
        OTHERS               = 2.
    IF sy-subrc <> 0.
    *   MESSAGE ...
      EXIT.
    ENDIF.
    LOOP AT it_excel ASSIGNING <wa_excel>.
    *  Do something here...
    ENDLOOP.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      PERFORM filename_get CHANGING p_file.
    *       FORM filename_get                                             *
    FORM filename_get CHANGING p_in_file TYPE rlgrap-filename.
      DATA: l_in_file  TYPE string,
            l_filetab  TYPE filetable,
            wa_filetab TYPE LINE OF filetable,
            l_rc       TYPE i,
            l_action   TYPE i,
            l_init_dir TYPE string.
    * Set the initial directory to whatever you want it to be
      l_init_dir = 'C:\'.
    * Call the file open dialog without multiselect
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          window_title            = 'Load file'
          default_extension       = '.XLS'
          default_filename        = l_in_file
          initial_directory       = l_init_dir
          multiselection          = 'X'
        CHANGING
          file_table              = l_filetab
          rc                      = l_rc
          user_action             = l_action
        EXCEPTIONS
          file_open_dialog_failed = 1
          cntl_error              = 2
          error_no_gui            = 3
          OTHERS                  = 4.
      IF sy-subrc <> 0.
        REFRESH l_filetab.
      ENDIF.
    * Read the selected filename
      READ TABLE l_filetab INTO wa_filetab INDEX 1.
      IF sy-subrc = 0.
        p_in_file = wa_filetab-filename.
      ENDIF.
    ENDFORM.                    " filename_get
    Regards,
    Jamie

  • Alert : long text not complete

    Hi all,
    I manage specific alerts in my BPM.
    I have defined it as "dynamic text" alerts in ALRTCATDEF.
    These alerts are well thrown by PI however I can see only the first caracter of the long text.
    My version is PI 7.0 SP8.
    Is it a known issue ?
    Thanks in advance,
    J.C.

    Hi JC,
    This may not be an issue at all...and just the way alerts are shown in the inbox.
    Just right click on the table cell where you see the first character of the text, right click and select "view source".
    You should be able to see the long text within the HTML source.
    Though not a solution but this can be used to test out the alert.
    Regards
    Gaurav
    PS: Please reward points for helpful answers.

  • Alerts Long text

    Hi
       I have configured alerts for a BPM Scenario. I have enabled the dynamic text . I am able to see the alert in the Alert inbox, But in the long text it shows only one character.
    I am working in XI 7.0 SP level 8. What could be the problem.
    With regards
    Varadharajan

    Hi
    835031 cannot solve the problem as this note is for 2004s SP1 and Vardharajan is on SP08 same as me and I am having the same problem. But still haven't got any solution.
    Let me know Vardharajan if you have solved this problem!
    -K

  • Blank Long Text in BPM alerts

    Hello Experts,
    I had configured dynamic alerts in BPM (of PI 7.1) and I am raising the same through Control step. The configuration is similar as described in blog
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    Accordingly the alert is getting generated from BPM control step.But my problem is whenever i use container variable (&variable&), i am receiving blank long text in email and in alert inbox. It works fine with hard-coded text from BPM.
    I could see the container variable value in SXMB_MONI but somehow it loses Long text.
    Thanks in advance.
    regards
    rajeev

    Hi rajeev,
      Make sure that your variable name is correctly spelt in all the places.
    check the assignment step when you pass the value to the variable.
    You can try re assigning the value to the variable afresh.
    Make sure you have the dynamic text option checked in the Alert Category.
    Regards,
    Ravi Kanth Talagana

  • Alert Long Text

    Hi all!
    I have a problem when a BPM throws an alert with dynamic text from a control step:
    - If the control step have the next text: &var_container&
      The long text in the alert inbox is filled with the content of the var_container.
    - If the control step have the next text: Message with id &var_container& failed
      The long text in the alert inbox is empty...
    Thanks in advance,
    Roberto

    Message ID is not accessible inside a BPM and hence the problem.
    Why is not accessible -> Look at this really interesting thread.
    Re: Message id in BPM
    What is the solution - workaround from Michal
    /people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
    Regards
    Bhavesh

  • Alert long text not visible

    Hello,
    I have a problem triggering an alert with dynamic text out of a bpm. The alert is triggered correctly (I can't see any dump in tzhe log files), I can see the alert in my alert inbox, but the long text isn't filled. I'm using SAP Netweaver 2004s SP 9 (SAP Basis 7.00).
    Then I tried the same preocedure in a SAP Netweaver 2004 SP 15 (SAP Basis 6.40) with the same settings, and it worked fine. I can see the long message in the alert inbox. The only differnce was, that in 2004s the alert classification 'Webflow Alert' didn't exist, so I had to create it.
    Does anybody know, where the problem could be?
    Thanks,
    Thomas

    Hi,
    Just check that the length of the message is not more then the required limit. If thats the case it sometimes does not show the message.
    Else, just try re-activating that step again by making some dummy chnages.
    This problem happens at times when you are using dynamic variables .
    Regards
    Vijaya

  • Pass a varaible (Place holder) in the Long text of message class

    Hi Gurus,
    My requirement is to display an error messages using message class for better understanding I am using Long text will it possible to pass a variable (place holder) in the long text if possible means suggest how to pass the variable (we need to put any &1 like this similar we do in message class) or only we can display only text in long text.
    Confirm the same
    Regards
    Dhanoo

    hiii
    Create new message in message class with text like material number & is not valid
    Here  .
    & symbol is the place holder. you can dynamically pass some thing to this message. In your validation do like this.
    MESSAGE e001 WITH wa_matnr.
    Here wa_matnr is the input field value.Display this message under appropriate events.
    eg: AT SELECTION-SCREEN ON wa_matnr  in case of reports.
    reward if useful
    thx
    twinkal

  • Issue in updating the long text for Routings

    Hello,
    I am developing an onject to update Long text(which are already created but need to be overwritten).
    Can this be done using /SAPDMC/SAP_LSMW_IMPORT_TEXTS via LSMW.
    I developed an LSMW witht this, I am able to retrieve the required field for name which are needed as key from tables.But how can I dynamically update this field for the correct value relating the operation.One issue regarding this I am facing is that in conversion, I have operation number in the source field and have maintained source field according to source file but use values just to retrieve correct value for name field in mapping,it is taking only the last operation number into account from the source file itself and not earlier values.please guide.
    Regards

    yes you can use /SAPDMC/SAP_LSMW_IMPORT_TEXTS via LSMW
    In the SAP system, there is no uniform rule for the structure of the actual text key Textname. However, in order to be able to maintain the structures and fields, you have to know what the structure of text name as well as the values for text object and text ID are.
    Procedure
           1.      Display a text of the required text type.
           2.      Branch to the editor.
           3.      Choose Goto > Header.
    The Text header dialog box appears.
    Result
    In the Text header dialog box, you gather the required information.

  • Messages in long text

    Hello Everyone,
    How to pass the dynamic values in the long text.

    hi usha,
    welcome to sdn,
    first of all your question is not clear,
    u can define one local variable with data type string then u can pass into that.
    ex: data: l_text type string.
    reward points if helpful,
    regards,
    seshu.

  • ALV Classic - How to extract the selection long text of TYPE LVC_T_FCAT?

    DATA: e_dyntab_tb  TYPE lvc_t_fcat,
              e_dyntab_wa TYPE lvc_s_fcat,
              t_line_reftab   TYPE REF   TO data.
    *Populate ALV fiels of TYPE LVC_T_FCAT
    MOVE: c_matnr      TO e_dyntab_wa-fieldname.
    MOVE: c_material   TO e_dyntab_wa-scrtext_l.
    APPEND e_dyntab_wa TO e_dyntab_tb.
    LOOP AT t_hwk_date ASSIGNING <fs_hwk_date>. "t_hwk_date is DYNAMIC
        CONCATENATE c_hwk <fs_hwk_date>-index           INTO  e_dyntab_wa-fieldname.
        CONCATENATE c_hwk <fs_hwk_date>-calender_wk INTO  e_dyntab_wa-scrtext_l.
        APPEND e_dyntab_wa TO e_dyntab_tb.
    ENDLOOP.
    *Create dynamic itab from dynamic ALV output
    CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = e_dyntab_tb          "Pass alv_fcat here
        IMPORTING
          ep_table        = i_reftab.
    * Create Dynamic Work Area and assign to FS
    ASSIGN i_reftab->* TO <fs_final_itab>.      "Assigning the Final Table,
    CREATE DATA t_line_reftab LIKE LINE OF <fs_final_itab>.
      ASSIGN t_line_reftab->* TO <fs_line_reftab>.  "Create a Work Area
    QUESTION:
    e_dyntab_wa-fieldname   = this is the fieldname / column heading for the dynamic internal table
    e_dyntab_tb-scrtext_l     = this "should" be the 1st row(Column Heading Title) for the dynamic itab
                                        = this data will be used for MS Excel Functionality as always as the first row as
                                           column heading in the MS Excel
    Legend:
    How can I extract the entries of e_dyntab_tb-scrtext_l to an internal table containing the same structure of <fs_line_reftab>?

    Maybe I missed something, but you already have the long text for the columns in your FCAT structure.  The problem you will have is that you will NOT be able to place those fields in the table that you have created because the headings will always be text and the columns may or may not be text (i.e. placing a heading into a numeric).  You will be required to use a different structure.
    Since you are writing a custom export, you will need to do one of the following:
    Option A:
    1.  Retrieve the layout from the ALV as it will not necessarily be the same as when the original was created.  The user may have moved a column or hidden one.
    2.  Create a structure for the export file that has only text fields.  It should contain all of the columns from the FCAT.  This can be done by creating another dynamic table and using the original FCAT and current layout.
    3.  Insert the headings as the first row of the export file.
    4.  Loop thru the internal table, compare it with the layout, and only insert the requested records into the export file.
    5.  Export the file.
    or Option B:
    1.  Make sure the internal table has only text fields and insert the headings as the first record.
    2.  Insert all other records with fields converted to alphanumeric.
    3.  Use the standard export function.
    Hope this helps,
    Brian

  • Formatting Long Text gets disturbed during Adobe form Printing

    Hi Guru's,
    I have developed Adobe Form for PM work Orders (IW32) printing using Code u2018SFPu2019. The Order Contains order Long Text or Operation Long Text.
    In my case the user maintains some table like structure in the Long text .e.g. ( Here the tab means the actual space and the text length can vary. So basically he will draw a table cells one below another by adjusting tab's)
    Text 2 Tab Tab   |___|___|
    Te TabTab Tab |___|___|
    I am reading this using READ_TEXT and it gets perfectly read.( I mean the tab positions will be intact. Also it will remain intact by the time ADS will get called)
    When i submit this for generating Adobe Form the formatting of the tab positions gets disturbed and it prints something like
    Text 2 |___|___|
    Te |___|___|
    How to keep the Tab positions intact while printing the Adobe Form? For SAP script printing it comes perfectly but for Adobe form printing it gets disturbed. Any idea how to handle this situation?
    Thanks
    Pradeep

    Tough request!
    You have to calculate the widths of texts so that to determine to which tab position refers each tab character.
    You might print the sapscript to OTF format, and read the OTF to get the exact positions (based on top left border of the page).
    But now comes the second big issue: how to position a text in Adobe form at a dynamic position. That, I don't know. You might ask a question about this 2nd issue in forum

Maybe you are looking for

  • Lumia 928 Won't connect to facebook chat

    For a couple weeks, my Lumia 928 will not connect to Facebook chat regardless of being connected to data or WiFi. Any troubleshooting tips?

  • Page Navigation view/editor Bug?

    So if I have a lot of navigation components on a page (links and buttons, including several tables with page buttons on them) and I am in the Page Navigation view, there are a bunch that are off the bottom of the page when I want to click-and-grunt (

  • Log-In Using Wireless Phone Number

    I "normally" log in to my accounts through My Verizon. This USED to give me access to BOTH my wireless and my residential (FiOS) accounts. Now, when I log in through My Verizon, I can access my wireless account, but when I try to access my residentia

  • The travails of method getAnnotation in class Declaration (apt programming)

    well the problem is at least documented: you are in trouble if you want to read a value of an annotation which happens to be a class ! I can vaguely understand the reason.... but now what do I do if I need to get such a value? different hacks spring

  • AOL Address book sync

    Is there a way to sync my AOL address book (not the Apple App) with Yahoo?