SQ01-query - how to join MARA and DRAD

Hi all,
my problem is that I have to create a sq01 query in which I combine data from the MARA
with data from DRAD. But I can't join the OBJKY (DRAD) with the MATRN (MARA).
Hoping for help,
Barbara

Hi Barbara,
As mentioned in the previous post, you cannot join the OBJKY field with MATNR field of MARA.
But if you want to just read the contents in OBJKY from DRAD, then have a look at the below code:
Note: In the initial step of creating your infoset, just select direct read from table & select on MARA here.
SELECT SINGLE DOKNR INTO T_DOKNR
FROM DRAD
WHERE OBJKY EQ MARA-MATNR
     AND DOKOB EQ 'MARA'
     AND DOKAR EQ (Specify the type of document for this).
Now you can combine the fields MATNR, T_DONR & the Z field into the field which you want using the CONCATENATE statement.
\[removed by moderator\]
Regards,
Vivek
Edited by: Jan Stallkamp on Sep 3, 2008 3:51 PM

Similar Messages

  • Query: how to use structure and selection and what's the difference between

    Query: how to use structure and selection and what's the difference between these two?
    Would be appreciated if some experts here give examples to demenstrate on how to use structure and selection in query and what's the difference between these two?
    Thanks in advance!

    Hi Kevin,
    1. Well by default all the KF that you include in your query go into a Key Figure Structure. You can additionally have another structure for defining how your chars are laid out. A common example is a Calmonth structure where you have selections for 12 months, quarers and YTD values. This would be a char structure with different selections (for each month, qtr etc)
    2. Yes, a selection with a KF is the same as restricting a KF. You can use am RKF is you have one on the left hand side, or if you need to do this locally in the query, right click the structure and choose New Selection, then proceed to choose your KF and reqd char values.
    Hope this helps...

  • How  to join OE_ORDER_HEADERS_ALL  and HZ_PARTY_SITES,HZ_PARTIES in R12

    Hi all,
    Please Clarify.
    How to join OE_ORDER_HEADERS_ALL and HZ_PARTY_SITES,HZ_PARTIES in R12

    how can i make a join to get the Customer_Name and Customer_Number from RA_Customer table and oe_order_headers_all and oe_order_lines_all......thanks in advancePlease see these docs for examples on how to join those three tables.
    Multiple Language Request For Sales Order Acknowledgment Has Performance Issue [ID 1275133.1]
    Shipment History Data Are Not Populated In Dp [ID 889057.1]
    Disc0unt Did Not Apply To Sales Order Line With Volume Offer As Modifier [ID 1415593.1]
    Thanks,
    Hussein

  • How to join BKPF and BSEG

    Hi Experts,
    how to join BKPF and BSEG
    Thanks
    nagini

    Hi,
    BKPF is Transparent table but BSEG is cluster table.  We can't create views by joining cluster tables.
    hope it helps...
    regards,
    Raju

  • How to join ce_200_transactions_v and ce_statement_lines in Cash Management?

    Hi all ,
    how to join ce_200_transactions_v and ce_statement_lines in Cash Management?
    Please suggest.

    Did you check eTRM website? -- http://etrm.oracle.com/
    Thanks,
    Hussein

  • How to join BALDAT and BALHRD???

    I am working on the reorganization of the basis tables of SAP and need to analyze the table BALDAT (Application Logs). I would like to know what years the data is from, but therefore I need to do a join.
    But how to join these to tables? It can't be done directly...
    Can anyone help me? Does anyone know?

    Another question: Am I in the right forum for this problem? Or where could I ask such things? Better in the ABAP forums?

  • SQ01 Query issue - Table join

    Hi Gurus,
    I need to make a change in already created query generating a report concerning Billing documents. Tables which are being used in there are VBRK, VBRP, VBPA & KNA1.
    Now, I would like to add Purchase Order number as field in Field Group in related Infoset in SQ02.
    The issue is when I include table VBKD field VBKD-BKSTD  to fetch PO number and join it in infoset, it does get joined but the actual query does not work in SQ00 or SQ01 after getting this change done in infoset.
    Can you please suggest if I am doing something wrong in joining the tables or should I try joining some other table to get this requirement??
    Kindly help and thanks in advance for your suggestions!!
    Regards
    Bawa

    Hi Shiva,
    The issue is that I cannot use the field VBRP-AUBEL as it contains the document number of referenced Sales Document which is sales order type document number in my case.
    Kindly suggest if I am doing something wrong in joining or do I have take care of some steps involving joining of tables??
    Thanks
    Bawa
    Edited by: Bawa Bawa on Sep 23, 2009 9:44 PM
    Edited by: Bawa Bawa on Sep 24, 2009 9:32 AM

  • How to join Dimensions and Fact Tables in OBIEE

    Hi All,
    I need to create report which need to get the information from two fact tables and 7 dimensions. The granularity is not same in both the fact tables. One fact table is having common keys between all the dimension tables and second fact table have only two dimension keys but with different names. My requirement is to create the report by taking the measures from both the fact tables.
    I have created joins between the second fact table and two dimension tables in physical and BMM layer and also set the highest level for all other dimension tables in the LTS of second fact table. when am creating report by taking the measures from both the fact tables, data is not getting for the measure which taken from the second fact table. Please advice me how to get the data for the measure which taken from the second fact table.
    Thanks in Advancec !!

    You have to use the level-base measure capabilities.
    http://gerardnico.com/wiki/dat/obiee/bi_server/design/fact_table/level_based_measure_calculations
    For all measures of the second fact table with the lowest grain (with two dimension keys), set for all dimension where you don't have any key the logical level to the "All" or "Total".
    And UNSET the highest level of the LTS for the second fact table.
    Success
    Nico

  • How to join payroll and general ledger

    Hi, some one could help me to join the payroll table and general ledger?
    what i need is to know how to obtain the gl_code_combination_id of a per_time_period
    thanks

    Table PAY_PAYROLL_GL_FLEX_MAPS contain details of mapping between Cost Allocation Flexfield segments to Chart Of Accounts Segments.

  • How to join KLAH and EQUI

    Dear Experts,
    I need to query from above two tables by Left Outer Join- KLAH to EQUI in this order.
    But I do not find any relation between these two tables. Please help how I go about it.
    My report requirement is EQUI-EQUNR versus KLAH-CLASS.
    Regards
    Jogeswara rao

    Thank you Maen,
    Let me explain the case further:
    I am a Functional man working on Infoset Query.
    Infact I have analysed oher tables also. But I am not able to connect the class related tables to Equipment related tables which can give me few output line items.
    I am getting Equipment vs Class report from LDB EQI, but here I am not able to get those line items where Equipments are not classified.
    My actual requirement is to list those equipments which are not classified.(Not assigned a class)
    Regards
    Jogeswara Rao

  • How to join audio and screen recording

    I have recorded with both the screen capture and audio capture and now want to join / merge the files into one.  Does any one know how I can do this easily? What application would I need to use? CAn it be done with iMovies?  Thanks

    m2v files are usually used in DVD authoring. Is that what you are trying to create?
    If so, you'll want a AC3 or aiff file format for the audio and use DVD Studio Pro to merge the two into VOB files.
    If this isn't what you are trying to accomplish, please offer up more information.
    x

  • How to join MTL_MATERIAL_TRANSACTIONS and MTL_SERIAL_NUMBERS

    Hello,
    I was browsing a lot to find a solution for this, but I did not find any useful information.
    What I would like to do is to create a SELECT query that downloads all material transactions of a particular serialized item.
    However I did not find any keys to create a MTL_MATERIAL_TRANSACTIONS LEFT JOIN MTL_SERIAL_NUMBERS link.
    Any help is greaty appreciated!

    Join with mtl_unit_transactions using the transaction_id column.
    The mtl_unit_transactions table has serial number.
    Hope this helps,
    Sandeep Gandhi

  • How to Join batch and batch related trasactions in OPM

    Hi All,
    I'm new to OPM and I working some reports but I'm not able to find any join condition for batch and material trasaction with type (WIP,WIP Return). Can u please help me out on this.
    Thanks In Advance,
    Ramesh

    Hi All,
    I got one column in mtl_material_transactions ->TRANSACTION_SOURCE_ID  with GME_BATCH_HEADER->BATCH_ID .Both column contain same values, so we can use for joining condition.
    Thanks,
    Ram

  • How to join HR_API_TRANSACTIONS and wf_item_activity_statuses table?

    Hi, please help im having issues joining the following tables:
    im getting muliptiple records, cos a workflow has muliple records.
    i want to show the wfis.activity status (the status that shows in e-business suite - workflow admin)
    is there a join that im missing ??
    select *
    from HR_API_TRANSACTIONS HAT, HR_API_TRANSACTION_STEPS HATS, wf_item_activity_statuses wfis
    where hat.transaction_id = HATS.transaction_id
    and HAT.status IN ('Y','YS')
    and hat.TRANSACTION_REF_TABLE = 'PER_ABSENCE_ATTENDANCES'
    and hat.TRANSACTION_GROUP = 'ABSENCE_MGMT'
    and hat.TRANSACTION_IDENTIFIER = 'ABSENCES'
    and hat.TRANSACTION_REF_ID is not null
    and hat.item_key = wfis.item_key
    Thanks,
    .....

    This is more a question for the EBS forum than the Reports forum. Better ask it there.

  • How to join dso and ic in an Infoset

    Hi all,
            I.ve created an infoset, under the infoset i m trying to join a dso and infocube, as of now i.ve created infocube but i don find any option to create dso beneath the infoset and i don get any option to join the both, anybody can help.
           balu

    Hi,
    while creating infoset itself, there will be option of cube and DSO, give both the technical name and continue or after cube name continue there in the infoset screen drag the DSO or wise versa and join both by minimum one common field. this infoset works like intersection.
    regards,
    SUresh

Maybe you are looking for

  • NoClassDef error

    I am trying to output a node name from an XML file using Xerces DOM, to a servlet. I keep getting the error I posted below. Can anyone assist?? This is my program: import org.apache.xerces.parsers.DOMParser; import java.io.FileNotFoundException; impo

  • How to get rid of the exclamation mark

    how do you get rid of the exclamation mark on a mac itunes set up...this is enuff to cause mass murder!!! geez nothing should ever be this hard.

  • RE: Scheduling agreements VS PIR: Scheduling agreements

    G'day Team, Client is embarking on collaboration for Comp products.  Client uses SCM 7.0. The root identifier for validity period is in the ECC6 Source list (SL); and the SL identifies relevant Sched Agmt.  Question is what is recommended best practi

  • How to plot semi log graph?

    I am dealing with circuit in which resistance is automatically varying(IC AD633).I want to plot graph of Voltage against this variable resistance.Also as the  range of variation is very large I want to use semi log graph.Is it possible in Multisim? P

  • IMovie09 won't "duplicate project", erases projects

    Hi.  I have been having problems with my iMovie09.  First, whenever I quit iMovie, when I go back to it, my Project has disappeared.  One time it disappeared completely, and then when I re-made the project, and quit again, I came back to iMovie to fi