DUMP error while executing SMARTFORMS

hi ppl,
         In driver program i have coded like this-
types: begin of tw,
       ebeln type ebeln,
       bukrs type bukrs,
       bsart type bsart,
       end of tw,
tt type standard table of tw.
data: itab type tt,
      wa type tw,
      lf_ebeln type ebeln.
select-options: so_ebeln for lf_ebeln.
select ebeln bukrs bsart from ekko into table itab where ebeln in so_ebeln.
CALL FUNCTION '/1BCDWB/SF00000026'
  EXPORTING
  ARCHIVE_INDEX              =
  ARCHIVE_INDEX_TAB          =
  ARCHIVE_PARAMETERS         =
  CONTROL_PARAMETERS         =
  MAIL_APPL_OBJ              =
  MAIL_RECIPIENT             =
  MAIL_SENDER                =
  OUTPUT_OPTIONS             =
  USER_SETTINGS              = 'X'
    wa1                        = wa
IMPORTING
  DOCUMENT_OUTPUT_INFO       =
  JOB_OUTPUT_INFO            =
  JOB_OUTPUT_OPTIONS         =
  tables
    itab1                      = itab
EXCEPTIONS
  FORMATTING_ERROR           = 1
  INTERNAL_ERROR             = 2
  SEND_ERROR                 = 3
  USER_CANCELED              = 4
  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.
In smartforms-
form interface -export-> WA1 type ekko.
                      tables->ITAB1 like ekko .
IN left subtree ->main area, i have created 3 new columns and declred
loop itab1 into wa1.
cell1-text1-&wa1-ebeln&
cell2-text2-&wa1-bukrs&
cell2-text3-&wa1-bsart&
                                   but i know where the exact error is, there is a mismatch between wa1 with wa and also itab with that of itab1 in driver program.so iam not getting the exact solution.Is it always mandatory , for a table we need to declare whole its structure with header line in driver program and need to write select (select  *) instead of (select ebeln bukrs bsart).plz some body help me in this issue.

Hi,
Hope it will be useful for u ... Sample Program for your reference ...
TABLES : EKKO.
PARAMETERS : P_EBELN TYPE EKKO-EBELN.
TYPES : BEGIN OF TY_EKKO,
        EBELN TYPE EKKO-EBELN,
        LIFNR TYPE EKKO-LIFNR,
        AEDAT TYPE EKKO-AEDAT,
        END OF TY_EKKO.
TYPES : BEGIN OF TY_EKPO,
        EBELP TYPE EKPO-EBELP,
        MATNR TYPE EKPO-MATNR,
        MENGE TYPE EKPO-MENGE,
        MEINS TYPE EKPO-MEINS,
        NETPR TYPE EKPO-NETPR,
        PEINH TYPE EKPO-PEINH,
        END OF TY_EKPO.
TYPES : BEGIN OF TY_LFA1,
        LIFNR TYPE LFA1-LIFNR,
        NAME1 TYPE LFA1-NAME1,
        LAND1 TYPE LFA1-LAND1,
        END OF TY_LFA1.
TYPES : BEGIN OF TY_MAKT,
        MATNR TYPE MARA-MATNR,
        MAKTX TYPE MAKT-MAKTX,
        END OF TY_MAKT.
DATA :  IT_FINAL TYPE ZMEME_SSF,
        WA_FINAL TYPE ZMEME,
        IT_EKKO TYPE STANDARD TABLE OF TY_EKKO,
        IT_EKPO TYPE STANDARD TABLE OF TY_EKPO,
        IT_LFA1 TYPE STANDARD TABLE OF TY_LFA1,
        IT_MAKT TYPE STANDARD TABLE OF TY_MAKT,
        WA_EKKO TYPE TY_EKKO,
        WA_EKPO TYPE TY_EKPO,
        WA_MAKT TYPE TY_MAKT,
        WA_LFA1 TYPE TY_LFA1,
        SATURN TYPE RS38L_FNAM.
( Assume that u have got all the datas in your final internal table then ... )
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
  EXPORTING
    FORMNAME                 = 'ZEBRA'
  VARIANT                  = ' '
  DIRECT_CALL              = ' '
IMPORTING
   FM_NAME                  = SATURN
EXCEPTIONS
  NO_FORM                  = 1
  NO_FUNCTION_MODULE       = 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 SATURN
EXPORTING
  ARCHIVE_INDEX              =
  ARCHIVE_INDEX_TAB          =
  ARCHIVE_PARAMETERS         =
  CONTROL_PARAMETERS         =
  MAIL_APPL_OBJ              =
  MAIL_RECIPIENT             =
  MAIL_SENDER                =
  OUTPUT_OPTIONS             =
  USER_SETTINGS              = 'X'
IMPORTING
  DOCUMENT_OUTPUT_INFO       =
  JOB_OUTPUT_INFO            =
  JOB_OUTPUT_OPTIONS         =
  TABLES
    IT_SSF                     = IT_FINAL
EXCEPTIONS
  FORMATTING_ERROR           = 1
  INTERNAL_ERROR             = 2
  SEND_ERROR                 = 3
  USER_CANCELED              = 4
  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.
All the best,
Cheers ...

Similar Messages

  • Dump error while executing this unicode program.....

    Hi,
         I got a program for 'Production Order Quantity Change Daily Checklist' ,but while executing i got the dump error from the following program stating tat,
      The current statement is only defined for character-type data objects.
    Error in the ABAP Application Program
    The current ABAP program "ZPROD" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    For the statement
       "READ DATASET ... INTO f"
    only character-type data objects are supported at the argument position
    "f".
    In this case. the operand "f" has the non-character-type "u". The
    current program is a Unicode program. In the Unicode context, the type
    'X' or structures containing not only character-type components are
    regarded as non-character-type.
    Program:
    REPORT ZPPORDER LINE-SIZE 180 NO STANDARD PAGE HEADING
                    LINE-COUNT 058(001).
    TABLES: AUFK,  "Order master data
            AFKO,  "Order header data PP orders
            RESB,  "Reservation/dependent requirements
            MAST,  "Material to BOM Link
            STKO,  "BOM Header
            STPO.  "BOM item
    DATA: BEGIN OF WA,
             AUART      TYPE AUFK-AUART,
             AUFNR      TYPE AUFK-AUFNR,
             AEDAT      TYPE AUFK-AEDAT,
             AENAM      TYPE AUFK-AENAM,
             WERKS      TYPE AUFK-WERKS,
             PLNBEZ     TYPE AFKO-PLNBEZ,
             GAMNG      TYPE AFKO-GAMNG,
             GASMG      TYPE AFKO-GASMG,
             MATNR      TYPE RESB-MATNR,
             POSNR      TYPE RESB-POSNR,
             BDMNG      TYPE RESB-BDMNG,
             BMENG      TYPE STKO-BMENG,
             MENGE      TYPE STPO-MENGE,
          END OF WA,
          ITAB  LIKE SORTED   TABLE OF WA WITH NON-UNIQUE KEY AUFNR POSNR.
    DATA: BEGIN OF ITAB2 OCCURS 0.
          INCLUDE STRUCTURE WA.
    DATA: END OF ITAB2.
    DATA: BEGIN OF ITAB_AUFK OCCURS 0,
          AUART  LIKE AUFK-AUART,
          AUFNR  LIKE AUFK-AUFNR,
          POSNR  LIKE RESB-POSNR,
          AEDAT  LIKE AUFK-AEDAT,
          AENAM  LIKE AUFK-AENAM,
          WERKS  LIKE AUFK-WERKS,
          PLNBEZ LIKE AFKO-PLNBEZ,
          GAMNG(7) TYPE P DECIMALS 0,
          GASMG(7) TYPE P DECIMALS 0,
          MATNR  LIKE RESB-MATNR,
          BDMNG(7) TYPE P DECIMALS 0,
          BMENG(7) TYPE P DECIMALS 0,
          MENGE(7) TYPE P DECIMALS 3.
    DATA: END OF ITAB_AUFK.
    DATA: FDATE LIKE SY-DATUM,
          LDATE LIKE SY-DATUM.
    DATA: X_AUFNR LIKE AFKO-AUFNR,
          X_MENGE(7) TYPE P DECIMALS 0,
          X_ERR(3).
    DATA: W_DATASET1(500) VALUE '/usr/sap/trans/data/'.
    SELECT-OPTIONS T_WERKS  FOR  AUFK-WERKS OBLIGATORY.
    SELECT-OPTIONS T_AUFNR  FOR  AUFK-AUFNR.
    SELECT-OPTIONS T_AEDAT  FOR  AUFK-AEDAT.
    PARAMETERS     PDATA    LIKE W_DATASET1.
    CONCATENATE W_DATASET1 PDATA INTO W_DATASET1.
    PERFORM F_COLLECT_DATA.
    FORM F_COLLECT_DATA.
    OPEN DATASET W_DATASET1 FOR INPUT IN TEXT MODE encoding default.
      DO.
         IF sy-subrc <> 0.
            EXIT.
         ENDIF.
         READ DATASET W_DATASET1 INTO WA.
         APPEND WA TO ITAB2.
      ENDDO.
    CLOSE DATASET W_DATASET1.
    SELECT  AAUFNR  AAUART AAEDAT AAENAM A~WERKS
            BPLNBEZ BGAMNG B~GASMG
            CMATNR  CBDMNG C~POSNR
         INTO CORRESPONDING FIELDS OF TABLE ITAB
         FROM          ( AUFK AS A
              INNER JOIN AFKO AS B ON BAUFNR  = AAUFNR
              INNER JOIN RESB AS C ON CAUFNR  = AAUFNR )
         WHERE A~AEDAT IN T_AEDAT
           AND A~WERKS IN T_WERKS.
         LOOP AT ITAB INTO WA.
            CLEAR MAST.
            SELECT SINGLE * FROM MAST WHERE MATNR = WA-PLNBEZ
                                        AND WERKS = WA-WERKS.
            CLEAR STKO.
            SELECT SINGLE * FROM STKO WHERE STLNR = MAST-STLNR
                                        AND STLAL = MAST-STLAL.
            CLEAR STPO.
            SELECT SINGLE * FROM STPO WHERE STLNR = MAST-STLNR
                                        AND POSNR = WA-POSNR.
            WA-BMENG = STKO-BMENG.
            WA-MENGE = STPO-MENGE.
            MODIFY ITAB FROM WA.
            AT NEW AUFNR.
               SKIP.
            ENDAT.
            LOOP AT ITAB2 WHERE AUFNR = WA-AUFNR
                            AND POSNR = WA-POSNR.
                IF ITAB2-GAMNG <> WA-GAMNG OR
                   ITAB2-GASMG <> WA-GASMG OR
                   ITAB2-BDMNG <> WA-BDMNG.
                   CLEAR X_MENGE.
                   IF ITAB2-BMENG <> 0.
                      X_MENGE = ITAB2-GAMNG / ITAB2-BMENG * ITAB2-MENGE.
                   ENDIF.
                   CLEAR X_ERR.
                   IF ITAB2-BDMNG <> X_MENGE.
                      X_ERR = 'Err'.
                   ENDIF.
                   FORMAT COLOR COL_TOTAL.
                   WRITE: / ITAB2-AUART  UNDER 'Type',
                            ITAB2-AUFNR  UNDER 'Prod Order',
                            ITAB2-AEDAT  UNDER 'Last Chg Dt',
                            ITAB2-AENAM  UNDER 'Last Chg by',
                            ITAB2-WERKS  UNDER 'Plant',
                            ITAB2-PLNBEZ UNDER 'Material',
                       (10) ITAB2-GAMNG  UNDER 'Order Qty' DECIMALS 0,
                       (10) ITAB2-GASMG  UNDER 'Scrap Qty' DECIMALS 0,
                            ITAB2-POSNR  UNDER 'Item',
                            ITAB2-MATNR  UNDER 'Component Req',
                       (10) ITAB2-BDMNG  UNDER 'Req Qty' DECIMALS 0,
                            X_MENGE      UNDER 'BOM Qty' COLOR COL_TOTAL,
                            ITAB2-BMENG  UNDER 'BOM Base',
                            ITAB2-MENGE  UNDER 'BOM Comp',
                            X_ERR        UNDER 'Rmks' COLOR COL_TOTAL.
                   CLEAR X_MENGE.
                   IF WA-BMENG <> 0.
                      X_MENGE = WA-GAMNG / WA-BMENG * WA-MENGE.
                   ENDIF.
                   CLEAR X_ERR.
                   IF WA-BDMNG <> X_MENGE.
                      X_ERR = 'Err'.
                   ENDIF.
                   FORMAT COLOR OFF.
                   WRITE: / WA-AUART  UNDER 'Type',
                            WA-AUFNR  UNDER 'Prod Order',
                            WA-AEDAT  UNDER 'Last Chg Dt',
                            WA-AENAM  UNDER 'Last Chg by',
                            WA-WERKS  UNDER 'Plant',
                            WA-PLNBEZ UNDER 'Material',
                       (10) WA-GAMNG  UNDER 'Order Qty' DECIMALS 0,
                       (10) WA-GASMG  UNDER 'Scrap Qty' DECIMALS 0,
                            WA-POSNR  UNDER 'Item',
                            WA-MATNR  UNDER 'Component Req',
                       (10) WA-BDMNG  UNDER 'Req Qty' DECIMALS 0,
                            X_MENGE   UNDER 'BOM Qty' COLOR COL_TOTAL,
                            WA-BMENG  UNDER 'BOM Base',
                            WA-MENGE  UNDER 'BOM Comp',
                            X_ERR     UNDER 'Rmks' COLOR COL_TOTAL.
                 ENDIF.
            ENDLOOP.
         ENDLOOP.
       LOOP AT ITAB2.
            LOOP AT ITAB INTO WA WHERE AUFNR = ITAB2-AUFNR
                                   AND POSNR = ITAB2-POSNR.
                 DELETE ITAB2.
            ENDLOOP.
            SELECT SINGLE * FROM AUFK WHERE AUFNR = ITAB2-AUFNR.
            IF SY-SUBRC <> 0.
                 DELETE ITAB2.
            ENDIF.
       ENDLOOP.
       OPEN DATASET W_DATASET1 FOR OUTPUT IN TEXT MODE encoding default.
            LOOP AT ITAB  INTO WA.
               TRANSFER WA TO W_DATASET1.
            ENDLOOP.
            LOOP AT ITAB2 INTO WA.
               TRANSFER WA TO W_DATASET1.
            ENDLOOP.
       CLOSE DATASET W_DATASET1.
    ENDFORM.
    TOP-OF-PAGE.
        FORMAT COLOR COL_TOTAL.
        WRITE: / SY-DATUM, SY-UZEIT, SY-REPID, SY-UNAME,
             50 'Daily Qty Changed Checklist for Production Order',
            120 SY-PAGNO.
        SKIP.
        WRITE: / 'Plant ', T_WERKS-LOW.
        WRITE:   ' Last Change Date ', T_AEDAT-LOW, ' to ', T_AEDAT-HIGH.
        SKIP.
        WRITE: /1  'Type',
                6  'Prod Order',
                17 'Last Chg Dt',
                29 'Last Chg by',
                42 'Plant',
                49 'Material',
                69 'Order Qty',
                83 'Scrap Qty',
                99 'Item',
               105 'Component Req',
               121 'Req Qty',
               135 'BOM Qty',
               149 'BOM Base',
               163 'BOM Comp',
               178 'Rmks'.
         ULINE.
         WRITE: / 'Previous data :- '.
         FORMAT COLOR OFF.
         WRITE: / 'Current data :- '.
    INITIALIZATION.
       LDATE = SY-DATUM.
       LDATE  = LDATE - 1.
       FDATE = LDATE.
       MOVE:   FDATE         TO  T_AEDAT-LOW.
       APPEND T_AEDAT.
       PDATA = 'AE001'.
    So,give me any suggestions where to customize r do rectify the error.This will be useful for me.
    Advance Thnx..

    *REPORT  ZPROD.
    REPORT ZPPORDER LINE-SIZE 180 NO STANDARD PAGE HEADING
                    LINE-COUNT 058(001).
    TABLES: AUFK,  "Order master data
            AFKO,  "Order header data PP orders
            RESB,  "Reservation/dependent requirements
            MAST,  "Material to BOM Link
            STKO,  "BOM Header
            STPO.  "BOM item
    DATA: BEGIN OF WA,
             AUART      TYPE AUFK-AUART,
             AUFNR      TYPE AUFK-AUFNR,
             AEDAT      TYPE AUFK-AEDAT,
             AENAM      TYPE AUFK-AENAM,
             WERKS      TYPE AUFK-WERKS,
             PLNBEZ     TYPE AFKO-PLNBEZ,
             GAMNG      TYPE AFKO-GAMNG,
             GASMG      TYPE AFKO-GASMG,
             MATNR      TYPE RESB-MATNR,
             POSNR      TYPE RESB-POSNR,
             BDMNG      TYPE RESB-BDMNG,
             BMENG      TYPE STKO-BMENG,
             MENGE      TYPE STPO-MENGE,
          END OF WA,
          ITAB  LIKE SORTED   TABLE OF WA WITH NON-UNIQUE KEY AUFNR POSNR.
    DATA: BEGIN OF ITAB2 OCCURS 0.
          INCLUDE STRUCTURE WA.
    DATA: END OF ITAB2.
    DATA: BEGIN OF ITAB_AUFK OCCURS 0,
          AUART  LIKE AUFK-AUART,
          AUFNR  LIKE AUFK-AUFNR,
          POSNR  LIKE RESB-POSNR,
          AEDAT  LIKE AUFK-AEDAT,
          AENAM  LIKE AUFK-AENAM,
          WERKS  LIKE AUFK-WERKS,
          PLNBEZ LIKE AFKO-PLNBEZ,
          GAMNG(7) TYPE P DECIMALS 0,
          GASMG(7) TYPE P DECIMALS 0,
          MATNR  LIKE RESB-MATNR,
          BDMNG(7) TYPE P DECIMALS 0,
          BMENG(7) TYPE P DECIMALS 0,
          MENGE(7) TYPE P DECIMALS 3.
    DATA: END OF ITAB_AUFK.
    DATA: FDATE LIKE SY-DATUM,
          LDATE LIKE SY-DATUM.
    DATA: X_AUFNR LIKE AFKO-AUFNR,
          X_MENGE(7) TYPE P DECIMALS 0,
          X_ERR(3).
    DATA: W_DATASET1(500) VALUE '/usr/sap/trans/data/'.
    SELECT-OPTIONS T_WERKS  FOR  AUFK-WERKS OBLIGATORY.
    SELECT-OPTIONS T_AUFNR  FOR  AUFK-AUFNR.
    SELECT-OPTIONS T_AEDAT  FOR  AUFK-AEDAT.
    PARAMETERS     PDATA    LIKE W_DATASET1.
    CONCATENATE W_DATASET1 PDATA INTO W_DATASET1.
    PERFORM F_COLLECT_DATA.
    FORM F_COLLECT_DATA.
    OPEN DATASET W_DATASET1 FOR INPUT IN TEXT MODE encoding default.
      DO.
         IF sy-subrc <> 0.
            EXIT.
         ENDIF.
         READ DATASET W_DATASET1 INTO WA.
         APPEND WA TO ITAB2.
      ENDDO.
    CLOSE DATASET W_DATASET1.
    SELECT  AAUFNR  AAUART AAEDAT AAENAM A~WERKS
            BPLNBEZ BGAMNG B~GASMG
            CMATNR  CBDMNG C~POSNR
         INTO CORRESPONDING FIELDS OF TABLE ITAB
         FROM          ( AUFK AS A
              INNER JOIN AFKO AS B ON BAUFNR  = AAUFNR
              INNER JOIN RESB AS C ON CAUFNR  = AAUFNR )
         WHERE A~AEDAT IN T_AEDAT
           AND A~WERKS IN T_WERKS.
         LOOP AT ITAB INTO WA.
            CLEAR MAST.
            SELECT SINGLE * FROM MAST WHERE MATNR = WA-PLNBEZ
                                        AND WERKS = WA-WERKS.
            CLEAR STKO.
            SELECT SINGLE * FROM STKO WHERE STLNR = MAST-STLNR
                                        AND STLAL = MAST-STLAL.
            CLEAR STPO.
            SELECT SINGLE * FROM STPO WHERE STLNR = MAST-STLNR
                                        AND POSNR = WA-POSNR.
            WA-BMENG = STKO-BMENG.
            WA-MENGE = STPO-MENGE.
            MODIFY ITAB FROM WA.
            AT NEW AUFNR.
               SKIP.
            ENDAT.
            LOOP AT ITAB2 WHERE AUFNR = WA-AUFNR
                            AND POSNR = WA-POSNR.
                IF ITAB2-GAMNG <> WA-GAMNG OR
                   ITAB2-GASMG <> WA-GASMG OR
                   ITAB2-BDMNG <> WA-BDMNG.
                   CLEAR X_MENGE.
                   IF ITAB2-BMENG <> 0.
                      X_MENGE = ITAB2-GAMNG / ITAB2-BMENG * ITAB2-MENGE.
                   ENDIF.
                   CLEAR X_ERR.
                   IF ITAB2-BDMNG <> X_MENGE.
                      X_ERR = 'Err'.
                   ENDIF.
                   FORMAT COLOR COL_TOTAL.
                   WRITE: / ITAB2-AUART  UNDER 'Type',
                            ITAB2-AUFNR  UNDER 'Prod Order',
                            ITAB2-AEDAT  UNDER 'Last Chg Dt',
                            ITAB2-AENAM  UNDER 'Last Chg by',
                            ITAB2-WERKS  UNDER 'Plant',
                            ITAB2-PLNBEZ UNDER 'Material',
                       (10) ITAB2-GAMNG  UNDER 'Order Qty' DECIMALS 0,
                       (10) ITAB2-GASMG  UNDER 'Scrap Qty' DECIMALS 0,
                            ITAB2-POSNR  UNDER 'Item',
                            ITAB2-MATNR  UNDER 'Component Req',
                       (10) ITAB2-BDMNG  UNDER 'Req Qty' DECIMALS 0,
                            X_MENGE      UNDER 'BOM Qty' COLOR COL_TOTAL,
                            ITAB2-BMENG  UNDER 'BOM Base',
                            ITAB2-MENGE  UNDER 'BOM Comp',
                            X_ERR        UNDER 'Rmks' COLOR COL_TOTAL.
                   CLEAR X_MENGE.
                   IF WA-BMENG <> 0.
                      X_MENGE = WA-GAMNG / WA-BMENG * WA-MENGE.
                   ENDIF.
                   CLEAR X_ERR.
                   IF WA-BDMNG <> X_MENGE.
                      X_ERR = 'Err'.
                   ENDIF.
                   FORMAT COLOR OFF.
                   WRITE: / WA-AUART  UNDER 'Type',
                            WA-AUFNR  UNDER 'Prod Order',
                            WA-AEDAT  UNDER 'Last Chg Dt',
                            WA-AENAM  UNDER 'Last Chg by',
                            WA-WERKS  UNDER 'Plant',
                            WA-PLNBEZ UNDER 'Material',
                       (10) WA-GAMNG  UNDER 'Order Qty' DECIMALS 0,
                       (10) WA-GASMG  UNDER 'Scrap Qty' DECIMALS 0,
                            WA-POSNR  UNDER 'Item',
                            WA-MATNR  UNDER 'Component Req',
                       (10) WA-BDMNG  UNDER 'Req Qty' DECIMALS 0,
                            X_MENGE   UNDER 'BOM Qty' COLOR COL_TOTAL,
                            WA-BMENG  UNDER 'BOM Base',
                            WA-MENGE  UNDER 'BOM Comp',
                            X_ERR     UNDER 'Rmks' COLOR COL_TOTAL.
                 ENDIF.
            ENDLOOP.
         ENDLOOP.
       LOOP AT ITAB2.
            LOOP AT ITAB INTO WA WHERE AUFNR = ITAB2-AUFNR
                                   AND POSNR = ITAB2-POSNR.
                 DELETE ITAB2.
            ENDLOOP.
            SELECT SINGLE * FROM AUFK WHERE AUFNR = ITAB2-AUFNR.
            IF SY-SUBRC <> 0.
                 DELETE ITAB2.
            ENDIF.
       ENDLOOP.
       OPEN DATASET W_DATASET1 FOR OUTPUT IN TEXT MODE encoding default.
            LOOP AT ITAB  INTO WA.
               TRANSFER WA TO W_DATASET1.
            ENDLOOP.
            LOOP AT ITAB2 INTO WA.
               TRANSFER WA TO W_DATASET1.
            ENDLOOP.
       CLOSE DATASET W_DATASET1.
    ENDFORM.
    TOP-OF-PAGE.
        FORMAT COLOR COL_TOTAL.
        WRITE: / SY-DATUM, SY-UZEIT, SY-REPID, SY-UNAME,
             50 'Daily Qty Changed Checklist for Production Order',
            120 SY-PAGNO.
        SKIP.
        WRITE: / 'Plant ', T_WERKS-LOW.
        WRITE:   ' Last Change Date ', T_AEDAT-LOW, ' to ', T_AEDAT-HIGH.
        SKIP.
        WRITE: /1  'Type',
                6  'Prod Order',
                17 'Last Chg Dt',
                29 'Last Chg by',
                42 'Plant',
                49 'Material',
                69 'Order Qty',
                83 'Scrap Qty',
                99 'Item',
               105 'Component Req',
               121 'Req Qty',
               135 'BOM Qty',
               149 'BOM Base',
               163 'BOM Comp',
               178 'Rmks'.
         ULINE.
         WRITE: / 'Previous data :- '.
         FORMAT COLOR OFF.
         WRITE: / 'Current data :- '.
    INITIALIZATION.
       LDATE = SY-DATUM.
       LDATE  = LDATE - 1.
       FDATE = LDATE.
       MOVE:   FDATE         TO  T_AEDAT-LOW.
       APPEND T_AEDAT.
       PDATA = 'AE001'.

  • Short Dump Error while executing the DTP

    Hello Experts,
    I am facing an issue with DTP.
    Data has been loaded to PSA successfully but while executing the DTP for loading from PSA to DSO (WO) throwing a short dump RAISE_EXCEPTION.
    Short text
        Exception condition "NO_DS_LG_FOUND" raised.
    "RAISE_EXCEPTION" " "
    "SAPLRSSTATMAN" or "LRSSTATMANU1
    "RSSTATMAN_GET_PARTTAB_PSA"
    or
    "SAPLRSSTATMAN" "NO_DS_LG_FOUND"
    or
    "RSAWBN_START " "NO_DS_LG_FOUND"
    We are on BI support pack 14 SAPKW70014, searched for OSS notes but there are few for SP 12/ 13.
    Did any body faced the simlliar issues,,,, please help
    Appreicate your quick response.

    You may wish to check this
    Note 1083305 - P16:STATMAN:Dump in function module RSM_INFOCUBE_WRITE_CHECK
    Hope it Helps
    Chetan
    @CP..

  • Pls Help:internal error while executing smartform

    hi experts..
    I am getting the following error when i try to execute a smartform:
    Internal error: (FORM = TEXT_ANALYSIS, ID = {E, RC =   
    Please help.
    I am not abke to proceed further.
    Regards
    Srihari.

    Hi,
    If you want to include text in the smart form you can create a standard text in SO10.
    1. Enter Text Name. For example, ZABC
    2. Text ID ST
    3. Language EN
    Click on Create and enter the Required Information and save.
    To include the Standard text in SmartForm.
    1. Create a text node in the window.
    2. Under general attributes select "Include text" as Type.
    3. Specify the fields under Text.
    Text Name ZABC
    Text Object TEXT
    Text ID ST
    Language EN.
    If tthe include text has to be read from any document, you can accordingly give the attributes like
    Text Name  - Document number
    Text Object - header or item object type
    Text ID  - ID of the text (you can get these details in your document)
    Language EN.
    Hope it helps.
    Regards.

  • Error while executing smartform

    Hi Gurus,
    After i save and execute the smarttform, when i give print preview..it says formatting error and throws an error like this:
    "field within a field not allowed(vbdpa-brgew)"
    Where did i go wrong. Please help.
    Regards,
    Rakesh.

    Hi the reson is that you have not given the reference foeld for this in your smartform.Quantity and currency fields have to be given references.
    In Global definitions you will find a tab called Curreny/Quant. Fields.
    There you have to maintain references.

  • Error while executing a DTP

    Hi All ,
    I got  an error while executing a DTP. Short Dump analysis points this error. :   DBIF_REPO_SQL_ERROR.
    Please provide in your valuable inputs to resolve this error.
    Thank & Regards,
    Rohit Garg

    This error comes majorly when you have a deadlock in  your code. Check ST22 if you have any short dump corresponding to it and see the source code where it is getting stuck.
    If you find this dump explaining table space issue, then contact Basis, they will be able to help you with table space problem.
    Edited by: Deepmala Agarwal on Aug 18, 2009 7:40 AM

  • Dump error while creating or double click the info package

    Hello experts,
    I have actived infocube 0FIAR_C03 in BI content. Ago, The creation infopackage have been deleted in the past , today, I  created a infopackage, while I update mode selected u2018initialize delta processu2019, then click save button , the system prompt u2018Deltas already loaded for request  REQU_D64R47LDUSZHY9CBIB86WMLFJ init.selection; no 2. initu2019, I canoti save it for my setting. Why is this?
    Then I have search cause in SDN,  and I have reference OSS Note 852443 to do .
    Note 852443 have mention some table: RSSELDONE、RSSDLINIT、RSSDLINITSEL、ROOSPRMSC、ROOSPRMSF.
    I have to delete that request of record using se16 in these tables: RSSELDONE、RSSDLINIT、RSSDLINITSEL.
    in my BI 7.0 system,   ROOSPRMSC、ROOSPRMSF is no any data.
    I was no found delta queue in RSA7.
    Now . Dump error while creating or double click the info package,  how can I change this?
    Please let me know the solution.
    Thanks for your help.
    Best Regards
    Steve

    Here are some links  which deals with same issue.
    Re: Dump In Infopackage
    Re: Getting into Short dump at the time of selecting InfoPackage to execute for
    Short dump while performing init in infopackage
    Re: Infopackage going into short dump
    Thanks.

  • Runtime Error While executing the WebDynpro Application

    I am getting the Runtime Error While executing the WebDynpro Application. The error message is "TSV_TNEW_OCCURS_NO_ROLL_MEMORY".
    It says like "
    Short text
        No roll storage space of length 9728 available for OCCURS area.
    What happened?
        Each transaction requires some main memory space to process
        application data. If the operating system cannot provide any more
        space, the transaction is terminated.
    But while executing some other Web Dynpro Applications, i am not facing this problem.

    Generally this error is a result of an infinite loop on internal table or select endselect statement where by severs  temporary memory gets full. With no memory to insert new records in temporary memory system generates the dump.
    Check your application or ask basis consultant to look at the memory parameters in instance profile.
    Regards
    Rohit Chowdhary

  • Dump error while running termination action

    I'm facing a dump error while running termination action, please, if some one wud help me out of this error. here when im termination action the system is opening action infotype when given the date of termination and try to save, system shows a warning message that "Record valid from 08.08.1995 to 31.12.9999 delimited at end" then I press enter and system is asking me to save. when I do so, rather than it taking me to another screen its throwing a dump error.
    Runtime Errors         SYNTAX_ERROR
    Date and Time          21.10.2008 18:54:05
    Short dump has not been completely stored (too big)
    Short text
         Syntax error in program "SAPLCACS_BU_PARTNER ".
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLBUD_CHECK" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
         The following syntax error occurred in program "SAPLCACS_BU_PARTNER " in
          include "LCACS_BU_PARTNERU44 " in
         line 19:
         "The key of internal table "LT_BUT0BK" contains components of type "X" "
         "or "XSTRING". The "READ TABLE LT_BUT0BK" statement is not permitted fo"
         "r such tables in a Unicode context."
         The include has been created and last changed by:
         Created by: "SAP "
         Last changed by: "SAP "
         Error in the ABAP Application Program
         The current ABAP program "SAPLBUD_CHECK" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    Error analysis
         The following syntax error was found in the program SAPLCACS_BU_PARTNER :
         "The key of internal table "LT_BUT0BK" contains components of type "X" "
         "or "XSTRING". The "READ TABLE LT_BUT0BK" statement is not permitted for
    "r such tables in a Unicode context."
    ger Location of Runtime Error
    Program                                 SAPLBUD_CHECK
    Include                                 LBUD_CHECKF01
    Row                                     1.129
    Module type                             (FORM)
    Module Name                             RLDEL_CHECK
    ce Code Extract
      SourceCde
    9
    0 *------ ... Funktionsbausteine ermitteln -
    1   CALL FUNCTION 'BDT_TBZ1F_GET'
    2     EXPORTING
    3       iv_objcn  = gc_objcn_bupa
    4       iv_objap  = gc_objap_bupa
    5     TABLES
    6       et_tbz1f  = lt_tbz1f
    7     EXCEPTIONS
    8       not_found = 1
    9       OTHERS    = 2.
    0   READ TABLE lt_tbz1f INDEX 1.
    1   IF sy-subrc = 0.
    2     CALL FUNCTION 'BUP_PARTNER_GET'
    3       EXPORTING
    4         i_partner    = is_but100-partner
    5         i_cp_exclude = gc_x
    i_is_exclude = gc_x
    PORTING
    e_but000_int = ls_but000_int
    CEPTIONS
    OTHERS       = 1.
    ... Funktionsbausteine aufrufen -
    T lt_tbz1f WHERE     ztpkt =  'RLDEL'
                 AND NOT fname IS INITIAL.
    Datümer alt = neu = SPACE => Löschung, sonst Update -
    (Einschränkung der Gültigkeit)
    FUNCTION lt_tbz1f-fname
    PORTING
    i_partner        = is_but100-partner
    i_partnerguid    = ls_but000_int-partner_guid
    i_role           = is_but100-rltyp
    i_dfval          = is_but100-dfval
    i_calltp         = iv_calltp
    i_valid_from     = is_but100-valid_from_dats
    i_valid_from_old = iv_valid_from_old
    i_valid_to       = is_but100-valid_to_dats
    i_valid_to_old   = iv_valid_to_old
    PORTING
    e_result         = lv_result.
    ... Ergebnis merken, wenn höher als bisheriges Zwischenergebnis-
    v_result > gv_wu_result.                          "#EC PORTABLE
    wuresult = lv_result.
    F.
    ... Ergebnis ist 'Nicht löschen': Zeitpunkt abbrechen -

    HI Mallik,
    for termination action the operation that i've set is
    lis9  0001
    cop  0002
    lis9  0007
    cop  0008
    lis9  0014
    lis9  0015
    lis9  0587
    so just want to know if the set format for termination action is right
    and other option is that if there is some change to settings of infotype charateristics in table v_t582A this may cause change in the date that is cause of error.
    can u please suggest the above alignment of operations and infotype is right and provide me the idle settings for infotype characteristics which may solve my query.
    thanks mallik.

  • Error while executing script for sharepoint online (office 365) - the remote server returned an error: (503) server unavailable

    error while executing script for sharepoint online (office 365) - the remote server returned an error: (503) server unavailable.
    I am creating many site collections reading records from sharepoint list using powershell in sharepoint online tenant (office 365).
    Few site collections are created and then getting above error so this error record will be skipped then few succeeding record processed then again getting error.
    pattern is like:
    success
    success
    success
    success
    Error
    success
    success
    success
    success
    success
    success
    error
    success

    Hi,
    As it is an online environment, to troubleshoot this issue in an easier way, I suggest you contact Office 365 Support to see if there is any useful information in
    the log files in the server side:
    https://support.office.com/en-us/article/Contact-Office-365-for-business-support-32a17ca7-6fa0-4870-8a8d-e25ba4ccfd4b?ui=en-US&rs=en-US&ad=US
    Best regards
    Patrick Liang
    TechNet Community Support

  • Error while executing the script adgetlnxver.sh

    Error while executing the script adgetlnxver.sh on apps&db tier during upgrade from 11.5.9 to 11.5.10.2
    -bash: [: -lt: unary operator expected
    [aptinst@dba5 TINST_dba5]$ sh adapcctl.sh restart
    adapcctl.sh version 115.55
    /u01/app/tinst/tinstappl/ad/11.5.0/bin/adgetlnxver.sh: line 123: [: -lt: unary operator expected
    Apache Web Server Listener :httpd ( pid 8645 ) is running.
    Restarting the Apache Web Server Dedicated HTTP Listener..
    Apache Web Server Listener (PLSQL) :httpd ( pid 8673 ) is running.
    Restarting the Apache Web Server Dedicated PLSQL Listener..
    adapcctl.sh: exiting with status 0
    In adgetlnxver.sh: line 123 says
    if [ ${setflag}x = "x" -a $os = "RH" ]; then
    redhatver=`grep -oP "Enterprise Linux [a-z A-Z 0-9]* release [0-9]+" /etc/redhat-release | sed 's/Enterprise Linux [a-z A-Z 0-9]* release //g'`
    if [ $redhatver -lt 5 ]; then
    LD_ASSUME_KERNEL="2.4.19"
    export LD_ASSUME_KERNEL
    fi
    fi
    Thanks,
    Vamsi

    Hi Vamsi.
    The exactly erro refers to a problems when you try upgrade from these version to 11.5.10.
    Can you read this note and apply solution? The note refers a patch, but the problem is the same.
    After Patch 4334965, adstrtal.sh & adstpall.sh is failing with errors [ID 360046.1]
    BR Rafael Ceolim

  • Js-error while executing Multiple Image Upload wizard

    If i want to save the configured window of Multiple Image Upload with Save to Database wizard i get this js-error: "While executing onClick in MIUploadWSaveWizard.htm, a JavaScript error occured".
    can someone help?
    thanx
    peter

    That again would be more of a question for the Cold Fusion group.
    Try http://forums.adobe.com/community/coldfusion/coldfusion_administration
    Those people will be able to help you out more.
    Brad Lawryk
    Adobe Community Expert, Dreamweaver
    Adobe Usergroup Manager, Northern British Columbia Adobe User Group

  • I am getting a error while executing the Web Dynpro Application Page.

    Hi All,
    I am getting a Error while executing a web dynpro application ::: 
    : Navigation in Phase WDDOMODIFYVIEW Cannot Be Triggered. Component: Z_WEP_PERSONAL_DATA, View: OVERVIEW, Window: Z_XXP_PERSONAL_DATA
    I have checked this error description in ST22  :
    What happened?
        The exception 'CX_WDR_RT_EXCEPTION' was raised, but it was not caught anywhere
         along
        the call hierarchy.
        Since exceptions represent error situations and this error was not
        adequately responded to, the running ABAP program
         'CL_WDR_CLIENT_APPLICATION=====CP' has to be
        terminated.
    Error analysis
        An exception occurred which is explained in detail below.
        The exception, which is assigned to class 'CX_WDR_RT_EXCEPTION', was not caught
         and
        therefore caused a runtime error.
        The reason for the exception is:
        Navigation in Phase WDDOMODIFYVIEW Cannot Be Triggered. Component:
        Z_XXP_PERSONAL_DATA, View: OVERVIEW, Window: Z_XXP_PERSONAL_DATA
    Can u plz help me regarding this error.
    Thanks,
    Deepika

    >Navigation in Phase WDDOMODIFYVIEW Cannot Be Triggered
    Looks to me like you are trying to fire a navigation plug within WDDOMODIFYVIEW. According to the rules of the WD Phase Model this is not allowed.

  • Runtime error while executing rule

    Hello All,
      While executing the DTP for a cube, im facing the error as Runtime error while executing rule -> see long text .
      For this source is another Cube, where im loading the data from Cube to Cube.
    Error Description are as follows:-
    Error Location: Object Type    TRFN
    Error Location: Object Name    0T9SCR6Q4VWS1SOPNRRBOY1YD51XJ7PX
    Error Location: Operation Type ROUTINE
    Error Location: Operation Name
    Error Location: Operation ID   00034 0000
    Error Severity                 100
    Original Record: Segment       0001
    Original Record: Number        557
    and Also descripton is :-
    Diagnosis
        An error occurred while executing a transformation rule:
        The exact error message is:
        Division by zero
        The error was triggered at the following point in the program
        GP4H0CW3MLPOTR3E8Y93QZT2YHA 4476
    System Response
        Processing the data record has been terminated.
    Procedure
    The following additional information is included in the higher-level
    node of the monitor:
       Transformation ID
       Data record number of the source record
       Number and name of the rule which produced the error
    Let me know ur valuable suggestions on these error...
    thanks.

    Hello,
    I have checked all the transformation and End Routines.All are working fine.Yesterday i have loaded some data into it, but today its gettting errored out.
    Checked completely in the forum for threads related to this, but couldnt find proper thread which had solutions....
    thanks,
    srinivas.

  • Error while executing DTP

    Hi gurus,
    Iam trying to extract the data from r/3 using generic extractor the data is loaded into PSA sucessfully, but iam getting following errors while executing DTP.
    1.An error occurred while executing a transformation rule:
    The exact error message is:
    The argument 'EA' cannot be interpreted as a number
    The error was triggered at the following point in the program
    GP4D35STLXQI3SHIVNQC2FSJ7MB 791
    2.The data record was filtered out because data records with the same key
    have already been filtered out in the current step for other reasons and
    the current update is non-commutative (for example, MOVE). This means
    that data records cannot be exchanged on the basis of the semantic key.
    Please guide me accordingly.
    Regards
    Amar.

    Hi
    While mapping the Qty Fields it is must to add UOM to the Qty Fields and map it with relevant Info Objects.
    The Semantic Keys defined at DTP are also has some issues, try to give a dummy key figure if you are using DSO in the data flow as the DSO has the Overwrite mode.
    (Choose  Semantic Groups to specify how you want to build the data packages that are read from the source (DataSource or InfoProvider). To do this, define key fields. Data records that have the same key are combined in a single data package. This setting is only relevant for DataStore objects with data fields that are overwritten. This setting also defines the key fields for the error stack. By defining the key for the error stack, you ensure that the data can be updated in the target in the correct order once the incorrect data records have been corrected.)
    Hope it helps and clear

Maybe you are looking for

  • Messages stuck in AQ

    DB version: Oracle Database 10g Enterprise Edition Release 10.1.0.3.1 A small number of messages stuck in a queue table when our messaging system load is high. The 'state' column has value '3' in all these rows. What does that mean ? Why they are stu

  • How to activate all these functionalities

    Hi, I am on ECC 6.0 but not seeing following buttons, icons or processing options.  These fucntionalities are listed as availble in ECC 6.0 but not able to trace them..  Let me know how to activate and/or locate them. 1. "Felxible Specs" pushbutton o

  • Bizarre alias file keeps reappearing in Trash Can...

    For the past few weeks, I've had an unknown little file popping up in my Trash Can every time I open up or start up my MacBook Pro. The name of the file is "␀␀␀õ␀␀.õ␀" (yes, that's exactly what it looks like), it is exactly zero KB in size, is an a

  • New / malloc / threads core dump

    Hi, I'm trying to port a ftp client from Linux to Solaris. The client runs fine on both Linux and on *BSD. I'm using the Sun Studio 8 C++ compiler on Solaris 9 4/04 x86. The program crashes in the below class function: -- CUT -- FILELIST CServer::Obt

  • Unable to Activate a Physical Inventory document for a Bin in a Warehouse

    Hi All- I am trying to activate a Physical Inventory document in a warehosue and I am getting message saying "Number of allowed bins exceeded after storage bin XXXXXXXXXX". Physical Invenoty methoid is Continous. The Warehouse is HU-managed Storage l