Table linking

hi all,
i am using sap 2005 b1 with 36 patch.
i want  to generate report using three table
1)owdd
2)wdd1
3)odrf
so how to link this table in query generater
regards,
sandeep adhav

Hi
Try this, it will be get the correct data.
SELECT * FROM OWDD T0
INNER JOIN WDD1 T1 ON T0.WddCode = T1.WddCode
INNER JOIN ODRF T2 ON T0.DocEntry = T2.DocEntry
Regards,
Madhan.

Similar Messages

  • SD-How to find table link of special delivery and sales order number?

    Hi Experts,
    I have a requirement as below.
    In LIPS table (SD document: Delivery: Item data), in this table has one kind data.
    One record has maintianed 2 fields PSPNR(Project definition (internal)) and PS_PSP_PNR(Work Breakdown Structure Element (WBS Element)).
    How to find sales order number of the above record? Could you tell me which table link the delivery item data and sales order number?
    Thanks a lot,
    Frank

    hi,
    check this.
    [https://forums.sdn.sap.com/click.jspa?searchID=20150250&messageID=3784069]

  • One-to-many table linking

    Hi all,
    I'm trying to write a report with multiple one-to-many table links.  The issue is I only want a single record from the linked tables.  The main table is an item table and the linked tables are issue and receipt.  I want to display information from the last issue record and the last receipt record along with the item information.  Not sure how to restrict the joins to just a single record (also need to sort desc on dates in the linked tables).  Does this require the use of a view? or a custom sp?
    Thanks for taking your time to help.
    Kevin

    To bring back a single record then you will probably need to use a View , command or SP.
    However, in Crystal you can bring back multiple records and only display the record you want. The easiest way will be to group
    Data on Date and then Item code.
    Place the data you want to see in in Item group footer and suppress details and all other Group headers and footers.
    To get receipt date just use a maximum summary of receipt date in item group footer
    Ian

  • Convert table linked report into a Command version - Howto?

    How can I convert hundreds of reports from table linked into a Command version?
    One way to do is to take the SQL syntax off the report, add a Command with that Syntax and manually replace the database fields by the Command fields.
    I can not believe that is the right way to this. Is there no hidden (re-)mapping fields button or another undocumented feature?
    If this is the way to do it... when will there be a one-button-click solution. The underlaying data keeps the same, could not be that hard to build..?
    Without that basic functionality Crystal Reports is not option for us anymore.
    Backgroud: We do have hundreds of reports that are created by an ODBC (RDO) database (SQL Anywhere database), created by linking the tables and select the fields we like to use in the report. This works fine at least as we used the RDC method in our application. Because we are moving to .NET we could not use RDC anymore and have to use the .NET methods. However the .NET SDK is very limited. The only way to add more complex WHERE statements is to use the Command functionality of Crystal Reports.

    Hi Hans,
    Let me explain, Command Objects are sent directly to the DB server as is. CR does not alter the SQL at all. As you know in SQL there are minor differences between the various servers and the SQL syntax can vary from DB to DB. Because of this CR could not build in the logic to handle the vast number of potential mappings, and not jsut SQL types but also PC databases.
    To be able to map reports based on connections directly to the DB through a Command object the current versions of CR do not have the ability. Possibly the next version may have this feature though but we can't say for sure until it's released. Check our WEB site for new versions and there functionality.
    Next question about moving off of the RDC to .NET, you are correct. CR no longer allows you to modify the SQL statement directly. The RDC was actually supposed to stop you also but it did work.
    One possible solution is to use .NET and inProc RAS ( Report Application Server) and using record sets. Your app can get the SQL from the report, process the query and appending the info onto the WHERE clause as well as other filtering and then set the existing reports data source to the record set. As long as your data is less than 5000 rows then no performance issues, over 5K and you may start to see slow report processing. Depends on other info and report complexity etc.
    If this is an option for you please post your question to the Crystal .NET development forum. Also, you will need to use 12.x.2000.x versions of the CR .NET assemblies and not use the basic version 10.5 or 10.2 that comes with .NET 2008 and 2005.
    Thank you
    Don

  • How are attribute and text master data tables linked in SAP R/3?

    Hello,
    how are attribute and text master data tables linked in SAP R/3?
    Most tables with attribute master data like T001 for company codes,
    have a text master data table T001T (add "T" to table name).
    When looking at the content of table T001 via transaction se11,
    the text are automatically joined.
    But for some tables there is no "T"-table (e.g. table TVBUR for sales offices
    has no text table TVBURT), but in se11 you get texts. There is an address
    link in TVBUR, but the Name1, etc. are empty.
    a) Where are the text stored?
    b) How does the system know of the link?
    Hope someone can help!
    Best regards
    Thomas

    Hi Thomas
    The master and text table are not linked by name, of course, if you see the text table, it has the same key fields of master table, only it has the field key spras and the field for description.
    The link beetween the tables is done by foreign key: if you check the text table TVKBT u need to see how the foreign key for field VKBUR is done:
    -> Foreing key with table TVBUR
    -> Foreing key field type -> KEY FIELD FOR A TEXT TABLE
    ->Cardinality-> 1-:CN
    It's very important the attribute sets for Foreing key field type, if it's KEY FIELD FOR A TEXT TABLE, it'll mean the table is a text table: i.e. that mean the master table is a check table for the text table, where the foreign key type is for text table.
    U can find out the text table of master table by SE11: GoTo->Text Table
    U can fined some information in table DD08L.
    Max

  • TABLE LINK SHIPMENT DOCUMENT TO VENDOR PAYMENT

    Hi,
    Our process is we are creating shipment document and cost then backgroung we are creating
    service sheet entry and purchase. Against service sheet entry we parking transport vendor bill
    and againsr park document payment is given to vendor against the MIRO t code.
    I need help of entire table link to develop report shipment document to vendor payment document no and
    details againt service sheet entry.
    Thanks in advance
    Regards
    Tarunkumar

    You can get link by joinning below tables.Hope these tables will elp to get data.
    VTTK shipment number.
    VFKP shipment costing item data
    CESSR service entry sheet details
    EKBE PO history
    RBCO & RBKP invoice item and header tables.
    From cessr you will get shipment cost document and service entry sheet details and you will get from EKBE PO ,service entry sheet and invoice details.

  • Routing Table Linking.

    I am currently working on a project whereby I am linking in MS Access the data in the "MTL_SYSTEM_ITEMS_B" Table, "BOM_OPERATIONAL_ROUTING" Table, "BOM_OPERATION_SEQUENCE" Table and "BOM_OPERATION_RESOURCES" Table. As for the link between the "MTL_SYSTEM_ITEMS_B" table and the "BOM_OPERATIONAL_ROUTING" table, there is a one to one relationship. Though for the link between "BOM_OPERATIONAL_ROUTING" (link from) and "BOM_OPERATION_SEQUENCE" (link to), this link is not so straight forward. The BOM Technical Manual shows that these tables are linked by way of the field "ROUTING_SEQUENCE_ID". What makes things complex is that there is a "COMMON_ROUTING_SEQUENCE_ID" field for parts that have similar routings. For parts that have similar routings, the valid routing is the "COMMON_ROUTING_SEQUENCE_ID". The question I have is what type of database structure should exist as there are two fields that are possible candiates for linking. When looking at the data in the "BOM_OPERATIONAL_ROUTING" (link from) table in Discoverer, the data in the "ROUTING_SEQUENCE_ID" field is unique, though the data in the "COMMON_ROUTING_SEQUENCE_ID" field is not unique. The field "ROUTING_SEQUENCE_ID" does not contain data in the "BOM_OPERATION_SEQUENCE" (link to) table where data exists in the "COMMON_ROUTING_SEQUENCE_ID" field for the part in "BOM_OPERATIONAL_ROUTING" (link from) table. In other words if you simply link the field "ROUTING_SEQUENCE_ID" that exists between "BOM_OPERATIONAL_ROUTING" and "BOM_OPERATION_SEQUENCE" you will not get operation sequence records for parts that have common routings.
    It is confusing as the Oracle Technical Manual does not spell out this issue in the Diagram 9:Routings or I do not understand how to interpret the relationships.
    Any help in defining the relationship between "BOM_OPERATIONAL_ROUTING" table and "BOM_OPERATION_RESOURCES" table would be greatly appreciated.

    I am seeing that with the complexity of the problem, I have not been clear enough.
    Basically I am trying to replicate the relationships that exist in the Oracle table structure within a MS Access environment. Basically what I am doing is taking data from Discoverer tables that were derived from the table relationships that exist in Oracle and downloading them into MS Access. Because of Sarbanes Oxley restrictions, I cannot originate reports in the Discoverer environment so I have to download the data and replicate the structure within MS Access. Secondly, the table links in Discoverer are not proper and there is no existing Discoverer report.
    I determined a jerry-rigged solution earlier yesterday for MS Access though I am sure it is not the structure that exists in Oracle. I basically created a junction table that includes only one record for each "common_routing_sequence_id" thereby reducing the relationship between the "BOM_Operational_Routing" table and the junction table to a many to one. I then linked the "common_routing_sequence_id" in a one to many relationship out of the juction table to the "BOM_Operation_Sequence" table.
    I cannot find how Oracle handles this table structure though I have reviewed the technical manual showing the relationship. It is not spelled out in the technical manual. All I see is a one to many link on "routing_sequence_id" coming from the "BOM_Operational_Routing" to "BOM_Operation_Sequence".

  • Table Link for EQUNR (Eqpt Number) and GEWRK (Main Work Center)

    Hello,
    I need to fetch the main work center from equipment master. I need a direct table link between the equipment number and mainwork center. We are getting a link of equipment number (EQUNR) to work center (ARBPL) and a link of work center (ARBPL) to main work center (GEWRK). But the problem with this scenario is - main work center is not getting fetched from equipment master once work center is missing.
    We want a direct link through some table between EQUNR and GEWRK.
    Puneet

    Hi Puneet,
    Appreciate your problem !
    Many a times in such a situation (which I presume exists where no direct link is available between fields); we have 2 clear cut approaches -
    Approach 1:
    Develop a SAP Query, Functional Area/Infoset, and User Group ( using T code :SQ03,SQ02,SQ01 respectively )
    While developing Functional Area feed in these 2 tables (Table 1- equipment number (EQUNR) & work center (ARBPL) and Table 2 - work center (ARBPL) to main work center (GEWRK) with  work center (ARBPL) as the Primary Key- bridge to join these 2 tables.
    In SAP Query Development; you may take Plant as the Selection Field or any other field as per business requirement to make a search in the query.
    Now when you execute this query, you will get a complete Download of (EQUNR),work center (ARBPL)  and main work center (GEWRK) in one table.
    For SAP Query, you may also approach your ABAP Team Member. This is a cleaner approach than the other one.
    Approach 2:
    Take SE16 download of the Table 1 and Table 2 and join them in Excel (using vlookup if required).This approach is however limited to the data volume that you have to process.
    Please let me know, if you get stuck !
    Thanks,
    RAVI.

  • Table Link between Equipment and Sub-equipment

    Hi all
    My requirement is this
    I have one mobile set with a serial number. for that mobile set i have one battery with a serial number, now i want to link both the serial numbers, one as main and another as sub item
    I tried by maintaining the battery serial number as sub-equipment in the main mobile set equipment number master,
    Let me know the table link between equipment and sub-equipment
    I want a report based on the input mobile set equipment number what are all the sub-equipment associated with the main equipment
    Also suggest is there any other approach,
    Regards
    Amuthan M

    Hi
    EQUZ is the table,if u give the sub equipment in equipment field and execute.you can find the main equipment in superior equipment field

  • Table link between contract document and billing document

    Hi,
    Please let me know the table link between contract data and its billing plan nnumber.
    Regards,
    bhaarathi.

    VBKD is the Table name
    if Ordertype "G"  <--- that means It is a contract
    From VBAK and VBAP you can get the Contract Details for the Order Type "G"
    Go to Table VBKD, with the contract and get the billing plan .
    FPLNR <--- is the Billing plan
    Here you get the relation Between Contract and Billing Plan

  • [CR2008] How to get enforcement of table links

    Post Author: Rafa
    CA Forum: .NET
    Hi all, I have a ReportDocument and I need to obtain the table  links with all their parameters. I'm using .Database.Links. However, this Links don't have information about enforcement. I have found that ReportDocument.ReportClientDocument.Database.TableJoins have information about enforcement. My problem is that this collection is always empty with my report.  I can't find documentation about TableJoins anywhere, so I'm a bit lost here. What's the difference between TableJoins and TableLinks? Thanks for your time!

    Post Author: Rafa
    CA Forum: .NET
    bump!

  • Table linking issue

    Working with Crystal Reports 11. Fairly new to this, but I am little confused.
    Working with 3 tables.
    Table 1 is a list of all the details of customers with a CUSTOMER_CODE field
    Table 2 is all the invoices of customers also with a CUSTOMER_CODE and an INVOICE_NO field
    Table 3 is all the details for the invoice table also linked with a CUSTOMER CODE and a INVOICENO field
    Have links via CUSTOMER_CODE to all three tables and have the INVOICE_NO field linked between Table 2 and Table 3.
    The problem that is occuring is there is a few CUSTOMER_CODES in TABLE 2 and TABLE 2 that are not available in TABLE 3. So when I try and run a report containing any additional information from TABLE 1 it will exclude the CUSTOMER_CODES that are not available to be linked.
    Was hoping via an IF statement I could resolve this but no luck. CUSTOMER_CODE is a mix of alphanumeric so it is a string.
    if ="99999" then "Cash Sale"
    else
    Same problem all the 99999 accounts get eliminated from the report. CUSTOMER_CODE 99999 does not exist in Table 1, but can be found in Table 2 and Table 3.

    Hi Andy,
    Don't go too link crazy, or you'll get unexpected results.
    Based on what you're describing, it sounds like Customers are your parent records, invoices child to customers, and invoice details child to invoices.
    You should not have a link from customers to invoice details.
    Link: Customers to Invoices and invoices to details. There should be no link between customers and details.
    Then, what you need to do is click on the table links, right click, and select change join type. Depending on how you've linked the tables (directionally) you may need either a left outer, or a right outer join. You could potentially also use a full outer join, but that will give you all customers without invoices, as well as all invoices without matching customers. Try one, and if that doesn't work, try the other.
    A left outer join takes the two tables, and says 'give me all of the records on the table on the left, regardless if there is a corresponding record in the table on the right, and all right table records that 'belong' to records on the left table'
    Crystal determines which table is 'left' and which is 'right' based on which table you linked FROM. It takes the FROM table, and calls it the left.
    Hope that helps.
    -R

  • Tables linking the invoice and accounting document

    Hi,
    Can anyone tell me tables linking the invoice and accounting details table BSEG?
    Regards,
    Shanu

    Following BSEG fields can be found in VBRK
    MANDT
    BUKRS
    BELNR
    GJAHR
    ZUONR
    VBUND
    VBELN
    ZTERM
    ZLSCH
    BVTYP
    MSCHL
    MANSP
    MABER
    STCEG
    XEGDR
    KKBER
    KIDNO
    BUPLA
    Similarly following fields can be found in VBRP
    MANDT
    VBELN
    thanks
    G. Lakshmipathi

  • Dynamic table linking to text file

    Access 2013.accdb
    A large quantity of text files will be arriving to the user.  They will all have the same fixed width format, but their file names will vary, and their stored location.
    The data needs to be appended into Table1
    I am thinking this approach: Link to a model text file Model.txt, and as part of that normal table linking I can set up the fixed width definitions for the fields.  I have already done this ok. So I have this linked table 'Model1' in the navigation
    pane
    When a new text file comes the user will archive it in a folder:  New1.txt
    I can then get the path as a string: "C:blah blah \New1.txt" lets call this NewString
    So what I am thinking is in order to Append in the new data; to first dynamically change the link table path to Model1 into the NewString and refresh the connect.
    The AppendQuery is looking for Model1 so that table name must not change, and the fixed widths that were part of the Model1 initial linking must not change.
    Does this sound viable - and what is the code for Model1 table relinking?  Table Def connect properties is not something I've delved into and much of the research I've found is seriously old mdb vintage
    I do not think the import spec feature of 2013 allows a dynamic change in file location / name - though if I am wrong on this point please let me know.  And I think in terms of a TransferText import I would lose the fixed widths definition and
    it would come in only as a single field file.  So these are the reasons I am thinking of manipulating the table path connection.
    Definitely would welcome advice on this one.  TIA

    getting a path to a file is pretty straight forward code out there for Windows Explorer file selection:
    'file select
    Dim strFile As String
          With Application.FileDialog(1)
               If .Show Then
                   strFile = .SelectedItems(1)
               Else
                   MsgBox "No file selected", vbInformation
                   Exit Sub
               End If
           End With
    'end file select
    so strFile would be what I termed NewString in my original post;  I have found code to change links to Access tables and even excel files - but haven't found what works to a text file....the code that I've experimented with does not like the .connect
    refresh......

  • TABLE LINKS IN XL REPORT

    HI ALL
    WHILE USING XL REPORT, HOW THE TABLE LINKED WITH
    FIELD IN XL REPORT CAN BE KNOWN?
    Eg:IN XL REPORT OF EXCISE RG23A PART 1, FOR CHIT NO AND CHIT DATE, QUANTITY THE TABLES ARE NOT KNOWN TO FILL THE VALUES.PLEASE SOLVE IT, AND LET ME KNOW THE BEST SOLUTION FOR IT.
    THANKS.

    Hi Krishna,
    please check out our new SAP Business One Reporting & Printing forum:
    Reporting and Printing
    I will shift this thread there within a few hours.
    Best regards,
    Darius

  • Table Linking Activities with Activity Journal

    Hello All,
    I need to know the table link between the activity number and the details like material code, material description which is stored in the activity journal of the transaction type.
    Kind Regards
    Atul

    Hi Benoit,
    Thanks for the prompt reply, I have a transaction type where I have configured activity journals, in the activity journal I have entered my material no, I need to get the table link between my activity number and the material no.
    I am attaching a screen shot for your reference, the first screen shot pertains to attaching the product code in the activity journal assignment block
    The second screen shot pertains to entering the material code
    I need to know the table link between the activity number and the product id, the above tables which you gave do not store the product details, hence please advice further.
    Kind Regards
    Atul

Maybe you are looking for

  • How to install windows 8 on mac

    I just bought windows 8 pro and am trying to install in on my windows. I have previously installed windows 7 via bootcamp but just deleted the partition because I want to start over from scratch with windows 8. I understand bootcamp needs to be updat

  • How to use single frame in a page

    Hello, i would like to now how to make a frame in a page without having two or more, i was used to work with GoLive and there i could use the grid an put a single frame and make links to other pages that would open in that frame, it worked wel for me

  • Problem with JSTL 1.0.6 in WLS 8.1.4 - Please Help

    I am trying to use JSTL 1.0.6 in WLS 8.1.4. Here are the steps I followed:           <br>           Step 1:           Copied the following jar files to WEB-INF/lib directory:<br>           - jaxen-full.jar<br>           - jdbc2_0-stdext.jar<br>      

  • Deactivating Auto Fit on Object Frames

    We have a document which was created using the autofit option enabled.  We're looking for an easy way to disenable the autofit for all frames in the document.  Is there a slicker way to do it than to select all the objects and change the options in t

  • TNEF and Winmail.dat attachments

    Currently the email application in the N97 cannot open attachments sent from Outlook e-mail program, when it sends e-mails in the Transport Neutral Encapsulation Format (TNEF). Here is an explanation of the problem: http://kb.mozillazine.org/Winmail.