Field Names Not Found in Item Table Properties

Please note that the following field names cannot be found in the Table Object properties but can be found in the database table for the Item table.
ItemType within Item Heading
ReorderQty within Inventory Data -
   this is called Required Stock Level on Inventory scrn.
MinOrdrQty - Minimum Ordered Qty on Planning scrn.
Please advise.  Thanks!

Satish,
The ItemType property is available for the Items Object.  As far as the ReOrderQty ... this does not seem to be available as a property.  If you must use these properties in your add-on, you could go to the Db directly as they are in the appropriate tables HOWEVER, this is not a recommended approach as data corruption could occur as well as SAP will not certify a solution that used direct table access to the Db.  You could put in a request via SAP Support for these properties to be added in coming versions of the DI API.
HTH,
Eddy

Similar Messages

  • Changing ODBC Connection results in Field Name not found error

    Post Author: POH
    CA Forum: Data Connectivity and SQL
    I am using CR XI with mySQL 5.0 and VB6. The computer I use to to design my reports has a odbc dsn which is used to develop the reports. On the production computer the same odbc dsn is present but has a different server, database, user and password entries. I am using the code below to set the connection and test the database.    For Each objDatabaseTable In objDatabaseTables        objDatabaseTable.SetLogOnInfo "servername", "dbname", "user", "pw"        objDatabaseTable.ConnectionProperties("UseDSNproperties") = True    Next crxDatabaseTable    crxDatabase.Verify No Error is given and the report in this case does not have any sub reports.Now when the command ViewReport is run the CR viewer is shown but the report is not displayed. The viewer shows the error "Filed Name not found". I do not have any formel fields in the report and I have checked to make sur that both databases have the same structure. Can any body help me. Regards Paul    

    Did you add a System DSN or a User DSN? If you added a User DSN from your own login, the asp.net application will not be able to use it unless its application Pool in IIS is configured to run under the same credentials that you used for creating
    the DSN. It's better if you add a System DSN.
    Also, be careful to ensure that you are using a 64 bit DSN, unless you configure the application to run in 32 bits. If the 64 bit application attempts to use the 32 bit driver you get the same error message "Data source name not found and no default
    driver specified". See this KB article:
    http://support.microsoft.com/kb/942976/en-us

  • Error in COLMAP clause. Column name not found

    Hi guys,
    I must be missing something extremely simple here but I can't figure it out. I have a very simple test I am trying to perform. Remap a column from 1 table into another on replicat.
    I have created the defgens file.
    * Definitions created/modified 2013-02-12 13:08
    * Field descriptions for each column entry:
    * 1 Name
    * 2 Data Type
    * 3 External Length
    * 4 Fetch Offset
    * 5 Scale
    * 6 Level
    * 7 Null
    * 8 Bump if Odd
    * 9 Internal Length
    * 10 Binary Length
    * 11 Table Length
    * 12 Most Significant DT
    * 13 Least Significant DT
    * 14 High Precision
    * 15 Low Precision
    * 16 Elementary Item
    * 17 Occurs
    * 18 Key Column
    * 19 Sub Data Type
    Definition for table BILLING.B1
    Record length: 92
    Syskey: 0
    Columns: 2
    B_ID 64 50 0 0 0 1 0 50 50 50 0 0 0 0 1 0 1 2
    B_F_NAME 64 30 56 0 0 1 0 30 30 0 0 0 0 0 1 0 0 0
    End of definition
    Definition for table BILLING.B2
    Record length: 92
    Syskey: 0
    Columns: 2
    B_ID 64 50 0 0 0 1 0 50 50 50 0 0 0 0 1 0 1 2
    B_L_NAME 64 30 56 0 0 1 0 30 30 0 0 0 0 0 1 0 1 0
    End of definition
    I have setup the replicat to read the sourcedefs and remap the column
    -- Identify the Replicat group:
    REPLICAT rxtest
    -- State that source and target definitions are identical:
    --ASSUMETARGETDEFS
    SOURCEDEFS /u12/oracle/golden_gate_11_rep/dirsql/defgen_billing.sql
    --Discard Setup
    DISCARDFILE /u12/oracle/golden_gate_11_rep/dirout/rxtest.txt , PURGE
    SETENV (NLS_LANG="AMERICAN_AMERICA.WE8MSWIN1252")
    -- Specify database login information as needed for the database:
    USERID gg, PASSWORD
    -- Specify error handling rules:
    REPERROR (DEFAULT, ABEND)
    DDL EXCLUDE ALL
    MAP billing.b1, TARGET billing.r1,
    COLMAP (
    B_ID = id,
    b_f_name = f_name);
    Now when I try and start the rxtest replicat I get this error in the report.
    MAP resolved (entry BILLING.B1):
    MAP BILLING.B1, TARGET billing.r1, COLMAP ( B_ID = id, b_f_name = f_name);
    ...( B_ID = id, b_f_name = f_name...
    ^
    Error in COLMAP clause. Column name not found.
    Any ideas? Thanks

    desc billing.r1 - does that table have columns that you've included in the map clause?
    But, check the ordering of the columns in colmap - it goes target_column_name = source_column_name, looks like you have that reversed.
    I don't know why people insist on using SQL file extensions on def files, and placing them in the dirsql directory. What was wrong with using the (already created for you) dirdef directory? And naming the file with an extension like def or defs? It is not a SQL file.

  • Field Catalog Not Found in ALV

    Hi Experts,
    I am trying to exceute the below code its shows the Field CataLog Not Found
    Code is:
    TYPE-POOLS:slis.
    TABLES:ekpo,mseg.
    TYPES: BEGIN OF ty_ekpo,
           ebeln TYPE ekpo-ebeln,
           ebelp TYPE ekpo-ebelp,
           matnr TYPE ekpo-matnr,
           menge TYPE ekpo-menge,
           END OF ty_ekpo.
    TYPES: BEGIN OF ty_mseg,
           ebeln TYPE mseg-ebeln,
           ebelp TYPE mseg-ebelp,
           matnr TYPE mseg-matnr,
           menge TYPE mseg-menge,
           bwart TYPE mseg-bwart,
           END OF ty_mseg.
    TYPES: BEGIN OF ty_final,
            ebeln TYPE ebeln,
            ebelp TYPE ebelp,
            qtysup TYPE MENGE_D,
            qtyact TYPE MENGE_D,
            qtyrej TYPE MENGE_D,
           END OF ty_final.
    DATA: it_mseg  TYPE  TABLE OF ty_mseg WITH HEADER LINE,
          it_ekpo  TYPE  TABLE OF ty_ekpo WITH HEADER LINE,
          it_final TYPE  TABLE OF ty_final WITH HEADER LINE.
    DATA: wa_fieldcat TYPE slis_fieldcat_alv,
          it_fieldcat TYPE slis_t_fieldcat_alv.
    DATA:wa_mseg LIKE LINE OF it_mseg,
         wa_ekpo LIKE LINE OF it_ekpo ,
         wa_final LIKE LINE OF  it_final.
    SELECT-OPTIONS: p_ebeln FOR ekpo-ebeln.
    START-OF-SELECTION.
    SELECT ebeln ebelp matnr menge FROM ekpo
                                     INTO TABLE it_ekpo
                                     WHERE ebeln IN p_ebeln.
      IF it_ekpo[] IS NOT INITIAL.
        SELECT ebeln ebelp matnr menge bwart FROM mseg
                                                    INTO TABLE it_mseg
                                                    FOR ALL ENTRIES IN it_ekpo[]
                                                    WHERE ebeln EQ it_ekpo-ebeln
                                                    AND   ebelp EQ it_ekpo-ebelp
                                                    AND bwart EQ '122'.
      ENDIF.
      LOOP AT  it_mseg  .
        READ TABLE it_ekpo WITH KEY ebeln = it_mseg-ebeln.
        IF sy-subrc EQ 0.
          it_final-qtyrej = it_mseg-menge.
          it_final-qtysup = it_ekpo-menge.
          it_final-ebeln  = it_mseg-ebeln.
          it_final-ebelp  = it_mseg-ebelp.
        ENDIF.
    IF sy-subrc EQ 0.
          it_final-qtyact = ( it_final-qtysup ) - ( it_final-qtyrej ).
        ENDIF.
        APPEND it_final.
      ENDLOOP.
      wa_fieldcat-fieldname = 'EBELN'.
      wa_fieldcat-tabname   = 'IT_FINAL'.
      wa_fieldcat-seltext_l = 'Purchase Doc'.
      wa_fieldcat-seltext_m = wa_fieldcat-seltext_l.
      wa_fieldcat-seltext_s = wa_fieldcat-seltext_l.
      wa_fieldcat-col_pos     = 1.
      wa_fieldcat-outputlen   = 10.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-fieldname = 'EBELP'.
      wa_fieldcat-tabname   = 'IT_FINAL'.
      wa_fieldcat-seltext_l = 'Item'.
      wa_fieldcat-seltext_m = wa_fieldcat-seltext_l.
      wa_fieldcat-seltext_s = wa_fieldcat-seltext_l.
      wa_fieldcat-col_pos     = 2.
      wa_fieldcat-outputlen   = 5.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-fieldname = 'QTYSUP'.
        wa_fieldcat-tabname   = 'IT_FINAL'.
      wa_fieldcat-seltext_l = 'QuatitySupply'.
      wa_fieldcat-seltext_m = wa_fieldcat-seltext_l.
      wa_fieldcat-seltext_s = wa_fieldcat-seltext_l.
      wa_fieldcat-col_pos     = 3.
      wa_fieldcat-outputlen   = 13.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-fieldname = 'QTYACT'.
        wa_fieldcat-tabname   = 'IT_FINAL'.
      wa_fieldcat-seltext_l = 'QualityAccepted'.
      wa_fieldcat-seltext_m = wa_fieldcat-seltext_l.
      wa_fieldcat-seltext_s = wa_fieldcat-seltext_l.
      wa_fieldcat-col_pos     = 4.
      wa_fieldcat-outputlen   = 13.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-fieldname = 'QTYREJ'.
      wa_fieldcat-tabname   = 'IT_FINAL'.
      wa_fieldcat-seltext_l = 'QualityRejected'.
      wa_fieldcat-seltext_m = wa_fieldcat-seltext_l.
      wa_fieldcat-seltext_s = wa_fieldcat-seltext_l.
      wa_fieldcat-col_pos     = 5.
      wa_fieldcat-outputlen   = 13.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      DATA: repid LIKE sy-repid.
      repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
          I_CALLBACK_PROGRAM             = repid
        TABLES
          t_outtab                       = it_final[]
      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.
    Thanks In Advance
    Poorna

    Hi,
    pass parametrs as it is given below...
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
      I_CALLBACK_PROGRAM             = repid
      I_CALLBACK_PF_STATUS_SET       = ' '
      I_CALLBACK_USER_COMMAND        = ' '
      I_STRUCTURE_NAME               =
      IS_LAYOUT                      =
      IT_FIELDCAT                    = it_fieldcat
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
      I_SAVE                         = ' '
      IS_VARIANT                     =
      IT_EVENTS                      =
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
      IR_SALV_LIST_ADAPTER           =
      IT_EXCEPT_QINFO                =
      I_SUPPRESS_EMPTY_DATA          = ABAP_FALSE
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
      TABLES
        t_outtab                       = it_final[]
    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.
    Thanks & Regards
    Ashu

  • "Field Catalog not found" ...problem in ALV reporting !!

    Hi,
    When i execute my report program where in I generate a Selection screen, I am able to select the values in the selection screen. Once I click on the execute button I get the message
    "Field Catalog not found"...
    The elabore message is
    "Field Catalog cannot be determined becaus the output table structure name was not specified"
    Where am I wrong ??
    Find below my code ...
    *& Report  Z_MIGO_TXJCD_REPORT
    REPORT  Z_MIGO_TXJCD_REPORT.
    TYPE-POOLS: slis.
    TABLES:  makt,mseg,zmigo_extend,ttxj,mkpf.
    DATA: BEGIN OF migo_data OCCURS 0,
           matnr LIKE mseg-matnr,
           werks LIKE mseg-werks,
           lgpla LIKE mseg-lgpla,
           bwart LIKE mseg-bwart,
           menge LIKE mseg-menge,
           dmbtr LIKE mseg-dmbtr,
           budat LIKE mkpf-budat,
           txjcd LIKE zmigo_extend-txjcd,
          END OF migo_data.
    DATA: it_cat TYPE slis_t_fieldcat_alv,
          wa_lay TYPE slis_layout_alv.
    FIELD-SYMBOLS: <fs_cat> LIKE LINE OF it_cat.
    SELECT-OPTIONS: so_matnr FOR makt-matnr,
                    so_budat FOR mkpf-budat,
                    so_werks FOR mseg-werks,
                    so_lgpla FOR mseg-lgpla,
                    so_bwart FOR mseg-bwart,
                    so_txjcd FOR ttxj-txjcd.
    START-OF-SELECTION.
      SELECT amatnr awerks algpla abwart
             amenge admbtr bbudat ctxjcd INTO TABLE
             migo_data
        FROM mseg AS a INNER JOIN mkpf AS b ON amblnr = bmblnr INNER JOIN
             zmigo_extend AS c ON amblnr = cmblnr
       WHERE a~matnr IN so_matnr
         AND b~budat IN so_budat
         AND a~werks IN so_werks
         AND a~lgpla IN so_lgpla
         AND a~bwart IN so_bwart
         AND c~txjcd IN so_txjcd.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = sy-cprog
          i_internal_tabname     = 'migo_data'
          i_inclname             = sy-cprog
        CHANGING
          ct_fieldcat            = it_cat
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
      LOOP AT it_cat ASSIGNING <fs_cat>.
        CLEAR <fs_cat>-key.
      ENDLOOP.
      wa_lay-zebra = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_grid_title  = 'MIGO report with Tax Jurisdiction Code'
          is_layout     = wa_lay
          it_fieldcat   = it_cat
        TABLES
          t_outtab      = migo_data
        EXCEPTIONS
          program_error = 1
          OTHERS        = 2.

    Give 'migo_data' in uppercase as ''MIGO_DATA'.

  • Field catalog not found...

    hi all,
    when i try to create billing request for a service order (using dp90), i am getting the following message :
    Field catalog not found
        Message no. 0K530
    Diagnosis
        The field catalog cannot be determined because the output table
        structure name was not specified.
    what can i do?

    I assume this error happens when you save the billing document, and it is a billing output issue. As said, you could verify this by removing all outputs before saving, and afterwards in change mode add them again one by one to figure out which is failing. Alternatively use the blue i icon to analyze the outputs.
    Transaction NACE can be used for output setup across all modules. If the assumption regarding billing is correct, we are dealing with application V3. Mark this in the left side. Press 'output types' button and check the output types you saw in the billing document by double clicking. On the 'General data' is the access sequence assigned. Double click that. Probably will multiple output types be attached to the same access sequence. Mark the access sequence, and unfold the 'Accesses' to the left. Check out the condition tables in the Tab column. All condition tables below 599 is standard and probably OK. Note down the high numbers.
    Go back to the initial screen of NACE. With the application (V3) marked, select EDIT - CONDITION TABLES in the menu.
    Check each of the used condition tables here. Use utilities - Generate in the menu. Mark all boxes and execute. You can even select the entire range 500-999 at one time if you prefer. At least one condition table should give errors in the generation.

  • Sap upgrade-Error when using DP90-OK 530-field catalog not found

    Hello,
    We are upgrading from 4.6c to mySAP ERP 2004 version. In 4.6c, we are using VA90 to create a sales order from service order to bill the customer. However in mySAP ERP 2004 version, VA90 does not exist. So we created DP profile and are  using transaction code DP90 to create billling request for the service order. However, System gives an error 'Field catalog not found'. The diagnosis says that -The field catalog cannot be determined because the output table structure name was not specified.
    Please help us how to solve the above problem.
    Thanks
    Mala

    hi mala,
    did you see SAP-message 442170?
    it is all about conversion VA90/DP90.
    hope this helps.
    br,
    matthias
    Message was edited by: Matthias Leitner

  • Postfix relay=none, ... status=deferred (Host or domain name not found...

    Hi,
    I actually posted this question 2 weeks ago but under the wrong topic. So, first of all wanted to apologise for double-posting... but since no one replied, I thought I'd try again under the right topic.
    I've been trying to solve this all day today (that was Feb 26th). I used to be able to send emails but for some reason it does not work anymore. At first I thought it was a problem with php (I use entropy pack php 5.2.6) but after searching the topic, I think it is a problem with my network. BTW OS is 10.5.5 and Postfix version 2.4.3
    First of all, after computer restart, I don't think postfix starts automatically
    Running 'sudo postfix start' gives me:
    postfix/postfix-script: starting the Postfix mail system
    Looking at '/var/log/mail.log' I find:
    Feb 27 12:51:04 AMs-MBP postfix/qmgr331: AA70A7A7C77: from=<[email protected]>, size=842, nrcpt=1 (queue active)
    Feb 27 12:52:19 AMs-MBP postfix/smtp456: AA70A7A7C77: to=<[email protected]>, relay=none, delay=3437, delays=3362/0.02/75/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=email.com type=MX: Host not found, try again)
    Running 'sudo postfix check' does not give me any errors
    Checking my '/etc/resolv.conf' it has nameserver 192.168.1.1
    Running 'ifconfig | grep netmask | grep -v 127.0.0.1 | awk {'print $2'}L' gives:
    192.168.1.5
    Checking http://switch.richard5.net/2006/08/19/fatal-open-lock-file-pidmasterpid/ and running 'launchctl list' gives me a long list but no item matches org.postfix.master
    Running 'ps aux|grep postfix' gives
    AM 546 0.3 0.0 599820 468 s000 S+ 1:41pm 0:00.00 grep postfix
    _postfix 331 0.0 0.0 599816 824 ?? S 11:56am 0:00.04 qmgr -l -t fifo -u
    root 329 0.0 0.0 600784 752 ?? Ss 11:56am 0:00.11 /usr/libexec/postfix/master
    _postfix 519 0.0 0.0 599768 752 ?? S 1:36pm 0:00.01 pickup -l -t fifo -u
    Running 'postconf inet_interfaces' at first gave me
    inet_interfaces = localhost
    which I changed to All in '/etc/postfix/main.cf'
    I looked at http://www.postfix-book.com/debugging.html
    Running 'telnet localhost 25' gives me
    Trying ::1...
    telnet: connect to address ::1: Connection refused
    Trying fe80::1...
    telnet: connect to address fe80::1: Connection refused
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    220 AMs-MBP.local ESMTP Postfix
    quit
    221 2.0.0 Bye
    Connection closed by foreign host.
    But running 'telnet 10.1.2.233 25' gives me
    Trying 10.1.2.233...
    telnet: connect to address 10.1.2.233: Operation timed out
    telnet: Unable to connect to remote host
    Running 'ping 134.169.9.107' takes a long time. After a while I stop it and get:
    PING 134.169.9.107 (134.169.9.107): 56 data bytes
    ^C
    o
    + 134.169.9.107 ping statistics ---
    28 packets transmitted, 0 packets received, 100% packet loss
    I have not idea what the problem is and/or how to fix it. I know the messages get to the postfix daemon but for some reason they do not continue on their way.
    Please, does anyone have an idea of how to fix this?
    TIA,
    Elle

    Dynamic IP addresses with DynDNS Updater (or equivalent) makes it pretty darned reliable, particularly if you buy DynDNS' Mailhop Forward service, which prevents the likes of roadrunner.com and aol.com from blocking mail coming from your server just because it lives in dynamicIP-land. Way cheaper than paying your ISP extra for a static IPA, too, and totally acceptable for low-volume, residential-based servers for personal not-for-profit use.
    Regarding reliable delivery to a dynIPA server, you are only at risk of non-receipt for perhaps a few minutes immediately following when your ISP rotates your WAN IPA, until DynDNS Updater (or equivalent) updates the DynDNS (or equivalent) servers with your new WAN IPA. But that's really not a problem because I think all, well, okay, most, smtp servers will queue for a redelivery attempt if the initial delivery attempt just happens to occur at that time.
    I wouldn't suggest this practice for high-volume enterprise-class servers or for people trying to run a bootleg mail server business for profit (besides, the ISP would shut it down as an abuse of terms of service, anyways), but for low-volume, residential-based servers for personal use and enjoyment, which I suspect is the case for the O.P., I can't say that I find anything unreliable about my dynamic IP-based mail server.

  • 'Field Catalog not Found' - ALV Grid using CustomContainer+Fcat

    The Following piece of code throws 'Field Catalgo not found'
    Please give me necessary changes in the code.
    Thanks & Regards
    Harsha Ch.
    *& Report  ZCHK_ALV_CUSCONT1                                           *
    REPORT  zchk_alv_cuscont1                       .
    DATA itab LIKE STANDARD TABLE OF mara WITH HEADER LINE.
    SELECT matnr meins mbrsh  FROM mara INTO CORRESPONDING FIELDS OF TABLE itab UP TO 10 ROWS.
    CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE status_0100 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
      DATA fcat1 TYPE lvc_t_fcat WITH HEADER LINE.
      DATA  fcat TYPE STANDARD TABLE OF  lvc_s_fcat.
      DATA: c1 TYPE REF TO cl_gui_custom_container.
      DATA: a1 TYPE REF TO cl_gui_alv_grid.
      CREATE OBJECT c1 EXPORTING container_name = 'CC_ALV'.
      CREATE OBJECT a1 EXPORTING i_parent = c1.
      PERFORM populate_fcat.
      PERFORM generate_grid.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Form  POPULATE_FCAT
          text
    -->  p1        text
    <--  p2        text
    FORM populate_fcat .
      fcat1-reptext = 'MATNR'.
      fcat1-fieldname = 'MATNR'.
      fcat1-col_pos = '1'.
      APPEND fcat1.
      CLEAR fcat1.
      fcat1-reptext = 'MEINS'.
      fcat1-fieldname = 'MEINS'.
      fcat1-col_pos = '2'.
      APPEND fcat1.
      CLEAR fcat1.
      fcat1-reptext = 'MBRSH'.
      fcat1-fieldname = 'MBRSH'.
      fcat1-col_pos = '3'.
      APPEND fcat1.
      CLEAR fcat1.
    ENDFORM.                    " POPULATE_FCAT
    *&      Form  GENERATE_GRID
          text
    -->  p1        text
    <--  p2        text
    FORM generate_grid .
    CALL METHOD a1->set_table_for_first_display
    EXPORTING
       I_BUFFER_ACTIVE               =
       I_BYPASSING_BUFFER            =
       I_CONSISTENCY_CHECK           =
         I_STRUCTURE_NAME              = 'MARA'
       IS_VARIANT                    =
       I_SAVE                        =
       I_DEFAULT                     = 'X'
       IS_LAYOUT                     =
       IS_PRINT                      =
       IT_SPECIAL_GROUPS             =
       IT_TOOLBAR_EXCLUDING          =
       IT_HYPERLINK                  =
       IT_ALV_GRAPHICS               =
       IT_EXCEPT_QINFO               =
      CHANGING
        it_outtab                     = itab[]
       IT_FIELDCATALOG               = fcat
       IT_SORT                       =
       IT_FILTER                     =
    EXCEPTIONS
       INVALID_PARAMETER_COMBINATION = 1
       PROGRAM_ERROR                 = 2
       TOO_MANY_LINES                = 3
       others                        = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " GENERATE_GRID

    Hi
    This works fine:
    *& Report ZCHK_ALV_CUSCONT1 *
    DATA ITAB LIKE STANDARD TABLE OF MARA WITH HEADER LINE.
    DATA FCAT1 TYPE LVC_T_FCAT WITH HEADER LINE.
    DATA FCAT TYPE STANDARD TABLE OF LVC_S_FCAT.
    DATA: C1 TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
    DATA: A1 TYPE REF TO CL_GUI_ALV_GRID.
    START-OF-SELECTION.
      SELECT MATNR MEINS MBRSH FROM MARA INTO CORRESPONDING FIELDS OF TABLE
      ITAB UP TO 10 ROWS.
      CALL SCREEN 100.
    *& Module STATUS_0100 OUTPUT
    * TEXT
    MODULE STATUS_0100 OUTPUT.
    *  PERFORM POPULATE_FCAT.
      PERFORM GENERATE_GRID.
    ENDMODULE. " STATUS_0100 OUTPUT
    *       FORM POPULATE_FCAT                                            *
    FORM POPULATE_FCAT .
      FCAT1-REPTEXT = 'MATNR'.
      FCAT1-FIELDNAME = 'MATNR'.
      FCAT1-COL_POS = '1'.
      APPEND FCAT1.
      CLEAR FCAT1.
      FCAT1-REPTEXT = 'MEINS'.
      FCAT1-FIELDNAME = 'MEINS'.
      FCAT1-COL_POS = '2'.
      APPEND FCAT1.
      CLEAR FCAT1.
      FCAT1-REPTEXT = 'MBRSH'.
      FCAT1-FIELDNAME = 'MBRSH'.
      FCAT1-COL_POS = '3'.
      APPEND FCAT1.
      CLEAR FCAT1.
    ENDFORM. " POPULATE_FCAT
    *       FORM GENERATE_GRID                                            *
    FORM GENERATE_GRID .
      CHECK C1 IS INITIAL.
      CREATE OBJECT C1 EXPORTING CONTAINER_NAME = 'CC_ALV'.
      CREATE OBJECT A1 EXPORTING I_PARENT = C1.
      CALL METHOD A1->SET_TABLE_FOR_FIRST_DISPLAY
        EXPORTING
          I_STRUCTURE_NAME = 'MARA'
        CHANGING
          IT_OUTTAB = ITAB[].
    ENDFORM. " GENERATE_GRID
    Max

  • Field name not known   in old existing report.

    We have a report that we have used for a long time and has always been fine.  Today when we open it  it says data will be lost because "Field name not known".   So you click ok and look at the report in design and the report is missing a bunch of fields.  You look at the Field Explorer and it only shows the first field in the table.  This report links 2 tables. The linking field is the first field in both tables.
    I try to re-map datasource and no luck.   I close Crystal, open Crystal and create a new report, look at the same tables and all of the fields are there. Create similar report looking at same datasource, same tables, some of the same fields, and it works fine.
    What is wrong with the original report and why won't it connect or show fields?

    It may be that the report file became corrupted. Do you have a back up of that report anywhere? If not you could create a new report using the same tables and links and then have both new and old reports open and copy objects from the old report to the new report. Save it and then verify it all works as it should and replace the old report with then new report. Copy the old report somewhere safe also.
    Thank you
    Don

  • Linked Server [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    Hi  I have SQL2012 installed on my local machine and have also installed MySQL 5.6.23 installed with a test database.
    I also have my SQL connector installed and MYSQL ODBC Driver 3.51.   
    Which happily connects to the Mysqldb.
    The Datasource Name : mySQL conn
    TCP/IP Server : localhost and Port :3306
    User root
    with pwd
    On the SQL side I have used the following
    EXEC master.dbo.sp_addlinkedserver
      @server = N'MYSQLSRV',
      @srvproduct=N'mySQL conn',
      @provider=N'MSDASQL',
      @datasrc=N'mySQL conn'
    However when I try to selet using open query
    SELECT * FROM OPENQUERY ( [MYSQLSRV], 'SELECT * FROM students' )
    it comes back with
    OLE DB provider "MSDASQL" for linked server "MYSQLSRV" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".
    Msg 7303, Level 16, State 1, Line 1
    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "MYSQLSRV".
    I cant understand what I have done wrong .   Any help in this would be great as Ive hit a bit of a brick wall

    Hi Robert3975,
    In addition to other post, please also note the following things.
    1. If you use the 32-bit driver on a 64-bit machine, please run the 32bit version of "odbcad32.exe" by running "c:\Windows\SysWOW64\odbcad32.exe"
     from Start/Run menu and
    create your ODBC DSN. However, for the 64-bit driver, use c:\windows\system32\odbcad32.exe to create your ODBC DSN. For more details, please review this similar
    thread.
    2. Expand the folder Providers under Linked server directory in SSMS and go to properties of MSDASQL provider and configure it properly as described in this blog:
    Creating Linked server to MYSQL from SQL Server.
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • Connect to MS Access using NetBeans, data source name not found!

    Hi
    NetBeans IDE 7.3 and OS was Windows 7 (64-bit )
    When I run my program by NetBeans, it complain about the following errors.
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    In fact, the MS Access file had exist the specify path, I can run the jar file (not in IDE environment) and connect to MS Access DB successfully.
    And I had search from network, and found it said "the ODBC source was run by different server", one was C:\Windows\SysWOW64\odbcad32.exe for 32-bit and c:\windows\system32\odbcad32.exe for 64-bit.
    So the question is, why IDE cannot connect to MS Access DB, How to set NetBeans IDE to make it connectable to 32 bits or 64 bits ODBC, like the program run without IDE?
    Thanks!

    user13005878 wrote:
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specifiedThat reads like "your datasource configuration is not good, fix it"
    And I had search from network, and found it said "the ODBC source was run by different server", one was C:\Windows\SysWOW64\odbcad32.exe for 32-bit and c:\windows\system32\odbcad32.exe for 64-bit. It would make a whole lot of sense if that was the other way around, don't you think? SysWOW64 for 64 bits and system32 for 32 bits.
    So the question is, why IDE cannot connect to MS Access DBBecause something is wrong
    How to set NetBeans IDE to make it connectable to 32 bits or 64 bits ODBC, like the program run without IDE?By setting the correct connection configuration properties.
    I'm not 100% positive, but I believe that doing ODBC connections from a 64 bits environment is not actually supported in Java. You may be outraged by that - in Java 8 the ODBC-JDBC bridge is going to be completely dropped, no more connecting to Access from Java without third party libraries (which tend to be commercial). In any case for now try to use a 32 bits Java runtime if you're using a 64 bits one.

  • Data source name not found and no default driver specified.

    Hi all,
    I am using Microsoft Accessas as backn'd. when I am starting my Presentation Services I am getting this error> Data source name not found and no default driver specified.

    Your presentation services configuration file
    $SADATADIR/web/config/instanceconfig.xml
    contains an entry DSN which is the connection to the bi server
    then inside your RPD(s) loaded by the bi server
    you will have various connection pools in the physical layer
    which connect to physical data sources such as MS Access
    you can test a physical database connection
    by right clicking a physical table
    then "View Data" or "Update Row Count"

  • Getting "Data source name not found and no default driver specified"

    Hi all,
    I'm trying to create a connection in SQL Developer (1.5.0.53) to an Access MDB using the Access Tab on the "New / Select Database Connection" window. I navigate to my MDB and then click the Test button and this is what I get:
    "Status : Failure - Test failed: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"
    I do have the 1.6 JVM.
    Not a show stopper, but would like to see how SQL Developer works with Access tables, so any help would be appreciated.
    TIA,
    Steve

    This error message sounds like the MS Access ODBC driver or the Jet Engine drivers are not found. First of all you need to check the PATH environment setting if it includes the windows/system32 directory as this is the default directory for the MS Access ODBC drivers.
    Next check if you are a normal user or a local admin user. As local admin open the ODBC Adminstartor (Control Panel/administrative tools) and check if a MS Access ODBC driver is registered.
    If all above is true, please get from www.sysinternals.com and et the process monitor. Open it and apply a filter: Process name is sqldevloper.exe
    Then start SQL Developer and open your created MS Access link. Process mon will now track all info containing all additional DLLs it tries to load.
    Check out the generated log file from the bottom (last info about the mdb file load) to the top and look if it really finds all libraries, especially the MsAccess and Jet libraries.

  • OBDC Data Source Error - Data source name not found and no default driver specified

    Hello,
    I get this error whenever I try to use the "Modify Microsoft Access Database" tab to update my
    Access 2000 database after a conversion:
    Unable to connect to target database.
    java.sql.SQLException: [Microsoft] [ODBC Driver Manager]
    Data source name not found and no default driver specified
    Now, the weird thing is that when I log in as Administrator and go to the "Control Panel" there is
    no "ODBC Data Sources" option to chose from. So I went to the "Microsoft ODBC Administrator"
    from the "Configuration and Migration Tools" tab instead. I tried configuring "omwb_msaccess"
    under the "User DSN" tab with both the name of my Access file, and the "small.mdb" file that was
    in the omb directory. No go for either one. Whatever I try I still get the same pop-up box.
    Question:
    (1) What should I be putting for the "ODBC Data Source" when I try to Migrate my Access Database?
    (2) Any other idea/configuration issue I might be missing that could do this? The process works up
    to the Access Update point, and I configured the repository correctly.
    Thanks
    Aaron - [email protected]

    Nope, I'd already tried both of those things. I checked again, but no go.
    I think the problem may be that I'm not entering the right value in the
    "ODBC Data Source" field on the Migration Workbench "Modify Microsoft
    Access Database" form - the same one where you enter a "Username" and
    "Password" for the conversion. What should I be entering here? What is
    the standard filename?
    The log files aren't very informative to me. Here is the odbcconf.log:
    ==============
    ODBCConf called with arguments: '/S /Lv odbcconf.log /F C:\WINNT\System32\mdaccore.rsp'
    Data Struct:
         Reboot First : 0
         Use Response File : 1
         Response File : 'C:\WINNT\System32\mdaccore.rsp'
         Erase Response File: 0
         Silent : 1
         Continue on Error : 0
         Log Mode : 2
         Log File : 'odbcconf.log'
         Actions:
              8, '(null)', '(null)', ''
              6, 'MS Code Page Translator|Translator=MSCPXL32.dll||', '(null)', '"MS Code Page Translator|Translator=MSCPXL32.dll||"'
              5, 'Microsoft ODBC for Oracle|Driver=msorcl32.dll|Setup=msorcl32.dll||', '(null)', '"Microsoft ODBC for Oracle|Driver=msorcl32.dll|Setup=msorcl32.dll||"'
              1, 'Microsoft ODBC for Oracle', 'CPTimeout=60', '"Microsoft ODBC for Oracle" "CPTimeout=60"'
              17, 'simpdata.tlb', '(null)', '"simpdata.tlb"'
    EXECUTING ACTIONS
    Executing Action: INSTALLDRVRMGR
              arg1: '(null)'
              arg2: '(null)'
              args: ''
    Install Driver Manager succeeded
              Return HR: 0x0
    Executing Action: INSTALLTRANSLATOR
              arg1: 'MS Code Page Translator|Translator=MSCPXL32.dll||'
              arg2: '(null)'
              args: '"MS Code Page Translator|Translator=MSCPXL32.dll||"'
    INSTALLTRANSLATOR SQLInstallTranslatorEx succeeded
              Return HR: 0x0
    Executing Action: INSTALLDRIVER
              arg1: 'Microsoft ODBC for Oracle|Driver=msorcl32.dll|Setup=msorcl32.dll||'
              arg2: '(null)'
              args: '"Microsoft ODBC for Oracle|Driver=msorcl32.dll|Setup=msorcl32.dll||"'
    INSTALLDRIVER SQLInstallDriverEx succeeded
              Return HR: 0x0
    Executing Action: CONFIGDRIVER
              arg1: 'Microsoft ODBC for Oracle'
              arg2: 'CPTimeout=60'
              args: '"Microsoft ODBC for Oracle" "CPTimeout=60"'
    CONFIGDRIVER SQLConfigDriver succeeded
              Return HR: 0x0
    Executing Action: REGTYPELIB
              arg1: 'simpdata.tlb'
              arg2: '(null)'
              args: '"simpdata.tlb"'
              Return HR: 0x0
    ===========
    Here is a snippet from the error.log:
    ==========
    ** Oracle Migration Workbench
    ** Release 9.2.0.1.0 Production
    ** ( Build 20020308 )
    ** ORACLE_HOME: c:\
    ** user language: en
    ** user region: US
    ** user timezone: PST
    ** file encoding: Cp1252
    ** java version: 1.1.8.16
    ** java vendor: Oracle Corporation
    ** o.s. arch: x86
    ** o.s. name: Windows NT
    ** o.s. version: 5.0
    ** Classpath:
    c:\\Omwb\olite\Oljdk11.jar;c:\\Omwb\olite\Olite40.jar;C:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;C:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;c:\\Omwb\jlib;c:\\Omwb\jlib\Omwb.jar;c:\\Omwb\jlib\oembase-9_2_0.jar;c:\\Omwb\plugins\SQLServer6.jar;c:\\Omwb\plugins\SQLServer7.jar;c:\\Omwb\plugins\SQLServer2K.jar;c:\\Omwb\plugins\Sybase11.jar;c:\\Omwb\plugins\Sybase12.jar;c:\\Omwb\plugins\MSAccess.jar;c:\\Omwb\plugins\MySQL.jar;c:\\Omwb\drivers\mm.mysql.jdbc-1.2a;c:\\Omwb\plugins\Informix7.jar;c:\\Omwb\drivers\ifxjdbc.jar;c:\\Omwb\plugins\db2400v4r5.jar;c:\\Omwb\drivers\jt400.jar;c:\\lib\xmlparserv2.jar;c:\\rdbms\jlib\xsu111.jar;c:\\jdbc\lib\classes111.zip;c:\\lib\vbjorb.jar;c:\\jlib\netcfg.jar;c:\\jlib\ewt3.jar;c:\\jlib\ewtcompat-3_3_15.jar;c:\\jlib\share.jar;c:\\jlib\help3.jar;c:\\jlib\oracle_ice5.jar;c:\\jlib\kodiak.jar
    ** Started : Tue Jul 23 12:13:42 PDT 2002
    ** Workbench Repository : Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    ** The following plugins are installed:
    ** Microsoft Access Release 9.2.0.1.0 Production
    ** Active Plugin : MSAccess
    ** Shutdown : Tue Jul 23 12:14:59 PDT 2002
    I appreciate any assistance you could render me.
    Thanks - Aaron

Maybe you are looking for

  • How to set the properties

    If I want to use java ORB to visit Visibroker ORB , how to set the Properties for init ?? can you help me ? thanks !

  • Help with reinstallation of upgrade CS 5.5 Creative Suite  Premium

    My is an upgrade version of Adobe Creative Suite 5.5 Design Premium, from upgrade Adobe Creative Suite Design Premium from Adobe Creative Premium. I have registered serial numbers for all 3 software. I could not reinstall with Adobe Creative Suite Pr

  • Why can't I save documents in dreamweaver???

    I have CS6 and am using windows xp. I made some edits to a page on my website and saved the document. When I tried to open it up again in dreamweaver it showed nothing. Nothing in Design view, nothing in code view. However, if I went to the local loc

  • Warning with Generics & Aspects

    Hi, I�m upgrading an application to use Java 5 generics and I have a warning which I cannot get ride of. My code uses some aspects to monitor some method calls and when I implement generics on the methods return type, I get the following warning from

  • No break between songs

    I have a copy of Haydn's String Quartet Opus 64, #4-6 (Kodaly Quartet). Every other download I have (blues, jazz, rock, classic) allows a break of 4-5 seconds between songs or cuts. This is the only download that lacks any such break; one song flows