Custom Extractor using FM for Delta Upload
Hi,
I created a Custom Extractor using FM for Full Upload. The requirement now is that it should be able to handle Delta also.
I used the standard FM RSAX_BIW_GET_DATA_SIMPLE to create my Z FM.
Please suggest me the changes I have to make in this to be able to upload Delta also.
Thanks
Nageswara
Hi Mahesh,
You can selectively load from BI side (through Infopackage) and for that you should have those selection field defined as ranges in your FM.
As per my genius friend Sidharth Gupta:
FM RSAX_BIW_GET_DATA_SIMPLE is a funct. Mod having a simple interface in which I_UPDMODE is not used. Actually FM RSAX_BIW_GET_DATA_SIMPLE is used for a full update and uses an F2 extraction method. However through ABAP we can try to make it delta capable like below.
*Declare
DATA I_UPDMODE.
Now to capture delta on AUDAT
I_UPDMODE = u2018 u2018.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'AUDAT'.
MOVE-CORRESPONDING L_S_SELECT TO L_R_AUDAT.
I_UPDMODE = u2018 D u2019.
APPEND L_R_AUDAT.
ENDLOOP.
This code works however is not flexible as you do not use a CASE stmt on I_UPDMODE.
CASE stmt gives more flexibility which is used in FM RSAX_BIW_GET_DATA.
FM RSAX_BIW_GET_DATA is a funct. Mod having a complete interface in which I_UPDMODE is passed to funct mod during its call.FM RSAX_BIW_GET_DATA can be used for all update types and uses an F1 extraction method. However after writing the funct mod the default extraction method is F2 in table ROOSOURCE which needs to b changed to F1 for ur mod to work. This change from F2 to F1 can be done via test abap code.
Part two of that Article is yet to be published so wait for sometime or follow above mentioned approach.
Hope it helps.
Regards,
Ashish
Similar Messages
-
Can a write-optimized DSO be used for Delta upload
Hi,
can any one please answer following..
1. can a write optimized DSO be used for Delta upload?
2. Does industry based content is available in BI Content ?
Thanks&Regards
SatyaHi,
Write-Optimized DataStore does not support the image based delta, it supports request level delta, and you will get brand new delta request for each data load.
Since write-optimized DataStore objects do not have a change log, the system does not create delta (in the sense of a before image and an after image). When you update data into the connected InfoProviders, the system only updates the requests that have not yet been posted.
Write-Optimized Data Store supports request level delta. In order to capture before and after image delta, you must have to post latest request into further targets like Standard DataStore or Infocubes. -
Custom extractors using function modules
Hey all
Does anyone has a document regarding how to <b>Develop Custom extractors using function modules?Step by step method would be great</b>
Also document regarding <b>CTS in BW?</b>
Appreciate it
ThanksHi,
See here:
Generic Extractors
Generic data sources
Generic DS
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
Best regards,
Eugene -
Hello all,
we have created a custom datasource using FM and we have written it pretty much as a copy of this FM 'RSAX_BIW_GET_DATA_SIMPLE'.
we are using this extractor to extract data from one of the HR infotypes. Now how it works with infotypes is suppose you have one record for date 04/01/2011 to 12/31/999 and when you go in to create a new record it will delimit the previous one, so basically if you create a new record today the first record will go as 04/01/2011 to 07/31/2011 and new record will be 08/01/2011 to 12/31/9999.
Now how I am seeing the delat data comeover is I am getting the new record which is created with new dates of 08/01/2011 to 12/31/9999 but the extractor is not fetching the old/changed record of 04/01/2011 to 07/31/9999 so when i load data in DSO I have two records but both of them end on 12/31/999, I have Valid to as part of data fields in DSO so that it can be overwritten but since I am not getting/collecting the changed record the valid to is not changing.
Has any one faced this before and knows how to fix this?
Thanks in advance for your help.Hi Cathy
Check the document for combining two date fields to get the timestamp.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/30aefb04-7043-2c10-8e92-941536eebc79
Now the two dates that you have to consider is the start date(08/01/2011) and the end date (12/31/2011). As per the document the record will be captured based on the change either in start date or end date or both. This way it should capture both records.
Regards
Lalit
Edited by: Lalit Tyagi on Aug 3, 2011 4:41 AM -
RSA7 shows zero records for delta upload of 2LIS_03_BF Datasource
Dear Professionals,
I am having constant issues with inventory management DataSource (2LIS_03_BF). I scheduled delta upload in r3 production using LBWE, keeping in mind that in LBWE there is no options for posting dates, ETC... In RSA3, there are records, but when i check RSA7, it is showing 0 records. What could be the problem. Do i need to do anything/activation anywhere in LBWE or RSA7 to see the records. Please advise.Hi,
Normally there should be a collective run which transfers data from the application-specific queues to the BW delta queue (RSA7), just like this workflow:
MCEX03 queue==> RMBWV03 (Collective run job) ==> RSA7-Delta queue => BW
It is necessary to schedule the job control regularly - see point 3 of SAP Note 505700.
Check also these SAP Notes:
869628 Constant WAITUPDA in SMQ1 and performance optimization
728687 Delta queued: No data in RSA7
527481 tRFC or qRFC calls are not processed
739863 Repairing data in BW
Rgds,
Colum -
Generic Extractor using FM with Delta Logic
Hi,
i want to create a generic extractor with Delta Logic based on a FM.
The extractor works fine for full loads (extractor method "F" or "C"), but delivers no record for the extractor method "D" (Delta). I placed a hard coded break-point in the FM, so that the processing should stop while testing it with TC "rsa3". Using the extractor method "D" the debugger doesn't stop. So it seems, that this FM will not be processed for method "D". What could be wrong?
I tried different ways to create the generic extractor:
First i copied the template "RSAX_BIW_GET_DATA_SIMPLE" and tried to get the information for delta-run by "LOOP AT i_t_select INTO l_s_select WHERE fieldnm = 'DATE_FIELD'." But as the processing for method "D" does not consider the FM, there is no chance to get delta data.
On second try i used the template "RSAX_BIW_GET_DATA" and changed "EXMETHOD" from "F1" to "F2" in table ROOSOURCE for the Data Source. In this case i get information about the Update mode (Parameter i_updmode). But the processing leaves the FM for extractor method "D" out too.
Does anybody know, why the FM is not processed for extractor method "D"?
Is there another way to get delta capable extractors based on FMs?
Thanks for help in advance!Hello
See this blog which uses the same FM with explanation
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
See this forum too
Generic Delta Function Module
Other docs
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
http://help.sap.com/saphelp_nw04/helpdata/en/37/4f3ca8b672a34082ab3085d3c22145/content.htm
Thanks
Chandran -
Custome Extractor using BW Adaptor Framework in CRM
Hi folks,
I have a question regarding the BW adaptor framework in CRM. I understand it can be used to enhance and create copies of standard delivered extractors and I found several posts on the forum around that but can it also be used to create a <b>custom extractors</b> from scratch?
Any insight you can provide will be very much appreciated.
Thanks,
ShahidThis is a generic term that involve:
1. Business Content Delivered by SAP
DataSources delivered within Business Content and those delivered by partners
and
2. Generic DataSources
Them are necessary in every SAP system where you need specific data for whitch there isn't a standard extractor.
The help:
http://help.sap.com/saphelp_nw04/helpdata/en/7a/27bcf087c7464db8b95eaa717b6e6a/frameset.htm -
Getting an error while using BAPI for data upload using FB50
Hi,
Can someone please help with the error below :
To Upload Data Using FB50 , am using 'BAPI_ACC_DOCUMENT_POST' FM
and passing values as
obj_type = REACI
obj_KEY = '$'
obj_sys = t000-logsys
getting errors errors in return as
'Error in document: REACI $ R3_AFRICA
G/L account 2511510 is not defined in chart of accounts CSGP(though the account exists in the COA)
Control indicators for controlling area EU01 do not exist'.(we have not input any indicators)
ThanksControl indicators for controlling area (t-code OKKP ) is a primary configuration before the company is set to production. Here we maintain which sub areas of controlling are activated. Have a look at those settings.
Check the validity of the accounts/cost element in the KA03 to ensure the cost element is valid on the date of transaction.
What is the error message number? -
Hi,
I'm facing a problem using 2LIS_02_SCL: the field MCEKET-WAMNG is not populated during delta extraction (it is populated correctly when I fill setup tables).
I have been told that I should use customer exit EXIT_SAPLEINS_001 in order to fill MCEKET-WAMNG at event ML u2013 delivery, because 2LIS_02_SCL does not takes this event into account (only MA, MB, MC and MD which can be verified in LBWE Events), this field is not passed to BW in delta.
I need help to implement this solution.
An example with ABAP code will appreciated.
M.B.Hi,
May helpful to you
EXIT_SAPLRSAP_001 vs EXIT_SAPLEINS_001
EXIT_SAPLEINS_001
Regards,
Suman -
Procedure for delta upload of material
Hi,
I have done the in itail upload of all the materials from MM to SRM and now I want to replicate the remaining 50 materails which are newly added in MM .Please let me know the procedure for the same and the configs required for the same.
Thanks,
Manu
Edited by: Manu Agrawal on Jan 29, 2009 11:32 AMHi Manu
R3AR2- Create a request and select mara table selection condition
and run this request via R3AR4 and monitor via R3AR3.
I will update you if any delta option down load option is available in r/3 crm* tables.
regards
Muthu -
Custom Greeting Using Phone for Recording (CUCX 9.1.1)
I'm running Unity Connection 9.1.1 and I am attempting to record a custom greeting for one of my users. I accidently punched in the wrong number in the Media Master Control Panel when it prompted me for a number.
I now cannot remove the stupid number to put a new one in.
I have tried removing the user and then importing the user back into the system. The Media Master Control Panel still has the wrong number stored.
How do I change the number so that I can use one of my IP phones to record the greeting?
-MattNice to hear you found a solution by yourself.
However I'd like to mention, that your running into a Bug:
https://tools.cisco.com/bugsearch/bug/CSCue74920
If you experience this bug and are running Java Runtime Environment 7 on your computer, just install JRE 6 and the Pop-up will show as expected.
As a permanent solution you can upgrade your Unity Connection according to the details in the bugs description
cheers
slashdots
https://tools.cisco.com/bugsearch/bug/CSCue74920 -
Hello Everyone
i am srikanth. i would like to know wheather do we have a facility for Delta Upload for flat file. If yes can u please give me the steps.
thanks in advance
srikanthHi Sabrina...thank you for ur help...i did load the data from cube to ods
steps.
1. i generated export data source on the cube
2. i found the name of the cube with prefix 8<infocube name> in the infosource under DM application component.
3. there are already communication structure and transfer rules activated but when i am creating update rules for the ods..i am getting the message 0recordmode missing in the infosource.
4. so i went to infosource and added 0recordmode in communication structure and activated but the transfer rules in yellow colour..there was no object assigned to 0recordmode but still i activated.
5.again i went to ods and created update rules and activated (tis time i didnt get any message about 0recordmode).
6.i created infopackage and loaded.
a)Now my question is without green signal in the transfer rule how data populated into the ods and in your answer you mentioned to create communication structure and transfer rules where in i didnt do anything.
b) will i b facing any problem if i keep loading the data into the ods from cube (in yellow signal) ..is it a correct procedure..plz correct me..thanks in advance -
Delta Upload Problem For 0PM_CO1 Cube
Hi Friends,
I got a problem for Delta Upload.In RSA3 data is O.K and In RSA7 also data is O.k.but the problem is with Delta Upload new records are not comming,i did First initialization,thst is o.k,but why Delta Upload is not comming.
please give me help about this .
Thanks in Advance.Hi Praksh,
this is chava,can you send your mobile no. to my mail id.
Mail:[email protected]
Message was edited by: CHAVA CHAVA -
Negative values in report for delta
Hello,
I am getting negative values for service level report metrics in delta loading, intresting thing is metrics is giving correct values for almost all the order but for around 40 order I am getting -ve values in metrics (i am getting -100 % and correct value should be 100 %, it is for around 40 records only for other records I am getting it correctly), If I do the full initalization again it brings me the correct poistive values but again get some -ve values when I run the new delta loads.
Please give your suggestion on comments on this. I will assign point to all the answers and full point to right answer.
if you need any further information pl let me know
HiteshHello Manga, Kedar and Eric,
Thanks for your quick replies,
Manga, I am checking the orders on r/3 how they were processed thanks for your suggestions
Kedar, yes these are custom extractor using 2lis_11_v_ssl and 2lis_11_vaitm going to ods and then to infocube and I am reporting it on infocube. can you please specify in detail what exactly I should check on extracotr side/ do I need to check at first level ODS anthing specific ??
as these metrics calculation are done using RKFs and CKFs in query designer and those all are correct.
Pl advise
Any other suggestions/ comments are most welcome
Note: I have assigned points to all the answers
Hitesh
Message was edited by: Hitesh Asknani
Message was edited by: Hitesh Asknani -
Filter Delta Upload from CRM into R3
Hi SAP gurus,
How can i set the filter for delta upload from CRM into R3? As far as i know, the filter settings in R3AC1 is only applicable for data exchange from the source system R3. What if i would like to filter the data where the source is CRM instead? Did i miss out anything in the configuration? I have been able to filter data coming from R3, but NOT data from CRM going into R3.
Would appreciate your help on this.
Thanks. Points will be rewarded.Do you set all req.customizing in tr smoeac?
Maybe you are looking for
-
How do I set the number of simultaneous downloads? Per server?
iTunes always tries to download 3 podcasts at once, which leads to timeouts on podcast servers that limit the number of connections. That means I'm either missing episodes or else I need to manually babysit iTunes. Is there a way to set the number of
-
How can I recover my back up data?
I back up data on iTunes (iPhone 5) And I accidentally deleted some files on iTunes and iPhoto folder. (I don't know it is the back up folder) Now I found out that my application are all grey, they don't show the image of the apps. I also imported al
-
Hi I know very little about Flash and must apologise in advance for what may be a very stupid question. I am using Dreamweaver to create a simple website and have used one of the standard Flash buttons from within Dreamweaver itself. After viewing it
-
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing
Hi, I am trying to update an already existing Sales Order through PO Change Inbound 860. When i am performing changes in the line quantity and scheduled ship date with operation code as "Update" then it is successfully updating the Order and also we
-
When deleting a company & associated contacts, display the contacts - Contact Manager
When I delete a company & associated contacts, how would you display the contacts below the compny that I want to delete? When I put this code in the Delete link it displays the active company I want to delete but not the associated contacts. /ConMan