Fill container for alerts

Hi.
I created alert that is triggered via action. The alert now displays only some text that i defined. But now I would like to get in that text also the value of transaction number of task from witch alert was triggered.
I saw that there is the option on alerts to define container (SPRO > CRM > basic functions > alert management > define alert categories) but I don't now how to do it.
I added in container BOR object type BUS2000125 and in text the expression &PROCESS_TYPE.OBJECT_ID&, but looks like that is not enough.
Help needed.

hi. There is no new note that I would know about. However I managed to solved the problem via steps from old note, but had to do quite a coding on Z version of TRIGGER_ALERT method.
This is my code source:
METHOD ZTRIGGER_ALERT .
  DATA: lt_container       TYPE swconttab,
       ls_container       TYPE swcont,
       lv_kind_ref        TYPE crmt_object_kind,
       lv_guid_ref        TYPE crmt_object_guid.
  DATA: lt_head_guids      TYPE crmt_object_guid_tab,
        lt_item_guids      TYPE crmt_object_guid_tab,
        lt_req_obj         TYPE crmt_object_name_tab,
        ls_orderadm_h_ref  TYPE crmt_orderadm_h_wrk,
        lt_orderadm_h_ref  TYPE crmt_orderadm_h_wrkt,
        lv_header_ref      TYPE crmt_object_guid,
        ls_orderadm_i_ref  TYPE crmt_orderadm_i_wrk,
        lt_orderadm_i_ref  TYPE crmt_orderadm_i_wrkt.
  DATA: lv_message         TYPE char80,
        lv_preview         TYPE char1.
  DATA: lv_category        TYPE salrtdcat,
        lt_partner         TYPE crmt_partner_external_wrkt,
        ls_partner         TYPE crmt_partner_external_wrk,
        lt_recipients      TYPE TABLE OF salrtsrcp,
        ls_recipients      LIKE LINE OF lt_recipients,
        lv_guid_32         TYPE sysuuid_c.
  INCLUDE crm_log_states_con.
  INCLUDE crm_mode_con.
  INCLUDE crm_object_names_con.
  INCLUDE crm_object_kinds_con.
  INCLUDE com_partner_pft3.
* get parameter from reference object
  CALL METHOD me->get_ref_object
    EXPORTING
      io_appl_object = io_appl_object
      ip_action      = ip_action
      ip_preview     = ip_preview
      ii_container   = ii_container
    IMPORTING
      ev_guid_ref    = lv_guid_ref
      ev_kind_ref    = lv_kind_ref
      et_container   = lt_container
      ev_preview     = lv_preview.
* not relevant iv preview is active
  IF NOT lv_preview IS INITIAL.
    MESSAGE s007(crm_action).
    EXIT.
  ENDIF.
* fill guid of the source document
  REFRESH: lt_head_guids, lt_item_guids.
  IF lv_kind_ref EQ gc_object_kind-orderadm_h.
    INSERT lv_guid_ref INTO TABLE lt_head_guids.
  ELSEIF lv_kind_ref EQ gc_object_kind-orderadm_i.
    INSERT lv_guid_ref INTO TABLE lt_item_guids.
  ENDIF.
* fill requested object
  INSERT gc_object_name-orderadm_h INTO TABLE lt_req_obj.
  INSERT gc_object_name-orderadm_i INTO TABLE lt_req_obj.
  INSERT gc_object_name-partner    INTO TABLE lt_req_obj.
* read relevant itmes of the source document
  CALL FUNCTION 'CRM_ORDER_READ'
    EXPORTING
      it_header_guid       = lt_head_guids
      it_item_guid         = lt_item_guids
      iv_only_spec_items   = true
      it_requested_objects = lt_req_obj
    IMPORTING
      et_orderadm_h        = lt_orderadm_h_ref
      et_orderadm_i        = lt_orderadm_i_ref
      et_partner           = lt_partner
    EXCEPTIONS
      document_not_found   = 1
      error_occurred       = 2
      document_locked      = 3
      no_change_authority  = 4
      no_display_authority = 5
      OTHERS               = 6.
  IF sy-subrc NE 0.
*   write message into ppf-log
    CALL METHOD cl_log_ppf=>add_message
      EXPORTING
        ip_problemclass = '2'
        ip_handle       = ip_application_log.
*   set return status
    rp_status = '2'.
    EXIT.
  ENDIF.
  IF lv_kind_ref EQ gc_object_kind-orderadm_h.
    lv_header_ref = lv_guid_ref.
  ELSEIF lv_kind_ref EQ gc_object_kind-orderadm_i.
    READ TABLE lt_orderadm_i_ref INTO ls_orderadm_i_ref INDEX 1.
    lv_header_ref = ls_orderadm_i_ref-header.
*   get business object to built URL
    CALL FUNCTION 'CRM_ORDERADM_H_READ_OW'
      EXPORTING
        iv_orderadm_h_guid     = lv_header_ref
      IMPORTING
        ev_object_type         = ls_orderadm_h_ref-object_type
        ev_logical_system      = ls_orderadm_h_ref-logical_system
      EXCEPTIONS
        admin_header_not_found = 1
        OTHERS                 = 2.
    IF sy-subrc EQ 0.
      ls_orderadm_h_ref-guid = lv_header_ref.
      INSERT ls_orderadm_h_ref INTO TABLE lt_orderadm_h_ref.
    ELSE.
*     write message into ppf-log
      CALL METHOD cl_log_ppf=>add_message
        EXPORTING
          ip_problemclass = '2'
          ip_handle       = ip_application_log.
*     set return status
      rp_status = '2'.
      EXIT.
    ENDIF.
  ENDIF.
* fill alert category
  READ TABLE lt_container INTO ls_container
       WITH KEY element = 'CATEGORY'.
  IF sy-subrc EQ 0.
    lv_category = ls_container-value.
  ENDIF.
* check mandatory fields
  IF lv_category IS INITIAL.
*   write message into ppf-log
    MESSAGE ID 'CRM_ACTION' TYPE 'E' NUMBER 004
          WITH 'CATEGORY' INTO lv_message.
    CALL METHOD cl_log_ppf=>add_message
      EXPORTING
        ip_problemclass = '2'
        ip_handle       = ip_application_log.
*    set return status
    rp_status = '2'.
    EXIT.
  ENDIF.
* now filter the employees.
  LOOP AT lt_partner INTO ls_partner
       WHERE partner_pft EQ gc_partner_pft-employee.
    CLEAR: ls_recipients.
    CALL FUNCTION 'BP_CENTRALPERSON_GET'
      EXPORTING
        iv_bu_partner_guid  = ls_partner-bp_partner_guid
      IMPORTING
        ev_username         = ls_recipients-uname
      EXCEPTIONS
        no_central_person   = 1
        no_business_partner = 2
        no_id               = 3
        OTHERS              = 4.
    IF sy-subrc EQ 0 AND
      ls_recipients-uname IS NOT INITIAL.
      INSERT ls_recipients INTO TABLE lt_recipients.
    ENDIF.
  ENDLOOP.
* don't send the alert twice to the same user
  SORT lt_recipients BY uname.
  DELETE ADJACENT DUPLICATES FROM lt_recipients COMPARING uname.
* supply key information
  READ TABLE lt_orderadm_h_ref INTO ls_orderadm_h_ref INDEX 1.
  IF sy-subrc EQ 0.
    lv_guid_32 = ls_orderadm_h_ref-guid.
    CALL FUNCTION 'SWC_ELEMENT_SET'
      EXPORTING
        element   = 'OBJKEY_GUID'
        field     = lv_guid_32
      TABLES
        container = lt_container
      EXCEPTIONS
        OTHERS    = 1.
    CALL FUNCTION 'SWC_ELEMENT_SET'
      EXPORTING
        element   = 'OBJKEY_BOR_OBJECT'
        field     = lv_guid_32
      TABLES
        container = lt_container
      EXCEPTIONS
        OTHERS    = 1.
    CALL FUNCTION 'SWC_ELEMENT_SET'
      EXPORTING
        element   = 'OBJKEY_BOR_OBJECT_TYPE'
        field     = ls_orderadm_h_ref-object_type
      TABLES
        container = lt_container
      EXCEPTIONS
        OTHERS    = 1.
    CALL FUNCTION 'SWC_ELEMENT_SET'
      EXPORTING
        element   = 'OBJKEY_LOGICAL_SYSTEM'
        field     = ls_orderadm_h_ref-logical_system
      TABLES
        container = lt_container
      EXCEPTIONS
        OTHERS    = 1.
  ENDIF.
* trigger alert
*{   INSERT         CRDK903440                                        1
data: object_id(10) type c.
data: lt_date_wrkt type CRMT_DATES_WRKT.
data: wa_date_wrk type CRMT_DATES_WRK.
data: lt_date type CRMT_DATE_WRKT.
data: wa_date type CRMT_DATE_WRK.
data: ZTASK_PLAN type SC_DATEFRO.
data: ZTASK_REQUIR type SC_DATEFRO.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
  EXPORTING
    input         = ls_orderadm_h_ref-object_id
IMPORTING
   OUTPUT        = object_id.
* document number
CALL FUNCTION 'SWC_ELEMENT_SET'
  EXPORTING
    element             = 'OBJECT_ID'
    field               = object_id
  tables
    container           = lt_container
  EXCEPTIONS
    TYPE_CONFLICT       = 1
    OTHERS              = 2.
*document description
CALL FUNCTION 'SWC_ELEMENT_SET'
  EXPORTING
    element             = 'OBJECT_DESCRIPTION'
    field               = ls_orderadm_h_ref-description
  tables
    container           = lt_container
  EXCEPTIONS
    TYPE_CONFLICT       = 1
    OTHERS              = 2.
*document dates
refresh lt_date_wrkt.
CALL FUNCTION 'CRM_DATES_READ_DB'
  EXPORTING
    IV_REF_GUID                         = ls_orderadm_h_ref-guid
    IV_REF_KIND                         = 'A'
  IMPORTING
    ET_DATE_WRKT                        = lt_date_wrkt
  EXCEPTIONS
    PARAMETER_ERROR                     = 1
    ENTRY_DOES_NOT_EXIST                = 2
    AT_LEAST_ONE_RECORD_NOT_FOUND       = 3
    OTHERS                              = 4.
refresh lt_date.
CALL FUNCTION 'CRM_DATES_READ_SINGLE_OW'
  EXPORTING
    iv_ref_guid                = ls_orderadm_h_ref-guid
    iv_ref_kind                = 'A'
*   IS_LOGICAL_DATE_KEY        =
  IMPORTING
*   ES_DATE_WRK                =
   ET_DATE_WRK                = lt_date
  EXCEPTIONS
    LINK_DOES_NOT_EXIST        = 1
    ENTRY_DOES_NOT_EXIST       = 2
    OTHERS                     = 3.
clear wa_date.
read table lt_date
with key APPT_TYPE = 'ORDERPLANNED'
into wa_date.
ZTASK_PLAN = wa_date-date_from.
if wa_date is initial.
clear wa_date_wrk.
read table lt_date_wrkt
with key APPT_TYPE = 'ORDERPLANNED'
into wa_date_wrk.
ZTASK_PLAN = wa_date_wrk-date_from.
endif.
clear wa_date.
read table lt_date
with key APPT_TYPE = 'ZTASK_REQUIR'
into wa_date.
ZTASK_REQUIR = wa_date-date_from.
if wa_date is initial.
clear wa_date_wrk.
read table lt_date_wrkt
with key APPT_TYPE = 'ZTASK_REQUIR'
into wa_date_wrk.
ZTASK_REQUIR = wa_date_wrk-date_from.
endif.
CALL FUNCTION 'SWC_ELEMENT_SET'
  EXPORTING
    element             = 'ORDERPLANNED'
    field               = ZTASK_PLAN
  tables
    container           = lt_container
  EXCEPTIONS
    TYPE_CONFLICT       = 1
    OTHERS              = 2.
CALL FUNCTION 'SWC_ELEMENT_SET'
  EXPORTING
    element             = 'ZTASK_REQUIR'
    field               = ZTASK_REQUIR
  tables
    container           = lt_container
  EXCEPTIONS
    TYPE_CONFLICT       = 1
    OTHERS              = 2.
*}   INSERT
  CALL FUNCTION 'SALRT_CREATE_API'
    EXPORTING
      ip_category            = lv_category
      ip_wait_on_commit      = false
    TABLES
      it_recipients          = lt_recipients
      it_container           = lt_container
    EXCEPTIONS
      alert_category_unknown = 1
      alert_no_recipients    = 2
      alert_error_unknown    = 3
      destination_undefined  = 4
      communication_failure  = 5
      system_failure         = 6
      OTHERS                 = 7.
  IF sy-subrc NE 0.
*   write message into ppf-log
    CALL METHOD cl_log_ppf=>add_message
      EXPORTING
        ip_problemclass = '2'
        ip_handle       = ip_application_log.
*   set return status
    rp_status = '2'.
    EXIT.
  ENDIF.
* register new document for saving
  CALL METHOD me->register_for_save
    EXPORTING
      iv_source_header_guid = lv_header_ref
      iv_recursive_det      = false
      ii_container          = ii_container
      ip_application_log    = ip_application_log
    IMPORTING
      rp_status             = rp_status.
ENDMETHOD.                    "

Similar Messages

  • Container for alert category could not be loaded

    Hi All,
    I am having very strange issue with container(Variables).
    I defined Alert category, created container elements and I was using them in long and short text. They were working fine, but now if I open Alert category and click on container tab, its says: Container for alert category could not be loaded and I dont see container elements that I created before. Same thing happened before and I re-created those container variables. But now I have many Alert categories. Is this an existing issue? or does any body having similar situaltion? Can anybody please provide information on this.
    Thank you,
    Indrasena

    Hi Moorthy,
    Thanks for your quick reply . We are on WAS 6.40,SP16, but SAP note 656488 is released on 01.09.2003 for 620, it should have been implemented alreay. Do you think we still need to implement that???
    Thank you,
    Indrasena

  • Payload field value in container for alert

    Hi All,
    I am configuring Alerts for my client.I have to insert a value of one of the field from payload in the alert long message.
    I have gone through SDN to search for any blogs.
    1) I dont want to use BPm
    2) Other option of using RFC lookup in mapping is not feasible.
    Does any one else has any other idea about implementing the same.I could see some System Fields  like XPATH_GET_VALUE in the alert category.But ,how can we use it?
    Thanks
    Nidhi

    If you are using the Alert category definition of SAP PI
    there are default container values that can be used to include
    data in the alert message.
    Refer to: [Alert Category definition|http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm]
    this should be the first place to look for work methods and features.

  • How to fill data in reporting agent for alert

    Dear friends
            i use alert for MM module , i can set this query in reporting agent and also maintain variant for this query.
            i can scheduling this alert. Scheduling is finished with no error but i am not geting any data.
          using this variant i can run this query in rsrt and BX , it give some result.
           so my que. is any other setting for alert or give me setp for creating alert.

    Palav,
    Go thru the link for Broadcasting settings.
    http://help.sap.com/saphelp_nw04/helpdata/en/aa/359840dfa5a160e10000000a1550b0/frameset.htm
    Cheer's
    HVR.

  • Problem using multiline container in Alert Category

    Hello, experts!
    Could you please suggest me how to solve the following issue.
    I have userdefined multiline container MY_CONTAINER with two elements FIELD (stores name of field) and VALUE (stores value of field). This container is filled in runtime by means of BADI extension. So in transaction ALRTDISP filled container looks like:
      MY_CONTAINER
          MY_CONTAINER[1]
              FIELD    SystemCode
              VALUE    42
          MY_CONTAINER[2]
              FIELD    Key
              VALUE    0292383728232
          MY_CONTAINER[3]
              FIELD    State
              VALUE    1
          ...and so on. Number of filled elements of container is unknown.
    I need to add the contents of this container to Long text of Alert Category in form of:
          SystemCode: 42
          Key: 0292383728232
          State: 1
    ...and so on.
    I added MY_CONTAINER on the Containers tab of my alert category. And in Long text included the following expression:
          &MY_CONTAINER[].FIELD[]&: &MY_CONTAINER[].VALUE[]&.
    But in long text it looks like:
          SystemCode Key State ...: 42 0292383728232 1 ...
    If the expression is like
          &MY_CONTAINER[].FIELD& - &MY_CONTAINER[].VALUE&
    then long text contains only the first element:
          SystemCode: 42.
    Does anybody know how to solve this problem?
    I think I need to use expressions (something like FOR-loop) for filling Long Text in Alert Categories. Is it possible?
    BR,
    Vika

    Hi Experts,
    still trying to work out but couldn't understand the behaviour.
    <b>If the Long text :</b>
    Error: &SXMS_ERROR_CODE& <b>of category &SXMS_ERROR_CAT&</b> was found in a message &SXMS_MSG_GUID& from the service &SXMS_FROM_SERVICE&  <b>and  Interface &SXMS_FROM_INTERFACE&</b>
    to test I am running the program <b>RSALERTTEST</b>
    <b>Msg got thru E-mail is </b>
    Error:  and category:<b> &SXMS_ERROR_CAT&</b> was found in a message  from the service  and Interface
    <b>
    And when I change the Long text</b>
    Error: &SXMS_ERROR_CODE& <b>and &SXMS_ERROR_CAT&</b> was found in a message &SXMS_MSG_GUID& from the service &SXMS_FROM_SERVICE& and Interface &SXMS_FROM_INTERFACE&
    After running the program <b>RSALERTTEST</b>
    <b>
    E-mail msg</b>
    Error:  and was found in a message  from the service  and Interface <b>&SXMS_FROM_INTERFACE&</b>
    coudn't able to understand why it is displaying the container variable as is in the mail.
    checked all the Alert Framework configuration, Everything looks good.
    Thank you,
    <b>MK</b>

  • TCodes for Alerts

    Hi Gurus,
    Please provide me the all the TCodes which are required while dealing with alerts?
    Thnaks in Advance
    Faisal.

    Hi,
    This is how we configure
    Define an alert category, Create alert category (TCODE ALRTCATDEF with authorization SAP_XI_ADMINISTRATOR)
    Provide Details Receiver,Title , Test and container variable that are filled at runtime
    Follow up activity
    Create rule (Rule name, Alert Category that needs to be used, required error category and error code)
    Additional message attributes for sender and receiver and choose add rule
    Refer these links
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    Basics that cover mostly everything
    Alerts
    http://help.sap.com/saphelp_nw04/helpdata/en/da/a3a7408f031414e10000000a1550b0/frameset.htm
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    For raising an alert you need to first configure the alert please follow the below weblog written by Michal Krawczyk
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    Configuration steps are: go to transaction ALRTCATDEF
    1) Define Alert Category
    2) Create container elements which are used for holding an error messages.
    3) Recipient Determination.
    Alert can be triggered in different ways.
    1) Triggering by Calling a Function Module Directly.
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    2) Triggering by Calling a Function Module in the Workplace Plug-In.
    3) Triggering with an Event Linkage.
    4) Triggering with the Post Processing Framework (PPF) or Message Control (MC)
    5) Triggering from a Workflow.
    6) Triggering from CCMS with autoreaction.
    7) Triggering from BPM.
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    /people/community.user/blog/2006/10/16/simple-steps-to-get-descriptive-alerts-from-bpm-in-xi
    8) Triggering alert by configuring a rule from RWB: This is used for sending the mapping and adapter related errors.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/56/d5b54020c6792ae10000000a155106/content.htm
    tcodes for alerts.
    ALRTCATDEF Editing Alert Categories
    ALRTCATDEF_SEL Define Alert Category
    ALRTDISP Display Alerts
    ALRTINBOX Alert Inbox
    ALRTMON Alert Monitor
    Hope this will help you.
    regards
    Aashish Sinha
    PS : reward points if helpful

  • How to estimate (hour) for Alerts in SAP XI.

    Hi Experts,
    I got alerts configuration assignment for mapping errors, adapter errors and queues in SAP XI/PI, my team lead asked me to provide the estimation time for alerts (alert creation, alerts configuration, alerts testing in Dev, Quality and Prod).
    Can anyone tell me approx estimated time to complete alerts in each environment for one interface and estimated time for basis part (SMTP configuration) also, based on that I will calculate remaining interfaces.
    Thanks for the help.

    Hi,
    For Mapping and adapter errors this is quite straightforward...
    i.e create Alert category (30 min max with all container variables..) and then create the alert rule (5 min)
    test the scenario for all kind of possible errors..(half a day)
    for queue errors you need to use CCMS alert mechanism which needs some time...
    if want to go for some framework mechanisms need some developments ...which will take lot of time depending on other factors though...
    based on the above you can calculate the effort required for begineer intermediatory and for expert..
    HTH
    Rajesh

  • How do I suppress "plugin container for firefox has stopped working" ?

    I am doing some Flash programming and using Firefox to debug. Every time I end the debug session from Flash Builder I get the error "Plugin container for firefox has stopped working". Is there a way to suppress this false error message? There is not a problem with the container or any plugins, simply that Firefox thinks the container has crashed because it is being closed by the IDE. I have already had to change several options to suppress false error alerts, but just seem to get new ones like this.

    Firefox uses the plugin-container process to run plugin out of the current Firefox process (Out-Of-Process-Plugins) and you may not see the plugin mentioned. Flash uses protected mode by default and that causes two plugin-container processes to be active.
    *http://blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox.html
    You can check for problems with current Shockwave Flash plugin versions and try this:
    *check for updates for your graphics drive drivers<br>https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration
    *disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
    *disable hardware acceleration in the Flash plugin
    See also:
    *http://kb.mozillazine.org/Flash#Troubleshooting

  • Notifications not being generated for alerts generated by rules.

    I'm using SCOM 2012 R2 and have configured an alert generating rule to create alerts when specific events occur in a windows event log.
    The rule works fine, alerts are generated as expected.
    I have also configured subscriptions/subscribers/channels to send notifications via email and SMS (via script in command channel) however even with the criteria set to send on all alerts, I only receive notifications for alerts generated by monitors (so
    I know the subs and channels do function)
    It seems like some sort of workflow issue where alerts generated by a rule fail to create a notification.
    Is there any logging I can enable to see what's happening here? 
    Any other ideas?

    In System Center 2012 Operations Manager, the alert notification will be sent when the alert first meets all criteria, regardless of resolution state, unless resolution state itself is a criterion. If alert suppression is enabled for the rule or monitor
    that raises an alert, only one notification will be sent when the subscription criteria are first met. No additional notifications will be sent until the alert is closed and a new alert is raised that meets all subscription criteria.  PLease check
    1) whether your rule has trun on alert supression
    2) Close the alert, craised by rule,  and do it again
    Roger

  • OIM 11g R1 - Container for Roles

    Hi,
    is it possible to create container for roles?
    For Example:
    Container1: RoleA, RoleB, RoleC
    Container2: RoleV, RoleY, RoleZ
    The reason is, i want to create authorization policies, which allows the user to assign specials roles. The problem is, that a lot of roles will be added during the operation. This means, if a new role will be created, i have to edit the authorization policy
    The best way is, i assign a Role-Container to the authorization policy. If i create a new role, i add the role to the special container.
    Is this possible in OIM 11g R1?
    Edited by: 960944 on Apr 3, 2013 5:18 AM

    Yes, you can do that using authorization policy.
    Try this:
    Create a Role called 'X'
    Create a Authorization Policy of Role Management Entity Type called 'X Role Authz Policy' and under the Permission tab:
    Grant Modify Role Membership, Search for ROle, View Role Detail and View Role Membership
    Under Data Constraints: Add all the roles that a user can self assign except SYS ADMIN role.
    Under Assignemnt: Add Role 'X'
    Save and apply to test it.
    You can have a look at the default Role Management All Users Policy for reference.
    Regards,
    Sunny

  • Error during gen of subscren container for screens [BP sales,shipping data]

    Hi,
    during the intial download from ECC to CRM ,sales,shipping data is not comming with BP.
    i found one solution for this problm through BUSP transaction to genarate subscrenn container for screens.
    I have genarated everything .But it throws error.
    The error message is
    "Client 101 appl.object BUPA screen $00001:Error during subscreen container gener
    Message no. R11520
    Diagnosis
    Errors have occurred during screen generation. The reasons for this could be:
    The maximum length of the screen was exceeded. There may be no more than 199 lines per subscreen container.
    The maximum number of lines for the header-data area was exceeded. There may be no more than 15 lines in the header-data section.
    Procedure
    Check both of these potential sources of errors in the relevant screen, and make the necessary changes."
    Plz anyone help me to solve this problem.
    regards
    geetha.g

    Hi,
    Even i am facing similar problem like this..
    in my case,
    its working in one clinet and its not able to regenerate successfullu in another client.
    its showing the same above error.
    I tried removing the error by running the report  BDT_VCT_CORR_001 and again generating the screens... but it was of no use..
    can any one sugesst me some other points
    with regards,
    Sumanth

  • Urgent clearing data in container for free text

    I HAVE A CONTAINER FOR FREE TEXT.
    I HAVE A CREATE BUTTON IN MY SCREEN EWHEN I PRESS CREATE IT ASKD FOR ID AND FREE TEXT THEN I SAVE  AND IT GETS SAVED IN A ZTALE TABLE.
    WHEN AFTER SAVING IT I GO TO INITIAL SCREEN AND PRESS CREATE AGAIN THEN IT ASKS FOR ID AND IN THE CONTAINER I SEE THE FPREVIOUS TEXT.
    CAN YOU GUYS LET ME KNOW AS TO WHAT I NEED TO DO.
    I TREID CLEARING AND REFRESHING MYTABLE WHICH I HAVE USED IN THE FOLLOWING CODE.
    pbo
    if editor is initial.
    CREATE OBJECT TEXTEDIT_CUSTOM_CONTAINER
    EXPORTING
    CONTAINER_NAME = 'TEXTEDITOR1'
    EXCEPTIONS
    CNTL_ERROR = 1
    CNTL_SYSTEM_ERROR = 2
    CREATE_ERROR = 3
    LIFETIME_ERROR = 4
    LIFETIME_DYNPRO_DYNPRO_LINK = 5.
    IF SY-SUBRC NE 0.
    add your handling
    ENDIF.
    CREATE OBJECT EDITOR
    EXPORTING
    PARENT = TEXTEDIT_CUSTOM_CONTAINER
    WORDWRAP_MODE = CL_GUI_TEXTEDIT=>WORDWRAP_AT_FIXED_POSITION
    WORDWRAP_TO_LINEBREAK_MODE = CL_GUI_TEXTEDIT=>FALSE
    EXCEPTIONS
    OTHERS = 1.
    refresh mytable.
    call METHOD editor->SET_TOOLBAR_MODE
    EXPORTING TOOLBAR_MODE = 0.
    *call METHOD editor->SET_ENABLE
    *EXPORTING ENABLE = ' '.
    CALL METHOD editor->set_readonly_mode
    EXPORTING
    readonly_mode = 1.
    ENDIF.
    CLEAR MYTABLE.
    FREE MYTABLE.
    endif.
    IF SY-SUBRC NE 0.
    CALL FUNCTION 'POPUP_TO_INFORM'
    EXPORTING
    TITEL = V_REPID "--> program name
    TXT2 = SPACE
    TXT1 = 'Error in flush'.
    ENDIF.
    tHANKS
    let me know
    swathi

    For example, this program works really well with saving long text using the SAVE_TEXT function.  Here you need to create the object/id in SE75.  For this program you enter the id on the right like 999999 and enter the text on the left, execute and the text is saved, now change the id to 999998 and hit enter, notice the text is blank, now enter 999999 again, notice the text for this id has come back,  this is because the program uses READ_TEXT to retrieve the text.
    report zrich_0001.
    data:
          dockingleft  type ref to cl_gui_docking_container,
          text_editor    type ref to cl_gui_textedit,
          repid type syrepid.
    data: begin of header.
            include structure thead.
    data: end of header.
    data: begin of lines occurs 0.
            include structure tline.
    data: end of lines.
    data: textlines type table of tline-tdline,
          wa_text type tline-tdline.
    data: xthead type thead.
    parameters: p_id(10) type c.
    at selection-screen.
      if p_id is initial.
        message e001(00) with 'Enter an ID'.
      endif.
    at selection-screen output.
      repid = sy-repid.
      if dockingleft is initial.
        create object dockingleft
                    exporting repid     = repid
                              dynnr     = sy-dynnr
                              side      = dockingleft->dock_at_left
                              extension = 300.
        create object text_editor
                    exporting
                         parent     = dockingleft.
      endif.
      if p_id <> space.
        xthead-tdobject = 'ZPT_DET'.
        xthead-tdid     = 'Z001'.
        xthead-tdname = p_id.
        clear lines. refresh lines.
        call function 'READ_TEXT'
          exporting
            id                            = xthead-tdid
            language                      = sy-langu
            name                          = xthead-tdname
            object                        = xthead-tdobject
          tables
            lines                         = lines
         exceptions
           id                            = 1
           language                      = 2
           name                          = 3
           not_found                     = 4
           object                        = 5
           reference_check               = 6
           wrong_access_to_archive       = 7
           others                        = 8.
        clear textlines.
        loop at lines.
          wa_text = lines-tdline.
          append wa_text to textlines.
        endloop.
      endif.
      call method text_editor->set_text_as_r3table
         exporting
               table              = textlines
         exceptions
               others             = 1.
    start-of-selection.
      call method text_editor->get_text_as_r3table
         importing
               table              = textlines
         exceptions
               others             = 1.
    * Set SAPscript Header
      clear header.
      header-tdname =  p_id .         "Name
      header-tdobject = 'ZPT_DET'.       "Object
      header-tdid = 'Z001'.              "Id
      header-tdspras = sy-langu.
    * Move text from container to function module table
      clear  lines.  refresh lines.
      loop at textlines into wa_text .
        lines-tdline = wa_text.
        append lines .
      endloop.
      call function 'SAVE_TEXT'
           exporting
                client   = sy-mandt
                header   = header
           tables
                lines    = lines
           exceptions
                id       = 1
                language = 2
                name     = 3
                object   = 4
                others   = 5.
    Yes, this is implemented using a selection screen, but the same principals apply and this can  be easily converted to a dynpro application.
    Regards,
    Rich Heilman

  • PDF as a container for PDF files

    I have seen some PDF files that appear to be acting as a container for other PDF files. For example, the PDF Reference and Related Documentation ("pdf_reference.pdf") contains "pdf_reference.pdf", "pdf_reference_addendum_redaction.pdf" and a couple of other pdf files. I am new to the PDF specification and cannot find the section of the format specification that explains how this is done. Are these just embedded files? It seems like they are being handled differently as they are shown in an index when the parent PDF is displayed.

    b About Collections (PDF packages).
    Beginning with PDF 1.7, PDF documents can specify how a viewer applications user interface presents collections of file attachments, where the attachments are related in structure or content. Such a presentation is called a portable collection. The intent of portable collections is to present, sort, and search collections of related documents, such as email archives, photo collections, and engineering bid sets. There is no requirement that files in a collection have an implicit relationship or even a similarity; however, showing differentiating characteristics of related documents can be helpful for document navigation.
    Attachment annotations typically represent files that are embedded in the PDF document.
    For more information, see section 3.10.5 "Collection Items" on page 189 and section 8.2.4, "Collections" on page 588 in the PDF Reference, version 1.7. This reference is available from
    www.adobe.com/go/acrobatsdk_pdf_reference

  • Change Icon (Symbols) for Alert  in Analysis Item in BI 7 Web Templates

    I want to change the Icons (Symbols) displayed for alerts in the Analysis Web Item. I want to choose between arrows and stop lights. I can define this in the Table Interface in BW 3.5. In BI7 you must use the Analysis Web Item SYMBOL but it is not documented how to choose different symbols for different reports.

    Where do I choose the Icon Type? In the Query definition I can't see any option to select the Icon Type and in the WAD I can only see the options of Color, Symbol, Text and Symbol, Symbol and Text. This has no influence in the Icon Type or does it?
    I am getting Arrow icons in the output and I am trying to get Traffic light icons.
    Can you tell me where the Icon Type is available for selection?
    Thanks!

  • How do i find a form to fill in for a reunion

    I am looking for a form to fill in for family reunion.  I want to make multiple copies

    Hi dirtysib,
    I would suggest you check out the Event RSVP, Event Registration #1, and Event Registration #2 templates within FormsCentral.  To access them:
    Log into FormsCentral with your Adobe ID and password
    Click the 'Templates' tab at the top of the screen
    Choose 'Registration' from the left-hand column
    Lastly click the '+ New Form' button next to the appropriate template.
    Please let us know if you have any questions. 
    -David

Maybe you are looking for