Delta field for LO Extractor Datasources
Hi All,
Can anyone tell me how to find the delta field for LO Extractor. Because currently i am facing some problem in Delta like, if i do any changes in sales order in Item Level those changes are not reflected in RSA7. And the next change if i do it in header level i cld see the change along with my previos change being displayed. Problem is i dont find as seperate record for my changes in ITEM level.
Ex. x 3040404 001 oooo ppppp oooo hhhh kkkk
3040404 001 oooo bbbbb oooo hhhh kkkk - this is for header level chnage
Item level chnage: Not shown as seperate records
Next header change displayed properly as above.
Pls advise me this is a very urgent issue.
Thanks.
Bhu.
Hi Nagesh,
Thanks for your reply.
Onething to tell is i am handling diff clients. All my clients r using 3.5 except this client. Very Unfortunate. They r using 2.1c. Its long back i used this version
In LBWE i found they have only one update type i.e V3 update.
I have checked SM13 also. There is one update records for each change in header level data. Also this time i found when i change Route i found one update record. But not when i change Schedule line date.
Pls let me know if u need any further info. Anyideas welcome.
Cheers!
Bhuvana.
Similar Messages
-
How can I know the delta field for CO-PA datasource?
Hi,folks:
How can I know which is the field assigned as the delta field for CO-PA datasource,as is noticed in the note that after PI2004 the logic has been turned to general datasource,but I can't find the datasource through RSO2.
Full points will be given to u.
Martin XieDear Martin,
The CO-PA DataSources generated use a separate time stamp method for the delta procedure. This procedure means that client-independent DataSources in CO-PA are normally restricted to the clients in which they were generated.
See this link...
http://help.sap.com/saphelp_erp2005vp/helpdata/en/97/6f4d40cef71059e10000000a155106/frameset.htm
Also check ROOSOURCE in R3, asmentioned by Dinesh.
Hope it helps. -
Delta Field for CRM Datasources
Dear All,
I am using the CRM datasources such as
0CRM_SRV_PROCESS_H
0CRM_SRV_PROCESS_I
0CRM_SRV_CONFIRM_H
0CRM_SRV_CONFIRM_I.
I just want to know the delta for this datasources.. Please suggest.
Thanks,
Siva.Hi,
Thanks for the quick reply..
I have checked the table and find the field called "Delta". It is specified as
AIMD -After-Images with Deletion Flag Via Delta Queue (e.g. BtB)
I just want to know what is the delta field for this datasource.
Thanks in advance.
Thanks,
Siva. -
Reg : delta field for vbbe table while creating generic extractor
hi
i want to know which field should i use to do delta from vbbe table.
do i have to ask my functional consultant for what field should ibe using or
should i decide on my own
your answer would be defintely rewarded
thanks a lot
pallaviHi,
I would suggest you to create a new sales document and try to find out how does it the new entry is entered in VBUK, VBUP, VBEP and VBBE tables. Also, try to change / modify and delete existing record and see the changes in the table. You need to check which date fields or any deletion indicator is set / modified or not. Do all this one by one and see the changes in the tables. Also, all these changes will be logged in change log table such as CDHDR and CDPOS. This will have all the history of changes for one sales document. Once you identify all this then it will be very easy for you to identify the delta fields. The other way is to speak to functional consultant and ask him how all these tables are affected when you change / modify / add / delete records.
Hope this helps.
PB -
How to select this field for the extractor?
Hi Gurus, I hope you are fine!
I need to extract the field PRED_OPPT_GUID form the Data source 0CRM_SRV_CONTRACT_H inside CRM system.
If I go inside CRM to:
Transaction SBIW -> Settings for BW Adapter -> Maintain DataSource and Enhance BW Adapter Metadata ->
tipe "0CRM_SRV_CONTRACT_H" and press change buttom -> Mapping TAB
there I can see the field I need "PRED_OPPT_GUID" but this is not selected at the "BW Selection" Column , I guess this is the cause why I am not receiving this field from the extractor, Am I right?
If yes, How can I select this field for the "BW Selection" Column? (the system does not allow me to click it directly)
if not, what is the proper procedure if I need to extract this field ? because this is the key field for the DSO
" Service Orders: Header Data "
ThanksThis is what i can see inside the ROOSFIELD table:
Filtered by data source = 0CRM_SRV_PROCESS_H
Comparison with another field:
BILL_TO_PARTY (working properly) columns: SELECTION = X NOTEXREL= Y
PRED_OPPT_GUID (Not working) columns: SELECTION = (Empty) NOTEXREL= Y
I think that if I try to change the Selection field to X it will cause inconsistencies with the SMOXRELP table am I right ?
I tried to change using the system and not directly into the tables, but thaere was an inconsitecie between these 2 tables.
Why is no able this field taking into account that this is the KEY FIELD inside the standard DSO? it has no sense to me.
What do you think?
regards. -
Delta extraction for COPA generic datasource
Hi,
I have created generic datasource for COPA with timestamp as delta.I have initialized the delta in BW and was able to extract the same number of records which I had in RSA3.To test the delta created couple of records and when tried to extract it was giving me 0 records with Info doc status 8 in the status tab.The processing is red and it does not drop down. I checked in the the roosource table in R3 and it shows delta process as AIE and safety interval is 120 for the timestamp(will change it later).The safety interval is just 120 seconds. One more thing is when I initialized the delta on the R3 side in RSA7 I can find my datasource but under the status tab it shows some other datasource and also the delta field and current status are empty. So do u think I have to add the UPMOD field to my generic datasource or any of your suggestions for creating delta are welcome.
Regards,
Kal -
Delta field for Data Source 0BP_RELATIONS_ATTR
Hi Experts,
I need to know how to find which field is Delta enabled for standard Data Sources.
In my requrement for Data Source 0BP_RELATIONS_ATTR.
As the Data Source is being accessed by BODS sysetm and they need to know the Delta field to extract delta.
Thanks
BasheerHello,
Are you using Crystal Reports? If not I believe you should be posting your question to one of the Classic SAP forums:
http://forums.sdn.sap.com/index.jspa#45
Please mark as answered also.
Thank you
Don -
Delta update for the extractor 0FC_PAY.
Dear Friends,
I replicated the SAP ISU FICA extractors 0FC_PAY. However when i am trying the delta update it shows an error:
Error Message: 'Delta-Extraction for payments is not active'.
Please Help.
sinha_sdid you check the world wide web?
http://help.sap.com/saphelp_tm70/helpdata/en/6a/e8f2f0d32243fcb986e905a3d6b087/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/5d/5dafbea009436eb019bc863a74a004/content.htm -
Time Stamp Delta field for Generic Data Source
Hi Experts,
I have a requirement to create a Generic Data Source based on view. This view on PA0006 and PA0105 tables.
Will you please suggest me which field i have to take as delta field.
Thanks In Advance.Also, make sure that whenever a new record is created in those tables, field AEDTM is getting updated with system date else you will miss new records in delta unless there is a change in those newly created records.
Regards,
Gaurav -
Hi All,
I am looking for some field for Time and labour based 0PT_C01cube .In reports I need to have Shift (day or night) and absence type as well.
Can someone help me to get the mapping for this field from R/3 to BW if exists else I will have to go for enhancing the Extract structure.
Thanks in advance with commitment to assign helpful replies.
Regards,
JohnHi john,
previously there is one data source for your information field.
check that 1
http://help.sap.com/saphelp_nw70/helpdata/en/56/8acb3999616b2ee10000000a11402f/frameset.htm
now that is split in to two
check the following data source
1.CA_TS_IS_1
and that link
http://help.sap.com/saphelp_nw70/helpdata/en/c7/565f3ce4dd3370e10000000a114084/frameset.htm
2.2LIS_08TRTS
and the link
http://help.sap.com/saphelp_nw70/helpdata/en/86/1f5f3c0fdea575e10000000a114084/frameset.htm
hope this help you
happy new year 2008
regards
harikrishna N -
Delta extraction for a generic datasource
Hi BWers,
I want put in Delta the extraction of a generic datasource.
Currently this generic datasource is based on the table VBPA (Sales Document: Partner). Any time field exists.
We need a time field in order to converse to a Delta extraction. This time field exists in the table VBAP (Sales Document: Item data). In fact two time fields exist: one which is filled at the creation of the sales order (ERDAT), another at the change of the sales order (AEDAT).
The fields VBELN, POSNR and MANDT are keys in the tables VBAP and VBPA.
The table VBAP changes when partner functions is created or changed in a sales order (VBELN) :
- When it is a creation of a new sales order (with new partner functions), a new record is created in VBAP and the field ERDAT (Created on) is filled. The field AEDAT (Changed on) is empty.
- When is a change of an existing sales order, the corresponding record in VBAP changed, and the field AEDAT is filled. ERDAT stays unchanged.
In order to converse to the Delta extraction, i need a only one time-field (calendar day) in RSO2 / Generic Delta.
But there is 2 time-fields ERDAT and AEDAT. So i just need to get AEDAT if it is filled, else if AEDAT is empty I will get ERDAT.
I would base my datasource on a view between VBPA and VBAP with one field which will be filled by AEDAT or ERDAT (with the conditions below). But it seems it is not possible.
Can you give me other ideas ?
Thanks a lot.
Cheers,
Vince.In order to create a generic delta from two source fields, ERDAT and AEDAT in this case, you're going to have to create your generic extractor from a Function Module. Otherwise you'll only have the standard functionality available to you for creating the generic delta, which allows you to base it on only one column.
Here's a sample you can use, that was created for VBFA, and change for your DataSource.
FUNCTION y_docu_flow.
*"*"Local interface:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
*" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
*" VALUE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
*" VALUE(I_REMOTE_CALL) TYPE SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
*" TABLES
*" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
*" E_T_DATA STRUCTURE YSDS_DOCU_FLOW OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
*& Global Data Declarations
* Type for VBFA Data
TYPES : BEGIN OF ty_vbfa ,
mandt TYPE vbfa-mandt ,
vbelv TYPE vbfa-vbelv ,
posnv TYPE vbfa-posnv ,
vbeln TYPE vbfa-vbeln ,
posnn TYPE vbfa-posnn ,
vbtyp_n TYPE vbfa-vbtyp_n ,
rfmng TYPE vbfa-rfmng ,
meins TYPE vbfa-meins ,
rfwrt TYPE vbfa-rfwrt ,
waers TYPE vbfa-waers ,
vbtyp_v TYPE vbfa-vbtyp_v ,
plmin TYPE vbfa-plmin ,
erdat TYPE vbfa-erdat ,
aedat TYPE vbfa-aedat ,
END OF ty_vbfa .
* Internal Tables and Selection Criteria Structure
DATA : t_vbfa TYPE STANDARD TABLE OF ty_vbfa ,
l_s_select TYPE srsc_s_select .
* Field Symbols
FIELD-SYMBOLS : <fs_fields> TYPE rsfieldsel.
* Constants
CONSTANTS : c_error_msgty TYPE rslogparms-msgty VALUE 'E' ,
c_error_msgid TYPE rslogparms-msgid VALUE 'YAERO_WTY_VSR',
c_error_msgv1 TYPE rslogparms-msgv1 VALUE ' MESSAGE_V1 ' ,
c_error_msgv2 TYPE rslogparms-msgv1 VALUE ' MESSAGE_V2 ' ,
c_error_msgv3 TYPE rslogparms-msgv1 VALUE ' MESSAGE_V3 ' ,
c_error_msgv4 TYPE rslogparms-msgv1 VALUE ' MESSAGE_V4 ' ,
c_error_msgno TYPE rslogparms-msgno VALUE 999 ,
c_alias(2) TYPE c VALUE 'A~' ,
c_vbfa TYPE dntab-tabname VALUE 'VBFA' .
* Maximum Database Lines, Data Package Counter and Cursor
STATICS : s_s_if TYPE srsc_s_if_simple ,
s_counter_datapakid TYPE sy-tabix ,
s_cursor TYPE cursor .
* Select Ranges
RANGES : r_erdat FOR vbfa-erdat ,
r_aedat FOR vbfa-aedat ,
r_vbelv FOR vbfa-vbelv ,
r_posnv FOR vbfa-posnv ,
r_vbeln FOR vbfa-vbeln ,
r_posnn FOR vbfa-posnn .
*& Processing Logic
* Refresh Internal Table and Clear work area
REFRESH: t_vbfa ,
e_t_data .
* Check the Extraction Mode (Delta Initialization Or Delta)
IF i_initflag EQ sbiwa_c_flag_on.
* Determine DataSource Validity
IF i_dsource NE 'YSDDS_DOCU_FLOW'.
* Call Function to Write Log
CALL FUNCTION 'RSAL_LOG_WRITE'
EXPORTING
i_msgty = c_error_msgty
i_msgid = c_error_msgid
i_msgno = c_error_msgno
i_msgv1 = c_error_msgv1
i_msgv2 = c_error_msgv2
i_msgv3 = c_error_msgv3
i_msgv4 = c_error_msgv4.
* Raise Exception
RAISE error_passed_to_mess_handler.
ENDIF. " IF i_dsource NE 'YSDDS_DOCU_FLOW'.
* Append the Selection Criteria
APPEND LINES OF i_t_select TO s_s_if-t_select.
* Fill parameter buffer for data extraction calls
MOVE : i_requnr TO s_s_if-requnr ,
i_dsource TO s_s_if-dsource ,
i_maxsize TO s_s_if-maxsize .
* Append Fields to be Selected
APPEND LINES OF i_t_fields TO s_s_if-t_fields.
* Add the Alias to Fields
LOOP AT s_s_if-t_fields
ASSIGNING <fs_fields>.
CONCATENATE c_alias
<fs_fields>-fieldnm
INTO <fs_fields>-fieldnm.
CONDENSE <fs_fields>-fieldnm NO-GAPS.
ENDLOOP. " LOOP AT s_s_if-t_fields..
ELSE. " IF i_initflag EQ sbiwa_c_flag_on
* For First Data Package, Open Cursor
IF s_counter_datapakid EQ 0.
* Clear Ranges
CLEAR : r_erdat ,
r_aedat ,
r_vbelv ,
r_posnv ,
r_vbeln ,
r_posnn .
* Fill Selection Ranges
LOOP AT s_s_if-t_select
INTO l_s_select.
* Determine Selection Range Field Name
CASE l_s_select-fieldnm.
* Created On Date
WHEN 'ERDAT'.
MOVE : l_s_select-sign TO r_erdat-sign ,
l_s_select-option TO r_erdat-option ,
l_s_select-low TO r_erdat-low ,
l_s_select-high TO r_erdat-high .
APPEND r_erdat.
* Fill the change date too
MOVE r_erdat[] TO r_aedat[].
* Predecessor Document Number
WHEN 'VBELV'.
MOVE : l_s_select-sign TO r_vbelv-sign ,
l_s_select-option TO r_vbelv-option ,
l_s_select-low TO r_vbelv-low ,
l_s_select-high TO r_vbelv-high .
APPEND r_vbelv.
* Predecessor Document Line Item
WHEN 'POSNV'.
MOVE : l_s_select-sign TO r_posnv-sign ,
l_s_select-option TO r_posnv-option ,
l_s_select-low TO r_posnv-low ,
l_s_select-high TO r_posnv-high .
APPEND r_posnv.
* Successor Document Number
WHEN 'VBELN'.
MOVE : l_s_select-sign TO r_vbeln-sign ,
l_s_select-option TO r_vbeln-option ,
l_s_select-low TO r_vbeln-low ,
l_s_select-high TO r_vbeln-high .
APPEND r_vbeln.
* Successor Document Line Item
WHEN 'POSNN'.
MOVE : l_s_select-sign TO r_posnn-sign ,
l_s_select-option TO r_posnn-option ,
l_s_select-low TO r_posnn-low ,
l_s_select-high TO r_posnn-high .
APPEND r_posnn.
ENDCASE. " CASE l_s_select-fieldnm.
ENDLOOP. " LOOP AT s_s_if-t_select..
* Open Cursor on View to Fetch data
* If full load with Selection on Fiscal Year
IF r_aedat[] IS INITIAL.
* Full Extraction
OPEN CURSOR
WITH HOLD s_cursor FOR
SELECT (s_s_if-t_fields)
FROM vbfa AS a
JOIN pnwtyv AS b
ON a~vbelv EQ b~sdvbeln
WHERE a~vbelv IN r_vbelv
AND a~posnv IN r_posnv
AND a~vbeln IN r_vbeln
AND a~posnn IN r_posnn
AND a~rfmng NE 0
AND a~erdat IN r_erdat
AND b~sdvbeln NE space.
ELSE.
* Delta Extraction Using ERDAT and AEDAT
OPEN CURSOR
WITH HOLD s_cursor FOR
SELECT (s_s_if-t_fields)
FROM vbfa AS a
JOIN pnwtyv AS b
ON a~vbelv EQ b~sdvbeln
WHERE a~vbelv IN r_vbelv
AND a~posnv IN r_posnv
AND a~vbeln IN r_vbeln
AND a~posnn IN r_posnn
AND a~rfmng NE 0
AND ( a~erdat IN r_erdat
OR a~aedat IN r_aedat )
AND b~sdvbeln NE space.
ENDIF. " IF r_aedat[] IS INITIAL
ENDIF. " IF s_counter_datapakid..
* Fetch Records into Interface Table
FETCH NEXT CURSOR s_cursor
APPENDING CORRESPONDING FIELDS
OF TABLE t_vbfa
PACKAGE SIZE s_s_if-maxsize.
* No More Data, Raise Exception
IF sy-subrc NE 0.
* Close the Cursor
CLOSE CURSOR s_cursor.
* Raise Exception
RAISE no_more_data.
ELSE.
* Move Extracted Data to Output Structure
MOVE t_vbfa[] TO e_t_data[].
* Release Memory
FREE t_vbfa.
* Sort Output Structure
SORT e_t_data BY vbelv
posnv
vbeln
posnn
vbtyp_n.
* Delete Duplicate Records from Output Structure
DELETE ADJACENT DUPLICATES
FROM e_t_data
COMPARING vbelv
posnv
vbeln
posnn
vbtyp_n.
* Increment Data Package Number
s_counter_datapakid = s_counter_datapakid + 1.
ENDIF. " IF sy-subrc NE 0
ENDIF. " IF i_initflag EQ sbiwa_c_flag_on
ENDFUNCTION.
Edited by: Dennis Scoville on Jul 16, 2009 8:29 AM
Edited by: Dennis Scoville on Jul 16, 2009 8:29 AM -
Delta field for generic data source based on view EKBE
Hello,
I am creating a generic datasource based on table EKBE. Can anyone please tell me what field should I use for delta. Is it BUDAT(Posting Date in the Document) or CPUDT(Day On Which Accounting Document Was Entered).
Thanks for the help.
PraveenHello Ajeet Singh,
Thank you very much for the reply.
I will go ahead with CPUDT.
BUDAT is the date which can be changed. I can change the date in system and chances are it will not pick in delta.
CPUDT is the date on which document was created/changed.
Thanks,
Praveen -
Delta update for generic extractor ?? Urgent!!!!
Hi All
In my project I am pulling data from 4 R/3 tables... I have created view & then Generic DataSource.
Can a delta update be set-up for the generic extractor based on adds/changes to the R/3 tables?
Thanks & Regards,
Sheetal
Message was edited by:
Sheetal DhoreHi,
Please take a look at the following doc.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d3219af2-0c01-0010-71ac-dbb4356cf4bf
Regards,
® -
How to find Delta Field for 0MATERIAL?
Hi,
In general when we create Generic Data Sources with Delta Updating we give a Delta specific field name,like that how to find which is the field that is used for 0MATERIAL OR 0MAT_SALES,i am not able to find this information using RSA7 transaction.Suggestions to this would be helpful.
Thanks in advance.
Monica.Hi Monica,
You can find the field that tracks the changes to the master data lets say some time stamp or changed date..etc.
Thanks,
Krish -
Zero records in Delta Queue for Non-LO Datasource
Hi,
I have a process chain which loads data daily and last loaded on 5th of this month which is a delta load to DSO, and then I have triggered process chain on 10th and now the process chain got successful but delta is returning zero records. I have gone through the Delta queue monitor, in that the data source is showing 0. what could be the reason for this? The data source is a Generic data source built on View and it is not a LO data source and delta is on timestamp.
Thanks,
Karan.Hi lokesh.
Repair Full delta option it wont distub existing deltas.....
repair full delta put full update indicate request as repair request.
Via the Scheduler menu we can indicate a request with full-update mode as Repair Full Request. This request can be updated into every data target even if the data target already contains data from an initialization run or delta for this Data Source/ source system combination, and has overlapping selection criteria.
Maybe you are looking for
-
Hi, In our project, requirement is such that, customer can create a form definition from UI. He can define all columns for the form, it's datatype, constraints etc. Based on that information, then they can do data entry in that form. So, until runtim
-
No captions in MobileMe gallery?
Is there no way to publish a MobileMe gallery with pics that have captions underneath them? I wrote the captions in the info pane of each pic in iPhoto, but when I published, the captions were not there. I hope I'm missing something, because not bein
-
h:form with W3C validation failure
Hi gurus, I tried to validate my JSF page against W3C validation rules. However, each <h:form> in my page creates a hidden field as: "+<input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id14:j_id15" />+" with same i
-
Hi. I have previously used Screen blend mode to add a set of images on top of another set. The first set (rendered from 3DS Max) were the main image for my animation and the "superimposed" set were rendered from 3DS Max as VRay atmosphere render ele
-
Is there a way to "catch" an integrity constraint in PL/SQL. the integrity constraint that i want to catch is a violation to the foreign key. the error number is ORA-OO291 Regard, Richard