How to get the pricing hierarchy based on the delivery date for sales order

Hi,
How to get the pricing hierarchy based on the delivery date for sales order other than system date.
My requirement is to get the Pricing hierarchy based on the delivery date other than system date.
Waiting for kind response.
Best Regards,
BDP

HI Sai,
please refer teh document already how to write FM based extration on generic extractors.
and here  the logic to find the latest records values:-
-> get the data in an internal table
->Sort the internal table data based from date descending
-> Using READ statement , we can read the first record of the table which is nothign but your latest record.
Regards.
Sakthi

Similar Messages

  • How to configuration of pricing procedure based on the Region

    Hi,
    please help me how to configuration of pricing procedure based on the Region in the roll out project.
    Thanks
    mustafa

    What I proposed to do was,
    a. Create routes like 0 day route, 1 Day route, 2 day route etc.
    b. Route determination is based on the Shipping condition of the customer. Put in the shipping condition for the customer as 00 - immediate delivery. 01 - By Truck, 02 - By Rail, 03 - Ship etc
    c. Now, put in your route determination in such a way that routes change in the sales order with shipping condition (SC). Like, if the shipping condition is set to 00, then 0 day route comes up. Meaning immediate delivery, if SC is 01, then your normal route by truck picks up. etc.
    When the sales order is manually created, you know the time of creation. As route is one of the criteria, the material confirmation happens based on number of days you put in the route to reach the destination. Now that you have the material available for today's delivery, the delivery program can be run to create it, or it can be manually created.
    Now, when you configure the route you have to specify 'Transit duration in calendar days'.
    When you have the sales order created electronically (say thru EDI), then, you may have to ask them to send in shipping condition. Else, you have to modify the function module Idoc_input_orders in such a way that if the sales order creation time is < 12 PM, then put shipping condition as 00, else copy what ever is there in the customer.
    If you do not want to check the time manually when the user creates the sales order, then you may have to use the user exit MV45AFZZ (and I think you can use Save_order_prepare) to check the time and change the shipping condition. By this you will avoid extra coding in Idoc_input_orders and also need not bother if the user changed the route or not.
    Hope my explanation helps.
    Regards,
    Mukund S

  • How can we revise the pricing both at header and item level of sales order?

    Dear All,
      Now there's one issue of the pricing to me. i want to revise the pricing both at header and item level of sales order. but after i finished the cutomize and tested it, it's more different as i thought. i found that the pricing can revise at the one side only,for example, if i revise the pricing at item level and it's grey and can't be revised at the header. on the other hand, it's the same result what's happened at item.
      So, in my opinion, we can't revise the pricing both at header and item, right? if not, please give me more advices and teach me how to solve the problem. thanks a lot.

    Dear Lakshmipathi,
      Thanks a lot for your kindly and useful answer for me and I learn more for the pricing technology.
      I didn't notice the way that you reminded ago therefore I also saw the button at the condition tab. And your suggestion makes me know more.
      And I had tested the way that you said, I met with a question. Below is my opinion for my testing.
      I had created one SO and the pricing was $10, then I revised the pricing from 10 to 15 by VK11. It can't be updated automatically at SO and I must update it manually by clicking the "Update" button. This is OK for my testing, but I have another question to disturb you for the use of "Active" button. When I click the button and nothing is responsed, it's quite different what you said. So, please give more detail for the Active button. Thanks a lot.

  • How can we identify what are all user exits are there for sales orders,deli

    Dear All,
    How can we identify what are all user exits are there for sales orders,deliverys and invoices
    thanks
    nitchel v

    Hi Nitchel
    There are many ways to find out the user exits..
    For example for VA01.
    Goto Transaction ie VA01:
    goto System-- Status
    doubleclick on the program name ie SAPMV45A
    SE38 -> Enter the program name and in the program( SAPMV45A) goto -- attributes
    get the package name from here ie VA
    note the package(VA) and get back to main screen
    goto SMOD tcode  and click on find button in the package spec giv the package name ie VA and execute it
    you will find list of exits available
    check out the exit that suits ur requirement
    goto cmod and create a new project and implement in that user exit.
    You will get the following exits in SMOD..
    SDTRM001  Reschedule schedule lines without a new ATP check
    V45A0001  Determine alternative materials for product selection
    V45A0002  Predefine sold-to party in sales document
    V45A0003  Collector for customer function modulpool MV45A
    V45A0004  Copy packing proposal
    V45E0001  Update the purchase order from the sales order
    V45E0002  Data transfer in procurement elements (PRreq., assembly
    V45L0001  SD component supplier processing (customer enhancements
    V45P0001  SD customer function for cross-company code sales
    V45S0001  Update sales document from configuration
    V45S0003  MRP-relevance for incomplete configuration
    V45S0004  Effectivity type in sales order
    V45W0001  SD Service Management: Forward Contract Data to Item
    V46H0001  SD Customer functions for resource-related billing
    V60F0001  SD Billing plan (customer enhancement) diff. to billing
    For Delivery you will get .. here the package name will be VL.
    V02V0001  Sales area determination for stock transport order
    V02V0002  User exit for storage location determination
    V02V0003  User exit for gate + matl staging area determination (h
    V02V0004  User Exit for Staging Area Determination (Item)
    V50PSTAT  Delivery: Item Status Calculation
    V50Q0001  Delivery Monitor: User Exits for Filling Display Fields
    V50R0001  Collective processing for delivery creation
    V50R0002  Collective processing for delivery creation
    V50R0004  Calculation of Stock for POs for Shipping Due Date List
    V50S0001  User Exits for Delivery Processing
    V53C0001  Rough workload calculation in time per item
    V53C0002  W&S: RWE enhancement - shipping material type/time slot
    V53W0001  User exits for creating picking waves
    VMDE0001  Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002  Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003  Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004  Shipping Interface: Message SDPACK (Packing, Inbound)
    For Billing VF01..Package is VF..
    SDVFX007  User exit: Billing plan during transfer to Accounting
    SDVFX008  User exit: Processing of transfer structures SD-FI
    SDVFX009  Billing doc. processing KIDONO (payment reference numbe
    SDVFX010  User exit item table for the customer lines
    SDVFX011  Userexit for the komkcv- and kompcv-structures
    V05I0001  User exits for billing index
    V05N0001  User Exits for Printing Billing Docs. using POR Procedu
    V60A0001  Customer functions in the billing document
    V60P0001  Data provision for additional fields for display in lis
    V61A0001  Customer enhancement: Pricing
    Or another way is ..
    - Get the program name for that T-Code
    - Go to that program
    - In that program, search for word 'EXIT' or 'CUSTOMER-FUNCTION' by using where-used list which will give u the list of user exits for that program
    And also you can check in the tables in SE16 for user exits..
    MODSAP - Stores SAP Enhancements
    MODSAPT - Stores SAP Enhancements - Short Texts
    MODACT - Stores Modifications
    And there are other ways as well , pls check the forum for this ,
    Regards,
    Vvieks
    Note : If you have any specific requirement then pls let us know , we will guide you

  • How system determine delivery date in sales order

    Hi, sap gurus
    I am new to sdn forum please help me regarding my question
    1) how the system will determine delivery date in sales order
    2) what are factors effects to conform sales order stock
    3) what is different between static check and damanic check in credit mgt
    Thanks and regards
    nishad

    hi,
    Reg question:1 - System determines the Requested Delivery Date based on the Scheduline assigned to the item category of the item in sales order.the schedule line in the order transfers the requirements trhu MRP (can be individual or collective) . If its ruch order , you configure the order type "Deliver Immediately".
    In Detail:
    The TOR depends on the Requirement Type (MMR), Requirement Class(MMR), Checking group(MMR) and the Sc line category (Line Item). For the TOR to happen u need Plant at line item, scheduline category markd for TOR, Requirement Class marked for TOR and Checking group in MMR (Availability check)
    What all stocks need to be checked during Availability check is controlled by using the checking rule.. for example for AV -02 Ind Requirements a checking rule will be assigned and this checking rule- and then what all stocks need to be considered to determine the delivery can be maintained here.
    Rgds
    Sai

  • How to syatem determine delivery date in sales order

    hi sap gurus
    how to syatem determine delivery date in sales order
    Thanks and regards
    ram

    Hi Friend,
    There are many things which determines the delivery dates.
    01. PICK TIME+ PACK TIME +LOADING TIME
    02. LEAD TIME in days (VOV8)
    03. Shipping point
    04. Scheduling line
    05. Kind of availblity check
    06. If the above things are maintained as blank then the current date will be the delivery date
    However whether it must be proposed by the system or not is determined by one check box there find in VOV8 in requesteed delivery date determination tab.

  • How to see archive data for Sales order

    Hi all,
            I am working on PS , network is created with sales order 10911. the components are added while sales order created, but after that someone deletes the sales order, because now it is showing oder does not found, where i get the entreis for sales order.
    Regards,
    Khushi.

    Hi Khushi,
    To see the archived data for sales order , go to transaction code SARA.
    Choose object name as SD_VBAK.Click READ.
    It will show a screen giving a name of program and option to execute in background or foreground.
    It will help you to get information about archived sales order data.
    Hope it helps you.
    Thanks,
    Sarita singh Rathour
    Edited by: Sarita Rathour on Aug 28, 2009 7:46 AM

  • Upload the data for sales order using BAPI

    hi experts,
    how to upload the data for sales order using BAPI.
    what is the FM?
    it would be much helpful if i have the sample code as i am very new to BAPI.
    thanks and Regards
    Shyam

    Hi  Shyam
    Its very useful for u
    BAPISDORDER_GETDETAILEDLIST
    BAPI_ACC_SALES_ORDER_CHECK
    BAPI_ACC_SALES_ORDER_POST
    BAPI_ACC_SALES_QUOTA_CHECK
    BAPI_ACC_SALES_QUOTA_POST
    Reward all the helpful answers..
    With Regards
    Navin Khedikar

  • Required delivery date in sales order shoud not be less than the inhouse pd

    Customer Requested Dates (CRD) entered in orders are often shorter than Product form wise lead time. 
    Logic to be configured in SAP : SAP should capture the CRD as per the lead time of Products or Date entered by sales persons (whichever is later).
    Required delivery date in sales order shoud not be less than the inhouse production lead time.
    Please help.
    Regards

    IMG - Sales and Distribution - Basic Functions - Availability Check and Transfer of Requirements - Availability Check - Availability Check with ATP Logic or Against Planning - Carry Out Control For Availability Check
    Here select the combination of your Availability Check & Checking Rule.
    Under Replenishment Lead TIme, you need to put a Tick Mark in the Check Box of "Check without RLT"
    This will make sure that system considers either the Requested Delivery Date or actual Material Availability Date, which ever is earlier.
    Hope this helps.
    Thanks,
    Jignesh Mehta
    Edited by: Jignesh Mehta on Nov 9, 2011 12:18 PM
    Edited by: Jignesh Mehta on Nov 9, 2011 12:23 PM

  • The delivery date in Sales Order VA01

    Hi,
    I am wondering how the sales order process goes in term of business given that I am not an SD person.
    Normally, when a customer rep receive a sales order, the customer will request the date in which the goods are require.
    Thus, during the sales order creation, the person will key in the material, order quantity, and the delivery date.
    Example, customer wants the goods to deliver on Nov 25th 2011
    My confusion arise when the ATP check (i.e. the three section proposal date) find out that the goods are only available on December 10th 2011. Thus, the committed schedule line with committed quantity is copied from the ATP proposal screen to the 2nd scheduline line item with delivery date as Dec 10th, and the committed quantity. The following is the VA01 screen
    Schedule Line tab of item detail view:
    Dely Date -
    OrderQty----CommitQty
    11.10.2011--3--
    0
    18.10.2011--0--
    3
    Sales Order Overview screen:
    MaterialOrderQty-itemCat-FirstDate -
    Plant
    10000----2pcTAN11.10.2011-----AU01
    Question.
    1 - Do you feedback to the customer saying that the Delivery Date that can reach you is 11.10.2011 or 18.11.2011?
    tuff

    hi tuffy,
    here system will check ATP while sales order and confirm delivery date,if u r making sales order on 11.10.2011 but system will confirm delivery date in schedule line.
    u can take ur  msg reference where system is taking order on 11.10.2011 and confirm qty for delivery on 18.11.2011 so customer delivery date would be 18.10.2011.
    Edited by: KHAPREVIPIN on Oct 25, 2011 12:38 AM

  • Pricing after change of delivery date in sales order

    Hi,
      When i change delivery date in a sales order prices are not recalculated automatically .
    I want the prices to be calculated automatically .
    thank you.
    Ashok

    hi,
    i have this problem, can anyone suggest me, is there any user exit or anything relevant for the solution.
    When we attempt to remove the Rejection flag (for any Reason) The system is changing Dates in sales order like Delivery date , Shipping date, GR date  to current date this needs to be stopped and client wants to retain old set of dates when rejection flag is removed
    waiting eagerly for this solution. if you find send me mail to my id [email protected]
    bharadwaj.

  • How to get employee no(pernr) based on the organizational unit

    HI,
    I am using LDB PNP in my program nd have used my own report category with Organizational unit,begin date and end date in the selection screen.
    Now I have to get all the active employee of that organizational unit.so tell me how to get this
    Explain about GET and PROVIDE statement
    Regards,
    Kiruthi

    Hi !
    To get active employees reject separated employees ( action )
    i.g
    ******Data fetch*****
    start-of-selection.
    get pernr.
    if pernr-massn eq '14'.
    reject.
    else.
    it_active-sapid = pernr-pernr.
    endif.
    ORGEH : Organizational Unit
    ORGTX: Organization unit text
    ********Organization*************
    *data text type char30.
    SELECT SINGLE ORGEH  from pa0001 into IT_ACTIVE-ORGEH where PERNR = IT_ACTIVE-SAPID.
    SELECT SINGLE ORGTX from t527x into IT_ACTIVE-ORGTX where ORGEH = IT_ACTIVE-ORGEH and  SPRSL = 'EN' .
    if sy-subrc eq 0.
    write: 160 sy-vline, IT_ACTIVE-ORGTX.
    else.
    clear: IT_ACTIVE-ORGTX.
    write: 160 sy-vline, IT_ACTIVE-ORGTX.
    endif.
    **************Organizational ID ******************
    select single ORGEH from pa0001 into it_active-Org where pernr = it_active-sapid and begda le pn-endda and endda eq '99991231' .
    if sy-subrc eq 0.
    write: 180 sy-vline, it_active-org .
    else.
    clear: it_active-org .
    select single ORGEH from pa0001 into it_active-org where pernr = it_active-sapid and endda EQ '99991231' .
    write: 180 sy-vline, it_active-org.
    endif.
    Regards
    Sheetal

  • How system updating the delivery dates in sale order schedule line

    Hello
    i created a sales order with 2 line items. For the first line item the confirmed delivery date in the schedule line is 06.02.2012 and for the second line item the confirmed delivery date in the schedule line is 14.02.2012 . Both the line items are third party items and the PR created against the line items in the sales order .
    We created the PO with reference to the PR of the SO and we find there are different delivery dates coming in the PO document for the 2 line items . For the first line item the delivery date is coming as 14.11.2011 and for the second line item in the PO , the delivery date coming as 11.11.2011 . Firstly we are not understanding from where the delivery dates are picking in the PO.
    Secondly , once we saved the Purchase order and once we come back to the sales order , the schedule line dates are getting changed automatically in the sales order . For the first line item in the sales order the delivery date is changing to 22.11.2011 and for the second line item in the sales order the delivery date is changing to 22.11.2011.
    Now my question , is from where the delivery dates are updating in the Purchase order and once we save the purchase order how the delivery dates in the schedule line are getting changed .

    Now my question , is from where the delivery dates are updating in the Purchase order and once we save the purchase order how the delivery dates in the schedule line are getting changed .
    For third party processing, the delivery dates are updated in the purchase order based on the settings in the field Planned delivery time in the MRP2 view of the material master(defined in purchase info record in t.code ME11/ME12) and purchasing processing time defined in t.code OMEW. This means, since the date of PO created, it will take the days mentioned in the planned delivery time field and purchasing processing times to determine the delivery date, which will be copied into the sales order as delivery date. In your case, the purchase order delivery date is not copied into the sales order, hence you may need to check OSS note. How the PO is handled? Any confirmation control functionality is used?
    Regards,

  • How to get XLR to show BPs with no transaction data for a given date range

    Hi -
    I am building an XLR report that does a comparison of net sales data across two periods for a given sales employee's BPs.
    The report has the row expansion:
    FACT BPA(*) SLP(SlpName = "ASalesPersonNameHere") ARDT(Code = "ARCreditMemo", "Invoice") Group by BPA.CardName
    and column expansions:
    FIG(SO_TaxDate = @StartDate:@EndDate)
    and
    FIG(SO_TaxDate = @StartDate2:@EndDate2)
    where @StartDate, @EndDate, @StartDate2, @EndDate2 are parameters that define the two ranges of dates.
    The column formulas are, from left to right:
    =ixDimGet("BPA", "CardName")
    =ixGet("SO_DocTotal")      <-- filtered by column expansion for first date range
    =ixGet("SO_DocTotal")      <-- filtered by column expansion for second date range
    The report works fine except for one problem, I would like it to include BPs for which no transaction occurred in either date range as well.
    Any help is greatly appreciated!
    Thanks,
    Lang Riley

    Really appreciate your feedback!  Those are good suggestions. I should have mentioned that I had already tried both those suggestions.
    Removing FACT on BPA in this case ends up returning all the BPs and not respecting the SLP(SlpName = "aName") part of the query. 
    Using **, i.e., * or #NULL, makes no change in the resulting data in this case.  I had thought that ** would be the solution, but it didn't change the outcome.  I still have BPs for which when their sales employee is used as the filter and they have no transactions for either date range, and yet they still do not appear. 
    I should further mention that the IXL query, as it now stands, does return BPs for which one of the periods has no data, just not both, and I have verified that applicable BPs with no transaction data for both periods do exist in my data set.  It seems that perhaps the IXL query needs to be restructured?  Please keep the suggestions coming including how this query might be restructured if necessary.

  • Regarding the delivery date in sales order

    Hai
    when we give the inhouse production time in material master and the create a sales order whenever we give the quantity the delivery date does not change according to the quantity
    ex :- when i give the inhouse time as 2 days for producing a single material
                    but when the quantity in sales 10 no. but delivery date is only 2 days
                         i.e, based  sales order quantity delivery date should change
               i need the delivery date as 20 days who to do this give the customizing settings
    advance thank's for your reply

    Dear,
    Please check the timing in work scheduling view. other wise schedule the routing and maintain time there and check your result.
    In material Master MRP2 screen you will get Scheduling Screen where you will get
    In-house production
    GR processing time
    Plnd delivery time
    These are lot size independent but value in work scheduling view are lot size dependent.
    Go to VOV8 and check the Lead time part. If u will maintain lead time of 2 days, the req deliverty date will be 2 days frm order creation date.
    You can configure this in the configuration of the Sales document type in VOV8. Here we can specify the value and as per that configuration the date will be defaulted.
    Regards,
    R.Brahmankar

Maybe you are looking for

  • Error while installing BIPublisherDesktop

    Hello, I am currently having issue installing BI Publisher Desktop on Windows XP SP3 with Office 2007 on 2 out of 4 computers. They are build from the same Windows image and same settings. Here are the installation error messages : Error message #1 A

  • [RESOL]after running net8 easy config php no longer connects with ora_logon

    fixed by adding .WORLD to the ora_logon command :) servers: oracle 8i 8.1.7.4.0 remotely located called PROD windows 2000 server running IIS and php 4.3.4 net8 above windows server was passed down to me so initial setup was done by someone else I nee

  • Is Target Display Mode unidirectional?

    I want to connect my iMac & Macbook Pro via a Thunderbolt cable and use multiple displays. However, I also want to use the keyboard and mouse from my iMac to interface with this dual display setup. It seems at this point that Target Display Mode will

  • AMD Radeon HD 6570M crashes (MacBook Pro 2011)

    This is a problem I've been having with my new MacBook. Only a month or so after I got it, there is one major problem: The Graphics Card (AMD Radeon HD) crashes. So far, it has only happened while running BootCamp, but I don't want to blame it on win

  • CSS Load Balancing and AOL

    We are load balancing a web site consisting of two servers using advanced-balance sticky-srcip. We have several customers that use AOL to access this site. They complain that their sessions are timing out. It appears that the souce IP address for the