Master Data Source Enhancement

Hi Gurus
I have a table in SAP which has customer, Sales Organization, Distribution Channel, Language (which is in EN always) and Customer Sales Text...
The Customer Sales Text is maintained at Sales Organization and Distribution Channel level..below is the example of one record...
Customer     Sales Org.     Distr. Channel     Lang.   Customer Sales Text
123               01                  01                       EN        Blank (No text here)
123               01                  02                       EN        Blank (No text here)
123               01                  03                       EN        Blank (No text here)
123               01                  04                       EN        Blank (No text here)
123               01                  05                       EN        John Mathwes (Text appears here)
123               01                  06                       EN        Blank (No text here)
so when i pull the data to BI i need to see only one record with Customer and text only (no Sales org and distr. Channel necessary) which has the Customer text value (5th record in above example)..
I created Data source in SAP and pulling the data to BI in DSO with customer and customer text....it's sorting and getting the latest distribution channel record (6th record in above example0
Can yo uplease tell me is there any way that i can get the record which has customer text in it..(any possibilities of writing abap routine in info package) or any data source enhancement with abap code...
can you pelase tell me the abap code that needs to be performed to solve the issue...
Thanks in advance
sailendra

Sort the RESULT_PACKAGE by customer and customer text in the endroutine of your transformation.
After the sort, the record with text for customer will be the last record and it will overwrite the other records in the DSO which has blank values.
Just add the below sort statement in your end routine.
SORT RESULT_PACKAGE[] BY CUSTOMER CUSTOMER_TEXT.
As per the sample records mentioned in your post, after the sort, 5th record will become the last record and this will overwrite the other records which has blank value in the DSO.
--- Thanks...

Similar Messages

  • Need information about Master data source Enhancement

    Hi Frnds,
    standard Datasource for GL account attributes needs to be enhanced .
    0GL_account_attr is build on SKA1 table basically .
    in my case this basic table is added with 2 new fields which are needs to added to standard datasource.
    DS>BIW_SKA1( extract structure)>DB view-->built on SKA1 table.
    kinldy provide your inputs how to enhance this DS.
    Thanks
    Ravinder

    Hi,
    Go to RSA6, find your datasource. From the datasource, find the extract structure.
    Go to SE11, give your extract structure, Click on Display,.
    Click on Append structure. Give the structure name starts with ZA.. or if any structure exits, use that structure.
    Add your fields to the structure and activate it.
    Remember the enhanced fields should not be hidden. you can make this change of your datasource in RSA6.
    To develop the code for this, you have to create a project in CMOD. If the project is already created with the assignment of enhancement RSAP0001, then go to SE37, give EXIT_SAPLRSAP_002 (For attributes), click on display.
    Inside this, include ZX... is available. Click on this and develop your code.
    After this, go to RSA3, give the datasource name and check the data for the enhanced fields.
    Hope this helps,
    Regards,
    Rama Murthy.

  • Data source enhancement thru function module

    Folks,
    I am trying to figure relation between data source enhancement, package, function module etc?
    I see a function module where enhancement is done. when I go and try to see master data exit EXIT_SAPLRSAP_0002 ... I see include but I do not see reference of function module in this include?
    All these codes are so simple... but I am struggling to figure out all these relation RSAP0001, exit_saplrsap* - include inside and function module attached?
    Can somebody give very simple connection for all these components?
    Thanks,
    -SM

    Hi,
    All these codes are so simple... but I am struggling to figure out all these relation RSAP0001, exit_saplrsap - include inside and* function module attached?
    Please note that for enhancing certain standard objects for meet customer needs, SAP provides different customer exits where we can code as per our requirements.
    These customer exits starting with EXIT********* will be grouped by Enhancements e.g. RSAP0001
    Thanks for your response. In RS02 it is clear that we can mention function module name for data source - that is good for generic extraction. But what do we do when we are enhancing SAP extractor?
    When you want to enhance SAP extractors, you go for customer exits.
    EXIT_SAPLRSAP_001              for Transactional datasources
    EXIT_SAPLRSAP_002              for Master datasources
    EXIT_SAPLRSAP_003              for Text datasources
    EXIT_SAPLRSAP_004              for Hierarchy datasources
    in se37 screen in table tab - sometime we see extract structure - that will establish which functional being called for which data source, but in my case - I do not see anything in table tab?
    If your datasource is function module based, then the function module which is mentioned in RSO2 for your datasource would surely have e_t_data in tables tab with its associated type.
    Only if the datasource is standard one and is processed by function module e.g. 2lis_18_i0notif which is processed by MCEX_BW_LO_API function module, these would not have associated type mentioned for them. To get their structure, you can go to RSA5/ RSA6

  • Data source Enhancement with Function Module

    Hi all!
    I have a requirement like I have to enhance my Generic Data source.
    Let me make it clear!
    I have 10 field in R/3 which I am able to get into extract structure using Generic Data Source on the corresponding Table.
    I have another field on my extract structure, say ZEXMFLD1 which is updated by a function module ZZ_FUNC_MODULE_SAMPLE.
    I came to know that Data source Enhancement can be done, but don't know how.
    Request your guidance in this. Can u please let me know how I can achieve this?
    Thanks,
    Sri

    Hi Sri,
    You can enhance generic datasources also.
    For that you have to use below function modules based on your datasource type.
    EXIT_SAPLRSAP_001  - Transactiona data
    EXIT_SAPLRSAP_002  - Master
    EXIT_SAPLRSAP_003  - text
    EXIT_SAPLRSAP_004  - Hier
    First check in CMOD(TCODE) whether component RSAP0001 is assigned to any project. If it is not assigned to any project(fresh system), assign it to a project by creating it.
    Ex. ZBW. If it is already assigned, go SE37.
    For transaction data go to function module EXIT_SAPLRSAP_001(Trans data) and start your logic.
    CASE i_datasource.
    WHEN 'your data source name'.
    call you Function module  -  CALL  'ZZ_FUNC_MODULE_SAMPLE'.
    pass the imported value from above FM to c_t_data.
    close case with ENDCASE.
    Let me know if you need more info.
    - Kalyan.

  • How to find active master data source in the bw system

    Hi
    Can anyone guide me how to find the active master data source in the bw system

    Hi,
        You can use the table ROOSOURCE. The field ROOSTYPE specifies the type of datasource whether Transaction or attributes or text. You could write an abap program to filter the table and give you only master data datasources.
    Assign points if helpful
    Regards.

  • Data source Enhancement for Sales Item

    Dear SDN Mates,
    We are enhancing the data source 2LIS_11_VAITM, when i try to enchance extraction structure it is not allowing to enhance. Showing a message :"2LIS_11_VAITM does not allow enhancing or append structure"
    Mates if you came across these difficulties please let me know and suggest any ideas.
    Thanks and Regards
    Arun S

    Hi,
    Have a look at these links:
    [SAP BW Data Source Enhancement|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/302d4b15-5847-2a10-93bb-9c45d9f06b16]
    [Data Source Enhancement|Data source Enhancement Code Samples;
    Hope it helps...
    Regards,
    Ashish
    Edited by: Ashish Tewari on May 11, 2009 12:16 PM

  • Data Source Enhancement for 2LIS_06_INV

    Hi BW Experts,
                  We got a requirement. We have to work on Data Source Enhancement.
    2LIS_06_INV is a LO Data Source. 3 extra fields required in existing Data Source.
    That 3 Fields are available in single Table only.
                 I never worked on Data Source Enhancement.
    Please can anyone tell me the steps.
    I have read the forums but i did not understand it.
    Thanks in advance
    Regards,
    Anjali

    hi anjali,
    Every organisation has different structures so, the standard structure dosnt fit for all, in this situation u need to go for enhancement. based on your need u have add some field to std structure.
    Check out this link...this z the best pdf for enhancing data source....
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46
    pdf 'enhancements in sap bw' with steps
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5
    Enhancement
    User exit
    hope it helps...

  • Master Data source for sales district or Region in CRM

    Dear All,
    Please let me know the Master Data source for sales district or Region in CRM.
    Thanks
    Regards,
    Sai

    Hi Tiest,
    Thanx for responding.
    U r right, our clint is upgrading from 4.6 to ECC.
    So as per the clients requirements, we are maintaining all the configs for Services in CRM.
    Services Data which was in 4.6 is being pulled put on flat files which needs to be loaded in CRM. So middleware would not be able to do this.
    What I am looking os some standard upload program.
    LSMW recording does not work.
    This I-Doc "CRMXIF_COND_REC_SLIM_SAVE_M", i am able to load a single record. But I am not able to find , how to make this function for multiple entries.
    IN standard we for loading master data thru I-docs, we map the values to the standard fields which are available in that I-Doc.
    But in this particular i-doc, there is a common field for which I need to define the field name and a field value..
    Till now, I am only able to define just one field name and a field value.
    I want this to word for mutliple entries.
    Hope u get my point.
    Thanx

  • Text not visible for the new fields created for Data Source Enhancement

    Hi .... I am working on Data Source Enhancements. I created few fields and append then to the Data SourceStructure . I also have populated the fields with data. The problem with a field is that I am not getting the text displayed in RSA3 ..Instead I am getting the field name itself.
    Example:
    FieldName       DataElement    Datatype  length  dec           Text
    ZZDOCTY                AUART         CHAR      4         0      Sales Document Type
    ZZNOODL                ZD_NODL     NUMC      1         0      Number of Deliveries
    In the above example the field ZZDOCTY is showing me the description in RSA3 i.e. Sales Document Type whereas the field ZZNOODL is not showing the text. Instead it is directly giving the fieldname ZZNOODL. Is it because of the fact that I created a Data Element for that field ??? and as I did not use the predefined data element as I did for ZZDOCTY???? Please reply me soon.....I need to display the text as "Number of Deliveries"  instead of ZZNOODL........I am working on 7.0.....

    May be the fields are hidden.
    Go to RSA6 select your data source and on the tool bar there will be a pencil butonto change. Click that and at the bottom, you will lots of check boxes.
    You go the field that you have enhanced and see whether the HIDE boxes are checked. If so, uncheck them, save and execute RSA3.
    Ravi Thothadri

  • How to trace master data source (table-field)?

    Hello All,
    Please help, its Urgent!!
    I have the following 4 characteristic requirement in BW from PM/PS module.
    Master data source (format: table-field)
    AFVV-FSAVD - early start date
    AFVV-FSEDD - early finish date
    AFVV-SSAVD - late start date
    AFVV-SSEDD - late finish date
    can anyone tell me the procedure, how to find them in R/3 n if there r any standard business content for the same?
    Thanks in advance,
    JP

    Go to RSA5 Tcode in R/3, under SAP R/3 Application component, you can get PO/PS Components, and under that you can get PO-IO/PS-IO Components, here you can check all the vaialble master data datasources.
    KJ!!!

  • No master data source mainatenance for object

    Dear SDN.
    I want to look for master data for object but it gives message.
    No master data source mainatenance for object.
    What is going on wrong.

    Hi,
    When you are prompted for the infoobject in master data read you shoud give the main characteristic name, not the attribute name(attribute which is there in the data target). It will map the attribute automatically.
    Regards,
    Amruth

  • Which Master data Source is available for the field VBUK-GBSTK (Doc Status)

    Hi
    Which Master data Source (Attr) is available for the field VBUK-GBSTK (Document Status).
    Please help me.
    Thanks
    Mannev.

    Hi
    Thanks for your reply.
    That is Transaction data source. I want master data source.
    Thanks,
    Mannev.

  • Which Master data Source (Attr) is available for the field VBUK-GBSTK

    Hi
    Which Master data Source (Attr) is available for the field VBUK-GBSTK (Document Status).
    Please help me.
    Thanks
    Mannev.

    Hi Mannev.
    I don't think that you will find GBSTK in any master data source. It is however available in 2LIS_11_VASTH.
    Hope it helps.
    BR
    Stefan

  • Data source Enhancement

    HI SDNers,
    I have done data source enhancement with 6 key fig and added those key fig to DSO in DEV and I need to move it to QA. Do I need to delete the data of DSO in QA before move. Do I get any issue with transportation? Actually this is most sencitive data for my client is it possible without deleting data?
    Thanks,
    Swathi

    Hi Swathi,
    You need not delete data from the ODS if you have only added fields to this object. If the no of records in the ODS are more the import of the changes will take a little longer. There should not be any problem.
    Best Regards,
    Murali.

  • Data source enhancement using BADI

    Hi,
    We had a 2LIS_* extractor which is enhanced with ZZ fields.
    I look for the sode in CMOD which i couldn't able to find any
    My assumption is the data source is enhanced using BADI.....As i am not familiar with BADI's how can i create for my data source enhancement code in BADI
    Thanks

    Hi ,
    Not sure on your question.
    Is the Enhancement already done and you want  to check whether it is done in BADI/CMOD.
    Or
    You want to populate the Data using BADI/CMOD.
    In any case you can use CMOD or BADI to populate the data ,the recomendded is BADI which can be created in SE24..you can google for some Docs on its creation and steps to be followed.
    And if tis CMOD you have to create a project and then write the code and for that also there are DOcs avaliable.
    Rgds
    SVU

Maybe you are looking for

  • How do I delete all my data from computer mac?

    how do I delete all my data from computer mac?

  • Color Printing Problems after update dec28/07

    Last night I installed the latest updates for PS CS3 on 2 machines and both machines have the exact same color issues while printing with two different Canon printers. The Problem: Since this last update all images I try in print from 16bit ProPhoto

  • HELP!!!! nano won't display my album artwork!!!

    I just got my nano yesterday, and i decided to put a few album artwork on it, everything worked out pertty well, i went into itunes to to enable artwork display for my nano, and then i applied the artworks onto some songs, but when i play the music o

  • Need to access parent elements in nested for-each loop

    Hi All, I have a xslt mapping requirement in which I am completely stuck. The details are as listed below. Please help! Schema structure is as follows: Root Payload Transaction-123 Loop-LINE Loop-SDPP Segment-FSTT Element-111 Required xslt file struc

  • Eye strain= burning, red/bloodshop, itching eyes after working hours

    I've been working on my macbook everyday for hours and have been experiencing significant eye strain. After a nights sleep, eyes are better. Yet, after working on the computer after a few hours....it comes back. This has never happened before and am