2lis_11_vaitm vs 2lis_11_vahdr

Hi gurus,
I need to enhance 2lis_11_vaitm with VDATU field (sold-to party's Requested Delivery Date.) Actually this extractor contain field with same name and different meaning (Update date for statistics update).
The reason is we've done it with badi&z-field but there are a lot of data and primitive calculation show us that we'll spend extra hours and extra load to our erp enhancing our 2lis_11_vaitm.
So i wonder is there any way to change standart field in item extractor? or maybe some way to cheat it?
PS They way described below is found on sap site -
DataSources 2LIS_11_VAITM and 2LIS_11_VASCL. In 2LIS_11_VAHDR however,
the field VDATU contains the sold-to party's Requested Delivery Date.
If you need a field that can take over the Update Date for Statistics
Update function, proceed as described in SAP Note 719603.
<<Removed>>
Edited by: Matt on Sep 20, 2011 7:05 AM

Gurus please be so kind to check my abap tuning and guess if something can be done extra.
WAS
+loop at c_t_data assigning <l_s_data>.
select single vdatu into (<l_s_data>-zvdatu)
from vbak where vbeln=<l_s_data>-vbeln.
endloop.+
NOW
DATA: BEGIN OF wa_vbak,
           vbeln LIKE vbak-vbeln,
           vdatu LIKE vbak-vdatu,
        END OF wa_vbak.
DATA: it_vbak LIKE TABLE OF wa_vbak,
           l_vbak like line of wa_vbak.
select vbeln vdatu from vbak
for all entries in c_t_data
where vbeln=c_t_data-vbeln
into table it_vbak.
sort it_vbak by vbeln descending.
loop at c_T_data assigning <l_s_data>/
read table it_vbak with table key vbeln=<l_s_data>-vbeln into l_vbak.
<l-s-data>-zvdatu=l-vbak-vdatu.
endloop.

Similar Messages

  • No data in RSA3 for 2LIS_11_VAITM and 2LIS_11_VAHDR

    hello experts,
    i want to extract data from 2LIS_11_VAHDR and 2LIS_11_VAITM but dont see any data in RSA3.
    I have already activated the datasource in RSA5 and LBWE. After running the setup tables using OLI7BW i still dont see any data in RSA3.
    Pls advice... is there something i am missing?
    thanks
    Jagpreet

    Use SE16 and verify that there is data in the MC11VA0HDRSETUP table.  If there is no data, then your setup tables were not updated (or the setup extracted no records).
    In RSA3, make sure you select Update Mode of "C" or "F".  This will check data from the setup tables.
    Hope this helps.

  • Initilization for 2lis_11_vahdr

    Hi Experts,
    I'm extracting data from 2lis_11_vaitm and 2lis_11_vahdr datasources. As I've huge data in production system. I want data from January 2009 to till data. I can able to get month wise sales orders.
    1. I'm extracting data by giving the selection for sales orders (Sales order 1 to sales order 1000 in January month, SO1001 to SO 2000 in Feb month, SO2001 to SO 3000 in March Month like that)
    2. I've extracted data till July month like that by giving sales order numbers.
    Now I need to do initilization and need to set up for deltas.
    Can I fill the set up tables with sales order range from Jan to July and do initilization without data transfer then scedule delta?
    then Can I get the August records in delta with changed records for Jan to July properly?
    Is it the correct apporach.
    could you please through an ideas.

    Hi SHarsha,
    Data in Setup table and intializing delta is nowhere inter related. You dont need to have data in setup tables to fetch delta.
    As in your case you have mentioned that you have data filled in setup only till July. So data only till July will be BI and if you do intialize delta the august month records will not be pulled in delta as those are historic records. Only new records will be captured.
    Generally when going for any setup in BI, first we will fill the setup tables for that datasource and pull the history records from R/3 to BI for the interval range required. Then on a outage time we will intialize a delta. So going forward you will be able to get delta.
    You have mentioned to have a data from 2009 to till date and moving on the delta also. For this you need to have a outage time since it is an sales datasource.
    Fill up the setup tables till date data and pull into BI and do intialization without data transfer with date or peirod in selection condition(ex. 01/01/2009 to 12/31/9999). Going forward any changes happens to the records created on this interval or any new records will be captured in delta.
    Hope this gives you an idea.
    Akhan.

  • How to combine Sales orders and Billing

    Can you help?
    I have located extractors 2LIS_13_VDITM and 2LIS_13_VDHDR for Billing. I have located extractors 2LIS_11_VAITM and 2LIS_11_VAHDR for Sales Orders.
    I need to combine the data for these 2 extractors for my reporting requirements.
    My problem is:
    In 2LIS_13_VDITM, we have the Sales Order number and Billing number.
    2LIS_13_VDHDR  has only Billing number.
    2LIS_11_VAITM and 2LIS_11_VAHDR has only the Order number.
    Can you advise how they can be combined so I have a DSO that contains all this data?
    Any help would be appreciated and points assigned accordingly.

    Hi,
    I would suggest you to have a separate data targets for each of them and then combine everything using a MultiProvider.
    Hope this helps.
    PB

  • Problem with query 0SD_C03_Q009 / Infocube OSD_C003

    Hello,
    I am new to BI and have a question because I implemented the Internal Sales Rep business package in the portal which includes an iView with BI query 0SD_C03_Q009.  This is for NW2004s IDES installation.
    All of the business content, extractors, etc., have been activated and data has been extracted to BI.  However, when the query runs, all the values (i.e. Incoming order value, Billing value, etc.) are zero.  However, if go into the BI Administrators Workbench (RSA1) and right-click on the InfoCube (0SD_C03) and use the display data function, I can see the correct records in the cube with values in the 0NET_VAL_S field.  However, there appears to be two "types" of records -- some with the values populated and others without.  I believe these represent data extracted from 2LIS_11_VAITM and 2LIS_11_VAHDR respectively.  Also, when checking the update rules, I can see that only "No. of docs" is active for 2LIS_11_VAHDR whereas all the other fields, including 0NET_VAL_S is active for 2LIS_11_VAITM.
    For some reason, it appears that the query is only pulling in the "header" records that do not have 0NET_VAL_S populated which is why my results have zero values.
    Can someone explain why the query appears to only be pulling in the "header" records?  Or is there something wrong in my update rules and I should really have more fields active than just the "No. of docs"?  Did I go wrong somewhere in the process of activating the business content, update rules, extractors, etc?

    Sorry that was for another query.
    i referred to
    http://help.sap.com/saphelp_nw70/helpdata/en/b6/287b372018e84ee10000009b38f889/frameset.htm
    But there is not restriction on the query... so if there is data it should come..
    see if any of other query in the given list works....
    http://help.sap.com/saphelp_nw70/helpdata/en/09/a7b339688d2453e10000000a114084/content.htm
    Regards
    Raj
    Edited by: Rajesh J Salecha on Sep 9, 2009 4:21 PM

  • RunWeek in the report.

    Hi friends,
                I need to use Runweek in my report. How do I approach on this, what should I be mapping it with in my transfer rules , if I'm using a SAP delivered datasource??
    Thanks alot in advance , immediate response will be appreciated.

    Hi Bhanu,
             I'm using 2lis_11_Vaitm and 2lis_11_vahdr and 2lis_13_vditm . These data sources have some Fiscper and Fiscvariant fields, So can you please tell me how I can use runweek in my report. The report I run should be for the current week (yy/wk). Can I add 0CALWEEK in my cube??
    Can you please elaborate this :
    You can map 0CALWEEK (automatic time conversion) in the update rules...or do you mean something else by RunWeek?
    what does automatic time conversion mean??
    Really appreciate if you respond,

  • Sales Report problem with 2LIS_11_VAHDR, 2LIS_11_VAITM and other DS

    Hi Experts,
    I need your help in following topic. I have a requirement to build a big (overall) sales report in BI (NW2004s).
    I would like to use BI Content because I'm running out of time and try to use all preconfigured stuff if possible.
    In the requirement a bunch of fields of different SD DataSources are used (mostly 2LIS_11_VAHDR and 2LIS_11_VAITM but also some fields of other Datasources).
    In SE16 I know how to locate all the field in the tables VBAK, VBAP, KNA1, VBKD,
    LIKP, VBRK and of course some texts. Some fields could already be located by me, others couldn't even be found in BI.
    The difficulty I have is to bring all the DataSources together so that the data is displayed correct - even if there are redundant parts.
    For example:
    For sales orders the doc no, sales org, distr. channel (and a lot of other header data) should be displayed in each line together with item data such as item no., material code, quantity (and a lot of other item data). If an order has multiple items each item should be diplayed in one row in the report.
    In the Query the report should look like a common table (e.g. as in an ALV Grid if you model a query with SQ01) --> a lot of columns.
    I'm not sure if I should use one big DSO with multiple InfoSources or if I should create a MultiCube and add the BI DSOs 0SD_O03 (Orders) and 0SD_O01(Order Items).
    I know this is a very common requirement in SD. Do you know how to combine the most common SD datasources that no issues come up?
    Thank you very much in advance,
    Horst
    Message was edited by:
            Horst Henkel

    Hi Horst,
    Reporting on ODS / DSo is slow. I'm here at a cleint where we have lots of reports on SD_O01 and SD_O03. The best way to have good  query performance is to build cubes on top of your ODS. Build a sales cube on top of SD_O03 with all fields and a billing cube on top of SD_O01. Load the data from your ODS to your new cubes. Then create a multipovider on top of both cubes, identify the keyfigures and characteristics required for your queries. Build the queries on top of the multiprovider.
    You can display all items of a bill in one row if you choose drill-across for the irems in the query, instead of drill-down. So it looks for a standard SD report.
    Regards,
    Juergen

  • Logistic extraction 2lis_11_vahdr,2lis_11_vaitm

    Hi
    our logistic extractors are not turned active in R3 development from some time.
    bw development is also not loading Logistic information from last 6 months
    but since last couple weeks new Sales orders and billing documents are getting created with new documents.
    so i refered sdn and followed the steps.
    1. delete setup tables in transaction LBWG
    2. FILL up setup tables using  SBIW -->Settings for Application-Specific Data Sources ->Logistics --> Managing Extract Structures->Initialization -->Filling in the Setup Table --> choose Application -- >Setup of Statistical Data-->SD Sales order perform setup
    3. this filled up setup tables....
    now if i do rsa3 and enter 2lis_11_vaitm i still cant see the records that were created in last month
    i can only see records that are created last year and year before....
    question--   i can still see the records in transaction VA03
    how do i solve this??

    First of all delete the setup table if already filled for application 11 and if there is entry in LBWQ delte that also you will get something like MCEX11 in LBWQ and corresponding entries in RSA7 if any exist. Now go to LBWE and acitvate the data sources you want in your case 2lis_11_vahdr,2lis_11_vaitm. Now fill the setup table for SD-Sales Orders - Perform Setup.
    After filling of setup table check the entries in RSA3, also you need to run init infopackage to get the deltas in LBWQ and then in RSA7. For pulling data from LBWQ to RSA7 you have to schedule the job using job control in LBWE.
    Hope you will get the desired results.
    Assign point if useful.

  • Logistic extraction 2lis_11_vahdr,2lis_11_vaitm,2lis_13_vdhdr,2lis_13_vditm

    hi
    recently our R3 development got system copy
    now we are doing logistic extraction in sales and distribution, so after reading different threads it seems i have to re org the delta queues
    here are things i can list out
    check active structures in BW:
    so i went into lbwe and they are 2lis_11_vahdr,2lis_11_vaitm,2lis_13_vdhdr,2lis_13_vditm
    delete the init from bw in infopackage
    delete set up tables
    so i went in LBWQ and deleted entries for MCEX11 & MCEX13
    now refill the setup tables...
       how to fill setup tables ???
    i am doing rsa3 and all this extractors are throwing empty or 0 records!!!!
    i tried oli3bw and oli7bw
    what options to select
    how to fill setup tables ???
    are this correct tcodes oli3bw & oli7bw  for 2lis_11_vahdr,2lis_11_vaitm,2lis_13_vdhdr,2lis_13_vditm

    thanks very very much
    when you say deleted data? that mean delete all the requests ???
    there are like 200 requests in cube 0SD_C03 because the data was loading from last 5 months..
    do i have to manually turn all requests in to red and delete it ???
    also when i ran oli9bw
    it ended up in error saying PROGRAM TERMINATed
    time limit exceeded!!!
    and then in smq1 there r no queues visible for 13 and 11
    do i run it again ????

  • Problem to extract data using DS 2LIS_11_VAHDR & 2LIS_11_VAITM

    Hello Experts,
    my requirement is to extract the SD sales Item & sales header data int BI.  while executing the Reports in BI  I find some incosistencies in data
    Ex:  for for some Sales organizations  
          0CRM_NUMDOC = 17 and the corresponding   0NETVALORD = 0,00  
    and for some sales organization
         0CRM_NUMDOC = 0 and the corresponding   0NETVALORD = 5200,00  
    we are using  the data sopurce 2LIS_11_VAHDR to load Document header data  and the data sopurce 2LIS_11_VAITM to get  Item Net value data. and used two trtansformations to the same SAP standard cubes 0CSAL_C05 & 0CSAL_C03.
    asper  my analysis in development system I find 
           VBAK contains  1405 records but the DS 2LIS_11_VAHDR extracts only 1235 records.
    but
           VBAP conains   2665  records and the DS 2LIS_11_VAITM extracts all 2665  records.
    is it creats the problem?
    I deleted the setuptables and again fill them  even thought I have the same problem ?
    If you have any idea regarding this issue please share with me.
    Thanks in advance.
    cheers.............

    HI,
    Check indeed the extraction in your source system with RSA3.
    Also perform the load and check your data in PSA (before any transformation takes place).
    Are you going to use delta or full loading? I assume it's delta? So if you perform your initial load with data, no use of the setup table is required...
    If you have too much data to do this, try an initial load without data, first delta load and next a full repair load (which will read your setup table). Do not forget to fill your setup table with all the historical data you need in transaction SBIW.
    Hope this helps.
    Best Regards,
    Michel Hoefkens

  • Problems with 2LIS_11_VAHDR and 2LIS_11_VAITM IS and DS

    Hi everybody,
    I'm working on a project under BW 7.0 release. Actually,I'm facing a problem between standard 2LIS_11_VAHDR and 2LIS_11_VAITM (IS and DS). I activated both of them from BC  (IS and DS), but the IS is under 3.5 release and DS under 7.0 release. The problem is how I can take either IS from 3.5 to 7.0 or DS from 7.0 to 3.5 in order to have both objects in the same release, so that I can create a transter rule between them.
    I really appreciate help any help you can give me.
    Thanks in advance
    KG

    Hi Kenya,
    Try T code se16 in BI..give table name RSOSFIELDMAP..next give OLTP source as 2LIS_11_VAHDR( Ur data source) in IOBJNM filed give ur respective target field name. This will give u the corresponding source field name....hope this helps
    Thanks
    Prashant

  • Extraction of 2LIS_11_VAHDR and 2LIS_11_VAITM

    Experts,
    We have new BI system and connected to ECC.
    I have activated the captioned DataSources in RSA5 and can see them in RSA6. In LBWE, I have activated the MC11VA0HDR and MC11VA0ITM by changing the Inactive on right side to active. Then filled the setup tables using TCode - OLI7BW which can be checked in NPRT and it shows 29 records. RSA3 also shows records for the datasources. Tables MC11VA0HDRSETUP and MC11VA0ITMSETUP shows 116 records .... so looks ECC side everything is okay.
    Replicating dataSources in BI, migrated with Export option and created InfoPackage to load data to PSA as INIT ..... it says No data available. Connection should be fine as master data can be extracted successfully.
    Can you comment why it is unable to extract data when it is available in ECC.
    Thanks in advance for your time
    Diagnosis
    No IDocs could be sent to BI using RFC.
    System Response
    There are IDocs in the source system ALE outbox that did not arrive in the ALE inbox of BI.
    Further analysis:
    Check the TRFC log.
    You can access this log using the wizard or the menu path "Environment -> Transact. RFC -> In source system".
    Error handling:
    If the TRFC is incorrect, check whether the source system is fully connected to BI. In particular, check the authorizations of the background user in the source system.
    No data available
    Diagnosis
    The data request was a full update.
    In this case, the corresponding table in the source system does not
    contain any data.
    System Response
    Info IDoc received with status 8.
    Procedure
    Check the data basis in the source system.

    Hi ,
    Please see the log details of the background job in SM37.It seems that your job is completed successfully,but if you see the logs you could able to find whether the background job extracted any records or not. It will give you the no of records extracted by this extractor in the log details.If the extractor extracted records ,then it might be the problem of connection.
    Also use tcode SU01 and then goto 'Logon Data' screen to see whether the user is locked or not. If the user is locked ,it will give you the message. But i don't think it is a root-cause ,anyway just check it .
    Let me know about your finding.
    Thanks.

  • 2lis_11_vascl and 2lis_11_vaitm delta issues

    Hi ALL,
    I am pulling data from Sales order datasources like 2lis_11_vahdr, 2lis_11_vaitm, 2lis_11_vascl, 2lis_11_vasti and 2lis_11_vasth.
    I have some problem with standard extractor of 2lis_11_vascl and 2lis_11_vaitm of not capturing the delta properly. I am currently analysing the issue.
    Could any one please clear my below doubts.
    1. When ever there is a change to schedule line 2lis_11_vascl to a sales order - does the header and item level also come as a delta?.
    2. Secondly i find the delta is correctly captured in Item status datasource 2lis_11_vasti whereas i am missing many documents in item level details datasource 2lis_11_vaitm. Have any one faced this issue. Really finding it difficult to debug the standard extractor.
    I could sense that i am missing documents in item level only for a particular item category(Third part order).
    It would be great if anyone could explain the above two questions to clear my doubt.
    Thanks,
    Aravind

    Hi Fazal,
    Please find the details below
    2LIS_11_VASCL  : This DataSource provides the BW with data from the Sales area and supplies the InfoSource               
                                    2AF_SD_SLS_1 with data. Extraction records are generated for the sales order event.
    2LIS_11_V_SCL  : This DataSource provides the BW with data from the Sales area and supplies the key figure Open Order
                                  Quantity in the InfoSource 2AF_SD_SLS_2 with data. Extraction records are generated for the sales order
                                   and delivery events.
    For More details check the below link :
    http://help.sap.com/saphelp_nw70/helpdata/en/ba/0b853c01c89d7ce10000000a11405a/frameset.htm.
    Note : To understand more about the open order quatity and sales order details contact SD Cconsultat.Then you will understand about the details.
    Regards
    Ram.

  • Transformations for 2LIS_13_VDHDR,2LIS_12_VCHDR/ITM,2LIS_11_VAHDR/ITM

    Hello all,
    I implementing std sales & distribution module in BI 7.0.
    So i am getting transaformation only for 2LIS_13_VDITM.
    All other datasources 2LIS_13_VDHDR, 2LIS_12_VCHDR, 2LIS_12_VCITM, 2LIS_11_VAHDR,2LIS_11_VAITM are in 3.x.
    i am not getting any transformation in BI contents.
    So what can i do now?
    can i migrate all these in BI 7 ? if i migrate these to BI 7 , can i get its transaformation , mappings etc  after migration.
    if i do it manually transaforamtion etc one by one where can i get mappings details for these datasource.
    if i migrate these and when i create transformation for it , is automatically mapping will happen or i need to do it manually?
    Please help.
    Thanks,
    Sadanand

    Hi,
    We dont have the TFs for those dataosurce.
    Activate the Updaterules and migrate them to RFs.Even after migration from UR , you still need to do the coding of start routines,,etc.
    Regards,
    Anil Kumar Sharma .P

  • Procedure for delta intialization of datasource 2LIS_11_VAHDR

    Hello experts,
    I need some help with the delta intialization for the datasrouces 2LIS_11_VAHDR and 2LIS_11_VAITM. I'm working on SAP R/3 4.7C and extracting data to BI 3.5. I'll be grateful if someone could send some links where I can find the step by step procedure.
    Thanks and regards,
    Sumit

    Sumit
    You could also go through these weblogs on LO extraction
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    /people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    /people/sap.user72/blog/2005/04/19/logistic-cockpit-a-new-deal-overshadowed-by-the-old-fashioned-lis
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    Thnaks
    Sa

Maybe you are looking for

  • Itunes will not recognize Ipod Touch

    Ok, so I tried to install Itunes 8 when it first released the other day. I received the BSOD, I ended up reverting back to the last known working configuration for windows. So back to Itunes 7.7.1 or whatever. Plugged my Touch in, and it would not re

  • Weblogic admin server error.

    Hi Team, I am trying to started weblogic admin server from windows i am getting below error from admin server logs. but I am able to start weblogic from the command prompt. I verified classpath are same in command prompt and windows services and Node

  • Overloading Custom services in CAPI

    When trying to overload a custom service for a CAPI I'm not able to set the implementation name to the same value as the implementation name of the function to be overloaded (the short name and name are different of course, also parameters are differ

  • Adobe flash script error

    Post Author: JSA CA Forum: Xcelsius and Live Office In trying to update a model I have updated many times before, I am running into an error message alerting me to a slow Adobe script and prompting me to abort the script, or ignore and continue.  The

  • Nexus 3548 6.0(2)A1(1) within Prime Infrastructure 2.0

    Hi there, I am trying to introduce some Nexus 3548 in my Prime Infrastructure 2.0. For my 3048 running 6.0(2)U1(1a), no problem, they are discovered well and showing no error in the Device Work Center. My 3548 are unrecognised (NXOS 6 too). Is this a