XI Alert Text (Modifyinng long text using BADI ALERT_MODIFY_TEXT)

Hello, Has anyone been able to successfully implement the BADI ALERT_MODIFY_TEXT ? 
The export parameters of the BADI contains an internal table called CT_LONG_TEXT which I am updating with a simple "hello world" message.   However, I cannot see this text inside the long-text field in me Alert Inbox in the RWB.
I am certain that the badi is being invoked (I am inserting an entry to a custom table to ensure that - and also, I have written out the original contents of CT_LONG_TEXT  which contains the original long text which I configured in ALRTCATDEF), however, no changes to the CT_LONG_TEXT seems to go through..
Is there anything else I need to do?  In my ALRTCATDEF config, I have also tried to use the "Dynamic Text" option but to no avail.
Thanks in advance for your help.

Post Author: RScipione
CA Forum: Performance Management and Dashboards
I'll reply to my own post so that others might benefit from the response I got from customer support.
It is possible to use functions in alert text, but the function must be preceeded by #f and followed by %.  So to get the example from my previous post working, I used:
#f MetricValue(metric1.id, 0) %
The 'f' is case sensitive by the way.

Similar Messages

  • Creation of short text and long text?

    Hi,
    We create short text by using oe_fnd_attachments_pub.create_short_text_document and oe_fnd_attachments_pub.add_attachment API and to create long text we use fnd_documents_pkg.insert_row .
    Why is it that we have different approaches for creation of short text and long text?
    I know that oe_fnd_attachments_pub.add_attachment is used to attach a short text to some entity,but then why we dont do the same for long text?
    Please lemme knw urgently ...
    Thanks and Regards
    Amar

    Thanks for the help,
    I looked into the document and i got to know few things as to how short and long text are created, but can u tell when the records are inserted into fnd_attached_documents, because i can see that records are inserted into fnd_attached_short_text and fnd_attached_long_text, fnd_documents but i dont see any insertion into fnd_attached_documents, can u lemme knw how and when it is done?

  • How to change Vendor text  in shopping cart using BADI/Function module

    Hi
    If any could help me out that i want to change vendor text using BADI/FMs.
    Using  BADI" bbp_catalog_transfer"   i dint find any parameter for vendor text. please let me know if there any idea to resolve the problem

    Hi,
    you should find the vendor text within the BAdi
    BBP_DOC_CHANGE
    Method for shopping carts
    BBP_SC_CHANGE
    Here you could use the Changing Parameter
    CT_LONGTEXT
    The table contains 2 important fields:
    TDID, where you can identify the type of text, in your case this should be ITXT for standard shopping carts (vendor text within positions)
    TDLINE: which contains the text
    You are now able to change the vendor text directly within this BAdi with standard ABAP methods.
    Best regards
    Andreas

  • 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 ?

  • Field Short Text and long Text not displayed in SKA1 in Se17

    When try to extract chart of account data from SAP using Tcode se17 and table ska1. Short text and G/L acc long text are not displayed where as these are displayed when we use t code se16 and table ska1.
    My client want to use specifically se17 for extracting the data.

    Vineet,
    that's a joke isnt' it ?
    se17 is from SAP-Rel 2.1 or s.th.!
    all jokes aside - the inclusion of text table (here table skat - to table ska1) is only realized with transcations SE16 and SE16N.
    To program this inclusion to se17 is very costly - i think and a modification too!
    hope you can persuade your client
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=iwo3sshliihvcradiegqaw%3d%3d">andreas Mann</a>

  • Problem viewing text in long text field

    Hi,
    I have a long text in the screen and it takes 65 characters per line in the long text field. iam able to populate data in the long text field but the text in the long text field is truncating in between the words as shown below.
    SAP Business One users can access and ru
    n reports by using the UI API provided as
    part of the SAP Business One SDK and the
    Crystal Reports .Net Winform viewer. Rea
    d the new ---
    Could any one suggest how to rectify this, my requirement is to end the lines at spaces like
    SAP Business One users can access and run
    reports by using the UI API provided as
    part of the SAP Business One SDK and the
    Crystal Reports .Net Winform viewer. Read
    the new ---
    Appriciate your time.
    Reward points for useful answer.
    Thanks,
    Sreeni.

    here is how I would do it:
    1) convert the input (short text) table to string
    2) apply this code to the string:
    DATA: lv_text TYPE text40,
              lv_length TYPE i.
    WHILE lv_string IS NOT INITIAL.
      lv_length = 39.
      lv_text = lv_string.
      WHILE lv_text+lv_length(1) NE space AND lv_length GE 0.
           lv_text = lv_text(lv_length).
           lv_length = lv_length - 1.
      ENDWHILE.
      IF lv_length GE 0.
         APPEND lv_text TO lt_short_text.
      ENDIF.
       lv_length = lv_length + 1.
       SHIFT lv_string LEFT BY lv_length PLACES.
    ENDWHILE.

  • Difference betwen short text and long text

    Hi,
    what is the difference between short text, long text and variant.

    Hi,
    Short text is the short description you give for an object or field simlarly long text is the long description for a object or field.
    Short text cannot have lenght more than 20 and long text more than 60.
    Variant means for example if you give certain values as an input in one of your transaction for testing and you want the same values to be used every time you test in that particular screen, then instead of inputting the values again n again you call the variant.
    Hope this helps
    Assign points if useful
    Regards,
    venkat

  • Supplementary text VS long text (PMD)

    Hi,
    Does someone know the difference/advantages of using these document elements in PMDs? They have the same look and feel but the long text "apparently" is not supported.
    I was wondering when this has been incorporated due the lack of documentation about them Parameterizable Documentation Basics - Extended Basic Data - SAP Library
    Regards

    Long texts (the oldoriginal ones, type L) have a restricted content size (112 lines with 72 characters each) and have some issues when it comes to storing and printing text that contains line breaks. To remediate these problems, extended texts (type T) were introduced with 4.72 (for use outside of tabular structures) / 6.00. These fields are stored differently, have virtually no size restriction and preserve line breaks. For new documents, you should always use type T. Be aware that you need to use generator version 2 for this, the new texts won't work with generator version 1 (which is no longer supported anyway).

  • Short Text and Long Text for WBS

    HI All,
    I am working on Interface Project where I need to enter Short description and long text for a WBS with external text.
    Let me know if any FM Module is exist for same where I can Put this Short Description and Long Text seprately for a WBS Element.
    Regards,
    Atul R. Rajmane

    Hi Atul,
    I think you can enter short description & long text seprately for a WBS while creating entire struture of project in PS only. I don't think other than PS you will be able to enter short & long text for individual WBS.
    Regards,
    Sandeep

  • ORG UNIT TEXT Datasource (Long Text)

    Hi All !
    In RSA6, for the datasource 0ORGUNIT_TEXT, I can see short & medium text. But when checked the extractor structure ROTEXTSTR1, there I can see all the three text short, medium & long text. Requirement is to bring long text from the ECC. How to bring the long text from the extractor structure in the Datasource?
    With Regards
    Reks

    Check in the Table ROOSFILED , you can see the field long text (TXTLG) --  the object selection is set to 'A'
    where A -  Field in OLTP and BW Hidden by SAP.
    Try to change the entry of selection to X and activate the entry in the table.
    Where X - Selection Adjustable, Visibility Set.
    Hope this helps...

  • Adding standard Text as long text in QC01 of General data Section

    Hi ,
    I want to Append standard text in Certificate Profile Creation(QC01)of General data section. Can you suggest any Exit.
    Standard Texts created by SO10 Transaction.
          Thanks in advance

    Dear Raynard,
    Raynard Coscolluela wrote:
    As far as I can remember the Travel Request was conceptualize to be a simple ESS Form that's why most of the labels here are hard coded and didn't use OTR.
    I have to disagree. None of the labels, except this one are hard-coded via Personalization-Means and most Texts come indeed from the OTR, the Label T_ACTYPE_LABEL also has an entry in OTR (see my posts above) but is only non-changable by enhancements because the component configuration was "abused" to overload the OTR and coding in runtime. I still can't really believe this one is intentional....
    Raynard Coscolluela wrote:
    We don't recommend changing the label text in Web Portal as it can lead into inconsistency incase a new update will be > deliver by SAP into this fields. So yes this is a consider a modification.
    This will be an issue since the word "Spesen" which is a specific German one for "Expenses" is juridically wrong if used within a specific MOREI of the Public Sector. But this is another issue and I don't want to elaborate on this one here.
    Raynard Coscolluela wrote:
    My colleague who participate in this thread is still on vacation and she ask me to assist here.
    I see, and I'm glad you did assist here. Give Sally my regards.
    This one is answered then, if not really "solved". I'll close the OSS message now.
    thanks a lot and best regards,
    Lukas

  • How to upload Methods long text using LSMW

    Hi,
    I am using LSMW - direct input program (Object 0001 Method - 0001)  to upload methods long text.
    I have two files with header and item as below
    Header file:
    Object : QPMETHODE
    ID : QMTT
    Item_id : link between header and item (method number)
    NAME: Passing concatenated value of  "sy-mandt, company code, Method number, 6 char space for version and language"
    Language : E or S.
    Item file:
    Item_id : link between header and item (Method number)
    Text Format : blank
    Text line : long text
    Here the problem is, after converting the data i have run the direct input program to upload the long text, but it is not updated in the transaction QS34.
    Could any one help in this?
    Thanks & Regards,
    Suresh.

    Hello,
    The field QMTT-LTEXTKZ is a flag which says whether Inspection method has a long text associated with it at transaction level. You are not able to see the Long text in the transaction though you have loaded & able to see the long text by FM READ_TEXT because in your case the field QMTT-LTEXTKZ = ' '. so I suggest you to load the long text in following way.
    Step 1: make a small recording to Tx: QS33 - push the long text button to get the long text editor. in this editor, on second line of the tag, put a * and save the transaction. By this way you put a X in field QMTT-LTEXTKZ & hence register a longtext for Inspection Method.
    Step 2: proceed with the loading the Long text with object 0001as you mentioned.
    Now you will be able to see the LT on the transaction level.
    Hope this helps.
    Regards, Murugesh

  • CATS Short Text & Long Text

    Hello Experts,
    How are "Short Text" and "Long text" used in CATS? I thought that these were supposed to be two separate text fields, but when I make an entry in the Long text field, the value shows up in the Short Text field.
    Are these two separate fields? Any ideas how to use both Short Text and Long text and not have the value copied from one to the other?

    Hi,
    You can Create a rule in Alert Configuration based on the <b>error code</b> under "where did the error occur".
    Based on this you can trigger the required Alert category.

  • Smart form - Long text in all the items?

    Hello gurus,
    We are using something similar to smart form (I don't know the exactly name, like pretty form).
    So, we are using a long text in the "Item text" by item.
    Sometimes the item can be more than 20 lines in the "Item text" as long text and sometimes not.
    Example: I have a PO with 4 items:
    Item 1 - Without Item text.
    Item 2 - With 20 lines in the Item text
    Item 3 -With 1 line in the Item text
    But, when the PO is printed, the PO form has to all the items 20 lines by item.
    That's mean that if in the first item I don't have item text, the first item is showed with a very long space in blank (space of 20 lines).
    The secont item is showed correctly.
    The third item has one line wrote and 19 lines in blank, like a long space in blank.
    How we can manage this situation in the format?
    How we can program these spaces to see in the format to the first item without the space in blank and to the third item only 1 item and the other 19 lines without being shown?
    Can you help me please a.s.a.p.?
    Thanks for your time and I will wait the answer.
    Regards,
    Sandra Palomo

    Hi ,
    Can you please let me know the solution implemented ?

  • Creation of New Message by Customer - No Long Text

    I am creating test messages as an end-user in our Service Desk. After I send the message and review it, the long text has disappeared. Has anyone else experienced this?
    Thanks.
    Jackie

    Hi Jackie,
    Is your Basis part of the message is getting created.
    Are you using the standard transaction type.
    Check the Text in the Transaction data ---Overview tab
    Both short text and long text should be present with other system details.
    Regards
    Prakhar

Maybe you are looking for