Sqvi join of Mara and Marc with erroneous output

hello all
I have made a join between Mara and Marc in a SQVI query.
as input i select material according to material type, material group and plants.
output i want the material, the group and the maintenance view of material for each plant.
not all the plants have the same maintenance view but the query returns the material for each plant with wrong maintenance view!
what can it be?

i am trying to achieve the following:
material 12345 is in plants A, B, C
plant A has maintenance status KBVE
plant B has maintenance status BVE
plant C has maintenance status KVB
when I run the view, with the tables MARA and MARC joined by the material number, i requested the material filtering by material group, material type and maintenance view E.
i want the system to return material 12345 for plant A and B with the respective statuses and exclude C because it does not have the status E.
instead it returns material 12345 with plants A, B, C and all with maintenance status KBVE
is it clearer now?
also, what is the difference between mainenace status in MARA and in MARC?

Similar Messages

  • Standard view table available for MARA and MARC

    Hi Guys,
                    Any standard view table available for MARA and MARC ?
    Thanks

    hi,
    what exactly you mean to say by "std . view table"??
    MARA in the main table give has all general information..
    Regards
    Priyanka.P

  • How create and work with Z output to meet the client requirment?

    hi  gurus,
    I am SD functional consultant and need ur help
    Please explain me how create and work with Z output .
    How we arrange and change the fields in header and footer
    where and how we do changes in Layouts setting and SAP scripts to meet the user requirments.
    pls forward functional or Tech spec of Z output
    points will be rewarded
    thanx & regards
    shabnum

    Hi shabnum ,
    I hope you can do it.
    Goto SE71, enter form name--> click change
    1) click in page window command button, Identify the header and footer window
    2) single click on Header window and click change button(pencil symbol)
    3) identify the fields and change order of the fields
    I hope this will help to solve your issue
    Regards,
    SaiRam

  • How create and work with Z output to meet user req

    hi gurus,
    I am SD functional consultant and need ur help
    Please explain me how create and work with Z output .
    How we arrange and change the fields in header and footer
    where and how we do changes in Layouts setting and SAP scripts to meet the user requirments.
    pls forward functional or Tech spec of Z output
    points will be rewarded
    thanx & regards
    shabnum

    Hi
    From SPRO do the all steps.
    Goto SD-> BASIC functions->Output control->Output determination->Output determination by condition technique->Maintain Output determination for sales documents
    Here define all like access sequences, Output types, condition tables and assign them to Program and Forms.
    From SE71 copy the script to a Zscript and to modify it to suit your requirements and the same Zscript has to be assigned to Output type, Program in NACE transaction.
    Reward points if useful
    Regards
    Anji

  • SUBMIT and RETUTN with ALV output into a interanl table.

    Hello Friends,
    I have one z program which returns ALV output.
    I have to create a one new Z program and in that I want to call this program and want the final output into an internal table into my Zreport.
    I used SUBMIT statement with RETURN but not working.
    can anybody tell me what I missed?
    or
    How can we do this.
    Thanks in advance.
    Suhas

    Hi Suhas,
    In Zreport1.
    Just open the first report program and assign internal table to some memory id like...
    EXPORT it_tab1 to MEMORY ID 'ZNITS'.
    In Zreport2.
    Now create an internal table with the same structure of it_tab1 and write the following in your program...
    SUBMIT Zreport1 WITH SELECTION-TABLE it_input
                                    AND RETURN.
    Note: it_input is of type rsparams and contains all selection parameters for *Zreport1*
    *   Import internal table content from memory id
        IMPORT it_tab1 TO it_tab2 FROM MEMORY ID 'ZNITS'.
        FREE MEMORY ID  'ZNITS'.
    Thanks
    Nitesh

  • Hi, please help if anybody know joins involving ap_checks_stocks_all and ap_check_formats with ap_invoice_selection_criteria

    I am supposed to do a R12 upgrade/implementation in 2 days for a report which has a query as below, though it looks simple, it seems complicated or maybe I think it is  :
    SELECT DECODE(aisc.status,
                      'BUILT','N',
                      'FORMATTING','N',
                      'QUICKCHECK','N',
                      'Y'),
               DECODE(aisc.status,
                      'QUICKCHECK','Y',
                      'N')
          FROM ap_invoice_selection_criteria aisc,
               ap_check_formats acf,
               ap_check_stocks acs,
           ap_bank_accounts ba,
           ap_bank_branches bb
         WHERE aisc.checkrun_name  = :P_PAYMENT_BATCH
           AND acs.check_stock_id  = aisc.check_stock_id
           AND acs.check_format_id = acf.check_format_id
           AND ba.bank_account_id = ACS.bank_account_id
           AND ba.bank_branch_id = bb.bank_branch_id;
    But what I also do not understand is what is the use of ap_check_stocks and ap_check_formats in the above query
    And also please let know if I can replace it with the following query or is it a totally wrong to do so and what shall miss out if i do so.
    SELECT DECODE(aisc.status,
                      'BUILT','N',
                      'FORMATTING','N',
                      'QUICKCHECK','N',
                      'Y'),
               DECODE(aisc.status,
                      'QUICKCHECK','Y',
                      'N')
          FROM ap_invoice_selection_criteria aisc,
                 apps.iby_ext_bank_accounts ba,
               apps.CE_BANK_BRANCHES_V bb
         WHERE aisc.checkrun_name  = :P_PAYMENT_BATCH
           AND ba.ext_bank_account_id = aisc.bank_account_id
           AND ba.branch_id = bb.branch_party_id;
    New to these queries too. Sorry if there is a silly point I m asking.
    Thanks a lot.

    Hi,
    as this issue is related to APPS better to post your query in the apps forum.
    Reference
    https://forums.oracle.com/forums/category.jspa?categoryID=3
    Regards, Roberto

  • Bridge Help | Create web galleries and PDFs with Adobe Output Module

    This question was posted in response to the following article: http://helpx.adobe.com/bridge/using/create-web-galleries-pdfs-adobe.html

    Plug-ins that failed to load:
    It seems to me that something is wrong with your install. Maybe you did clone a former mac to install on this one? or copies old stuff to the new one. Don't know, it seems easy and quick but I prefer always a new install using a new computer or switching to a new system upgrade.
    Lightning effects shows to be 32 bit while I think to know that Photoshop CS5 and CS5.5 are both 64 bit, however Bridge was turned to 64 bit in the CS6 version but that should not mater for you to use both applications from the same install disk (or download?)
    And variations is something I tried to find in CS6 but can't find it there. I had long forgotten this feature that presented different previews and you could switch to color corrections and brightness (not sure) while looking at the result in the previews.
    So I think you have some old material residing on your system. I would advice you to back up all custom settings (actions, tools, workspaces etc. and keywords in Bridge) Then do a search for the Adobe Cleaner tool :
    http://www.adobe.com/support/contact/cscleanertool.html?promoid=GYTAU
    (don't know this links work for you but you can find it easy with google).
    Read the instructions carefully and follow this using the official uninstaller that came with PS (see application folder). Also be sure to have your serial number and AdobeID present and while an activation of PS is for the computer maybe for security first deactivate before uninstall.

  • SUBMIT and RETUTN with ALV output

    Hello Friends,
    I have one standard program (RSVTPROT) which returns ALV output.
    I want this output as internal table into my Zreport.
    I used SUBMIT statement with RETURN but not working.
    can anybody tell me what I missed?
    Regards,
    RH

    Hi Ronny,
    ALV output of called Program will not displayed when you use Submit and Return.
    if you want to get the output of it . Identify the final Internal table where all the output of program RSVTPROT will be collected.
    i guess its <gtab> ( Field symbol Table ) .  try to get the same.

  • Create web galleries and PDFs with Adobe Output Module

    This question was posted in response to the following article: http://help.adobe.com/en_US/creativesuite/cs/using/WSe851854fd1e0856a-4b08a77612477f69f15- 8000.html

    HOW DO I CREATE A GALLERY IN DREAMWEAVER CS5!?
    This is the Bridge Forum and AOM creates its own gallery, maybe you better drop this question in the dedicated Dream Weaver Forum:
    http://forums.adobe.com/community/dreamweaver
    (and there is no need for SHOUTING...)

  • Linking tables 'mara' , 'marc ' with 'konv'

    hi, I have to link tables mara and marc to table konv.
    i want to get the field kschl from konv and
    i know the following fields : mara-werks, mara-matnr,mara-matkl, marc-ekgrp.
    We can use the following tables for linking:
    eina, a018,konh, konp,a005.
    Pls. help
    Rgds,
    Ravindra

    Hi Ravindra,
    In order to retrieve KNUMH field, you can use table A018.
    Based on the fields you have mara-werks, mara-matnr,mara-matkl, marc-ekgrp etc, fetch all relevant A018 records in an internal table and pick the record which has the latest validity end date(Field DATBI). you can use Read statment wth index 1 after sorting as per latest valid record and pick up the Condition record number(Field KNUMH).
    Now you can use this condition record # to retrieve field KSCHL from Table KONH.
    Cheers,
    Vikram
    Please reward for helpful replies!!

  • 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

  • Machine authentication with MAR and ACS - revisited

    I'm wondering if anyone else has overcame the issue I'm about to describe.
    The scenario:
    We are happily using ACS 4.1 to authenticate wireless PEAP clients to an external Windows AD database.
    We do have machine authentication via PEAP enabled, but at this time we are not using Machine Access Restrictions as part of the external database authentication configuration.
    The clients (we care about) are using the native XP ZWC supplicant and are configured to "authenticate as machine when available".
    The passed authentications log does successfully show the machines authenticating.
    The challege:
    We only want to permit users on our PEAP protected WLAN if the machine they are using has an account in the domain (and they are a Windows XP box - the currents standard corporate image).
    In a testing lab, we enable Machine Access Restrictions, with the access mapped to "No Access" if there is no machine auth, or if machine auth fails.  If a machine is shut down and boots fresh, or if the logged on user chooses to logoff while on that WLAN - we see the Windows box sends its machine authentication.  As I understand it - a windows XP box will only attempt to authenticate as a machine when a user logs off, or upon initial boot.
    In our environment (and I'm sure many others) - if a user comes into the office and docks their laptop and is attached to the wired LAN and boots or logs on - the machine maybe authenticating - but it is authenticating directly to the AD as our wired LAN is not using 802.1x or ACS radius.
    So the user maybe logged on and working on the network - and then choose to undock which activates the wireless.
    The problem then - the machine does NOT attempt to authenticate as a machine and only processes the user credentials - which get passed onto ACS vial the WLC - and when MAR is enabled with the No Access mapping for no machine auth - the user auth obviously fails.
    Has anyone seen / over come this ?
    Our goal is to enforce that only standard XP imaged machines get on the wireless PEAP network (where the configuration is maintained by GPO).

    Here's the only thing I could find on extending the schema (I'm not a schema expert):
    http://msdn.microsoft.com/en-us/library/ms676900%28VS.85%29.aspx
    If all of your clients are Windows machines, it's easier to stick with PEAP for machine auth, user auth, or both.  However, your RADIUS (ACS) server should have a certificate that the clients trust.  You can configure the clients to ignore the RADIUS server cert, but then your clients will trust any network that looks/works like yours.  Get a cert/certs for your RADIUS server(s).
    You can have PEAP and EAP-TLS configured on your ACS server without causing problems for your PEAP clients (be aware that most of my experience is with 4.1/4.2.  Earlier versions may not work the same way).  Your comment about what you're testing is confusing me.  Let's say you have (only) PEAP configured for machine auth on both the client and the ACS server (no user auth is configured on the client, or in ACS).  Your client will offer it's machine account AD credentials to the ACS server in order to authenticate to the network.  Those credentials will be validated against AD by your ACS server, and then the machine will get an IP address and connect to your network.  Once your machine is on the network, and a user tries to log on, then the user's AD credentials will be validated against AD (without any involvement of ACS).  You should not need PEAP and EAP-TLS together.  Both are used for the same purpose: 802.1X authentication for network access.  PEAP only uses AD to validate machine credentials (or user credentials), because you configured your ACS server to use AD as a user database for validating 802.1X credentials.  You could just have easily used PEAP on the client side, but told ACS to an LDAP connection to a Linux box with a user/machine database. Validating credentials for network access (802.1X) is not the same thing as authenticating to AD for server/printer/email/whatever access.  I wish I could explain this better...

  • After getting 4G with AT&T I am unable to join my network and get the error message: Unable to  join the network "Jude". How do I fix this? Thank you

    After getting 4G with AT&T I am unable to join my network and get the error message: Unable to  join the network "Jude". How do I fix this? Thank yo

    Try power-cycling your wireless router (unplg for 30 seconds, plug back in).  Here's a longer list of troubleshooting steps: http://support.apple.com/kb/TS1398.

  • I connected the TC T2 with the iMac and used Air Port Utility to have it join my existing network. Now I have green lights on Apple Base Station and TC with the cable connected to the Base Station because hen connected to TC -- I get only yellow lights fl

    I connected the TC T2 with the iMac and used Air Port Utility to have it join my existing network. Now I have green lights on Apple Base Station and TC with the cable connected to the Base Station because hen connected to TC -- I get only yellow lights flashing on both devices> 
    When Connected through the Apple Base station I have perfect internet wireless capability thru-out house.
    Lamont

    I connected the TC T2 with the iMac and used Air Port Utility to have it join my existing network. Now I have green lights on Apple Base Station and TC with the cable connected to the Base Station because hen connected to TC -- I get only yellow lights flashing on both devices> 
    When Connected through the Apple Base station I have perfect internet wireless capability thru-out house.
    Lamont

  • All of you who use the 80gb ipod classic and have problems with it freezing and syncing with itunes...well I have joined the club. This is a serious issue with apple and they need to correct it. I have tried everything to no avial.

    This is beyond frustrating. I just wasted 70 dollars between a new battery and gas for my ipod 80gb classic. It was having major issues syncing and freezing with itunes. I tried everything possible and noticed that a lot of people have been having the same issues with their ipod classics as well. I must have restored it several times and now it just totally bit the dust. Now I have to shell out 130 dollars to send it in to apple to be rebuilt/fixed. This is nonsense and I just cant believe apple isn't doing anything to address this issue. My ipod was doing great for about nearly 5 years and now  this. I even down-graded to itunes 10.7, but by the time I had it set up to try, that's when my ipod totally failed and will not even come on. Grrrrrrrrrrrrrrr

    Here is what worked for me:
      My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc.

Maybe you are looking for

  • HTTP error when trying to access RESTful web service from application

    Hi, We are getting the following error when trying to access a RESTful web service coming from Apex workspace 4.2.1 and Apex listener 2.1: ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-29024: Certificate validation failur

  • New Photos Don't Show On My Apple TV -- Is There a limit? An "Update" button? ...?

    I have my Apple TV 2nd gen set so that after two minutes is shows photos from my computer as screensaver. I have an album in iPhoto where I drag the photos I want and I've told the Apple TV to pick up those photos.  Has always worked fine. Recently I

  • Select statment not working with variables

    Hi experts, Iam trying to select some data using the follwoing code with radio buttons r6 & r7. If r6 selected,it takes from parameter and if r7 selected it takes from select options... data: l_datbi type a005-datbi,l_datab type a005-datab.     if r6

  • Deprecated versus obsolete

    Hi, This has puzzled me for several years. Can anyone tell me the difference between deprecated methods and obsolete methods? I would normally think that "obsolete" is worse than "deprecated", but that doesn't seem to be the case. For instance, the C

  • How to Validate on Tab?

    Dear All, Generally the validations we write in PAI work only on pressing the 'Enter' key. Is there a way to make them work on the press of the 'Tab' key? Regards, Alok.