No records for 2LIS_04_P_COMP, posting date & entry date not in same month

Hi All,
I m unable to get records in rsa3 for my DS 2LIS_04_P_COMP if my entry date and posting date of production order is not same or not in same month.
Please suggest.
Niraj

Hi,
It depends up on your Delta relevant field either it is Changed on or Time Stamp. What is ur delta field?
Regards,
Suman

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.

  • USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT

    Hi,
    Pls advise any USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT.
    Regards,

    Hi,
    There is another user exit for updating material document data Upon posting  is MB_CF001
    I hope this will fullfill you.
    Prem

  • How can I POST data within the same page if I have a A HREF -tag as input?

    How can I POST data within the same page if I have a <A HREF>-tag as input? I want the user to click on a line of text (from a database) and then some data should be posted.

    you can use like this or call javascript fuction and submit the form
    <form method=post action="/mypage">
    cnmsdesign.doc     
    </form>

  • After doing the recording for transaction fpcj, the values are not being se

    after doing the recording for transaction fpcj, the values are not being sent to the g/l.

    HI,
      When you are recording.. you might be creating the values... ensure that they are updated into the GL before u write program. I doubt you might have missed the save ..
    Thanks
    Mahesh

  • Bapi/function module to get opening or closing stock for a posting date

    I am creating a report where i need to get the opening stock value and closing stock value  for the given starting date and ending date respectively for the PP report.
    The T-code for that is MB5B.
    So,can any1 plzz tell me how i can get the stock value for a starting date/ending date...
    Is there any BAPI or function module to find this out..
    or any logic?
    Thanks.

    Hi Kiran,
    You would like to findout opening and closing stock of a particular period and of a particular period....
    If we would like to findout opening and closing stock of material A as of 18 / 8 / 2008,
    then do like this.
    go to MBEW table .. there u get opening stock as on today. Today the date is 20/8/2008. from today's opening stock if we add / subtract the movements which have happened on 19/8/2008 and 18/8/2008 u'll get opening and closing stock as on 18/8/2008.
    U get the movements from MKPF ( material doc header) and MSEG (material doc item ) based on posting date. In MSEG u get movement type.
    If the movement type is 101, it means the stock is added.
    If the movement type is 102, it means the added stock is reversed.
    from today's opening stock deduct the stock with moverment type 101 and add the stock with movement type 102.
    This will give u opening stock as on 18/8/2008.
    To get closing stock of 18/8/2008 ..... the opening stock of 19/8/2008 is 18/8/2008's closing stock.

  • Automatic Creation of Scheduled Master Record for Scheduled Master Data

    Hi experts,
    We know that MRU and Portion are Scheduled master data but Scheduled master record is transactional data. So it is obvious that we have to generate scheduled master record in every server wher we transport the master data manually. And we can generate records for a particular time span and after that time we have to generate the records again.
    All I want to know that whether it is possible to get all the records generated automatically after certain period.
    Thanks,
    Arghya

    Hi,
    Scheduled records do NOT get created automatically , altleast not by any sort of configuration, in case you are looking for it.
    Your can always create custom program to do so, but it isn't worth the effort.
    You can create records for upto 7yrs ( do need to check but definitely for a period long enough)
    Hope that helps!!!

  • Min,Max for a time Range and Sum of Records for the last date/time

    Hi All,
    I have a table with the following structure/data:
    create table  Events   (
                                        [EventID]       
    int                   NOT NULL,
                                        [Title]            
    nvarchar(200)  NOT NULL,
                                        [SourceName]  nvarchar(20)    NOT NULL,
                                        [Type]             
    int                  NOT NULL,
                                        [eDate]           
    datetime
    insert into Events values(100, 'Event 1', 'S01', 3,'2014-01-01 00:00:00.000')
    insert into Events values(100, 'Event 1', 'S07', 3,'2014-01-01 00:00:00.000')
    insert into Events values(100, 'Event 1', 'S08', 3,'2014-01-01 00:00:00.000')
    insert into Events values(100, 'Event 1', 'S09', 3,'2014-01-01 00:00:00.000')
    insert into Events values(101, 'Event 2', 'S010', 3,'2014-01-01 00:00:00.000')
    insert into Events values(102, 'Event 3', 'S03', 3,'2014-01-01 00:00:00.000')
    insert into Events values(100, 'Event 1', 'S04', 3,'2014-01-01 00:00:00.000')
    insert into Events values(101, 'Event 2', 'S05', 3,'2014-01-01 00:00:00.000')
    insert into Events values(102, 'Event 3', 'S06', 3,'2014-01-01 00:00:00.000')
    insert into Events values(100, 'Event 1', 'S01', 3,'2014-02-01 00:00:00.000')
    insert into Events values(101, 'Event 2', 'S02', 3,'2014-02-01 00:00:00.000')
    insert into Events values(102, 'Event 3', 'S03', 3,'2014-02-01 00:00:00.000')
    insert into Events values(100, 'Event 1', 'S04', 3,'2014-02-01 00:00:00.000')
    insert into Events values(101, 'Event 2', 'S05', 3,'2014-02-01 00:00:00.000')
    insert into Events values(102, 'Event 3', 'S06', 3,'2014-02-01 00:00:00.000')
    insert into Events values(100, 'Event 1', 'S01', 3,'2014-03-01 00:00:00.000')
    insert into Events values(101, 'Event 2', 'S02', 3,'2014-03-01 00:00:00.000')
    insert into Events values(102, 'Event 3', 'S03', 3,'2014-03-01 00:00:00.000')
    insert into Events values(100, 'Event 1', 'S04', 3,'2014-03-01 00:00:00.000')
    insert into Events values(101, 'Event 2', 'S05', 3,'2014-03-01 00:00:00.000')
    insert into Events values(102, 'Event 3', 'S06', 3,'2014-03-01 00:00:00.000')
    And I wrote the following query:
     select EventID as [Event ID],
           Title, 
           count(distinct(SourceName)) as [Instances], 
           Type,
           min(eDate) as  [First Detected],
           max(eDate) as [Last Detected],
           datediff(d,min(eDate),max(eDate)) as [Delta (days)]
    from  Events
    where type = 3
    group by EventID, Title, Type
    having max(eDate) <> min(eDate)
       and max(eDate) =(select top 1 eDate from Events order by eDate desc)
    and I get the following results (see the instance number)
    Event ID Title         Instances Type First Detected                      Last Detected                    
       Delta (days)
    =============================================================================================================================
    100         Event 1         5         3    2014-01-01 00:00:00.000     2014-03-01 00:00:00.000    
    59
    101         Event 2        
    3         3    2014-01-01 00:00:00.000     2014-03-01 00:00:00.000     59
    102         Event 3        
    2         3    2014-01-01 00:00:00.000     2014-03-01 00:00:00.000     59
    This is normal for this query however what I need to do is a little different.
    In other words, while I need to show when we recorded a specific event first and last time,
    I need to display the results for the last date/time when it was recorded. 
    For example what I need to provide should look like this:
    Event ID  Title                Instances        Type       First Detected                    
    Last Detected                          Delta (days)
    =============================================================================================================================
    100         Event 1            2                   3           
    2014-01-01 00:00:00.000     2014-03-01 00:00:00.000      59
    101         Event 2            2                   3           
    2014-01-01 00:00:00.000     2014-03-01 00:00:00.000      59
    102         Event 3           
    2                   3            2014-01-01 00:00:00.000     2014-03-01 00:00:00.000     
    59
    Could you please help me to fix this query?
    TIA,
    John

    ;With cte As
    (Select EventID as [Event ID],
    Title,
    SourceName,
    Type,
    min(eDate) Over(Partition By EventID, Title, Type) as [First Detected],
    max(eDate) Over(Partition By EventID, Title, Type) as [Last Detected],
    eDate,
    datediff(d,min(eDate) Over(Partition By EventID, Title, Type),max(eDate) Over(Partition By EventID, Title, Type)) as [Delta (days)],
    max(eDate) Over() As MaxEDate
    from Events
    where type = 3)
    Select [Event ID],
    Title,
    COUNT(Distinct SourceName) As Instances,
    Type,
    [First Detected],
    [Last Detected],
    [Delta (days)]
    From cte
    Where eDate = MaxEDate And [First Detected] <> [Last Detected]
    Group By [Event ID],
    Title,
    Type,
    [First Detected],
    [Last Detected],
    [Delta (days)];
    Tom
    P.S. Thanks for providing the DDL and data.  That is always very helpful.

  • User exit for MIGO Posting Date

    Dear all,
    My Client want requirement is : Posting date of GRN should be after last posting date of goods issue
    i.e.  GI                261  1st june
           GI Reverse 262   2nd june
    again  GI 261  28 may   ( as 2 posting perod are open )
    then user should be able to do GRN on or after 28th may
    For this user exit please suggest me any FM or logic
    my current logic is allowing to post GRN after 1st june i.e. latest GI date  but that is not matching client requirement
    Please suggest
    Regards,
    Ishwar

    Hi,
       Enhancement for MIGO ,you can try these user exit
    MB_CF001-->  Customer Function Exit in the Case of Updating a Mat. Doc.
    MBCF0002 --> Customer function exit: Segment text in material doc. item
    MBCF0005 --> Material document item for goods receipt/issue slip
    MBCF0007  -->Customer function exit: Updating a reservation
    In BADI,you can refer these
    MB_CIN_LMBMBU04--> posting of gr
    .In MKPF table having data (posting date of goods issue) BUDAT-field name,tell the conditions as per your requirement to ABAPer,they can implement the enhancement as per your requirement...
    I hope,it will help you
    <=<< Sharing Knowledge is a way to Innovative >>=>
    By,
      Yoga

  • Query for todays Posting Date

    Currently my query is as follows, I want to create report that pulls produciton orders that are either planned or released where the post date is today...as my understanding getdate() does not work...may I get some assistance?
    SELECT T0.[DocNum], T0.[PostDate], T0.[DueDate], T0.[ItemCode], T0.[PlannedQty]
    FROM OWOR T0
    WHERE T0.[PostDate] = GetDate() AND
    T0.[Status] = 'p' OR
    T0.[Status] = 'r'
    Thank you
    Sarith

    Hi Sarith,
    Try:
    SELECT T0.DocNum, T0.PostDate, T0.DueDate, T0.ItemCode, T0.PlannedQty
    FROM OWOR T0
    WHERE DateDiff(dd,T0.PostDate,GetDate()) = 0 AND T0.Status in ('p','r')
    Thanks,
    Gordon

  • FI Posting Date should be same of Sales Invoicing Date.

    Dear Experts,
    I have certain queries in mapping the below scenario:
    We are following the below sale cycle:
    Sales Order -> Delivery -> Goods Issue -> Invoicing (without releasing to Accounting) -> L.R. Entry -> Release to Accounting.
    As per above cycle, We have done Enhancement by creating customized L.R. Screen, once L.R. Entry is done, the system automatically generates Accounting Entry of invoice.
    But the problem is, For e.g. If Invoicing is done on 26th Feb and L.R. Entry is made on 5th of March (accounting also released with L.R).
    Posting Date of Accounting takes the date of L.R. Entry i.e. 5th March but it should take the date of billing i.e. 26th Feb.
    Need experts help to solve the above issue as it is very urgent.
    Regards,
    Ashutosh

    as you mentioned its customized screen....I suppose you can add this code in the enhancement points too...

  • Clearing after posting date not required in FF67

    Hi
    I have given posting date as 31.01.2010 in FF67 (manual bank reconciliation statement).
    But in-spite of the posting date is given as 31.01.2010, all the entries posted with posting date of February in incoming account / outgoing account is also considered for clearing.
    So is it possible to restrict the same.

    Hi,
    You might have entered an amount of a document, which is posted with FEB posting date, while entering the bank statement items in the next screen of FF67.
    The clearing date can be earlier than the posting date while FF67.
    The actual posting date (FEB date) will become the value date for the reconciliation posting entry to the main bank account line item. (Line item generated by system by doing FF67)
    Please check.
    Thanks,
    Srinu

  • R/3 posted data not picked up in BW delta load

    All,
    We have a Delta process for loading ledger data from R/3 to BI.  It works fine unless a document is posted in R/3 and we run the delta process before an hour has passed.  If that happens then the document posted in R/3 will not be picked up.  It is picked up later in the day on a subsequent run.
    The information we have gotten is that this is delivered functionality.
    Is that correct?  Is there any documentation for this delay?  Can it be changed?
    Thank for your help
    Bill L.

    Hi.........
    Check you datasource.............
    1) Check the delta-specific field and the type for this field.There are three type : Time stamp,calender day, nemeric pointer.........
    2) Check the delta type...........whether it is New status for changed records or Additive Delta.....
    Check this link :
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    Hope this helps you............
    Regards,
    Debjani..............

  • GR Posting Date-not modifiable

    Hi Friends,
    We have business requirement to have GR posting date should always default to the current date and not modifiable.  Business client does not wants anyone to receive goods in the past. Please tell me how to achieve this settings?.
    Thanks
    Abdul

    Hi
    Try Field selection for MIGO transaction
    Path:SPRO-MM-IM--->field selection for header -->Select display option for doc date.
    Vivek
    Edited by: Vivek N on Dec 29, 2008 3:52 PM

  • Posting date not open

    posting period 001 2007 is not open
    this is what i get trying to post an inbound mbgmcr idoc
    i use posting date 20070115
    when i look in trans omsy for my company code 3000
       i see 2007 2  2007 1  2006 
    how can i open this period up

    Hi
    I have no MM consultant.  I am it.
    So  
    I actually think it is the format i am using
    in transaction omsy  i see 3000  2007   3   2007  2
    so in we19 for processing inbound mbgmcr goods movement i am trying to use a posting date of 20070215
    i have tried lots of combinations but it says
    posting only possible in periods 2007/03 and 2007/02 in cc 3000
    so what format combination should i use in the posting date in we19
    thank you so much

Maybe you are looking for

  • Why can't i access my CC apps on more than one computer?

    I installed a trial version of Adobe CC on my LAPTOP. I used my work email address as i knew we would be ugrading with Adobe CC for teams. After 30 days my license expired. I also installed a trial version on my DESKTOP. Our IT guy then transferred a

  • Hp laserjet 1022 driver not available

    I am running 10.8.2 on a MacBookPro.  After the recent update of the OS my HP Laserjet 1022 stopped functioning.  In Mountain Lion, the HP drivers are meant to be installed by the OS. However all my attempts to update the driver software from within

  • How to delete PDF files on an ASUS MemoPad

    On an ASUS MemoPad there are files that the Adobe Reader can open that I want to delete. I connected the ASUS up to a computer to look at the ASUS file directory using WindowsExplorer. Some of the PDF files on the ASUS were found. But not all of them

  • Document is not getting attached to PO

    hi experts,                I have create a z docu type and oject link as EKPO and additional link as matcomp.when i create a new document and make the status as released.Its not getting displayed in me22n.Do i need to do any furthur coustamizations f

  • How to copy DB files from UNIX filesystem to ASM in RMAN?

    Hi, I have a cold backup copied from a RAC ASM by using RMAN to UNIX filesystem. I made it like this: RMAN> run copy datafile 1 to '/backup/PDAMLPF2/offline/system.306.715096785'; copy datafile 2 to '/backup/PDAMLPF2/offline/undotbs1.260.715096755';