Creating Query for deatils of theVendor Sub Range

Dear All
I am in IS RETAIL( ECC 6.0) project and are using Vendor Sub Range Scenario.A requirement has come to create a Query for the Below Fields for a specific Vendor 'S say iMPORTVENDORS..  May i know from which tables we can extract and if possible thesteps in creating this query.
Primary Vendor  Description   Ordering vendor     Description     Payment Vendor     Description     PaymentTerms
With Kindest regards

Hi,
Pls check if you could get this information from WYT3 and LFM2 tables.

Similar Messages

  • MRP - want to create query for Exception message number (MD04)

    Dear all MM kings
    consider  i had one purchase against xxxx material , if i go to MD04  In Exception message number  column i got massage number 20 Cancel process, now i want to know how many purchase order exist  in system having the Exception message number  20
    i want to define query for Exception message number 20
    is there any way to do the same

    Hi,
    There are links on the first thread on this MM board that describe how to produce a query.
    But if you have not done this before and have no ABAP experience, you might find it a bit tricky.
    You need someone to find the tabkle that stores the MRP lists and see if this contains the exception message, first.
    the structure I gave you is probably built dynamically by the program and so may not be available for a query.
    One simpler option is to use the "Collective access" tab in MD04. here you can enter an MRP controller etc. and get a list of materials. You can then find out which of the 8 numbered columns contains the exception message 20 and then sort the list in this sequence (the exception messages are linked to one of the columns and this can be different in every implementation and so I can't tell you which one it is)
    This will not just get the "20" messages unless they have been configured to use a separate column, but at least it is avail;able now without config and may be enough for your purposes.
    Steve B

  • Same Query for both Main and Sub Report

    I have a report whichs works but I don't think i'm getting the data to both the Main Report and Sub Report in the most effcient manner...  I have a report that totals users call subject counts.  But then end user wishes to see all users total counts and the grand totals of call counts on the first page then then the breakdown of types of calls on subsuquent pages...  so I created a report with a subreport in the report header....  I use the same query in both the sub and main report... however it asks the user to enter the parameters once for the main report and once for the sub report... Parameters are both the same for each; month and year...  so it currently runs the query twice I want to run it once and use the data for both reports...  I group by name and then sum the call subject counts for the user totals... and in the sub report I hide the detail section and I'm just left with the sub total line for each user, then in the main report use the same grouping and suming again and I start a new page for every user... 
    Using CR 9
    Thanks for any advice
    Vincent

    i think you need to link the main report parameter with the subreport parameters inorder to pass the parameter values from main report to subreport. So right click on subreport and go to change subreport links and add parameter fields and select parameter fields from your subreport and un check the databse fields in subreport.
    Regards,
    Raghavendra.G

  • Unable to create query for new dataset

    Something weird has happened to our BI Publisher application in production. It was working fine, we could create reports and datasets and templates just fine.
    Now all of a sudden when we create a new report and a new dataset the Data Set screen is no longer displaying. When we edit existing reports the Data Set screen does not display either.
    Has anyone experienced this problem. We are running 10.1.3.2 in production. Our test instance was just upgraded to the 10.1.3.4 ear file on our old 10.1.3.1 Oracle Application Server.
    We just now noticed it because we were going to upgrade the old 10.1.3.2 ear with the 10.1.3.4 ear like we did in test. Now we are worried that about upgrading production.

    FYI... the screen come up for list of values but not for paramenters

  • Create Records  for each date in a range

    I wish to create a report which will creat a record for every day between two dates:
    Before:
    ==============================
    Name  Start Date     End Date      Car
    Brown 01-10-2011   05-10-2011   Ford
    Brown 06-10-2011   08-10-2011   Nissan
    White  05-10-2011   09-10-2011   Kia
    After:
    ==============================
    Brown 01-10-2011 Ford
    Brown 02-10-2011 Ford
    Brown 03-10-2011 Ford
    Brown 04-10-2011 Ford
    Brown 05-10-2011 Ford
    Brown 06-10-2011 Nissan
    Brown 07-10-2011 Nissan
    Brown 08-10-2011 Nissan
    White 05-10-2011 Kia
    White 06-10-2011 Kia
    White 07-10-2011 Kia
    White 08-10-2011 Kia
    White 09-10-2011 Kia
    Please advise how I should go about this
    many thanks
    Cheers
    David

    here's a formula to help you get started...this will create a text output formula that will have the dates displayed...you'll have to modify it to include the other info that you need in your display.
    1) create a new formula that will be Basic Syntax...change the "ship date" field in the syntax below to your date field.
    dim thisdate2 as date
    dim nextdate2 as date
    dim output as string 'output is the text display
    dim daysbetween2 as number
    dim looptimes2 as number
    looptimes2 = 0
    daysbetween2 = 0
    thisdate2 = {Ship Date.DE_Ship_Date} + 1
    nextdate2 = nextvalue({Ship Date.DE_Ship_Date})
    if nextdate2 - thisdate2 > 0 then daysbetween2 = nextdate2 - thisdate2 else daysbetween2 = 1
    do
    output = output + monthname(month(thisdate2),true) + "/" + totext(day(thisdate2),0,"") + chr(10)
    looptimes2 = looptimes2 + 1
    thisdate2 = thisdate2 + 1
    if thisdate2 in nextdate2 to {Ship Date.DE_Ship_Date} then formula = output
    loop until looptimes2 = daysbetween2
    2) put this formula in a new details section that is formatted to Supress Blank Section
    3) format the formula so that it is Can Grow

  • Create query for enforcing relationships?

    Hello all,
    I have a task of "developing comparitive queries enforcing relationships between tables"? it is an Oracle db environment with a PeopleTools 8.48 front end so I am not really sure if I should pose this question here or under PeopleSoft forum?
    any assistant appreciated?

    If you're just doing a cleanup on the OPRID column, you should be aware of a few things:
    First, the PS delivered process to delete a user will only delete from tables where OPRID is a key field (it is driven by the PS_TBLSELECTION_VW view). It also references a bypass table (PS_BYPASS_TABLE) which lists additional records to exclude from the deletion process.
    Second, PS is not 100% rigorous in their data model. There are several cases where an OPRID key field does not relate to the PSOPRDEFN table.
    I have used the following SQL to check for orphaned data, but you will have to check the content of each table to verify that the OPRID column does in fact relate to PSOPRDEFN (Most likely the case if ORPHANS=ROWCOUNT).
    WITH t AS (
      SELECT RECNAME,RECDESCR,TABLE_NAME
      FROM (
         SELECT A.RECNAME
              , B.RECDESCR
              , CASE WHEN B.SQLTABLENAME=' ' THEN 'PS_'||B.RECNAME ELSE B.SQLTABLENAME END AS TABLE_NAME
           FROM PSRECFIELD A
              , PSRECDEFN  B
          WHERE B.RECNAME = A.RECNAME
          AND ((A.USEEDIT / 1) - TRUNC(A.USEEDIT / 2) * 2 <> 0)
          AND A.FIELDNAME    = 'OPRID'
          AND B.RECTYPE      = 0
          AND A.RECNAME NOT IN (SELECT C.RECNAME FROM PS_BYPASS_TABLE C)
      WHERE TABLE_NAME IN (SELECT TABLE_NAME FROM USER_TABLES WHERE NUM_ROWS>0)
    SELECT table_name
    , to_number( extractvalue( xmltype( dbms_xmlgen.getxml('select count(*) c from '||table_name)), '/ROWSET/ROW/C')) ROWCOUNT
    , to_number( extractvalue( xmltype( dbms_xmlgen.getxml('select count(*) c from '||table_name||' where oprid not in (select oprid from psoprdefn) and oprid<>'' ''')), '/ROWSET/ROW/C')) ORPHANS
    FROM t
    ORDER BY table_name
    ;I ran against an Oracle 10.2.0.4 database. It might ened some revision to work on older versions.
    Regards,
    Bob

  • How to create query for tables with many to many relationship

    in my sql i'm unable to update the table using select clause...is there any way to update a table which is in many to many relationship.
    Ex:1st table student(student_id int primary key auto_increment, student_name varchar(30));
    2nd table contact (contact_id int primary key auto_increment, c_email varchar(40));
    3rd table student_contact(student_id int references student, contact_id int references contact);
    i would like to auto insert the both two columns in the student_contact while the student and the contact table being updated automatically.

    This is a JSP/JSTL forum, not a SQL forum. If you're using MySQL, better use their own forums at dev.mysql.com.
    I'll give some hints anyway: learn about SQL JOIN. In general there is good SQL documentation available at the website of the RDBMS manfacturer. Go check it out. There is also a nice SQL tutorial at w3schools.com. Good luck.

  • Vendor Sub-range & Receiving

    Hello,
    I have setup a warehouse specific vendor sub-range to control/override the minimum order value for four articles. I have no problems creating a PO in ME21N - The sub-range appropriately overrides the main vendor minimum.
    The problem is that when attempting to receive a new order without a reference PO via MB01 for those same articles, I get a prompt that I'm not meeting the vendor minimum.
    Vendor sub-range is set to: $0 minimum order value
    Main vendor minimum is set to $200
    Any thoughts on how I could get around this? This product is vendor managed, so no PO is generated in ME21N prior to receipt.
    Thanks.

    Hi,
    Vendor sub-ranges are mostly used in creating article master data and in maintaining and determining conditions as follows:
    When you create article and info record data, you can create a unique assignment between an article and a vendor sub-range
    In conditions management, conditions can be agreed with a vendor at sub-range level. These are taken into account by the system, for example, in price determination.
    VENDOR SUB-RANGES
    For every vendor he has some subranges, for instance
    u201CGEu201D - he is a vendor
    GE lighting u2013 Vendor Sub-ranges.
    GE BPO u2013 Business Process Outsourcing.
    Ge industrial u2013 Manufacturing of industrial equipments.
    Path : Img-Logistics general-Business process-Vendor-Control-(1)Define account group and field selection.(OMSG)
    under data retent levels : purchasing, check vendor sub-range relevant. If we check this then only we can maintain vendor subranges in vendor master data .
    Here in vendor master record under purchasing data we can see a button u201Dsub-rangesu201D
    we can maintain different sub-ranges .and individually we can assign the languages for each subrange

  • How to create Query (Sq01) fro service contract

    hi,
    How to create Query for Service contracts , where i need to take a report for sub line items of that particular Service contract.
    Ex: we maintain short text - services in the initial screen ,
           in the next screen we maintain the sub line items for that short text (Activity numbers).
    Please guide me on this.
    Regards,

    Hi Sowmya,
    1 Create User Group (SQ03)
    Specify the users who should be authorized to run the query.
    2.
    Create Infoset (SQ02)
    Indicates from which part of the SAP database the data is going to be retrieved and how the data is to be retrieved by the query.
    3.
    Create Queries (SQ01)
    Create the query and arrange the layout
    for joining the two tables there should be common field should be available in both the tables then only we can able to join the table and run the query
    or use this below link
    http://www.sap-img.com/abap/step-for-using-query-sq01-sq02-sq03.htm
    Regards,
    Pramod

  • Query for non turn customer report in service module(Add-on)

    Hi,
    I want create  query for non turn customer report, that mean the customer who are not come for  last 6 months to our service workshop in service module(Add-on). this is a scenario. 
      SELECT T1.U_CardDate, T1.U_JCardNo,T1.U_TypeSrv,T2.U_VehReg,T2.U_PurchDt, T2.U_VehDesc, T2.U_VehModel, T1.U_KmsRead,   T1.U_BPCode, T0.CardName, T0.AddrType , T0.Building,T0.Block, T0.Address,T0.City,T0.ZipCode, T0.State1,T0.MailBuildi,T0.MailBlock, T0.MailAddres, T0.MailZipCod, T0.MailCity, T0.State2 ,T0.MailAddrTy,  T0.Phone1, T0.Phone2, T0.Cellular FROM [dbo].[OCRD]  T0 INNER JOIN [dbo].[@ALD_JOBCARD]  T1 ON T0.CardCode = T1.U_BPCode INNER JOIN  [dbo].[@ALD_VEHMAST]  T2 ON T1.U_BPCode = T2.U_BPCode WHERE T1.U_CardDate BETWEEN [%0] AND [%1] ORDER BY T1.U_CardDate.
    this query is get all  customer data who are not come to service workshop for last 6 month. i want to filter data who are not come last 6 months this year. kindly assist me
    thank you.

    Check this:
    SELECT Max(T1.U_CardDate) 'Lase Serve Date', T1.U_JCardNo,T1.U_TypeSrv,T2.U_VehReg,Max(T2.U_PurchDt) 'Last Purchase', T2.U_VehDesc, T2.U_VehModel, T1.U_KmsRead, T1.U_BPCode, T0.CardName, T0.AddrType, T0.Building,T0.Block, T0.Address,T0.City,T0.ZipCode, T0.State1,T0.MailBuildi,T0.MailBlock, T0.MailAddres, T0.MailZipCod, T0.MailCity, T0.State2 ,T0.MailAddrTy, T0.Phone1, T0.Phone2, T0.Cellular
    FROM [dbo].[OCRD] T0
    INNER JOIN [dbo].[@ALD_JOBCARD] T1 ON T0.CardCode = T1.U_BPCode
    INNER JOIN [dbo].[@ALD_VEHMAST] T2 ON T1.U_BPCode = T2.U_BPCode
    WHERE T1.U_BPCode NOT IN
    (SELECT DISTINCT U_BPCode FROM dbo.[@ALD_JOBCARD] WHERE DateDiff(DD,U_CardDate,GetDate()) < 183)
    Group By T1.U_JCardNo,T1.U_TypeSrv,T2.U_VehReg,T2.U_VehDesc, T2.U_VehModel, T1.U_KmsRead, T1.U_BPCode, T0.CardName, T0.AddrType, T0.Building,T0.Block, T0.Address,T0.City,T0.ZipCode, T0.State1,T0.MailBuildi,T0.MailBlock, T0.MailAddres, T0.MailZipCod, T0.MailCity, T0.State2 ,T0.MailAddrTy, T0.Phone1, T0.Phone2, T0.Cellular
    ORDER BY T1.U_CardDate

  • Query for PO Approval

    Dear Sir / Madam;
    Please Help, We try to made Query for PO Approval with condition if PO Type "ITEM" have to approve by Purchasing Manager, but for PO Type "SERVICE" have to approve by General Affair Manager.
    We Create Query for this condition " SELECT *  FROM OPOR  WHERE T0.[DOCTYPE]='I'
    We already create the stage, and this query is not work. But if try to set the total Doc greater than 1000000, it is work.
    Dear Sir / Madam, please help me to send me the right query ?
    Thanks for your help
    Regards
    Petrus

    Hi,
    I suggest to add select distinct 'true' or select 'true' for in your query like previous answer.
    Here are the solutions for your problem:
    A. for doc type is not as same as service :
    SELECT distinct 'true' FROM OPOR T0
    where $[OPOR.doctype] = N'S'
    B. For doctype is not as same as item:
    SELECT distinct 'true' FROM OPOR T0
    where $[OPOR.doctype] = N'I'
    Both have been tested and work well.
    Rgds,

  • Query for Info Provider

    How to create query for infoprovider ? I have selection criteria, calculation and result screen for queries taken from one reference query. I am new to this part so dont know which transaction we will use to create query. Is it APO part or BI/BW part ?

    I have to create queries for info provider. I have one reference query. I have to create similar selection screen as that of reference query for new query. Calculation which needs to be included in query is provided also result screen for query is given.
    how to create query in APO using above input? Which transaction do we use to create query ?
    I heard about BEx query analyzer which is there in BI for query creation . Is similar BEx functionality is available in APO ? If yes , what is t-code used for that? I know one tcode - RSRT with which I can see existing reference query selection? Is there similar tcode for query creation also in APO?

  • Query for user group

    Dear Team,
    When I am creating  Query for user group via T-code  SQ01.
    Query     ZDEMO1    then Create
    This messege is comming .
    System setting does not allow changes to be made to
    object AQQU /ISDFPS/OM  ZDEMO1
    Why this messege is comming .
    Thanks
    manu

    Dear Manu,
    Please check in SE06 >> change system options >> if the system and the relevant object is in modifiable status.
    Cheers,
    Jazz

  • Query for approval

    I have updated SBO_SP_TransactionNotification for validating sales order.The query is as follows -
    if @object_type = '17' and @transaction_type IN ('A')
    begin
            declare curItem  cursor  for Select PriceBefDi,ItemCode,SeriesName FROM
         RDR1 INNER JOIN ORDR ON RDR1.DocEntry=ORDR.DocEntry
            INNER JOIN OUSR ON OUSR.UserId=ORDR.UserSign
         INNER JOIN NNM1 ON NNM1.Series=ORDR.Series
         WHERE ORDR.DocEntry=@list_of_cols_val_tab_del AND USER_Code<>'manager'
         declare @dblPrice numeric(10,2),@dblItemPrice numeric(10,2)
           declare @strItemCode varchar(20),@strSeriesName as varchar(40)
         open curItem
            fetch next from curItem into @dblPrice,@strItemCode,@strSeriesName
           while @@fetch_status = 0
         begin                         
              SET @dblItemPrice=(select price from itm1 where itemcode=@strItemCode and pricelist=(select listnum from opln where listname='Sales price list' ))
              if @dblItemPrice>0 and charindex('DEM',@strSeriesName)=0
              begin               
                   if @dblPrice<@dblItemPrice AND charindex('REP',@strSeriesName)=0
                   begin
                        set @error =1
                        set @error_message = 'The price of the item ' + @strItemCode + ' should be equivalent to sales price list i.e.' + cast(@dblItemPrice as varchar)
                   end
                   else
                   begin
                        if @dblPrice>@dblItemPrice
                        begin
                             set @error =1
                             set @error_message = 'The price of the replacement item ' + @strItemCode + ' should not be greater than sales price list i.e.' + cast(@dblItemPrice as varchar)
                        end
                   end
              end
              fetch next from curItem into @dblPrice,@strItemCode,@strSeriesName
         end
         close curItem
         deallocate curItem
    end
    This stored procedure is working correctly as per the requirement.Sales order can not be added if the price is less than sales price list.
    Now I want to remove this validation and add approval for this.If the rule is violated ,then the document will go for approval.In SAP I have created query for approval as,
    SELECT DISTINCT 'True'  FROM OITM  WHERE ITEMCODE=$[$38.1]  AND U_Discount_Percent < $[$38.15]
    UNION
    SELECT (CASE WHEN $[$38.14]<>(select price from itm1 where itemcode=$[$38.1] and pricelist=(select listnum from opln where listname='Sales price list' ))
    THEN 'True' ELSE 'False'            END)
    Here I am getting the price as varchar.Is it possible to call stored procedure SBO_SP_TransactionNotification from query ?

    Hi Dilip,
    I have tried the following query for approval :
    SELECT 'TRUE'
    FROM OITM JOIN ITM1 ON OITM.ItemCode=ITM1.ItemCode
    JOIN OPLN ON OPLN.ListNum=ITM1.PriceList AND UPPER(LTRIM(RTRIM(OPLN.ListName)))='SALES PRICE LIST'
    WHERE OITM.ItemCode =$[$38.1.0] AND $[$38.14.NUMBER] != ITM1.Price
    It works for all the lines in Sales Order.Even If there is a single item with Price before Discount not equal to Sales Price List Value,
    System will send the document for approval.
    I have put the condition $[$38.14.NUMBER] ! = ITM1.Price assuming that the price in SO should be exactly equal to Sales Price Price  List .
    Try this query at your end and let me know the result.
    Thanks and Regards,
    Pooja Singh.

  • Query for collection "Quick Fix Engineering"

    Hi!
    I try to create query for collection,to find all workstation with install specific KB, from "Quick Fix Engineering".
    Added by this sample:
    http://myitforum.com/myitforumwp/2011/10/04/non-security-hotfix-detection-for-windows-7-2008/
    Maybe you can help? Can not find an example :(
    cenubit

    That's made a lot simpler in ConfigMgr 2012, as it can now simply be selected as an extra class in the
    Hardware Inventory of your client settings.
    Simply go in to your client settings, go to Hardware Inventory
    and click Set Classes. Here you can select the Quick Fix Engineering class to be part of your inventory.
    After an inventory you will be able to create your collection. Do keep in mind that this will also capture a lot of information that you will probably never use.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

Maybe you are looking for

  • HELP!! CC wont let me open CS6

    Hello, My CC subscription recently expired, so instead of renewing it I reinstalled my old CS6. Now, every time I try to open CS6 programs, I get the CC message saying they need to verify my subscription. Needless to say, I end up being unable to ope

  • SOLVED: Can't get CM 1015 printer to scan: where is the "HP Solution Center" ?

    Hi, I have a HP cm1015 printer. Recently win8.1 was installed, and I had to reinstall the printer. I downloaded drivers from the hp site, but I can't get the printer to scan. It prints, and copies ok, but scanning doesn't work. What is unclear:  If I

  • How to apply XSLT to XML file while importing XML data using XSU plsql API

    I need to load XML file with nested repeating elements into Oracle tables and I am using XSU PLSQL API utility package dbms_xmlSave.insertXML. Can use XMLGen package also!! I found out through documentation that I need to have XML file with ROWSET/RO

  • Adding parameter to existing CR report

    Hi everybody, I created a CR report based on a SAP query. Then I changed this query by adding a variable. This variable appeared as a new parameter in Crystal but I can't get values from the master data for this parameter. When I select the InfoObjec

  • Filter Orientation is not working correctly

    Hello all, This is my first post so thanks in advance for any help and advice given. I have recieved a CD of images from one of our suppliers and i need to separate them into Portrait, Landscape and Square. I have open the CD in Adobe Bridge via CS5