Mulitple line items with partial delivery in IDOC

Hi,
This is the scenario
I am testing 855 inbound PO confirmation using we19. How can I test with multiple line items for partial delivery. I have created new segment for each line item(E1EDP01). For one line item the scheduled quantity is less than the ordered quantiy.
Guys Please can u help me on this
Regards
Andy

Enable 'Del Date' in Form Settings of the Delivery.
In the First Row, select the Item, Qty 5 and type Del Date Immediately
In the Second Row, select the Same Item, Qty 10 and type Del Date after 10 Days
In the Thrid Row, select the Same Item, Qty 5 and type Del Date after 15 Days

Similar Messages

  • Delivery is pulling items with different delivery dates from sales order

    hi all,
    i have a sales order with two line items with different delivery dates(eg 1st and 21st). material availability date for them is different. when i tried to create the delivery on 1st it is pulling the 2nd item whose delivery date is on 21st.
    where can i control this.
    thanks in advance
    harini

    Hi,
    let us take one example>materials A and B,
    A delivery date is 22.01.2008(maintained in schedule lines in SO)
    B delivery date is 30.01.2008(maintained in schedule lines in SO)
    now i want to deliver material A on 22.01.2008
    by default system will give you only material A in the item line
    material B will not be displaced in the second line item
    now i want to deliver material B on 30.01.2008
    by default system will show me material B in delivery line item
    if in case material A is not delivered then delivery will show you two line items
    i.e., Material A and B
    i think you have understood the difference
    regards,
    US

  • 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

  • Exclude line items with has no batch when we create a delivery

    Hi All,
    How can i Exclude line items with has no batch(Batch determination not found)when we create a delivery from sales order. Is there any user exit to prevent line items with has no batch number. I appreciate your help.
    thanks,
    Nara.

    Hi
    Can you try by putting some custom code in the include MV50AFZZ/mv50afz1/mv50afz2/mv50afz3/mv50afzk/mv50afzl. These are all exit.
    Thanks
    Chinmoy
    Message was edited by: Chinmoy Ghosh

  • Generate 2 line items with posting keys in same table while using  FM .

    Dear Expert ,
    For T-code f-65 ,I have to park a FI Document  .i tried with PRELIMINARY_POSTING_FB01 for parked Document . But  i am not  successfully park the document .
    with the help of F-65 the data Segregate between Tables VBSEGS and VBSEGD with respecting Posting key . but with this Fm entire entry is displaying in table VBSEGS .For example it generated two line items with posting keys '15' and '40' and these both are displayed in VBSEGS whereas posting key '15' has to be displayed in VBSEGD.
    when i check this Document in FBV0 Error reflect " G/L Account 0012000 1001 Does not Exist ".
    Here my code -
    DATA:   XT_BKPF LIKE  BKPF OCCURS 0 WITH HEADER LINE ,
            XT_BSEG LIKE  BSEG OCCURS 0 WITH HEADER LINE ,
            XT_BSEG1 LIKE  BSEG OCCURS 0 WITH HEADER LINE ,
            XT_BSEC LIKE  BSEC OCCURS 0 WITH HEADER LINE ,
            XT_BSET LIKE  BSET OCCURS 0 WITH HEADER LINE ,
            XT_BSEZ LIKE  BSEZ  OCCURS 0 WITH HEADER LINE ,
            XT_BKORM  LIKE  BKORM OCCURS 0 WITH HEADER LINE ,
            XT_THEAD  LIKE  THEAD OCCURS 0 WITH HEADER LINE ,
            XT_SPLTTAB  LIKE  ACSPLT  OCCURS 0 WITH HEADER LINE ,
            XT_SPLTWT LIKE  WITH_ITEMX  OCCURS 0 WITH HEADER LINE .
    DATA :    XTEXT_UPDATE  LIKE  BOOLE-BOOLE VALUE SPACE,
              XTEXT_ITEM_UPDATE LIKE  BOOLE-BOOLE VALUE SPACE,
              XI_UF05A  LIKE  UF05A,
              XI_XCMPL  TYPE  XFELD VALUE 'X',
              XFS006_FB01 LIKE  FS006 ,
              XI_TCODE  LIKE  T020-TCODE  VALUE 'F-65',
              XI_PARGB  LIKE  RF05A-PARGB        ,
              XI_TCODE_INT  TYPE  TCODE           .
    DATA P_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    XT_BKPF-BUKRS     =     'CP01'.
    XT_BKPF-GJAHR     =     2011.
    XT_BKPF-BLART     =     'DZ'.
    XT_BKPF-BLDAT     =     SY-DATUM.
    XT_BKPF-BUDAT     =     SY-DATUM.
    XT_BKPF-MONAT     =     '06'.
    XT_BKPF-CPUDT     =     SY-DATUM.
    XT_BKPF-WWERT     = SY-DATUM.
    XT_BKPF-USNAM     =     'ABAPER'.
    XT_BKPF-TCODE     =     'F-65'.
    APPEND XT_BKPF.
    XT_BSEG-BUKRS     =     'CP01'.
    XT_BSEG-GJAHR     =     '2011'.
    XT_BSEG-BUZEI = '001'.
    XT_BSEG-BSCHL = '40'.
    XT_BSEG-KOART = 'S'.
    XT_BSEG-SHKZG = 'S' .
    XT_BSEG-GSBER     =     'CPLN'.
    XT_BSEG-BUPLA = 'CP01'.
    XT_BSEG-WRBTR     =     10000.
    XT_BSEG-PSWSL = 'INR'.
    XT_BSEG-ZUONR = 'CH. 123456'.
    XT_BSEG-HKONT = '241000'.
    APPEND XT_BSEG .
    CLEAR  XT_BSEG.
    Vendor line item - required even for header only - BSEG table
    XT_BSEG-BUKRS     =     'CP01'.
    XT_BSEG-GJAHR     =     '2011'.
    XT_BSEG-BUZEI = '002'.
    XT_BSEG-BSCHL = '15'.
    XT_BSEG-KOART = 'S'.
    XT_BSEG-SHKZG = 'H' .
    XT_BSEG-GSBER     =     'CPLN'.
    XT_BSEG-BUPLA = 'CP01'.
    XT_BSEG-WRBTR     =     10000.
    XT_BSEG-PSWSL = 'INR'.
    XT_BSEG-ZUONR = 'CH. 123456'.
    XT_BSEG-HKONT = 'PC04000001'.
    APPEND XT_BSEG .
    CLEAR  XT_BSEG.
      CALL FUNCTION 'PRELIMINARY_POSTING_FB01'
       EXPORTING
         TEXT_UPDATE            = XTEXT_UPDATE
         TEXT_ITEM_UPDATE       = XTEXT_ITEM_UPDATE
      I_UF05A                =
         I_XCMPL                = XI_XCMPL
      FS006_FB01             =
          I_TCODE                = XI_TCODE
      I_PARGB                =
      I_TCODE_INT            =
      IMPORTING
        XEPBBP                 = CHECK_A
        TABLES
          T_BKPF                 = XT_BKPF
          T_BSEG                 = XT_BSEG
          T_BSEC                 = XT_BSEC
          T_BSET                 = XT_BSET
          T_BSEZ                 = XT_BSEZ
      T_BKORM                =
      T_THEAD                =
      T_SPLTTAB              =
      T_SPLTWT               =
              EXCEPTIONS
                ERROR_MESSAGE = 1.
      P_RETURN-ID         = SY-MSGID.
      P_RETURN-TYPE       = SY-MSGTY.
      P_RETURN-NUMBER     = SY-MSGNO.
      APPEND P_RETURN.
         p_return-MESSAGE_V1 = XSYMSGV.
      IF SY-SUBRC = 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            WAIT = 'X'.
      ENDIF.
      WRITE :/ sy-subrc , sy-MSGV1 .
    Thanks ,
    Ashish Gupta

    Hi Raghuram,
    I found a very important SAP Note 103051, details are below.
    An IDoc processed by function module IDOC_INPUT_INVOIC_MM (of category INVOIC01) must not refer to the same purchase order item in several invoice items. This is also valid if for a goods receipt-related invoice verification several delivery notes belong to the same purchase order item.
    Depending on the system settings and the situation, various error messages can occur (for example, FD240 'Order item ... selected more than once' or M8050 'Balance not zero: & debits: & credits: &').
    In this situation module IDOC_INPUT_INVOIC_MRM generates error message M8321 'Document contains same order item more than once'.
    For example, this situation occurs if you work with individual batch valuation and the SD billing document executes a batch split for different batches which belong to the same purchase order item and delivery.
    Other terms
    INVOIC, SAPLIEDI,  M8047, M8, 321
    Reason and Prerequisites
    This is because of the program design.
    Solution
    There is no solution for IDOC_INPUT_INVOIC_MM.
    Module IDOC_INPUT_INVOIC_MRM (only as of Release 4.0) for the logistics invoice verification can distinguish different goods receipts by means of the delivery note number. For this purpose, GR-related invoice verification must be active.
    Owing to this symptom, billing documents for single batch valuation with batch split cannot be settled in MM-EDI inbound processing. The settlement generates exactly the situation described (several invoice items for the same purchase order item). In this case, the only solution is to deactivate the billing of the batch sub-items in SD Customizing and to calculate the main item only.
    Hope this helps.
    Reward if helpful.
    Thanks

  • New line item insertion in delivery via EDI - PI

    hi,
    the requirement is to insert a new line item in the delivery.
    This new line item inserted should be done via an IDOC, which while entering the SAP will insert a new line item in the delivery.
    The question if this line item insertion should be done through the inbound FM in SAP or via XI/PI.
    How will this be done in PI??
    Thanks a lot

    Hai,
    How you delivery creating or updation working in ECC??
    like if you are using PI interface create/update delivery in ECC ,then you cae use PI only to insert new line item for material id.
    else if you want do manually you can create in VA02/VA42 TRASACTIONs or using function module also we can do that.
    option is yours.
    if you dont have much idea then better to talk with ABAP/Functional guys they will easily do this without PI.
    Regards,
    Raj

  • Standard  report(for open PO order items) with estimated Delivery dates

    hi friends
    i would like to know if there is any standard  report(for open PO order items) with estimated Delivery dates on it.
    thanks
    alahari

    ME2M (by material)
    ME2L (by vendor)
    ME2N (by number)
    Use selection parameter WE101 for open GR
    and scope of list EINT (scheduling lines)

  • Unable to delete line item with 0 quantity in Invoice.

    Hi Experts,
    I came across a Invoice which reflects in VF04 as pending Billing due list. When i checked at the inter company Invoice i came across a line item with "0" quantity and price as zero, interestingly the replinishment cross company delivery document  for the same line item for "0" quantity had a Batch assigned to it.
    Now the issue is cusotmer has selected the line item with XX quantity and have selected the accounting document to be generated but the line item with "0 was left over and now still reflects in VF04.
    Customer does not want to reverse the full cycle to resolve the issue since the document was created a year back.My Question  is can we get the line item with "0" quantity to clear accounting so that it will not reflect in VF04.If so what will be process to do that.
    Thanks in Advance to advice.
    Regards,
    Sridhar.R

    Hi,
    It is  not possible to delete this line item, you can discuss with your client and delete it from the table.
    And now coming to the reasons why it has come into the invoice & Delivery
    1. The Batch Item category must have been configured as relevant for billing...check this and make it irrelevant if the client does not do batch specific billing. --- This will stop the batches from coming into the invoice.
    2.  Check for the batch item category in delivery if Zero quanity is allowed...if it is allowed make it not allowed and make it an Error message, whenever there is a zero quantity system will give a message.

  • PO Line Item with Open Quantity

    HI all,
    How should i select a PO line item with Open Quantity? Is it possible to post GR for a PO which is set for Delivery Complition but still has Open Quantity ..
    please help me how to check for OPEN QUANTITY.
    Thanks,
    Ravi.

    Hi all,
    Thanks for your answer, but can you be some more specific on what calculations need to be done.
    I need to Post a GR for all PO where PO line items have Open Quantity.
    Thanks
    ravi.

  • I have a problem regarding sales order line item with confimed quanity

    Hi Experts,
    I have a problem regarding sales order line item with confimed quanity with '0'  with delivery block but confirming the sales order quantity once the order is released from credit check.
    The situation arises as per the below scenarios.
    Scenario - 1 -  When the sales order has two line item - one line item with confirmed qunaity in the schedule line and for the 2nd line item there is no available stock for the Material xxxxxx.
    Initially the sales order is created for the line item 2 with confirmed quantity = 0, and having the delivery block = 01 for the Material xxxxxx  and the order is set with credit check.  Once the order is relased from the credit check.  The quanity for the item 2 where the confirmed quantity will be = 0 ( Where it is not changing the confirmed quantity)
    Scenario -2-  Updating the order qunaity for the line item 2 as (9Pcs) it will goes to credit check and save the order.
    Maintain the stock for the line item 2 ( 5 Pcs).
    Once the order is released from the credit check.  Then  for the line item 2 the confirm quanity will be seting to 5 Pcs with Delivery blcok 01.
    This should not happen, When the credit check is released even though if it has stock based on the delivery blockl it should set the confirmed quanity to Zero.
    Can you please help me how to solve this issue.
    Looking forward for your reply.
    Thanks and Regards,

    Hi,
    I agree with your point.  In the sales order When the complete delivery check box is enabled where the confimed qty is set to zero, it is fine but when we save the orderr it goes to credit check.  Once we release the order using VKM3 where in the sales order the confimed quantity is setting to 5,  But it should set to Zero quantity.  Quatity should not be get confirmed it should be Zero Quantity. 
    Further in SPRO - customizing in the deliveries blocking reasons - It has a tick mark in the confirmation blcok.  But we dont want to remove the - Confirmation Block tick mark
    Please any one can help me if you have any solution to solve this problem.
    Thanks and Regards.

  • How to do order status should be completed even with partial delivery?

    Hi,
    My requirement is i have sales order for 5 units.
    Delivery will be done for 3 units.
    I need the sales order status to be completed after delivery.
    I have tried with completion rule in item catagery'Item is completed with first reference'
    Still the status in document flow is order 'being processed'
    Can any body help me out
    regards,
    Reddyy

    Hi Reddy
    If your requirement has to be fulfilled then assign reason for rejection at item level for all line items after doing delivery .Then the item will be closed with 3pcs only .And when you check the document flow then the sales order will be closed
    NOTE : No need to change the completion rule at the item category level
    Regards
    Srinath

  • An item with no delivery quantity is not permitted. Item will be deleted.

    Sales order created, the schedule lines are confirmed for the delivery date and qty
    order is not blocked for delivery
    order is complete
    still while creating delivery get a error message
    An item with no delivery quantity is not permitted. Item will be deleted.
    Message no. VL367
    stock checked through MMBE that is also available in unrestricted use
    kindly guide

    Check this thread
    [Re: Mesaage : while creation of delivery : An item with no delivery quantity|Mesaage : while creation of delivery : An item with no delivery quantity .);
    In MMBE though the stock shows under Unrestricted column, it also includes delivery created and saved without doing PGI.  So check in MD04 any delivery reference is flowing.
    thanks
    G. Lakshmipathi

  • Vendor Line item with Opening and Closing Balances report regarding

    Dear All,
    I need a report for vendor line items with Opening and Closing balances.
    Thanks in advance
    Sateesh

    Hi
    Try S_ALR_87012082 - Vendor Balances in Local Currency
    Regards
    Sanil Bhandari

  • Customer line items with balance carry forward no opening balance

    Hello FI Experts,
    We have ticket where the user is using a Z* Report for Customer line items with balance carry forward. In 31.01.2007 user has posted some legacy data, latter he was executing this Z* report then user can see the values posted on the same day (31.01.2007) as line items. But he was executing the report on 01.02.2007 then he was not able to see the line item as well as the values posted on 31.01.2007 as opening balance as on 01.02.2007. But if we run the report as on 01.01.2008 then we are able to see the values which are carry forwarded as opening balances. Did anyone have worked on this type of scenario?
    Requirement Here Is:  The values that have been posted on 31.03.2007 which are still open line items should get displayed as opening balance as on 01.02.2007.
    Thanks for helping on this issue.

    Hi,
      Any report will get data from Tables. Please check whether the table you have used to develop this report has opening balance.
    Balance will be carry forwarded only when you run the balance carry forward program. Check whether this was run for the date you have specified. This can be done in the year end.
    If you are checking in the middle of the year, then the balance will not be carry forwarded.
    Regards,
    B. Radhika.

  • Report for G/L line items with both debit & credit posting accounts

    Hi,
       My client requires a G/L line items report. It can be possible thru fs10n or fbl3n etc. But he wants to see both the credit and debit accounts in the same line.
    for ex: if I open a expense account and show the report of individual documents, he wants to see the corresponding credit item to which bank/cash account it got credited to.
    we showed them to double click on that document and goto document overview. but they dont want in that way.
    they want to see all the line items with both postings in the same sheet for all line items.
    valuable replies will be fairly rewarded.
    thanks,
    chaitanya

    Hi,
    U can use the following TCodes...
    - S_ALR_87012287
    - S_ALR_87012289
    - S_ALR_87012291
    But i am not sure if your client will be happy...
    This is a very common req and the only solution possible is to have a customized report for the client..
    Hope its clear..
    Cheers
    Raghu

Maybe you are looking for

  • Windows Phone 8.1 update error on Samsung Ativ S

    Windows Phone 8.1 update error on Samsung Ativ S. Last update dont Work on my phone, the phone start update but start agen and make error, can you help me? Can´t link ? Body text cannot contain images or links until we are able to verify your account

  • Ipod touch is not syncing over wifi at home

    Hi is there anyone out there that is having trouble with syncing there ipod touch with there home computer and receiving there email as well. But are able to go on the wifi outside of thier home in public domains and only able to partially receive th

  • LiveCache - LC10 Not working

    Hi All I Have installed SCM 4.1 on Windows 2003 Enterprise Edition ( 32 Bit). Installtion went on well without any errors.. I am facing problem while initializing Livecache through LC10 transaction Name and Server :- LCA -VTAMADA DBMRFC Function  :-

  • Commas in index keywords

    I tried searching on this but found no answer so here goes. I'm using RH7. I'm adding new keywords to the topics rather than the index file. I want to have commas in the index--e.g., Smith, John--but RH is not allowing that. It's making Smith the key

  • Install two Process Server on one machine

    Hi everyone, I would like to install two Process Server on only one server (machine). This machine will be use for two different environnements? Do you think it's possible? and what would be the impact about this kind of installation? If it's possibl