Incomplete Del Doc

Hi Gurus,
When I try to do PGI the document gives me an error as incomplete document and when I see the incompleteness of delivery doc shows me an error which says " Batches/valuation types not completely allocated"
Can you help in solving this so as to do PGI.
Thanks
Bawa
I do have batches assigned to the item lines! still its the same error.
Edited by: Bawa Bawa on Oct 2, 2008 4:44 PM

Hi Bawa,
Did you check that in all the line items the delivery quantity is same as the pick quantity and the batches have relevant amount of quantity available in them. I think in one of the lines the batch may not have full delivery done hence asking for more batch numbers.
Hope this helps,
Abhishek

Similar Messages

  • How to get balance qty. of delivery in del. doc.

    Dear Friends,
    S.O's qty=100
    Delivery doc. added qty=50
    Now if i will open delivery doc.
    shall i get information like.
    ordered=100
    Delivered=50
    Balance to deliver=50
    Regards,
    MAhesh.

    Hi
    In S.O u will get two fields in Form settings like Delivered Qty and Open QTy( Yet to deliver), u can use this in ur so.
    In Delivery u will get two fields in FS like QTY to Ship , Ordered qty.
    Giri

  • Cancelling Del Doc 3PL

    Hi Gurus,
    I have an issue for some reasons want to reverse & cancel del and when I use VL09 get an error that" reverse is not possible as decentralised warehuse is in use". We are using 3PL warehouse.
    Can anyone guide me on this.
    Thanks
    Bawa

    Do the reversal of GI in decentralised warehouse first.
    In the header data of delivery the decentralised warehouse status should be"B" instead of "C".
    There should be a customized tcode to confirm the decentralised warehouse status,use the same to cancel the PGI.

  • Deleting the del doc no and sal doc no..

    Dear Friends,
                       IS there Any Function Module Available for Deleting the Delivery Document and the Sales Document.

    Hi!
    Have you tried to create a BDC recording (with SM35) to the deletion?
    Do you want to delete delivery and sales order without any trace?
    Regards
    Tamá

  • How can i retrieve documents(.doc,.pdf, .txt) using forms from the database.

    How can i retrieve documents(e.g .doc,.pdf, .txt etc) using forms from the database.
    i inserted the documents using sql*loader, below is the control and data files.
    -- control file
    LOAD DATA
    infile 'load.txt'
    INTO TABLE husman
    APPEND
    FIELDS TERMINATED BY ','
    (id integer external,
    fname FILLER CHAR(50),
    docu LOBFILE(fname) TERMINATED BY EOF)
    --data file
    1,../husman/dell.doc,
    2,../husman/me.pdf,
    3,../husman/export.txt,
    in the form i have a text field to display the id and an OLE container to display the document as an icon. but when i execute query, i only get the id number and not the document.
    any help will be appreciated.
    Thanks
    Hussein Saiger

    Step by step
    1. Erase all contents and settings
    2. You'll be asked twice to confirm
    3. You'll see Apple logo and progress bar
    4. You'll see a big iPad logo on screen
    5. Configuration start
    6. Set language
    7. Set country
    8. Enable Location Service
    9. Select network, enter password and join network
    10. You'll be given 3 options (a) Setup as New iPad (b) Restore from iCloud Backup (c) Restore from iTune Backup
    11. Selected Restore from iCloud Backup
    12. You'll be required to enter Apple ID and Password
    13. Agree to Terms and Conditions
    14. Select Backup file
    15. You'll see progress bar
    16. Red slider will appear; slide to unlock; step #1 to #16 is fast
    17. Pre-installed apps will be restored first
    18. Message: Purchased apps and media will now be automatically downloaded
    19. You'll see a pageful of apps with Waiting/Loading/Installing
    20. Message: Some apps cannot be downloaded, please sync with computer

  • Not able to use the  deleted Del. document serial nos

    Dear All,
    I am not able to reuse the reverse PGI document serial nos.
    Proess is like that I have done PGI with serial no. and due to some reason i have to reverse the PGI and further i deleted the existing del. doc no. . Now when i am going to reuse the serial no. for new del. no. it is showing  error that the serial no. has
    customer status.
    Kindly suggest me the config for the same.
    Thanks in advance.
    Dear Experts please advise on the same.
    Regards
    AJIT K SINGH

    Hi Ajit,
    It simple to correct it.
    Problem is when you reverse the delivery and Delete the status has not been changes.
    For resolving this issue, you should have the access of T-code IQ02 --> enter your material number and serial number --> Enter --> Click at "Edit" (Menu) --> Special Serial number function --> Manual Transaction --> Select "To stock" --> Status become ESTO --> then you can use it for other order or delivery.
    Hope it helps,
    Regards,
    MT

  • No accounting document generated (foreign trade data incomplete)

    hello all,
    I meet a problem like this:
    Sales order: 1001
    delivery: 2001
    Invoice: 3001
    another invoice 9001 has created for cancel 3001.
    when we saveed 9001, no accounting document generated, but we were not cognizant of it. and we did VF09 reverse PGI, VL02 delete delivery 2001.
    now the problem is: when we try to release invoice 9001 to accounting, a message occurs "Document 9001 has been saved (foreign trade data incomplete)"
    it seems need data of delivery 2001, but it has been deleted.
    can anyone please give me suggestions? thanks!
    Document 9001 has been saved (foreign trade data incomplete)
        Message no. VF 072
    Diagnosis
        The billing document you have edited contains foreign trade data. These
        are however not complete.
        This means that the document cannot be transferred to accounting (FI).
    System Response
        The system issues a message.
    Procedure
        Maintain the incomplete foreign trade data. Then you can transfer the
        billing document to accounting (FI).

    Hai Laxmipathi,
    As the issue addressed by Mu_ying, exactly even I have encountered the same error. I am working on Export Scenario where in created a billing doc and saved (without foreign trade data) but later its cancelled and subsequent delivery doc is also cancelled but when i release the cancelled billing doc error pops up as "foreign data incomplete" but doc no. is saved, as mentioned by Mr. Mu_ying mail.
    However, in my case when i try change in VF02 item level for foreign trade/customs tab (change for the cancelled doc) the radio buttons for System is RED, and I am unable to enter the data as all the fields are greyed out, due to this reports figures are incorrect.  Hope u r able to get what i have mentioned.
    i/p's will be of great help.

  • How to retrieve  Del. No. using MBLNR

    Hi Guyz..
    One quick Qn !
    I have MBLNR in my I_MSEG, now I want to retrieve Del. doc. no. using MBLNR. Now I tried to select VBELV as Del doc. using VBELN as subsequent doc. from  VBFA table. I am using FOR ALL ENTRIES in ITAB,
    The prob is the select on VBFA takes 5 mins for 5 record in I_MSEG.
    So how can I make this select fast or , what alternative I can use.
    here the code is
        SELECT mblnr
               line_id
               matnr
               charg
          FROM mseg
          INTO TABLE i_mseg
         WHERE matnr IN s_matnr
           AND charg IN s_charg.
       IF NOT i_mseg[] IS INITIAL.
        SELECT vbelv
               vbeln
               vbtyp_v
               vbtyp_n
          INTO TABLE i_vbfa
          FROM vbfa
           FOR ALL ENTRIES IN i_mseg
         WHERE vbeln   = i_mseg-mblnr
           AND posnn   = i_mseg-line_id
           AND vbtyp_n = 'R'
           AND vbtyp_v = 'J'.
    please help !
    Thanks
    Jaif

    Hi
    If you use all key fields in selection then you can get faster than present perfamence.
    In MSEG, below two fields also key fields.
    MJAHR
    ZEILE
    In VBFA,  VBELV, POSNV, VBTYP_N are key fields.
    Reward if it dose.
    Thanks
    Siva Kumar

  • BAPI to create Billing DOC for deliveries

    Hi All,
    I am looking for a BAPI to create a billing document based on the Shipment number.
    I found Bapi_BILLINGDOC_CREATEMULTIPLE,  but not working as expected.
    If anyone has used above or another bapi, please inform.
    Thx-Praveen

    Hi Praveen,
        i'm using same bapi and i'm able to create the invoice for the del.doc.
    for your ref. , here i'm attaching the code , please go through once.
              LS_BAPIVBRK-REF_DOC = DELIVERY_NO.
               CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                 EXPORTING
                   INPUT  = LS_BAPIVBRK-REF_DOC
                 IMPORTING
                   OUTPUT = LS_BAPIVBRK-REF_DOC.
               LS_BAPIVBRK-REF_DOC_CA = '8'.  Shipment
               APPEND LS_BAPIVBRK TO LT_BAPIVBRK.
               CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
                 TABLES
                   BILLINGDATAIN = LT_BAPIVBRK
                   ERRORS        = LT_BAPIVBRKERRORS
                   RETURN        = LT_BAPIRET1
                   SUCCESS       = LT_BAPIVBRKSUCCESS.
    after this do commit.
    you might miss the document category .
    Regards,
    Krishna

  • Delivery doc creation for a selected line item of the Sales order

    Hi folks,
        Can any one help me in how to create a delivery order for a selected line item of the Sales order.My requirement is the request comes from the web browser where a sales document and details of the items are shown the user select one line item and request for delivery create of that particular SO doc.I have used couple of FM to create delivery but the delivery create is depend on the schedule line dates so iam unable to figure out where exactly i can distinguish between the line items.
    Example:
    SO:- 11193645
    Line item -1 has 2 schedule line 06/11
                                     06/13
    Line iteam-2 has 1 schedule line 06/12
    so if i try to create Delivery doc for date 06/12
    it creates partially for line 1 and line 2.
    but my requirement is i wanted to create SO for only line item 1 as i wanted to process Del Doc for only line item 1.
    If you have any idea please help me.

    hi ,
    You can develop a customised FM to process the Idoc data .
    1. Read the Idoc data into internal table for the line items which need to be delivered .
    2. Run BDC for transaction 'VL01N' ( delivery creation ) through which  eliminate the line items which are not in internal table and save the delivery document
    Note : Because in VL01N , you specify the sales document with respect to which you want to perform delivery hence automatically all items are copied to the delivery document .
    During BDC recording , select items by " MOVING TO TOP"
    and then deleting the selected item
    If you face problem in BDC recording , i can help u that too .

  • Invoice and Packing List Issue

    I have a delivery created . Now in invoice I see the correct weignt and materials . However in the packing list all the items are duplicated adding to incorrect weights . Please guide me , how to close this issue .Screenshot given
    Thanks
    MM_sD

    Hi,
    I will just again clarify this issue.
    I have a Del Doc which has 34 packed items, but in the script its showing 55 packed items.
    For other Del Doc its has 9 packed items which is showing all 9 items properly in the sap script.
    I have debugged the print prog comparing both documents and have found that at a place a std FM is used, which is fetching the packed orders:  SD_DELIVERY_VIEW.
    But here after this FM is executed its fetching 55 packed ones for the 34 packed items Order and for the 9 packed items Order its fetching the correct 9 packed items after the FM is executed.
    Hopefully this clarifies my issue.
    Its showing correctly for an order and its displaying incorreclty for another in the SAP Script.
    If someone could(would) please help. I feel there is a solution for this.
    Many Thanks,
    Jagan.

  • STO billing and capture invoice

    hi guys
    i was transfering mine material (C10150) from plant (X) to (Y)
    i am bale to transfer
    i am through withtill VL02n and delivering the goods
    but i ahve two Query
    what about billinf( STO is one comapny code)
    how to create invoice as i will doing sale from Depot
    Note:
    Mine plant (X) is manufc
    were as plant (Y) sale from depot
    Regards
    Vinit

    Hi,
    Normally in case of STO we create a Proforma Invoice against the Receiving Plant.
    Billin type used is F5 or F8 ( I guess).
    We have to maintain the necessary copy controls from the Source Del doc to our Billin Doc.
    ie from NL (Replenishment Delv) to F5 (Proforma Inv)
    Since this is Proforma no accounting Doc will be generated.
    Once we create Proforma with ref to tht we can create an Excise Inv in J1IIN.
    Hope this clears your doubt.
    Thanks & Regards,

  • Item Category not Defined Error message when deleting a batch item in Deliv

    Hi,
    I am trying with a Intercompany transfer . So after creating Interco. Transfer we have followed with a delivery document.
    Now,we would like to delete the delivery document. For your info. Del. doc is still open. We haven't gone for Goods issue or anything else.
    So,we tried removing the batch line item in batchsplit tab of the delivery and then deleting the delivery document.
    But we get the error message "Item catgeory Not defined". but we could see entries for Item category Determination with the particular Delivery typeItem Category Group from Material MasterItem Usage+Item Category.
    Why does system throw "Item catgeory Not defined".  when there are entries for particular determination available .
    And this seems to be Syste
    Thanks,
    Dhilipan

    Hello Sandy,
    Thanks for ur update. But its ticked already.. We checked it.
    But we still face this issue. And we are not able to replicate the same issue in QA..What cud be the reason.
    But Config..seems exactly similar to Pro. and QA
    Thanks,
    Dhilipan

  • Problem in Sales Order Query

    Hi All,
    I have problem....This is query which ic combination of Sales Order, Return, Delivery and AR Invoice.....Please tell me why this query is not working ......I want Document No, Quantity, Doc Date from Sales Order, Return, Delivery and AR Invoice and Tax bifergation also.....I per my view this query there should not be any problem but it is not working...please tell me where I am wrong....Just copy and paste this query and check in ur system.......
    SELECT b.Doc_Num1 as 'SO. No.',
    b.DocDate    as      'SO. Date',
    b.Doc_Num2   AS      'Del.Doc.No.',
    b.DocDate    AS      'Delivery Date',
    b.Doc_Num3   as      'A/R Invoice No.',
    b.DocDate    as      'Inv. Date',
    b.Doc_Num4   AS      'RETURN Doc.No.',
    b.DocDate    as      'Ret.Date',
    b.CardName   as      'Vendor Name',
    b.NumAtCard  as      'Bill No. & Date',
    b.ItemCode   as      'Item Code',
    b.Dscription as      'Dscription',
    b.Quantity1  as      'AR Invoice Quantity',
    b.Quantity2  as      'Sales Order Quantity',
    b.Quantity3  as      'Delivery Quantity',
    b.Quantity4  as      'Return Quantity',
    b.LineTotal  as      'Base Amt.(Rs.)',
    b.WTSum           AS      'TDS (Rs.)',
    b.DocTotal    as     'Total (Rs.)',
    sum(b.BED)    as           'Bed Value',
    sum(b.EDCS)   as          'EDCS Value',
    sum(b.HECS)   as          'HECS Value',
    sum(b.VAT)        as           'VAT Value',
    sum(b.CST)        as           'CST Value',
    sum(b.CVD)        as           'CVD Value',
    sum(b.SerTax)  as           'SERTAX Value',
    sum(b.CSonSerTax) as      'CS Value',
    sum(b.HECS_ST)      as      'HESC Value' 
    from (
    select *,( a.Bed + a.EDCS + a.HECS + a.VAT + a.CST +a.CVD + a.SerTax + a.CSonSerTax  + a.HECS_ST ) as Filter from (SELECT distinct
    T0.DocNum,
    T0.DocDate,
    T2.DocNum,
    T2.DocDate,
    M.DocNum,
    M.DocDate,
    M.CardName,
    M.NumAtCard,
    L.ItemCode,
    L.Dscription,
    L.Quantity,
    T1.Quantity,
    T3.Quantity,
    S.DocNum,
    S.DocDate,
    X.Quantity,
    L.LineTotal,
    M.DocEntry,
    M.[DiscSum],
    M.WTSum,
    M.DocTotal,
    M.WTSum,
    M.DocTotal,

    Hi Sonal,
    Try this,
    SELECT  T0.DocNum as 'SO. No.',
    T0.DocDate as 'SO. Date',
    T2.DocNum AS 'Del.Doc.No.',
    T2.DocDate AS 'Delivery Date',
    M.DocNum as 'A/R Invoice No.',
    M.DocDate as 'Inv. Date',
    T4.DocNum AS 'Return No.',
    T4.DocDate AS 'Return Date',
    M.CardName as 'Vendor Name',
    M.NumAtCard as 'Bill No. & Date',
    ISNULL(L.ItemCode,'Service Item') as 'Item Code',
    L.Dscription,
    L.Quantity,
    (Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry) as 'Base Amt.(Rs.)',
    (SELECT Sum(TaxSum) FROM INV4 where statype=-90 and DocEntry=M.DocEntry) as 'ED (Rs.)',
    (SELECT Sum(TaxSum) FROM INV4 where statype=-60 and DocEntry=M.DocEntry) as 'EDCS (Rs.)',
    (SELECT Sum(TaxSum) FROM INV4 where statype=7 and DocEntry=M.DocEntry) as 'HECS (Rs.)',
    (SELECT Sum(TaxSum) FROM INV4 where statype=1 and DocEntry=M.DocEntry) as ' VAT (Rs.) ',
    (SELECT Sum(TaxSum) FROM INV4 where statype=4 and DocEntry=M.DocEntry) as ' CST (Rs.) ',
    (SELECT Sum(TaxSum) FROM INV4 where statype=10 and DocEntry=M.DocEntry) as ' CVD (Rs.) ',
    (SELECT Sum(TaxSum) FROM INV4 where statype=5 and DocEntry=M.DocEntry) as ' Ser.Tax (Rs.) ',
    (SELECT Sum(TaxSum) FROM INV4 where statype=6 and DocEntry=M.DocEntry) as 'CS on Ser.Tax (Rs.)',
    (SELECT Sum(TaxSum) FROM INV4 where statype=8 and DocEntry=M.DocEntry) as 'HECS_ST (Rs.)',
    (Select Sum(LineTotal) From INV3 Q Where Q.DocEntry=M.DocEntry) AS 'Freight (Rs.)',
    M.WTSum AS 'TDS (Rs.)',
    M.DocTotal as 'Total (Rs.)'
    FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN ODLN T2 ON T2.DocEntry = T1.TrgetEntry
    INNER JOIN DLN1 T3 on T3.DocEntry = T2.Docentry
    INNER JOIN OINV M ON M.DocEntry = T3.TrgetEntry
    LEFT OUTER JOIN INV1 L on L.DocEntry=M.DocEntry
    LEFT JOIN ORDN T4 ON T4.DocEntry = L.TrgetEntry
    LEFT JOIN RDN1 T5 ON T5.DocEntry = T4.DocEntry
    LEFT OUTER JOIN INV4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
    LEFT OUTER JOIN INV5 J ON M.DocEntry = J.AbsEntry
    LEFT OUTER JOIN INV3 Q ON M.DocEntry = Q.DocEntry
    WHERE M.DocDate >= '[%0]' AND M.DocDate <= '[%1]'
    GROUP BY
    T0.DocNum,T0.DocDate,T2.DocNum,T2.DocDate, M.DocNum,M.DocDate,T4.DocNum, T4.DocDate, M.CardName,M.NumAtCard,L.ItemCode,L.Dscription,L.Quantity,
    M.DocEntry,M.[DiscSum],M.WTSum,M.DocTotal
    ORDER BY
    T0.DocNum,T0.DocDate,T2.DocNum,T2.DocDate, M.DocNum,M.DocDate,T4.DocNum,T4.DocDate, M.CardName,M.NumAtCard,L.ItemCode,L.Dscription,L.Quantity,
    M.DocEntry,M.[DiscSum],M.WTSum,M.DocTotal
    Regards,
    Madhan.

  • Goods Shipped -BUT- Not Invoiced

    Hi Gurus,
    we would like to see a report (NOT VF04), where I can see all the Goods Shipped But not invoiced with AMOUNT so that we can Tie this amount to respective Goods in Transit GL account balance for Auditing Purpose, so that we can tell them this is the actual amount in Transit needs to be invoiced by showing report and GL account,
    Please Help me ,  your help appreciated,
    Sandhya

    Sri Nath,
    I think you missed the whole point here, I am not talking about exchange rates ro amount going from Sales order to GL , it will go anyways as I am talking about the Inventory Transfer account Amount and the Goods Shipped But Not Invoiced report amount ,
    Let me explain again, you will see some Del Doc ," Y " (Sales Order "X" ) in VL06 and you will come to know this is Open Invoice and Goods Shipped already,,,,,,,, at the same time for this Delivery Doc , Y , for the amount in sales order, X , will be reflecting in that GL account ,
    So Now the Point is VL06 or or anyother report with the options you said, will give you Del Doc Y , as Output but NO DOLLAR AMOUNT, so How can I tie this Del Doc amount(s) If I don't see a consolidated total that I need to Tie with FS10N report,?
    Shiva making new Report is last Option I believe.
    Sandhya

Maybe you are looking for