Get Delivery date(EKET-EINDT) in MM Pricing routine(group condition)

Hi All,
I have created an MM pricing routine RV65A092 in VOFM. So when creating PO(ME21n), this routine will trigger..
Now the problem is I need EKET-EINDT for grouping condition. It was mentioned to call program SAPLMEPO and get EKET data.
Please help me how to get delivery date in that routine  which is filled in Item level during PO creation
Thanks
Ram

Hi Ram,
For SD you have the SAP Note 531835 - Using field PSTYV in the condition access. For MM is simmilar, although you must use the enahncements. Instead use the userexits that note says, use the enhancement LMEKO001 (EXIT_SAPLMEKO_001) to populate fields ZZ in KOMK and LMEKO002 to populate KOMP.
I hope this helps you
Regards
Eduardo

Similar Messages

  • Getting delivery date for material number i PO...

    Hi,
    I am Smartform associated with PO in ME22N:
    Now I need to get the delivery date associated with Differnet Grid items in a material.
    So if I go to some material and then if I click on Delivery schedule:
    I see columns for delivery date, sat. del da, Grid value, etc...
    But I want to know the table or function module we need to use to get Delivery date associated with
    prticular Grid item of a material in PO.
    Please help me out.
    Thanks.
    Regards,
    Ramesh.

    Hi ,
    Check out for BAPI_PO_GETDETAIL.
    In this BAPI,
    fill parameters : PURCHASEORDER with PO number
                      ITEMS with 'X'
                      SCHEDULES with 'X'
    Then in tables PO_ITEMS you will get Item details and
    in table <b>PO_ITEM_SCHEDULES</b> you will get required details like delivery date
    Hope this helps.
    Regards,
    Akshay Bhagwat

  • User exit which changes po (item level) delievery date (eket-eindt)

    Hi,
    Can you please suggest EXIT which triggers while changing delivery date (LIKP-LFDAT)  of outbound delivery through TCODE VL02N should reflect in its corresponding purchase order delivery date ( ME22N at item level field (EKET-EINDT)..
    I tried in USEREXIT_SAVE_DOCUMENT_PREPARE include MV50AFZ1. but changes are not reflected in PO.
    code:
    XEKET-EINDT= LIKP-LFDAT.
    but it is not working .there is no field as update indicator (updkz) in table xeket..Please let me know if I am doing something wrong.
    Thanks in advance.

    Have you checked the BADI 'ME_PROCESS_PO_CUST' ? This has a method PROCESS_ITEM, this may solve your problem.

  • Getting Delivery Date of an item on Purchase to appear in Sales Order form

    Hi Experts
    Can you tell me if and how it might be possible to get the future delivery date of an item on a purchase order to appear at the row level in Sales Orders for an item which is out of stock?  I assume it will need some type of formatted search to pull the information out of the Purchase Order system or is there some standard SAP B1 functionality which I am not aware of?
    Thanks
    Jon

    Hi
    It is very difficult to get that date in sales order coz too many conditions involve in the querry.
    Ashish Gupte

  • Formatted search: Query to get Delivery Date +30 in Newly created column

    Hi Experts,
    Becuase my client do not use serial numbers but wants to still see the date the 'Warranty Ending Date' on a Sales Order, I created an extra column in the Sales Order Lines named 'Warranty Ends'.
    Now I want to populate the Delivery Date +30 on the Sales Order.... I'm stumped - I don't know where to begin with this query and I'm sure it is not that complicated.
    Any help would be greatly appreciated.
    Thanks!
    Marli

    Did you try the sql function DATEADD? 
    Here's a link to the MSDN help text on it:
    http://msdn.microsoft.com/en-us/library/aa258267(SQL.80).aspx

  • Am unable to get the data from Sys.databases when i use where condition for column owner_sid

     
    Hi all,
    Help me here when i try am unable to get a data,Can some one help me with a query to get.
    If it cant be done can i know why..
     select * from Sys.databases
      where owner_sid='0x01'
    What am trying is to get a login
    names from syslogin
    table with respect to Sid.
    Select a.name,b.name,a.owner_sid from Sys.databases a
      Join Syslogins b
      on a.owner_sid = b.sid
      where owner_sid like '0x01'
    Thanks all in Advance.....

    Below are a couple of examples of how to accomplish the task.  Note that SID is varbinary so the literal should not be enclosed in quotes.
    SELECT
    a.name AS DatabaseName
    ,b.name AS OwnerName
    ,a.owner_sid AS OwnerSID
    FROM sys.databases a
    JOIN sys.server_principals b ON
    a.owner_sid = b.sid
    WHERE owner_sid = 0x01;
    SELECT
    a.name AS DatabaseName
    ,SUSER_SNAME(owner_sid) AS OwnerName
    ,a.owner_sid AS OwnerSID
    FROM sys.databases a
    WHERE a.owner_sid = 0x01;
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Reset  EKET-EINDT and EKET-SLFDT to SYDATUM on the date of release

    Hi,
    Can any one help on this issue for my client.
    When the PO is released in ME29N and ME28, the item delivery date and stastical delivery date  EKET-EINDT and EKET-SLFDT  on the screen should get updated to sydate AUTOMATICALLY and at the same time update table EKET upon save.
    This should not happen when user does any other changes on the screen for any item data.
    I tried many exits and badis but could not succeed.
    Can any one suggest the best method for this.
    thanks
    bye
    joshi

    Hi All,
    I am able to get the field EINDT and SLFDT into the structure using Append structure and is also getting displayed in the output in ALV.
    But i need to know how to add code for filling these fields and passing into ALV. I need to know the Enhancement spot.
    Please let me know how to achieve this scenario
    Thanks
    Arun

  • Update Schedule line Delivery date using Bapi_po_Change

    Hi all,
    I am using Bapi_po_change to Update the Schedule line Delivery date(EKET-EINDT) for the PO based on the Item and the Schedule line.
    I am passing the PO number, Po header, Item structure, Schedule line Structure.
    But the Date is not getting updated in the Eket table.
    Please suggest.

    Hi Sukriti,
    Thanks for the Response, yes i have used the Bapi Transaction Commit Also .
    The point is I am able to Update the Statistical Delivery Date in the Same EKET table using BAPI_PO_Change .I have Checked all the Ways to update the EKET-EINDT(Delivery Date)but no Unable to do it.

  • Price determination as per delivery date

    Hi All,
    I have created a PO in which the PO is picking up the dalivery date as the current date. when i change the delivery date as some other date there is a message saying Delivery date changed (new price determination process may be necessary).. I worked with my ABAP guy and solved this problem and now the PO is not picking the current date.
    Now, the user wants me to configure how to determine the Price for different delvery dates.
    That is if i change the delivery date to some other how to check if the PO is picking the price determined by that delivery date.
    I checked the info record and the validity date is 12/31/9999. and this is the message iam getting
    Delivery date changed (new price determination process may be necessary)
    Message no. 06484
    Diagnosis
    If the price determination date is the delivery date and other conditions are valid on the new delivery date than those that are valid on the old one, the price is no longer valid.
    Procedure
    If this is the case, and you wish to see the price that is valid as at the delivery date, carry out a new price determination process.
    And u said to define on the basis of which Date of Price Determination system should select the price. where can i define the price determination for delivery date. This is the first time iam working on such issue of price determination.
    Thanks,
    Sameer

    Dear Sameer
    There is no relevance of pricing date with delivery date.  For information,  while creating sale order in VA01 after giving your sales area and execute, there is a field "Pricing Date" in Sales tab and the date will flow into this field by default the date on which you are creating sale order. 
    So irrespective of your delivery, your invoice pricing will be effective based on this field.  Unless you change the date here, your pricing condition will not change, if you have a different pricing in VK11.  Of course, you can also change the pricing date at item level for which click on "Goto -- Item -- Sales A".
    thanks
    G. Lakshmipathi

  • Passing delivery date from line item in ME21N to VOFM

    Hi to all,
    I need to modify pricing on the purchase order (ME21N), so that the pricing condition PB00 would use the delivery date (EEIND) from the line item instead of the document date.
    Working with the functional analyst, we decided to create a condition value through transaction VOFM (we created 600). I found the which date to override (komk-prsdt). My problem is that I can't find the line item delivery date. I found structure KOMP, which seems to have other line item info, but not delivery date. I have gone through every other condition out there, but if they use L/I info, they get it from KOMP. I can't find the delivery date anywhere. I'm running in 'debug' with a specific date so I could tell if I found it.
    Can someone tell me how to pass EEIND to the routine, or find where it is? Thanks in advance.

    thanks

  • Delivery Date Time spot contains unformated value in PO in Auto PO creation

    Hi Experts,
    We have created a program that fetches the recent changes done in Purchase Requisition documents given as input and updates the corresponding Purchase Order document created from those PRs accordingly. We are using the FM BAPI_PO_CHANGE for the purpose of updating the changes to the POs. We are facing a peculiar situation while updating the scheduling lines. When we are passing the delvery date (EKET-EINDT) change, the system automatically passes the delivery date time spot (EKET-UZEIT) in an unrecognised format, something like '00::0:1' instead of '00:00:00'.  Due to this the system doesn't allow to open the Purchase orders since it is giving format error message. This issue does not happen in debug mode but happens in the foreground without the debug on.
    Please let me know how to go about solving this issue
    Thanks
    Devarajan

    Hi ,
    Thanks for the reply. But the issue is we are not passing any value to the Delivery Date Time Spot field (EKET-UZEIT). So by default when the BAPI_PO_CHANGE FM is called the value passed to this field is '000000'. It is that the system automatically changes the value to '00::0:1'. And it does so only if we execute the program without debugging the code. May be there might be a OSS note to update.
    Thanks
    Devarajan

  • Sale Order Delivery Date

    Hi expert
    We have recently found wrong calender was assigned to our shipping points. We therefore changed it to correct one.
    However, after this, Sales orders that created on Saturday are getting Delivery Date as of Monday only and in VL01N we are unable to due PGI on Saturday (For any sales order, even created on any other day)
    Few finding are -
    1. Factory Calender IN used as correct calender. Earlier Shipping Points was using 01 calender.
    2. For IN calenders Saturday and Sundays are marked as working days.
    3. Although Routes are difined and assinged with Calender IN, Route Schduleing is not active.
    4. For other days, when a sales order getting creating only one schedule line get created and confirm qty appear at that line only. However for order created on Saturday, two schdule line come up. In one line NO confrim Qty and in next one it shows confirm qty.
    5. No Pick/Pack timing is defined in OVLZ
    Please let me know how to slove this issue
    - Sunil

    Thanks all
    Issue resovled by self.
    In Shipping Point - Working Hours (OVLZ) working time was maintained as Shift 1, which appearently not having SAT / SUN maintined.
    Here 'Working Times' if maintianed then system consider the shift for calculating delivery date.
    (Pl. read F1 of 'Working Times')
    If only factory calender entry maintiain, shipping point considered open 24 hrs.
    Thanks
    - Sunil.

  • Delivery date issue in the ASn inbound process via IDOC

    HI
    we want to start with ASN and we ´re already receiving IDOC´s
    DESADV Delvry03
    we are using Fm /SPE/IDOC_INPUT_DESADV1 and we have tried IDOC_INPUT_DESADV1 but teh reesult was the same.
    The segment E1EDT13 Qualifier 007/009/006  exist and we are able to create a inbound delivery. The problem we have is that we are not able to calculate the delivery date in the inbound delivery.
    The idea was that the vendors sends us the GI date (Qualifier 007) and our SAP calculates based on the plannend delivery time in the SA/PO the expected GR date 8what we see in MD04). But at the moment we only the creation date as delivery date.
    what do we miss?
    thanks for the help
    regards
    Alex

    Hi,
    Firstly, for DESADV processing delivery date field (LFDAT) is taken from qualifier '007' while goods issue is from '006'.
    As far as I understood you would like to get delivery date based on data from given delivery schedules. But note that inbound delivery items are not related specifically to delivery schedules. Instead, those are referenced to purchasing document items only. Therefore it is not exactly specified what delivery date should be selected for which inbound delivery.
    Alternative could be to perform scheduling for inbound deliveries based on route transit times etc.But in standard inbound delivery types are not available for SD scheduling and thus it is not directly available.
    If you need to get such functionality, you would need to use one of the DESADV processing u-exits available and include your own logic for lfdat calculations.
    Regards,
    Dominik Modrzejewski

  • Delivery date in inbound delivery

    Hi
    WE have the following scenario
    WE create a inter-company STO.  Outbound delivery is created against STO and then we do PGI.
    Suppose planned delivery dt of OBD is 10-jan-2011 and actual PGI is done on 18-jan-2011.
    After PGI we create inbuound delivery in receiving plant.  In inbound delivery, we are getting delivery date as planned delivery date of outbound delivery i.e. 10-jan-2011.  But we want actual PGI date i.e. 18-jan-2011 in delivery date of inbound delivery.
    is it possible?  Please suggest how can we do this?

    Hi,
    I think the issue is not related to inbound delivery. Because you probably would not only have delivery date at inbound delivery equal to PGI date. Instead it should be PGI+transit time. Hence, I believe what you should focus is to get planned delivery date corrected at your outbound delivery during PGI.
    I do not think standard config supports rescheduling of planned dates at delivery during PGI (even if you setup rescheduling type 'A' at your delivery type). But you can always call SD_SCHEDULING FMs to get new delivery dates and get those posted from outbound to inbound deliveries.
    Regards,
    Dominik Modrzejewski

  • Delivery date var 1-5 in MC$6

    Hi;
    We don't use vendor evaluation , but we want to use MC$6 to analyse delivery date variance for all our vendors.
    is it possible to get delivery date var 1-5 field populated in MC$6.
    we have maintained parameters in img for del date var1-5. We are still getting no values in MC$6 for delivery date var key figures.
    Any suggestions how to achieve this?
    regards
    Rahul.

    Hi,
       Go to MCFC transaction and maintain the parameters for the purchase organization. Now, create a new PO and do GR for the same. If there is delivery date variance, the same will be recorded in S012 table and the same will be displayed in MC$6 transaction.
       If its not getting updated, refer the KBA: 2009911 - S012 field Delivery date variance (TABW1-5) not updated
    Regards,
    AKPT

Maybe you are looking for

  • 10.3 Error due to space

    I've been trying to upgrade my Z3 to 10.3 for weeks now keeps on showing a message saying free up additional 726MB help am confused cause i have just formetted it...

  • Create outbound delivery without order reference but with order data

    I am interested in creating an outbound delivery without order reference...but include data from a sales order that has already been PGI'd. Has anyone come up against this and found a solution?

  • ITunes poor perfomance

    I am using iTunes 7.4.2.4 on my Windows XP machine 2Gb ram AMD athlon 64 X2 Dual 3800+ But still iTunes runs like a pregnant snail in a glue jar. My library of files is quite big. But still it is very slow compared to other "media managers"/players.

  • Login User with Dynamic Redirect

    Hi, I have used the "Login User with Dynamic Redirect" with asp VBScript. But now I´m going to make a PHP/MySql site. Does anybody know of a extension that can make dynamic redirection from logon page.?? /mike.

  • ACCIDENTALLY DELETED ALL SONGS pleaaseee help me

    i have a nano 3rd generation this is probably a common problem but... i always have my ipod on the "manuallly add" setting. i went to put a movie on and it wouldn't go on. so i tried going to the ipod and syncing it in the non-manual way. the window