Not fetchin data

hi experts,
m sendin u the code..when i call merge function it gives a short dump that abap source code lines are longer than internal table..and when i build field catalog manually,it is executing but not fetchin anything..plz help me out.
REPORT  ZMM_R_PO                                .
TABLES: EKKO,EKPO.
TYPE-POOLS SLIS.
DATA: BEGIN OF I_EKKO OCCURS 0,
       EBELN TYPE EKKO-EBELN,
       BUKRS TYPE EKKO-BUKRS,
       BSART TYPE EKKO-BSART,
       LIFNR TYPE EKKO-LIFNR,
       SPRAS TYPE EKKO-SPRAS,
       ZTERM TYPE EKKO-ZTERM,
       END OF I_EKKO.
DATA: BEGIN OF I_EKPO OCCURS 0,
       TEBELN TYPE EKPO-EBELN,
       EBELP TYPE EKPO-EBELP,
       WERKS TYPE EKPO-WERKS,
       MATNR TYPE EKPO-MATNR,
       MATKL TYPE EKPO-MATKL,
       END OF I_EKPO.
*DATA: I_EKKO TYPE TABLE OF T_EKKO WITH HEADER LINE,
     I_EKPO TYPE TABLE OF T_EKPO WITH HEADER LINE.
DATA:I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
      I_FIELDCAT1 TYPE SLIS_FIELDCAT_ALV,
      V_REPID LIKE SY-REPID,
      I_KEYINFO TYPE SLIS_KEYINFO_ALV.
SELECT-OPTIONS S_EBELN FOR EKKO-EBELN.
INITIALIZATION.
  V_REPID = SY-REPID.
  S_EBELN-LOW = '4500006371'.
  S_EBELN-HIGH = '4500012164'.
  S_EBELN-SIGN = 'I'.
  S_EBELN-OPTION = 'EQ'.
  APPEND S_EBELN.
START-OF-SELECTION.
  PERFORM GET_DATA.
  PERFORM BUILD_FIELDCAT.
PERFORM GET_FIELD.
  PERFORM GET_KEY.
  PERFORM DISPLAY.
PERFORM KEY_MODIFY.
END-OF-SELECTION.
*&      Form  GET_DATA
      text
FORM GET_DATA.
  SELECT EBELN BUKRS BSART LIFNR SPRAS ZTERM FROM EKKO INTO CORRESPONDING FIELDS OF TABLE I_EKKO
                                                                        WHERE EBELN IN S_EBELN.
  SELECT EBELN EBELP WERKS MATNR MATKL FROM EKPO INTO CORRESPONDING FIELDS OF TABLE I_EKPO WHERE EBELN IN S_EBELN.
ENDFORM.                    "GET_DATA
*&      Form  BUILD_FIELDCAT
      text
FORM BUILD_FIELDCAT.
  I_FIELDCAT-FIELDNAME = 'EBELN'.
  I_FIELDCAT-SELTEXT_M = 'PURCHASE ORDER'.
  I_FIELDCAT-COL_POS = 1.
  I_FIELDCAT-OUTPUTLEN = 10.
  I_FIELDCAT-EMPHASIZE = 'X'.
  I_FIELDCAT-KEY = 'X'.
  APPEND I_FIELDCAT TO I_FIELDCAT.
  CLEAR I_FIELDCAT.
  I_FIELDCAT-FIELDNAME = 'BUKRS'.
  I_FIELDCAT-SELTEXT_M = 'COMPANY CODE'.
  I_FIELDCAT-COL_POS = 2.
  I_FIELDCAT-OUTPUTLEN = 10.
*I_FIELDCAT-EMPHASIZE = 'X'.
*I_FIELDCAT-KEY = 'X'.
  APPEND I_FIELDCAT TO I_FIELDCAT.
  CLEAR I_FIELDCAT.
  I_FIELDCAT-FIELDNAME = 'BSART'.
  I_FIELDCAT-SELTEXT_M = 'PURCHASING DOC TYPE'.
  I_FIELDCAT-COL_POS = 3.
  I_FIELDCAT-OUTPUTLEN = 20.
  APPEND I_FIELDCAT TO I_FIELDCAT.
  CLEAR I_FIELDCAT.
  I_FIELDCAT-FIELDNAME = 'LIFNR'.
  I_FIELDCAT-SELTEXT_M = 'VENDOA ACC NO'.
  I_FIELDCAT-COL_POS = 4.
  I_FIELDCAT-OUTPUTLEN = 20.
  APPEND I_FIELDCAT TO I_FIELDCAT.
  CLEAR I_FIELDCAT.
  I_FIELDCAT-FIELDNAME = 'SPRAS'.
  I_FIELDCAT-SELTEXT_M = 'LANG.KEY'.
  I_FIELDCAT-COL_POS = 5.
  I_FIELDCAT-OUTPUTLEN = 10.
  APPEND I_FIELDCAT TO I_FIELDCAT.
  CLEAR I_FIELDCAT.
  I_FIELDCAT-FIELDNAME = 'ZTERM'.
  I_FIELDCAT-SELTEXT_M = 'TERMS OF PAYMENT'.
  I_FIELDCAT-COL_POS = 6.
  I_FIELDCAT-OUTPUTLEN = 20.
  APPEND I_FIELDCAT TO I_FIELDCAT.
  CLEAR I_FIELDCAT.
  I_FIELDCAT-FIELDNAME = 'EBELP'.
  I_FIELDCAT-SELTEXT_M = 'ITEM NO OF P.DOC'.
  I_FIELDCAT-COL_POS = 7.
  I_FIELDCAT-OUTPUTLEN = 20.
  APPEND I_FIELDCAT TO I_FIELDCAT.
  CLEAR I_FIELDCAT.
  I_FIELDCAT-FIELDNAME = 'MATNR'.
  I_FIELDCAT-SELTEXT_M = 'MAT.NO.'.
  I_FIELDCAT-COL_POS = 8.
  I_FIELDCAT-OUTPUTLEN = 10.
  APPEND I_FIELDCAT TO I_FIELDCAT.
  CLEAR I_FIELDCAT.
  I_FIELDCAT-FIELDNAME = 'MATKL'.
  I_FIELDCAT-SELTEXT_M = 'MAT GROUP'.
  I_FIELDCAT-COL_POS = 9.
  I_FIELDCAT-OUTPUTLEN = 10.
  APPEND I_FIELDCAT TO I_FIELDCAT.
  CLEAR I_FIELDCAT.
ENDFORM.                    "BUILD_FIELDCAT
*&      Form  GET_FIELD
      text
*FORM GET_FIELD.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
  EXPORTING
    I_PROGRAM_NAME               = V_REPID
    I_INTERNAL_TABNAME           = 'I_EKKO'
I_STRUCTURE_NAME             =
    I_CLIENT_NEVER_DISPLAY       = 'X'
  I_INCLNAME                   = V_REPID
  I_BYPASSING_BUFFER           =
  I_BUFFER_ACTIVE              =
   CHANGING
     CT_FIELDCAT                  = I_FIELDCAT[]
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.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
  EXPORTING
    I_PROGRAM_NAME               = V_REPID
    I_INTERNAL_TABNAME           = 'I_EKPO'
  I_STRUCTURE_NAME             =
    I_CLIENT_NEVER_DISPLAY       = 'X'
I_INCLNAME                   = V_REPID
    I_BYPASSING_BUFFER           =
  I_BUFFER_ACTIVE              =
   CHANGING
     CT_FIELDCAT                  = I_FIELDCAT[]
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.                    "GET_FIELD
*&      Form  GET_KEY
      text
FORM GET_KEY.
  I_KEYINFO-HEADER01 = 'EBELN'.
  I_KEYINFO-ITEM01 = 'TEBELN'.
ENDFORM.                    "GET_KEY
*&      Form  DISPLAY
      text
FORM DISPLAY.
  CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
    EXPORTING
  I_INTERFACE_CHECK              = ' '
     I_CALLBACK_PROGRAM             = V_REPID
  I_CALLBACK_PF_STATUS_SET       = ' '
  I_CALLBACK_USER_COMMAND        = ' '
  IS_LAYOUT                      =
     IT_FIELDCAT                    = I_FIELDCAT[]
  IT_EXCLUDING                   =
  IT_SPECIAL_GROUPS              =
  IT_SORT                        =
  IT_FILTER                      =
  IS_SEL_HIDE                    =
  I_SCREEN_START_COLUMN          = 0
  I_SCREEN_START_LINE            = 0
  I_SCREEN_END_COLUMN            = 0
  I_SCREEN_END_LINE              = 0
  I_DEFAULT                      = 'X'
  I_SAVE                         = ' '
  IS_VARIANT                     =
  IT_EVENTS                      =
  IT_EVENT_EXIT                  =
      I_TABNAME_HEADER               = 'I_EKKO'
     I_TABNAME_ITEM                 = 'I_EKPO'
  I_STRUCTURE_NAME_HEADER        =
  I_STRUCTURE_NAME_ITEM          =
      IS_KEYINFO                     = I_KEYINFO
  IS_PRINT                       =
  IS_REPREP_ID                   =
  I_BYPASSING_BUFFER             =
  I_BUFFER_ACTIVE                =
IMPORTING
  E_EXIT_CAUSED_BY_CALLER        =
  ES_EXIT_CAUSED_BY_USER         =
    TABLES
      T_OUTTAB_HEADER                = I_EKKO
     T_OUTTAB_ITEM                  = I_EKPO
EXCEPTIONS
  PROGRAM_ERROR                  = 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.
ENDFORM.                    "DISPLAY
*FORM KEY_MODIFY.
*LOOP AT I_FIELDCAT.
*CASE I_FIELDCAT-FIELDNAME.
*WHEN 'TEBELN'.
*IF I_FIELDCAT-TABNAME = 'I_EKPO'.
*I_FIELDCAT-NO_OUT = 'X'.
*I_FIELDCAT-KEY = SPACE.
*ENDIF.
*ENDCASE.
*MODIFY I_FIELDCAT INDEX SY-TABIX.
*ENDLOOP.
regards,
raman.

Hi,
Check this:
You were not passing INTERNAL TABLE name to the field catalogue!!!
REPORT ZMM_R_PO .
TABLES: EKKO,EKPO.
TYPE-POOLS SLIS.
DATA: BEGIN OF I_EKKO OCCURS 0,
EBELN TYPE EKKO-EBELN,
BUKRS TYPE EKKO-BUKRS,
BSART TYPE EKKO-BSART,
LIFNR TYPE EKKO-LIFNR,
SPRAS TYPE EKKO-SPRAS,
ZTERM TYPE EKKO-ZTERM,
END OF I_EKKO.
DATA: BEGIN OF I_EKPO OCCURS 0,
TEBELN TYPE EKPO-EBELN,
EBELP TYPE EKPO-EBELP,
WERKS TYPE EKPO-WERKS,
MATNR TYPE EKPO-MATNR,
MATKL TYPE EKPO-MATKL,
END OF I_EKPO.
*DATA: I_EKKO TYPE TABLE OF T_EKKO WITH HEADER LINE,
I_EKPO TYPE TABLE OF T_EKPO WITH HEADER LINE.
DATA:I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
I_FIELDCAT1 TYPE SLIS_FIELDCAT_ALV,
V_REPID LIKE SY-REPID,
I_KEYINFO TYPE SLIS_KEYINFO_ALV.
SELECT-OPTIONS S_EBELN FOR EKKO-EBELN.
INITIALIZATION.
V_REPID = SY-REPID.
S_EBELN-LOW = '4500006371'.
S_EBELN-HIGH = '4500012164'.
S_EBELN-SIGN = 'I'.
S_EBELN-OPTION = 'EQ'.
APPEND S_EBELN.
START-OF-SELECTION.
PERFORM GET_DATA.
PERFORM BUILD_FIELDCAT.
PERFORM GET_FIELD.
PERFORM GET_KEY.
PERFORM DISPLAY.
PERFORM KEY_MODIFY.
END-OF-SELECTION.
*& Form GET_DATA
text
FORM GET_DATA.
SELECT EBELN BUKRS BSART LIFNR SPRAS ZTERM FROM EKKO INTO CORRESPONDING
FIELDS OF TABLE I_EKKO
WHERE EBELN IN S_EBELN.
SELECT EBELN EBELP WERKS MATNR MATKL FROM EKPO INTO CORRESPONDING FIELDS
OF TABLE I_EKPO WHERE EBELN IN S_EBELN.
ENDFORM. "GET_DATA
*& Form BUILD_FIELDCAT
text
FORM BUILD_FIELDCAT.
<b>I_FIELDCAT-TABNAME = 'I_EKKO'.</b>
I_FIELDCAT-FIELDNAME = 'EBELN'.
I_FIELDCAT-SELTEXT_M = 'PURCHASE ORDER'.
I_FIELDCAT-COL_POS = 1.
I_FIELDCAT-OUTPUTLEN = 10.
I_FIELDCAT-EMPHASIZE = 'X'.
I_FIELDCAT-KEY = 'X'.
APPEND I_FIELDCAT TO I_FIELDCAT.
CLEAR I_FIELDCAT.
<b>I_FIELDCAT-TABNAME = 'I_EKKO'.</b>
I_FIELDCAT-FIELDNAME = 'BUKRS'.
I_FIELDCAT-SELTEXT_M = 'COMPANY CODE'.
I_FIELDCAT-COL_POS = 2.
I_FIELDCAT-OUTPUTLEN = 10.
*I_FIELDCAT-EMPHASIZE = 'X'.
*I_FIELDCAT-KEY = 'X'.
APPEND I_FIELDCAT TO I_FIELDCAT.
CLEAR I_FIELDCAT.
<b>I_FIELDCAT-TABNAME = 'I_EKKO'.</b>
I_FIELDCAT-FIELDNAME = 'BSART'.
I_FIELDCAT-SELTEXT_M = 'PURCHASING DOC TYPE'.
I_FIELDCAT-COL_POS = 3.
I_FIELDCAT-OUTPUTLEN = 20.
APPEND I_FIELDCAT TO I_FIELDCAT.
CLEAR I_FIELDCAT.
<b>I_FIELDCAT-TABNAME = 'I_EKKO'.</b>
I_FIELDCAT-FIELDNAME = 'LIFNR'.
I_FIELDCAT-SELTEXT_M = 'VENDOA ACC NO'.
I_FIELDCAT-COL_POS = 4.
I_FIELDCAT-OUTPUTLEN = 20.
APPEND I_FIELDCAT TO I_FIELDCAT.
CLEAR I_FIELDCAT.
<b>I_FIELDCAT-TABNAME = 'I_EKKO'.</b>
I_FIELDCAT-FIELDNAME = 'SPRAS'.
I_FIELDCAT-SELTEXT_M = 'LANG.KEY'.
I_FIELDCAT-COL_POS = 5.
I_FIELDCAT-OUTPUTLEN = 10.
APPEND I_FIELDCAT TO I_FIELDCAT.
CLEAR I_FIELDCAT.
<b>I_FIELDCAT-TABNAME = 'I_EKKO'.</b>
I_FIELDCAT-FIELDNAME = 'ZTERM'.
I_FIELDCAT-SELTEXT_M = 'TERMS OF PAYMENT'.
I_FIELDCAT-COL_POS = 6.
I_FIELDCAT-OUTPUTLEN = 20.
APPEND I_FIELDCAT TO I_FIELDCAT.
CLEAR I_FIELDCAT.
<b>I_FIELDCAT-TABNAME = 'I_EKPO'.</b>
I_FIELDCAT-FIELDNAME = 'EBELP'.
I_FIELDCAT-SELTEXT_M = 'ITEM NO OF P.DOC'.
I_FIELDCAT-COL_POS = 7.
I_FIELDCAT-OUTPUTLEN = 20.
APPEND I_FIELDCAT TO I_FIELDCAT.
CLEAR I_FIELDCAT.
<b>
I_FIELDCAT-TABNAME = 'I_EKPO'.</b>
I_FIELDCAT-FIELDNAME = 'MATNR'.
I_FIELDCAT-SELTEXT_M = 'MAT.NO.'.
I_FIELDCAT-COL_POS = 8.
I_FIELDCAT-OUTPUTLEN = 10.
APPEND I_FIELDCAT TO I_FIELDCAT.
CLEAR I_FIELDCAT.
<b>I_FIELDCAT-TABNAME = 'I_EKPO'.</b>
I_FIELDCAT-FIELDNAME = 'MATKL'.
I_FIELDCAT-SELTEXT_M = 'MAT GROUP'.
I_FIELDCAT-COL_POS = 9.
I_FIELDCAT-OUTPUTLEN = 10.
APPEND I_FIELDCAT TO I_FIELDCAT.
CLEAR I_FIELDCAT.
ENDFORM. "BUILD_FIELDCAT
*& Form GET_FIELD
text
*FORM GET_FIELD.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = V_REPID
I_INTERNAL_TABNAME = 'I_EKKO'
I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
I_INCLNAME = V_REPID
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
CHANGING
CT_FIELDCAT = I_FIELDCAT[]
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.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = V_REPID
I_INTERNAL_TABNAME = 'I_EKPO'
I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
I_INCLNAME = V_REPID
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
CHANGING
CT_FIELDCAT = I_FIELDCAT[]
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. "GET_FIELD
*& Form GET_KEY
text
FORM GET_KEY.
I_KEYINFO-HEADER01 = 'EBELN'.
I_KEYINFO-ITEM01 = 'TEBELN'.
ENDFORM. "GET_KEY
*& Form DISPLAY
text
FORM DISPLAY.
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_CALLBACK_PROGRAM = V_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
IS_LAYOUT =
IT_FIELDCAT = I_FIELDCAT[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
I_TABNAME_HEADER = 'I_EKKO'
I_TABNAME_ITEM = 'I_EKPO'
I_STRUCTURE_NAME_HEADER =
I_STRUCTURE_NAME_ITEM =
IS_KEYINFO = I_KEYINFO
IS_PRINT =
IS_REPREP_ID =
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB_HEADER = I_EKKO
T_OUTTAB_ITEM = I_EKPO
EXCEPTIONS
PROGRAM_ERROR = 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.
ENDFORM. "DISPLAY
*FORM KEY_MODIFY.
*LOOP AT I_FIELDCAT.
*CASE I_FIELDCAT-FIELDNAME.
*WHEN 'TEBELN'.
*IF I_FIELDCAT-TABNAME = 'I_EKPO'.
*I_FIELDCAT-NO_OUT = 'X'.
*I_FIELDCAT-KEY = SPACE.
*ENDIF.
*ENDCASE.
*MODIFY I_FIELDCAT INDEX SY-TABIX.
*ENDLOOP.
Regards,
Arun Mohan
<b>
Reward if helpful</b>

Similar Messages

  • SSRS 2008 Column Chart with Calculated Series (moving average) "formula error - there are not enough data points for the period" error

    I have a simple column chart grouping on 1 value on the category axis.  For simplicity's sake, we are plotting $ amounts grouping by Month on the category axis.  I right click on the data series and choose "Add calculated series...".  I choose moving average.  I want to move the average over at least 2 periods.
    When I run the report, I get the error "Formula error - there are not enough data points for the period".  The way the report is, I never have a guaranteed number of categories (there could be one or there could be 5).  When there is 2 or more, the chart renders fine, however, when there is only 1 value, instead of suppressing the moving average line, I get that error and the chart shows nothing.
    I don't think this is entirely acceptable for our end users.  At a minimum, I would think the moving average line would be suppressed instead of hiding the entire chart.  Does anyone know of any workarounds or do I have to enter another ms. connect bug/design consideration.
    Thank you,
    Dan

    I was having the same error while trying to plot a moving average across 7 days. The work around I found was rather simple.
    If you right click your report in the solution explorer and select "View Code" it will give you the underlying XML of the report. Find the entry for the value of your calculated series and enter a formula to dynamically create your periods.
    <ChartFormulaParameter Name="Period">
                      <Value>=IIf(Count(Fields!Calls.Value) >= 7 ,7, (Count(Fields!Calls.Value)))</Value>
    </ChartFormulaParameter>
    What I'm doing here is getting the row count of records returned in the chart. If the returned rows are greater than or equal to 7 (The amount of days I want the average) it will set the points to 7. If not, it will set the number to the amount of returned rows. So far this has worked great. I'm probably going to add more code to handle no records returned although in my case that shouldn't happen but, you never know.
    A side note:
    If you open the calculated series properties in the designer, you will notice the number of periods is set to "0". If you change this it will overwrite your custom formula in the XML.

  • I can not see data in data viewer

    Hi,
    I use OWB 10g Relase 2. I have one table and I imported table metadata to OWB. I load data to table with pl/sql script, Now I do not see data in this table in data viewer. I see data in SQL*PLUS
    I tried deploy table and run script to load again. Same problem.
    I run mapping from this table. But target object is empty as well.
    Thanks for advice
    Jerry

    my fail, I forgot commit transaction

  • Not getting data in Dimension

    Hi all,
    i am craeating a dimension and i did the mapping also.i get the data in that dimension table.But i am not able to get the data in the Dimesion (i.e When i right click on the dimesion which i have created,there one option is called Data Viewer,from that i am not getting data)
    Can any help me about this.

    Hi,
    Just try with the code given below... hope that helps you out....
    also write a break-point statement just before the if statement and check in the debugging mode if it i_mseg table has some values or not...
    if i_mseg[] is not initial.
    select zzlcno zzlcdt
    into i_ekpo from ekpo
    for all entries in i_mseg
    where ebeln = i_mseg-ebeln.
        append i_ekpo.
    endselect.
    endif.
          OR
    if i_mseg[] is not initial.
    select zzlcno zzlcdt
    into corresponding fields of  i_ekpo from ekpo
    for all entries in i_mseg
    where ebeln = i_mseg-ebeln.
        append i_ekpo.
    endselect.
    endif.
    Regards,
    Siddarth

  • Can not find data in virtual cube

    Experts,
    I can not find data in virtual cube with services function module (copying Z_RS_BCT_FIGL_DATA_GET_VC10 from RS_BCT_FIGL_DATA_GET_VC10).The standard cube is maintained with data.
    Can anybody tell me what could be the reasons the data is coming through Virtua cube.
    Thanks,
    AK

    Hi,
    i_basic_infoprov is the name of the provider where the data is selected from. This must be a basic provider that contains data. What I meant was, create a copy of fm RS_BCT_FIGL_DATA_GET_VC,1 maybe as Z_BCT_FIGL_DATA_GET_VC1, and enter the name of this fm in the properties of your virtual cube. For that fm it might also be a good idea to enter a default value for i_infoprov. And this should be the name of your virtual cube.
    regards
    Siggi

  • Can not restore data files from backup set

    I am trying to restore Server A's backup data to Server B (they are all oracle11g) using rman. The restore commands is below:
    rman target /;
    shutdown immediate;
    startup nomount;
    restore controlfile from '/usr/local/oracle/backup/20100418/ctl_xxx'
    alter database mount;
    catalog start with '/usr/local/oracle/backup/20100418/';
    restore database;
    recover database;
    alter database open resetlogs;
    For the first time, it works. But when i tried to restore another backup data by the same way:
    rman target /;
    shutdown immediate;
    startup nomount;
    restore controlfile from '/usr/local/oracle/backup/20100425/ctl_xxx'
    alter database mount;
    catalog start with '/usr/local/oracle/backup/20100425/';
    restore database;
    recover database;
    alter database open resetlogs;
    The second time, i found that rman restore the old backup data, which means that it restore the data file under '/usr/local/oracle/backup/20100418/' instead of '/usr/local/oracle/backup/20100425/'.
    So I run 'list backup of database summary' to see the backup set lists in control file.
    List of Backups
    ===============
    Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
    910 B 0 A DISK 18-APR-10 1 1 NO TAG20100418T020007
    945 B 0 A DISK 25-APR-10 1 1 NO TAG20100425T020007
    But when i run ‘restore database preview summary’ to see the backup set list to restore
    List of Backups
    ===============
    Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
    910 B 0 A DISK 18-APR-10 1 1 NO TAG20100418T020007
    there's no backup set 945 at all. that's why i could not restore data file under '/usr/local/oracle/backup/20100425/' at the second time.
    So, why two backup list is different ? how can i restore datafile under '/usr/local/oracle/backup/20100425/' ?
    My backup script is below:
    run{
    allocate channel c1 type disk;
    backup incremental level 0 as backupset format '$DIR/`date +%Y%m%d`/data_%d_c0_%T_%u' database;
    sql 'alter system archive log current';
    backup archivelog from time 'sysdate-14' format '$DIR/`date +%Y%m%d`/log_%d_%T_%u';
    backup current controlfile format '$DIR/`date +%Y%m%d`/ctl_%d_%T_%I_%u';
    release channel c1;
    Thanks
    Edited by: user13055376 on 2010-4-29 上午1:20

    yeah, I am sure Tag: TAG20100425T020007 exists
    RMAN> list backupset 945;
    List of Backup Sets
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    945 Incr 0 6.40G DISK 00:05:46 25-APR-10
    BP Key: 945 Status: AVAILABLE Compressed: NO Tag: TAG20100425T020007
    Piece Name: /usr/local/oracle/backup/20100425/data_QIANGL_c0_20100425_thlbvjt7
    List of Datafiles in backup set 945
    File LV Type Ckp SCN Ckp Time Name
    1 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/system01.dbf
    2 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/sysaux01.dbf
    3 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/undotbs01.dbf
    4 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/users01.dbf
    5 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/dict01.dbf
    6 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/support01.dbf
    7 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/supportindex01.dbf
    8 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/log01.dbf
    9 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/logindex01.dbf
    10 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/lobindex01.dbf
    11 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/data01.dbf
    12 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/indexes01.dbf
    13 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/image001.dbf
    14 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/tongbuimage001.dbf
    15 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/imagebackup001.dbf
    My purpose is to use the newest backupset of Server A to update Server B. So if Server A crush, Server B will be useful. Is there any other way to do that ?
    retention policy :'configure retention policy to redundancy 4'
    And Server A do LV0 backup every 7 day, and do LV1 backup ervery other day.
    Edited by: user13055376 on 2010-4-29 上午3:45

  • Can not receive data 10054

    My version of Essbase is 6.5.1.4. On the server machine it self when I am adding members to outline I get "Can not receive data 10054". To resolve this problem I tried to increase the server page file size but the problem persist.Does anyone know a solution to this problem?SAK

    How exactly are you retrieving data; is it smartview, excel addin, forms, reports etc ?

  • Can not extract data into BW from SQL SERVER

    Dear All,
      I meet a problem to extract data from database(MS SQL Server 2000(sp3)) into BW now and can not extract data into BW ODS, even PSA, In the monitor, display yellow light(0 from 0 record), detail message just display message "data request arranged" "confirmed with: confirmation" in requests(message) step; "missing message: request received" in extract (message)  step; "no data" in processing(data packet) step and so on. but in fact, there are two records in my database test table and DB connection is OK. Even I can extract data from another test oracle database into BW ODS successfully.
       Our BW system has two BW applicaton server and use oracle database. the one application server locates on IBM AIX host. the another one locates on one NT server. the application server on NT server is used for data extration from MS SQL SERVER  database into BW oracle database. and MS SQL SERVER and NT platform application server locate on same one host. DBSL was installed on the NT application server already. and DB connector also was created successfully for MS SQL SERVER and datasource also was generated. DBSL type is Kernel640-WIN-IA32bit-unicode. my BW system is ECC5.0/UNICODE/ORACLE. all table/view/field name of MS SQL server is upcase and have not any specific character. for example: ZDEMO etc.
    wait your help.
    Thanks in advance.
    Billy

    Hi  Ravi,
    Could you help me to get knowledge about the followings:
    approximately how many records    extracting and transfering  from SAP R/3 to BIW  in an organisation. for that how much time  will take .
    How to extract data from  two are three source system  to BIW. Kindly help me with step by step explanation .If any screen shots with documents pls fwd to my ID. "[email protected]"
    Your help highly appreciated.
    Thanks.
    Hema

  • Can not get data from database

    hi all,
        there is a problem ,  when i write like below :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs
                AND hkont = p_hkont.
    p_bukrs , p_hkont are all on the selection screen , and p_bukrs = 1200 another is eq blank. i can not find any data , but with the same condition i can find some data in database , when i debeg i found that p_hkont is initial.
        when i write like this :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs .
    this time i can find the data like the database.
        so , does someone know where the problem is , why i can not get data ?
    kind regards
    kevin

    hi,
    if u r  using bukrs and hkont as parameters in selection screen then
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs = p_bukrs
    AND hkont = p_hkont.
    this will work.
    if u r using then as select-option then the above does n't work.
    bcoz select-options work as internal table bcoz of that u have use the query like this
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs IN p_bukrs
    AND hkont IN p_hkont.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Edited by: Alvaro Tejada Galindo on Aug 15, 2008 5:25 PM

  • 've Password job a year ago to Mobil iPhone 4, and now lost and I can not wipe data from the device or transferred to the new device .. What do I do?

    've Password job a year ago to Mobil iPhone 4, and now lost and I can not wipe data from the device or transferred to the new device .. What do I do?

    iPhones require a SIM for activation.
    Put the device in DFU mode (google it) and restore via iTunes.

  • I can not synchronize data from the prelude livelog

    I can not synchronize data from the prelude livelog apparently seems to be all right, more aprasenta the following message: The Open Clip does not support XMP.
    The Prelude can not apply metadata in it.
    please can someone help me

    Hi -
    When it comes to AVCHD footage, Prelude wants to leverage the complex folder structure in order to save metadata. If the file is just the *.MTS file and is not part of the original folder structure, Prelude will report it cannot write metadata to the file. You can transcode the *.MTS to another format and then add metadata.
    We are looking at future solution for what we call "naked MTS file", but unfortunately that is not part of the currently released product version.
    Michael

  • Apple TV (1st gen) photos in an Event not in date order

    I have synced selected Events from iPhoto to my Apple TV 1st gen with iTunes 11.0.1
    The events synced are "merged" events from 2 cameras on a month-by-month basis.
    In iPhoto, I have the event sorted by date, but on the Apple TV, the photos are NOT in date order.
    How can I get the Apple TV to reflect the choice I make in iPhoto ??

    Thanks Winston
    DIT-DIT-DIT-DAH

  • How can I restore my data from iCal? I didn't make any backup, but I use  time machine with an external HD. I deleted iCal when I deleted my gmail account. I have tried to restore, but I can only restore the iCal software and not the data.

    How can I restore my data from iCal? I didn't make any backup, but I use  time machine with an external HD. I deleted iCal when I deleted my gmail account. I have tried to restore, but I can only restore the iCal software and not the data.

    So what is your question?
    If you forgot your encryption password:
    Warning: Make sure it's a password you will remember or write it down for safekeeping. If you encrypt an iPhone backup in iTunes and forget your password, you can't restore from backup and your data will be unrecoverable.
    If you can't remember the password and want to start again, you must perform a full software restore and chooseset up as a new device when iTunes prompts you to select the backup from which to restore.
    The above comes from here:
    http://support.apple.com/kb/HT4946

  • Not getting data for 1 field in ODS

    Hi BW Experts,
    I am loading the data from R/3 to BW.I have loaded the data through PSA.The data is available in New data field. After activating the ODS, for 1 field the data is not uploaded and in the report, the values are not displaying.
    I have checked the Transformations also. it is mapped correctly.But still i am not getting data for that field.
    Thanks,
    Siva.

    Thanks for the Update
    1. What is your Service Pack Level?
      Service Pack is 0016
    2. Are you able to see the data in PSA?
       Yes I can see the data in PSA
    3. After load, are you able to see the value in New table?
       Yes i can able to see the data in New data table
    4. Anywhere, are you doing the SORTING of Data Package?
       No I have not sorted the data Package.I have not written any coding on this
    I have not written any coding in transformation also.
    Thanks,
    Siva.

  • When I was talking on phone, suddenly the phone was switched off. i tried to switch it on but it gave the message....connect to itunes for set up.  when I connected it to itunes...it gave the message, itunes can not read data from this iphone, restore it

    when I was talking on phone, suddenly the phone was switched off.
    i tried to switch it on but it gave the message....connect to itunes for set up.
    when I connected it to itunes...it gave the message, itunes can not read data from this iphone, restore it to factory settings. It also said while restoring ypu will lose all media data but you can restore the contacts.
    I restored the factory settings....the phone was on recovery mode...it was verified by itunes and all that..but in the end it again said that iphone has some problem and can not function right now.
    after that when ever i connect it with itunes, it gives the message, it can not activate the iphone further, try again later or contact customer service.
    What to do now?????? Customer service people say..it is hardware problem

    If it's a hardware problem, then the phone will need to be replaced.
    There is no magic that can fix a hardware problem.

Maybe you are looking for

  • Photo will not print

    I am using Adobe Photoshop Elements 8 and trying to print photos.  When I have set it all up ready for printing and press the print button  a box opens with the comment "Another computer is using the printer" "The following status is the usage status

  • Bapi for invoice create

    hi , i want to create invoice ..the reference number will be delivery...is there any bapi/fm to do this..i tried bapi_billingdocu_createmultiple..but its not working..if there isn't any bapi what isthe other way...its an urgent thing..thank you.. Tha

  • CD2 of Metadata Repository Creation Assistant (10.1.2.0.3) bad

    Top Url of Page reads: http://www.oracle.com/technology/software/products/ias/htdocs/101202.html CD2 of the Metadata Repository Creation Assistant (10.1.2.0.3) downloads fine and my cksumm of the file matches what I see on the download site of: 68888

  • How to find the Administrator Name of OS X Server, and login to it from the Server app from another Mac?

    OS X Mountain Lion 10.8.5 and Server 2.2.2 on both Mac Mini Server and Macbook Pro.  They are on the same WiFi network. I want to use the MBP to manage the Server on Mac Mini Server and use the MacMiniServer to provide Caching Service for my MBP, iPa

  • How do I stop pop-up websites in Safari?

    While using Safari random web-sites open new windows in my browser. How do I stop these sites from popping up?