Text datasource enhancement

hello guys
I am trying to enhance text datasourcein R3 and got this problem.
I am trying to load texts for infoobject 'material number' fromR3 table MAKT.....I created view on fields MANDT,MATNR,MAKTX (client,material number,material description) and then created generic datasource onthis.now I replicated and loaded texts to Infoobject 'Material Number'  in BW.
Now I want to enhance text datasource in R3 so that I will add field MAKTG (material description in capital letters) from MAKT table...I added append structure in extract structure...then I want to write code in CMOD....Here I choose RSAP0001 enhancement...then EXIT_SAPLRSAP003 for enhancing text datasource...here there is no code provided by SAP...so wrote my own code..and activated and then unchecked 'hide field' ....saved the datasource....nowcame to Extractor Checker RSA3 to check if code is working....I am able to see the new field MAKTG but its not populated..it means my code or my way of doing enhancement is wrong...Can anyone please suggest any solution....
here is my code:
data: l_s_ZOXID30088 like ZOXID30088 ,
       L_TABIX LIKE SY-TABIX.
case I_CHABASNM.
when 'MATNR'.
LOOP AT  C_T_TEXTS INTO L_S_ZOXID30088.
L_TABIX = SY-TABIX.
SELECT SINGLE MAKTG FROM MAKT INTO L_S_ZOXID30088-ZZMAKTG WHERE MATNR =
L_S_ZOXID30088-MATNR..
MODIFY C_T_TEXTS FROM  L_S_ZOXID30088 INDEX L_TABIX .
ENDLOOP.
ENDCASE.
Thanx,
S
Edited by: SChandx200 on Sep 11, 2009 6:37 AM

Hi,
Just check once if the function module EXIT_SAPLRSAP_003 is active...
Becuse after writing code int he include ZXRSAU03 you will have to activate the funciton module...
This has to be done the first time when you implement the include...
If still it doesnt work.. You can put a break point in your code and then debug from RSA3 to chk whey it isnt working...

Similar Messages

  • Text Datasource  EXIT_SAPLRSAP_003

    Hi
    Why cant we write Text datasource enhancement code in EXIT_SAPLRSAP_003
    Please some one suggest me or provide me any SAP help document
    Thanks,
    GL

    Hi,
      EXIT_SAPLRSAP_003 is obselete. You can use EXIT_SAPLRSAP_002 for text datasource enhancement. See OSS note 413539. Also have a look into below link
    http://help.sap.com/saphelp_nw04/helpdata/en/49/ae67401d4988448036b180dc9ec1e6/frameset.htm
    Regards,
    Raghavendra.

  • Can anyone give me a code sample for enhancing a text datasource

    for some reason it's a little different than using the regular transaction to master data user exits.
    Thanks!

    Hi,
    Rarely guys used it.."EXIT_SAPLRSAP_003"
    In one forum, i read that 002 will support the text datasource too..try it and check
    check this:
    Re: Unable to debug user exit in CRM BW  (EXIT_SAPLRSAP)
    EXIT_SAPLRSAP_003

  • Creating BADI for datasource enhancement in CRM system

    Hi,
    I am working on SAP BI/BW. This is the first time I am working in CRM system with CRM datasources. Facing some problem for datasource enhancement as never done it before in the CRM system. Is there anyone who can help in in creating BADI for datasource enhancement in CRM.
    Thanks in advance
    Moumita

    Hi Kushal,
    You can find the BADI name by,
    Go to Transaction SE24
    Enter the Object Type CL_EXITHANDLER and click on Display.
    Double Click on method "GET_INSTANCE".
    Put a Break-point on Call method cl_exithandler=>get_class_name_by_interface
    Run RSA3 transaction and execute the DataSource.
    The execution will stop at the break point.
    Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    Thanks,
    Kokila

  • Creating BADI for datasource enhancement in CRM.

    Hi,
    I am working on SAP BI/BW. This is the first time I am working in CRM system with CRM datasources. Facing some problem for datasource enhancement as never done it before in the CRM system. Is there anyone who can help in in creating BADI for datasource enhancement in CRM.
    Thanks in advance
    Moumita

    Hi Prasad Reddy,
    This are the available badis and exits for this t.code:
    Enhancement/ Business Add-in            Description
    Enhancement
    MGA00001                                Material Master (Industry): Checks and Enhancements
    MGA00002                                Material Master (Industry): Number Assignment
    MGA00003                                Material Master (Industry and Retail): Number Display
    Business Add-in
    MG_MASS_NEWSEG                          User-Specific Fields & Segments in Mass Maintenance
    MATGRP_SKU_UPD
    CDT_CHECK_MATERIAL                      Checks for Existence of a Material in a CDT
    BADI_MM_MATNR
    BADI_MAT_F_SPEC_SEL                     BAdI for Material Special Field Selection
    BADI_MATNR_CHECK_PVS
    BADI_MATERIAL_REF                       Addition of customer-defined default data for material
    BADI_MATERIAL_OD
    BADI_MATERIAL_CHECK                     Enhanced checks for material master table
    BADI_GTIN_VARIANT
    BADI_EAN_SYSTEMATIC
    o.of Exits:          3
    o.of BADis:         11
    Find the Exact  exits and badis for ur requirement.
    How to fine the exact badi:
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any
    transaction
    Rgds,
    P.Naganjana Reddy
    if you follow this 7 steps, you will find a suitable BADI.

  • Different ways to Datasource Enhancement

    I know DS enhancement can be done through ABAP Statement CASE,ENDCASE,WHEN. I came to know that this is old technique to enhance the datasource as it makes the code quite messy if several developers work on the same code.
    I came across one document on SDN where we create a new program for each datasource which is independent from other enhancement.
    I just want to know how this program works and the difference between this technique and old technique as i have limited ABAP knowledge.
    What are the exact challenges that we come across when we use CASE,ENDCASE,WHEN statements.
    Edited by: Murali K on Jun 1, 2010 6:31 AM

    Hi Murli,
    1) Datasource enhancement previously was done using CMOD Still many organizatins continue with this approach.
    Here you can get option to write code for your appended field in ur Standard datsource where you can write select statements etc.
    2) Now SAP is recommending to Write Codes using BADI .this approach helps to maintain individual implementations for each data source enhancement
    This methods advantage over previous CMOD method is that ,in CMOD a single include will contain all the ABAP coding (this will create problem in marinating the versions for developers).specially while you are transporting the CMOD code to test and prod systems.
    With the new BADI method you can avoid this problem as individual implementations can be transported independently without creating conflicts.
    Thanks and Regards
    Arun

  • How to create generic text datasource to load text data?

    met issue in generic master data load
    Hi,
    please see above link for detail infomation regarding the attribute data load. now the language and description column of the infoobject s_saled is empty. i need to create a generic text datasource to load data from R3 to BW. the table which i use to extract attribute data is VBAK, but i don't find any filed relate to language and description.
    met issue in generic master data load
    can anyone tell me how to load the text data?
    thanks very much.
    Eileen

    hi eileen,
    go to transactio rso2  in your source system ie r/3.
    there u have three three fields for transaction data
                                                    attributes.
                                                     text.
    choose text and proceed as u did for trancsaction data load.
    thank u,
    reward if helpful.

  • Default locale support for texts datasources

    Hi,
    I faced with problem - does BW support default locales ?
    I have some texts datasources which contain some list of entries for default locale. The question is - what value of LANGU field I should setup for  these entries in order to BW recognize them as for default locales ?
    Thanks. I will be apprecated for any related info.
    Fiodar.

    Hi Fiodar,
    well I am not sure about your requirement, but it sounds like you want to add a default value to langu in case the source system doesn't deliver it.
    If this is the case, create a update routine in your transfer rules for 0langu. In the routine add the following coding:
    if tran_structure-spras is initial. "no language specified
    usually the R/3-field is called spras
      result = sy-langu. "or a literal like 'EN' ...
    else.
    pass the given language to the result of the routine.
      result = tran_structure-spras.
    endif.
    That's it.
    In case your datasource doesn't even deliver a field for the language, you can just set a constant value to 0langu in your transfer rules.
    regards
    Siggi

  • Connection to text datasource fails with REP-4100

    I built a Report with text datasource; doing like the "how to" document tells:
    (set up the textpds.conf, attach text datasource to the report)
    I use the file:///&<p_file> user parameter to define the datasource file and location like described in this reports forum
    "Dynamic name for Text Pluggable Data Source".
    Using report builder everything works fine; I can change the location of text datasource via user parameter as I need.
    Porting the report to production environment (unix) and using the rwservlet the Report fails.
    REP-4100: Failed to execute data source
    java.lang.NullPointerException
    Has Anyone an idea how this can resolved?
    Thanks a lot
    Jost

    Just found the solution myself:
    I need to pass the &<p_file> parameter value without "file:///"
    only "C:/myhomedir/text.txt"
    or "/usr/home/myhomedir/x.txt" on unix platform.
    Parameter passing via URL also works.

  • IME API and IME Text Input Enhancement

    Hi All,
    I am presently using Adobe Air 1.5 Framework and i want to update the Air 2 Beta version. Help me in setting the same.
    As in my application, it uses TLF which doesn't supprot IME. But as i came to know the features from AIR 2 Beta it provides.
    Can you help me for the same in implementing the feature "IME API and IME Text Input Enhancement" with some samples or examples.
    Thanks in advacne.
    Krishna

    I do not know what VM is ported on ur Pocket PC? It depends on the MIDP RI [Reference Imlementation] ported specific for each device. for e.g.:- for few pointer/touch screen devices the MIDP RI ported handles both the keypad and the pointer mappings automatically.
    Kindly check out the below link where-in you have list of JVM's that you could port on your pocket PC.
    http://www.comp.lancs.ac.uk/~fittond/ppcjava.html
    Most of the palm or pocket PC's would be ported with CDC/Foundation Profile where you will have JNI support that may help you to develop your own application specific API's using the existing device native libraries provided by the vendor.
    IBM's J9 VM for example supports JNI.
    ~Mohan

  • Full Text Search Enhancements in 2012 / 2014

    We are currently using SQL IFTS 2008 but are considering upgrading to either SQL 2012 or SQL 2014 (leaning towards SQL 2012 as it has a longer track record and more service packs).  What are the sql full text enhancements from:
    2008 to 2012?
    2012 to 2014?
    thanks

    Hi scott_m,
    Please refer to the following articles:
    SQL Server 2012 - Full Text Search Enhancements - Ability to search and filter within document properties:
    http://beyondrelational.com/modules/4/whatisnew/361/features/7090/sql-server-2012-full-text-search-enhancements-ability-to-search-and-filter-within-document-propertie.aspx
    Programmability Enhancements:
    http://technet.microsoft.com/en-us/library/cc645577.aspx
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support
    Elvis, thanks for the info on SQL 2012 full text enhancements.  I didn't see any info for SQL 2014 Full-Text Search.  Do you have any info on SQL 2014 full text enhancements?
    thanks
    scott_m

  • Adding Text datasource

    Hi,
    i have this situation. there exist flat file datasource that  has the option of loading master data, text and hierarchy.
    right now there is only infopackage for loading master data. I have tried right click - create infopackage for loading text but it only gives me the option of master data.
    I do I get this infopackage for loading the text/description.
    thanks

    Hi Bhat,
    For loading Master data Text follow these steps,
    First double click your dataSource(PC file datsource) , in this trasfer Structure---> select the datasource of Text type over there .
    based on this selection your datasource structure has changed like this ID, 0Langu, 0txtsh. Activate your datasource now.
    Now create a new Infopackage for Text data or use your existing infopackage , select the text datasource and load your Master data Text file.
    Note: Assign points if it helps
    Regards,
    Arun.M.D

  • Creating text datasource

    hi
    I have a standart datasource - 0EVENTGROUP_TEXT and created new infoobject in BW ZKVERUA_2.
    I must load the texts for the new IO using this standart datasource:
    1. i tried directly in bw to create infosource that assign to DS 0EVENTGROUP_TEXT  but when try to assign this DS it is not available in the datasources list, eventhough it exsists  in source system and BW as well
    (i tried to activate and replicate.)
    2. i tried in RSO2 to create DS that are with the same extraction mathod :
    Fanctiom module and extract stracture but when saving the new text datasource i'm getting the mesage :
    ZKVERUA_2: TABLES-paramter E_T_DATA for extractor HR_BIW_GET_TEXTS is
    missing
    please advice how can i create infosource to my Z IO that will load texts from the standat DS 0EVENTGROUP_TEXT
    thanks a lot
    Nir

    Hi,
      First the infoobject should be made as infoprovider . In the second tab of the infoobject you will have check box at the bottom
    enable that check box infoobject as infoprovider or dataprovider.. similiar text like that.
    If it is not enabled enable now then you are using direct update method of updating the infoobject.
    Now if you enable this one you are changing to flexible update.
    Now delete the previous source system assignment. Now createa new infosource and assign the datasource to it
    Assign source system and map them and activate it.
    Go to infoprovider tab in RSA1. Search for the infoobject or try insert infoobject as data target.
    Once it is done right click on infoobject and try creating update rules using infosource.
    Once done create a infopackage and load them.
    Hope this helps for you
    Thanks,
    Arun

  • 0GLACCEXT Text Datasource

    Dear Gurus,
    I'm in the process of loading Text Datasource for  Info Objects "0GLACCEXT" , I'm not sure which datasource to select ,
    while going through forums , I've used  the DataSource "0GL_ACCOUNT_TEXT" to load the text data into "0GLACCEXT".
    Is this the right approach ? I'm able to load the data till PSA but when scheduling DTP I'm getting the following error.
    "too many error records , update terminated "
    Please advice.
    Regards,
    -Neha

    Hi Neha,
    I dind't find a datasource to fill the text for InfoObjects "0GLACCEXT". What I found is a thread where it says how i could be loaded.
    [Re: 0GLACCEXT vs 0GL_ACCOUNT - How it is USED?|Re: 0GLACCEXT vs 0GL_ACCOUNT - How it is USED?]
    Here you can find information about hierarchy, maybe you can use the tables from R3 to create a custom extractor to fill the text.:
    [http://help.sap.com/saphelp_nw04/helpdata/EN/64/032de5ff014c4c86bc15272216a5e2/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/EN/64/032de5ff014c4c86bc15272216a5e2/frameset.htm]
    Regards, Federico

  • Language Dependent Text datasource

    I have a language dependent generic text datasource mapped to my language dependent infoobject in BW.  In my source system, I have 68 records; 34 English and 34 French.  I am only pulling 34 English records to BW but not the 34 French records.  In my extractor checker (RSA3), I pull all the 68 records.  Any reason why I am not pulling all the records from the text table.  To reiterate, I have the flag "Texts language dependent" checked in my text infoobject.  What is the reason why I am only pulling 34 English records and NOT all the 68 records?

    1. Check the selections at the Infopackage level whether you are pulling only EN or there is no selection at the language field... in the data selection tab.
    2. Check whether your system is unicode or not? Use RSCPINST program to check the same and also check French language is already installed in your system.. Execute the program, you can see the installed languages in left side and and uniode (*or non unicode at right side).
    3. Also check the program in R/3 system and based on that we can conclude the next step...
    Hope this helps..
    Murali

Maybe you are looking for