Problem with closing Goods Receipt PO

Hello,
I want to close a Goods Receipt PO Document.
When I use the code below, an error occurs ( Date deviates from due date range,'208040' ) :
Public oGoodsRPO As SAPbobsCOM.Documents = CType(oComp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes), SAPbobsCOM.Documents)
oGoodsRPO.GetByKey(120210)
Dim Derr As Integer = oGoodsRPO.Close()
                    If Derr  <>  0 Then
                        Dim serr As String = ""
                        oComp.GetLastError(Derr, serr)
                        Throw New Exception(serr)
                    Else
                    SBO_Application.SetStatusBarMessage("Goods Receipt was closed successfully")
                    End If
I then tried to change the active period and set it in October 2006, but
always the same problem.
What's the Origin of this problem and how I can solve it.
Thank You,
Best Regards,
Youssef El Bahmi.

Hi,
Try to get the Curren Period in a Message Box and Check whether you are closing the Document after Posting Date
Mohamed Zubair

Similar Messages

  • Problem with posting goods receipt

    Hi Gurus,
    My PO is created for a material  with quantity 45000 nos. Overdelivery tolerance is 20%. Already GR is posted for 48000 nos and MIRO is posted for the same.
    Now, I want to post GR for the remianing qty ie. (45000*1.2) - 48000 = 6000 nos. When I try in MIGO, system says "No Selectable items for this PO".
    What may be the possible reason? Please help me.
    Regards,
    Sastry

    your PO has the delivery completed flag, as the first GR was already within the 20 % tolerance.
    You can either remove the flag from the PO and then do MIGO.
    Or you define your settings in MIGO and set a flag for propose all items.
    Then you will even get closed items as proposal for a goods receipt.

  • Purch. Req. to COPA link causing problems for PO Goods Receipt

    A problem just started occuring in the past week and a half where our Warehouse staff could not receive in goods due to error: "Complete PA transfer structure FI".
    What I have found out is that when a Purch. Req. is created with Account Assignment "F" (Internal Order - GR), the corresponding EKBN segment is being created with a Profitability Analysis segment ID (EKBN-PAOBJNR) and the Functional Location field (EKBN-FKBER) is left blank.
    Previously, the PA Seg ID has been blank and the Functional Location fields has always contained a value.
    This COPA link issue is causing havoc in our Receiving department and I can not find if there was a configurator's transport that caused it (no is fessing up to anything), or if a customer in the MM system set some type of flag -or- is some G/L Account was set up incorrectly that is causing a link to COPA when the PR eventually gets received into inventory.
    Help.

    I have checked the KEI2 before and for our Assignment 30 we have "Other Costs", and in the "Source" for the Assignment Lines for #30, we have defined a Group (OTHERCOSTS).
    This group or set contains the Cost elements which we now have to add to, every time we come across a new cost element or G/L account that is assigned to a PO with line items of Account Assignment Category "F".
    The problem is that approximately 3 weeks ago if a PO was created with type "F" line items and the G/L account (cost element) in the Account Assignment portion of the PO was not one that was in the OTHERCOSTS Group/Set ... we had no problem doing the Goods Receipt of the PO -AND- a PA segment was created as well.
    For now, we are just adding any new Cost elements to our OTHERCOSTS set if the need arises.

  • Automatic Payments-Offsetting Downpayments with related Goods Receipt-ECC6

    Dear all,
    We are using automatic payments (faa0) and creating a payment proposal to settle an invoice that has a downpayment posted for the same purchase order. The purchase order has a goods receipt posted against it.
    We are on version ERP2005 (ECC6) and use Funds Management (BCS). New functionality in Funds Management allows for the offsetting(clearing) of the downpayment by the goods receipt value. For example:
    You have created a purchase order for $200.
    You have created a down payment for $100 as below.
    Credit the bank account $100-
    Debit the vendor special G/L $100
    You then create a GR for $50. If this is a valuated GR and if you are using this feature, you get an additional posting like below in addition to the standard GR lines.
    Credit the vendor special G/L $50-
    Debit the vendor account $50
    The problem we are experiencing is when we have to perform the automatic payment. The payment proposal is picking up the downpayment and determines that it needs to be settled but then generates the following message:
    Message no. FZ347 - ...none of the payment methods defined can be used for these items
    In analysing the error message we did the following:
    1) Looked at remedies for customising settings for payment methods and payment groupings as per OSS note 164835 - F110 Clearing Credit Memos and Invoices - none of the remedies applied
    2) Applied a test on a downpayment with no goods receipt - The payment proposal was able to process downpayment and net it off against the invoice and therefore the problem solely relates to this specific scenario and not all downpayments.
    My question is whether anyone has managed to successfully create the payment proposal for the scenario described above and how they achieved it?
    Thanks.
    Regards,
    Shaun

    Hi,
    500000*9 is GR and 51*0020205 is IR
    GR/IR Commitment item- Find in the atttachment
    OF29-Find in the attachment.
    Thanks.

  • Report - open/closed goods receipt & its MIRO Document number

    Dear all,
    Is there any standard report for open/closed goods receipt(Material doc. no.) & its MIRO Document number based on good receipt posting date ?
    Awaiting valuable reply.
    Jeyakanthan

    Hi,
    If your requirement is only to display Open GR & Open IR with material & a/cing document, then you need to develop a report.
    Tables
    EKPO - PO and line item
    EKBE - documents with values
    You can create a query with the help of SQ01 / SQVI. Then you can create TCode with thehelp SE91.
    Pick up values for selection parameters and display while creating query.
    Anand.

  • Problems with Closed Captioning (subtitles)

    The last upgrade of the STB software fixed many of the problems with closed captioning.  However, there are still a number of problems.  For those of us with hearing impairment, it would really be nice if they got it right.  Now, at least all of the closed captioned dialog shows up (which it didn't used to do -- before, it would overwrite itself on certain stations).  However, some of the dialog shows up on the screen for only a fraction of a second -- too fast to read it.  Please help us hearing impaired people!!!!!

    http://forums.verizon.com/vrzn/board/message?board.id=FiOS_TV&thread.id=679
    Message Edited by CSimpson on 11-03-2008 01:20 PM

  • MIGO PROBLEM in the Good Receipt  with reference to purchase order

    Hello Everybody.
    i m getting one problem with reference to MIGO tcode.
    Might be anyone notice or not but i want to share with you.
    in MIGO selected goods receipt then beside it ask for the different actions.
    I use the purchase order no.
    suppose i given po no 1
    enter
    now it will display the details of that po number (1) but at the same time po number field is again in the input mode and you can give more po number .
    suppose now i have given po no 2.
    enter
    Then in same gr we will be having the item details of both po number( 1 & 2) .
    This is my problem .I want to make restriction that in single gr it should take only one po number not more than that ,after giving one po ,it should make that field in display mode.
    How to do that please guide me .
    I will be grateful to you.
    Thanks a lot

    You can use a field exit on any field that gets filled when the first PO is entered
    check that field (Something like challan Number , Delivery date)
    if is if filled use the "screen" Table to make the PO Number field Display only .

  • I want to run an open order report with no goods receipt

    I'm looking to run an open order report with no confirmations(i.e.the order must have no status like LA,Z4,Z5,Z6)and no goods receipt.
    ME80FN is still giving me orders that have no confirmations but closed.
    I tried using a logical database but no luck.
    What can i use to achieve this open order report?

    Hi,
    You can write a small report for this requirement:
    Just select all the PO's from EKKO and EKPO table into an internal table(ITAB) with the given where condition.
    Write a select statement for the MSEG for all entries in ITAB into an seperate internal Table(ITABM).(nothing but all GR's entries)
    Compare Both internal tables and delete all entries which are present in second Int table ITABM from the first.
    That's all.
    The remaining entries are nothing but the OPEN PO's without any Goods Receipt.
    Regards,
    Anji

  • Bins problem while creating goods receipt for production order.

    Hi All,
              I am facing a problem with selection of bins while creating goods receipt for production order in transaction MB31 and MBBE.
    The order of filling bins is with respect to storage Unit not by document no, Please suggest something.
    The scene is like that.
    The bins are not filled in the proper sequence, the system checks for the empty bins and filled those later on.
    like this,.
    Typ StorageBin  SC SS    Stock Avail.st BUn GR Date    DocumentNo Storage Unit         Time   
    SLoc Batch      Re IA PutawayS Pick qty Cert. No.                                                                               
    VN1 106A088                 0        0  CS  01/25/2010    4739297 1005721391           10:00:59
    100  0001020069            60        0                                                        
    VN1 107B076                 0        0  CS  01/25/2010    4739298 1005721392           10:01:01
    100  0001020069            60        0                                                        
    VN1 108B076                 0        0  CS  01/25/2010    4739299 1005721393           10:01:04
    100  0001020069            60        0                                                        
    VN1 109A077                 0        0  CS  01/25/2010    4739300 1005721394           10:01:06
    100  0001020069            60        0                                                        
    VN1 110B079                 0        0  CS  01/25/2010    4739301 1005721395           10:01:08
    100  0001020069            60        0                                                        
    VN1 106B088                 0        0  CS  01/25/2010    4739302 1005721403           10:01:11
    100  0001020069            60        0                                                        
    VN1 123B158                 0        0  CS  01/25/2010    4739303 1005721389           10:01:13
    100  0001020069            60        0                                                        
    VN1 124A160                 0        0  CS  01/25/2010    4739304 1005721390           10:01:15
    100  0001020069            60        0                                                        
    VN1 118A133                 0        0  CS  01/25/2010    4739305 1005721396           10:01:17
    100  0001020069            60        0                                                        
    VN1 119A128                 0        0  CS  01/25/2010    4739306 1005721397           10:01:20
    100  0001020069            60        0                                                        
    VN1 120B162                 0        0  CS  01/25/2010    4739307 1005721398           10:01:22
    100  0001020069            60        0                                                        
    VN1 121B159                 0        0  CS  01/25/2010    4739308 1005721399           10:01:24
    100  0001020069            60        0                                                        
    VN1 122B159                 0        0  CS  01/25/2010    4739309 1005721400           10:01:26
    100  0001020069            60        0                                                        
    VN1 123B159                 0        0  CS  01/25/2010    4739310 1005721401           10:01:29
    100  0001020069            60        0                                                        
    VN1 124B160                 0        0  CS  01/25/2010    4739311 1005721402           10:01:31
    100  0001020069            60        0                                                        
    Thnks you,
    Anmol.
    Edited by: anmol112 on Jan 25, 2010 10:34 PM

    no replay, clossing threat.

  • 2LIS_02_SGR Valid Requested Delivery recorded with no Goods Receipt

    Please read message in its entirety before responding - I have done all my research.
    My company is wanting to report on quantities that have been scheduled for delivery but yet have not been received.  Why does 2LIS_02_SGR require a goods receipt to be available before posting a record?  I have 5 records available in EKET, take note that SCLQTY is the field in the dataSource that is populated by EKET-MENGE.
    EBELN        EBELP   ETENR EINDT      SLFDT      LPEIN MENGE                                                                               
    4500444313   00010   0001  04/12/2007 04/12/2007 1                4.000
    4500444313   00020   0001  04/08/2007 04/08/2007 1                3.000
    4500444313   00030   0001  08/01/2007 04/16/2007 1                1.000
    4500444313   00040   0001  04/17/2007 04/17/2007 1                6.000
    4500444313   00050   0001  04/10/2007 04/10/2007 1                4.000
    However when I run the extractor for 2LIS_02_SGR only 4 records are returned.
    Docno         line                                                               SCLQTY                                                                               
    4500444313    10    04/13/2007            04/12/2007    1            4.000 
    4500444313    20    04/13/2007            04/08/2007    1            3.000 
    4500444313    40    04/13/2007            04/17/2007    1            6.000 
    4500444313    50    04/13/2007            04/10/2007    1            4.000 
    OSS notes 739791, 617240,763547 state that you need a goods receipt in order to distribute the good receipt quantities correctly however the schedule line item is the driver not the goods receipt as one would think. 
    With those statements, the values in the OSS notes display this:
    SCLDT - 05/05/2004
    SCLTM -
    SCLNR - 2
    GMVPDT - 10/05/2004
    BELNR - 5000000002
    SCLQTY - 5 (schedule line quantity)
    GMVQTY - 3 (goods receipt quantity)
    OPNQTY - 2 (open quantity)
    TTLQTY - 3 (total assigned quantity).
    But why won't the extractor display like this?
    SCLDT - 05/05/2004
    SCLTM -
    SCLNR - 2
    GMVPDT - 10/05/2004
    BELNR - 5000000002
    SCLQTY - 5 (schedule line quantity)
    GMVQTY - 0 (goods receipt quantity)
    OPNQTY - 5 (open quantity)
    TTLQTY - 0 (total assigned quantity).
    I am unable to report this information correctly as I am missing the record I need.  Can anyone please help with this?  Is this just a short-coming of the extractor and there is nothing I can do about it?  Or should this extractor work like I have it above with only scheduled quantity populated and no goods receipts and I need to submit an OSS note?

    Hi
    You can check the BW: Transaction keys/Process Keys in ECC, by using SPRO Transaction Key , see the navigation
    Search for u201CTransaction Key Maintenance for SAP BWu201D.
    Select it and double click on Transaction Key Maintenance for SAP BW
    It will display the following screen with all Transaction Keyu2019s details; see for application component MM with
    Application 02.
    Thanks
    Reddy

  • Mixing materials with different Goods Receipt date in the same Storage Unit

    Hello everybody,
    I´d like to know how  FIFO strategy would affect to this example:
    Adding boxes from one storage unit (pallet) to another storage unit (pallet). Both storage units have different goods receipt dates, so there is a pallet which has boxes with different GR dates.
    Would FIFO make difference among boxes inside the storage unit?. As far as I know, when adding stock (boxes) to a handling unit (pallet), the system keeps the oldest GR date and does not create new quant number for the incoming boxes
    Thanks in advance for your help

    Hi Nagesh,
    Thank you for the input. I am receiving Stock from vendor and while creating Inbound delivery i created the Handling Unit and also packed it and i could also post it (PG Receipt). Now when i am creating TO i have that error message. The Storage Location where i am receiving is 9001and i have also maintained the partner Storage location,,, its like this Plant(1000)-SLoc(9001)-Partner SLoc(9002).... now the Storage Location 9002 is not HU managed,, the reason i gave this Storage location is, initially i gave 9001, but system said "Storage Location 9001 and 9001 must have different management systems". So now kindly tell me what is the purpose of the partner Storage location and which storage location should i give, as my partner Storage location across "1000-9001-????" thank you again for ur inputs.
    Regards,
    Samuel

  • PO dont close with the GOODS RECEIPT

    hi
    We have this scenario.
    there are some goods receipt PO based in a Purchase order xxx, but  the  Goods receipt  doesnt a base document and the PO xxx  is a open status.  The goods receipt show in the remarks "based on xxx purchase order" and we can send to PO xxx  to a new  goods receipt again and this one closed.  How do I link documents and the documente show close status to no duplicate the goods receipt. We have 2007 sp00  pl 05?
    I´ve run the query in the sap note1152374  but we dont have any result.
    Regards
    NANCY HERNANDEZ

    1.-When this error is generated is lost the link but also the PO document changes its status to open?
    Is it possible? because de PO are open again
    The PO is never closed due to lost link.  It did not open again
    2.-check the logs and there´s no changes more than the creation of document
    When the document creating, no log will create for anything changing from PO.  That is because they are different documents.
    3 .- The scenario is replicable?, I can not generate the error again to explain to my costumer. How do I reply?
    Yes, if you changes anything like warehouse, it will. (Even if you changed back to match the original!)) Let them to check out what are the differences between PO and GRPO.

  • MIRO Reference PO with many goods receipt

    Dear guru ,
    I enter an  incoming invoice for a purchase order.
    I have many goods receipt for this po , the system show all the goods receipt with their amount and quantity.
    If I must do a change to the value is hard to distribute the new value  for all the items.
    Does exist a chance to insert the value for the total of  all the goods receipts involved in order that the system execute an automatic splitting of the value for all the items ?
    Thanks

    Hello,
    Do you want to aportion the cost for delivery cost in PO depends on value of each line item?
    If they are unplanned delivery costs then this can be done as per following configuration.
    SPRO>Materials Management>Logistics Invoice Verification>Incoming Invoice>Configure How Unplanned Delivery Costs Are Posted.
    This setting is at company code level.
    Hope this was your question and it will help you.
    Deepak.

  • PO item with Multiple Goods receipt line items

    Hi Experts,
    When we create PO for specific vendor with one PO line item then at the time of Good receipt there are multiple GR line items. How to control those multiple GR line items as one GR item.
    Appreciated your help
    Regards
    Krishna

    Hi,
    If you did GR from PO with underdelivery qty in line items, SAP recognize it as partial delivery.
    Basically, in the standard system the underdelivery qty scenario is allowed, but not for overdelivery qty.
    If you intended to force the system to allow one line item in PO with only one line item in GR, therefor you could create program checking with development team.
    please check the link for your reference.
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/63344643a211d189410000e829fbbd/frameset.htm
    regards,
    rob

  • Problem with reverse goods movement

    Good Morning.
    I faced a problem with "schedule line" for an item in a sales order.
    I've an order quantity of about 14.000 pieces.
    I've created a partial outbound delivery for 8.000 pieces, but then for a problem, I made a "reverse goods movement" with VL09 for all 8000 pieces.
    When I came back into item's schedule line, I see in "Delivery quantity" column that is not considered the reverse goods momevent.
    I see that delivery quantity is still 8000.
    Can You give me some suggestion??
    Regards.

    There is no trasfer order in Sales Document Flow.
    Sales Order 10600587 / 10               12.12.07           14.000,000  NR      Completed          
    Delivery  8020600166 / 10                12.12.07           14.000,000  NR      Being rocessed    
    Picking request 20071212                   12.12.07           14.000,000  NR      Completed          
    GD goods issue:delvy 5500004772 / 1        12.12.07           14.000,000  NR      complete           
    RE goods deliv. rev. 5500004773 / 1        12.12.07           14.000,000  NR      complete           
    Delivery quantity is still 14000.

Maybe you are looking for

  • How does Oracle handle resource files?

    Good day everyone, I have a Java code that opens a text file. When I load this code into Oracle using loadjava, I also load in the text file as a resource file. When I run the code on Oracle (after publishing all necessary Java code), I get a NullPoi

  • What is the proper way to apply SCCM 2012 R2 Cumulative Updates

    Hello All! I am looking for a little advice. Since deploying SCCM 2012 R2 I have not yet installed any of the cumulative updates. What is the proper way to install the previusely released updates? I believe there has been 3 CU relases since SCCM 2012

  • FB50 screen layout

    Hi All, While posting the transaction in FB50 we select Debit or Credit in line item.  Now my requirement is to change the D/C column to Posting keys.  I want to display posting keys in place of D/C. Any inputs will be rewarded. Thanks ~Rajesh

  • Missing Library Folder after 10.9.4 update

    I recently competed the 10.9.4 Update on my MacBook Pro, and have since lost access to the Library Folder. It used to be located on my computer in the following. /Users/{User Name}/Library/Application Support/{Application}/{File Name} Has anyone had

  • Nexus 7K F2 modules Multicast support

    I have some questions related to F2 multicast support: Cisco multicast configuration guide says that "F2 modules do not support any form of IPv4 or IPv6 tunnels" what dose it means? Are they referring to MDF and GRE tunnels? I know PIM-BiDir is not s