Problem about casting in internal tables

Hello,
TYPES:
  BEGIN OF ts_matnr,
    matnr TYPE matnr,
    objct TYPE cuobj,
  END   OF ts_matnr.
  tables: mara.
DATA:
  myStatus(20) type c,
  mySTANDARDCLASS(20) type c,
  gt_matnr TYPE STANDARD TABLE OF ts_matnr WITH DEFAULT KEY,
  gs_matnr LIKE LINE OF gt_matnr,
  gs_mara  TYPE mara.
SELECT-OPTIONS:
  pr_matnr FOR gs_mara-matnr.
START-OF-SELECTION.
SELECT matnr
       matnr AS objct
       FROM mara
       INTO CORRESPONDING FIELDS OF TABLE gt_matnr WHERE matnr IN pr_matnr.
I want to write both the normal String and the value as object  into the table. But there is a error at the select saying the fields can't be converted to target field.
I don't know what the problem is. Can you see it?
Edited by: Daniel Gerne on Apr 23, 2008 2:31 PM

unfortunately, I just saw that I just walked around my problem instead of solving it. The reason I want to have this MATNR is that I need to use it as Objectkey for a BAPI call:
LOOP AT gt_matnr INTO gs_matnr.
CALL FUNCTION 'BAPI_OBJCL_GETDETAIL_KEY'
  EXPORTING
*    CLOBJECTKEY           = gt_matnr-objct "nicht Tabelle, sondern Arbeitsbereich
    CLOBJECTKEY           = gs_matnr-objct "hat Typ OBJCT <=> BAPI1003_KEY-OBJECT_GUID
    CLASSNUM              = 'FARBIGE_UNTERLAGEN'
*   KEYDATE               = SY-DATUM
*   LANGUAGE              = SY-LANGU
IMPORTING
   STATUS                = myStatus
   STANDARDCLASS         = mySTANDARDCLASS.
*  TABLES
*    ALLOCVALUESNUM        =
*    ALLOCVALUESCHAR       =
*    ALLOCVALUESCURR       =
*    RETURN                =.
ENDLOOP.
But with the type from Shiva's code the debugger says that the given parameter has a wrong type.I just can't get this BAPI to work. I want to use it to get the classification information about a material.

Similar Messages

  • Problem with Emailing the Internal table data as an excel attachment

    Hi Friends,
    I am facing problem with Emailing an internal table data as an excel file. I am using standard function module "SO_NEW_DOCUMENT_ATT_SEND_API1" which is using SOLI structure can have record with 255 character length. But my Internal table having each record means after concatenating all the fields it is going to be morethan 450 characters. so i t is not displaying all the data in excel file.
    Can somebody help me if there is any other function module or any other way that i need to follow.
    thanks for help
    venkat.

    You must use the the :
    CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB as a field seperator and
    CL_ABAP_CHAR_UTILITIES=>CR_LF as a record seperator.
    Check this example:
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    Regards,
    Naimesh Patel

  • Problem with downloading the internal table onto the presentation server.

    Hey folks,
    I have a problem where in i am downloading one year of sales done by the company. I wrote a program to download the file onto the presentation server . The error occurs in the FM GUI_DOWNLOAD where if the file exceeds 105843504 bytes its giving me a dump saying that
    When the program was running , it was established that more memory was needed than the operating system is able to safely to provide.
    The current program has to be terminted because of the program already requested 105843504 bytes from the operating system with malloc when the operating system reported after further memory request that there was no more memory space available.
    Could somebody provide an alternative soltuion for this.
    Its really urgent as i can download the file with 70,000,000 bytes
    Regards
    Rock

    Hi Rock,
    Please download the files on to Application Server, else as suggested by Ashish download into 2 or 3 files and merge them manually.
    Declare same internal tables may be 5 times.
    When you fill the internal table check for a counter and when you hit a certain number stop appending to it and start appending to the next.
    After you are done so download all the internal tables.
    I guess this would be a good way. I am not sure if there are any ther alternative good methods.
    Hope this helps.
    Shreekant

  • Problem while comparing two internal tables

    I have to modify work start date which are initial in the data base table for the records in the flat file.
    my code is:
    REPORT  ZAUFK_WORKSTARTDATE_UPDATE                 .
    Tables Declaration
    TABLES: AUFK.
    Type pools Declaration
    TYPE-POOLS : SLIS.
    Internal Table Declaration
    DATA: I_AUFK LIKE AUFK OCCURS 0 WITH HEADER LINE,
          IT_AUFK LIKE AUFK OCCURS 0 WITH HEADER LINE,
          ITAB1 LIKE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF I_AUFK1 OCCURS 0,
            AUFNR(12),
            AUART(4),
          END OF I_AUFK1.
    Data Declaration
    DATA I_FIELDCAT TYPE SLIS_FIELDCAT_ALV OCCURS 0.
    DATA WA_FCAT LIKE LINE OF I_FIELDCAT.
    DATA: B1 TYPE I VALUE 1,
          C1 TYPE I VALUE 1,
          B2 TYPE I VALUE 256,
          C2 TYPE I VALUE 65536.
    Selection Screen Declaration
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
      PARAMETERS: P_FILE LIKE RLGRAP-FILENAME.
      SELECT-OPTIONS: S_AUFNR FOR AUFK-AUFNR,
                      S_AUART FOR AUFK-AUART.
      PARAMETERS: P_USER7 LIKE AUFK-USER7 DEFAULT '20070101' OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    PARAMETERS: R1 RADIOBUTTON GROUP G1 DEFAULT 'X' USER-COMMAND UCOMM1, " Upload using File Path
                R2 RADIOBUTTON GROUP G1. " Uplaod using particular IO's
    SELECTION-SCREEN END OF BLOCK B2.
    To get F4 Help for File path on selection screen.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SYST-CPROG
          DYNPRO_NUMBER = SYST-DYNNR
        IMPORTING
          FILE_NAME     = P_FILE.
    To disbale the filepath when r2 radiobutton is selected
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    Check if R1 is checked
    IF R1 = 'X'.
        IF SCREEN-NAME = 'S_AUFNR-LOW' OR
          SCREEN-NAME = 'S_AUFNR-HIGH' OR
          SCREEN-NAME = 'S_AUART-LOW' OR
          SCREEN-NAME = 'S_AUART-HIGH'.
    Make the Internal order number and order type field disable from the selection screen
            SCREEN-INPUT = '0'.
            MODIFY SCREEN.
        ENDIF.
    ELSEIF R2 = 'X' AND SCREEN-NAME = 'P_FILE'.
    Make the file path field disappear from the selection screen
            SCREEN-INPUT = 0.
            MODIFY SCREEN.
        ENDIF.
    ENDLOOP.
    Start of executable code
    START-OF-SELECTION.
    To get the relavent IO data from the order master data table
    SELECT *
           FROM AUFK
           INTO TABLE I_AUFK
           WHERE AUFNR IN S_AUFNR
           AND AUART IN S_AUART
           AND ( AUART = '5200' OR AUART = '5500'
           OR AUART = '5700' OR AUART = '8500'
           OR AUART = '8700' ).
    Table must be updated using flat file
      IF R1 = 'X'.
    To Upload Excel sheet data into an internal table
        CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
          EXPORTING
            FILENAME                = P_FILE
            I_BEGIN_COL             = B1
            I_BEGIN_ROW             = C1
            I_END_COL               = B2
            I_END_ROW               = C2
          TABLES
            INTERN                  = ITAB1
          EXCEPTIONS
            INCONSISTENT_PARAMETERS = 1
            UPLOAD_OLE              = 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.
    To organize the data in the internal table(excel data) as per our requirement
        PERFORM ORGANIZE_UPLOADED_DATA.
       <b> LOOP AT I_AUFK1.
    Comparing the excel data and the database table data
           READ TABLE I_AUFK WITH KEY AUFNR = I_AUFK1-AUFNR.
             IF SY-SUBRC EQ 0.
    Check if the the work start date is initial(blank)
                IF I_AUFK-USER7 IS INITIAL.
    If work start is initial move the value in p_user7 to the work start date field in i_aufk
                 MOVE P_USER7 TO I_AUFK-USER7.
                 MODIFY I_AUFK.
    Moving the data which is changed into it_aufk internal table(this table is for displaying the updated records)
                 MOVE-CORRESPONDING I_AUFK TO IT_AUFK.
                 APPEND IT_AUFK.
              ENDIF.
          ENDIF.
        ENDLOOP.
    endif.</b>
    WA_FCAT-FIELDNAME = 'AUFNR'.
      WA_FCAT-TABNAME = 'I_AUFK'.
      WA_FCAT-SELTEXT_M = 'Internal Order Number'.
      WA_FCAT-OUTPUTLEN = 12.
      APPEND WA_FCAT TO i_fieldcat.
      WA_FCAT-FIELDNAME = 'AUART'.
      WA_FCAT-TABNAME = 'I_AUFK'.
      WA_FCAT-SELTEXT_M = 'Order Type'.
      WA_FCAT-OUTPUTLEN = 4.
      APPEND WA_FCAT TO I_FIELDCAT.
      WA_FCAT-FIELDNAME = 'KTEXT'.
      WA_FCAT-TABNAME = 'I_AUFK'.
      WA_FCAT-SELTEXT_M = 'Description'.
      WA_FCAT-OUTPUTLEN = 40.
      APPEND WA_FCAT TO I_FIELDCAT.
      WA_FCAT-FIELDNAME = 'USER7'.
      WA_FCAT-TABNAME = 'I_AUFK'.
      WA_FCAT-SELTEXT_M = 'Work Start Date'.
      WA_FCAT-OUTPUTLEN = 10.
      APPEND WA_FCAT TO I_FIELDCAT.
    Updating the AUFK(Internal Order Data Table) using i_aufk
    *MODIFY AUFK FROM TABLE I_AUFK.
    Check if the database table is modified
    *IF SY-SUBRC = 0.
    Display the modified data
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       I_CALLBACK_PROGRAM                = SY-REPID
       I_GRID_TITLE                      = 'List of updated Records'
       IT_FIELDCAT                       = I_FIELDCAT[]
      TABLES
        T_OUTTAB                          = IT_AUFK[]
    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.
    ENDIF.
    *&      Form  ORGANIZE_UPLOADED_DATA
          text
    FORM ORGANIZE_UPLOADED_DATA .
      SORT ITAB1 BY ROW COL.
      LOOP AT ITAB1.
        CASE ITAB1-COL.
          WHEN 1.
            I_AUFK1-AUFNR = ITAB1-VALUE.
          WHEN 2.
            I_AUFK1-AUART = ITAB1-VALUE.
        ENDCASE.
        AT END OF ROW.
          APPEND I_AUFK1.
        ENDAT.
      ENDLOOP.
      LOOP AT I_AUFK1.
      CONCATENATE '000000' I_AUFK1-AUFNR INTO I_AUFK1-AUFNR.
      MODIFY I_AUFK1.
      ENDLOOP.
    ENDFORM. " ORGANIZE_UPLOADED_DATA
    The bold are is were i'm facing problem. Please help me .its urgent.

    Hi try using the below code... 
    LOOP AT I_AUFK1.
    Comparing the excel data and the database table data
    READ TABLE I_AUFK WITH KEY AUFNR = I_AUFK1-AUFNR.
    IF SY-SUBRC EQ 0.
    Check if the the work start date is initial(blank)
    IF I_AUFK-USER7 IS INITIAL.
    If work start is initial move the value in p_user7 to the work start date field in i_aufk
    MOVE P_USER7 TO I_AUFK-USER7.
    [<u>b]MODIFY I_AUFK from i_aufk transporting user7.</b></u>
    Moving the data which is changed into it_aufk internal table(this table is for displaying the updated records)
    MOVE-CORRESPONDING I_AUFK TO IT_AUFK.
    APPEND IT_AUFK.
    ENDIF.
    ENDIF.
    ENDLOOP.
    endif.
    if you can't still solve some more questions
    what is teh sy-subrc of teh read ..
    what does the header line contain after teh read
    and what happens after modify.. does the contents change?

  • Problem In Integrating 3 Internal Tables to make data for email attachment

    Hi All,
    I am facing a problem. I am having some data in 3 internal tables. Consider it Header Data, Details Data, Tail Data in 3 different Internal tables with different Fields.
    Now I want to send this data as an attachment in email. Now the problem is I am integrating the data in 3 internal tables into 1 single internal table with the help of  following code :
    loop at it1.
        concatenate it1-field1
                           it1-field2
            into itab.
            append itab.
    endloop.
    loop at it2.
        concatenate it2-field1
                           it2-field2
            into itab.
           append itab.
    endloop.
    similarly for 3rd internal table. But here it goes wrong.
    For each and every field in each record, some specific number of characters are fixed. If any field doesn't uses those characters to complete, it has to leave the remaining characters blank and should start next field from there.
    E.g.
    Like record is :
    AAA reserved chars : 10
    XXX " " : 15
    YYY " " : 8
    so it should print like :
    AAA XXX YYY .
    But in attachment it is printing like :
    AAAXXXYYY.
    This is because I am using concatenate function. Please suggest me a way to integrate the data of 3 internal tables into a single internal table including the spaces reserved for each field.
    Thanks.

    Hi Ravi,
    Did u try to use de addicion 'Separated by space'  in the concatenate function?
    If it doesn't work, try this...
    You have to do as if you want to create a text file, using de offset function.
    Creating an internal table with one field and put all the records of your tables into this internal table.
    data: wa_line(400).
    data: begin of itab_line occurs 0,
               line(400),
            endif itab_line.
    Loop at itab1.
    clear wa_line.
    write: itab1-field1 to wa_line+0(10).
    write: itab1-field2 to wa_line+10(8).
    write: itab1-fieldN to wa_line+nn(mm).
    append wa_line to itab_line.
    clear itab_line.
    endloop.
    Do the same with itab2 and itab3.
    Cheers,
    FC.

  • Problem in sending an internal table data to application layer

    i have an internal table
    DATA : BEGIN OF I_DPAYH OCCURS 0,
           ECS_TCODE TYPE char2 VALUE '66',
           ZBKON TYPE DPAYH-ZBKON,
           LEDGER_FOLIO TYPE Char3 ,
           ZBNKN TYPE DPAYH-ZBNKN,
           ZNME1 TYPE DPAYH-ZNME1,
           MICR TYPE  char9 VALUE '40021102',
           USER_NO TYPE  char7 VALUE '4009175',
           DESP TYPE char20 VALUE 'MAHANAGAR GAS LTD',
           MASTR TYPE DPAYH-MASTR,
           RBETR TYPE DPAYH-RBETR,  -
    >                         "
           LAUFI TYPE DPAYH-LAUFI,
           ORIGN TYPE DPAYH-ORIGN,
           END OF I_DPAYH.
    the arrow mark field is of  currency data type and the problem
    is that in application server on character data type it accept
    thats why i have changed all the fields as character data type
    except  RBETR field all the data is transfferd except this field
    regards
    sarfaraz

    when iam doing converting currency into char
    Data: RBETR type char13
    writing
    SELECT  RBETR
      FROM DPAYH INTO CORRESPONDING FIELDS OF
       I_DPAYH .
    it is giving error when transffering in application server
    and giving the error
    (  The current statement is only defined for character-type data objects.)

  • Problem in changing the internal table contents of a standard program

    Dear All,
    I am making changes to internal table LT_PPDIT of standard program SAPLHRPT in the user exit EXIT_SAPLACC4_001 while payroll posting to accounting with tcode PC00_M99_CIPE. But though the changed value of LT_PPDIT is visible within the exit still the value of LT_PPDIT when we come outside exit is the same as what was before entering exit.
    Please suggest is there any way of modifying internal table of a standard program in the user exit.
    Regards,
    Kanupriya

    Hi,
    I think the internal table is getting refreshed or something like that after the user exit.
    Try debugging after the user exit and put breakpoints at clear and modify statements.
    Then you ll find out where its regaining the oringinal value after getting changes.
    After locating that point try finding some enhancmenent point there and including your code so that your value of internal able gets modified.
    Regards,
    Subhashini

  • Problem in creating dynamic internal table

    Hi Experts,
    I am trying creating a dynamic internal table.
    But I am getting the error 'The field string "LT_GENTAB" contains no fields. 4 LT_GENTAB".
    Can anybody tell me what is the error and how to solve it.
    Thanks,
    Sudheer

    Hi,
    Please find the below code.
    data : wa_fieldcat type slis_fieldcat_alv,
           wa_fieldcat1 type slis_fieldcat_alv,
           wa_fieldcat2 type LVC_S_FCAT,
           it_fieldcat type slis_t_fieldcat_alv,
           it_fieldcat1 type slis_t_fieldcat_alv,
           it_fieldcat2 type LVC_T_FCAT,
           V_LAYOUT TYPE SLIS_LAYOUT_ALV,
           LS_LVC_FIELDCATALOGUE  TYPE LVC_S_FCAT,
           LT_LVC_FIELDCATALOGUE  TYPE LVC_T_FCAT,
           IT_EVENTS TYPE SLIS_T_EVENT,
           WA_EVENTS TYPE SLIS_ALV_EVENT.
    data : L_TABLE    TYPE REF TO DATA.
    FIELD-SYMBOLS :  <IT_TABLE>    TYPE STANDARD TABLE.
    FIELD-SYMBOLS :  <IT_ITEM1>    TYPE STANDARD TABLE.
    v_col = 1.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'PRUEFLOS'.
    wa_fieldcat2-seltext   = 'Inspection Lot'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'WERKS'.
    wa_fieldcat2-seltext   = 'Plant'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'ART'.
    wa_fieldcat2-seltext   = 'Inspection Type'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'HERKUNFT'.
    wa_fieldcat2-seltext   = 'Lot Origin'.
    WA_FIELDCAT1-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'STAT35'.
    wa_fieldcat2-seltext   = 'Usage Decision Made'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'ENSTEHDAT'.
    wa_fieldcat2-seltext   = 'Lot created on'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'ERSTELLER'.
    wa_fieldcat2-seltext   = 'Created by'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'PASTRTERM'.
    wa_fieldcat2-seltext   = 'Insp. Start Date'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'PAENDTERM'.
    wa_fieldcat2-seltext   = 'End of Inspection'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'PLNTY'.
    wa_fieldcat2-seltext   = 'Task List Type'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'AUFNR'.
    wa_fieldcat2-seltext   = 'Order No.'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'KTEXTMAT'.
    wa_fieldcat2-seltext   = 'Object short text'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'KURZTEXT'.
    wa_fieldcat2-seltext   = 'Short Text for Code'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'KATALGART1'.
    wa_fieldcat2-seltext   = 'Catalog Type'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'GRUPPE1'.
    wa_fieldcat2-seltext   = 'Code Group'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'CODE1'.
    wa_fieldcat2-seltext   = 'Code'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    *WA_FIELDCAT2-COL_POS = v_col.
    *WA_FIELDCAT2-FIELDNAME = 'ORIGINAL_INPUT'.
    *WA_FIELDCAT2-SELTEXT_M   = 'Original Value'.
    **WA_FIELDCAT2-OUTPUTLEN   = 20.
    *v_col = v_col + 1.
    *APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    *CLEAR  WA_FIELDCAT2.
    loop at it_qamv1 into wa_qamv1.
      read table it_qasr into wa_qasr with key wa_qamv1-prueflos.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = wa_qamv-kurztext.
    wa_fieldcat2-seltext   = wa_qasr-original_input.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    endloop.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'EQUNR'.
    wa_fieldcat2-seltext   = 'Equipment'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'TPLNR'.
    wa_fieldcat2-seltext   = 'Functional Location'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'TPLMA'.
    wa_fieldcat2-seltext   = 'Superior Funct Loc.'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'STATUS'.
    wa_fieldcat2-seltext   = 'Status'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    WA_FIELDCAT2-COL_POS = v_col.
    WA_FIELDCAT2-FIELDNAME = 'INACT'.
    wa_fieldcat2-seltext   = 'Status Inactive'.
    WA_FIELDCAT2-OUTPUTLEN   = 20.
    v_col = v_col + 1.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
    CLEAR  WA_FIELDCAT2.
    Create internal table dynamic
      CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG = LT_LVC_FIELDCATALOGUE
        IMPORTING
          EP_TABLE        = L_TABLE.
      ASSIGN L_TABLE->* TO <IT_TABLE>.
    I am getting the error when the method  CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
    is executed.
    Please help me
    Thanks,
    Sudheer

  • Question about Subroutine and Internal tables

    See I  have this code.
    TABLES: SFLIGHT.
        TYPES: BEGIN OF LINE,
               Carrid like SFLIGHT-CARRID,
               Connid like SFLIGHT-CONNID,
               Fldate like SFLIGHT-FLDATE,
               Seatsmax like SFLIGHT-SEATSMAX,
               Seatsocc like SFLIGHT-SEATSOCC,
               Percen type p decimals 2,
               END OF LINE.
       DATA: ISFLIGHT TYPE STANDARD TABLE OF LINE INITIAL SIZE 10 WITH HEADER LINE.
       DATA: Percent type p decimals 2.
       PARAMETERS: CID LIKE SFLIGHT-CARRID.
       DATA: Num type I value 0.
       INITIALIZATION.
       CID = '004'.
       SELECT CARRID CONNID FLDATE  SEATSMAX  SEATSOCC FROM SFLIGHT INTO TABLE ISFLIGHT WHERE CARRID = CID.
    So far I've gotten this far. but now I need to compute for the percentage, which I'm required to do in a subroutine.
    So I tried
    FORM U TABLES ISFLIGHT STRUCTURE SFLIGHT.
    ISFLIGHT-Percen = ( ISFLIGHT-Seatsocc / ISFLIGHT-Seatsmax ) * 100.
    ENDFORM.
    But I keep getting an error o that. It keeps telling me that ISFLIGHT does not have a Percen field. Also I'm suppose to use a pass by value to this subroutine but I don't know what that means.
    Basically I need to compute for the percentage and insert it tot he internal table. which I would sort by percentage. After which I'm suppose to print the ouput by passing the internal table to the subroutine.
    I know I'm doing something wrong but I just don't know how to fix this since I only started working on subroutines today. Any help would be appreciated.

    Hi.
    line defined in data dictionary. Try this:
    TABLES: sflight.
    DATA: BEGIN OF my_line,
    carrid LIKE sflight-carrid,
    connid LIKE sflight-connid,
    fldate LIKE sflight-fldate,
    seatsmax LIKE sflight-seatsmax,
    seatsocc LIKE sflight-seatsocc,
    percen TYPE p DECIMALS 2,
    END OF my_line.
    DATA: isflight LIKE my_line OCCURS 10 WITH HEADER LINE.
    DATA: percent TYPE p DECIMALS 2.
    PARAMETERS: cid LIKE sflight-carrid.
    DATA: num TYPE i VALUE 0.
    INITIALIZATION.
      cid = '004'.
      SELECT carrid connid fldate seatsmax seatsocc FROM sflight INTO TABLE
      isflight WHERE carrid = cid.
    FORM u TABLES isflight STRUCTURE my_line.
      isflight-percen = ( isflight-seatsocc / isflight-seatsmax ) * 100.
    ENDFORM.                    "U
    regards
    Walter Habich

  • Problem about fill set up table

    Hi all,
    I got a problem when I run the fill set up table for sales billing data source. what I did is:
    first delete the setup table then oli9bw->type in a sales document no.(as I only want this order data), then give a run name, last execute, but I got the message as follow:
    Data source 2LIS_13_VDITM contains data still to be transferred
    Could you pls explain what this means, and what should I do to solve the problem
    Thanks

    Set up table definition
    Setup table is store the historical data, where as the delta records are updated in delta queue not to set up table.
    So once historical data is loaded you can delete the contents of the set up table.
    name is extract sturcture of your data source + setup
    also data is taken from setup table when an init / full/ full repair load is done.
    so in order to take ur records from the table delete the setup table(LBWG) and initialize it with ur records.
    You can find the contents SE16
    Filling set up tables
    transac LBWG
    + SBIW -> Logistics -> Managing Transfer Information Structures-> Setup of Statistical Data-> Application-Specific Setup of Statistical Data
    set up tables
    Set up tables
    Set up tables
    view of set up tables data in se11??????????
    Set Up tables..
    lo: delete set up tables: DOUBT
    LBWQ is the extraction queue and RSA7 is delta queue. Data is sent to delta queue from extraction queue through collective job scheduled in transaction LBWE.
    when we want to extract the data using LO Cockpit, the data will be come to the extraction queue first and from there it will processed to the delta queue. SO lbwq works as a outbound queue.
    If the update mode is Unserialised V3 then as soon as the document is posted it comes update table which you can see in Tr. Code SM13. After the jonb is scheduled the records come to RSA7 i.e delta queue from which BW pulls the data
    If you use u201CQueued Deltau201Dupdate method then the data moves to Extraction queue(LBWQ). Then run Collective update to move the data from LBWQ into Delta Queue (RSA7). Then schedule the data using the infopackage by selecting Delta Load in the update tab.
    So in If you are going to do Setup table filling, delete the data from LBWQ.
    The usage of Extraction queue(LBWQ) comes in to picture in delta loading. But actually system starts collecting the data (whenever there is document creation in R/3) after activating the EXtraction structure.
    Steps to Be Performed
    We know that there are 4 types of delta extraction that are available in LO. If you use u201CQueued Deltau201Dupdate method then the data moves to Extraction queue(LBWQ). Then run Collective update to move the data from LBWQ into Delta Queue (RSA7). Then schedule the data using the infopackage by selecting Delta Load in the update tab.
    Here is Roberto's weblog:
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    check this out...
    LBWQ - T code is for what?
    Ttransaction LBWQ
    What is LBWQ?
    Assign points if it helps
    Hope it helps
    regards
    Bala

  • About logic in internal tables

    Hi friends,
    itab1 contains the following fields...
    F1         S1        S2
    206       111       222
    206       333       444
    I want above  fields in output table like this
    it_display.
    F1      m1       m2     m3       m4
    206    111      222    333      444
    please give some idea..
    thanks,
    kishore.

    Please check the sample code.
    REPORT  ztest_inc.
    DATA: BEGIN OF it_data OCCURS 0,
           f1(3),
           s1(3),
           s2(3),
          END OF it_data.
    DATA: BEGIN OF it_final OCCURS 0,
          f1(3),
          m1(3),
          m2(3),
          m3(3),
          m4(4),
         END OF it_final.
    it_data-f1 = '206'.
    it_data-s1 = '111'.
    it_data-s2 = '222'.
    APPEND it_data.
    it_data-f1 = '206'.
    it_data-s1 = '333'.
    it_data-s2 = '444'.
    APPEND it_data.
    *F1 m1 m2 m3 m4
    *206 111 222 333 444
    DATA: v_field(11),
          v_i(2) TYPE c.
    FIELD-SYMBOLS: <fs> TYPE ANY.
    v_i = 0.
    SORT it_data BY f1.
    LOOP AT it_data.
      v_i = v_i + 1.
      it_final-f1 = it_data-f1.
      CLEAR v_field.
      CONCATENATE 'IT_FINAL-M' v_i INTO v_field.
      CONDENSE v_field.
      ASSIGN (v_field) TO <fs>.
      <fs> = it_data-s1.
      v_i = v_i + 1.
      CLEAR v_field.
      CONCATENATE 'IT_FINAL-M' v_i INTO v_field.
      CONDENSE v_field.
      ASSIGN (v_field) TO <fs>.
      <fs> = it_data-s2.
      AT END OF f1.
        APPEND it_final.
      ENDAT.
    ENDLOOP.
    BREAK-POINT.

  • Problem in returning internal table from FM in ABAP Objects

    Hi All,
    I have to return an internal table from one of the FM i created in the controller class (_IMPL) of a view.
    The problem here is, the internal table i m getting here
    is of type to a structure!.
    but i have to return it as type ref to DATA, which cant be assigned directly.
    Now, my question is.. How can i convert ..
    internal table type structure
    to
    internal table type ref to DATA.
    Thanks and Regards,
    sudeep v d.

    Hi Sudeep.
    Can you see if something like this works for you?
    DATA: dref type ref to DATA.
    FIELD-SYMBOL: <fs> type ANY.
    LOOP AT <internaltable> INTO <structure>
    ASSIGN "<component_name>" component of <structure> TO <fs>
    CREATE DATA dref type <structure>.
    dref->* = <fs>.
    ENDLOOP.

  • Problem while exporting internal table to memory id using EXPORT

    Hi friends,
    Iam facing a following problem.
    I have 4 line items in my va01 tcode.
    now when i give material number and quantity and hit enter the processing for that line item starts.
    iam moving that current line item to a internal table lt_vbap in userexit_check_vbap.
    now for the 2nd line item also i have to move to internal table lt_vbap.
    but my problem is that in internal table lt_vbap iam not getting all the line items.
    every time the current line item is being processed the the previous line items are being refreshed.
    from lt_vbap internal table.
    how can i export internal table.
    code
    move vbap to lt_vbap.
    append lt_vbap.
    export lt_vbap to memory id 'ZXYZ'.

    >
    Prakash Pandey wrote:
    > Hi Priyanka,
    >
    > The internal table lt_vbap will always be empty unless you import it from the Memory ID (in your case ZXYX).
    >
    > Use the code this way:
    >
    > IMPORT lt_vbap FROM MEMORY ID 'ZXYX'.
    >
    > move vbap to lt_vbap.
    >
    > append lt_vbap.
    >
    > export lt_vbap to memory id 'ZXYZ'.
    >
    > Regards,
    > Prakash Pandey
    The memory id shud be same in both cases

  • Problem populating an internal table

    Hello,
    I am having a problem with filling an internal table. I cannot seem to grasp this and I struggle with this in every program. I am attaching pieces of my program so that maybe someone can help me. I have a selection screen that I populate with dates. if the dates are populated, I want to use these dates for the selection. If the dates are initial, I want to read an entry from the TVARV table and populate the dates that will used in the selection. I tried various code statements and I cannot get it to work. i get messages like "is a table without a header line and therefore has no component "LOW" or other messages similar to this. I would like that if the s_udate is populated, I could fill the tvarv table and not have to call the form.
    also if anyone has some documentation on working with internal tables without header lines (I think I read in here that internal tables without header lines is the way to go ), could you please include that as well so that I could try to understand how this suppose to work 
    thanks in advance for the help
    TYPES: BEGIN OF ty_tvarv_date,
            low     TYPE   tvarv_val,          "start date
            high    TYPE   tvarv_val,          "end date
           END OF ty_tvarv_date.
    TYPES: ty_t_tvarv_date TYPE STANDARD TABLE OF ty_tvarv_date INITIAL SIZE 0,
    DATA   it_tvarv_date TYPE STANDARD TABLE OF ty_tvarv_date INITIAL SIZE 0.
    SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-001.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(22) text-002.
    SELECT-OPTIONS s_udate FOR sy-datlo.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK a.
    PERFORM select_date_tvarv CHANGING it_tvarv_date.
    PERFORM select_data643_mseg USING    it_tvarv_date
                                         it_zfi_gl_subcontrk[]
                                  CHANGING it_mseg643.
    <b>*******************************************************************</b>
    FORM select_date_tvarv CHANGING p1_it_tvarv_date TYPE ty_t_tvarv_date.
    IF s_udate IS INITIAL.
      SELECT low high
        FROM tvarv
        INTO  TABLE p1_it_tvarv_date
        WHERE name EQ  'Z_SUBCONTRK_DATES'.
      IF sy-subrc NE 0.
        IF sy-batch IS INITIAL.
          MESSAGE i899 WITH text-027.
          LEAVE LIST-PROCESSING.
        ELSE.
          MESSAGE e899 WITH text-027.
        ENDIF.
      ENDIF.
    ELSE.
         MOVE s_udate to p1_it_tvarv_date.
         MOVE s_udate-low(8)  to p1_it_tvarv_date-low.
         MOVE s_udate-high(8) to p1_it_tvarv_date-high.
    ENDIF.
    ENDFORM. " FORM SELECT_DATE_TVARV
    <b>*******************************************************************</b>
    FORM select_data643_mseg USING p1_tvarv_date       TYPE ty_t_tvarv_date
                                   p1_zfi_gl_subcontrk TYPE ty_t_zfi_gl_subcontrk
                          CHANGING p1_it_mseg          TYPE ty_t_mseg643.
      DATA: wa_tvarv_date type ty_tvarv_date.
      READ TABLE p1_tvarv_date INTO wa_tvarv_date INDEX 1.
      SELECT abukrs  awerks amatnr aerfmg a~erfme
             akostl abwart amblnr awempf acharg akzbew algort bbudat
        FROM mseg AS a INNER JOIN mkpf AS b ON amblnr EQ bmblnr
          AND b~budat <= wa_tvarv_date-high
          AND b~budat >= wa_tvarv_date-low
            INTO TABLE p1_it_mseg
            FOR ALL ENTRIES IN p1_zfi_gl_subcontrk
            WHERE a~bukrs   EQ p1_zfi_gl_subcontrk-bukrs_from
            AND   a~werks   EQ p1_zfi_gl_subcontrk-werks_from
            AND   a~wempf   EQ p1_zfi_gl_subcontrk-werks_to643
            AND   a~matnr   EQ p1_zfi_gl_subcontrk-matnr
            AND   a~bwart   EQ'643'.
      IF sy-subrc NE 0.
        IF sy-batch IS INITIAL.
          MESSAGE i899 WITH text-027.
          LEAVE LIST-PROCESSING.
        ELSE.
          MESSAGE e899 WITH text-027.
        ENDIF.
      ENDIF.
    ENDFORM. " FORM SELECT_DATA643_MSEG

    In tables with header line, you need not define an explicit work area.
    System will create a so-called work area, which is called header line.
    This header line is like any other work area. the difference is that it can be accessed using internal table name. A record will be by default read into header line in a READ statement.
    For ex,
    READ TABLE p1_tvarv_date INTO wa_tvarv_date INDEX 1.
    Here you used to read the 1st record into wa_tvarv_date.
    But after making it table with header line you can use
    READ TABLE p1_tvarv_date INDEX 1.
    This will move the data to header line and it can be accessed by name p1_tvarv_date.
    See the code below.
    TYPES: BEGIN OF ty_tvarv_date,
    low TYPE tvarv_val, "start date
    high TYPE tvarv_val, "end date
    END OF ty_tvarv_date.
    TYPES: ty_t_tvarv_date TYPE STANDARD TABLE OF ty_tvarv_date INITIAL SIZE 0,
    DATA it_tvarv_date TYPE STANDARD TABLE OF ty_tvarv_date <b>WITH HEADER LINE INITIAL</b> SIZE 0.
    SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-001.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(22) text-002.
    SELECT-OPTIONS s_udate FOR sy-datlo.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK a.
    PERFORM select_date_tvarv CHANGING it_tvarv_date.
    PERFORM select_data643_mseg USING it_tvarv_date
    it_zfi_gl_subcontrk[]
    CHANGING it_mseg643.
    FORM select_date_tvarv CHANGING p1_it_tvarv_date TYPE ty_t_tvarv_date.
    IF s_udate IS INITIAL.
    SELECT low high
    FROM tvarv
    INTO TABLE p1_it_tvarv_date
    WHERE name EQ 'Z_SUBCONTRK_DATES'.
    IF sy-subrc NE 0.
    IF sy-batch IS INITIAL.
    MESSAGE i899 WITH text-027.
    LEAVE LIST-PROCESSING.
    ELSE.
    MESSAGE e899 WITH text-027.
    ENDIF.
    ENDIF.
    ELSE.
    MOVE s_udate to p1_it_tvarv_date.
    MOVE s_udate-low(8) to p1_it_tvarv_date-low.
    MOVE s_udate-high(8) to p1_it_tvarv_date-high.
    ENDIF.
    ENDFORM. " FORM SELECT_DATE_TVARV
    FORM select_data643_mseg USING p1_tvarv_date TYPE ty_t_tvarv_date
    p1_zfi_gl_subcontrk TYPE ty_t_zfi_gl_subcontrk
    CHANGING p1_it_mseg TYPE ty_t_mseg643.
    <b>READ TABLE p1_tvarv_date INDEX 1.</b>
    SELECT abukrs awerks amatnr aerfmg a~erfme
    akostl abwart amblnr awempf acharg akzbew algort bbudat
    FROM mseg AS a INNER JOIN mkpf AS b ON amblnr EQ bmblnr
    <b>AND b~budat <= p1_tvarv_date-high
    AND b~budat >= p1_tvarv_date-low</b>
    INTO TABLE p1_it_mseg
    FOR ALL ENTRIES IN p1_zfi_gl_subcontrk
    WHERE a~bukrs EQ p1_zfi_gl_subcontrk-bukrs_from
    AND a~werks EQ p1_zfi_gl_subcontrk-werks_from
    AND a~wempf EQ p1_zfi_gl_subcontrk-werks_to643
    AND a~matnr EQ p1_zfi_gl_subcontrk-matnr
    AND a~bwart EQ'643'.
    IF sy-subrc NE 0.
    IF sy-batch IS INITIAL.
    MESSAGE i899 WITH text-027.
    LEAVE LIST-PROCESSING.
    ELSE.
    MESSAGE e899 WITH text-027.
    ENDIF.
    ENDIF.
    ENDFORM. " FORM SELECT_DATA643_MSEG

  • How to pass the internal table data to smartforms

    Hi Gurus,
    I have a problem in passing the internal table data to the smartforms. In the print program
    I get the data into one internal table "LT_PRDLBL1". I am passing this internal table to the other in print program by calling the FM_NAME.
    CALL FUNCTION fm_name
      EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
        CONTROL_PARAMETERS         = T_SSFCTRLOP
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
        OUTPUT_OPTIONS             = T_SSFCOMPOP
        USER_SETTINGS              = ' '
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        LT_PRDLBL                 = LT_PRDLBL1
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5
    In the print program I had defined the internal tables like
    Data: lt_prdlbl  type standard table of zprdlbl.
    Data: Begin of lt_prdlbl1 occurs 0.
            include structure zprdlbl.
    Data: End of lt_prdlbl1.
    How do I define the internal table in the smartform to get the values printed in the smartform?.
    <REMOVED BY MODERATOR>
    Thanks,
    Edited by: Alvaro Tejada Galindo on Apr 21, 2008 1:01 PM

    Nehal,
    Thanks for quick response.
    In the smartform under the Form Interface->Tables tab
    I had defined
    LT_PRDLBL LIKE ZPRDLBL. If I define TYPE instead of LIKE I get the error message saying "FLAT TYPES may only be referenced using LIKE for table parameters".
    In the main window I have created LOOP, in which I have ticked the internal table and
    LT_PRDLBL INTO LT_PRDLBL. In the text node I am passing the values of this internal table
    &LT_PRDLBL-XXXX&.
    I am able to get the print but the data is not printing.
    Please help me with this.
    Thanks,

Maybe you are looking for

  • Calling Web Service from the Client

    Dear All, I have created the Java Web Service and running on the JBoss. When i run the url it was show the services (method names) and wsdl file discription URL I have used http://localhost:8080/Test/Hello I am calling with the following client Strin

  • How to get a current date timestamp ?

    Hi, I need to get the current date timestamp in a format DDMMYY HH:MM:SS.mmmm and store it in an Oracle column which is declared as of type DATE. Also i need to store this timestamp in a string format. Please give your inputs in this regard, which is

  • Lost Services

    I have recently upgraded to OS 10.6. Am also running Safari 4.0.3. Previously if there was a recipe on a webpage I could highlight the recipe itself, then go onto "Services" and there was an option to do many things including transferring that recipe

  • Highlighting Duplicates

    I wrote a formula which identifies duplicate string values in the details section of a report. The formula returns True if a duplicate, False if not. The records must be sorted first. The formula is called @DupeFormula. It works correctly. I use it f

  • Green light, but will not connect to Internet

    Set up the router easily, solid green light. Airport Utility says Airport is green, but Internet connection is "disconnected"