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,
VSN
If 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
Similar Messages
-
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 -
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 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 -
Hello,
How can i check and repair master data inconsistencies ? I know that such a program exists, can you tell me what is it?
Regards,
Jorge DiogoHi Jorge,
Here it is:
RSDMD_CHECKPRG_ALL
Regards,
Diogo. -
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 -
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 -
Transport direct update master data
Hi
I am trying to transport master data infoobject and its corresponding trans.stru and comm.structure.
When I go to transport connection from rsa1, select object type infosource, I cant see master data infosource. I can only see flexible updata sources!!! What is the procedure to collect transfer stru and comm.stru for direct update method?
I can see master data data source in the object type data source. If I collect just infobject and data source will it collect comm.stru and transfer stru automatically when I transport to Quality?
Please explain in detail.
Thanks in advanceHi netin
go to SE03
search the R3TR Trasfer structure and check in which of the requests does this Object have.. so check the sequence of the objects in the production and then start importing the requests in Production same as the sequence how u have imported in the QA..
hope it helps
regards
AK -
How to Update Master Data from R/3
Hi,
In the R/3 source system, there a few new company code.
I have run an infopackage to full update Datasource 0COMP_CODE_ATTR. But when I display data, the new company code is not there.
I also run rsattr, and selected all the infoObject list. But i still can't see the new company code.
May I know how to extract the new company code from R/3 to BI?
What are the steps?
Thank you.Hello
Check if the DTPs ran and the monitor turns green. The monitor in DTP also tells you how many records are processed.
After that run the Attribute change Run.
In general the steps to load master data from R/3 are:
1. Execute InfoPackage
2. Run DTP
3. Run Attribute Change Run
If the company code still does not show check the tables (P & M tables) to see if the data is there and in active version.
Hope this helps -
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.
RegardsHi,
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 -
Text update master data no more possible/ Not existing duplicate keys
Dear colleagues,
we cannot load any new text for master data info objects.
There are no duplicate keys in the delivered nor in psa.
If the key value is allready loaded and the PSA containes changed text
fields to this key, the DTP update fails and says: duplicate data record!.
If I switch on the "Handle duplicate record keys"-flag, the DTP deletes
the correct record with the changed texts from the delivered data.
So, it is no more possible to get changed texts into the system.
Attribute load has the same issue.
Please help fast.
Many regards,
Wolfgang TaagProblem seems to be solved!
Transfers start routine proceeds a "short dump" while selecting duplicate records from an differnt info object.
But there is no real short dump in in ST22.
DTP catches user's short dump and gives the message, that there are duplicate records in the loaded data.
If you check "handle duplicate records" at the DTP, no error is messaged, even though startroutine dumps!
Fattaly, in this case, DTP deletes rows from loaded data!
Thanks,
Wolfgang -
Update master data in BW with Visual Composer
Hi guys.
I have an attribute of an info object that I need to give the users access to update.
I would like to do it with visual composer.
I would like the user to see all rows in a table kind of view and the user will update only the rows that need to be changed and than he/she will click on a button that will update the master data table in BW.
I believe that I'll need to use a BAPI or a RFC for that? Does anyone know any good predefined ones for that?
Thanks
ShlomiThat's not really true. In VC you have access to all remote enabled functions. We have created specific functions to update attributes.
We are using it to allow our users to update their own master data instead of bugging the BI team.
Here is an example of our code.
Before I paste this in, you need to know a couple things.
1. You can only update one record at a time (with my code)
2. You have to pass back in the entire record, even if you are only changing one attribute of many.
3. It automatically does the attribute change run, so you do not need to to it.
This is a simple infoobject with a few attributes.
First we created a Get function (which collects the data and shows it to the user.
Then we gave them a edit button on the table that goes to a pop up.
The user selects the record to change, then hits the edit button.
When the popup comes up the data is shown in a form, with a save and cancel button, fields that you do not wish users to see or change, hide them, but they all most be present on the form.
The when the user hits save, it send it to the below function. The name of the infoobject is ZCAT_SUB.
FUNCTION zcat_update_subparty2.
""Local Interface:
*" IMPORTING
*" VALUE(I_T_ZSUBPARTY) LIKE /BIC/PZCAT_SUB
*" STRUCTURE /BIC/PZCAT_SUB
*" EXPORTING
*" VALUE(E_RESULT) TYPE STRING
TYPE-POOLS: rs, rsarc, rsarr, sbiwa, rssm.
DATA:
l_t_zsubparty LIKE /bic/pzcat_sub OCCURS 10,
l_s_minfo TYPE rssm_s_minfo,
l_t_idocstate TYPE rsarr_t_idocstate,
l_subrc LIKE sy-subrc.
APPEND i_t_zsubparty TO l_t_zsubparty.
CALL METHOD cl_rsdmd_update_master_data=>update_attributes_static
EXPORTING
i_iobjnm = 'ZCAT_SUB'
i_t_data = l_t_zsubparty
i_s_minfo = l_s_minfo
i_monitoring = rs_c_false
IMPORTING
e_subrc = l_subrc
CHANGING
c_t_idocstate = l_t_idocstate.
IF sy-subrc <> 0.
e_result = 'Error happened'.
ELSE.
e_result = 'Process Completed'.
DATA:
l_t_msg TYPE rs_t_msg,
l_r_activate_master_data TYPE REF TO cl_rsdmd_activate_master_data.
CREATE OBJECT l_r_activate_master_data
EXPORTING
i_iobjnm = 'ZCAT_SUB'
i_p_q_have_to_exist = rs_c_true
EXCEPTIONS
iobj_not_found = 1
iobj_not_active = 2
generate_program_error = 3
p_q_do_not_exist = 4
p_q_txt_do_not_exist = 5
OTHERS = 6.
IF sy-subrc = 0.
l_r_activate_master_data->activate( IMPORTING e_subrc = l_subrc
CHANGING c_t_msg = l_t_msg ).
ENDIF.
ENDIF.
ENDFUNCTION. -
Hi experts,
I have a problem.
I have a master data (infoobject as cube) with FIELD1 FIELD2 as KEY and some attributes (no text).
I want to update one attribute of this master data from a characteristic of OSD (same key).
The problem is that when I execute the DTP in the transformation RULES, an error appears because the register already exist and it doesnt modify the attribut.
What can i do?
thanks a lotAn Expert Routine
Maybe you are looking for
-
I have a new MacBook Air running Yosemite 10.10.1 with Quicktime 7 but would like to know if I can view my .mkv files on Quicktime 7 or are there any approved software I can run that's safe for Yosemite 10.10.1.
-
Hi all, I get an error message when I execute transaction code: S_P00_07000134 - Generic Withholding Tax Report The system shows the error message as following. <b>... A number could not be determined for numbering group TH1153 Message no. 7Q 630</
-
Not able to access virtual machine applications in remote server.
Hi All, I am using Oracle Linux server 5.6 - 64 bit and installed all IAM 11gr2 stack and Oracle data base. I am not able to access the any Identity Management applications in remote servers (able to access in local virtual machine) but i can able to
-
Adobe Registrierung! Klappt nicht!
Das Registrieren der Adobe Produkte funktioniert nicht!
-
Cannot register the Web Provider Sample in Portal
Hi, I downloaded the PDK-Java Framework and Samples to install in portal. The Portal version 3.0.9.8 on NT 4.0 platform. I followed the instructions all the way to testing the Web Provider Sample set up. I can execute the sample from the Oracle HTTP