Enhance Extractor - LUW
Hi Masters,
I have the following situation:
Regarding users needs, I had to add some new fields to a standard extractor.
So I first set this extractor as "Inactive" (LBWE), than I erased it´s entry from RSA7, and after this I erased all LUW´s.
Than, back to LBWE, I just selected the fields I wanted(don´t need to enhance the table) and activated it.
My first question:
1- Do I need to code something (CMOD, etc) in order to get this new fields from R/3?
2- I tested the extractor in RSA3 and it´s returning 0 records, I already populated the structure ... but I see that there are no more LUW´s ... I´m missing something?
Best Regards,
Hugo N.
Hi Hugo,
You did not mentioned that, whether you have enhanced the strucutre by adding
it's own std. filed(s) available in the strucutre..or you have explicitly added the field(s) to the strcutre..
If you have added the filed from the std. strcutre..you need not to do any coding in the extractor progrom, other wise you have write code to populate the fields you have added to your extractor..
coming to the deletion of delta queue will not harm any thing wrong..
once you run initialization run at BW side it will get queued up again..
while enhancing the extractor, you might have deleted the setup tables or asked for deletion of application table setup..so, once you are done with your enahcement - refill the setup tables for that DS and check in the RSA3 this time you would get the data.
Hope this helps..
if useful assign points..
need further info revert...
Cheers,
Pattan.
Similar Messages
-
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
ThomasDear 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 -
Financial Information Management - Extraction with enhanced extractor
Hi,
I've realized an enhancement to the 0FI_AR_4 extractor, the enhancement is inside the ZXRSAU01 exit. I run the extractor from RSA3 and it shows the data correctly.
When I create a job, within FIM, and execute it, the extractor runs, but it returns the information without the enhancement I've realized.
I want to know if there is something else I need to activate in order to FIM to take the enhancement of the extractor or is there something else I need to do.
I'm using FIM 10
ThanksHi.
Thats a good question, as I recently installed FIM for a proof of concept, however I have struggled in understanding its real full use...According to my knowledge, FIM is a front-end web-based tool that is used to transfer data between SAP BW / SAP ERP or a flat-file to SAP BPC or SAP PCM. Its suppose to be an easy to use tool for end-users with no extensive Data Serives or ETL skills/knowledge.
Now in the background, Data Services is used as the ETL tool for extracting, transforming & loading the data from source to target. FIM needs Data Services to function....I am wondering if you cannot just use Data Services alone for this... I don't see why not. However I may be wrong or be missing something...
So I guess further exploration needs to be done on FIM as its not very clear to us all....
Hope this helps i some way... -
Hi All,
I have a requirement to enhance the existing the EIC report in BI. The extractor '0CRM_SRV_PROCESS_H' has to enhanced to obtain the fields from the FM 'CRM_ORDER_READ'. in CRM system For which I am planning to do the following,
1. Enhance the extraction structure in RSA6
2. Check the Extract Structure in BWA1
3. Enhancing the BADI 'CRM_BWA_MFLOW' in Se19 (thru Classic BADI) with New BADI (enhancement Implementation).
4. Activate the new BADI
5. Run Extractor checker in RSA3 and check for the data.
Later in BI replication and enhance the objects in the data flow.
Can anyone confirm on the above are correct and proceed with implementing the same? Since I am new to CRM area and expecting expert guidance on this.
Please do let me know, if the above steps are not correct and need to perform more activities. Also, Please share if any documents/articles for this enhancement.
Thanks...
Regards
SanThe BADi enhancement is done to get the required fields.
Thanks.. -
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.
ThanksIf 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. -
Alright guys,
Looking for quick piece of advice. I have appended an extractor structure, but the fields I have added are still showing as 'hidden'. How do I unhide these, when the 'Datasource:Customer Version' is Display only. I have tried via RSO2 but keep receiving a warning about a this datasource being extracted via a function module.
I have been able to do this before without much difficulty.
Thanks
Scotthi Scott,
i think it's a business content datasource,
try with RSA6, and edit the datasource, remove hidden checkmark for the new added fields.
if not help, try with code, create small program (SE38)
tables ROOSFIELD.
Update ROOSFIELD set SELECTION = 'X' where
OLTPSOURCE = 'your datasource name' and
FIELD = 'fieldname' and objvers = 'A'.
hope this helps. -
Enhance BW Extractor - coding problems
hi gurus
i need to enhance extractor 0customer_attr so that field from KNKK-GRUPP is pulled in along with 0customer_attr extraction
so i enhance the extractor using append and type it in the data element, PROVIDED zzxyzno in the field name and extracted it and UNHIDE it.
now i wrote below code:
GRUPP
DATA: L_S_INFOSTRU LIKE biw_kna1_s.
CASE I_DATASOURCE.
WHEN '0ustomer_attr'.
DATA: biw_kna1_s_data LIKE biw_kna1_s.
LOOP AT C_T_DATA INTO L_S_INFOSTRU.
L_TABIX = SY-TABIX.
biw_kna1_s_data-ZZXYZNO = KNKK-GRUPP
ENDLOOP.
ENDCASE.
but it is still not pulling in values from extractor...
can you please correct my code ???thank u sir
can you please give me the correct code?
what needs to be written in Read **
where read needs to be inserted etc. etc.
if u refering some thread can u please give that thread
or let me know !! -
Enhance BW Extractor -abap coding error
hi gurus
i need to enhance extractor 0customer_attr so that field from KNKK-GRUPP is pulled in along with 0customer_attr extraction
so i enhance the extractor using append and type it in the data element, PROVIDED zzxyzno in the field name
Activated it and UNHIDE it.
now my abap code in CMOD in ZXRSAU01 for EXIT RS*01 DOESNT WORK...
now i wrote below code:
DATA: L_S_INFOSTRU LIKE biw_kna1_s.
CASE I_DATASOURCE.
WHEN '0ustomer_attr'.
DATA: biw_kna1_s_data LIKE biw_kna1_s.
LOOP AT C_T_DATA INTO L_S_INFOSTRU.
L_TABIX = SY-TABIX.
biw_kna1_s_data-ZZXYZNO = KNKK-GRUPP
ENDLOOP.
ENDCASE.
but it is still not pulling in values from extractor...
can you please correct my code ???Try something like
FIELD-SYMBOLS: <customer_attr> TYPE biw_kna1_s.
CASE i_datasource.
WHEN '0CUSTOMER_ATTR'. " Upper case
LOOP AT c_t_data ASSIGNING <customer_attr>.
SELECT grupp INTO <customer_attr>-zzxyzno
FROM knkk UP TO 1 ROWS
WHERE kunnr = <customer_attr>-kunnr.
ENDSELECT. " not whole primary key
ENDLOOP.
ENDCASE.
If performance problems arise ("SELECT in a LOOP"), first fill an internal table with a FOR ALL ENTRIES IN c_t_data in a sorted internal table (kunnr and grupp field, key kunnr) , then in the LOOP use a READ TABLE. (mandatory if you use such exits on big extractions.
Regards,
Raymond -
Help needed in extraction and enhancement
Priya Chowdhary - U posted in a topic " enhancing extractors" that u have made a doc.on this topic for your reference, could u pls forward that to my id- ([email protected])
Eugene - U posted that u have a BW - LO extraction document, could u email me that too. ([email protected])
I have also went thro' roberto's weblog but i cannot understand certain things as i started learning bw a few months back.
P.S: I posted both of these in the respective posts but didn't get a reply as they are closed.
Experts forgive me for this posting.
~rahul.Probably the simplest solution is to use password-based encryption (PBE). See http://java.sun.com/j2se/1.5.0/docs/guide/security/CryptoSpec.html#PBEEx
for an example. -
Data in extractor not coming into BW
Hi
I'm loading 0MATERIAL by giving a material number MATNR selection.
I can see values for that material in RSA3
But when I schedule the infopackage, it says no data found.
I enhanced the 0MATERIAL_ATTR datasource and replicated it in BW.
What am I missing?
Thanks
Anita.Dear Anita Bhogle ,
Enhance extractor
Steps for enhance extractor
) Go to RSA6.
2) Expand all the nodes.
3) Search 0MATERIAL_ATTR . Select your datasource and click the button "Enhance extract structure".
4) Define the structure, assign the development category and activate it.
5) Go to the datasource structure
6) Click append structure and select the newly created structure.
7) Activate the datasource. Make sure you uncheck the necessary column checkboxes (field-only..).
8) Go to SE38 and type ZXRSAU02.
9) Write the logic to fill the newly added fields. Activate it.
10) Test the datasource in RSA3.
take a look
https://websmp201.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700004516062001E
Enhancement
https://forums.sdn.sap.com/click.jspa?messageID=1186449
Re: User exit
rce
Hope it helps
Regards
Bala -
G/L Accounts: Line Items (Direct)
Hi experts,
in BI, we are using VIRTUAL cube G/L Accounts: Line Items, which is based on DTP, using data source 0FI_GL_40. We have enhanced extractor, using user exit, to populate some fields, which have been empty (vendor and customer number on G/L account). Now, extractor is working properly and the fields are populated, also seen in BI report, when using - REPLICATED data (from DSO). But when we use VIRTUAL provider (cube), the fields are empty.
It seems to me like VIRTUAL info providers BASED on DTP "don't go through" user exit. I would like to ask whether this can be handled somehow, so that are fields populated through user exit, will be seen also usin virtual provider, not replicated data.
Thanks in advance.
PeterHello Dennis,
thanks for the tip, your assumption is right, it's regarding 0FIGL_V40 in BI 7.0. Could you please be more detailed, which BW 3.x InfoSource do you mean? Or what exactly has to be done?
The "objects" under this InfoCube are - transformation, datasource (0FI_GL_40) and InfoPackage, that's it. When I check InfoCube Type/Namespace - it is based on Data Transfer Process for DirectAccess, but the checkbox With InfoSource 3.x is not checked..
Thank you in advance for your answer.
Regards,
Peter -
Best way to join information from two datasources??? pls help
Guys Please help in understanding the basics of modelling in terms of best practises in SAP-BI
I have two datasources. One is standard Bussiness content datasources 2LIS_02_ITM ( having PO item level data) and the other is a generic datasource on table EBAN (having PR details). Now all my report requirements are on both PO and PR information.So i need to club these datasources or its corresponding DSO's or its corresponding cubes.
Please suggest the best of the following solutions:
solution 1 and 2
2LIS_02_ITM -
> DSO1 -
> PO cube
Gener Datasourceon EBAN -
> DSO2----
> PR Cube
solution one is to go and build multiprovider joining with PR no in either cubes
solution two is to go and build infoset joining with PR no in either cubes
solution 3
2LIS_02_ITM -
> DSO1 -
> cube
Gener Datasourceon EBAN -
> DSO2
while populating data from DSO1 to cube we lookup on to DSO2 and read the PR data , thus consolidating both PR and PO data in the cube
solution 4
Here i can plan to combine two datasources 2LIS_02_ITM ,Gener Datasourceon EBAN into one infosource.
(2LIS_02_ITM ,Gener Datasource on EBAN)---->infosource->DSO-->cube
solution 5
i can club both PO and PR information at the r/3 side only into a view and build a generic datasource on that... then bring the whole data into one DSO and cube and report on that....
Please do help me guys.... i will award points to all who adds some imp information.Hello Venkata
We use approach
1/2 when we have different data comming fromsource and data amount is huge and lot of transformation is there
3 You can use this approach here but lookup in other ODS is also time consuming also any changes which may be done in future wouldd need corresponding changes in the ODS
4. We should always use infosource even if BI/7 as it provides very much flexibility and scalability...but when u r combining these two DS you need to make sure u r extracting proper record
I dont know if you are talking abt extractor enhancement in this point...i would suggest if no. of field to be enhanced is less than u can go for it...
5. IOfcourse u can create a view but its better to enhance extractor becuae SAP has already provided DS for 2LIS_02_ITM...
We have done the same thing but we were having only 7-8 PR fields ...so we just enhanced the structure.......
Thanks
Tripple k -
How to get the histoical data for newly added field in the cube?
Hi Experts,
I have small doubt on remodeling the infocube.
After adding the characteristic or keyfigure to a cube by using remodeling concept, how can I get the historical data for that particular field.
I have searched in SDN also but I didn't get proper information.
Please excuse me if I posted repeated question.
helpful answer will be awarded with poitns.
Thanks & regards,
Venkat.hi
depending on your customer need you could use the remodelling functionnality but sometimes you have no way to retrieve what you want so another option you should consider is the following:
Advantages
that will cost less effort and guarantee the result.
Drawbacks
data is redondant for a while
space (depending on the volume of historical data)
So here are the steps :
step 1Adjust your extraction process according to the fields you need to add to populate the cube.
step 2 Then create a dso next or even a cube, feed the dso with a full load with the enhanced extractor you adjusted with the new fields in step 1 only once in fact this should be one shot.
step 3 Copy the query to the previous built multi-provider on top of the new historical data from dso and the running live delta cube. Adjust the queries if necessary.
optionnal Then if you want to get rid of the dso or new cube for historical data you could empty the actual one push the data from the new data provider and that's all.
bye
Boujema -
Inventory ZCUBE extracting data from datasource 2LIS_03_BF,
Loading records wrongly:
R/3 side:
Matdoc no PO No. Debit/Credit Indicator Qty Amt
400000065 350000444 S 55 8888
400000077 350000555 H 66 9999
BW side:
Matdoc no PO No. Debit/Credit Indicator Qty Amt
400000065 350000444 H 55- 8888- (wrong)
400000077 350000555 H 66- 9999- (right)
Second record is fine.
User Exit:
I wrote an exit , that shows H records Qty and Amt values in BW side as negative values. If it is S that doest execute the code.
Problem:
Positive values for S , are also showing as negative values in BW side? A very small percentage of data is showing like this for a PO type which starts 35000 series.
Why it is showing 1st records S positive values are showing as negative values in BW side?
Pls help me on this
Cheers,
SrilaxmiHi Roberto,
Thanks for ur help. pls see the code.
Problem S is debit incator : (positive)
for S type :
Whatever record at r/3 side it should as it is.
(Problem is S type is showing error )
for H type :
Whatever record at r/3 side ,should show Negative values for amt and qty only
This exit is maintained in CMOD->Exit_saplrsap01->Code:
R/3 side
Matdocno PO No. Debit/CreditInd. Qty Amt
400000065 350000444 S 55 8888
400000077 350000555 H 66 9999
Matdocno PO No. Debit/CreditInd. Qty Amt
Record1 :
Showing ...
400000065 350000444 H 55- 8888-(wrong)
instead of
400000065 350000444 S 55 8888(Right)
Record2 :
400000077 350000555 H 66 9999 (right)
Modified 14/12/2004 JOhn
*2LIS_03_BF to populate ZZDMBTR and ZZMENGED
Modified 17/01/2005 john
Enhance extractor 2LIS_03_BF to correct ZZDMBTR and ZZMENGED values
for duplicate records and for records which have dmbtr as 0 even if
it is not 0 in MSEG table
loop at c_t_data into l_t_2lis_bf.
clear lt_lcl_shkzg.
l_tabix = sy-tabix.
select single pprctr into l_t_2lis_bf-zzpprctr from mseg
where mblnr = l_t_2lis_bf-mblnr
and mjahr = l_t_2lis_bf-mjahr
and zeile = l_t_2lis_bf-zeile.
Modify the dmbtr value if it is zero in work area and not in mseg
if ( sy-subrc = c_zero ).
if ( l_t_2lis_bf-dmbtr = c_zero ) and ( lt_dmbtr ne c_zero ).
l_t_2lis_bf-dmbtr = lt_dmbtr.
endif.
if ( l_t_2lis_bf-menge = c_zero ) and ( lt_menge ne c_zero ).
l_t_2lis_bf-menge = lt_menge.
endif.
endif.
*Get the Amount in Local Currency into zzdmbtr
l_t_2lis_bf-zzdmbtr = l_t_2lis_bf-dmbtr.
l_t_2lis_bf-zzmenged = l_t_2lis_bf-menge.
*Get the Debit/Credit Value
select single shkzg
from mseg
where mblnr = l_t_2lis_bf-mblnr
and mjahr = l_t_2lis_bf-mjahr
and zeile = l_t_2lis_bf-zeile.
if sy-subrc = c_zero and lt_lcl_shkzg = c_h.
l_t_2lis_bf-zzdmbtr = c_zero - l_t_2lis_bf-zzdmbtr.
endif.
if ( sy-subrc = c_zero and lt_lcl_shkzg = c_h )
or ( l_t_2lis_bf-shkzg = c_h ).
l_t_2lis_bf-zzdmbtr = c_zero - l_t_2lis_bf-zzdmbtr.
l_t_2lis_bf-zzmenged = c_zero - l_t_2lis_bf-zzmenged.
endif.
*Comment start to correct zzdmbtr and zmenge values
if ( sy-subrc = c_zero and lt_lcl_shkzg = c_h )
or ( l_t_2lis_bf-shkzg = c_h ).
l_t_2lis_bf-zzdmbtr = c_zero - l_t_2lis_bf-zzdmbtr.
l_t_2lis_bf-zzmenged = c_zero - l_t_2lis_bf-zzmenged.
if ( lt_lcl_shkzg = c_h ) and ( l_t_2lis_bf-shkzg ne c_h ) .
l_t_2lis_bf-zzdmbtr = c_zero - l_t_2lis_bf-zzdmbtr.
l_t_2lis_bf-zzmenged = c_zero .
endif.
if ( lt_lcl_shkzg ne c_h ) and ( l_t_2lis_bf-shkzg = c_h ) .
l_t_2lis_bf-zzmenged = c_zero .
endif.
endif.
*Comment start for selecting SGTXT value from MSEG
select single sgtxt into l_t_2lis_bf-zzsgtxt from mseg
where mblnr = l_t_2lis_bf-mblnr
and mjahr = l_t_2lis_bf-mjahr
and zeile = l_t_2lis_bf-zeile.
*Comment Ends
modify c_t_data from l_t_2lis_bf index l_tabix.
endloop.
pls help me.
cheers,
Siri. -
Good practice to be followed?
Hi Experts
I have a scenario where i to load sold to party field in FIAR DSO.
I can think of 2 options.
1. Enhance extractor to pull this information from VBAK/VBRK tables from R3 system.
2. populate this in end routine by lookup on COPA DSO.
Which is recomended option and why?
Thanks in advance
Regards
SudeepHi,
I think lookup option would be good as it required less effort.
But for this you should have some key field in both the DSO
so that you can get the relevent record.If you think you can
achive the relevent records by writing a simple logic,then it
is good to got for lookup.Otherwise you can go for another
option.
Thanks,
Saveen Kumar
Edited by: saveen kumar on Dec 15, 2010 10:23 AM
Maybe you are looking for
-
IMovie not recognising Data Video DAC AV/DV converter
I use my DataVideo Dac-1 to capture old VHS family movies. Drop them into iMovie edit and make short DVD's. The system worked a treat with our old G4 and Panther. Have just bought a dual G5 2 Gig machine & iMovie HD. The system is not seeing the DAC
-
Could not complete the liquify command because of a disk error
PSE 13 displays the above message when I try to use the Liquify filter. There are no disk errors on my machine. Other Filters (but not all) also fail to open. Any suggestions please.
-
HELP! I dropped my Macbook Pro Retina - Dents & scratches!
I accidentally dropped it from my bed.. It left a dent at the bottom right corner of my display (where the plastic and unibody meets). On top of that, there is a faint long scratches on the unibody. How much does it cost to fix this? Or what other me
-
Video resolution and dual monitor assistance
Trying to set up a show running on a windows XP Pro PC with dual monitor (ATI HD3870 card) so that videos run using Windows Media Player (or maybe something else if needed?) on the second monitor (actually a large projector). The videos are synchroni
-
I can't find my friends playlist by using there username it doesn't show up. But there account is active. And I want to follow them