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

Similar Messages

  • BAPI_SALESORDER_CHANGE Delivery Date at Line Item

    Hi Guys,
    We are trying to change the delivery date at the line item for a Sales Order using the date at the header.If we have a date change at the header,is there a way it can automatically change the date at the line item?can LOGIC_SWITCH field in the BAPI be used for this purpose.
    we dont want to populate any line items.can only by changing the date,the dates at line item be changed?
    thanks
    Raj

    Hi ,
    Please add Header date at scdedule lines Field "EDATU'.
    I think this will work.
    Header date will not copy to line items and this will effect the billing date only.
    Regards,
    Lanka

  • Request delivery date at line item level

    Hi,
    I understand that the requested delivery date at the order header level applies to all its line items, but is there any possibility that for different line items, we can have different requested delivery dates.
    If YES, where do we enter requessted delivery deates at line item level??
    Thanks in advance.
    Vinay

    Hi,
    In the sales order you can enter the requested delivery date at item level in schedule line tab page in the first column(Delivery dates)
    But this will cause in delivery split
    Regards,
    Amrish Purohit
    Message was edited by:
            AMRISH PUROHIT

  • Idoc to uodate delivery date of line item on Purchase order

    Hi All,
    Our vendor sends a delivery file consisting of delivery date and quantity(could be partial) for line items of a purchase order.
    I need to update the Purchase order line item with the delivery date and quantity sent from the Vendor. It should add a new confirmation line with custom confirmation category in the confirmation tab of the line item in the Purchase order.
    Each time we get a delivery file we need to add a new confirmation line in the confirmation tab of the purchase order line item.
    How can I get this working using inbound idoc processing? Which Idoc type should I use to solve my issue. Will ORDERSP work for my scenario?
    Thank you in advance!
    Sonali.

    Hi,
    I don't know about IDOCS, but since your vendor is not using EDI, but rather sends a file, you could right a small program to read the confirmations from the file, using the standard BAPI "BAPI_PO_CHANGE" to actually change the PO accordingly.
    Regards,
    Mario

  • Can we create multiple billing document from delivery with single line item

    can we create multiple billing document from delivery with single line item

    Hi
    Please check the link
    [can v create multiple billing document from delivery with single line item]
    and as Lakshmi said, check the forum before posting an issue.
    Regards
    AA

  • How to place a delivery block at line item level from Inbound ORDERS IDoc?

    Hi EDI/ABAP Experts,
    Can anyone please tell me how to place a delivery block at line item level from Inbound ORDERS IDoc?
    I tried using exit "EXIT_SAPLVEDA_001'. But there is no LIFSP field in either of XVBEP and YVBEP structures.
    Can you guys throw some light. How to place a delivery block @ line item level on sales order from Inbound ORDERS IDoc.
    Thanks,
    Matt .

    Look into the Include: LVEDAF5A that is the only place where this exit is hit... double click on the Structures and look which structure has billling block field.. and use that..
    FORM CUSTOMER_FUNCTION_IDOC USING IDOC_DATA.
      CALL CUSTOMER-FUNCTION '001'
        EXPORTING SEGMENT = IDOC_DATA
                  DVTCOMAG = VTCOMAG
                  DXMESCOD = IDOC_CONTRL-MESCOD
                  CONTRL   = IDOC_CONTRL
        TABLES    DXBDCDATA = BDCDATA
                  DXVBAP    = XVBAP
                  DXVBEP    = XVBEP
                  DYVBEP    = YVBEP
                  DXVBADR   = XVBADR
                  DYVBADR   = YVBADR
                  DXVBPA    = XVBPA
                  DXVBUV    = XVBUV
                  DD_FLAG_P = D_FLAG_P
                  DXKOMV    = XKOMV
                  DXVEKP    = XVEKP
                  DYVEKP    = YVEKP
        CHANGING  DXVBAK   = XVBAK
                  DD_FLAG_K = D_FLAG_K
        EXCEPTIONS
                  USER_ERROR = 01.
    If you are in ECC6.0  you can also use Enhancement point : INTERPRET_IDOC_ORDERS_01 SPOTS ES_SAPLVEDA. in include: LVEDAF2U

  • In MIGO, i need to see delivery dates from the purchase order

    Is there a way to see in transaction MIGO, the delivery dates from the purchase order?  I hope there is some exit or BADI or BAPI or .... to perform this copy function? 
    We have multi-line POs for the same material with staggered delivery dates and the Warehouse needs to know which PO line to receive against.

    when you enter the PO number in MIGO and hit enter, then you only get the items that can be received.
    If you make sure that the PO items are created by ascending delivery date, then you can always take the first.
    if you have the personal setting to display all items (even the already received ones), then you can take the first with a quantity proposal. already received items do not propose quantities.
    I would ask purchasing to tell the vendor that he has to state the PO number along with the item number in all papers (delivery note, invoice).

  • URGENT: Delivery with multiple line items for a STO

    Hi Gurus,
    We ar ecreating deliveries using VL10b for a STO. Teh TSO has 40 - 50 line items. But the delivery is created with one line item only an dit creates a delivery for each line item. How cna we allow the inclusion of multiple line items in delivery?
    We are using delivery type NL an ditem categor is NLN.
    Geratly appreciate any help in that.
    Thanks,
    KHAN

    The problem you face is called 'Delivery split'.
    For the STO scenario, one common cause is different delivery dates (in the past) in the STO line items. If so, then you should refer to SAP Note 377501 (from where I quote below):
    You can implement the source code specified in the correction instructions in copy routine 301 (or a copy of this routine in the customer namespace). This correction ensures that when you transfer data form the preceding document, backlogged delivery dates or goods issue dates are set to the current date. This prevents the system form performing a delivery split.
    Then a rescheduling of the delivery occurs. Since forward scheduling occurs for backlogged delivery items (that is, the picking date or the transportation planning date is set to the current date), the manipulation of the delivery date or goods issue date in the copy routine does not affect the result of the scheduling.
    If the dates are not the problem, then this Note refers to other Notes which deal with this problem, and should definitely solve your problem.
    Regards
    Nikhilesh

  • AR Transaction Data vs Line Item

    Hello,
    I have need to generate a report with some degree of detail and I am having an issue understanding the correlation between AR Transaction Data and Line Item.  In a report I would like to show sales for the period and AR balances and I need to be able to drill down on these (at Profit center level or Business Area Level both Characteristics have been added to the extractor and are being populated).
    How is Sales for Period derived in Transaction Data?  Can I create this same Key Figure at the Line Item Level?
    Any assistance is greatly appreciated.
    MK

    Sales are derived from the posting key used to post a AR document
    The posting key is either sales/turnover relevant or not
    As peopel use posting keys for all sorts of thingss- this is not the ideal solution to report Sales
    it also includes VAT
    ow ar eyou planning to add Profit Centre -?
    Conside the following document
    Dr Debtors £117.50
    Cr Reveneu Prfit centre 1  £50
    Cr reveneue Profit Centre 2  £50
    Cr VAT £17.50
    how are you going to get the profit centre onto the debtors postings?
    You can't... you can see the data in 0EC_PCA_4 or you can join Ar4 ODS to the GL ODS via an infoset

  • Creating a Summary Cube from Line Item Cube

    Friends,
    1. I have a GL Line Item cube that gives me item level information
    2. As I needed to create a summary cube I copied line item cube adjusted dimensions (removed Line Item) and activated it.
    3. When I loaded the summary cube from Line Item cube I got same number of transactions
    What have I missed? I want to summarize the info at GL Account level; or at any other info object level.
    I have done this before but it did not work this time. I think I have missed a step.
    I will be looking forward to your recommendations!
    Thanks for reading this!
    Ram

    Hi,
    Just removing tick against Line item will not work. You have to remove that characteristic from the cube. As this characteristic is High cardinality , you need to remove it from he cube.
    Decide at what level you want to have aggregated data and keep only those characteristics in the cube.
    Regards
    SS

  • Create delivery  document for line item 5 only manually

    Hi Sap Experts,
    We have scenario, we have created sales order with 10 line items while creating delivery we don’t want to show all the 10 line item to delivery creator (creating delivery manually).
    We will send him mail saying that create delivery  document for line item 5 and we will provide him material number and delivery date and shipping point with sales order number.
    We don’t want to use partial delivery option that split the delivery and we don’t want to use VL10C tcode also.
    What are options we have and how to customize this scenario?
    Kindly suggest.
    Regards,
    Kotli

    Can you be clear in your requirement?
    One requirement is user should not select line items other than the one instructed to them
    The other requirement is delivery split should happen based on item category
    If your requirement is first one, you need to go with user exit USEREXIT_MOVE_FIELD_TO_LIPS in include MV50AFZ1 but I am not sure, on what logic, coding to be included in this exit.  If your requirement is second one, then just try in your system and share the outcome how system is functioning.  You will come to know how standard SAP works.
    G. Lakshmipathi

  • Delivery date from Requisition to Purchase Order

    Hi,
    let's suppose to have a material code and its inforecord.
    I create the Purchase Order Requisition and I put a delivery date. When I create the Purchase Order (ME21N) moving the POR into the basket, the delivery date I find in the PO is the one indicated in the POR. I would like that the delivery date I find in the PO will be calculated based on the "delivery time" indicated in the inforecord. For example, in the POR the delivery date is 15th May, today is 11st May, I'm creating the PO and I have 15 days of delivery time in the inforecord. I want that the delivery date in the PO will be 26 May (11+26). Now, if I create the PO, the delivery day will be 15th May...
    How can I set up the system to do this?
    Is there a set up that I have to do into the inforecord, maybe?
    Thanks,
    FT

    I you create the PR manually, then you manual entries have precedence over system defaults. Maybe you can control it with a user exit.
    if you create PRs is with the MRP run, then SAP takes the delivery date from the material master.
    if you maintain source list and indicate it as MRP relevant, then SAP can find the info record and can propose the delivery date based on the info record.

  • Data Extraction (Line Item Level) FI/CO

    Hi expert,
    Exp:the datasource 0FI_GL_4 is Data Extraction (Line Item Level) FI/CO.
    From sap help doc i kown that delta records are directly transferred to BW. No record is written to the BW delta queue.
    But i run rsa7 in ecc, the delta queue list had the 0FI_GL_4,moreover,it had many records in it,then i run delta in bw side the
    record is cleared
    I was confused about it,why the delta queue had many records in it?

    Hi James:
    Please refer to the presentation below:
    "Data Extraction (Line Item Level) FI/CO"
    https://websmp102.sap-ag.de/~sapidb/011000358700007881242002
    Regards,
    Francisco Milán.
    PS. Since the document is available on the SAP Marketplace you'll need an "S" account.

  • Withholding tax information missing from line item

    Hi Gurus,
    We have created a vendor invoice in SAP. The voucher processed and paid has withholding tax of 1,333.00
    But if you display the vendor invoice and click on the withholding tax data button, it says that withholding tax information missing from line item.
    Kindly advise how could this happen when the vendor account has maintains withholding tax code and the payment document also has withholding tax information.
    Thanks,
    Ellicec

    Dear,
    Please check the following:
    1. The withholding tax types and indicators must be defined as Liable'.
    Please check this via vender master data (fk02).
    2.Please check field status group for withholding tax fields in
    transactions OB14 (inserting the field status variant of the Company Code oby6 and the field status group of the g/l account that You can find running FS00) and OB41 (posting key, in DP case 29). Check the account group for the GL account
    assigned to the vendor reconciliation account in FBKP.
    These should be set as "optional".
    Select group --> Taxes
    Suppress Req. Entry Optional Entry
    Withholding Tax Code X
    Withholding Tax Amounts X
    regards

  • Probelm in  addition of line item in ME21N

    Hi,
    I am working on a requirement where after providing the data for line item 1 of a PO (ME21N),  when the User presses enter, based on certain conditions a new line item should get added to the PO.
    Using the BADI ME_PROCESS_PO_CUST and Method Process_ITEM but are not able to get the same.
    Any pointers on this will be helpful.
    Best regards
    Saurabh

    Hi,
    Try to do in Method  FIELDSELECTION_ITEM
    Thanks & Regards
    Prashant Gupta

Maybe you are looking for

  • Unable to launch application

    I am just starting off with Java Web Start and trying some simple tests. Let me preface the problem statement by saying that everything is on the same machine (my Win XP Pro desktop). Also, I have confirmed that the environment is set up correctly by

  • I am trying to create an account and I am unable to type into the password box.

    When I try to create a new account I am unable to type into the password text box. I can enter my email and I can type int he security wquestion box. I have Windows 7, the current version of iTunes and its a fairly powerful PC. Please help!

  • External HD won't stay mounted

    I have a WD Passport (1TB) that's been exhibiting some strange behavior lately. When its plugged in, after a couple of minutes an error message will appear that says: The disk was not ejected properly. If possible, always eject a disk before unpluggi

  • USB to SPI Converter

    HiI'm trying to use USC-216 Isolated USB to SPI Converter with Labview.But I can't communicate with the unit Is someone familiar with this converter?Best regardsGuy   Solved! Go to Solution.

  • Logical partitioning, pass-through layer, query pruning

    Hi, I am dealing with performance guidelines for BW and encountered few interesting topics, which however I do not fully undestand. 1. Mainetance of logical partitioning. Let's assume logical partitioning is performed on year. Does it mean that every