Pricing related query.

Hi All,
The System that im working on has different prices maintained in the pricing conditions and the customer contracts(For any customer).The line item of the sales order pick the prices from the pricing conditions.Can someone let me know what might be the reason for maintaing different pices in the contracts and the pricing conditions.

hi,
if you create an order based on your contract, with correct settings the prices from the contract should be taken over into the order.
Balazs

Similar Messages

  • The workbook report no authorization, but related query can show part data

    Dear All,
    We meet an error, The workbook report no authorization, but related query can show part data.
    We have a workbook, it have 1 queries, and when we key in condition to run it, in one field we put on one more condition(Z3XXX = ' WZO'  & ' WZA")(User didn't have authorization for this condition),  and workbook report no authorization.
    Then we checked  authorization check log and it show "You do not have sufficient authorization on Z3XXX = ' WCO'.
    But when we execute the related query with same condition. the query can open and show WZA's data.
    I'd like to know the reason.
    thanks & Best Regards,
    Kent Yu

    Dear All,
    We meet an error, The workbook report no authorization, but related query can show part data.
    We have a workbook, it have 1 queries, and when we key in condition to run it, in one field we put on one more condition(Z3XXX = ' WZO'  & ' WZA")(User didn't have authorization for this condition),  and workbook report no authorization.
    Then we checked  authorization check log and it show "You do not have sufficient authorization on Z3XXX = ' WCO'.
    But when we execute the related query with same condition. the query can open and show WZA's data.
    I'd like to know the reason.
    thanks & Best Regards,
    Kent Yu

  • Multi-part related query reports

    http://download-east.oracle.com/docs/html/B10310_01/orbr_concepts1.htm#1012365
    Can someone provide me better info about 'Multi-part related query reports '

    Hi,
    yes you can have multiple query in your report. So you have multiple groups in your data model. Then you must put multiple repeating frames in your layout in order to extract data from your queries, selecting the desired group in the source property of your repeating frame.
    Bye
    Raffy

  • Pricing Related Querry

    Hi All
    I Have a pricing related querry. Instead of calculating final price by adding up Basic PriceTaxFreight+any other charges, the system should calculate the basic price on its own once the final price is given. For example, the customer might say that I have to give him a Corolla car at Rs10 Lakhs all inclusive. And when I enter the final price of 10 Lakhs, the system should do the backward calculation to detremine tax, freight etc etc and adjust and alter itself to include everything in 10 Laks
    How is this done/ Is it via conditions or formulas or ????

    Hi,
    This is possible in standard pricing also. Instead of having basic pricing + taxes etc, you create pricing procedure reverse way i.e. first condition should be final price and then other condition in reverse order....
    but you need to check whether this is what you are expecting in sales order as pricing procedure can calculate results based on your input....
    Regards,
    Sameer

  • How can I related Query name with Query elements?

    Hello gurus!
    I am working with BI7, content technical, well I need to find out a solution where I can related Query name with query elements (KYF, CKY, Restricted Key Figures, var, etc)
    In master data 0tctquery, exist the query element, but, I can not related with object are from what query...
    Do you know how I can do it??? some solution???
    Best Regards

    "it is impossible to relate both tables" ???
    hmmm... these are exactly the tables the Query Designer uses to "build" up the query... so trust me, they do relate
    now to get this information in an InfoCube is a totally different thing... how do you expect to report on this if you should get it in an InfoCube? let's take a simple example... assume you have a query (QUERY_1) which looks like:
                                      Sales  Sales
    Sales Org Customer    Qty      Value
    1000         ABC           10 PC  500 €
    1000         DEF             5 PC  250 €
    in your Cube you would get:
    QueryName  QueryElement
    QUERY_1    0SALESORG
    QUERY_1    0CUSTOMER
    QUERY_1    ZSLSQTY
    QUERY_1    ZSLSVAL
    if you have free characteristics, you'll add more lines... same for variables, CKFs, RKFs, conditions, ...
    I guess it would be better to create a little ABAP report using the above tables (oh, you'll be needing a lot more tables if you wish more detail)

  • Converting Relational query to XML

    set serveroutput on
    This is the code of a query to convert a relational query to xml. This code runs fine when I place the where condition at the end. e.g. where h.hospital_id=1. however when i place no such condition it begins returning errors such as
    set serveroutput on
    set long 10000000
    set linesize 50000
    set lines 20000
    set pagesize 0
    set pages 5
    set feedback off
    set head off
    SET TRIMSPOOL ON
    set long 200000000
    set linesize 32000
    set pagesize 0
    set pages 0
    set feedback off
    set head off
    Select XMLELEMENT("have:HospitalStatus",XMLAttributes('urn:oasis:names:tc:emergency:EDXL:HAVE:1.0 edxl-have_cs01.xsd' AS
                                      "xsi:schemaLocation",
                                              'urn:oasis:names:tc:emergency:EDXL:HAVE:1.0' AS
                                      "xmlns:have",
                                    'http://www.georss.org/georss' AS
                                      "xmlns:n3",
                                    'http://www.opengis.net/gml' AS
                                      "xmlns:gml",
                                    'http://www.w3.org/2001/XMLSchema-instance' AS
                                      "xmlns:xsi",
                                    'urn:oasis:names:tc:ciq:xal:3' AS
                                      "xmlns:xal",
                                    'urn:oasis:names:tc:ciq:xnl:3' AS
                                      "xmlns:xnl",
                                    'urn:oasis:names:tc:ciq:xpil:3' AS
                                      "xmlns:xpil"                                        
         xmlagg(                    
         xmlelement("have:Hospital",
         xmlforest
              (     h.hospital_id,          
                   xmlforest(
                   xmlforest(
                   h.name,               
                   h.info,          
                   h.addresses     ,          
                   h.contact_numbers) as "OrganizationInformation",     
                   xmlforest(
                   h.geo_location) as "OrganizationGeoLocation",
                   h.comments) as "Organization"
                   xmlelement("have:EmergencyDepartmentStatus",
                   (select xmlagg(
                   xmlforest(
                             eds.date_updated,
                   xmlforest(
                             eds.ems_traffic_status,
                             eds.ems_traffic_reason) as "EMSTraffic",          
                   xmlforest(
                             tcl.url,
                             tc.date_updated,
                             tc.code_value,
                             tc.ems_capacity
                        ) as "EMSCapacity",     
                   xmlforest(
                             tcl.url,
                             tc.date_updated,
                             tc.code_value,
                             tc.ems_census) as "EMSCensus",
                             xmlforest(
                             eds.ems_amb_offload_status,
                             eds.ems_amb_offload_min) as "EMSAmbulanceStatus",
                             xmlforest(
                             eds.ems_air_offload_status,
                             eds.ems_air_offload_min )as "EMSAirTransportStatus"
                   from EmergencyDepartmentStatus eds,TriageCode tc,TriageCodeListURN tcl
                   where eds.hospital_id = h.hospital_id and tc.hospital_id = h.hospital_id and tcl.hospital_id = h.hospital_id)),     
                             xmlelement("have:HospitalBedCapacityStatus",
                   (select xmlagg(xmlelement("have:BedCapacity",
                   xmlforest(
                             mb.date_updated,
                             mb.bed_no,
                             mb.bed_type,
                             xmlforest(
                             mb.capacity_status,
                             mb.available_count,
                             mb.baseline_count,
                             mb.additional_24hr,
                             mb.additional_72hr) as "Capacity",
                             mb.comments
                   from MainBeds mb
                   where mb.hospital_id = h.hospital_id and mb.bed_no NOT IN(select mb.bed_no from MainBeds mb, SubBeds sb where mb.bed_no=sb.bed_no )
                   (select xmlagg(xmlelement("have:BedCapacity",
                   xmlforest(
                             mb.date_updated,
                             mb.bed_no ,
                             mb.bed_type,
                             xmlforest(
                             mb.capacity_status
                                                 ) as "Capacity",
                             mb.comments
                                  ),(select xmlagg(
                   xmlforest(
                                  sb.date_updated,
                                  sb.bed_no,
                                  sb.sub_bed_no,
                                  xmlforest(
                                  sb.capacity_status,
                                  sb.available_count,
                                  sb.baseline_count,
                                  sb.additional_24hr,
                                  sb.additional_72hr) as "Capacity",
                                  sb.comments
                                  )from SubBeds sb  where mb.bed_no = sb.bed_no and sb.bed_no=h.hospital_id )
                   from MainBeds mb
                   where mb.hospital_id = h.hospital_id and mb.bed_no in (select unique mb.bed_no from MainBeds md, SubBeds sb where sb.bed_no=mb.bed_no))
                   xmlelement("have:ServiceCoverageStatus",
                   (select xmlagg(
                   xmlforest(
                             scs.date_updated,
                             scs.burn,
                             xmlelement("CardiologySubType",
                                  xmlforest(scs.cardiology_invasive,
                                  scs.cardiology_non_invasssive)) as "CardiologyIndicator",
                             scs.dialysis,
                             scs.emergency_dept,
                             scs.hyperbaric_chamber,
                             scs.infectious_diseases,
                             scs.neonatology,
                             xmlforest(xmlforest(
                                  scs.neurology_invassive,
                                  scs.neurology_non_invasssive) as "NeurologySubType") as "NeurologyIndicator",
                             xmlforest(xmlforest(
                                  scs.obgyn_with_labor,          
                                  scs.obgyn_without_labor) as "OBGYNSubType")as "OBGYNIndicator",
                             scs.opthalmology,
                             scs.orthopedic,
                             scs.pediatrics,
                             xmlforest(
                                  xmlforest(scs.psychiatry_adult_general,
                                  scs.psychiatry_pediatric) as"PsychiatrySubType")as "PsychiatryIndicator",
                             xmlforest(
                                  xmlforest(
                                  sst.date_updated,
                                  sst.general_ward,
                                  sst.adult_general,
                                  sst.pediatrics,
                                  sst.orthopedics,
                                  sst.nuero_surgery,
                                  sst.facial,
                                  sst.cardio_thoracic,
                                  sst.hand,
                                  sst.reimplantation,
                                  sst.spinal,
                                  sst.vascular,
                                  sst.anesthesia) as "SurgerySubTypes") as "SurgeryIndicator",
                             xmlforest(xmlforest(
                             scs.ambulance_services,
                             scs.air_transport_services) as "TransportServicesSubType") as "TransportServicesIndicator",
                             xmlforest(xmlforest(
                             scs.trauma_service,
                             scs.trauma_service_level) as "TraumaCenterServicesSubType")as "TraumaCenterServicesIndicator"
                   from ServiceCoverageStatus scs, SurgerySubTypes sst
                   where scs.hospital_id = h.hospital_id and sst.hospital_id = h.hospital_id)),
                   xmlelement("have:HospitalFacilityStatus",
                   (select xmlagg(     
                   xmlforest(
                             hfs.date_updated,               
                             hfs.hospital_eoc_status,
                             hfs.hospital_eoc_plan,          
                             hfs.clinical_status,
                             xmlforest(
                                  dc.date_updated,
                                  dc.decon_capacity_status,
                                  dc.amb_patients_capacity,
                                  dc.non_amb_patients_capacity) as "DeconCapacity",
                             xmlforest(
                             mc.date_updated,
                             mc.morgue_capacity_status,
                             mc.morgue_capacity_units) as "MorgueCapacity",
                             hfs.facility_status,               
                             hfs.security_status,     
                             xmlforest(
                                  ah.date_update,
                                  ah.admissions,
                                  ah.discharges,
                                  ah.deaths) as "Activity24hr",
                             hfs.comments,
                             hfs.clinical_operations,     
                             hfs.resources_information
                   from HospitalFacilityStatus hfs,Activity24hr ah,MorgueCapacity mc,DeconCapacity dc
                   where hfs.hospital_id = h.hospital_id and ah.hospital_id = h.hospital_id and mc.hospital_id = h.hospital_id
                   and dc.hospital_id = h.hospital_id)),     
                   xmlelement("have:HospitalResourceStatus",
                   (select xmlagg(
                   xmlforest(
                             hr.date_updated,
                             hr.staffing,
                             hr.facility_operations,
                             hr.clinical_operations,     
                             hr.comments
                   from HospitalResourceStatus hr
                   where hr.hospital_id = h.hospital_id)),
              xmlforest(h.last_update_time) as "UpdateTime"
              ))).extract('/*')
    from hospital h;__________________________________________________________________________________________________________
    ERROR:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00225: end-element tag "HOSPITAL_EOC_STATUS" does not match start-element tag "have:HospitalStatus"
    Error at line 1
    ORA-06512: at "SYS.XMLTYPE", line 111
    Edited by: 872489 on 14-Jul-2011 03:59
    Edited by: 872489 on Jul 14, 2011 9:11 AM
    Apologies for lack of formatting earlier

    Please repost this and use the tag with some decent formatting.
    See the FAQ Posting Guidelines on the main page of this XMLDB OTN Forum                                                                                                                                                                                                                                                                                               

  • Pricing Procedure related query

    If I don't see an account key in front of the pricing condition in the pricing procedure - what does it mean?  How is it picking the account key that i can see in the document.  It is not a statastical condition type.
    Any help will be highly appreciated and rewarded.

    Dear Surya
    account keys are defined and assigned  to condition types like
    img---sd-basic functions-account assignment and costing-revenue account determination----define and assign account keys
    Examples
    ERL--- sales revenues- All your price condition types are assigned here
    ERS--- sales deductions- All your discountcondition types are assigned here
    ERF--- sales Freight- All your freight condition types are assigned here
    In VKOA we maintain GL accounts for the combination of sales org,account assignment group of the customer ,account assignment group of the material, chart of accounts and account key and for this combination the GL account is this and another combination  GL account is this like this it is defined
    It is highly reqd for SD account determination
    Regards
    Raja

  • PO TAX Pricing condition related query

    hi,
    is there any Function Module, BAPI or table for getting data of Purchase Order Tax Pricing condition?
    I want To know how to retrieve TAX Condition Amounts of PO. Please guide in this issue?
    I tried function Modules: 1) PRICING   2) CALCULATE_TAX_ITEM   3) RV_PRICE_PRINT_ITEM
    I also found one table BSET
    Thanx
    JAhnavee
    Edited by: jahnavee trivedi on Jun 29, 2010 1:52 PM

    i got the solution

  • Pricing Related Question?

    *Hi Gurus,*
    *I have an issue related to pricing.that is as follows..*
    *A freight condition is there.that needs to be determined with first invoice and not for the other invoices.*
    *Ex:i have sales order with four items.This conditoin determined in the sales order.Now i am doing invoice for two items.*
    *In this the condition needs to be determined for first invoice(two items),not for other invoces.*
    Please provide solution as early is possible.
    Thanks in Advance
    Ash
    Edited by: dasariashok on Sep 27, 2011 11:03 AM

    Hi,
    I hope it is possible for the condition type KF00 (FREIGHT) check the field Condition update at master data section in V/06.
    and in condition record VK11 for that condition maintaine condition values,double click on condition line and at additional data icon you specify max no.of sale orders 01,at limits of pricing tab and maintaine max condition base value for each and max condition value.save the record
    Ex:
    max condition base value(quantity) 2 EA
    max condition value 200 inr (2 EA x 100)
    and create order you will get condition value for 2 EA max.
    i did not tried it let you do it and check.
    Thank you.

  • Regarding Pricing conditions Query

    Hi,
    I am planning to extract the table wise information on the exiting pricing condtions available in the production environment.
    Below is the plan
    obtain the latest condition record number(valid as on date) from A*** ( access sequence tables for prices) with appropriate condition types.
    pass these condition record numbers to KONP table & fetch the conditional value along with the currency.
    the problem i now have is that am not able to do a table join for the tables A**, Table A** cannot be used in a Join.
    what are the alternates available, Note i cant  have SE16N or SE16 authorization in production environment & i prefer to have a query or using SQVi

    Hi Ilango,
    You can use the pricing report to list all the condition records.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90637622-7289-2c10-a3bb-f94d9fa4a5e8?quicklink=index&overridelayout=true
    Please refer to the below document on the steps to configure a pricing report.
    Hope this helps you in generating all the condition records.
    Thanks
    Arun

  • HR related Query

    Dear All,
         Why do we use LDB in HR module?
         What is the difference between the infotypes and tables ?
         Do we use LDB in other modules?
    Thanks,
    Santhiya.B

    Hi
    Infotypes are nothing but information objects which are used in SAP HR Module
    They also contain data and we can use Select Statements to fetch the data from these infotypes
    HR deals with the INFOTYPES which are similar to Tables in General ABAP.
    There are different ways of fetching data from these infotypes.
    There are different areas in HR LIKE Personal Admn, Orgn Management, Benefits, Time amangement, Event Management, Payroll etc
    Infotypes for these areas are different from one another area.
    storing of records data in each type of area is different
    LDBS like PNP are used in HR programing.
    Instead of Select.. we use some ROUTINES and PROVIDE..ENDPROVIDE.. etc
    and in the case of Pay roll we use Clusters and we Import and Export them for data fetching.
    On the whole Normal ABAP is different from HR abap.
    For Personal Admn the Infotypes start with PA0000 to PA1999
    Time Related Infotypes start with PA2000 to PA2999.
    Orgn related Infotypes start with HRP1000 to HRP1999.
    All custom developed infotypes stsrat with PA9000 onwards.
    In payroll processing we use Clusters like PCL1,2,3 and 4.
    Instead of Select query we use PROVIDE and ENDPROVIDE..
    You have to assign a Logical Database in the attributes PNP.
    LDB is a general concept which is used in other module also
    It is another way of fetching data from database tables using GET and GET LATE commands
    see the doc
    A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables.
    LDB offers an easy-to-use selection screens. You can modify the pre-generated selection screen to your needs. It offers check functions to check whether user input is complete, correct, and plausible. It offers reasonable data selections. It contains central authorization checks for data base accesses. Enhancements such as improved performance immediately apply to all report programs that use the logical database.
    Less coding s required to retrieve data compared to normal internel tables.
    Tables used LDB are in hierarchial structure.
    Mainly we used LDBs in HR Abap Programming.
    Where all tables are highly inter related so LDBs can optimize the performance there.
    Check this Document. All abt LDB's
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fabap%2fabap-code-samples%2fldb+browser.doc
    GO THROUGH LINKS -
    http://www.sap-basis-abap.com/saptab.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    Re: **LDB**
    www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_Logical_Database_FAQ.html
    www.sap-img.com/abap/abap-interview-question.htm
    www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm
    Gothru the blog which provides info on LDB's:
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    <b>
    Reward points for useful Answers</b>
    Regards
    Anji

  • Displaying all related Query Views of an opened Query via DropDown

    Hello Gurus,
    I have following requirement in WAD for SAP BW 7:
    All Query Views related to a opened Query should be displayed and  selectable via a DropDown Item.
    In the standard WebTemplate 0Analysis there is already implemented a DropDown Item called "QueryView Selection" but i dont get it working like in the BW 3.5 template 0adhoc.
    Has anyone a solution or hint?
    Edited by: D. Gehle on Jan 13, 2011 2:15 PM
    Edited by: D. Gehle on Jan 13, 2011 2:15 PM

    Hi Shantanu
    Thank you for your reply.
    I made a trace in the web by putting &TRACE=X at the end of the string.
    I tried to analysis the transaction RSRTRACE and looked at the All Logs button against my user id.
    Firstly, i do not seem to understand what this produces other than the debug session.  I could not also seem to find any information that assisted me on how to produce a log file, and information that indicates what you have said in your reply.
    If you could further assist providing info on how to use the debugger/log file, and how to read
    - used processors
    Thank you.
    Simon

  • LBACSYS related query consuming 30% of db time

    HI,
    Below query has been consuming more than 30% of db time for past few days.
    BEGIN LBACSYS.lbac_events.logon(dbms_standard.login_user); END;
    This is related to Oracle Label security.
    Can someone suggest any workaround for this,

    Pl do not post duplicates - related to migration of db from sql server to oracle 11 g
    Continue the discussion in your original thread
    The error message is explicitly clear
    ora :01440 : can not insert null into migrlog (id column)
    Your process is trying to insert a NULL value into the ID column, which presumably cannot be NULL

  • Drag & Relate Query iView Problem

    Hi,
    I just trying the weblog
    1-2-3 Drag&Relate (or D&R for dummies)
    So all the steps mentioned in that i have followed properly but in Content Admin --> unification under Business Objects i do get sales and stores and i define them according to weblog as source and destination but under <b>edit</b> mode Relation Type is <b>Empty</b> which i think should be <b>manual</b> or something and all the other things are same as shown is screen-shot of the weblog and also in the enduser screen i get message
    <b>Query execution failed. Exception message: Error trying to execute a query statement against MetaMatrix: Error trying to establish connection to the EIS : null</b>
    So i have no clue what could be possible problem
    Kindly Help
    Regards,
    Ricky

    Hi,
    Drag&Relate and Related links iviews are 2 different types of iviews.
    1) Drag&Relate iview is part of the unification capability of the portal which can be used to get meaningful data by creating relations between business objects. Check
    http://help.sap.com/saphelp_nw04/helpdata/en/76/c6693e54d6d112e10000000a11405a/frameset.htm
    2) Related links iviews are iviews which are added as links or refernce iviews to existing iviews or pages so that it is easier to find them while navigating in the portal.
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/5f6c3eabbce712e10000000a11405a/frameset.htm
    Cheers!!

  • Yet Another ADS related query

    Hi,
    I understand there are lots of examples related to Active Data Service over the internet. But my query is a bit specific.
    If I want to include a (Real) data source instead of faking it through Threads, what would be inside the following methods.
    void startActiveData(Collection<Object> rowKeys,int startChangeCount){}
    void stopActiveData(Collection<Object> rowKeys){}
    Any sample (runnable) code would be much much appreciated.
    Thanks in advance!

    Timo Hahn wrote:
    Well, me be you don't get answers as you don't give enough information to work on. Your question is a bit ambiguous, and you did not even give your jdev version.
    TimoOk, let me put my query in another way.
    I just want a sample code to be written inside the following two methods.
    void startActiveData(Collection<Object> rowKeys,int startChangeCount){}
    void stopActiveData(Collection<Object> rowKeys){}
    wrt to this link http://download.oracle.com/docs/cd/E21764_01/web.1111/b31974/adv_ads.htm#CIHDIGID where these methods are not implemented. (they have commented out like "// Not needed. We do not need to connect to a (real) active data scource."). Can I have a sample method implementation with "real" datasource?...
    vinod_t_krishnan wrote:
    will this be helpful
    http://www.orastudy.com/oradoc/selfstu/fusion/doc.1111/e15524/uc_async_dynamic.htm
    http://prsync.com/oracle/building-a-real-time-twitter-client-with-oracle-adf-18495/
    Thanks for the links but i've already gone through them, but doesn't cater to my need.
    Regards!
    Sorry forgot to add I'm using jdev 11gR2.
    Edited by: adf_user on Aug 26, 2011 3:50 AM

Maybe you are looking for