FAGLL03 vendor code LIFNR

Hi,
In FAGLL03, vendor field (LIFNR) is available but it is empty. In order to have value for such field, I have modified the customizing: financial accounting --> general ledger accounting --> master data --> G/L accounts --> Line Items --> Define special fields for line item display. In such table I have specified BSEG - LIFNR as an special field.
I did such customizing in our devolopment (test) system  (DSA) and everything was ok. When I run FAGLL03, I can see the vendor field and with the correct value. Afterwards, I transported such customizing to our test system (TSA) and then to our production system (PSA). But in both systems the result was not the same as in our DSA system. The problem was that in FAGLL03, after transporting the changes in customizing, vendor code was not available, the field had disappeared.
I wrote an oss note and they have answered me telling:
"I compared and I found the reason for different behaviour in DSA and PSA:
Please analyze the activation log of the relevant structure for FAGLL03
-> FAGLPOSYEXT.
Call transaction SE11 and enter the relevant structure in the 'Data
type' field:
FAGLL03 -> FAGLPOSYEXT
Display the structure.
Then, choose Utilities -> Activation Log.
Under DSA you can find
Activate table FAGLPOSYEXT (VAALL001/02.12.08/12:33)
Field name U_LIFNR can be provided in this system. Please do not use.!! Table FAGLPOSYEXT was activated successfully
Field name U_LIFNR can be provided in this system. Please do not use.
Message no. DT283
Diagnosis
The field with the name you selected can be included in a later system
delivery, for example with an upgrade. In this case your field would be
overwritten with the attributes of the delivered field, which might
result in a conversion.
System Response
The table is not activated if its name is in the producer namespace. It
is activated with warnings if its name is in the recipient namespace.
Procedure
Use a field in the namespace you were allcoated.
You did a modification that has been overwritten.
By standard design:
The G/L Line Item List contains a selection of Standard Fields from
table BSIS. Vendor Name is not a field in this table. The Special Fieldsthat can be included in the Display Variant come from tables BKPF, BSEC,BSED, BSEG, PAYR, BSEGC and BSBV.
In table BSEG, Vendor Number (BSEG-LIFNR) is only stored in the Vendor
Line Item, not in the G/L Line Item. FAGLL03 cannot display the Vendor
data, since it selects only the G/L Line Items. "
I do not understand all the answer, but I know that I should not have done such customizing, and I do not know who can I rollback my customizing. I would like to go back to the beginning, I would like to have the vendor available and empty as it was at te beginning. I have erased the BSEG-LIFNR from the special fields in DSA and I have transported it to TSA. But after doing that two vendors appeared in FAGLL03 in TSA (one empty as it was at the beginning and the other one shows an error saying that now is not an special field or something like that). I have put again BSEG-LIFNR as special field directly in TSA and vendor disappeared again, then I have erased it in TSA and now it seems to be as it was at the beginning (the field is available and empty). I do not kwow if it is correct to transport to PSA the special fields with vendor erased or not... ¿What should I do? ¿Should I have to erase the BSEG-LIFNR from special fields directly in PSA, should I transport the changes from TSA to PSA to erase BSEG-LIFNR  from special fields? ¿If I erase it, am I going to have problems in the future? I am really awared because I do not know if what I have done is going to give us problems in the future with systems upgrades for example...
Thank you really very much,
Ariana

Hi,
I have transported to PSA (our production system) the customizing in order to erase BSEG-LIFNR from special fields, and everything seems to be ok, it seems to be as it was at the beginning. In FAGLL03 I have the field vendor only once and it is blank as it was at the beginning.
Am I going to  have problems in the future with system upgrades, for example? I ask this because of what the person of SAP told me in his message.
Thank you very much,
Ariana
Edited by: Ariana Landaluce on Dec 5, 2008 12:36 PM

Similar Messages

  • Table name from which to extract bank name and swift code by key field as vendor code

    Please help with the table name from which we can extract the bank name and swift code of vendors with the key input as vendor numbers

    Hello Subhadra, I'm sorry, I should've said join of LFBK and BNKA. The fields for the join will be the bank country(BANKS) and bank key (BANKL).
    If you have not found a docu on SQVI already, you can refer to this:
    How to create Report by using SQVI
    This is how your join should look in BASIS mode, your selection parameter should be vendor code LIFNR; output fields with be bank name BANKA and swift code SWIFT.

  • The  vendor code is not coming against some Assignment line items with the

    Hi All,
    While executing  t.code FBL3N,the  vendor code is not coming against some Assignment line items with the GL A/C4607000, some line items it is coming.
    The GL A/c 4607000 is GR/IR clearing a/c.
    Please let us know  why this situation is happeing at the time of FBL3N.
    Thanks
    Ram

    HI,
    By activating the special fields you can the vendor number, but use the new reprot called "FAGLL03 - Display/Change Items (New) ".
    First go to SPRO> Financial Accounting (New)> General Ledger Accounting (New)--> Master Data > G/L Accounts>Line Items --> Define Special Fields for Line Item Display
    Click on New Entries -
    Table - BSEG - Field - LIFNR
    Save. Now execute the report - FAGLL03 - Display/Change Items (New)
    Give the gl account number and execute.
    After getting the line items list from menu select --Settings --> Special Fields --> Click on New Entries --> Enter Table BSEG, Field Name LIFNR.
    After this come back and execute again. It will give you the vendor number.
    Thanks & Regards,
    Shashi Kanth.

  • Mass Change Of Vendor Code in Purchasing Info Records

    Hi All,
    I have one query and I already search a lot for it but didn't find any specific solutions.
    I want to change a vendor code in around 1000 Purchasing Info Record, I had already tried for Mass Maintenance Through T. Code - MEMASSIN, But I found Vendor field in New Values as Grey Field.
    Is there any other way to mass change of Vendor in Purchasing Info Records.
    Why vendor field is showing me as a grey Field?
    Thanks In advance
    With Regards,
    Patanjali Bhagat

    Hi Govardhan,
    Pl correct me if i am wrong....EINA-RELIF field is to check and uncheck for regular vendor...It will not change the vendor ID...
    EINA-LIFNR...is the field to change vendor no.., but i can not see this field name is not there in the table...
    Still i think that we can not change the vendor id's once it is created for Info record...
    Pl correct me if am wrong.
    Uts

  • To download the GL 140881 with the colums VENDOR CODE & TEXT in FBL3N

    Hello Exports
    My user trying to download the GL 140881 with the colums VENDOR CODE & TEXT in FBL3N
    In the columm of Vendor code and Text he wants to Display in the respective filed
    before that he has done transaction IN MIRO
    The Entry is
    PK Account    Account short text         Tx Cost Ctr   Order                  Amount
    31 35774      FRICTION ENGINEERS   4I                                        30.375,00
    86 310891     GR-IR clear-RM/Comp    4I                                       13.500,00
    86 310891     GR-IR clear-RM/Comp    4I                                       13.500,00
    40 140881     VAT RECOVERABLE    4I                                       1.687,50
    40 140881     VAT RECOVERABLE    4I                                        1.687,50
    in this he wants disply VENDOR CODE & TEXT in FBL3N for 140881 G/L A/C (VAT RECOVERABLE    )
    But i tryed it by table wise like BSEG and LIFNR but its displys only filed name but it not displaying the VENDOR CODE & TEXT in the respective filed
    Can you please give suggesstion on the same
    Thanks and Regards
    vamsi

    Dear,
    Check the following ink -
    Re: Vendor & Customers in FBL3N
    regards,
    Gov

  • To download the GL 140881 with the colums VENDOR CODE & TEXT in FBL3N   Pos

    Hello Exports
    My user trying to download the GL 140881 with the colums VENDOR CODE & TEXT in FBL3N
    In the columm of Vendor code and Text he wants to Display in the respective filed
    before that he has done transaction IN MIRO
    The Entry is
    PK Account Account short text Tx Cost Ctr Order Amount
    31 35774 FRICTION ENGINEERS 4I 30.375,0086
    310891 GR-IR clear-RM/Comp 4I 13.500,0086
    310891 GR-IR clear-RM/Comp 4I 13.500,0040
    140881 VAT RECOVERABLE 4I 1.687,5040
    140881 VAT RECOVERABLE 4I 1.687,50
    In this he wants disply VENDOR CODE & TEXT in FBL3N for 140881 G/L A/C (VAT RECOVERABLE )
    But i tryed it by table wise like BSEG and LIFNR but its displys only filed name but it not displaying the VENDOR CODE & TEXT in the respective filed
    Can you please give suggesstion on the same
    Thanks and Regards
    vamsi

    yes i got a solution
    Thanks for all
    vamsi

  • Vendor code in FBL3N

    hello,
    In FBL3N, could we get the vendor code and description in the output of this report after executing with G/L account?
    if no, and we go for zreport then wat are the tables we should use to fetch the output. BSEG and BKPF are the tables we can use but these tables are bulky and heavy and make the  report annd server slow.
    so what are other options to get vendor name in corespondence with a/c document no. in FBL3N

    Hi Prem,
    FBL3N is the transaction for G/L Account line item display.
    For Goods Receipt documents, line items will populate with Vendor LIFNR, but for Invoice Receipts only the vendor line item would populate LIFNR, the G/L lines for IR documents do not populate LIFNR.
    You can see this yourself by looking in SE16 at table BSEG for the GR and IR accounting documents. For GR document, BSEG-LIFNR should be filled for all line items. For IR document, BSEG-LIFNR should be filled only for the vendor line item.
    The line item display can't display any value, because there is no value on the database.
    The relevant tables for the G/L Line Item Display is BSIS/BSAS and BSEG. In BSIS/BSAS you will not find the fields Vendor number (LIFNR) and Vendor name (NAME1), and in BSEG Vendor number is only stored in the Vendor Line Item and not in the G/L line item, and you will not find Vendor name in BSEG. Therefore, you are not able to add the fields to the Line Item Display as a standard field or as a special field in the normal way.
    Hence, this is SAP standard design and it is not possible to have vendor number in the G/L line item display.
    There is a workaround for this, which should work in both 46* and Enterprise versions :
    The fields LIFNR and NAME1 do not exist in the structures RFPOS and RFPOSX. If you need these fields to be shown in the Line Item Display then you need to add the fields to the structures RFPOS and RFPOSX.
    When the structure has been extended with the fields then you need to run the reports RFPOSXEXTEND and BALVBUFDEL (in the same way as seen in the solution part in note 215798).
    After that you need to use the Open FI Exit 1650 to fill the fields. You will find a function group FI_ITEMS from transaction SE80. In this function group you will find a function module FI_ITEMS_DISPLAY where the form ITEMS_DISPLAY_INIT includes the exits 1610 to 1650. The important one for your problem is 1650 (OPEN_FI_PERFORM_00001650_E).
    This exit is used if you want to display fields in e.g. FBL3N which do not exist in the tables BSIS/BSAS and also not in the G/L Line in BSEG.
    Through this user exit it should be possible to get the value from the relevant tables e.g. from the vendor items from BSEG or the value from BSIK into structure RFPOSXEXT if there is a relation between the relevant tables e.g. BSEG/BSIK to RFPOSX/BSIS.
    Please also have a look at the notes 112312 and 217189.
    Hope it helps.
    Regards,
    Emoke

  • How to find Purchase order by vendor code

    Hi Gurus
    Our user forget the purchase order no which was created by him, he has the document no eg 4600000485 and vendor 100414 but unable to trace it I try to find with ME2L no success ....
    Generally the t code was cico
    Any clue to know how to find the P.O please , I know the user code
    regards
    Pizon

    Hi
    Goto table EKKO, enter Vendor Number (LIFNR).  You will get a list of PO numbers (EBELN), as vendor number is not the primary key.  From this list, you can figure out the PO # you want say probably using ERNAM (person who created)..  The corresponding line item details can be fetched from EKPO.
    THanks
    Vijay
    PLZ reward points if helpful

  • I encountered an error in the Payment Wizard screen as I was creating an Outgoing Payment for petty cash expenses. On the "Recommendation Report" screen, I clicked "Non-Included Trans." and saw that one of the vendors (Vendor Code: WILCO) has the followi

    Hello,
    I encountered an error in the Payment Wizard screen as I was creating an Outgoing Payment for petty cash expenses. On the “Recommendation Report” screen, I clicked “Non-Included Trans.” and saw that one of the vendors (Vendor Code: WILCO) has the following error:
    “The document amount is greater than the max. amount allowed in the payment methods linked to the BP”
    Upon checking, the “PCF-W” Payment Method linked to WILCO does not have any restrictions, nor does WILCO have any credit/commitment limit set. I have also appropriately defined the Dummy Business Partner Bank (under Payment Terms) as well as checked the “Included” box for PCF-W on the Payment Run-Payment Methods screen.
    Could anyone please help me on this?
    Salamat,
    Cat

    PS - have found other posts indicating that clips smaller than 2s or sometimes 5s, or "short files" can cause this. Modern style editing often uses short takes ! Good grief I cannot believe Apple. Well I deleted a half a dozen short sections and can export, but now of course the video is a ruined piiece of junk and I need to re-do the whole thing, the sound etc. which is basically taking as much time as the original. And each time I re-do it I risk again this lovely error -50 and again trying to figure out what thing bugs it via trial and error instead of a REASONABLE ERROR MESSAGE POINTING TO THE CLIP IT CAN'T PROCESS. What a mess. I HATE this iMovie application - full of BUGS BUGS BUGS which Apple will not fix obviously, since I had this product for a few years and see just hundreds of hits on Google about this error with disappointed users. Such junk I cannot believe I paid money for it and Apple does not support it with fixes !!!
    If anyone knows of a GOOD reasonably priced video editing program NOT from APPLE I am still looking for suggestions. I want to do more video in future, but obviously NOT with iMovie !!!

  • Payment Wizard - step 6of 9 - recommendation report PLD has no vendor code

    Dear all,
    Our customer is on SAP2007A SP00 PL41, US localization, SQL2005, no 3rd party add-on
    They are using Payment Wizard. On create new >> step 6 of 9, recommendation report, when they tried to print the report, we cannot see vendor code and vendor name. They are blank. We are using the system PLD.
    If we just go through the exsiting recommandation, we can have vendor code and vendor name on the report. This only happened when we create new payment.
    I can reproduce this in SAP2007 SP01 PL08, CA localization. Is it a bug or a system behavior? Thanks.
    Regards,
    Yuka

    Hi,
    Please check the issue in the Demo database on the Latest patch.
    I think the customer is doing the Print Preview when the Payment wizard is being run.
    Check for the saved recommended run , whether you can get the Print/print preview or not.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Vendor code in Stock Transfer Inspection Lot(08)

    Hi Everybody,
    I have noticed that when a Stock Transfer lot is created, the 'Data for lot orogin' tab in the Inspection Lot shows Vendor code in 'Data for goods receipt' section at times and at times Vendor code is not included in this section.
    Please throw some light on the situations under which the vendor code is included and excluded.
    Regards,
    Manish.

    I can't say for sure but I would compare the triggering document.  I.e. Exactly what material movement is used in each case and what type of document triggered it, (I.e. an STO order).  Than look at those documents and see if and why a vendor number is available.
    FF

  • Failed to open the connection - database vendor code 17

    I'm upgrading a VB.net Windows Forms application from 1.1 to 4.0.  In the reporting form, the list of reports you can choose are pulled from a folder where the .rpt files reside.  Once the user chooses a report and executes it, vb code populates the current database connection information and displays the report in the report viewer control.
    The following things are true:
    - Version 1.1 works on my systems and my customers systems
    - The code has not been changed, except that it now targets .Net 4.0 instead of 1.1
    - The exact same .rpt files are being used
    - Version 4.0 connects to the same database my customer is using, and I can run the reports just fine from here.
    - Version 4.0 is able to connect to the database just fine from my customers systems (using the same connection information provided to the report)
    - My customer installed this:  http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_2.zip
    The only problem is that my customer encounters this error when trying to run any report from his systems:
    Failed to open the connection.
    Details:  Database Vendor Code: 17
    Failed to open the connection.
    Orders.BOL.TaskDetail {393C9017-0ED1-4E1E-8824-E222F4B9D14C}.rpt
    Details:  Database Vendor Code: 17
    I read all of the articles I could find, and they either don't describe this exact situation, or there is insufficient information for troubleshooting this issue.  Are there steps that I've missed to make Crystal Reports for VS2010 work on my customer's systems?
    Your help is appreciated,
    Mark

    Hi Mark,
    More information required -
    - Does this happen with all reports or few?
    - What is the connection type used for the report to connect to the database (OLEDB,ODBC etc)
    - Are you changing the database at runtime?
    few things you could check
    - Check if the database is accaessible from the client machine with proper permissions / rights.
    - If its an ODBC connection check if the DSN with same name is created on the client machine.
    - Check the driver / provided used by the report to connect to the DB, verify that the same is installed on the client machine. (SQL NAtive client, SQL Server etc)
    Also take a look at below articles discussing the simillar issue.
    [CR for VS2010: Failed to Open Connection [Database Vendor Code: 17 ]|CR for VS2010: Failed to Open Connection [Database Vendor Code: 17 ]]
    [1474461 - Unknown Database Connector Error when connecting to a Dataset in a VS .NET application |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433373334333433363331%7D.do]
    Hope this helps,
    - Bhushan.

  • Failed to open the connection. Details: [Database Vendor Code: 53 ]

    I'm upgrading one of our applications from Visual Studio 2005 to 2010. In the process I'm also switching our reports to run using Stored Procedures instead of Tables/Views.  Everything runs fine on development machines after all the migration work.  On the server however, it does not work. And I am getting the error message ""
    Server is Windows 2003 Server 32 bit.  And yes, I have installed the latest runtimes version 13.0.2000.0 on the server.  There have been no other changes on the server other than to switch the target framework on the website in question from .net 2 to .net 4, and then to modify the web.config file to remove references to the older Crystal Reports and replace with references to the newer version.
    I've seen many other threads on this "failed to open the connection" errors but none of them are my problem except there is one post that remains unanswered where someone had the same Database Vendor Code 53.  I don't know what that error means, spent a considerable amount of time researching that before asking this question.
    Lastly, it appears that this error only happens when the report is pulling data from a Stored Procedure rather than Tables/Views.  If I re-copy the previous reports, they still work.
    The ODBC drivers haven't changed, nor should they. They are fully up to date on that server machine.
    I can't think of anything else that would be indicative of anything other than this is a bug.  Here is the error text as it shows up in the event log:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 12/7/2011 3:49:50 PM
    Event time (UTC): 12/7/2011 11:49:50 PM
    Event ID: 38ce5b5487984e8aa8d2b84493d859a8
    Event sequence: 17
    Event occurrence: 1
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/739252194/Root-1-129677751941252500
        Trust level: Full
        Application Virtual Path: /
        Application Path: D:\Websites\ACE5\Clients\TST\
        Machine name: ACE1
    Process information:
        Process ID: 5436
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: InternalException
        Exception message: Failed to open the connection.
    Failed to open the connection.
    Details:  [Database Vendor Code: 53 ]
    Failed to open the connection.
    Details:  [Database Vendor Code: 53 ]
    Failed to open the connection.
    PackSlipTST0 {638463B4-2196-492A-BD6E-9D82CB1862D5}.rpt
       at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportOptions options, HttpResponse response, Boolean asAttachment, String attachmentName)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportFormatType formatType, HttpResponse response, Boolean asAttachment, String attachmentName)
       at Distribution_PackingSlips_default.ExportPackingSlips(String CrystalReportPath, Boolean UseStoredProcedure)
       at Distribution_PackingSlips_default.Page_Load(Object sender, EventArgs e)
       at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
       at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Failed to open the connection.
    Failed to open the connection.
    Details:  [Database Vendor Code: 53 ]
    Failed to open the connection.
    Details:  [Database Vendor Code: 53 ]
    Failed to open the connection.
    PackSlipTST0 {638463B4-2196-492A-BD6E-9D82CB1862D5}.rpt
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)

    Lots of great info here, except for the database; MS SQL? Oracle? Etc?
    Database Vendor Code 53 is an error code that the CR engine simply passes straight from the database it's self. E.g.; look at your database error code and you should be able to find a verbose description of the error.
    As a test, what happens if you add the report to your project and run it in the CR design part of the .NET IDE?
    - A quick google search of Error 53 (for MS SQL - an assumption) comes up with a number of good hits. E.g.;
    http://social.msdn.microsoft.com/Forums/en-AU/sqlgetstarted/thread/27684811-1a59-4273-b7ed-3cc990b4f20a
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]
    Edited by: Ludek Uher on Dec 8, 2011 6:31 AM

  • Failed to open the connection. Details: [Database Vendor Code: 12154].

    I have installed Crystal reports server 2008 VI on a Windows 2008 64bit OS. I have added SQL server and Oracle reports through CMC. I then installed Oracle 10g client 32bit on the server and created and tested the required DSNs using ODBC 32bit. All the testings are successfull.
    Now when I try to run my Oracle report through CMC it prompts for the parameters and when I enter them and click ok, gives me the following error:
    Failed to open the connection. Details: [Database Vendor Code: 12154].
    I have the same exact setup on a different server which has a 32 bit windows 2008 server OS and could run the same reports through CMC.
    Is there away to fix this in the 64 bit OS?
    I did a yahoo search and someone had a similar problem with Crystal RAS and Oracle.
    And there is mentions that this is an issue with 32 bit ODBC drivers on 64bit wondows OS.The parentheses in the default file location, C:\Program Files (x86), causes problems with the ODBC driver and the workarouns in re-installing Crystal RAS on a different folder.
    Full description is at (http://www.tririga.info/)
    Is this the case with Crystal report server 2008 VI? I already got users using the InfoView to run SQL reports and doing this will have to put the application offline atlease for a say.
    Any help is greatly appreciated.

    Vasana,
    Resolution: Failed to Open the Connection.
    First:
    If the Crystal Report is using 32-bit version of Microsoft ODBC then the Window 2008 server must also have 32-bit version of Microsoft ODBC. The 32- bit version of Odbcad32.exe is located in the %systemdrive%\Windows\SysWoW64 folder.
    On the Windows 2008 server, execute Odbcad32.exe by clicking start and run and entering the following: C:\Window\SysWow64\ODBC32.exe.
    Then:
    The Windows 2008 server ODBC Data Source Administrator must have the same System Data Source Server and Database Names that is used to run the Crystal Report.
    e.g. Crystal Report points to server ABC and database EFG (ABC_efg); then the ODBC connections on the Windows 2008 Server must also point to the same server ABC and database EFG (abc_efg) listed.

  • Failed to open the connection.Details: [Database Vendor Code: 17 ]

    We have too many reports designed by Crystal Reports XI Release 2 a time ago reports are old but we are calling them in asp.net 4.0 and connection through ODBC Data Sources (Driver SQL SERVER)
    but when we refresh the report we are facing this issue....
    Failed to open the connection.
    Details: [Database Vendor Code: 17 ] Failed to open the connection.
    AP Outstanding Check Run Detailed Ver 2 {CF3B13A2-F259-4B1D-ACC9-BF78F44D4AA5}.rpt
    Details: [Database Vendor Code: 17 ]
    here is the code to set ReportLoginInfo
    CrystalDecisions.Shared.TableLogOnInfo logonInfo = new CrystalDecisions.Shared.TableLogOnInfo();
                string myTableLocation;
                foreach (CrystalDecisions.CrystalReports.Engine.Table myTable in rptDoc.Database.Tables)
                    myTableLocation = myTable.Name;
                    logonInfo = myTable.LogOnInfo;
                    logonInfo.ConnectionInfo.AllowCustomConnection = true;
                    logonInfo.ConnectionInfo.ServerName = ServerName; // dnsname
                    logonInfo.ConnectionInfo.DatabaseName = DatabaseName;
                    if (!(string.IsNullOrEmpty(UserID) || string.IsNullOrEmpty(Password)))
                        logonInfo.ConnectionInfo.UserID = UserID;
                        logonInfo.ConnectionInfo.Password = Password;
                        logonInfo.ConnectionInfo.IntegratedSecurity = false;
                    logonInfo.ConnectionInfo.Type = CrystalDecisions.Shared.ConnectionInfoType.SQL;
                    myTable.ApplyLogOnInfo(logonInfo);
                    myTable.Location = DatabaseName + ".dbo." + myTableLocation;
                    bool success = myTable.TestConnectivity();
    Edited by: zeshansadiq on Nov 4, 2011 3:49 PM

    resolved by me itself.
    Do the following steps:
    1. Open the report in the CR XI designer.
    2. Select Database -> Set Datasource Location.
    3. Set Datasource Location window will appear and in the replace with section connect to the database and replace these tables with the tables in the current datasource by clicking the update button.
    4. After updating close the Set Datasource Location window.
    5. Go to 'Database menu' and Click 'Verify Database' and click on u2019OKu2019.
    6. Preview the report and the save the report.

Maybe you are looking for

  • SqlDeveloper Query = Fast, PL/SQL = Slow

    I've got a nagging problem that is driving me crazy. Database is 11.1.0.7 and SQLDeveloper is 1.5.1 with the same behavior in 3.0.03. Often I will develop a complex query in SQLDeveloper and get it tuned to a point where performance is great. However

  • Has anyone solved the problem of sending Pages docs to Windows machines?

    I am trying to create a business newsletter that can be emailed to anyone who wants it. I'm working with OS X 10.4.10 and Pages. My business partner, who works on a PC, can't read a Pages doc, so I converted it to a pdf, and Windows won't read that,

  • Windows ID cannot use Adobe Flash

    I can use the Adobe flash player without problems. My wife cannot use it. It keeps asking for the latest level installation. Both ID's are on the same Windows 7 OS  using IE8. I have removed and reinstalled several times. How Can I fix this?

  • HI HOW CAN I REALIZE IF MY IPAD IS ORIGINAL OR FAKE

    HI HOW CAN I REALIZE IF MY IPAD IS ORIGINAL OR FAKE ?

  • When the error list is open, my LabVIEW 8.2 slows down dramatically.

    When the error list is open, my LabVIEW 8.2 slows down dramatically.  I am also using a project window and LabVIEW DSC with shared variables.  Has anyone seen this before and is there a fix. Thanks, Sean Message Edited by SeanWat on 01-04-2007 01:47