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.

Similar Messages

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

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

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

  • TDS amount not getting updated in the table under the field QBSHB

    Dear Friends,
    The TDS amount entered while booking the vendor invoices through MIRO T-cde, is not getting updated in the table BSEG under the field QBSHB. 
    Kindly let me know the reason for the same and guide me to correct it
    TIA.
    Regards,
    Vincent

    HI Vincent,
    Bseg-QBSHB field is relavent for classic WT.
    I hope you are using the EWT.
    Hence if you post a document through MIRO it will not update
    (but if you post document FB60 it will update but wrongly).
    Reason is Miro document is posted through interface.
    Hence SAP is suggested to not refer the Bseg-QBSHB and etc., fields.
    refer only with_item table.
    Please refer the below replay from SAP
       Please refer the below note .363309
    Please review attached note 363309 for detailed explanation
    BSEG-QBSHB is designed to fill for the classic withholding tax. And
    extended withholding tax information is stored exclusive in table
    WITH_ITEM.
    You can check in table BSEG for the fields and will find that system
    do NOT update field BSEG-QBSHB.
    In your line layout,you define a field BSEG-QBSHB. But actully the field
    of vendor/customer line item is filled with zero from FI. Thus,it shows
    zero in line item display.
    And as note 363309 says,
    "Remove the field which contains the withholding tax information
    from your display variant.
    If you want to display the withholding tax information, double-click on
    the document number and subsequently choose 'Withholding tax' button."
    (BSEG-QSSKZ, BSEG-QSSHB, BSEG-QBSHB) field is not relavent for
    Extended withholding tax and not suppose to use in report FBL1N.
    It basically does not make any sense to use the withholding tax fields
    of the document line items (BSEG-QSSKZ, BSEG-QSSHB, BSEG-QBSHB) with the
    activated extended withholding tax.
    regards
    Madhu M
    Edited by: M Madhu on Jan 31, 2011 1:19 PM

  • Values not getting populated in the SMOPCCAPRO

    Hi,
    We had added a new field to CPGProduct in component CPGOE_ABLOCKS. But the extension field was not included to the BOL structure automatically.
    So ,we had used the SAP note 1472567 to add the include structure INCL_EEW_MKTPL_PRD to structure CRMS_MKTPL_CPG_PROD which inturn would rectify our BOL  structure CRMS_MKTPL_IB_CPG_PROD.
    The field which we had added using AET was added in tables CRMD_MKTPL_PROD and SMOPCCAPRO. But we are facing an issue that the values are not getting populated in the SMOPCCAPRO table on save.The values are gettign populated in the CRM table.
    Do we need to implement any other SAP note on the midleware side too to rectify this issue as i infer some interface structure would be missing this field which results in the truncation of value from being passed to the CDB table . Any pointers in this regard would be helpful.
    Thanks
    Swapna.

    Hi Swapna,
    as the CDB table has been extended with the new field I assume that you have enabled the mobile flag for the enhancement.
    Then it will also extend the mobile BDOC and the data should be transfered automatically.
    If this does not happen there's an error somewhere. Either the middleware is not set up properly or the mapping routine does not transfer the fields properly.
    I recommend to raise an OSS message for this.
    Best regards
    Matthias

  • Org unit is not getting defaulted for the selected position in infotype0001

    Org unit is not getting defaulted for the selected position in infotype 0001 during the hiring action.
    In OM Org. units and positions have been created.
    The Org. unit to Position relationship is also created.
    But inspite of this, In infotype 0001, the after selecting a position, the Org unit is still getting defaulted to "00000000" instead of the Org. unit Id to which the position belongs. (Please note: At the time of selecting the position, I do structure search and the position is shown under the correct Or. unit)
    Have I missed any step?

    Have u run the RHINTE programmes properly ?
    are u able to save the record?
    As some times it may be display probolem, if u r able to save the record then check the relationship in pp10/po13.
    and U have not answered what Mr. Valeri is asking about your Implementation/support because these type we come accress if data is not uploaded properly.
    Regards
    vinmax

  • Total is not getting displayed in the ALV output.

    Hi,
    Total is not getting displayed in the ALV output.
    I m using :REUSE_ALV_BLOCK_LIST_APPEND & REUSE_ALV_BLOCK_LIST_DISPLAY
    Are  there any issues with it as the same settings are working fine with REUSE_ALV_LIST_DISPLAY
    source code:
    DATA: layout TYPE slis_layout_alv,
          IT_eventS  TYPE slis_t_event,
          fcat   TYPE slis_t_fieldcat_alv WITH HEADER LINE,
          rec_fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    TYPES: BEGIN OF ty_tab,
          belnr TYPE dberchz-belnr,
          belzart TYPE dberchz-belzart,
          net TYPE dberchz-nettobtr,
          END OF ty_tab.
    DATA: lt_tab TYPE STANDARD TABLE OF ty_tab.
    SELECT belnr belzart nettobtr
      FROM dberchz
      INTO TABLE lt_tab[]
    WHERE belnr eq '000000000001'.
      if sy-subrc ne 0.
      ENDIF.
    *  defining layout
    layout-colwidth_optimize = 'X'.
    layout-def_status = 'X'.
    *defning event
    *event
    *defining field catalog
    fcat-col_pos = 1.
    fcat-fieldname = 'BELNR'.
    fcat-tabname  = 'LT_TAB'.
    APPEND fcat.
    fcat-col_pos = 2.
    fcat-fieldname = 'BELZART'.
    fcat-tabname  = 'LT_TAB'.
    APPEND fcat.
    fcat-col_pos = 3.
    fcat-fieldname = 'NET'.
    fcat-tabname  = 'LT_TAB'.
    fcat-do_sum = 'X'.
    APPEND fcat.
    *calling alv
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
      EXPORTING
        i_callback_program             = 'YZ_PLR'
    *   I_CALLBACK_PF_STATUS_SET       = ' '
    *   I_CALLBACK_USER_COMMAND        = ' '
    *   IT_EXCLUDING                   =
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
        is_layout                        = layout
        it_fieldcat                      = fcat[]
        i_tabname                        = 'LT_TAB'
        it_events                        = IT_EVENTS[]
    *   IT_SORT                          =
    *   I_TEXT                           = ' '
      tables
        t_outtab                         = lt_tab[]
    * EXCEPTIONS
    *   PROGRAM_ERROR                    = 1
    *   MAXIMUM_OF_APPENDS_REACHED       = 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.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    Thanks,
    Gaurav

    Hi
    No I don't think, this is my code (based on your code) and it works fine:
    TYPE-POOLS SLIS.
    DATA: BEGIN OF LT_TAB OCCURS 0,
           BELNR LIKE BSEG-BELNR,
           GJAHR LIKE BSEG-GJAHR,
           WRBTR LIKE BSEG-WRBTR,
           WAERS LIKE BKPF-WAERS,
          END OF LT_TAB.
    DATA: LAYOUT     TYPE SLIS_LAYOUT_ALV,
          IT_EVENTS  TYPE SLIS_T_EVENT,
          FCAT       TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
          REC_FCAT   TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE.
    START-OF-SELECTION.
      FCAT-COL_POS       = 1.
      FCAT-FIELDNAME     = 'BELNR'.
      FCAT-TABNAME       = 'LT_TAB'.
      FCAT-REF_FIELDNAME = 'BELNR'.
      FCAT-REF_TABNAME   = 'BSEG'.
      APPEND FCAT.
      FCAT-COL_POS       = 2.
      FCAT-FIELDNAME     = 'GJAHR'.
      FCAT-TABNAME       = 'LT_TAB'.
      FCAT-REF_FIELDNAME = 'GJAHR'.
      FCAT-REF_TABNAME   = 'BSEG'.
      APPEND FCAT.
      FCAT-COL_POS       = 3.
      FCAT-FIELDNAME     = 'WRBTR'.
      FCAT-TABNAME       = 'LT_TAB'.
      FCAT-CFIELDNAME    = 'WAERS'.
      FCAT-REF_FIELDNAME = 'WRBTR'.
      FCAT-REF_TABNAME   = 'BSEG'.
      FCAT-DO_SUM        = 'X'.
      APPEND FCAT.
      FCAT-COL_POS       = 4.
      FCAT-FIELDNAME     = 'WAERS'.
      FCAT-TABNAME       = 'LT_TAB'.
      FCAT-REF_FIELDNAME = 'WAERS'.
      FCAT-REF_TABNAME   = 'BKPF'.
      FCAT-DO_SUM        = SPACE.
      APPEND FCAT.
      SELECT * FROM BSEG INTO CORRESPONDING FIELDS OF TABLE LT_TAB
        WHERE BUKRS = 'MAAB'
          AND BELNR = '0000000001'.
      LT_TAB-WAERS = 'EUR'.
      MODIFY LT_TAB FROM LT_TAB TRANSPORTING WAERS WHERE WAERS = SPACE.
    *CALLING ALV
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
        EXPORTING
          I_CALLBACK_PROGRAM = 'ZPROVAMAX5'.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
        EXPORTING
          IS_LAYOUT   = LAYOUT
          IT_FIELDCAT = FCAT[]
          I_TABNAME   = 'LT_TAB'
          IT_EVENTS   = IT_EVENTS[]
        TABLES
          T_OUTTAB    = LT_TAB[].
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'.
    I've also inserted a currency field
    Max

  • Data is not getting displayed in the report from an Infoset.

    Hi All,
    I am having a report  based on an infoset. This report is displaying the data in the Dev. envmt. When it is transported to the QA, it is not displaying the data in the BEx as well as RSRT, in the QA envmt. The patch levels of both the Dev. and QA are the same. The Queries are same in the Dev and QA also.
    While trying to display the data from the infoset (rt.click- display data), i am able to view the data, in the QA.
    Could anyone please suggest why the data is not getting displayed in the query designer.
    Thanks & Regards,
    A.V.N.Rao

    Hi Ashish,
    I ran the "ZPS/!ZPS" in RSRT where ZPS is the infoset name. In Dev, it displayed the values. In QA, it displayed the below messages:
    ECharacteristic 0TCAKYFNM does not exist. Check authorizations
    WThere are calculated elements. These results are bracketed [  ]
    and below that, it displayed the values for Number of records. But, it has not displayed the values for the other figures.
    Does this has any impact in QA.
    Thanks & Regards,
    AVN Rao.

  • Work item not getting displayed in the portal

    Hi  experts,
    We are creating a protoype for one of the standard HCM form for change in working time. When we initiate the process, the workflow is supposed to identify the agent(which is the manager in this case) and push the work item in the inbox of the manager.
    In our issue, we are able to see the workitem in SAP inbox, but the same work item is not getting displayed in the portal.
    If we try to approve from the SAP inbox, the hard coded message u201CWork item can only be executed using the Portal and the UWLu201D comes. [this comes through the method of  one of the tasks 17900101 which we are using for approving the form]
    We commented the message by using a Z class. Now we donu2019t get the hardcoded message, but still the workflow does not complete from here.
    Can this be aan integration issue of the workflow tasks with the portal??Can someone elaborate on this??

    <ItemType name="uwl.task.webflow.TS17900101.SAP_ECC" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
          <ItemTypeCriteria systemId="SAP_ECC" externalType="TS17900101" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="WebDynproApplication" value="ApproveFormApp"/>
                <Property name="WebDynproDeployableObject" value="sap.com/pa~asr~formstep"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>
    You have to say to your portal team to modify their XML file as above. In simple you hvae to configure the task in the portal and in the SWFVISU txn as follows with the following vizualization parameters
    Task TS17900101 and visualization type is JavaWebDynpro
    APPLICATION     ApproveFormApp
    PACKAGE     sap.com/pa~asr~formstep

  • Links not getting displayed in the contextual panel

    Hi,
    I have created a contextual panel inside a transparent container. And created a method in the same view supply_values of type supply function to supply the values to the panel.Inside the method I have coded like:
    DATA TAB  TYPE WD_THIS->ELEMENTS_N_VIEW_SWITCH.
      DATA LINE TYPE WD_THIS->ELEMENT_N_VIEW_SWITCH.
      LINE-TEXT    = 'User Manual'. "#EC NOTEXT
      LINE-ENABLED = ABAP_TRUE.
      APPEND LINE TO TAB.
      LINE-TEXT    = 'Logout'. "#EC NOTEXT
      LINE-ENABLED = ABAP_TRUE.
      APPEND LINE TO TAB.
      NODE->BIND_TABLE( TAB ).
    Also in the context of the view I have created a node and supplied the method  'supply_values' in the supply function.Under the node I have 2 attributes named text and enabled. Text is of string type and enabled is of boolean type. In the properties of the contextual panel I have bound the visible property with the enabled attribute.
    Now when I am running this application , links are not getting displayed in the contextual panel. Though when I debug TAB contains the values.  Please suggest if I have missed out something or I need to look into the properties of the contextual panel. Any pointers will be really helpful.
    Regards,
    Ashutosh

    Hi,
    Can you elaborate ' ItemEnable property of ViewSwitch'.
    I have already bound the enable property of the panel with a context attribute of type wdy_boolean  but it is still not working. 
    Regards,
    Ashutosh

  • Header not getting  displayed in the next page in the second table

    Dear Experts ,
    I have a query regarding Header not getting  displayed in the next page in the second table of the main window. .Let me elobrate the issue.
    I have a smartform in which there are  2 tables TABLE 1 and TABLE 2 in the smartform MAIN window. TABLE 1 is for pending PO and TABLE 2 is  for future delivery date P O separated by text in between.
    Now the header for both the tables and the data are getting displayed properly if the total output is in only one page. But If there are more entries in the TABLE 1 the Header for the TABLE 2 is not getting displayed. Header for TABLE 1 yet gets displayed properly in the next page in case of more entries.
    Only issue is that Header for TABLE 2 is not getting displayed in second page but it gets displayed if the entries are less in TABLE 1 and the total output is in one page .
    Please provide a elobrate solution on this problem as the requirement is urgent.
    Thanks,
    Regards,
    Sachin Hada

    Hi Sachin,
    you need to cteate two pages FIRST and NEXT.
    in first page --> FIRST
        next       --> NEXT
    in next page
      page---> NEXT
      next ---> NEXT.
    you copy the first page main window is the same in next page
    aslo
    I think help ful for you
    thanks & Regards
    BHUPAL.

  • Whenever a record is Edited the rows are not getting displayed in the repor

    Hi all,
    When a new record is added or edited, It is physically getting added or edited according to the process, but those records are not getting displayed in the report..
    Please Any body faced this situation...
    Help me to identify what error i am doing........
    thanks in advance
    kavitha L

    Hi KChamarti,
    I am also trying to display images insid the datagrid but i get a weird broken image(all silver gray).
    My item renderer is:
              <mx:DataGridColumn headerText="Type">
                   <mx:itemRenderer>
                     <mx:Component>
                      <mx:HBox verticalGap="2">
                          <mx:Image id="dgImage" source="\assets\images\{toLowerCase(data.type)}.jpg" />
                          <mx:Label text="{data.type}"/>
                        </mx:HBox>
                     </mx:Component>
                   </mx:itemRenderer>
                </mx:DataGridColumn>
    Am i mentioning the source of the image in the right way?

  • Text overflown is not getting printed in the next page in ADOBE

    Hi Experts,
    I have a text field, where the users can enter the comments. In this text field if the user enters more than a page, a scroll bar appears in the print preview where the users can view the complete text what they have entered, but while printing the text which exceeds more than a page is not getting printed in the next page.
    I have set the subform properties as "Flowed" and the check box "Allow Page Break within content" is also been enabled, but still the extra contents is not getting printed in the next page.
    Please help me regarding this.
    Thanks & Regards,
    Karthik MD

    Hi Lohitha,
    Even "Expand to fit" is been enabled.
    Thanks & Regards,
    Karthik MD

Maybe you are looking for

  • How to upload a PDF file, zip it and download the zipped file?

    Hi Experts, I have a requirement to upload a PDF file, convert that to a ZIP file and download it. If anyone has worked on this requirement, can you please guide me on this? Thanks. Avi

  • Count of total childeren from hierarchy

    Hi all I have a date hierarchy as followed : 2010 2011 2012 2012 Jan W01 W02 W03 W04 2012 Feb 2012 March In my dataset I'm outputing the results for each month. January  ... February ... I want to add a column in my dataset that counts the amount of

  • Do I need to Reinstall Safari

    A "friend" suggested I install Acidsearch but it seems to have mucked up my copy of Safari. It now fails to load at all. On my daughters account on the same computer all is well. I've tried removing stuff from my own Library/Safari folder, checking p

  • What is the need for calling default constructor by JVM?

    What is the need for calling default constructor by JVM? why the JVM should intiializes default values to the data fields if the constructor is not there in our class?

  • Quick query component without dropdown

    Hi, I am using quickquery component on ADF Tree table .. I want to display quick query without the dropdown in its layout..I want to display only Label, InputText and search button. how can I achieve this? Thanks, Swathi