Extracting first goods receipt posting date

Hi Experts,
At the moment our 2LIS_02_SCL extractor is extracting the last goods receipt posting date from source system and we would like to get the first goods receipt posting date.
Posting date is stored in EKBE-BUDAT and I have checked the 2LIS_02_SCL in CMOD but couldn't find the code.
How do I resolve this issue.
thanks

Hi,
changing the behaviour of the 2LIS_02_SCL will be fairly tricky (modification), I reckon. But you could enhance the extract structure with a new field and populate it in the standard CMOD exit. There you put some logic to determine the first good receipt. This is normally not the right way for LIS extractors but in your case it should be fine (no delta issues). Alternatively you overwrite the existing date field with the first GR in the exit. I would go for a dedicated field.
Another option would be a generic extractor on the table EKBE. For purchase order related information you can get a clean delta and do the further processing in BW.
Hope it helps.
Stefan

Similar Messages

  • 2lis_02_scl extract records with wrong posting date for Good Receipts.

    Hi Experts,
    We are currently having issue of mismatch between BW Schedule Line data with R/3 values for the Goods Receipts posting date updating incorrectly in to BW.
    Example.
    In table EKBE purchase order history we have following records.
    MANDT EBELN        EBELP   ZEKKN VGABE GJAHR BELNR      BUZEI BEWTP BWART BUDAT      MENGE
    501   5600453404   00010   00    1     2010  5012473031 0001  E     101   23.01.2010        1.250,000
    501   5600453404   00010   00    1     2010  5012473031 0002  E     101   23.01.2010        1.250,000
    501   5600453404   00010   00    1     2010  5012473031 0003  E     101   23.01.2010        1.250,000
    501   5600453404   00010   00    1     2010  5012693310 0001  E     101   26.02.2010        1.250,000
    Which means we have on posting date of 23.01.2010 1250*3 i.e. 3750 quantity of Goods Receipts.
    However when we check the extractor we get multiple records in internal table C_T_DATA and in psa.
    Line BWV ETENR   SLFDT              MENGE    ROCA BEDAT                            BUDAT          EBELN
           ORG                                                        NCEL
    1     001     0001     20100125     3750.000          20100113     ZNB     F     00000000     5600453404
    2     001     0002     20100226     1250.000          20100113     ZNB     F     00000000     5600453404
    3     002     0001     20100125     3750.000     X     20100113     ZNB     F     20100123     5600453404
    4     002     0001     20100125     3750.000          20100113     ZNB     F     20100123     5600453404
    5     003     0001     20100125     3750.000     X     20100113     ZNB     F     20100127     5600453404
    6     003     0001     20100125     3750.000          20100113     ZNB     F     20100127     5600453404
    7     002     0001     20100125     3750.000     X     20100113     ZNB     F     20100226     5600453404
    8     002     0001     20100125     3750.000          20100113     ZNB     F     20100226     5600453404
    9     002     0002     20100226     1250.000     X     20100113     ZNB     F     20100226     5600453404
    As can be seen we have record no 8 for ETENR (Schedule line 1) with posting date 26.02.2010 and another record with posting date 23.01.2010.
    Since we are getting 2 records the record with incorrect posting date overwrites the record with correct one.
    Any idea if this could be a standard extractor problem or any other way to resolve this issue.
    Any help would be appreciated.

    First of all, are you using a staging DSO? (You should ideally)
    If yes, is it a Write Optimized DSO? (Again, this is ideal)
    If its a standard DSO, the values maybe over-writing upon activation.
    You have 3 records (quantity = 1250 * 3) that have been receipted on 23.01.2010, where Posting Date = 23.01.2010.
    You also have a record (quantity = 1250 * 1) that has been receipted on 26.01.2010. Posting date = 26.01.2010.
    Now, in RSA3 & in PSA you can see more records than intended.
    This is because you have before & after images. (ROCANCEL = X or blank).
    ROCANCEL = X --> Before Image (record before change)
    ROCANCEL = blank --> After Image (record after change)
    This is a standard property of the extractor.
    Now, we also have something known as BWVORG (Process Keys). Each process, i.e. creating a PO, Goods Receipt, Invoice etc.. have different Process Keys.
    Creation - 001
    Goods Rcpt. - 002
    Invoice - 003
    We can see that record 8, i.e. BWVORG = 002 (GR) has been modified on 26.01.2010.
    That is why there is before image and after image.
    Which one should be the correct posting date? 23.01.2010?
    Normally in a Write optimized DSO, you will have all the records (before and after images & others as well).
    I hope this helps.
    Please let me know if otherwise.

  • Alert for Goods Receipt Posting?

    Dear Folks,
    I am now receiving an email whenever I post a goods receipt in my system. Have any of you encountered the same email message or have any idea what is triggering this message? Below is a sample:
    from     Tan Hui Min <abc@xxxxx>
    to     Junwen Wee <cde@xxxxx>
    date     Thu, Apr 22, 2010 at 3:48 PM
    subject     Alert for Goods Receipt Posting (The triggering application determined you as a recipient)
    hide details 3:48 PM (20 hours ago)
    Alert ID: ##00139##
    Best Regards
    Junwen

    Hi,
    Check whether you have activated Indicator: Goods Receipt Message in PO and done settings for the same.
    "Indicator specifying that the system is to issue an appropriate message to the buyer following each goods receipt in respect of this purchase order."
    Regards,
    Vikas

  • Goods Receipt and Goods Issue - Posting Date and Document Date Problem

    Hi All,
    I was using SDK to build own add on to insert Posting Date and Document Date under Inventory> Inventory Transactions> Goods Receipt and  Inventory> Inventory Transactions> Goods Issue, but the UI Screen Posting Date and Document Date shown current date.
    My SAP Business One version was 2007A SP00 PL42 and alreadly upgrade to SP05.
    End up result still the same.
    Is there someone can help me?
    Thanks you.
    Best Regards,
    danny

    Hi there,
    I already solve it by myself.
    Actually is i call the initialization twice:
    Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
    Thats what make this problem happened.
    Sorry.
    Best Regards,
    danny

  • DTW Good Receipt Doc. date and Posting Date

    Dear Professional,
    I have tried to use the DTW Good Receipt Template (oInventoryGenEntry) to unpload the initial open on-hand inventory into B1.
    However, no matter the DocDate (Posting Date) and TaxDate (Doc. Date) I have entered into the Document Template, the system still set "Today" as both Posting Date and Doc. Date after completed uploading the inventory on-hand, is there anything can help to solve or something I missed ??
    Thank,
    Deckard

    Dear Deckard,
    When I did the this DTW, I found the same issue.  B1 probably not allow to import back dated Good Receipt transactions by DTW.
    Thanks,
    Gordon

  • Enhancement to make the first goods receipt as final(first and last for PO)

    Hello Experts,
    We have a business requirement wherein that only 1 goods receipt is allowed per purchase order. So meaning
    to say that no additional goods receipt will be allowed for a PO if it has already a goods receipt. I have checked
    BADIs like MB_MIGO_BADI, MB_MIGO_ITEM_BADI, etc but I can't change the value of the field ELIKZ which is the indicator
    for delivery complete.
    Any of you have done the same requirement of BADI/EXIT that I can use?

    Sorry - I don't mean the FIRST GR date, but the date when the batch was produced.
    thx,
    Jannik

  • Goods Receipt posting issue

    Hi Guru,
      I know it's an old question to rise but I forgot how to do it. Please help.
    When doing goods receipt shows--posting only possible in periods 2006/12 and 2006/11 in company code 3000.
    Thanks,Cindy

    As I already inform you the solution, you can take use of either solution.
    From your posting period issue, it is quiet evident that you are not working on a production client and .
    Anyways, if you are on production client, then take assistance of MM & FI consultant in your team.
    Solution 1:
    Post your material with posting date in between 12/2006 & 11/2006.
    Solution 2:
    Using Tcode MMPV - Close Period for Material Master,
    Provide your current date.
    Radio Button - Close Period only.
    Reason for selecting this radio button - Setting this indicator reduces the run-time of the period closing program by approximately 50%.
    So logically speaking you have to carryout this for each & every month from 2006 to till date.
    If you are doing it on your testing purpose, kindly follow following solution for your cause.
    Solution 3:
    Step 1. Use tcode OX18 - select the plants assigned to Company code - delete - save
    Step 2. Use tcode OMSY - Enter current financial month & save.(06-2010)
    Step 3. Use tcode OX18 - assign all plants to co code
    Step 4. Use tcode OMWD - enter valuation area 0001.
    Hope it can assist you.
    Thanks & Regards
    JP

  • Import Cycle for India doing first Goods Receipt

    Hi Friends,
    We are going on upgrade from 4.0B to ECC 5.0.
    We are using TAXINN .  This is regd. the  Import pricing for India.
    Our client  is using 4.0B & thier sequence is :
    0. Give advance to CHA agent for Customs clearing based on his estimation
    1. GR by 103 mov. type
    2. J1IA which is capture excise invoice (J1IEX)
    3. GR 105 mov. type
    4. Cature excise invoice through J1IB(J1IEX)
    5. Finally they do LIV / IR (commercial Invoice or Bill of entry)
    6. after making IR they knock off the advance amount.
    When I tried in the ECC 5.0 SAP std. process of LIV(commercial Invoice or Bill of entry), J1IEX_C, GR(101), J1IEX_P entries are perfect in Accounting.
    When I tried in the ECC 5.0 the same process of 4.0B. Did GR thru 103, then try J1IEX..  qty is showing , where as values showing as blank. I try to enter values manually but system didnu2019t take. I posted. Then went to GR for 105. No excise values appear even though I take ref. of excise invoice.
    Where when we do in 4.0B capture excise invoice after GR103, values are flowing. 
    I use all std. SAP conditions in ECC 5.0. They were using all Zconditions in 4.0B. I also changed all conditions to Z . (I thought there might be some link which may create problem). But there is no change.
    Client want use same sequence of operations as 4.0B. Have any one doing this sequence or tried of 4.0B. How to go about it ?
    Regards
    Sai Krishna

    Hii,
    Normally the Import Procedure is:
    1) Create the Po
    2) MIRO for Customs Vendor
    3) Capture the Excise Invoice J1IEX agaisnt the PO
    4) Goods Receipt ( In MIGO You have to select the Invoice Number i.e Bill of Entry )
    5) Post the Excise Invoice
    6) MIRO on the Imported Vendor.
    I think there is a problem in Two step procedure 103&105.
    Suggest the Change Management to the Client.
    Regards,
    Kumar

  • Goods Receipt Posting to Balance Sheet

    Hi
    When we carry out a Goods Receipt, the system posts an amount dirently to the P&L. As we want to accure the cost we then journal the value out of the P&L and onto a Balance Sheet. Is it possible that we post this amount directly to the Balance Sheet to avoid the manual journal?
    Here are steps we currently do:
    Steps
    Transaction
    P&L
    B/S
    1
    Journal to accure cost
    100
    (100)
    2
    Goods Receipt hits same accounts as step 1
    100
    (100)
    3
    Manual journal to clear entries from step 1
    100
    100
    thanks
    Joe

    Hi,
    It is going to P & L account as you might have assigned P & L account instead please assign balance sheet account and account type as Current Liabilities - Payable.
    Hope this solves your issue else revert.
    Regards,
    Tejas

  • Problem with goods receipt posting - edi

    Hello,
      Iam using MBGMCR/MBGMCR02 BAPI_IDOC_INPUT1 for posting some goods movements.
    Through the same idoc i will be receiving a returns order number and the item details.With that i need to post the GR for the returns delivery posting the stock in returns.
    How can i automate this process when i use the sales order no and the movement type as 915 it errors out saying  goods receipt not posssible for 915 iam using mvt code '05'
    also i could not find a stock type indicator for returns stock...
    can any one help...
    thanks
    larry

    Better you check with SD Functional consultant . the error message clearly said that. "good Reciept not possible with movement type 915"

  • Error during Goods receipt posting

    Hi all
    I'm getting  the following error message when trying to do a goods receipt (101 mvmt)...
    Account determination for entry COA BSX ____ ___ 7900 not possible
    Diagnosis
    The system did not find an account for this transaction. This means that the account determination for key COA BSX ____ ___ 7900 is not maintained in MM Customizing (Valuation).
    The key is made up of:
    Chart of account
    Transaction key (= Posting transaction)
    Valuation grouping code
    Account grouping code
    Valuation class
    System Response
    The system cannot update a G/L account for this transaction. You cannot post the transaction.
    But I've created a GL account and assigned to the val class.

    Hi ,
    U try to post material from MB1C and to solve the above error u have to do the following changes:
    OMS2-> choose your material from position button-> Select it> Click on Quantity/Value Updation under dialog structure> Choose your Value Area and Material Type> Uncheck Value Updation---> Save it and now try to post material .
    Did u tried this this will help u
    Still if u find error reply me
    Reward me points if helpful.
    Regards,
    Venuprasad

  • Goods Receipt - Dispatch date

    hi
    we do goods receipt by MIGO (ie., goods comes to us from vendor). Now i want to know dispatch date of goods from vendor.Where do we maintain this (tcode / table &field)?
    I heard that vendor will be sending the invoice also along with the goods and that invoice will hold the dispatch date of goods.

    Hi,
    Check for this option, If material is excisable, then excise invoice date is Disptach date , if it is non excisable then you can maintain delivery note/ challan date in general tab, Document Date and
    Regards,
    Vikas

  • Auto Goods Receipt posting in ECC using VL32N

    Hi ,
    We have a situation where in we have to post Goods receipt in ECC thru inbound IDOC with reference to  SNC - ASN.
    Till now we thought of using MBGMCR  - Message type with Idoc type : MBGMCR03.
    As MBGMCR uses BAPI - MB_GOODS_MOVEMENT - It calls in transaction : MB01 to post goods receipts.
    Which is the real problem - here we are posting goods receipts against SNC- ASN  number by passing this ASN number into E1EDP20 segment field LIFEX  but in the VBLEN field this BAPI is considering Material document number - Which in turn is not  updating inbound delivery document flow after goods receipt is posted.
    we have noticed same  inbound delivery is been considered multiple times for Goods receipts - because the inbound delivery document flow is not getting updated -  Which is the issue.
    Can any one used an IDOC (inbound ) in ECC to post Goods Receipt (101 movement ) which uses VL32N transaction.
    And is it a BAPI or any other thing ?
    Would appreciate your help.
    Regards,
    Mahesh

    We have used Message type : WMMBXY with an enhancement to user exit to mark status of inbound delivery to complete after entire quantity of Inbound delivery has been received.
    Thanks,
    Mahesh

  • Moving average price updation when goods receipt posted

    Hi,
    Please let me know in which tables the moving average prices changes get updated when goods receipt is posted. Also let us know the process as to how moving average price gets updated in the accounting1 view in material master.

    Hi,
    Its updating in the table MBEW.
    To see the log of moving averae price updation, use report S_P00_07000139.
    Example :
    Stock quantity : 10No's.
    MAP : 100Rs.
    GR : 10No's@12Rs
    Now MAP will become 11Rs (220/20)
    Regards,
    Prabu

  • VL31N - Goods receipt posting directly within creation mode of Inbound Del.

    Hi,
    we would like to post the Goods Receipt directly/already within VL31N, that means already during creation process of Inbound Delivery.
    We don't want to save ans re-enter the transaction again.
    But our problem now is that the button "Post Goods Receipt" is grey and we would like to have it activated.
    We have already assigned transaction code VL31N to movement type 101 - without any effect.
    How to do that?
    Thanks and regards,

    Hi,
    It is not possibel to do GR during the creation of the delivery itself.
    This is because these are 2 different actions and the way VL31N works and the control tables and the refrential integrity involved.
    However if it is insisted, you can design a custom transaction which does VL31N and the PGR in 2 steps in background.
    Hope this helps.

Maybe you are looking for

  • How to create a BDoc in an ABAP report ?

    hello I need to develop a report to send customer specific data from CRM to R/3. This report will be executed as a batch every to update data in R/3 from specific data in CRM (created with EEWB). The question is : which FM do I have to use to create

  • Imac PPC G4  sluggish, don't have install discs, any ideas ?

    I have an old PPC G4 17" w/ 1 GB DDR SDRAM running 10.5.8 , I do not have any original discs. It has gotten more and more sluggish in spite of the RAM upgrade a few years back. HArd drive is 75% empty and I ran Onyx routines, any suggestions what I c

  • Problems displaying image in JPanel

    Hi, I've got an applet that receives a variable from a PHP page as a parameter. The variable is "map1.png" the map this variable refers to sits in the same folder as the applet. I want to use this variable along with getDocumentBase() to create a URL

  • Joining table reduce the significantly

    We have a module that create need to load record from 3 tables to construct the object, if we query for 20k object, it take 20s object, which look longer than expected. Thus we try to join that 3 tables and run single query to get the record. However

  • Iphoto '11 shuts down when importing from a SD reader

    I have iphoto 9.2 and Mac OS X v. 10.7.3.   To fix it I tried to create a new library and import photos to that, but it still shut down.  Thanks.