Sales Extractor Enhancement

2LIS_03_VDITM was required to be enhanced to get the VBAP-ZZ_MCF_VOLUME non-standard field.
I enhanced the extractor, but it is not providing the new field. Here is what I did:
1) Extractor was active in LBWE
2) Deleted data structure LBWG component 13
3) I appended the ZZ_MCF_VOLUME field into the MC13VDOITM structure.
4) Created the code for ZXRSAU01 include. Here the code:
data: l_s_MC13VD0ITM like MC13VD0ITM,
l_tabix like sy-tabix.
CASE i_datasource.
  WHEN '2LIS_13_VITM'.
    loop at c_t_data into l_s_MC13VD0ITM.
    l_tabix = sy-tabix.
    select single ZZ_MCF_VOLUME
      from VBAP
      into l_s_MC13VD0ITM-ZZ_MCF_VOLUME
      where VBELN = l_s_MC13VD0ITM-VBELN and
            POSNR = l_s_MC13VD0ITM-POSNR.
    modify c_t_data from l_s_MC13VD0ITM index l_tabix.
endloop.
exit.
endcase.
5) After appending the new field to the structure, I went to LBWE but my new field was not displayed in the list. Any reason?
I run the setup OLI9BW but when test the extraction I dont see the new field.
What I'm doing wrong?

I have just duplicated evrything you have done into my sandbox
As long as the field is not a structure itself - then I have no problems seeing it in RSA6
RSA2
2LIS_13_VDHDR
- double click on MC13VD0HDR
Press button Append structure
Then append new field (eg KUNNR) into
ZAMC13VD0HDR
Activate
Then RSA6 - I can see the field hidden - then change unhide - no problems

Similar Messages

  • Extractor enhancement - 0CRM_SRV_PROCESS_H

    Hi,
         I have a requirement to add some new fileds to this standard FM based CRM extracor '0CRM_SRV_PROCESS_H'.
    Can anyone help me how to proceed with this Specific extractor enhancement?
    It would be great, if you share the Steps to carry the same.
    Thanks..

    Hi:
        The paragraph below was extracted from the paper by C V Vijay Raj (page 20).
    "A Treatise on CRM (ADB) Data Extraction for Business Information Reporting"
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e00b626e-50ac-2d10-8cbc-e23eece7a9b5?QuickLink=index&overridelayout=true
    The document includes some details on the procedure to enhance the DataSource 0CRM_SRV_PROCESS_H.
    The enhancement associated with the CRM data sources, can be classified into the following types, based on the scenarios commonly arising out in an implementation.
    1) Scenario A:
    Additional fields not present in the standard data source (service order header data) but part of the same order object (say additional partner function in the service order header).
    2) Scenario B:
    Additional fields not present in the standard data source (service order header data) but captured as a part of a different order object (say a service contract/info request object which can be a preceding document).
    3) Scenario C:
    Additional fields required to capture extra information along with the order object, say an additional classification of service process in service order.
    Regards,
    Francisco Milán.

  • Condition type in sales order - enhance extractor

    Can anyone help me in enhancing field condition type for sale flow. I need to filter sales orders with condition type 'minimum order surcharge' in BI.
    There is KONP table having condition type field.
    Do I need to enhance VAHDR or VAITM. Please help.
    Thanks

    If orders are to be filtered then both Order Header (VAHDR) and Order Item (VAITM) should be enhanced.
    But I'd strongly recommend not to filter out the orders at the time of extraction/loading (in info-pkg).
    It is better to do the filtering in the report itself.
    Hope this helps.

  • Runtime error in extractor enhancement

    Hi,
    I need to enhance the extractor 0WBS_ELEMT_ATTR with an additional field. The field is a Z field from the table PRPS.
    Now PRPS is a base table for the extractor for this extractor, so simply adding this field into the append structure should suffice.
    However, when I do this the extractor gives the following runtime error:
    Syntax error in program "SAPLPSBW "
    Component called ZZSO already exists.
    The error is in the function call  "e_fname".
    I have found that the same Z field is used in another structure CNCI_PRPS. Could this be leading to the error?
    Please let me know if any of you have any insights as to why this problem might be occurring.
    TIA,
    Amrita

    Hi,
    In my case the problem was caused because the same ZZ Field was used in two structures.
    One for ECC and one for BI. This was causing some interference.
    To solve this I changed the field name in my extract structure to ZZZSO and populated it via a CMOD routine.
    Hope this helps.
    Amrita

  • 0FI_AR_4 Extractor Enhancement without user exit code Question

    Hi
    I have a requirement to enhance 0FI_AR_4 Extractor with below Fields from BSID:
    Field     DataElement
    PRCTR       PRCTR
    VPOS2       NUM06
    VBUND       RASSC
    As per SAP Note: 410799, I am assuming I don't need to write any ABAP code to populate these fields.
    In the extract structure DTFIAR_3 of extractor 0FI_AR_4 Double clicked on the Include CI_BSID.
    It prompted "Structure CI_BSID not available. Create the structure?"
    After entering Access key it created new Structure "CI_BSID".
    I have entered the Component and Component Type values as below:
    Component   Component Type
    YYPRCTR     PRCTR
    YYVPOS2     NUM06
    YYVBUND     RASSC
    1. Please let me know Component and Component Type values and the steps I followed are correct or not?
    2. And I hope I don't need to write the code in the User exit to populate these fields?
    Thanks
    Sree

    Hi,
    For any FI datasource enhancement there are two scenarios :-
    1. All the fields of the customer enhancement in the customer include are available in the read structure BSID
    Then no additional action is required. The fields of the customer enhancement are filled automatically by the datasource from the assigned read structure via "move-corresponding".
    2. Fields of the customer enhancement in the customer include are not contained in the read structure BSID
    In this case you have to program a function module to fill the field of the customer enhancement. To do this, there is a Business Transaction Event available (open FI interface for process 00005021). Create any function module you like and use function module SAMPLE_PROCESS_00005021 as a template for the interface (input parameter, changing parameter).
    Hope this helps.
    Reg,
    Rahul

  • Sales Order Enhancement

    Dear All,
              I want to add new fields to Sales Order header and at the item level as well. could anybody please tell me any user-exit or BADI to add new fields?
    I have searched for userexits and BADI but i am not able to locate and screen enhancement.
    Regards,
    Vikas Madaan

    Hi
    you can use Additional Data A and Additional Data B for screen enhancement in header level
    and the same in Item level

  • Extractor enhancement with user exit RSAP0001

    Hello,
    I am using user exit RSAP0001 to enhance SAP business partner extractors. When I am processing the data pack in function module EXIT_SAPLRSAP_002, is there any chance to get information about the receiving BI system (e.g. logical system name) I am just processing data for?
    The reason why I want to do that is data protection issues. Data is being extracted into different BI systems, but certain fields may only be extracted into some of them. The idea is that I can decide to clear those fields depending on the BI that is requesting the data.
    Kind regards,
    Christoph Reuter

    Hi  Christoph,
    You can make use of the following tables . They contain R/3- BI connection related info.
    T000 ( clients table)  - fields MANDT and LOGSYS of this table give the u2018Client IDsu2019 and u2018Logical 
                                      IDsu2019 of the R/3 system as shown. 
       RSBASIDOC (Assignment of source systems to BI systems incl. IDoc typ) -
                    In this the fields SLOGSYS, RLOGSYS and OBJSTAT correspondingly hold the 
                    logical Id of source system (R/3), Logical ID of the receiver system (BI) and the status of the connection between them ( 0 or  1 meaning active or inactive).
    In addition to these, you can make use of the Function module RFC_READ_TABLE  to read data from a master data table in BI to R/3 system.
    So, by creating a master data object in BI and maintaining a specific key value representing each BI system, you can identify the BI system by reading the value in the master data table in BI into R/3.
    Though the information given here is a bit brief, I hope this helps you
    Edited by: nithin reddy on May 15, 2009 7:43 PM

  • Steps required post extractor enhancement

    Hello Experts,
    What are the steps needed to be carried out after enhancing a LO extractor like 2LIS_02_ITM. for e.g. do I need to do a statistical rebuild of setup tables or something like that. Please explain as I am enhancing a standard datasource for the first time.
    Thanks
    Rishi

    hi,
    hope you might have done adding the fileds and written the codes in CMOD for data populating to addded field.
    once the enhancement is done, delete the LBWq entries,delta queue of this data source.
    if alredy this data source is used and data is loaded, then if that data is no more required then delete all the data in the dataflow of all the target and start doing initialization of setup table and do init loads to all the targets from the enhaced datasource.
    schedule V3 job and chk delta queue have the datasource name.
    Else if the existing data is required and doing load is to be done in new data flow, run the delta loads and clear the delta queue and LBWQ before enhancing the data source.
    hope u might have done the enhancement in development, before moving to production decide either the old data flow is being modified or new data flow is to be done.
    have to replicate the data source after enhancement in all the BW servers after the transport.
    have to map the new fields to the infosource/transformation in the dataflow.
    have to add the new fileds to the target,so have to delete the target content and add the new fields.
    chk the update rule /create the new update rule.
    take extreme care on collection of all the changed objects for transport.
    Check this
    Enhancement
    Enhancements in SAP BW
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5
    Customer Enhancements in SAP NetWeaver BI (Exits, BAdIs and ABAP™ in the SAP NetWeaver BI Back End)
    http://www.sap.com/community/pub/showdetail.epx?itemID=5257
    Ramesh

  • Datasource Extractor Enhancement - Requirement Guidance required

    Hi Friends,
             I received a requirement for enhancing a existing report. When digged down till the extractor(standard) and found tthat these 7 fileds are missing in the extractor itself.
    After discussion with the functional consultant; we identified the source table and fileds for the requirements.
    But there are 4 fields whose text description has been maintained in another table and their technical values are being used in the table we are going to use. I.e., the mater data(Texts) has been maintained seperately.
    When cheked in BI, those master data are not maintained; hence we need take it all the way from ECC.
    1. I would like to know, whether we need create a new extractor(datasource) for master data and take it in to BI; also enhance the existing the std extractor.
    OR
    2. Can we take the master data fields in the existing extractor and use it in BI? If so, how we can show filed as KEY+TEXT in the report?
    Scenario: Filed - ACTIVITY PARTNER
                     Display - KEY + TEXT
    Seeking guidance for understanding better.
    Thanks
    Regards
    Santhosh Kumar N

    Hi,
       My requirement is to display the field as Key+Text in the report. Its a new field to be added. But in the Source system, the technical code and description has been maintained in the same table.
    I need to extract this data in to BI and use it in reporting.
    As you said, we can write a routine to display the two different fields  as 1 filed and displying both Key+Text in the report.
    I have not done this before, Just want to confirm will it be feasible by a routine. Also, which routine should be used? do we have any sample codes of it?
    Sincere Thanks for your valuable information.
    Rgds
    San

  • Adding records in extractor enhancement

    We want to <u>add new records</u> in the extractor exit. We're using the customer enhancement <b>RSAP0001</b> for BW Data Extraction (component/exit <b>EXIT_SAPLRSAP_001</b> for transaction data, include file <b>ZXRSAU01</b>),
    Does anyone know if it is possible to add records to the table <b>C_T_DATA</b> in the exit code without running into problems? We are aiming to implement a split function, but still would like to keep the delta functionality of the business content extractor.
    Thanks for any comments,
    Peter Schenkels.

    Hi Peter,
    technically speaking you can easily do what you want in the the mentioned userexit, but you already anticipate the only issue you have to manage: delta mechanism (and, overall, the right sequence of your delta records...).
    The first problem you have to manage is how to fill STORNO field...about that, take a look to OSS Note 757361 ‘Additional data records in BW when document changed’ for more information on correctly populating the before and after image...but if you don't need any serialization inside your delta package, don't worry about the sequence...
    I suggest you to do a lot of test in order to assure that this enhancement operation doesn't damage your right flow !
    Hope it helps !
    Bye,
    Roberto

  • CRM Sales Extractors.

    Dear all,
    Need your precious suggestions on the followings :
    Extraction of Sales group , sales office , sales organization for a single business partner
    Extraction of Sales Manager -> sales representatives hierarchy if they are maintained in organization strucute with positions. The standard hierarchy gives org units hierarchy.
    Please suggest your thoughts on the same,
    Regards,

    you kind of answered this question yourself... CRM is structured completely different than R/3 (ECC), so you can't assume the extractors for CRM will be similar to the ones for R/3 (ECC)

  • ABAP Code for Extractor Enhancement

    Hi Gurus,
    I enhanced the datasource 0CO-OM_CCA_9. My requirement is to pull the data from COKP (line item table) to COEP (header table). The extract structure will then pull the data from COEP. I wrote an ABAP code but its not working for me. Can you please suggest me some options.
    Thanks,
    Naineesh

    Hi,
    See SAP Help
    http://help.sap.com/saphelp_nw04s/helpdata/en/6e/fe6e420f00d242e10000000a1550b0/content.htm
    See the simple example code, so follow the same.Take ABAPer help.
    CASE i_datasource.
      Data: l_s_data1 LIKE mc13vd0itm,
            l_tabix   LIKE sy-tabix,
      WHEN '2LIS_13_VDITM'.
        LOOP AT c_t_data INTO l_s_data1.
          l_tabix = sy-tabix.
          SELECT SINGLE auart INTO l_s_data1-zzprdtyp FROM vbak
                 WHERE  vbeln  = l_s_data1-aubel.
          IF sy-subrc = 0.
            MODIFY c_t_data FROM l_s_data1 INDEX l_tabix.
          ENDIF.
        ENDLOOP.
    ENDCASE.
    See article on Step by Step Guide to Enhance a Data Source:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00c1f726-1dc2-2c10-f891-ddfbffdb1a46?quicklink=index&overridelayout=true
    Thanks
    Reddy

  • Cmod code for data extractor enhancement

    hi guys  i need some help writing some abap code
    the requirement is to enhance the datasource to show data..i have data like
    1  b  john   etc...
    1  c  john   etc..
    1  d john   etc...
    the data belongs in the same structure. .. the structure has 15 fields and i could append the structure with a new filed to hold the concatenated value of b, c, d.
    i need it to written out in the data source as
    1 line showing
    1  b c d  john   etc.......
    delete the rest of the extra lines..
    any ideas.?

    Hi Amar,
    You can do this in start routine of transformation.
    Create one internal table to hold the target value ie. combination of a b c and d in one field.
    Now you can keep  looping on source package and collect all the similar values as given below.
    create a temporary variable for storing the value of field1 which is holding all 1 values.
    Loop at source_package into wa_package.
    if sy-tabix = 1.
    temp_field1 = wa_package-field1.
    concatenate wa_table-field2 wa_package-field2 into wa_table-field2.
    endif.
    if temp_field1 = wa_package-field1.
    concatenate wa_table-field2 wa_package-field2 into wa_table-field2.
    else.
    append wa_table into it_table.
    clear wa_table.
    wa_table-field2 = wa_package.
    endif.
    endloop.
    Regards,
    Durgesh.
    endloop.

  • Enhance extractor 0VENDOR_ATTR with field LFA1-LFURL?

    Hello,
    is it possible to include the field LFA1-LFURL (Uniform resource locator) in the standard extractors for vendor master data? In RSA5, where you can change 0VENDOR_ATTR, field LFURL is not in the list.
    If it is not possible, is there a simple way to do so, or do I need to build a new custom extractor for that field?
    Thank in advance
    Thomas

    Dear Thomas,
    The enhancement Diego was speaking about is RSAP0001. Actions to be performed in order to enhance the required extractor are:
    1. enhance extract structure;
    2. implement extraction logic for the required extractor using enhancement RSAP0001 so that fields with which you enhanced the extract structure could be populated with data.
    Since you are enhancing extractor for attributes, the function module to be used in this enhancement is EXIT_SAPLRSAP_002.
    Please have a look at this document for an example of standard extractor enhancement:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46
    More detailed information on steps to be taken for standard extractor enhancement can be found in the Enterprise Data Warehousing - Developer's Guide (search through it for RSAP0001):
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/67efb9bb-0601-0010-f7a2-b582e94bcf8a
    Alternatively, you can use BAdI RSU5_SAPI_BADI instead of enhancement RSAP0001 in order to implement data extraction logic for added field (this BAdI is also described in the EDW Developer's Guide mentioned above).
    My regards,
    Vadim

  • Enhancing 0FI_GL_4 with LSTAR (0ACTTYPE)

    Dear Colleagues!
    In my current project the customer needs the field 0ACTTYPE (LSTAR from BSEG table) to be uploaded with the extractor 0FI_GL_4.
    For this to be possible I need to enhance the extractor, right?
    Does any of you have experience with this? I have never done extractor enhancements before, and will really appreciate it if you can tell me the different steps here!
    I will sign points!
    Regards Silje

    Hi!
    I have now succeeded in enhancing the extractor.
    1) I went to RSA6 in R/3 development, found my datasource, stood on it and pressed the pencil-item (cahnga mode).
    2) Inside the extracor i doubleclicked on the extract structure: DTFIGL_4.
    3) In the column Component I wrote Include, and in the column Component Type I wrote CI_BSIS. Then a number of extra objects appeard, thereamongst LSTAR.
    4) I activated and went one step back.
    5) There I went down the list and found LSTAR. The marker was set on the column "Hide". I unmarked it beacouse I don't want this filed to be hidden. Then I activated again and went out.
    6) I checked my extractor in RSA3 and it worked!
    7) I transported my changes to test and Prod (R/3) and replicated my Prod BW.
    Thanks for all help!
    Silje

Maybe you are looking for

  • Scheduled report is failing to be triggered via email in SCOM 2007 R2.

    Hi All, I have this strange issue. I have created a scheduled report from the SCOM reporting. It is a default report which comes in SCOM, It is the Most common alerts available in the Microsoft generic report library. I also have the SMTP server conf

  • Error while updating Opportunity

    We are getting the following error intermittently while updating an Opportunity Method 'SetFieldValue' of business component 'Revenue' (integration component 'Opportunity_Product') for record with search specification '[Integration Id] = "ABSA-3DVH1D

  • No Picture in QT 7.6.4

    I have a WMV I'm trying to open in QT. I have audio but no picture. I can't get a picture in Flip4Mac or Real Player either. I never had a problem before I upgraded to 764. I've even tried using Flip4Mac as a default player to open in QT-still no go.

  • Create a video (flv) portfolio

    I'm trying to create a video portfolio on my website and video demo CD. All of my Flash menus, pages, etc are complete. I'm using Flash 8 and have already edited and compressed all of my video samples into swf linked flv files. (Please excuse any ter

  • HT4561 my mac has OS X 10.5.8 ... how can I update my operating system?

    I have an imac with OS X 10.5.8 and I want to update my iphone which needs the new itunes however I cannot update my itunes until I update my operating system. What are my options?