Prices Query

Hi Experts,
I have a question about a 2 queries I need to combine. First here is some background....
My client wants to see all the Price Lists Data in the Sales Order per Item Line. I created UDF's for this and linked the following query:
SELECT T0.[Price] FROM ITM1 T0 WHERE T0.[PriceList] = 1 and t0.itemcode = $[$38.1.0]
This works fine.
Because my client wants to update Prices in Bulk, we created another query that will populate the same UDF in the Sales Order with a Calculation (this does not update the Price List, but show them what they can change the Unit Price to. This is the query:
select  ((grp.u_prcnt01 * whs.avgprice)+ whs.avgprice) as 'Price1'
from oitm itm left outer join oitb grp on itm.itmsgrpcod = grp.itmsgrpcod
              left outer join oitw whs on itm.itemcode   = whs.itemcode
where whs.whscode = '01' and itm.itemcode = $[$38.1.0]
This works fine.
My problem comes to join these 2 queries....
When the Item in the Sales Order line is from Item Goup 1, it needs to bring back the 1st query result.
If the Item is from Item Group 2, it needs to bring back the 2nd query result.
Any help would be greatly appreciated.
Thanks.
Marli
Edited by: Marli Schutte on Jun 8, 2009 4:49 PM

Gordon,
Thank you, you are a Godsend!
I did put this query in the Sales Order Row UDF as a Formatted Search, but I get $0 value back for each of the Item Groups I entered.
When I saved this query it gave a Red Line error near 'When'....
In the first part of the CASE statement, I need to say which Pricelist it must look at, because I have several UDF's each looking at a specific Price List (or Item Group Persentage increase on the aveprice). Will it be correct if I do the following:
SELECT CASE WHEN T0.itmsgrpcod = '01' THEN T3.[Price] WHERE T3.[PriceList] = 1 ELSE.......
I really appreciate your help.
Marli

Similar Messages

  • SPECIAL PRICE QUERY

    Hi Experts,
    I need to make a query for special price query.
    1. Customer Name/Item Name/Original Price(as Retail Price List)/Special Price/Start of Date/End of DATE
    2. Search By End of Date
    Can anyone help to make this query?

    Hi Stephen......
    You can find those detials in OSPP and SPP1 Table......
    Try this.........
    SELECT Distinct T2.CardName, T3.ItemName, T5.ListName as 'Price List',
    T4.Price as 'Original Price from Price List', T0.Price As 'Special Price',
    T1.FromDate as 'From Date', T1.ToDate as 'Valid Date'  FROM OSPP T0 Inner Join SPP1 T1
    On T0.ItemCode=T1.ItemCode Left Join OCRD T2 On T0.CardCode=T2.CardCode Left Join OITM T3
    On T0.ItemCode=T3.ItemCode Left Join ITM1 T4 On T0.ItemCode=T4.ItemCode Left Join OPLN T5
    On T5.ListNum=T4.PriceList
    Regards,
    Rahul

  • Special prices query

    Hi All,
    Hope you someone can help me on a query.
    I have a price list "sales standard price list" having increased it by 5% from january it has affected / updated  all the Special prices associated with the 5% increase having auto update flagged.
    The  BP - items special prices which have the OSPP - AutoUpdt as "Y" have also been increased. I will need to update certain BP - Item  linked to special prices but are not flagged i.e., OSPP- AutoUpdt "N"
    I need a list of the item which have not been updated that i refer and see *** some of the items require to be manuallu update with 5% increase in special prices too.
    A query to  identify the details
    BP / Item No / Price after discount - Special Prices on which the Autoupdt box is not checked. / Price list if possible.
    Thank you,
    Regards,
    Rakesh N

    Thanks have resolved it using query generator OSPP. It was easy though.

  • Weird problem with price query

    Hi when i set the special price 'Price list item details by period' and then run a query to get the special price, some of the period prices are different from the query
    The query i am using is
    <i><b>SELECT T1.LineNum,T1.Price as 'Special Price', T1.ItemCode, T1.Discount
    FROM SPP1 T1
    WHERE T1.CardCode = '100250' and  T1.ItemCode = 'item' </b></i>
    For example i made a special price for customer 100250, the price shown in SAP is 7.43 with 25%, but when using a query like above, it returned 8.23 with 25% discount.
    Any idea on why is it like this? It only happen to some of the records, and also is it right to use the price stated there or should i manually calculate the price based on the pricelist and the discount?
    Thank you

    Hi Melvin,
    The price gets influenced by various factors, including discounts, hierarchies and expansions, discount groups, volume discount, etc.
    The best way I have found to get an item's price is to use the SboBob object in the DI API. Use it as follows:
            Dim oBob As SAPbobsCOM.SBObob
            Dim oRecord As SAPbobsCOM.Recordset
            oBob = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoBridge)
            oRecord = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
            oRecord = oBob.GetItemPrice("C1000", "A1000", 5, Date.Now)
            oRecord.MoveFirst()
            MessageBox.Show(oRecord.Fields.Item(0).Value)
    The parameters for the GetItemPrice method is CardCode, ItemCode, Quantity, Date.
    Hope it helps,
    Adele

  • Moving average price query

    Hi Team,
    The Purhcase order is created for 50 qty reference to Contract price 284.58 and we have done the GR for 33 qty on 01 April and invoice completed on 07 april for 33 qty and for the remaning qty 17 we have processed the invoice intially before GR on 18 June and reversed it on 19 June and reprocessed invoice for 17 qty on 26 June also mistankenly one more invoice processed for 8 quantity on 26 June and reveresd on the invoice for 8qty on 14 july and finally we processed the Goods receipt for 17 qty on 15 July and system has picked the Material price as 267.81.
    I know this is an SAP standard behavior for Material with Moving average price,
    The reason for the Goods Receipt Material price value picked by the system as 267.81 is
    INVOICE for 17*284.58 =  4837.86
    INVOICE for 8* 232.18  =  1857.44
                      Total 25     =   6695.3
    Total value (6695.3) / total quantity (25) = 267.81 (Material price)
    Hence when we post the goods receipt system has picked the Material value as 267.81.
    Could you please let me know the reason on the SAP behvaiour below
    we have revered the invoice on 14 July for 8 qty and processed the GR for remaining PO qty 17 only on 15 July eventhough system has picked the Material price as 267.81
    i couldn't able to find the Material price form where system has picked. (it's not update in Material master and table MBEW)
    Thanks in advance.

    Hi Karthikeyan,
    Tcode MR51 check your all material document currency key for amounts in the system which document change to price see you..
    MBEW is last average price listed.
    You need to change average price use to Tcode MR21
    Regards,
    Cem ATES

  • Content query using linked property [WLP 9.2]

    Hi -
    I've set up a content type in WLP 9.2 that consists of three properties:
    - linkedDevice (Link-Property -> to Node of type Device)
    - linkedTariff (Link-Property -> to Node of type Tariff)
    - combinedPrice (Double-Property)
    Now I'm trying to get the price for such a combination of Device and Tariff by using the <cm:search> like this:
    <cm:search id="prices" query="linkedDevice contains '${device.id}'>
    I've made sure that ${device.id} is initialized to contain something like "/BEA Repository/12345" before calling cm:search.
    Unfortunately, I've not been able to query for Nodes using the tag libs / API so far - and I don't get any errors in the logs for the com.bea.content.manager.* classes.
    Any hints? Anybody? :-)
    Thanks,
    Alex

    Currently we dont support linked property in the metadata search(SQL search). So your search query will not work. But if you want to find out the nodes that link to a particular node, you can use our INodeManager.getNodeReferences(). Please refer to the javadoc of INodeManager for more information.

  • Error message "Tax code V1 does not appear in any G/L account item"

    Hi,
    I am getting the error message FF753- Tax code V1 does not appear in any G/L account item when I post a subsequent credit via miro.
    It does not give the error with invoice or credit memo for the sames GL accounts.
    History:
    PO created
    Goods receipt
    Invoice posted and blocked as value greater than PO
    Subsequent credit put on to correct the values in price query - error appears
    I know if I go to FS02 and make the GL code * tax relevant it will remove the error but we dont want tax to go to this account as its a main inventory GL code. 
    Can anyone advise why it would appear on the subsequent credit but not on invoices or credits.
    Also is there something I can set up to remove this issue apart from making the GL code tax relevant - it must not need it if the other postings work ok.
    Thanks

    Doesnt matter that it works for credits and invoices with blank tax you still need to put * in GL code for subsequent credit etc postings

  • Third party synchronous interface to SAP

    Hi,
      I have a scenario where system A (third party app) needs to send a "show me prices" query to SAP and this needs to be synchronous.
    Can anyone tell me if there is a walkthrough for this scenario I can look at?
    I believe I need an integration process in the mix but need to see how this all hangs together.
    3rd party interface -> Integration process [IP]
    IP to sap (sync)
    SAP to IP response (sync)
    IP to 3rd party
    Cheers,
    Ross

    >>  A previous consultant has set this up as a sync message SOAP to PI to SAP but there is no response leg coming from SAP even though the interface is defined as synchronous
    Modify the interface from synchronous to Asynchronous and dont need BPM
    Make changes
    a) In SOAP Sender adapter  change Quality of Service from Best effort to Exactly once
    b) outbound service interface and inbound service interface in ESR , make asynchronous
    c) Mapping only for request.
    d) Rest all same.
    e)recreate WSDL.
    The previous given link will be helpful to know about SOAP adapter.
    Check this link too.
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    Hope that helps.
    In addition to above suggestion,  A recent blog about handling synchronous to asynchronous without BPM.is below. This might give some idea for your SAP side...(no response)
    /people/rajeshkumar.pasupula/blog/2011/03/07/unleash-synchronous-scenarios
    Edited by: Baskar Gopal on Mar 16, 2011 4:48 PM

  • Using MS Access database within Servlet

    Hi
    l've been trying since a week to extract data from my database
    within my Servlet, but it doesn't work.
    l get the reply with empty table, yes no data in it !!
    my classes and the database are located in WEB-INF/classes directory
    can someone help me please ?
    thanks

    [i]this is my code
    // first class
    package servletcommercial;
    Class Product
    //Business object for products, note quantity in stock is a string
    public class Product {
    private String productId;
    private String description;
    private String category;
    private String quantityInStock;
    private int price;
    public Product
    (String productId, String description, String category, String quantityInStock, int price)
    this.productId = productId;
    this.description = description;
    this.category = category;
    this.quantityInStock = quantityInStock;
    this.price = price;
    //Setter methods
    public void setProductId(String productId)
    this.productId = productId;
    public void setDescription(String description)
    this.description = description;
    public void setQuantityInStock(String quantityInStock)
    this.quantityInStock = quantityInStock;
    public void setPrice(int price)
    this.price = price;
    public void setCategory(String category)
    this.category = category;
    //Getter methods
    //second class
    package servletcommercial;
    Class ProductCollection
    import java.util.*;
    import java.sql.*;
    public class ProductCollection {
    private Connection cn;
    private String driverName;
    public ProductCollection()
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    cn =
    DriverManager.getConnection("jdbc:odbc:M360Catalogue", "Darrel", "");
    catch(Exception e){System.out.println("Problem setting up database"+e);};
    public Enumeration getCollectionPrice(int price)
    Vector extractedProducts=new Vector ();
    ResultSet rs;
    Statement query;
    try
    query = cn.createStatement();
    String queryString =
    "Select * from Products where Price > "+price;
    System.out.println(queryString);
    rs = query.executeQuery(queryString);
    while(rs.next())
    Product extractedProduct = new Product
    (rs.getString(1), rs.getString(2), rs.getString(3),
    rs.getString(4), rs.getInt(5));
    extractedProducts.add(extractedProduct);
    rs.close();
    catch (Exception e){System.out.println("Problem with query "+e);}
    return extractedProducts.elements();
    public Enumeration getCollectionCategory(String category)
    Vector extractedProducts=new Vector ();
    ResultSet rs;
    Statement query;
    try
    query = cn.createStatement();
    String queryString =
    "Select * from Products where Category ='"+ category+"'";
    System.out.println(queryString);
    rs = query.executeQuery(queryString);
    while(rs.next())
    Product extractedProduct = new Product
    (rs.getString(1), rs.getString(2), rs.getString(3),
    rs.getString(4), rs.getInt(5));
    extractedProducts.add(extractedProduct);
    rs.close();
    catch (Exception e){System.out.println("Problem with query"+e);}
    return extractedProducts.elements();
    //last class
    M360
    Exercise 7.3
    Class CommServletSolution
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    public class CommServletSolution extends HttpServlet {
    private static final String CONTENT_TYPE = "text/html";
    private ProductCollection pc = new ProductCollection();
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
    PrintWriter out = response.getWriter();
    response.setContentType(CONTENT_TYPE);
    if((request.getParameter("pulldown")).equals("priceselect"))
    String price = request.getParameter("data");
    String priceInPence = (Integer.parseInt(price)*100)+"";
    Enumeration en = pc.getCollectionPrice(Integer.parseInt(priceInPence));
    //Display table
    out.print("<P>The table of goods for your price query ** price "+" > " +
    price+" ** is shown below</P>");
    displayTable(out, en);
    if((request.getParameter("pulldown")).equals("categoryselect"))
    String category = request.getParameter("data");
    //Get enumeration to retrieved products
    Enumeration en = pc.getCollectionCategory(category);
    //Display table
    out.print("<P>The table of goods for your category query ** category = "+
    category +" ** is shown below</P>");
    displayTable(out, en);
    public static void displayTable(PrintWriter out, Enumeration en)
    //Helper method which displays tables
    //Table header
    out.println("<TABLE BORDER>");
    out.println("<TR>");
    out.println("<TH>Description</TH><TH>Category</TH><TH>Quantity</TH><TH>Price</TH>");
    out.println("</TR>");
    //Table rows
    while(en.hasMoreElements())
    Product chosenProduct = (Product)en.nextElement();
    int penceAmount = chosenProduct.getPrice()%100;
    String pence=""+penceAmount;
    if(penceAmount<10)
    pence = "0"+penceAmount;
    if(penceAmount==0)
    pence ="00";
    out.println("<TR>");
    out.println("<TD>" + chosenProduct.getDescription()+"</TD>"+
    "<TD>" + chosenProduct.getCategory()+ "</TD>"+
    "<TD>" + chosenProduct.getQuantityInStock()+"</TD>"+
    "<TD>" + chosenProduct.getPrice()/100+"."+
    pence+"</TD>"
    out.println("</TR>");
    out.println("</TABLE>");

  • ESS Travel - request transportation / accommodation

    Help
    I'm using business package ess of the portal.
    I thought he represented the transaction trip with all its features.
    However I am not finding place to come with information, transportation and accommodations in the functionality of creation of requests for travel.
    I need this functionality in my project.
    Do you have any suggestion.
    Does bp ESS does not have this functionality (request transportation / accommodation)?
    thank you.

    it's does effect your current Portal ESS.
    Only you are upgrading the Backend system to Eh P2 which means for travel you will get additional software component FIN_TRAVL_1 which needs to be activated after upgrading the ECC.
    You can read the  below SAP PROVIDED Notes
    SAP NOTES
    FIN_TRAVEL_1: Business Function Travel Management (New)
    Use
    As of SAP ECC 6.0, Enterprise Extension Travel Management Extension, enhancement package 2 (EA-TRV 602), you can use the business function Travel Management. This business function encompasses the new and extended functions of the Travel Management (FI-TV) component described below.
    New User Interface in SAP Enterprise Portal
    The extended travel management applications in Employee Self-Service (ESS) of SAP Enterprise Portal are based on Web Dynpro ABAP technology. If you activate this business function, SAP Enterprise Portal no longer launches the Web Dynpro Java applications, but rather the new Web Dynpro ABAP applications. Users require new authorization profiles, which are defined in the new standard roles. The following Web Dynpro ABAP applications are available in ESS:
    My Trips and Expenses
    The Personal Object Worklist (POWL) for travelers lists the travel requests, travel plans, and expense reports (travel expenses) for each individual traveler. Travelers run applications from within the POWL; for example, to create a new travel plan using the data from a travel request, or to change the expense report. Travelers also can launch the applications for creating travel requests, travel plans, and expense reports, directly in ESS.
    My Employees
    The POWL for travel assistants lists the travel requests, travel plans, and expense reports for all employees assigned to the assistant. Travel assistants can perform tasks such as creating and changing travel plans for employees, and copying travel plans from other employees.
    Create Travel Request
    Create Travel Plan
    Create Expense Report (Create Travel Expense Report)
    My Travel Profile
    Route Planning
    Unlock Personnel Number
    If certain conditions are given, you can implement the new Web Dynpro ABAP application for the following standard role in Manager Self-Service (MSS):
    Approving Manager
    To implement this new application in SAP Enterprise Portal, you need to provide an iView.
    This application enables you to perform the approval process without SAP Business Workflow and Organizational Management. For more information, see the section that follows.
    New User Interface: SAP NetWeaver Business Client (NWBC)
    Users can run the following role-based Web Dynpro ABAP applications in the NWBC, independent of the new standard roles assigned to those users:
    Traveler
    The POWL and applications are the same as the My Trips and Expenses application in SAP Enterprise Portal. The POWL also provides access to the applications My Travel Profile, Route Planning, and Unlock Personnel Number.
    Travel Assistant
    The POWL and applications are the same as the My Employees application in SAP Enterprise Portal. The POWL also provides access to the applications My Travel Profile (for all employees), Route Planning, and Unlock Personnel Number (for all employees).
    Approving Manager
    The POWL for approving managers lists the travel data requiring approval for all employees assigned to the manager. Approving managers can approve or reject expenses, and send explanatory comments to the employees via e-mail.
    The POWL enables approving managers to define substitutes for limited periods of time, and to act as a substitute for other approving managers.
    Travel Policy Administrator
    Users with this role can execute the following Customizing applications for managing travel policy:
    Change Predefined Addresses
    Define Maximum Rates and Default Values for Expense Types
    Define Maximum Amounts for Hotel Nights
    Define Hotel Catalog
    Define Customer Programs
    Define Agreements Between Travel Service Providers on Customer Programs
    Integration of Travel Requests and Travel Planning
    The areas of travel requests, travel planning and expense reports are fully integrated in the new Web Dynpro ABAP user interface. Users can copy the following travel data:
    When creating travel plans, users can copy data from their travel requests. When users create a new travel plan, the system displays a list of open travel requests, from which users can copy data to the new travel plan.
    When creating expense reports, users can copy data from their travel requests or travel plans. When users create a new expense report, the system displays a list of open travel requests and travel plans, from which users can copy data to the new expense report.
    The POWL of each user shows the status of the user's trips and provides users with easy access to the subsequent actions that are possible (for example, once a travel request is approved, the user can choose Create Travel Plan).
    Integration of Travel Services and Travel Preferences in Travel Requests
    In travel requests, you can specify which travel services are required for the following modes of travel (but you cannot reserve or book them here):
    Flight
    Hotel
    Car rental
    Rail
    Other travel services
    For more information, see the section that follows.
    The system displays the preferences of a traveler based on his or her travel profile. At a later date, you can transfer the data a travel request to a travel plan, and book your trip. Alternatively, you can transmit the travel request to a travel agency, which then books the trip for you.
    Other Travel Services
    In travel requests, you can now specify (but not reserve or book) other travel services. Other travel services include the following:
    Ferry
    Helicopter
    Airport shuttle
    In Customizing you determine which other travel services are displayed and which entries can be made by users. See Other Travel Services.
    Copying of Travel Requests
    Users can copy travel requests. Travel assistants can copy travel requests of one traveler for another traveler, and edit the new request. (Both travelers need to be on the employee list of the travel assistant.)
    Saving of Drafts of User Entries
    The Save Draft function allows users to temporarily save your entries in the applications (except in travel travel planning). The system saves the incomplete entries with the status Open.
    Expense Types per Schema
    To each schema, you can assign those expense types that need to be available in the respective schema. If you do not specify any expense types for a schema, then all expense types stored in the system apply to that schema. You can use this function to create a schema for miscellaneous receipts, which enables employees to enter receipts that are not directly related to a specific trip. These might be expenses for phone costs, office supplies, or promotional gifts on behalf of consultants or sales staff. See Restrict Travel Expense Types for Trip Schemas.
    This function is also available in SAP GUI.
    Advanced Passenger Information
    In travel plans, you can enter additional passenger data for Advanced Passenger Information System (APIS). When a flight is booked, this data is transmitted to the airlines via a Global Distribution System (GDS). In Customizing, for each country key you can determine whether travelersare required to enter APIS data, and which data items are required. See Define Data for Advanced Passenger Information System.
    This function is available only in the new Web Dynpro ABAP user interface.
    Sarbanes-Oxley Compliance
    The following functions have been extended to ensure audit ability of statutory rules, such as those prescribed by the Sarbanes-Oxley Act:
    Credit Card Receipts in Expense Reports
    You can define in Customizing that users cannot delete credit card receipts. See the field documentation under Set Up Feature TRVPA for Travel Expenses Parameters.
    In expense reports, you can itemize your private expenses as separate receipts and allocate them to private expense types (for example, use of mini-bar). This documents the personal portion of expenses in the system.
    Additional Receipt Information in Expense Reports
    When entering expenses, you can specify internal and external participants of an entertainment event in the form of a table under additional receipt information. You can evaluate this information in reporting. In Customizing, for each trip provision variant and expense type, you can determine whether users are required to enter such participants. See Field Control for Additional Receipt Information.
    These enhancements are also available in SAP GUI.
    Use of Scanned Receipts and Adding of Attachments
    If you use optical archives for Travel Management, in expense reports you can display receipts that are scanned into the system. When scanned receipts are allocated to an expense report, the system shows them in the POWLs for travelers, travel assistants, and approving managers.
    Travelers can add attachments to their expense reports (for example, the agenda of a convention). This can be done when creating an expense report or in the POWL. Attachments are linked to the trip number and can be viewed by travel assistants and approving managers.
    Enhancements in Flight Reservations
    Flight reservations have the following new functions:
    You can determine whether the Amadeus reservation system should apply Value Pricer or Master Pricer in fare-driven flight availability queries. You do this with the MASTERPRICER attribute in table TA20SWITCH. See Define Enterprise-Wide Control Parameters.
    The system sorts best-price query results by price, but groups different flight combinations that have the same price. Within these groupings, you can select any combination of outbound and return flights.
    If you have set up a direct connection to a flight reservation system such as TRAVELfusion (in addition to GDS), the system shows the available flights for both reservation systems in the fare-driven flight availability list.
    Enhancements in Bookings at Deutsche Bahn (German Railway)
    Train reservations using NVS (Amadeus) have the following new functions:
    You can book tickets for multiple passengers. You can specify whether each individual passenger has a BahnCard. For international trips, you can enter the age of each passenger, for example, to receive a discount for people under the age of 26.
    You can book tickets, reserve seats, or both.
    When booking a trip, you can request a Bahn-Tix. Then, prior to departure you can pick up the train ticket at any DB ticket machine for intercity rail traffic. At the ticket machine you can identify yourself with your BahnCard, credit card, Eurocheque card, or the order number shown in the booking data.
    Enhancements for Hotel Reservations
    You can sort hotels according to different criteria such as price, star rating, or distance from the address.
    Generic XI Interface to Rail Portals
    As an alternative to using a global distribution system (GDS) to include rail connections in Travel Planning, you can instead use rail portals for this purpose. Using SAP NetWeaver Exchange Infrastructure (XI), Travel Planning provides a generic interface for connections to rail portals. One such connection is the Deutsche Bahn Corporate Portal (also referred to as Bahn Internet Booking Engine = BIBE).
    Generic XI Interface to Flight Reservation Systems
    As an alternative to using a global distribution system (GDS) to include flights in Travel Planning, you can instead use flight reservation systems for this purpose. Using SAP NetWeaver Exchange Infrastructure (XI), Travel Planning provides a generic interface for connections to flight reservation systems. This enables you to book flights with low-cost carriers (LCC) and Web fare deals on the Internet. Travel Planning displays the offers of flight reservation systems as part of the fare-driven flight availability list, together with offers from a GDS.
    Enterprise Services
    Report programs and BAdIs (Business Add-ins) are available for the new Enterprise Services for the following process components:
    Expense and Reimbursement Management
    Travel Management
    Business Data Management
    Personnel Administration
    For more information, see HCM_SRV_CI_1: HCM, Enterprise Services 01 (New).
    Effects on Existing Data
    You can continue using existing travel data without restrictions.
    Effects on Customizing
    The following IMG activities are new:
    If you want to implement the other travel services in the Travel Request component, perform the IMG activities under Travel Request.
    To adjust the processes for the integration of rail portals, use the Business Add-in (BAdI) Adjust Processes for Integration of Rail Portals.
    To configure APIS, perform the IMG activities Define Data for Advanced Passenger Information System and BAdI: Adjust Creation of APIS Elements.
    To assign expense types to schemas, perform IMG activity Restrict Travel Expense Types for Trip Schemas.
    The following IMG activities have been extended:
    To define that users may not delete credit card receipts, perform IMG activity Set Up Feature TRVPA for Travel Expenses Parameters.
    To extend the additional receipt information with the participants in entertainment, perform IMG activity Field Control for Additional Receipt Information.
    To use Master Pricer, perform IMG activity Define Enterprise-Wide Control Parameters.
    See also
    For more information, see the SAP Library under Business Function Sets and Busines
    Regards
    Vijay

  • Query for Price difference account when item is not sold but not on stock

    Hi Experts!
    One of my clients accountant requires a report which will help for what to do with the balance of the price difference account.
    At the and of the year there are some postings on this account, but not every item that hadnt been on stock when A/P Invoice arrived were sold. Some item were waistrel and put into a waistrel warehouse, but not sold.Some item were sent back to the supplier, but not sold.
    Is it possibble to make a query for knowing where to post the balance of the price difference account? Not all should be post to the Cost of goods sold.
    Thank you in advance!

    Hi,
    The query is possible.  However, it is a complicated one. It is also need to involve detailed analysis to your transaction histories.  You may start from OINM table to check.
    Thanks,
    Gordon

  • Query to identify the Latest Pur Price of a item's First PO doc Num & Date

    Hi Experts,
    Version: 2007B
    I want a query to do FMS in my purchase order UDF.
    The information i need in UDF through FMS is,
    I want the document number and Posting date of the first document of the Last purchase Price. Let me make it more clear with the example.
    I am creating a Purchase order of PO01 for a item XXXX1  on 12/3/11, and enter the price of INR 400.
    and again creating the Purchase order of PO25 for the same item as on 25/04/11, here since the last purchase is the price list am selected in the document level , it will show me as 400. its right.  now here i want the information in my UDF is   " Ref:PO01 as on 12/03/11"
    This information am using it to identify the LATEST PURCHASE PRICE'S FIRST DOCUMENT DATE AND ITS DOC NUMBER to give a proof to the supplier.
    Hope this information would explain my requirement.
    Regards,
    Dwarak
    Edited by: Dwarakanath.P on Apr 19, 2011 3:11 PM

    Dear GordonDu,
    While executing this query, am getting these errors.
    1). [Microsoft][SQL Native Client][SQL Server]Unclosed quotation mark after the character string ' as of +T0.DocDate  From OPOR T0 INNER JOIN POR1 T1 ON T1.DocEntry=T0.DocEntry  WHERE T1.ItemCode = $[$38.1.0]  ORDER BY T0.DocDate DESC FOR BROWSE '. 2). [
    2). [Microsoft][SQL Native Client][SQL Server]Incorrect syntax near '$38.1.0'. 2). [Microsoft][SQL Native Client][SQL Server]Statement 'Service Contracts' (OCTR) (s) could not be prepared.
    Please Let me make sure of my requirement once again in short.
    1)  I have created a UDF in a Purchase Oder at title level.
    2) next, i am creating a PO for 3 items.
    3)now, i want to display the 3 items doc no and Posting date of the first Puchase order of the latest price(Last price).
    thanks for your time, if you dont mind , and if you need i can also come in skype voice chat to clarrify my requirement friend.
    thanks & regards,
    Dwarak

  • Terms user query Changes in unit price in purchase order and a/p invoice

    Dear sir
         please give me a term user query for , if any changes in unit price in purchase order and a/p invoice

    Hi,
    Try this:
    SELECT  Distinct ' true'
    FROM adoc T2
    JOIN ado1 T0 ON T2.docentry = T0.docentry AND T2.Objtype = '22'
    JOIN por1 T1 ON T1.docentry = T0.docentry AND T1.Linenum=T0.Linenum
    WHERE  $[$38.14.number] != T0.Price
    Thanks & Regards,
    Nagarajan

  • Not able to query the price of PTO model through Pricing and availability

    Hi all,
    I book an order for PTO model through OM, i get the prices displayed,
    if i query the same model through Pricing and availability form, to know the price, there is no item found in the LOV
    The same model in istore, shows no prices in the catalogs.
    What might be the reason??
    Regards,
    PRasad

    I think this could be because the configurations are created and priced dynamically at the time of order entry.

  • Query for last 5 Purchase Price for items

    Dear All
    I was trying to write a query in which
    i want to display Items with last 5 purchase price
    itemcode     UOM      Last Purchase Price        II Last Pur Price       III Last Pur Price        IV Last Pur Price         V Last Pur Price
    but not getting right result because of future posting and post date entries as I am considering Max(DocNum) for Query.
    SELECT distinct a.ItemCode, a.invntryUom
    , (select Price from PCH1 where itemcode=a.itemcode and
    docentry=(select max(docentry) from PCH1 where itemcode=a.ItemCode)) as 'II Pur. Price'
    , (select Price from PCH1 where itemcode=a.itemcode and
    docentry=(select max(docentry) from PCH1 where itemcode=a.ItemCode and docentry<(select max(docentry) from PCH1 where itemcode=a.ItemCode))) as 'II Pur. Price'
    , (select Price from PCH1 where itemcode=a.itemcode and
    docentry=(select max(docentry) from PCH1 where itemcode=a.ItemCode and docentry<(select max(docentry) from PCH1 where itemcode=a.ItemCode and docentry<(select max(docentry) from PCH1 where itemcode=a.ItemCode)))) as 'III Pur. Price'
    , (select Price from PCH1 where itemcode=a.itemcode and
    docentry=(select max(docentry) from PCH1 where itemcode=a.ItemCode and docentry<(select max(docentry) from PCH1 where itemcode=a.ItemCode and docentry<(select max(docentry) from PCH1 where itemcode=a.ItemCode and docentry<(select max(docentry) from PCH1 where itemcode=a.ItemCode))))) as 'IV Pur. Price'
    , (select Price from PCH1 where itemcode=a.itemcode and
    docentry=(select max(docentry) from PCH1 where itemcode=a.ItemCode and docentry<(select max(docentry) from PCH1 where itemcode=a.ItemCode and docentry<(select max(docentry) from PCH1 where itemcode=a.ItemCode and docentry<(select max(docentry) from PCH1 where itemcode=a.ItemCode and docentry<(select max(docentry) from PCH1 where itemcode=a.ItemCode)))))) as 'V Pur. Price'
    , Max(b.docentry) as 'MaxDocEntry'
    FROM OPCH INNER JOIN
    PCH1 b ON OPCH.DocEntry = b.DocEntry INNER JOIN
    OITM a ON b.ItemCode = a.ItemCode
    group by a.ItemCode, a.invntryUom
    order by a.ItemCode
    Please help me on this.
    Regards
    Anubha Paliwal

    Hi........
    Try this......
    SELECT Top 5 T0.[DocNum], T1.[ItemCode], T1.[Dscription], T1.[Price], T3.[ItmsGrpCod],
    T3.[ItmsGrpNam] FROM OPCH T0 INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON
    T2.ItmsGrpCod = T3.ItmsGrpCod WHERE T3.[ItmsGrpNam] ='[%0]' ORDER BY T0.[DocDate] desc
    Regards,
    Rahul

Maybe you are looking for

  • Mail.app redirect script doesn't work

    I'm trying to script a batch process to redirect selected messages in the Mail application. I found a nifty script on macosxhints.com--only one problem: it doesn't work with 10.4's Mail. The script fails ("variable is undefined") when trying to get t

  • Batch Action to Distribute Layers Evenly (without align/distribute tool)

    Hi everyone, I'm having trouble distributing layers in photoshop. I have try many way to batch the process via action script but failed doing it the way I needed it. Please let me know if you have any idea. Here's what I need to do. I have 360 PNGs (

  • Connection problems to Analysis Services (local)

    Hi everybody, I can not access to "Analysis Services" in local way with SQL Server Management Studio. I get the following error:  "Unable to establish a connection. Make sure the server is running. (Microsoft.AnalysisServices.AdomdClient)" "You can n

  • Git Already Installed - Should I uninstall before Installing XCode 4?

    Hi Folks I already have git installed (Version 1.7.3.4 in /usr/local/git). I would like to use XCode 4 but as I understand it it installs git. So my question is really do I need to try and uninstall my existing git to avoid conflict or perhaps I coul

  • Where is the trial download link for CS5.5 Premiere?

    A coworker bought Premiere CS6 so he sold me his CS5.5 version. However, he is out of state, so I'm wondering if I can download the trial version and enter the license number, so he doesn't have to ship it to me. Where can I download Premiere 5.5 or