Update Master Data records
Hi,
I have to upload records into BW Master Data info objects. When uploading there might be multiple versions of the same record. The latest verison needs to overwrite the existing versions.
For Example when loading data into Instrument Info object:
Instrument Source: Instsrc 1
Instrument Id : Instid 1
Version # : Version 1
This is the first record in the database.
Instrument Source : Instrsrc 1
Instrument Id : Instid 1
Version #: : Version 2
This is the second record in the database.
When uploading data using an infpoackage, second record should overwrite first record. Version # cannot be part of the Instrument infoobject in BW
How do I achive this? Any help deeply appreciated.
Regards
Hi,
We need to load only the latest version into BW . We don't want to store the older versions at all. Is there a setting which we can turn on or a place in BW where we could write the code to update existing records before the data updates the Master data info object.
Regards
arvind
Similar Messages
-
How to UPDATE MASTER DATA RECORD PA0377 using FM HR_INFOTYPE_OPERATION
How to UPDATE MASTER DATA RECORD IN INFOTYPE 0377 DIRECTLY using function module HR_INFOTYPE_OPERATION ? When i use operation = 'MOD' im getting an ERROR as NO DATA STORED FOR 0377 IN SELECTION PERIOD.
Can anyone please help me how to use HR_INFOTYPE_OPERATION to UPDATE MASTER DATA RECORD.
Thanks,
Karthi.Hi,
please check this code
it is very useful
infotypes: 0105.
parameters: p_pernr type p0105-pernr,
p_subty type p0105-subty,
p_begda type p0105-begda,
p_endda type p0105-endda,
p_opera type pspar-actio,
p_usrid type p0105-usrid,
p_commt as checkbox. "Useful only when NO_COMMIT is 'X'
data: w_return type bapireturn1, "Error handling data
w_key type bapipakey, "If record has been created or changed the created/ changed
"record's key (PSKEY) will be populated
v_message type string. "For printing returned messages
call function 'BAPI_EMPLOYEE_ENQUEUE'
exporting
number = p_pernr
importing
return = w_return.
if w_return is initial. "Employee is not locked
p0105-pernr = p_pernr.
p0105-subty =
p0105-usrty = p_subty.
p0105-begda = p_begda.
p0105-endda = p_endda.
p0105-usrid = p_usrid.
*Calls Internally HR_MAINTAIN_MASTERDATA
call function 'HR_INFOTYPE_OPERATION'
exporting
infty = '0105'
number = p_pernr
subtype = p_subty
validityend = p_endda
validitybegin = p_begda
record = p0105
operation = p_opera
dialog_mode = '0'
nocommit = 'X'
importing
return = w_return
key = w_key.
endif.
if w_return is not initial.
message id w_return-id type w_return-type number w_return-number
with w_return-message_v1 w_return-message_v2 w_return-message_v3
w_return-message_v4 into v_message.
case w_return-type.
when 'A' or 'E'.
format color col_negative. write:/ v_message.
when others.
format color col_heading. write:/ v_message.
endcase.
call function 'BAPI_EMPLOYEE_DEQUEUE'
exporting
number = p_pernr.
else.
format color col_positive. write:/ 'Record Updated Successfully.'.
if w_key is not initial.
write:/ 'Key contains',
/ 'Personnel Number:', w_key-employeeno,
/ 'Subtype (absence type):', w_key-subtype,
/ 'Start date of Absence:', w_key-validbegin,
/ 'End date of Absence:', w_key-validend.
endif.
commit work.
endif.
Thanks and regards
durga.K -
IDOC:Master Data Records are not going to be updated after posting the IDOC
I need to create employee Master data records in R/3 .I am using the IDOC HRMD_A07, though the IDOC posting is successful no tables, corresponding to employee master Data are getting updated,
Can anybody plz Let me know the possible reasons and solutions for this?
Thanks in Advance,
Sandhyahi i hecked the job log entries in SM37 in source system, the idocs were returned with '0' records. i took the Idoc number and checked in BD87 it displays some logs in that one node shows the red status with the detail as follow IDoc entries in tRFC queue 3383
the next one is green Data passed to port OK 1
i selected the red staus node and clicked 'process' button but it displays as
The operation cannot be carried out with this node type
wht should i do now, wht may be the reason for the datasource not pulling the data from R/3 to BI? -
Flexible update master data inconsistencies
Dear experts,
I have the following issue with flexible update master data for 0employee.
0employee is getting loaded from 3 different sources. here is the example below;
employee address phone compcode
1 germany 123
1 denmark 001
1 UK
here employee is a key for 0employee what happens to above data after attribute change run.
can any one let me know what will be final results. my requirement is i have to get company code at any circumstances. it there a proper sequence of load to be followed in this case. your inputs is highly appreciated with points.
Cheers,
VSNIf 0employee gets data from 3 different sources it will overwrite the existing records when same employee '1' is coming from Germany , Den , UK .. Only the recent record will be availble in MD tables..
You need to add SOURCESYSTEM as compounding object to 0EMPLOYEE.
Put constant GE for 0SOURCE SYSTEM in transformations
constant Den for 0SOURCE SYSTEM in transformations
constant UK for 0SOURCE SYSTEM in transformations
when you execute MD
Source system ...employee address phone compcode
GE.............................1...................... germany.... 123
Den.............................1...................... Denmark.... 123
UK.............................1......................UK .............. 123 -
Update Master Data Attributes yellow in DTP
Hi All,
After loading the master data DTP, the request becomes greeen but the "Update Master Data Attributes" step is still yellow. Let me know how to overocome this error
Thanks,
SathyaHi,
This is a master data full load and it updates more than 1 lakh records. Technically the Overall and technical status of my DTP request becomes Green but when i go to the details tab and drill down the data package the "Update Master Data Attributes" still remains yellow so i dont think my load will update the attributes for my info object successfully.
Is there a solution to overcome or did anyone face this similar issue?
Thanks
Sathya -
How To... Update Master Data during upload of transaction data
Can anybody let me know how this can be achieved.
I have datasource (Legacy not R3) where I am getting both master data and text for number of infoobjects.
I dont want separate datasources.
The datasource is actually transactional datasource.
I dont need text in the cubes or DSO I need the text tables of the infoobjects to be updated.
I could find this on SDN but do anyone have document based on the below link.I was not able to find it.
How To... Update Master Data during upload of transaction data
Thanks.Dear Praveen
I guess yr req is demanding the knowledge of Data Unification and Synchronization whose scope is a bit outer the area of BW.( its MDM actually )
In BW we could very well fetch data out of different data sources (even across the different system) with no issues so why not u trying that. if there is any issue implementing that then please specify what kind of trouble you are interfacing...
I got the below link which may be helpful
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e7bd6389-0a01-0010-eb95-d45835d446a8 -
Exit to be used for hr to update master data
Hi,
Can anyone tell me which exit shud be used to update master data in HR module.
My extraction structure is HRMS_BW_IS_ATTENDANCE.
i have to append 'ndays' n to fill this field which exit shud be used.
Thnx,
Regards,
Nishu GuptaHi,
Transaction Data:
EXIT_SAPLRSAP_001
Master Data:
Attribute: EXIT_SAPLRSAP_002
Text: EXIT_SAPLRSAP_003
Hierarchy : EXIT_SAPLRSAP_004
Happy Tony -
How to check the master data records in using SE16 transaction?
Hi,
Can you please help me to check the master data records using SE16 transaction?
Loaded master data for Characteristic and want to check the records in the master data tables.
Thank you for your help!
LakshmiHi!
Welcome to SDN.
you have to check the master data tables.
soo in Se16 you have to select the appropriate master data table and view the data.
following thread explains about masterdata tables
MasterData table?
regards
mohan
Message was edited by:
Mohan Krishna -
Identifing duplicate master data records using the MDM Import Manager
hi all
I read the Topis "How to identify duplicate master data records using the MDM Import Manager</b>"
i tried to create import maps and to set rules. but when i import them it creates the new vendor records for each rule with rest of the fields blank.
when i import vendor data all the three fields i.e Match rate , match type and match group are blank.
My Question is :
I am getting vendor data from SAP R/3.
In which source (in lookup xml file or data xml file) do i have to include these above three fields and how all the rules will be reflected in repository?Hi Sheetal
Here we go when do you Import any data (vendor master) please follow the following steps;
1. First of all apply the map to the source data
2. In the Match Record tab there are 3 possiblities
a.[Remote Key] : Checks the current source rec with
repository along with all the fields - This is
default
b.Remove [Remote key] - by double click the same; and
choose any single fields like Vendor Number or
name - Then the current record will be matched
with the repository based on the field.
c.Instead of single field you can choose combination
also.
3. Based on the Match results, match class will be set
automatically;
a. None
b. Single
c. Multiple
4. Then Match Type
a.Exact-All the individual value matches are Equal.
b.Partial-At least one value match is Equal and at least one Undefined; no value matches are Not Equal.
c.Conflict-At least one value match is Equal and at least one value match is Not Equal.
5. then chek the Import status and Execute the import.
Hope this helps you.
cheers
Alexander
Note: Pls dont forget reward points. -
Master data records with one key
Hello All,
I have scenario that I need to load the master data records with one key.
For ex--
Cluster Dcode version
5000 DC1 2008
5000 DC1 2008
5001 DC1 2009
Could you please let me know possible ways.
ThanksIn your case if Cluster is the key then the underlying attributes data will be overwritten when the same cluster key comes.
as per you example data finally it loads only two records in to the target, since first two records key is same.
Hope this helps.
Veerendra. -
How to get master data records that do not have transaction data in a query
Hi,
How to get master data records that do not have transaction data in a query output. Can we create a query or any other way to get the master data records that do not have transaction data?Hi,
Create a multiprovider which includes transactional data target and master data info object. Make sure that identification for this master data info object is ticked on both the provider.
Create report on this multiprovider , keep the master data info object in rows , and now you should able to see all the values which are there in master data info object irrespective of transaction happened or not .
Next you may create condition showing only zero keyfigure values , ie. master data without any transaction.
Hope that helps.
Regards
Mr Kapadia -
Adding fexible updated Master Data as characteristics to an InfoCube
hi there,
is it possible to add fexible updated Master Data (in InfoProvider section: InfoCubes, ODS etc.) as characteristics to an InfoCube?
Thanks
HizaHi,
Yup, I does not really matter how do you load data to this InfoObject flexible / non flexible.
hope it helps
Regards
Vikash -
Hi all, im having a problem updating master data for an infoobject.
Im not able to upload the data from the data source and im not able either to update it manually.
Im getting this error Field symbol has not yet been assigned
can anybody hekp me?Ask your Basis team to implement this note in BI system..
Summary
Symptom
GETWA_NOT_ASSIGNED (a field symbol is not yet assigned) occurs when new master data providers are implemented after Note 1089231.
Reason and Prerequisites
This problem is caused by a program error.
This problem only occurs when display attributes are requested and no data is returned. -
Is LSMW tool only used to update master data??
Hi experts,
Is LSMW tool only used to update master data??i.e for updating material master,customer master etc.,
or it can be used to updated configuration tables also.i.e when we do configuration a CTS is to be created.then how the CTS generation is handled.
Can anyone plesae explain me in detail?
Thanks in advance,
Regards,
N.SreelathaHi
LSMW is used to transfer Legacy data from one system to another system.
Obvioulsy Configuration objects should be transported through CTS only and not with LSMW .
Cheers,
Hakim -
Insert new Master Data Record for an InfoObject using a Function Module
Hi @ all,
is there any Function Module for creating a new master data record for an InfoObject? Implementing a FM for inserting a master data record into a master data table is done quickly. I think there will be problems with inconsistency implementing a FM using a simple "Insert" Statement. Isn´t it?
I know it is possible to maintain an InfoObject in RSA1 (Master data IO> right click>Maintain Master data>execute(F8)> ...) but I have another requirement for using a FM.
Thanks!
Regards,
Johannesuse this
RSNDI_MD_ATTRIBUTES_UPDATE
Maybe you are looking for
-
Graphic card replacement for hp pavilion elite hpe 550f
Been trying to get this replacement card for a while. Is there a new compatible one that I can install or replace. I appreciate the help. Thank you!
-
Anyone can suggest what is the best way to test memory leak in JAVA? Thanks in advance for the help.
-
How to reference html form element in javascript ?
Dear all, My DPK portlet is like this: I created a html form within it there a several textfields, a hidden field and a SUBMIT button. The application will call itself to insert a new record to database table on pressing the SUBMIT button. My problem
-
Moving to OID, but...
hi! currently i'm using the Oracle 9iAS and Portal (both Release 1) to: 1. develop pl/sql base applications. I make use of the local security tables (wwsec_person$ etc) to grant access to applications, content areas and folders etc. 2. a trigger that
-
How do I highlight my scanned document on my iPad?
I can't highlight my document but can strike text within. The answer previously given doesn't help me solve the problem probably bc I don't understand how a different type of document would affect whether you can highlight or not.