Duplicate deliveries creation for single PO line in Batch Job

Hello Experts,
I have the VL10G batch job running for every 15 mnts for creating deliveries for POs. Recently for some reason, i see duplicate deliveries being created for same PO line for single quantity. Suppose, i have a PO line with 10 quantity, when I checked the PO history, i see two different delivery notes created for the same 10 qty in each. I assume that there could be some buffering delays in Batch job or the PO being edited during batch run. But I can not come a conclusion on this issue. Please share your ideas.
Thanks in advance.

Please see OSS  Note 1454193 - Duplicate Deliveries are Created using Transaction VL10* or Background Jobs

Similar Messages

  • Three same material document number generated for single PO line item.

    Hi,
    I found three same material number has been generated for single PO line item. Is there any specific reason for this.
    Here is the detail.
    PO
    LN   qty
    10    100
    PO history for LN 10
    Mat doc          qty               price
    5000000000     100               100
    5000000000     100               100
    5000000000     100               100

    see aditya , tables having document number as a primairy key will have a single entry , where as tables having primary key other then material documnet number is having multiple entries . as far as material document is concern , it is only one document in system , now we have to find why it is appearing 3 times . i will test this in my system and let you know .
    well thanx for your Cooperation . i will definatly get back to you .
    regards
    ravikant dewangan

  • 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 .

  • Looking for documentation of Access Control Batch Jobs-all four components

    Hi,
    We are implementing all (4) components of Access Control. We are at a point in our project, where we are documenting, inventorying and testing all of or Batch Jobs. I'm trying to find One Single, or Four individual documents that provide direction, sequencing, etc..... I've found vague bits and pieces, but am hoping the is some detailed documents out there, that someone can direct me to.
    Any assistance would be greatly appreciated.

    Hi Smith,
    Check "Operations Guide - SAP GRC Access Control 5.3" at Service Marketplace-->Installations and upgrade->Access Control 5.3 It contains the list of jobs.
    For firfighter, there are background jobs in Config Guide.
    Regards,
    Sabita

  • Gr process is not completing for since 2006 while running batch job.

    Hi,
    we r running batch job and its not delivering material .in po history it showing not in Gr place. plz give reason and solution for this.
    Thanks,
    Sydanna

    hi,
    if you have alrady post that doc then pls check in migo- display & check th'r in thaty doc.  batch is created or not or check storage location & plant plant also , it th'r is mistake while doing the migo then reverse./ cancle it
    next go to  in mm01--select that material no - select all the necessary subsereen inculuding plant/ data data store-1  &  plant/data stor.1-screen  -
    click on batch management --&  save
    after that you do the grn againt of that po
    thanks
    santosh

  • How to generate Excle file for a report runningin a Batch job

    Hello All,
    Can we generate Excle file for a report running in a Batch job.
    Kindly send reply to     [email protected]
    Thanks in Advance.
    Cheers,
    Sundeep

    Dear Sundeep,
    I'm providing you with the following piece of code ... Its working fine for me ... hopefully it suits your requirement ...
    D A T A D E C L A R A T I O N *
    TYPES: BEGIN OF TY_EXCEL,
    CELL_01(80) TYPE C,
    CELL_02(80) TYPE C,
    CELL_03(80) TYPE C,
    CELL_04(80) TYPE C,
    CELL_05(80) TYPE C,
    CELL_06(80) TYPE C,
    CELL_07(80) TYPE C,
    CELL_08(80) TYPE C,
    CELL_09(80) TYPE C,
    CELL_10(80) TYPE C,
    END OF TY_EXCEL.
    DATA: IT_EXCEL TYPE STANDARD TABLE OF TY_EXCEL,
    WA_EXCEL TYPE TY_EXCEL..
    E V E N T : S T A R T - O F - S E L E C T I O N *
    START-OF-SELECTION.
    Here you populate the Internal Table.
    Display - Top of the Page.
    PERFORM DISPLAY_TOP_OF_PAGE.
    E V E N T : E N D - O F - S E L E C T I O N *
    END-OF-SELECTION.
    SET PF-STATUS 'GUI_STATUS'.
    E V E N T : A T U S E R - C O M M AN D *
    AT USER-COMMAND.
    CASE SY-UCOMM.
    WHEN 'EXPORT'.
    Exporting the report data to Excel.
    PERFORM EXPORT_TO_EXCEL.
    ENDCASE.
    *& Form DISPLAY_TOP_OF_PAGE
    text
    --> p1 text
    <-- p2 text
    FORM DISPLAY_TOP_OF_PAGE .
    SKIP.
    WRITE: /05(128) SY-ULINE,
    /05 SY-VLINE,
    06(127) 'O R I C A'
    CENTERED COLOR 1,
    132 SY-VLINE.
    WRITE: /05(128) SY-ULINE,
    /05 SY-VLINE,
    06(127) 'Shift Asset Depreciation - Period/Year-wise Report.'
    CENTERED COLOR 4 INTENSIFIED OFF,
    132 SY-VLINE.
    WRITE: /05(128) SY-ULINE.
    E X C E L O P E R A T I O N
    CLEAR: IT_EXCEL[],
    WA_EXCEL.
    PERFORM APPEND_BLANK_LINE USING 1.
    WA_EXCEL-cell_02 = ' XYZ Ltd. '.
    APPEND WA_EXCEL TO IT_EXCEL.
    CLEAR: WA_EXCEL.
    WA_EXCEL-cell_02 = 'Shift Asset Depreciation - Period/Year-wise Report.'.
    APPEND WA_EXCEL TO IT_EXCEL.
    PERFORM APPEND_BLANK_LINE USING 1.
    ENDFORM. " DISPLAY_TOP_OF_PAGE
    *& Form APPEND_BLANK_LINE
    text
    -->P_1 text
    FORM APPEND_BLANK_LINE USING P_LINE TYPE I.
    DO P_LINE TIMES.
    CLEAR: WA_EXCEL.
    APPEND WA_EXCEL TO IT_EXCEL.
    enddo.
    ENDFORM.
    *& Form EXPORT_TO_EXCEL
    text
    --> p1 text
    <-- p2 text
    FORM EXPORT_TO_EXCEL .
    DATA: L_FILE_NAME(60) TYPE C.
    Create a file name
    CONCATENATE 'C:\' 'Shift_Depn_' SY-DATUM6(2) '.' SY-DATUM4(2)
    '.' SY-DATUM+0(4) INTO L_FILE_NAME.
    Pass the internal table (it_excel which is already populated )
    to the function module for excel download.
    CALL FUNCTION 'WS_EXCEL'
    exporting
    filename = L_FILE_NAME
    tables
    data = IT_EXCEL
    exceptions
    unknown_error = 1
    others = 2.
    if sy-subrc <> 0.
    message e001(ymm) with 'Error in exporting to Excel.'.
    endif.
    ENDFORM. " EXPORT_TO_EXCEL
    *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    When you click the button - Export to Excel ( GUI-Status) you'll be able to export the content of the Internal Table to an Excel file .......
    Regards,
    Abir
    Don't forget to award points *

  • Multiple credit memo creation for single credit memo request

    Hello,
    The problem is that I am able to repeatedly create multiple credit memos for the same credit memo request.  The system is not stopping me by saying "This order is fully invoiced".
    I observed the following in the customizing:
    1. If the sales document category of the billing document (in VOFA transaction) is 6 (Intercompany credit memo), then I am able to create mulitiple credit memos against the same credit memo request.
    2.  When I change the sales document category of the billing document to O (credit memo), then the system stops me from creating multiple credit memos against the same credit memo request.
    If I want to maintain 6 (intercompany credit memo) in VOFA and still want the system to stop me from creating multiple credit memos for the same credit memo request, then is there is any other customizing to achieve this?
    Thanks,
    Shankar

    Shankar, most likely the billing status of your sales document is not updated. We have experienced the same (or similar?) issue with the intercompany documents and SAP refused to correct it. Here is a fragment of my message exchange with the SAP support:
    We have already read the notes 63459 and 308989. They both do not apply
    to our business process. The document flow mentioned in the notes is as
    follows:
    Sales order - customer billing document - intercompany billing document
    Our document flow is different:
    Contract - customer billing document - Intercompany sales order (could
    be more than one order per customer billing document) - intercompany
    billing document
    The order-related billing status is not being updated on the
    Intercompany sales order.
    The process described in the notes implies one-to-one relationship
    between the customer and inter-company billing documents and the sale
    from a Plant that is assigned to another company. We are in the service
    industry and sometimes the sale revenue has to be shared by 2-4
    companies within our enterprise.
    Good day. It is a standard system behaviour that if the billing document type has SD document cateogry '5' (field TVFK-VBTYP in transaction
    VOFA). So it is an intercompany billing.
    The order-related billing status VBUP-FKSAA is not affected by the
    intercompany billing.
    So its billing status remains opened, and can be billed more times.
    This doesn't seem right to me. Maybe if more customers complain, they will do something about it.
    To some extent this may be managed with copy requirements (VOFM), where you can prevent copying the credit memo line items that have been invoiced. However, this might still lead to the blank documents with 0 value, statuses won't be correct and in VF04 you would see the documents as not invoiced.
    I had to do a core modification to resolve this issue in our system. In LV45P011 include I did the following:
    * Faktura
    *{   REPLACE        DC6K903001                                        1
    *\  IF vbfa-vbtyp_n CA vbtyp_fakt AND vbfa-vbtyp_n NA vbtyp_fkiv.
      IF vbfa-vbtyp_n CA vbtyp_fakt.
    *}   REPLACE
    Hope this helps.
    Edited by: Jelena Perfiljeva on Nov 14, 2008 11:09 PM

  • Convert PO's into Inbound Deliveries using a batch job?

    HI Experst,
    Can we create inbound deliveries for PO's through scheduled batch jobs? Or some custom development will be needed?
    Any responce is greatly appreciated.
    Thanks,
    KHAN

    >
    Dominik Modrzejewski wrote:
    > Check transaction VL34.
    > Maintain your variant there and setup a job for this program RM06EANL with your variant.
    >
    > Regards,
    > Dominik Modrzejewski
    Wouldn't VL34 require manual entry for the document numbers to process?
    I know VL10G variant run via batch job works perfectly for outbound deliveries so I assume VL10G would be the transaction to create variant/batch job even for inbound deliveries.

  • How to create diferents deliveries for each schedule line

    Dear gurus,
    I have sales orders with many schedule lines in order to deliver in diferents dates. We need to create all the deliveries together but each schedule line needs to be in a diferent delivery with the corresponding delivery date.
    I analiced the customizing about pool for delivery creation (VL10) but all I can change is for display and can not change the way the delivery is created. If we select two schedule line with diferent dates, the proccess create only one delivery with the total quantity and the first date of delivery.
    Anybody knows some way to make the proccess create individual deliveries from diferents schedule lines?
    Tanks in advance!
    Marina.

    Hello Marina
    I hope you are using VL10E. Did you try working with Delivery creation date (range) and Delivery Date calculation rule? For example if you go for a value of 2 for the CalcRuleDefltDlvCrDt ('Rule for determining default value for deliv. creation date), then system will consider only those sched lines which are to be delivered today and tomorrow.
    You also have the possibility of setting up your own routine for CalcRuleDefltDlvCrDt.
    Thirdly SAP has suggested a solution for Scheduling agreements ( valid for releases upto 4.7). In this SAP has suggested solution 4 for ensuring all schedule lines are not delivered together. You can customize the code to include Sales orders ( in stead of Sched Agreements)  in your case. Though it is for release 4.7, I think you can use the smae concept in ECC also.
    137937 - SD scheduling agreement: Delivery split for each schedule li
    Check it out and let me know how it goes. Good luck.

  • Single Vertical Line When Using ADF for Scan or Copy on HP Officejet Pro 8600

    HP Officejet Pro 8600 Premium Printer (CN577A)
    OS: MS 7 64 bit
    When using the ADF for my CN577A HP Officejet Pro 8600 Premium printer, I get a single vertical line on the document that is produced. This occurs when copying or scanning, both in black and white, and in color. If I scan or copy using the glass, I don't get the vertical line.
    I already tried the troubleshooting.  I unplugged the printer, left it without power for several minutes; that didn't correct the problem.  Next, I cleaned the rollers and the glass; I still get the vertical line, but only when using the ADF.
    My firmware version used is current (CLP1CN1150CR).
    What should I check next?
    This question was solved.
    View Solution.

    The ADF uses its own glass area on the scanner bed, it is the narrow (about 1" wide) strip on the left.  Cleaning this area should resolve the issue.  A single small spot would cause the issue you are seeing.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Amount spliting in 3 line items for single customer

    Hi All,
    Here i am facing one small issue  at the time of billing docment relesing  to finance.
    here i am getting 3 line items for single cumenter, custmoer debited in 3 line itmes.
    why i am geting 3 line items can any one help me in this issue.
    thanks
    kiran

    Hi,
    If you have new GL with document splitting active then if you have created billing for 3 items then system can split the customer line as well into 3 lines in GL view particularly if you have 3 items are getting credited to separate GL Accounts as sales revenue.
    In Classic GL view you will not see customer line getting split. Hoep it helps you.
    Regards,
    Sanjay

  • Sales order: Two schedule line items for single order item

    Hi,
    I have an issue with the schedule lines in the sales order. When we create a sales order  with today as the delivery date, it creates two schedule lines for the single order item. But if we give future date as the delivery date, then it creates one schedule line only. The confirmed quantity for the first line item (with today we the delivery date) is zero and second line item confirmed quantity (with delivery date as tomorrow) is actual order quantity. So as there is no confirmed quantity on todayu2019s date, it looks like it is creating new line item. But we do we have stock.
    We donu2019t have availability check on and we use custom line item and schedule line categories.
    Please give some hints on what might be the issue.
    There was on post with this kind of issue, but it was closed without answer.
    Thanks,
    Srini

    Hi Srinivas,
    So as there is no confirmed quantity on todayu2019s date, it looks like it is creating new line item. But we do have stock.
    As per my understanding although you have sufficient stock for the material system may be confirming the quantity in future date because of the forward scheduling. As you know system adds different times while evaluating the  confirmed delivery date. Check the route which system is using.

  • Db context file creation for rac to single instance cloning

    DOC ID: 559518.1 Section 6: RAC to Single Instance Cloning mentions that the context file creation should be done as in the case of Single Instance cloning
    what would be the command syntax?

    Thanks Hussein. However, section 6 of doc 559518.1 mentions that part 5.1.3 when cloning from rac to single node should be done as in the case of Single Instance cloning.
    the syntax for rac to rac cloning (which is in 5.1.3) is
    perl adclonectx.pl \
    contextfile=[PATH to OLD Source RAC contextfile.xml] \
    template=[NEW ORACLE_HOME]/appsutil/template/adxdbctx.tmp \
    pairsfile=[NEW ORACLE_HOME]/appsutil/clone/pairsfile.txt \
    initialnode
    so what is the syntax for rac to single instance? I reckon I will still use adclonectx.pl, but now what would be the complete sysntax for single instance cloning?

  • Unable to release planned order for single line from MRP workbench

    Hi
    We are unable to release planned order for single line from MRP Planner workbench,but Select All For Release is working for all the lines for the item
    User want to release a specific line but no new requisition is generated
    It is highly appreciable if anyone could help to resolve this issue
    Appreciate the Help
    Regards
    VKPK

    It sounds like the release goes through in the workbench but the requisition does not show up in source - is this correct? If so I would check item attributes / flags for purchasing and buy. also have found some items require a purchase price to be populated in master and org

  • Duplicate deliveries getting created by batch job against STO

    Hi Experts,
    I am facing one issue where duplicate deliveries are getting created by batch job against Intercopmany STO.
    Scenario is PO having one line item with ordered qty of 8000kg.
    Through batch job, two deliveries got created on same day for PO line item.
    One delivery got created for 8000kg and another delivery has got created for 7000Kg. So user has deleted second delivery of 7000kg.
    Next day again the delivery got created for 8000kg for the same PO line item through batch job.
    I am wondering how the duplicate deliveries are getting created by batch job for PO even though it has no open items.
    All deliveries got created through batch job only as cross checked the user name in delivery.
    Kindly help to fix the issue.

    Hi Amit
    I assume you are talking about outbound deliveries.  In this case it would be worth checking the customer master record for the receiving plant.  In the sales area data there is a shipping tab which contains several settings used to control delivery creation for customers.
    It is possible to control how the system behaves when you have a stock shortage and restrict the number of partial deliveries.  This might help you control this situation and might be the cause.
    Regards
    Robyn

Maybe you are looking for