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...

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.

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

  • 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

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

  • Setup table not getting filled-shipment header

    hi
    i am trying to fill the set up table for shipment header data for particular shipment number (TKNUM). as few shipment number missing, we are doing a full repair request.
    tcode : vtbw
    entered the shipment number. the setup table is still empty. when debugged, the values are not getting passed.
    can anyone shed some light about this.
    regards
    neo

    The 2LIS_08TRTK (shipment header), 2LIS_08TRTS (shipment stages) and 2LIS_08TRTLP (delivery items on shipment stages) DataSources only extract shipments where the shipment completion status is set.
    Please see [OSS Note 573470 - Shipment data is not written into BW|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=573470]

  • Material Number and Serial Number are not getting filled...Very very urgent

    I have my code in the badi...CRM_EQUI_LOAD...method PERFORM_LOAD.In this i try to to create a component for the ibase using the function module... CRM_ICSS_CREATE_COMPONENT...The component gets created but the material and serial number are not getting updated...It is very very urgent..please help....

    I am not sure what information you are passing in given FM.
    But in my case I have used FM 'CRM_CREATE_IBASE_FROM_EQUI' to create Ibase and component. It creates IBase and Component along with other details like material number and serial number.
    you may refer the below code for the same >
    Call the standard handling for crm equi load.
      call function 'CRM_CREATE_IBASE_FROM_EQUI'
        exporting
          is_header         = is_header
          it_equi_dmbdoc    = it_equi_dmbdoc
        changing
          et_error_segments = ct_error_segment
        exceptions
          technical_error   = 1
          others            = 2.
      if sy-subrc <> 0.
        raise equi_load_badi_error.
      endif.
    Cheers,
    Ashish

  • Non cumulative key figure is not getting filled based on inflow and outflow

    hi,
    i have a non cumulative key figure which is having inflow and outflow.
    i have these three info objects in dso.
    as i know non *** key figure is calculated based on inflow and outflow.
    i am getting values for inflow and outflow so non *** should be calculated based on this values.
    <b>but the collumn is blank in the dso</b>
    in that non *** keyfigure i have added two info objects in inflow and outflow.
    is there any other setting i nedd to do?
    please sugest me.
    its urgent

    Hi Venkat,
    Have you followed the process right. First Filling the Initial Stocks and then Inflow and Out Flow and then Delta. If you follow the process correctly then you can able to view the Data in the Reporting Level.
    For Initial Stocks the Marker Should be set. For Inflow and Outflow the Marker should not be set.
    Hope This Helps,
    Regards,
    rik

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

  • Inbound IDOC receiver port not getting filled in

    Hi All,
    I checked the WE20 configuration and it is fine. Just wanted to check if there is any other sap configuration which might be missing.
    The IDOC is coming from a web server and they confirmed that they are filling the receiver port information while sending, but in the IDOC that we receive in SAP the receiver port is coming as blank.
    Any pointers will be appreciated.
    Thanks,
    Anil

    Hello Anil,
    When they say they are filling receiver port that means they filling EDIDC-RCVPRT, please note with out receiver port you will not be able to receive the Idoc.
    It means this value might be cleared somewhere in SAP. may be user exit or BADI or enhancement. what you can do is try to create inbound idocs by populating receiver  port using WE19 and check whether the created idoc contains this value or not.By doing the you can get an idea where this value is disappered.

  • Text element is not getting printed in the output

    Hi all,
    I'm trying to print address from table KNA1in address window through a text element.
    The corresponding code being :
    In Delivery Prg,
    Data : lv_kna1 type STANDARD TABLE OF kna1,
              lv_adr6 type STANDARD TABLE OF adr6.
    DATA : WA_ADR6 TYPE ADR6.
      SELECT SINGLE * FROM KNA1 WHERE KUNNR = VBPA-KUNNR.
      SELECT SINGLE * FROM ADR6 INTO WA_ADR6 where ADDRNUMBER = kna1-adrnr.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'DELIVERY_ADDRESS'
       WINDOW                         = 'DELIVADR'
    and calling the same text element 'DELIVERY_ADDRESS' as follows in the Script:
    /E           DELIVERY_ADDRESS
    /:           IF &LV_KNA1-TELF1& <> &SPACE&
    IL           Tel.: &LV_KNA1-TELF1&
    /:           ENDIF
    /:           IF &LV_KNA1-TELFX& <> &SPACE&
    IL           Fax : &LV_KNA1-TELFX&
    /:           ENDIF
    /:           IF &LV_ADR6-SMTP_ADDR& <> &SPACE&
    IL           E-mail : &LV_ADR6-SMTP_ADDR&
    /:           ENDIF
    But,this text element is not printing in the output.
    Any pointer on this would be of great help.
    Regards,
    Vamsee Priya.

    yes, it is.
    I'm trying to get the e-mail address from adr6 table with the corresponding address number  from table kna1.
    so I created two tables as below:
      Data : lv_kna1 type STANDARD TABLE OF kna1,
             lv_adr6 type STANDARD TABLE OF adr6.
    DATA : WA_ADR6 TYPE ADR6.
      SELECT SINGLE * FROM KNA1 WHERE KUNNR = VBPA-KUNNR.
      SELECT SINGLE * FROM ADR6 INTO WA_ADR6 where ADDRNUMBER = kna1-adrnr.
    now, I'm trying to fill e-mail adress from lv_adr6. but the problem is lv_adr6 is not getting filled.
    data is coming to work area wa_adr6.
    SAP is not allowing me to write the below statement:
    SELECT SINGLE * FROM ADR6 INTO LV_ADR6 where ADDRNUMBER = kna1-adrnr.
    Now, will any move-corresponding statement from work area to its table works?? Is that logically correct??

  • Complaint with reference to R/3 Billing Document , Items not getting copied

    Hi,
    I  have implemented BADI CRM_COPY_BADI_EXTERN for pulling billing documnets which is working fine. But when I am creating a credit with refernece to billing doc fetched all other details are getting populated except Product, description into line item level.
    I am using MAPPING_FOR_EXTERNAL_DOC for mapping R/3 values to Web UI fields. However CT_ORDERADM_I table in this method does not getting filled up with item level data as product , description etc.
    I am populating the same and modifying the table in program. However it is not populating the value in Web UI fields.
    Can anyone help as how should I populate item level values?
    Thanks,
    Madhura

    Hi All,
    I have a requirement to display the item details of complaint are created with reference of a billing document in Web UI.
    When a Returns Split is created with reference to a billing document, the item is split into multiple items based on the quantity in the source document. The BAdI definition CRM_COPY_BADI_EXTERN which we implemented for this requirement. This works fine in SAP GUI but i need to replicate the same in Web UI.
    I have implemented the BAdI definition CRM_COPY_BADI_EXTERN in read_data method, check_split_change_alv method is actually spliting the line items based on the quantity. In SAP GUI its works fine but it’s not working in web UI.
    We used a FM CRM_INTLAY_GET_HEADER_GUID to retrieve the header guid when there is call from web UI. But this FM returns zero value for guid. I’m struck up at this point.
    Please suggest how can i replicate the return split in webui too.
    Thanks,
    Deepak

Maybe you are looking for