2LIS_02_SCL Issue

Hi XPerts:
I am facing following problem with above extractor. I created an ODS object with the following fields as a key.
BW: Document Number- 0DOC_NUM
BW: Document Line Number - 0DOC_ITEM
Schedule line number - 0SCHED_LINE
BW: Transaction Key - 0PROCESSKEY
Posting date in the document - 0PSTNG_DATE
Fiscal year variant - 0FISCVARNT
The issue is related to the extraction.
I created a PO with Qty 100 on 03/28/2007 and perfroemd GR on the same day for Qty of 25.
When I extaract data, I get 2 records. One with process key 1 for "BW: Amount as OUn-0CPQUAOU" qty 100 and second with process key 2 with qty 25.
I created another GR on 03/29/2007 for Qty of 50. The record I get in BW is with qty of 75 with process key of 2.
When I run listcube for this ODS my qty for this PO shows (75+25 = 100) which is not correct. The correct GR qty should be 75. This is because posting data is in the key. It works fine If GR data is same.
When I load historical data from PSA it is good to. Ongoing delta this will create an  issue. Just want t oknow has anybody created an ODS for 2LIS_02_SCL and lodaed Historical data from PSA and ongoing delta?
I need to know what should I use as a key when I define ODS for 2LIS_02_SCL so that I can load Historical data from PSA and ongoing delta and get correct values. Your help will be appreciated.
By the way I have 2 separate update rules. 1 for load from PSA where I have addition and for daily delta I have overwrite.
Thanks

Hari:
See below.
UOM     0DOC_ITM     0DOC_NUM     0FISCVRNT     0PROCESKEY     POSTING_DATE     0SCHDL_LN          0CPQUAOU
EA     10          4500278460     Z2          2               03/28/2007          1               150,000.000
EA     10          4500278460     Z2          2               03/29/2007          1               275,000.000
EA     10          4500278460     Z2          1                              1               305,280.000
I have created PO on 03/28/2007 for QTy 305208 with Process KEy 1
1st GR on 03/28/2007 for Qty of 150,000
2nd GR on 03/29/2007 for qty of 125,000
but in ODS the qty for 2nd GR shows up as 275,000 which is not correct.
My total GR will be 425,000 instead of 275,000 which is not correct.
Thanks

Similar Messages

  • Urgent.. issue in MM loading: 2lis_02_scl and 2lis_02_itm

    Hi Gurus,
    I am getting a short dump when i am trying to load the data from datasources: 2lis_02_scl and 2lis_02_itm.
    It is giving the error message  : "
       "MESSAGE_TYPE_X" C
       "SAPLRSC2" or "LRSC2U01"
       "RSC2_QOUT_READ_DATA"
    and even the repeat of delta has failed again.
    Can ne body please help as this is business critical issue.
    Thanks in advance,
    Anurag Rathore

    Hi
    There is one other method where in youc an go to the Item and Schedule line tables ( EKET) and filter on created on and load those documents into BW.
    However this is tedious process as you many have several documents to fill the setup tables
    This is just another alternative..
    Regards,
    Srini

  • GI quantity Delta issue with 2LIS_02_SCL

    Hi Friends !
    We are facing delta issue in the BI Prod. Hence to look into the issue, performed few steps in Test environment to check whether delta is performing or not. Mentioned below are the steps which are carried :
    1. BW Setup
    a. Deletion of queues for Purchasing data in ECC
    b. Data collection of purchasing documents for March 1 u2013 March 31 in ECC
    c. Deletion of source system initialization in BW
    d. Loaded collected data into SAP as delta initialization
    Result - OK
    2. ECC data entry
    a. Created PO #5052422, intracompany STO from DDP1 to USC1
    i. 1 line item (qty 5) with two schedule lines (qty 2 & 3)
    3. First delta run
    a. BW brings over 2 schedule lines for PO #5052422
    Result - OK
    4. ECC data entry
    a. Created PO #5052423, intercompany from DDP1 (USC1) to IRP3 (BV11)
    i. 1 line item (qty 5) with two schedule lines (qty 2 & 3)
    5. Second delta run
    a. BW brings over 2 schedule lines for PO #5052423
    Result - OK
    6. ECC data entry
    a. Posted partial delivery for schedule line 1 of PO #5052422 with a quantity of 1
    7. Third delta run
    a. no records brought over (change to GI quantity should trigger delta)
    Result - FAIL
    8. ECC data entry
    a. Posted partial delivery for remainder of schedule line 1 of PO #5052422 with and a partial delivery for schedule line 2 with a quantity of 1
    9. Fourth delta run
    a. no records brought over (change to GI quantity should trigger delta)
    Result - FAIL
    10. ECC data entry
    a. Modified delivery date of both schedule lines of PO #5052422
    11. Fifth delta run
    a. Both schedule lines of PO #5052422 brought over with updated delivery dates and goods issue quantities
    Result - OK
    12. ECC data entry
    a. Modified delivery date of both schedule lines of PO #5052423
    13. Fifth delta run
    a. Both schedule lines of PO #5052423 brought over with updated delivery dates
    Result - OK
    Ques :
    1) When modified, GI quantity is not triggering delta. Please advise.
    2) 2LIS_02_SCL extractor is build on which delta field.
    3) How delta works & behaves with 2LIS_02_SCL extractor?
    With Regards
    Rekha

    Good afternoon Rehka,
    I believe that it is correct that the GL change you mention will not trigger a delta on the BW side. This functionality appears to be missing.
    If you check in LBWE you will see that the EVENTS for 02: Purchasing -> MC02M_0SCL include the following:
    MA: Purchase order
    MB: Goods receipt
    MC: Invoice receipt
    MD: Scheduling agreement
    The event associated with a Goods Issue is ML and not included in the list of events for this structure. This is the standard behavior.
    I checked and I was unable to find a datastructure that does handle event ML. From what I see the only way to do this is through a custom datasource.
    Kind Regards,
    Des

  • Issue with 2LIS_02_SCL Data source

    Hi Everybody,
    I am facing the below 2 issues with 2lis_02_scl data source,
    1) This is fetching only the records  ETENR (Delivery Schedule Line Counter) value with ' 1 ', It is ignoring others ex:2,3 and 4. Hence Data is not reconciling with ECC system.
    2) The standard field GLMNG is not getting any data, Data was existed in table(EKET) level. So i have written the code and data is coming now. But the problem is, This is not considering the ROCANCEL indicator it seems. All the other key figures values are coming in with Negative sign When ROCANCEL Value is ' X ' or ' R ', But this field is getting all the positive values irrespective of ROCANCEL indicator. Hence showing the incorrect values compared to the ECC.
    Can anybody help me on this,
    Regards,
    Gopinath

    Hi Gopinath:
       Have you already applied any SAP Note to solve this problem?
    Please check if the SAP Note below is applicable to your system.
    668177 - "LIS BW: wrong quantity for documents with invoice plan"
    Regards,
    Francisco Milán.

  • 2LIS_02_SCL Datasource dataload issue

    Hi Sdns,
    i am using 2lis_02_scl datasource, i am seeing the strange behaviour of the datasource.
    I have filled the setuptables without any issues. then i am trying to load the data to the BI by using the Repair Full request infopackage. I found that some of the PO docuements are missing in BI. i have done the extraction for the same misssing PO's in RSA3 in R/3.
    In RSA3, i am able to the see the data for missing PO's but these PO's are not getting transferred to the BI firsttime.
    i again loaded the data to the BI without any selections in infopackage also,  i can able to get the data for some missing records but not all.
    for more information, this is happening in Quality systems.
    Please help me on this issue.
    Thanks in Advance
    karunakar
    Edited by: karunakark on Apr 5, 2011 3:14 PM

    Where are you checking the data in BW?
    Is it the PSA or the DSO?
    And, you said that you are able to see the Data in RSA3 for PO's which do not get loaded to BI.
    Please try to fetch such a PO using Repair Full -> Infopackage Selection -> Po Number.
    See if you are able to see the data in the PSA of 2LIS_02_SCL.

  • 2LIS_02_SCL update issue

    Dear sir,
    Issue
    I created a Purchase order for an article to a site.It is required to update in a Data source .But it is not updating . Please help me.
    Anlysis
    I tried after doing Goods receipt too, but it is not working.
    I need it to update it because R/3 will get updated in a data source and BI fetch the data from the(R/3) data source to infor source (BI).So if we need data available in BI it has to be in R/3 data source. please help. data source we use is 2LIS_02_SCL
    regards
    manu

    Hi Manu,
    When you create a purchase order, the tables EKKO and EKPO will get updated. The datasource will not get filled by these records, but it is the setup tables and the delta queue which will get updated.
          If you want to check in R/3, as to whether these PO's are getting extracted by the 2LIS_02_* extractors, you will have to fist fill the setup tables in R/3 with the required PO's.
    Please follow the following steps for deletion and  filling of setup tables in R/3
    1) Use T-code LBWE to delete setup tables. Here it will ask for application component. for purchasing the application component is 02.
    2) Now you can selectively fill the setup tables for purchasing related datasources by the T-code OLI3BW.
        here give the PO numbers, specify a name for the job run and execute. Once the setup table filling is done. you can get the records by running the extraction of 2LIS_02_SCL in RSA3.
    Now, extracting this data to BW can be done in two different ways,
    1) Full upload:- Before you do this you need to fill the setup table With the required PO's .If you are working in the development system and want to test only for few PO's this is an easy approach.
    2) Delta upload:- before creating the PO in R/3 if the extractor is already initialized in DELTA mode by doing an init load in r/3, then you need to do a DELTA load to BW system to get the new PO's. A full upload will not help.
    Another option is to do a repair Full load, where in you will have to fill the setup table with the new PO's and then run a repair full load in BW system. For this, check the update mode of info-package as Full and in the scheduler tab of info-package check the load as a full repair.
    Hope this helps you.

  • Issue with EKBE and 2lis_02_scl enhancement

    Hi Gurus,
    I am enhancing MC02M_SCL structure for purchasing 2lis_02_scl, I added the fields MENGE (quantity) posting date (BUDAT) and transaction value type VGABE.
    Transaction event type has the values 1 to 8, I am comparing the keys EBELN and EBELP from structure.
    There is no other common key between MC02M_SCL and EKBE. My problem is I am getting the records only with transaction type 1 (in RSA3) not getting remaining records with transaction type 2 to 8. BELNR is key in EKBE but it is not present in MC02M_SCL. If I use BELNR my problem will solve... Let me know u r thoughts.
    this is my select statement,
    Select EBELN EBELP ZEKKN VGABE GJAHR BELNR BUZEI MENGE BUDAT CHARG MATNR ELIKZ INTO TABLE I_EKBE FROM EKBE
          FOR ALL ENTRIES IN C_T_DATA
          WHERE EBELN = C_T_DATA-EBELN AND
                EBELP = C_T_DATA-EBELP.
    reading the data with below statement,
    READ TABLE I_EKBE INTO WA_EKBE
          WITH KEY EBELN = WA_MC02M_0SCL-EBELN
                   EBELP = WA_MC02M_0SCL-EBELP
                CHARG = WA_MC02M_0SCL-CHARG
                  MATNR = WA_MC02M_0SCL-MATNR
                   ELIKZ = WA_MC02M_0SCL-ELIKZ.
          IF SY-SUBRC = 0.
            WA_MC02M_0SCL-ZZMENGE = WA_EKBE-MENGE.
            WA_MC02M_0SCL-ZZVGABE = WA_EKBE-VGABE.
            WA_MC02M_0SCL-ZZBUDAT = WA_EKBE-BUDAT.
           WA_MC02M_0SCL-ZZCHARG = WA_EKBE-CHARG.
    Thanks.

    Hi,
    this forum is for the SAP BusinessObjects BI Solution architecture. I would suggest you post your questions into the SAP BW forum.
    Ingo

  • Purchasing Data Load Issue  - 2LIS_02_SCL, 2LIS_02_ITM, 2LIS_02_HDR

    Hi Friends,
    I'm facing a problem extracting data related to a different Purchasing Organisation using these extractors.
    Currently we extract data related to PO 1000 and would like to extract even for 3000.
    Where should I check for the restrictions; do I need to change some config settings?
    Any help would be appreciated.
    Thanks in Advance
    Aj

    Hi,
    There are 2 places ,where we need to chcek this one.
    1) Delta init package .But there may chance of selection change after delta init was over. So check the Delta init Request in monitor of biw .
    2) Selection was taken in the filling steup table iteself, But unfortuanately we donot have option to know this.But if you have done like this ,you may be getting records with other POrganization also into BIW.
    With rgds,
    Anil Kumar Sharma .P

  • LBWE - 2LIS_02_SCL and 2LIS_04_P_MATNR activation issue

    We use client 010 as configuration client and 030 as development client. When I activate the datasource in LBWE it shows active in client 010 but is not active in 030. Due to this we are not able perform setup and retrieve any records.
    Why is the datasource inactive in 030? how can I activate the datasource in 030?
    Thanks

    hi  Kumar
    GO to RSA5 and check the datasource..and install the datasource.Once installed check in RSA6 and select the particuler Data Sources and Select the Transport Button.
    and Delete the Setup table (LBWG) for Required  Data Sources and
    goto LBWE try Again for Filling the Setup  Table.
    hope helpfull

  • Delivery Completed Indicator  - Open PO Quantity Issue

    Hi All,
    I have an issue relating to our Open Purchase Order Report.  I have some POs which are appearing on the report eventhough they are marked, 'Delivery Complete' ie NOT open. The example of a PO is where the PO Quantity is 100 and the Goods Receipt is 99.  The user knows that there will be no further deliveries and therefore marks the PO 'Delivery Complete'
    In the Extractor to BI we have extracted this field ELIKZ 'Delivery Completed Indicator'.  The structure of our datamodel is
    PSA -> DSO (Write Optimised DSO) -> Cube
    We calculate the Open PO Qty by taking 'PO Qty' minus 'Goods Receipt Quantity' I have checked the example PO in the cube & DSO.  I can see that for the infoobject 'Delivery Complete Indicator' that it has been marked 'X' but only on the records relating to the Goods Receipt for this PO.  The original PO record is added to the cube eg on 1st Jan and then the Goods Receipt record, including the delivery complete indicator is added to the cube on 31st Jan, but the original record is not updated by this indicator.  Therefore at the moment I cannot use this to filter out records in my query.  See below how it looks in the Cube;
    Created Date - PO No - PO Line - Del Complete Indicator - PO QTy - Goods Receipt Qty
    01.01.2011       123      10             (Blank)                             100
    31.01.2011       123      10                 X                                                         99
    What should I do?  How have you created this report?
    Just to let you know I have already read the post Delivery Completed Indicator(ELIKZ:0COMPL_DEL) in 2LIS_02_SCL
    Many thanks for your help,
    Michelle

    Hi Kalyan,
    Thanks very much for your message,
    In my case if the Order Qty is not equal to receipted this does not always mean that it is open.  Sometimes the receipted quantity can be over or under (not equal) and the PO can be closed.  What do you mean by confirmed quanity?  Also, this is a Purchase Order report not a Sales report.
    You have said...
    "Then I would suggest to still keep the condition on the Net ord qty and Net confirmed qty and exclude the del compl indicator as X and also the status as open "
    I don't understand how this will work.  My issue is that the indicator is not on all the records of a PO only the receipted records.
    Can you help again please?
    Many thanks
    Michelle

  • Delivery Completed Indicator(ELIKZ:0COMPL_DEL) in 2LIS_02_SCL

    Hi Experts,
    I am using the datasource 2LIS_02_SCL for Purchasing reports and this extractor has the 'Delivery Completed Indicator'[ELIKZ] which is mapped to 0COMPL_DEL in BW. The ODS which in our system has the 0PROCESSKEY as one of the key fields. Hence there are multiple records for one PO item with different 0PROCESSKEY. However the 'Delivery Completed Indicator' is not correctly extracted. For example, for one of the PO items which are not marked as delivery completed in R/3, the records extracted are as follows:
    Purch.Doc. Item( Deliv.date Pur Purc D
    POD Doc             Item    Schedule Line Process Key Delivery Completed Indicator
    3000000583          00001 0001               001             
    3000000583          00001 0001               002                X
    The delivery completed indicator was set & unset in R/3. This is an issue with all the similar PO items. The indicator in not set for all the records. Is there any rule that only certain process keys should be considered to identify the indicator?.
    Kindly help.
    Regards,
    Shilpa

    Hi,
    You can have more than these 3 depending on your system setup. 
    If remember correctly, everything ending with 1 is PO related, 2 is GR related and 3 is invoice related.  So, for GR related records, look at Process Keys 1 (so you know the Line Item quantity), 2 for GR's, 12 (GR reversals or issues?), 22 (GR issues or reversals?).
    Of course, with all things SAP, every system is different and you may have other keys you need to include.  As someone else wrote, looking to the transaction key mapping for the movement types. 
    Also, you should ask the functional guys or the business (if there are no functional people) for all of the GR related scenarios for Purchasing.  They should give you a list of 5 -10 scenarios on how material can be bought and brought into the system.  With that list, run through each one and see what records are created and when.  This will display to you how the system works and you can program based on the results.  This will take a while, but will be very beneficial to you.
    Brian

  • Error while loading data into 0pur_c03 using 2lis_02_scl

    Hi,
    While trying to load data into 0pur_c03 by using Data Source 2lis_02_scl from R/3 the error message "The material 100 does not exist or not active" is being displayed. I have loaded master data for 0Material and performed change Run also.Still the problem is not resolved.Please suggest in resolving this issue.
    Regards,
    Hari Prasad B.

    I have the same problem in my system and i found that the material XXXXX had movements.....sales documents and more but in certain moment it material was deleted in R3 and it is not loaded into 0MATERIAL infoobject because is marked for deletion....
    If you have this error must activate the load request manually and your infocube can hold the data without any problem.....
    Regards

  • 2LIS_02_SCL / Getting both Posting dates of goods receipt & invoice receipt at the same time

    Hi,
    I have created a DSO based on the schedule lines standard extractor 2LIS_02_SCL.
    The keys of this DSO are PO Number, PO Item and Schedule Line number.
    I have succeed to get some key figures like PO Quantity, GR Quantity and Invoice Receipt Quantity according to the Process Key value.
    Furthermore, I'd like to get too the goods receipt date (Process Key = 02,12,22).
    In order to do that I wrote a small routine in the transformation rule for my target field which fill it only if the process key is 02, 12 or 22.
    The problem is that it doesn't work well because of the invoice records in my source package...
    Indeed when there is an invoice in my PSA for a schedule line, my target field (GR date char) is empty (for these schedule lines, last record is Invoice Receipt type). So it means my transformation rule works but is overwritten by an blank value when there is a process key 03,13 or 23 (invoice Receipt type).
    Do you have a idea to solve my issue ?
    Thank you very much

    Hi.
    You have to write start or end routines for this scenario, not the field level routine since it gets overwrite with last record values....
    overall logic is:
    Collect GR date per PO Num, PO Item and PO SCH. Lin num..like you have internal table with PO number, PO Item and PO Sch line number and GR date. First you have to go through source_package or result_package and fill up that temporary internal table
    And than again go through source_package or result_package and READ that temporary table and fill GR date for all records of same PO sch. lines ..hope this resolves the issue.
    I would prefer end routine if you have posting date in DSO or target structure
    this is little bit complex, so you need ABAP skills....

  • 2LIS_02_SCL - OLI3BW Doesnt exist

    Hi,
    Im facing a wear issue, may be you can help me.
    1)I have activated 2lis_02_scl in a DEV Environment
    2)I transported to TESTING Environment and everything was OK
    3)Finally i transported to PRD Environment and here is the issue:
    When i try to filling setup tables with OLI3BW (as i did in others environment) it shows me the old transaction , the one corrrespond to LIS ESTRUCTURES. After this i have verified the LBWE and everything is OK.
    All environments are SAP ECC 6.0.
    How can i fix this in order to run the right transaction ?
    Thanks !!!

    Hi Marcos:
    What happens if you go the long way instead of executing the Transaction Code OLI3BW? The same results?
    Execute Transaction Code SBIW and navigate through the path below.
    Settings for Application-Specific DataSources (PI)
    Logistics
    Managing Extract Structures
    Initialization
    Filling in the setup table
    Application-Specific Setup of Statistical Data
    Perform setup - Purchasing
    Regards,
    Francisco Milán.

  • 2LIS_02_SCL - Purchase Order History

    Hi All,
    Im working with 2lis_02_scl extractor,and when i executed a report i noticed that in the "Invoice receipt quantity (0INV_REC_QTY)" the extractor takes all the amounts that exists in the "Purchase Order History" Tabsheet in Tx(ME23N), so my question is:
    Is there a way to take just the amounts for "Goods Receipts" and "Invoice Receipt" without making an append in the lis structure with the "Short Text" Field?
    Thanks a lot

    Diego,
    Thank a lot !! I've solved the issue !! i really appreciatte your help !!
    Regards

Maybe you are looking for