Alert rule container variable not getting filled up

I  want to generate an alert if file content conversion fails. Created  an alert category with the SXMS_TO_ADAPTER_ERRTXT as a container variable of dictionary type Char70 as included it in the long text.Created an alert rule in the RWB. I am getting the alert in the inbox but nothing is filled in for SXMS_TO_ADAPTER_ERRTXT. We are on  PI7.0 SP9.
Has anybody noticed similar problems ?

Hi Sangeeta, I had the same problem but I couldn't fixed because there was not enough time to do it, I created my own message with almost all the XI container variables. And the messages are very helpful. I send you some links
Container variable
http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
Alert notification step-by-step
http://help.sap.com/saphelp_nw04/helpdata/en/d0/5e073c8e56f658e10000000a114084/frameset.htm
Michal's weblog
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
I hope it can help you.
Regards
Omar Hernandez

Similar Messages

  • Structure is not getting filled in the subroutine

    Hi Gurus,
    I'm working on a Z-report ZMB52 for fetching Reserved Stock and showing it in a column.
    The following code in a subroutine I've written for the same.
    DATA: GS_RESB LIKE LINE OF GT_RESB.
        CLEAR: BESTAND.
        IF BESTAND[] IS NOT INITIAL.
          SELECT MATNR
                 BDMNG
            FROM RESB
            INTO TABLE GT_RESB
            FOR ALL ENTRIES IN BESTAND[]
            WHERE MATNR EQ BESTAND-MATNR.
            IF SY-SUBRC EQ 0.
              SORT GT_RESB BY MATNR.
              LOOP AT BESTAND.
               READ TABLE GT_RESB INTO GS_RESB WITH KEY MATNR = BESTAND-MATNR. "BINARY SEARCH.
                 IF SY-SUBRC EQ 0.
                   MODIFY BESTAND TRANSPORTING BDMNG WHERE MATNR = BESTAND-MATNR.
                 ENDIF.
                 CLEAR: BESTAND, GS_RESB.
              ENDLOOP.
            ENDIF.
         ENDIF.
    When I debug, I can see that the structure GS_RESB is not getting filled through the READ TABLE statement. However, GT_RESB shows the data.
    Could you please tell me where am I going wrong and a way to correct it?
    Thanks in Advance!
    Best Regards,
    Ashutosh.

    Hi Joshi
    You can use
    LOOP AT GT_RESB INTO GS_RESB WHERE MATNR = BESTAND-MATNR. "BINARY SEARCH.           
                  MODIFY BESTAND TRANSPORTING BDMNG WHERE MATNR = BESTAND-MATNR.           
                CLEAR: BESTAND, GS_RESB.
    ENDLOOP.
    And please check in debug BESTAND-MATNR .
    Best regards.

  • IT_FIELDCATALOG IS NOT GETTING FILLED

    HI friends
      I have returned a program for workflow tracking. Am getting the output has led light alone no data's are displayed. I found that my IT_FIELDCATALOG = GT_FCAT is not getting filled. How to fill that. Am pasting my programming here. Kinldy help me out.
    TYPE-POOLS: ABAP.
    TABLES : PTREQ_ATTABSDATA,PTREQ_HEADER,PTREQ_ITEMS.
    TYPES: BEGIN OF TY_S_OUTTAB,
            EXCEPTION   TYPE LVC_EXLED,
            PERNR TYPE P0001-PERNR,
            BEGDA TYPE PTREQ_ATTABSDATA-BEGDA,
            ENDDA TYPE PTREQ_ATTABSDATA-ENDDA,
            SUBTY TYPE SUBTY,
            STATUS TYPE PTREQ_HEADER-STATUS,
            END OF TY_S_OUTTAB.
    TYPES: TY_T_OUTTAB TYPE STANDARD TABLE OF TY_S_OUTTAB
                       WITH DEFAULT KEY.
    DATA : REQUEST_ID TYPE PTREQ_HEADER-REQUEST_ID.
    DATA:
      GD_REPID         TYPE SYREPID,
      GD_OKCODE        TYPE UI_FUNC,
      GT_FCAT          TYPE LVC_T_FCAT,
      GS_LAYOUT        TYPE LVC_S_LAYO,
      GS_VARIANT       TYPE DISVARIANT,
      GO_DOCKING       TYPE REF TO CL_GUI_DOCKING_CONTAINER,
      GO_GRID          TYPE REF TO CL_GUI_ALV_GRID.
    DATA: FIELDCATALOG TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE.
    DATA: GT_OUTTAB        TYPE TY_T_OUTTAB.
    PARAMETERS:
    PERNR         TYPE PA0001-PERNR,
    REQ_ID        TYPE PTREQ_HEADER-REQUEST_ID,
    LEA_TY        TYPE PA0001-SUBTY,
    BEGDA         TYPE PA0001-BEGDA,
    ENDDA         TYPE PA0001-ENDDA.
    REQ_ID = '52A08D487A9B5807E10000000A170133'.
    START-OF-SELECTION.
      BREAK-POINT.
    *  SELECT * FROM  PTREQ_ATTABSDATA INTO CORRESPONDING FIELDS OF TABLE gt_outtab
    *         WHERE  PERNR  = PERNR AND SUBTY = LEA_TY.
      SELECT C~PERNR C~BEGDA C~ENDDA C~SUBTY A~STATUS INTO CORRESPONDING FIELDS OF TABLE GT_OUTTAB
        FROM  ( ( PTREQ_HEADER AS A INNER JOIN
        PTREQ_ITEMS AS B ON A~ITEM_LIST_ID = B~ITEM_LIST_ID ) INNER JOIN
        PTREQ_ATTABSDATA AS C ON B~ITEM_INS = C~ITEM_ID )
        WHERE REQUEST_ID = REQ_ID AND REQUEST_TYPE = 'ABSREQ'
        AND VERSION_NO = ( SELECT MAX( VERSION_NO ) FROM PTREQ_HEADER
        WHERE  REQUEST_ID = REQ_ID ) AND
        ITEM_LIST_NO = ( SELECT MAX( ITEM_LIST_NO )
        FROM PTREQ_ITEMS WHERE ITEM_LIST_ID = A~ITEM_LIST_ID ) .
      PERFORM INIT_CONTROLS.
      PERFORM CHECK_CONDITION.
    * Display data
      CALL METHOD GO_GRID->SET_TABLE_FOR_FIRST_DISPLAY
        EXPORTING
          IS_LAYOUT       = GS_LAYOUT
          IS_VARIANT      = GS_VARIANT
          I_SAVE          = 'A'
        CHANGING
          IT_OUTTAB       = GT_OUTTAB
          IT_FIELDCATALOG = GT_FCAT
        EXCEPTIONS
          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.
    *    MESSAGE ID mid TYPE mtype NUMBER num.
      ENDIF.
      CALL SCREEN '0100'.
    END-OF-SELECTION.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'STATUS_0100'.
    *  SET TITLEBAR 'xxx'.
    **      CALL METHOD go_grid1->refresh_table_display
    ***        EXPORTING
    ***          IS_STABLE      =
    ***          I_SOFT_REFRESH =
    **        EXCEPTIONS
    **          FINISHED       = 1
    **          others         = 2
    **      IF sy-subrc  0.
    ***       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    ***                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    **      ENDIF.
    *OK-CODE->GD_OKCODE.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE USER_COMMAND_0100 INPUT.
      CASE GD_OKCODE.
        WHEN 'BACK' OR
             'END'  OR
             'CANC'.
          SET SCREEN 0.
          LEAVE SCREEN.
        WHEN OTHERS.
          CALL METHOD GO_GRID->REFRESH_TABLE_DISPLAY
            EXCEPTIONS
              FINISHED = 1
              OTHERS   = 2.
          IF SY-SUBRC = 0.
    *       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
      ENDCASE.
      CLEAR: GD_OKCODE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  INIT_CONTROLS
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM INIT_CONTROLS .
    * Create ALV grid
      CREATE OBJECT GO_GRID
        EXPORTING
          I_PARENT = GO_DOCKING
        EXCEPTIONS
          OTHERS   = 5.
      IF SY-SUBRC = 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      PERFORM BUILD_FIELDCATALOG.
      PERFORM SET_LAYOUT_AND_VARIANT.
    ENDFORM.                    " INIT_CONTROLS
    *&      Form  BUILD_FIELDCATALOG
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM BUILD_FIELDCATALOG.
    *fieldcatalog-fieldname  = 'EXPECTION'.
    *  fieldcatalog-seltext_m  = 'LIGHT'.
    *  fieldcatalog-col_pos    = 1.
    *  fieldcatalog-outputlen  = 3.
    **  fieldcatalog-emphasize  = 'X'.
    *  APPEND fieldcatalog TO fieldcatalog.
    *  CLEAR  fieldcatalog.
      FIELDCATALOG-FIELDNAME  = 'PERNR'.
      FIELDCATALOG-SELTEXT_M  = 'EMPLOYEE NO'.
      FIELDCATALOG-COL_POS    = 1.
      FIELDCATALOG-OUTPUTLEN  = 8.
      FIELDCATALOG-EMPHASIZE  = 'X'.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'REQ_ID'.
      FIELDCATALOG-SELTEXT_M  = 'REQUEST_ID'.
      FIELDCATALOG-COL_POS    = 2.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'LEA_TY'.
      FIELDCATALOG-SELTEXT_M  = 'LEAVE_TYPE'.
      FIELDCATALOG-COL_POS    = 3.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'BEGDA'.
      FIELDCATALOG-SELTEXT_M  = 'BEGIN_DATE'.
      FIELDCATALOG-COL_POS    = 4.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'ENDDA'.
      FIELDCATALOG-SELTEXT_M  = 'END_DATE'.
      FIELDCATALOG-COL_POS    = 5.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'STATUS'.
      FIELDCATALOG-SELTEXT_M  = 'STATUS'.
      FIELDCATALOG-COL_POS    = 6.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
    * define local data
      DATA:
        LS_FCAT        TYPE LVC_S_FCAT.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
    *    EXPORTING
    *     I_BUFFER_ACTIVE              =
    *      I_STRUCTURE_NAME             = 'TY_S_OUTTAB'
    *     I_CLIENT_NEVER_DISPLAY       = 'X'
    *     I_BYPASSING_BUFFER           =
    *     I_INTERNAL_TABNAME           =
        CHANGING
          CT_FIELDCAT                  = GT_FCAT
        EXCEPTIONS
          INCONSISTENT_INTERFACE       = 1
          PROGRAM_ERROR                = 2
          OTHERS                       = 3.
      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.                    " BUILD_FIELDCATALOG_KNB1
    *&      Form  SET_LAYOUT_AND_VARIANT
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM SET_LAYOUT_AND_VARIANT .
      CLEAR: GS_LAYOUT,
             GS_VARIANT.
    *  GS_LAYOUT-CWIDTH_OPT = ABAP_TRUE.
      GS_LAYOUT-ZEBRA      = ABAP_TRUE.
      GS_LAYOUT-EXCP_FNAME = 'EXCEPTION'.  " define column for LED
      GS_LAYOUT-EXCP_LED   = ABAP_TRUE.
      GS_VARIANT-REPORT = SYST-REPID.
      GS_VARIANT-HANDLE = 'GRID'.
    ENDFORM.                    " SET_LAYOUT_AND_VARIANT
    *&      Form  CHECK_CONDITION
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM CHECK_CONDITION .
    * define local data
      DATA: LS_OUTTAB   TYPE TY_S_OUTTAB.
      LOOP AT GT_OUTTAB INTO LS_OUTTAB.
        IF ( LS_OUTTAB-STATUS = 'APPROVED' ).
          LS_OUTTAB-EXCEPTION = '3'.  " GREEN LED/traffic light
        ELSE.
          LS_OUTTAB-EXCEPTION = '1'.  " RED LED / traffic light
        ENDIF.
        MODIFY GT_OUTTAB FROM LS_OUTTAB INDEX SYST-TABIX.
      ENDLOOP.
    ENDFORM.                    " CHECK_CONDITION
    Here in the function module 'LVC_FIELDCATALOG_MERGE'
    GT_FACT is not getting filled. How to do that.
    Regards
    vijay

    some thing you are missing, but any you can also do this..
    change the definiton of the fieldcatalog.
    DATA: FIELDCATALOG TYPE lvc_t_fcat WITH HEADER LINE.
    population change
    FIELDCATALOG-FIELDNAME  = 'PERNR'.
      FIELDCATALOG-COLTEXT  = 'EMPLOYEE NO'.
      FIELDCATALOG-COL_POS    = 1.
      FIELDCATALOG-OUTPUTLEN  = 8.
      FIELDCATALOG-EMPHASIZE  = 'X'.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'REQ_ID'.
      FIELDCATALOG-COLTEXT  = 'REQUEST_ID'.
      FIELDCATALOG-COL_POS    = 2.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'LEA_TY'.
      FIELDCATALOG-COLTEXT  = 'LEAVE_TYPE'.
      FIELDCATALOG-COL_POS    = 3.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'BEGDA'.
      FIELDCATALOG-COLTEXT  = 'BEGIN_DATE'.
      FIELDCATALOG-COL_POS    = 4.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'ENDDA'.
      FIELDCATALOG-COLTEXT  = 'END_DATE'.
      FIELDCATALOG-COL_POS    = 5.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'STATUS'.
      FIELDCATALOG-COLTEXT = 'STATUS'.
      FIELDCATALOG-COL_POS    = 6.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
    method call display change..
    * Display data
      CALL METHOD GO_GRID->SET_TABLE_FOR_FIRST_DISPLAY
        EXPORTING
          IS_LAYOUT       = GS_LAYOUT
          IS_VARIANT      = GS_VARIANT
          I_SAVE          = 'A'
        CHANGING
          IT_OUTTAB       = GT_OUTTAB
          IT_FIELDCATALOG = FIELDCATALOG[]
        EXCEPTIONS
          OTHERS          = 4.
      IF SY-SUBRC EQ  0.
      ENDIF.
    apply all the changes and see...

  • Requested Delivery Date not getting filled in ET_SALES

    Hi Experts,
    I am trying to read the Requested Delivery Date from FM CRM_ORDER_READ --> ET_SALES before the order is SAVED.
    But the ET_SALES --> REQ_DLV_DAT is not getting filled until the Order is saved.
    However, ET_SCHEDLIN --> FROM_TIME is getting filled even before the order is saved.
    Is this standard functionality or am I missing on something?

    Hi,
    In case you have missed on regular delta then you don't have any other choice than to selectively delete reciord from Infoprovider in case there is only cube..
    If DSO in between with overwrite just load the records in DSO and check what is change log for this record.
    If you can selectively load you can selectively delete for recent period..load again for that period in set up table then to SAP BW through full repair option.
    Thanks and regards

  • Setup tables not getting filled.

    Hi all,
    I am using MM module which includes purchasing data, i have identified 2lis_02_itm, 2lis_02_cgr, 2lis_02_scn, 2lis_02_sgr data sources for extracting purchasing data.
    While extracting data from R/3 for data sources 2lis_02_cgr, 2lis_02_scn the setup tables were not getting filled. i followed all the standard procedures. i tried checking in RSA3 also but the no. of records was 0.
    then i checked in NPRT t-code using the run name it was showing no. of docs. but when i extract data from R/3 to BW Processing: No data . 0 records.
    Can anyone please help me in this issue?
    Why are the setup tables not filled?
    i have checked many threads regarding this  issue ...but have no solution....
    Thank you in advance.
    Edited by: Jasmine G on Apr 21, 2008 10:32 AM

    Application Number for Purchase is 02
    So OLI3BW will not fill the Purchase related setup tables.
    Best way is
    T-code = SBIW
         -> Settings for Application-Specific DataSources (PI)
           -> Logistics
             ->  Managing Extract Structures
               -> Initialization
                 -> Filling up the setup tables
                             -> Application-Specific Setup of Statistical Data
                     -> Then select the app for which you want to fill setup table
    Rgds,
    Vikram.

  • Queue alerts container variables are not getting filled

    Hi All,
    I am referring this blog to create alerts when message struck in queues
    /people/santhosh.kumarv/blog/2009/05/19/sap-xipi-alerts-for-queue-errors
    I am able to get the alert when a message struck in Queue of XI. But Container variables are not filled with actual run time values
    I have used the report as it is and container variables as described in blog.
    I have implemented Alerts for IE & AE alerts, those are looks good as expected.
    Please let me know any clue
    Regards

    Hi,
    After investigating all the things i found these
    1) We have already Integration Engine & Adapter Engine Alerts configured in landscape with separate alert categories & working fine
    2) Now i configured one more alert category for Queue error with the above mentioned Blog
    Important thing: is even though if any error occurred on Integration engine, i get 2 alerts. one with Integration Engine alert category description  & one more is with Queue alert category description
    Reason for this is, for Queue alert category i selected radio button as "No Restriction". because of this if any IE error occurred also queue alert category is also triggering along with Integration engine alert category .
    Please let me know is it possible to implement Queue alerts along with the IE & AE type alert categories
    Any one implemented IE, AE & Queue alerts in single landscape
    Regards
    vamsi
    Edited by: Vamsi Krishna on Jul 19, 2010 4:53 PM

  • Alert Configuration: SMTP Error in SOST, Container variables not filling.

    Hi All,
    I have been configured in XI System following sdn and Michal's blog.ALRTCATDEF,SCOT settings have been done and  When i try to test the alerts , alerts are reaching alert inbox but not to mail. And also in alert long text container variables are missing  I have been requested my basis team to implement sap note 835031. What exact cause for this could any body explain me. And also Please suggest me what has to be done when i get error in SOST 'Message cannot be transferred to node SMTP due to connection error (final) ' Do i have to follow steps mentiond in below link:
    http://forums.sdn.sap.com/thread.jspa?threadID=558231
    Thanks,
    Aparna.

    'Message cannot be transferred to node SMTP due to connection error (final)
    have you seen below threads:
    http://forums.sdn.sap.com/thread.jspa?threadID=1564087
    http://forums.sdn.sap.com/thread.jspa?threadID=567171

  • Container Variables Not Filled

    Hi,
    I have configured Alert Category and Alert Rules to trigger exceptions at Mapping, Adapter and Proxy level.  All these alerts are getting triggered properly.  But the container variable, &SXMS_FROM_SERVICE& is not getting populated and displays the tag as such.
    I infact checked the Note 947738 (Container Element not filled).  But this is for SP 09.  We are in Release 7.0 SP 11.  So the note is already implemented.
    But still I am facing this problem.  The container variables are not filled.  Can someone suggest how to fix this.
    Regards.
    Bala

    Hi,
    Are all the other Container Variables being populated?
    If yes, one option is to check note : 913858 . This note describes one question when the From Interface Container variable does not fill up. Check what it mentions.
    Regards
    Bhavesh

  • Alert variable not getting populated

    Hi ,
    I have configured alerts in my PI interface. I am getting alerts messages in my alert inbox(RWB), if there is some application error. But thr container variable ERRORMESSAGE is not getting pupulated. In Moni, I could see the trace where all the variables are populated. But, in my inbox, I am getting alert text empty.
    Please help.
    Thanks

    Hi,
    I think you you should use SXMS_ERROR_CAT, SXMS_ERROR_CODE while creating alert category. I am not able to find the variable ERRORMESSAGE in alert category creation.
    Regards
    Aashish Sinha

  • Alerts framework container variables

    Team,
    I am using the "SXMS_xyx" container variables for my alerts.
    There must be more than that ... I need to display the payload, alert rules description, etc.
    Where can i get more info on that topics ?
    Merci ! A+

    Hi Guys,
    Yes, i am aware of the online help. But it does not say that much ...
    I am already using the "sx..." variables. If there are no others containers variables that exist, I think that I need to understand much more how (in the ALRTCATDEF) the container works. It seem that we can use some ABAP classes.
    I would like to display some details about which alert rules (description) that has been fired.
    Thank in advance for you hints
    A+

  • Set type is not getting filled

    Hi ,
    I have created a set type ZTLS_ORG, which is organisation dependent. This set type has fields from  table MVKE. I am filling up the fields of  this set type in an enhacement of Badi Definition Customer_product2. But the values are not getting populated, when I am checking it in product master through commpr01. Kindly suggest.
    Regards
    Shweta

    Hello Shweta,
    You mean to say that attributes of your settype is nothing but fields from table MVKE?
    Have you generated the settype before using it in your program?
    Best Regards,
    Shanthala Kudva.

  • PO Custom Field not getting filled from Shopping Cart

    Hi Gurus,
    I am new to SRM. The requirement I had was to add a new field to the SC. I read several posts and articles on this but couldn't find the solution to it. I managed to do this modifying the corresponding structures in SRM and making the necessary changes in R/3 so the new filed can be seen in ME21/22/23N.
    I checked Andreas Milbredt document to achieve it as mentioned:
    Document: How to transfer custom fields from SRM to Backend.
    http://www.sdn.sap.com/irj/sdn/index?rid=/library/uuid/20b36c12-685f-2c10-4fb4-ba2e0b969c27
    After that, when I create a Shopping Cart, the value in the New field is not transferred to the Back end.
    I coded the following BADIs and User Exits:
    In SRM:
    BBP_CUF_BADI_2 (MODIFY_SCREEN) ->To enable or disable the field depending on conditions. Works fine.
    BBP_DOC_CHECK_BADI (BBP_DOC_CHECK) -> To do some checks. Works Fine
    BBP_CREATE_BE_PO_NEW (FILL_PO_INTERFACE1) ->Here I fill structures BAPI_TE_MEPOITEM and BAPI_TE_MEPOITEMX. I added another u2018Xu2019 to indicate the new field to BAPI_TE_MEPOITEMX. But I think I am not doing it right. This structure BAPI_TE_MEPOITEM/X, does the order of the fields correspond to the order of the fields in any of these 3 structures (which I am using)?
    INCL_EEW_PD_HISTORY_CSF
    INCL_EEW_PD_ITEM_CSF
    INCL_EEW_PD_ITEM_CSF_SC
    I also checked the following link:
    Map a custom SRM field to a standard field in R/3
    In R/3 I populated the Exits Andreau2019s mentions on his article. Am I missing anything else?
    Thanks & Regards,
    Ernesto.

    Hi Ernesto,
    You can find out how your BAPI structure is being populated (by generating the test data ) using FBGENDAT program and activating the BAPI_PO_CREATE1 (and you will need to set the parameter for the specified user id)... This will provide you ability to execute the BAPI offline and figure out what is happening...
    Note 517767 - Generate test data for function modules
    Things to look for, Is any of your custom fields quantity fields or integer?
    Check out the following OSS note
    Note 509898 - BAPI enhancement concept and Unicode
    Also check out the following SDN Thread,
    problem using  BAPI_BUS2001_CREATE to create project definition
    Check out a similar thread that we are discussing (for PR)
    Custom Fileds Data Was Not Getting Updated In BAPI_PR_CREATE

  • Custom Email Alert Template Issue - Users not getting customized emails

    I have recently customized the XML alerts template (AlertTemplates.xml) for our site collection in SharePoint 2010 to exclude specific fields in the email when users who have subscribed to a list using the "Alert Me" feature.  I have renamed
    the custom alerts XML file and loaded the custom template in the following directory (%ProgramFiles%\Common Files\Microsoft Shared\Web server extensions\14\TEMPLATE\XML) and restarted IIS.  Once users subscribe to the alerts using the list using the "alert
    me" function they received the customized email as intended.  
    We needed to auto-subscribe users to the email alerts so what I did was used a powershell script to add users to the alert subscriptions using the script shown in below:
    Import-Csv D:\Temp\filename.csv | ForEach-Object{
    $webUrl=$_.WebUrl
    $listTitle=$_.List
    $alertTitle=$_.AlertTitle
    $subscribedUser=$_.SubscribedUser
    $alertType=$_.AlertType
    $deliveryChannel=$_.DeliveryChannel
    $eventType=$_.EventType
    $frequency=$_.Frequency
    $oldAlertID=$_.ID
    $web=Get-SPWeb $webUrl
    $testAlert = $web.Alerts | WHERE { $_.ID -eq $oldAlertID }
    IF ($testAlert) {
    $web.Alerts.Delete([GUID]$oldAlertID)
    Write-Host Old alert $oldAlertID deleted. -Foregroundcolor Cyan
    $list=$web.Lists.TryGetList($listTitle)
    $user = $web.EnsureUser($subscribedUser)
    $newAlert = $user.Alerts.Add()
    $newAlert.Title = $alertTitle
    $newAlert.AlertType=[Microsoft.SharePoint.SPAlertType]::$alertType
    $newAlert.List = $list
    $newAlert.DeliveryChannels = [Microsoft.SharePoint.SPAlertDeliveryChannels]::$deliveryChannel
    $newAlert.EventType = [Microsoft.SharePoint.SPEventType]::$eventType
    $newAlert.AlertFrequency = [Microsoft.SharePoint.SPAlertFrequency]::$frequency
    if($frequency -ne "Immediate"){
    $AlertTime=$_.AlertTime
    $newAlert.AlertTime=$AlertTime
    $newAlert.Update()
    Write-Host Created $newAlert.Title for $subscribedUser . -Foregroundcolor Cyan
    } ELSE {
    Write-Host Alert $alertTitle for $subscribedUser already done. Moving on. -Foregroundcolor Magenta
    When I ran the script and added the users and restarted the service, all users who were auto-subscribed via this method would get the email without the customizations that were done in the custom template.
     All users who manually subscribed to the list using the "Alert Me" function would get the customized email.  
    Does anyone know why users who manually subscribe would get the custom email alert and why users who were auto-subscribed using the powershell script do not get the custom email alert?

    Hi,
    To deploy custom alert template file, we would load changes into SharePoint and restart SharePoint 2010 Timer Service from Windows Service. If you create your own AlertTemplate in the custom_alerttemplates.xml, you will need to set the set the SPList.AlertTemplate
    property of the list. Then delete and re-subscribe to the alerts for the list.
    Please refer to:
    http://blog.zebsadiq.com/post/SharePoint-2010-custom-alert-template.aspx
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Purchase Tax - Field BSEG- WMWST not getting filled on Invoice documents

    Hi,
    I am posting a Invoice document using FB60. Along with other details, I enter Tax code and check the Calculate Tax check box and SAP calculates & generated extra line for Tax amount.
    Document is posted successfully. Howver this purchase tax calculated does not appear on the WMWST field in BSEG. The field is blank, even when the document is posted with a Tax line. Why?
    Is there something in Tax configuration which determines if the Tax amount on the document gets filled on WMWST field or not?
    How do i get the tax amount from the FB60 document to fill on this field- BSEG-WMWST?
    Thanks,
    Uma

    The Tax amounts actually get posted to the BSET table.

  • Step Container Element not getting updated

    Hi,
          I have created a step container element for handling comments with the same ABAP dictinary structure & import export       parameter of a existing workflow conatiner element  & binded with the WF container & step conatiner & i have the saved & activated the WF template sucessfully.but when action is being taken from portal on a Workitem then comments are being  passed to the WF container but the step container that i created is not getting updated . i checked in SWI6 , it's showing not set.
    can any help me on this regard.?
    Thanks & Regards
    Rohan Kumar Das

    Actually, I believe the problem is related to binding.
    When called in the foreground, object references (and data references) are present in memory for all subsequent processing.
    You probably need to make the CONTAINER "Persistent".
    In your code, call the macro SWC_CONTAINER_TO_PERSISTENT <container name here>.   For example:
    SWC_CONTAINER local_container.
    SWC_CREATE_CONTAINER local_container.
    "  Set you Container elements
    " SWC_SET_ELEMENT local_container 'Element01' lv_element01.
    " SWC_SET_TABLE local_container 'Element02' lt_table02.
    SWC_CONTAINER_TO_PERSISTENT local_container.
    " Start your workflow passing local_container.
    Something like this...
    Hope this is relevent . . . Apologies if not . . .
    Regards,
    Tom Carruth

Maybe you are looking for

  • Crystal reports from XML data source in 'CR in Eclipse(CR4E)'.

    I'm trying to generate the crystal reports from XML file using 'eclipse in crystal reports' through programatically. It had thrown this error.                                                                                log4j:WARN No appenders coul

  • Mac Pro 3.1 eight core FCP 6 shows all 8 cores rendering??

    I just got a Mac Pro early 2008 3.1 with eight cores...running Leopard 10.5.8   I've read on this forum at times that FCP does not use more than 4 cores when rendering.  But when I render 1080p pro res 442 in FCP 6 all eight cores run up over 90%, an

  • Sleep, Passwords, and Scheduled Backups

    Okay, I have a question that I've yet to find an answer to (and I've looked high and low). I would think it would be a common issue, but perhaps not. I downloaded Deja Vu a few days ago to schedule backups for my computer. Ideally I'd like them to ru

  • Journal Voucher

    Hi I am creating Journal Voucher through DIAPI. After Created the JV i want to add some more line item to the existing JV. Can any have a idea or sample code pls let me know . Thankyou regards senthil kumar B

  • How to delete the Generated WSR

    Hi experts how to delete the generated WSR , is there  any way to delete the Generated WSR rules please help Regards