SAP Query:How to add the following tables

Hi,
   I want to build a query by joining Tables BSIK, BKPF and BSEG .but when i add BSEG it does not allow to join because its a cluster table. I couldnt find any logical database having these three tables in it. Can you kindly advice how it is achievable?
Thanks,
Faisal

You are trying to add one of the 2 biggest tables in the system.
Try to do a select in bkpf first and then either use for all entries or cursor approach for BSEG/BSIS.

Similar Messages

  • I would like to know how to add the following tcodes to a user

    MC$6 PURCHIS, Vendor DelRelbty Selection
      MC$8 PURCHIS, Vendor DelRelbty Selection
    thank you

    Hi
    Create New role for your User in T.Code: PFCG...there,you assign these 2 t.codes in new role
    then assign this new role to your user in SU01...
    Get BASIS People help!
    Reward if useful
    Regards
    S.Baskaran
    Edited by: baskaran srinivasan on Jan 23, 2008 7:59 AM

  • How to add the entries and how to delete the entries from custom Z-table?

    Hi Experts,
    My requirement is I need to add the entries from program to three custom z-tables . Assume as zabc1,zabc2,zabc3.
    Here how to add the entries from program to Z-table.???
    And one more requirement is I want to provide a deletion checkbox in selection screen . Initial it was unchecked. If I am giving tick mark then the entries should be deleted from above custom Z-tables. this all will done in backgroung job?
    Could you please guide me the logic how to crack this???
    Let me know if you need more Info
    Thanks
    Sanju

    Hi Sanjana,
    What you can do is to use the ABAP keyword INSERT or MODIFY to add or modify records to a given database table. Here are the syntax taken from SAP documentation:
    *Insert Statement
    INSERT dbtab
    Syntax
    INSERT { {INTO target VALUES source }
           | {     target FROM   source } }.
    Effect
    The INSERT statement inserts one or more rows specified in source in the database table specified in target. The two variants with INTO and VALUES or without INTO with FROM behave identically, with the exception that you cannot specify any internal tables in source after VALUES.
    System Fields
    The INSERT statement sets the values of the system fields sy-subrc and sy-dbcnt.
    sy-subrc Meaning
    0 At least one row was inserted.
    4 At least one row could not be inserted, because the database table already contains a row with the same primary key or a unique secondary index.
    The INSERT statement sets sy-dbcnt to the number of rows inserted.
    Note
    The inserted rows are finally included in the table in the next database commit. Up until this point, they can still be removed by a database rollback.
    *Modify Statement
    MODIFY dbtab
    Syntax
    MODIFY target FROM source.
    Effect
    The MODIFY statement inserts one or several lines specified in source in the database table specified in target, or overwrites existing lines.
    System fields
    The MODIFY statement sets the values of the sy-subrc and sy-dbcnt system fields.
    sy-subrc Meaning
    0 At least one line is inserted or changed.
    4 At least one line could not be processed since there is already a line with the same unique name secondary index in the database table.
    The MODIFY statement sets sy-dbcnt to the number of processed lines.
    Note
    The changes are transferred finally to the database table with the next database commit. Up to that point, they can be reversed using a database rollback.
    Hope it helps...
    P.S. Please award points if it helps...

  • "This entry already exists in the following tables DLN1"

    Hi there,
    We create a Delivery from Sales Order using the Copy To option with a batch managed item. When we try to add the document, the error message appears:
    This entry already exists in the following tables '' (DLN1) (ODBC -2035)
    I think it is something to do with the chosen batches but I'm not sure about it. Did someone already have the same issue before?
    Thanks and regards,
    Nat

    Hi,
    I would suggest to escalate this issue to SAP support.
    Our client has experienced similar issue but they want to update item master data. They duplicated existing one and then delete last 3 digits of the original item code and then update it, the error message appears but it refers to AIT1 table and ODBC 2035.
    There is a note relate to it but it is just a query and the result must be sent to SAP support.
    However, have you tried to use copy from ? I mean you open the DO, put the customer code and then copy from the SO ? Will the error appear ?
    Rgds,

  • This Entry already exists in the following tables Department(OUDP)

    Hi All,
    When i am trying to add new department in Employee Master Data I am facing the following error.
    "This Entry already exists in the following tables Departments(OUDP)(ODBC -2005)[Message 131-183]"
    I am not able to add new department.
    as i checked in backend table there is no such data is available.
    Please suggest how to resolve the same.
    Regards,
    Vikram
    Edited by: Challa Vikram Reddy on Dec 2, 2008 9:01 AM

    Hi,
    The issue seems to be a DB specific issue which needs to be investigated by the SAP Support. Please log a message at the Service Market Place to get the issue analysed.
    Regards,
    Jitin
    SAP Business One Product Support

  • This entry already exists in the following tables (OILM)

    Dear All,
    We are using sap business one 8.8 and getting the following error message when trying to add any document which affects stock e.g sales order, delivery, goods issue etc
    Warehouse Code :This entry already exists in the following tables u201CInventory Log Message (OILM) (ODBC-2035)
    Please advice.
    Regards,
    Monil.

    Hi,
    Please check the following query and compare the results :
    select MAX(messageid) from OILM
    select autokey from ONNM where objectcode = 10000048
    Compare the values for both the query. The first query should not be equal to or greater than the second one. If it is, then you need to log a support ticket and get your issue investigated as it can be a probable Database Corruption.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Delete all entries from the following tables - Follow-up Activities (oracle)

    Hello,
    I performed a homogeneous system copy of our development BW system with the database (oracle 11.2.0.3) from the BW production system!
    I already start the oracle database and the SAP system in the target system/server (development BW system) and I´m doing some follow-up activities. One of this activities is (at the system copy guide 6.2.3.2 Activities at Database Level) is to delete all entries from the following tables:
    DBSTATHORA, DBSTAIHORA, DBSTATIORA, DBSTATTORA
    I tried to delete them using SQL Plus:
    sqlplus /nolog
    SQL> connect /as sysdba
    SQL> delete from DBSTATTORA;
    delete from DBSTATTORA
    ERROR at line 1:
    ORA-00942: table or view does not exist
    ... and it show me that error message.
    This is strange because when I go to transaction SE14 and check the DBSTATTORA I see that table exist and contain a lot of entries!
    Why this is happened in SQL Plus!? I´m running the correct SQL statement for doing this type of task or not?
    How can I delete the entries of that tables? Can I do that using the transaction SE14?
    Can you help me please?
    Thank you,
    samid raif

    Hello
    sqlplus /nolog
    SQL> connect /as sysdba
    SQL> delete from DBSTATTORA;
    delete from DBSTATTORA
    ERROR at line 1:
    ORA-00942: table or view does not exist
    It doesn't surprise me as you are not mentioning the schema name here. Instead it should be
    delete from SAPSR3.DBSTATTORA;
    Assuming the schema owner is SAPSR3. if the owner is different then replace that with the correct one.
    Regards
    RB

  • How to add the new tab in Quotation VA21

    Hi,
    How to add the new tab after Addition data B in line item in Quotation VA21?
    Please help me for this query.
    Devendra

    Dear Devendra,
    Use the program SAPMV45A & the screen number provided by SAP is 8459.If you activate this screen and include the screen in 4462.
    PROCESS BEFORE OUTPUT.
    *                            Verarbeitung vor der Ausgabe
       MODULE VBAP_BEARBEITEN_VOR.
       CALL SUBSCREEN KUNDEN-SUBSCREEN_8459 INCLUDING 'SAPMV45A' '8459'.
    PROCESS AFTER INPUT.
    *                            Verarbeitung nach der Eingabe
    * Hier weitere Prüfungen
       CALL SUBSCREEN KUNDEN-SUBSCREEN_8459.
    Regards,
    Anand

  • This entry already exists in the following tables  'G/L Accounts' (OACT) (ODBC -2035)  [Message 131-183]

    Hi expert,
    In chart of account one G/L currency i want to change local currency to all currency but system is showing this massage
    This entry already exists in the following tables  'G/L Accounts' (OACT) (ODBC -2035)  [Message 131-183]
    what is the reason and how to change please advise.
    Regards
    Mukesh Singh

    Hi,
    You may check this thread:
    Re: This entry already exists in the following tables -Message
    Also check SAP Note Number: 1054713 to see if it applies to you. It might be a bug too.
    Thanks,
    Gordon

  • FInvoice How to add the SOAP frame thru XSLT transform

    Dear All,
    i have the following problem i have implemented as xslt codeto send data from SAP Idoc invoic to WS Finvoic .
    the coding looking as following :
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:output encoding="ISO-8859-1"/>
         <xsl:template match="/">
              <!-- Create SOAP-Envelope -->
              <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">
                   <!-- Create Header Container -->
                   <SOAP-ENV:Header>
                        <eb:MessageHeader xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" SOAP-ENV:mustUnderstand="1" eb:id="">
                             <eb:From>
                                  <eb:PartyId>
                                       <xsl:value-of select="Finvoice/SellerOrganisationUnitNumber"/>
                                  </eb:PartyId>
                                  <eb:Role>Sender</eb:Role>
                             </eb:From>
                             <eb:From>
                                  <eb:PartyId>
                                       <xsl:value-of select="Finvoice//SellerBic"/>
                                  </eb:PartyId>
                                  <eb:Role>Intermediator</eb:Role>
                             </eb:From>
                             <eb:To>
                                  <eb:PartyId>
                                       <xsl:value-of select="Finvoice//InvoiceRecipientAddress"/>
                                  </eb:PartyId>
                                  <eb:Role>Receiver</eb:Role>
                             </eb:To>
                             <eb:To>
                                  <eb:PartyId>
                                       <xsl:value-of select="Finvoice//InvoiceRecipientIntermediatorAddress"/>
                                  </eb:PartyId>
                                  <eb:Role>Intermediator</eb:Role>
                             </eb:To>
                             <eb:CPAId>yoursandmycpa</eb:CPAId>
                             <eb:Service>Routing</eb:Service>
                             <eb:Action>ProcessInvoice</eb:Action>
                             <eb:MessageData>
                                  <eb:MessageId>
                                       <xsl:value-of select="Finvoice//SellerReferenceIdentifier"/>
                                  </eb:MessageId>
                                  <eb:Timestamp>
                                       <xsl:value-of select="Finvoice//InvoiceDate"/>
                                  </eb:Timestamp>
                             </eb:MessageData>
                        </eb:MessageHeader>
                   </SOAP-ENV:Header>
                   <!-- Create Body -->
                   <SOAP-ENV:Body>
                        <eb:Manifest eb:id="Manifest" eb:version="2.0">
                             <eb:Reference eb:id="Finvoice" xlink:href="1009">
                                  <eb:schema eb:location="http://www.finvoice.info/yrityksen_verkkolasku/ladattavat/Tekniset tiedostot/schemat/Finvoice.xsd"/>
                             </eb:Reference>
                        </eb:Manifest>
                   </SOAP-ENV:Body>
              </SOAP-ENV:Envelope>
              <!-- Add Finvoice msg. as Payload Container-->
              <xsl:text disable-output-escaping="yes">
         <?xml version="1.0" encoding="ISO-8859-15"?>
         </xsl:text>
    <xsl:text disable-output-escaping="yes">
    <!DOCTYPE Finvoice SYSTEM "Finvoice.dtd">
    </xsl:text>
    <xsl:processing-instruction name="xml-stylesheet">type="text/xsl" href="Finvoice.xsl"</xsl:processing-instruction>
    <xsl:copy-of select="*"/>
    </xsl:template>
    </xsl:stylesheet
    My problem is that I don't know how to add the doctype part via xslt:
    <?xml version="1.0" encoding="ISO-8859-15"?>
    <!DOCTYPE Finvoice SYSTEM "Finvoice.dtd">
    could sombody give me input concerning this
    Thank in advace.
    Best regards !

    Hi,
    I don't know if I completely understand your requirements,
    however, if you have the field DocType in your Idoc Structure Message, like follow:
    <EDI34243 doctype="XXX"/>
    You can use:
    <xsl:value-of select="@doctype"/>

  • How to add the DC's GPWebDynproCO,External,api

    Hi,
       I am trying to implement webdynpro component as a callable object in the GP. I am following the below help link to do the same.
    http://help.sap.com/saphelp_nwce10/helpdata/en/43/e085d6421a4d9de10000000a155369/frameset.htm
    Could anybody suggest me how and where to add the following DC's to the webdynpro component?
    From where can i get these DC's?
    Local Development  ® GP-CORE  ® caf/eu/gp/api/wd (public part GPWebDynproCO)
    Local Development  ® GP-CORE  ® caf/eu/gp/api (public part external)
    Local Development  ® ENGFACADE  ® tc/je/usermanagement/api (public part api)
    Please help me out with proper replies...
    Regards
    Sireesha.
    Edited by: sireesha esukapalli on Feb 17, 2009 6:11 AM

    Hi,
    Please go through the thread
    Re: Guided procedures & WebDynpro (SAP-EU software component)
    it will definately help you.
    if you are using NW04s SP7 you can get the API's from the blog
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f7be53bb-0b01-0010-1c96-be3cb6799c1b
    Regards,
    Veena.

  • This entry already exists in the following tables (ODBC -2035)

    Dear All,
              I'm trying to add the AR Invoice from the excel file.  I got error "This entry already exists in the following tables (ODBC -2035)". I have of course checked that the record does not already exist. I try again to add the AR Invoice, at this time, i can add successfully. Some times this works fine. I'm using the SAP 2007B PL13.
              Please help me to solve. Give me the suggeston.
    Thanks and regards,
    Lei Nandar Myint

    Dear,
           I try to add the AR Invoice using DI API.
    Thanks and regards,
    Lei Nandar Myint

  • "This entry already exists in the following table 'Vat Transactions' (OTAX)

    Hi Experts,
    I have  some trouble adding new invoices into SAP. Copying from the Sales order to an AR Invoice the following error occurs
    Firstly, I get a system message "The Customer ref. no of this type already exists" on processing it follows with a status error when copying the order to AR Invoice
    "This entry already exists in the following table 'Vat Transactions' (OTAX) [Message 131-183]"
    "Exclusive code already exists '1486759'"
    any ideas to resolve this
    SBO 8.8 SP00 PL11.
    Regards,
    Rakesh N

    Hi Gordon,
    What happens if  the user had performed a Update Query on the OTAX table and then added the invoice he was unaware that he should not run UPDATE queries on database. But invoices to which the update query was not executed cannot be added.
    The query follows :
    UPDATE TAX1
    SET AbsEntry = XXXXXX where AbsEntry = YYXXXXXX
    Select Top 15* from OTAX INNER JOIN TAX1 on OTAX.AbsEntry = TAX1.AbsEntry
    ORDERBY OTAX.AbsEntry DESC;
    Regards,
    Rakesh N

  • This entry already exists in the following table ALR2

    Hi All
    A client gets this message when trying to add a sales order.
    They copy it from a quote,  but when they click add they get this messge :
    "This entry already exists in the following table ALR2"
    This is happening for every user and for any quote..old and newly created quotes.

    Hi Experts,
    I am at the client currently and there has been no recent upgrades,they are on PL 46.
    I also checked the alerts and they have no alerts set up on SAP?
    Also tried to restart the server??
    There is one superuser and when he logs in there is no problem.
    He can add sales orders etc. - no problem
    Thank you,
    Kind Regards,
    Alexander
    Edited by: Oberholzer Alex on Oct 16, 2009 10:13 AM

  • Unable to  select multiple with holding tax codes. -"This entry already exists in the following tables  '' (ACPR) (ODBC -2035)  [Message 131-183]"

    Unable to  select multiple with holding tax codes.
    This entry already exists in the following tables  '' (ACPR) (ODBC -2035)  [Message 131-183]

    Hi,
    Actually this is an application error in 2007 A and there is no version/PL to fix this issue.
    Refer SAP note 1260874 - Cannot add a new BP with ITW tax code
    Thanks & Regards,
    Nagarajan

Maybe you are looking for

  • Can I jump to a specific time in a slide?

    Hello everybody, I'm pretty new to the Adobe Captivate Project and although it works very intuitive and there are a lot of resources available, I couldn't find the answer to my question. I'm making an instruction video/software simulation for clients

  • How to crash WMI in 2008 server

    Friends, how to crash WMI manually for testing purpose. The following steps i have done but once i started the WMI console, it automatically recover the data :( Help me friends. 1. Stopped the WMI service, opened the objects.data file in notepad, del

  • Export from User exit.

    hi Guru's I am using this is a user exit: DATA: lv_diff TYPE n. lv_diff = TRUNC( wmara-mhdhb - lv_mhdhb ).   EXPORT lv_diff TO MEMORY ID 'ZXXXXX'. and importing in a custom program: DATA: lv_diff TYPE n. IMPORT lv_diff FROM MEMORY ID 'ZXXXXX'. Th sy-

  • Mail not displaying images sent in emails

    I have a salesman that is using OS 10.1.3 and mail version 1.1 on a G3 blue and white, When mail is sent with images it does not include images. I checked the preferences and download all images is checked, is there something else that I'm missing??

  • Time machine troubles

    right now i am using a 160 gig external HD to back up my mac with time machine.... i have about 120 gigs of stuff on my mac... i want to back up my computer every few weeks.....time machine keeps telling me there is not enough room....how do i make t