Master data deletion (Yellow request)
Hi,
I am in BI 7.0. Need to delete a yellow request from master data, well it's not allowing to change it to green or red while deleting manualy.
Is there any functional module or any back groud process which can delete data by request?
I experienced the same recently..Following worked for me..Try
This procedure makes yellow request to RED:
Use SE37, to execute the function module RSBM_GUI_CHANGE_USTATE
From the next screen, for I_REQUID enter that request ID and execute.
From the next screen, select 'Status Erroneous' radiobutton and continue.
This Function Module, change the status of request from Green / Yellow to RED.
Once it is RED, you can manually delete that request.
Similar Messages
-
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 -
Issue with master data deletion
Hi,
In one of our report, there is a filter option on country.The help values on this filters shows some country codes along with country Text values.These codes were once used before the codes with text were maintained.We dont want these codes to appear in the selection options.
Filter looks like this :
AE
AZ
Austria
Australia
B
Belgium
Now, once the texts were maintained, we deleted the data from cube and reloaded it however, the filter option still shows those codes.
I checked in the cube entries and these codes are no where used.
These codes are however, still lying in the dimension table.
how can we get rid of these country codes in the selection option.
Query already have option of having only posted values in Infoprovider as selection input.
I hav tried RSRV elementary test "Entries not used in dimension table" n this didnt work.
Any clue ?
Regards,
TapishDbl click 0COUNTRY infoobject, under 'Business Explorer' tab, select Only Values in InfoProvider' for 'Query Def Filter Value selection' & 'Query Execution Filter Value selection'. See whether this works.
ELSE
Delecion of the master data
Deleting Master data -
Hello Experts,
I know this is not a new topic to be posted in forum as we can find lots of threads on the same. But i tried different ways and could not succeed and so there is no other way except to post what i did and get suggestions from you all. Any help will be greatly appreciated and rewarded.
Now coming to the scenario where i am in: There are two invalid master data values in SID table (no attributes for this, => SID and value). I tried deleting the two values
1. using functional module RSDDCVER_USAGE_MDATA_BY_SID. But this resulted in short dumps with messsage INVALID TAB NAME
2. using program RSDMD_DEL_MASTER_DATA: Though i could delete values in development in few seconds, this program took more than 3hrs and did not complete. When i checked the process in SM66, it was deleting unused dimension Ids in other dimension of infocube in which this object is being used.
3. i could not try "maintain master data" of infoobject from RSA1 since i dont have authorization to do it.
i think the only way is to delete using a custom program. Any thoughts, any experiences please share and do let me know in case of any details.
thanks,
MadhavHi Madhav,
I don't have a specific answer for you, but I had a similar problem with master data deletion. It was with 0Vendor and I just wanted to delete all the unused entries, but running the RSDMD_DEL_MASTER_DATA program would always give a short dump. Same think if I tried to delete using the Delete Master Data button on InfoObject.
Applying the latest SPs worked for me. We are on BW 3.5 (NW2004), SP 18.
Good Luck.
Dave -
Master Data Deletion using ABAP
Does anybody have an idea of which function is called when master data is deleted?
I would like to automate master data deletion
Any suggestion is welcome!
Thanks
IoanHi Ioan !
Try to look at the FM 'RSDMD_DEL_MASTER_DATA'(in the pgm LRSDMDU12)...but pay attention to the other elements that the system certainly checks in order to complete this type of process !
Bye,
Roberto -
"master data deletion for requisition" before master data loading
Hello Gurus,
in our bw syetem , for process chains for loading master infoobjects, all include "u201C master data deletion for requisition" ABAP
process except for one process chain. my question is:
why that process chain for master data loading is different from others as for lacking "master data deletion for requisition" in it?
so it does not matter if you include " master data deletion for requisition" ABAP process in process chain for master data loading ?
Many thank.Hi,
ABAP Process means some ABAP program is being executed in this particular step.
It's possible that for all of your process chains except for that one requirement was to do some ABAP program processing.
You can check which program is executed by following below process:
Open your process chain in planning view -> Double click on that particular ABAP process -> Here you can see program name as well as program variant.
Hope this helps!
Regards,
Nilima -
Master Data Deletion in SAP BW
Hi,
We are having HR Master Data in BW - 0EMPLOYEE. User has deleted some of the personel numbers in the source system (SAP HR system) as the contract of the employee was ended.
My problem here is that the Personnel numbers are still existing in SAP BW - 0EMPLOYEE master data. Eventhough when i am trying to delete these un wanted personel numbers in maintain masterdata screen, that are not allowing me to delete as they have used some other placess in Transaction data.
Can you please suggest me, how to delete this specific Master Data in SAP-BW?
Best regards,
Venkata Challapalli.Hi,
Why do you want to delete ?
No need to delete any Master Data
If you want to really delete ,you can do one thing
Right click on Master data Info Object 0EMPLOYEE
select Delete master data
And reload Master data for employee with full load
if delta Initilize delta with data transfer
Regards
Hari -
Master Data Deletion - Data used in query
Hi all,
I work with BI 7. I noticed a strange thing. I wanted to delete data from a master data object, but the operation is not allowed. If I see the logs for "where used list", I see a query. I deleted data from DSO objects and infocubes, and I thought it was enough.
Any idea?
Thanks a lot.Hello Gianluca,
To be able to delete master data, no transaction data must exist for this master data, the master data must no longer be used as attribute value, hierarchies to this master data must not exist, and it must not be used in a query.
If you look at a record in the SID table, you can check the usage flag DATAFL. If the value is X, it is used or has been used by another BW oject.
But to answer your question, do delete the master data, it must no longer be used in a query.
Best Regards,
Vincent -
Master data deleted dispite it is used in other Cubes
Hello everybody,
I deleted master data by the classic way: right-click on the characteristic --> delete master data --> with sid.
(not with other ways!!!)
Thinking that the system will not delete the master data that is used in Cubes.
I reloaded new master data.
After a complaint from a power user that he cannot make a drill down with this characteristic in one report, i begin to investigate.
Firstly, i tested all the reports where this characteristic is used and all the reports did the same error.
After i went is to display data of one of the infocube where this characteristic is used and when i select this characteristic for the output, nothing returns as result.
After that i checked the values of the characteristic sid's in the cubes and i see that the range of the char sid's in the cube do not correspond to the range of the sid's in the sid table of the characteristic.
In fact, none of the characteristic sid of the cube where present in the sid table of the characteristic.
Why? probably because when i deleted the master data, the system deleted all the records, but why also those that are present in the cube?
When i go to SLG1 and select the correct Object, as message for this deletion: "All entered data was deleted"
Any suggestion, advise is welcome.
Thanks
Regards,Hi,
The way you have used, I would expect that it will not delete the used master data in other cube. If possible reload your master data but I think this will not resolve your issue as new SID values will get created. Just give a try.
Regards,
Durgesh. -
Data Load Error due to Master data deletion
Hi,
While doing the transactional data load I am getting following error.
+Master data/text of characteristic ZFOCUSGRP already deleted Message no RSDMD138 +
ZFOCUSGRP is an InfoObject (with Text). Last week we changed the source system from CRM to R/3 during that time we deleted all the Texts in ZFOCUSGRP manually from the table.
This error is not happening always some time it load properly. I executed the RSRV for InfoObject ZFOCUSGRP and InfoCube still this error happening.
Is there any way to fix this error?
Thanks in advance.
Thanks
Vinodcheck this:
Re: Error while running InfoPackage
Master data/text of characteristic 0MATERIAL already deleted
Master data/text of characteristic ZXVY already deleted
Hope it helps.. -
Delta enabled master data - Deletion of data sets
Hello,
is it possible to automatically delete a certain data set of a master data bearing InfoObject which is delta enabled ? Does a delta load for master data InfoObjects allow to fully delete a certain data set?
Example:
Delta Master InfoObject: Z_Test
Attributes: Z_Name, Z_Region, ....
Data sets:
(1) 12345, Name1, Region1, ....
(2) 23456, Name2, Region2, .... (this data set should be completely deleted)
(3) 34567, Name3, Region3, ...
Expected result:
(1) 12345
(2) 34567
I just want to know whether the deletion can be performed through a delta data load or not?
Thanks in Advance.
MarcoHi Marco,
Welcome to SDN!!
You can goto RSA1 -> Info-object -> maintain master data and delete the unwanted records and loads the ones you need. If the no. of records are more then you may need to write an ABAP program. But before all this deletion make sure the master data is not used in any other Data target.
Bye
Dinesh -
Master data deletion - text with compounding
HI All,
I have " 0PYMT_METH" Info object which is having "0PYMT_METH_TEXT" Data source. " 0PYMT_METH" Info object is having text and 0country with compounding attribute.
- First , I did not load this master data , I loaded transactional data. so some values for key are loaded without text and country in master data.
- Later i came to know we need text for paymnt method, then i loaded again master data. but i am not able to delete previous entries which have blank text.
-i deleted data with SIDS and deleted all the transactional data , still i am getting that entries with blanks.Because of this in report output i am getting # value for the text.
How to solve this? Is it because of compounding attribute ? If so can u please suggest regarding this ASAP?
Thanks in advance,
JoHi,
Please check the data load for the text as you must be loading
MAster Data CHAR , Country , LANGUAGE and TEXT as fields in your data source.
As the Text can be over written so if the porper key fields are matched the text should be modifyed everytime.
SO please check what combination you r loading .
ANyway if that is one time , and very less data you can manually maintain th text for master data .
In order to delete teh data you use SE14 use the text table there to delete the data. PS : This is not recommended solution . -
Master Data deletion and data load
Hi,
In a process chain, Master data of my InfoObject are deleted then reloaded.
My InfoObject is used in cubes and ODS that are loaded later in full or delta.
My question is: what happens if thoses cubes and ODS are loaded when Master data of my InfoObject are blank (=Process chain failure / Master Data of my InfoObject are deleted but not loaded) ?
Thanks for your answers.hi eric
you cant delete the master data , till the time it exits in any of the data target ( cube or ODS).
Now lets say you have new record for master data coming in say , example new material being introduced.
The cube or ODS will take that new mateiral from the transactional data , and to maintain the corresponding the master data when ever it is loaded successfully it will reflect in your reports provided you have maintain/hierarchy attribute change job scheduled.
Thanks & Regards,
Monika -
BPC Master Data Deletion through ABAP code
Hi All,
I have a requirement of deleting the orphan nodes for one of the dimension in BPC using ABAP code.
Please let me know any standard program or classes for deleting the master data from dimension.
Regards
Pratibha BiradarHi Pratibha,
Here is the code to add master data, you can change the flag to 'D' to delete, i have not checked it for delete, it is working for adding.
DATA: ls_message TYPE uj0_s_message,
lt_messages TYPE uj0_t_message,
l_success TYPE uj_flg,
l_appset_id TYPE uj_appset_id,
l_dimension_id TYPE uj_dim_name,
lo_member_mgr TYPE REF TO if_uja_member_manager,
lo_dimension TYPE REF TO if_uja_dimension_manager,
lo_master_data_store TYPE REF TO if_ujam_master_data_store,
lo_context TYPE REF TO if_uj_context,
ls_dimension TYPE uja_s_dimension,
lt_errors TYPE uja_t_members_error,
lr_members TYPE REF TO data,
lr_data TYPE REF TO data.
FIELD-SYMBOLS:
<lt_member_data> TYPE STANDARD TABLE,
<ls_member_data> TYPE any,
<lv_field> TYPE any.
TRY.
lo_context = cl_uj_context=>get_cur_context( ).
cl_uj_context=>set_cur_context(
i_appset_id = l_appset_id
i_module_name = lo_context->d_calling_module
is_user = lo_context->ds_user
lo_dimension = cl_uja_bpc_admin_factory=>get_dimension_manager(
i_appset_id = l_appset_id
i_dimension_id = l_dimension_id
lo_dimension->get(
EXPORTING
if_with_hier_maxlevel = abap_false
IMPORTING
es_dimension = ls_dimension
CREATE OBJECT lo_master_data_store TYPE cl_ujam_master_data_store.
* creating masterdata table
lr_members = lo_master_data_store->get_table_buffer( ls_dimension ).
ASSIGN lr_members->* TO <lt_member_data>.
* Add members to <LT_MEMBER_DATA>, these are the member that will be saved.
CREATE DATA lr_data LIKE LINE OF <lt_member_data>.
ASSIGN lr_data->* TO <ls_member_data>.
* Fill each field, such as ID, and EVDESCRIPTION, update other fields here as well as
* any properties that need to be updated.
ASSIGN COMPONENT 'ID' OF STRUCTURE <ls_member_data> TO <lv_field>.
IF sy-subrc = 0.
<lv_field> = 'ProductD'.
ENDIF.
ASSIGN COMPONENT 'MBR_NAME' OF STRUCTURE <ls_member_data> TO <lv_field>.
IF sy-subrc = 0.
<lv_field> = 'ProductD'.
ENDIF.
ASSIGN COMPONENT 'EVDESCRIPTION' OF STRUCTURE <ls_member_data> TO <lv_field>.
IF sy-subrc = 0.
<lv_field> = 'Product D Update'.
ENDIF.
ASSIGN COMPONENT 'PARENTH1' OF STRUCTURE <ls_member_data> TO <lv_field>.
IF sy-subrc = 0.
<lv_field> = 'TotalProduct'.
ENDIF.
ASSIGN COMPONENT 'OBJVERS' OF STRUCTURE <ls_member_data> TO <lv_field>.
IF sy-subrc = 0.
<lv_field> = 'A'. "Version flag, should be "A" for Active
ENDIF.
ASSIGN COMPONENT 'ROWFLAG' OF STRUCTURE <ls_member_data> TO <lv_field>.
IF sy-subrc = 0.
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""Here you can change it to 'D' for Deleting """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
<lv_field> = 'I'. " This is an action flag, I=Insert, M=Modify """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
ENDIF.
APPEND <ls_member_data> TO <lt_member_data>. " Add to the table.
* Create member manager
lo_member_mgr = cl_uja_bpc_admin_factory=>get_member_manager(
i_appset_id = l_appset_id
i_dimension_id = l_dimension_id ).
* Save the members UNCOMMENT ONLY when you want to write the data!!!!!
* lo_member_mgr->save(
* EXPORTING
* ir_members = lr_members " List of members to save
* IMPORTING
* et_errors = lt_errors
* NOW PROCESS THE DIMENSION
DATA: ls_dimensions TYPE uja_s_dim_name,
lt_dimensions TYPE uja_t_dim_name.
CLEAR ls_dimensions. REFRESH lt_dimensions.
ls_dimensions-dimension = l_dimension_id. " Add dimensions to the list
APPEND ls_dimensions TO lt_dimensions.
lo_member_mgr->process(
EXPORTING
it_dim_list = lt_dimensions
if_set_offline = abap_false
if_validate = abap_true
IMPORTING
ef_success = l_success
et_message_lines = lt_messages ).
CATCH cx_uj_no_auth .
ENDTRY.
hope this will help,
thanks,
Rishi -
MAster data deletion throws a dump
hi,
I am trying to delete the records for a Master info object but when i click on the thrash button , the records are not seen but when i try to move on -it asks me to save and then i tried with Sid and with out but whatever i do , it throws out the following dump .
I am eagerly looking forward for a solution to this.
Thanks a lot in advance,
DUMP ERROR When trying to DELETE MASTER DATA
Runtime Errors UNCAUGHT_EXCEPTION
Exceptn CX_RSRV_METADATA_ERROR
ShrtText
An exception that could not be caught occurred.
What happened?
The exception 'CX_RSRV_METADATA_ERROR' was raised but was not caught at any
stage in the
call hierarchy.
Since exceptions represent error situations, and since the system could
not react adequately to this error, the current program, 'SAPLRSDDCVER4', had
to
be terminated.
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_RSRV_METADATA_ERROR', was
neither
caught nor passed along using a RAISING clause, in the procedure
"GET_ODS_METADATA" "(FORM)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
An exception occurred
Missing RAISING Clause in Interface
Program SAPLRSDDCVER4
Include LRSDDCVER4F04
Row 473
Module type (FORM)
Module Name GET_ODS_METADATA
Trigger Location of Exception
Program SAPLRSDDCVER4
Include LRSDDCVER4F04
Row 498
Module type (FORM)
Module Name GET_ODS_METADATA
Source Code Extract
Line SourceCde
468 ----
469 * -->I_ODSOBJECT ODS object
470 * <--C_ODS_SID SID of Infoprov ODS object
471 * <--c_atab_name name of active data table
472 ----
473 FORM get_ods_metadata
474 USING i_odsobject TYPE rsdodsobject
475 CHANGING c_bexfl TYPE rs_bool
476 c_ods_sid TYPE rsd_sid
477 c_atab_name TYPE tabname
478 RAISING cx_rsrv_sid_creation_error.
479
480 DATA:
481 l_s_odso TYPE rsd_s_odso.
482 * l_ods_sid TYPE rsd_sid,
483 * l_atabname TYPE tabname,
484 * l_o_odso TYPE REF TO cl_rsd_odso.
485
486 CALL METHOD cl_rsd_odso=>get_info_static
487 EXPORTING
488 i_odsobject = i_odsobject
489 i_objvers = 'A'
490 IMPORTING
491 e_s_odso = l_s_odso
492 EXCEPTIONS
493 odso_not_found = 1
494 iobj_not_found = 2
495 internal_error = 3
496 OTHERS = 4.
497 IF sy-subrc <> 0.
>>>> RAISE EXCEPTION TYPE cx_rsrv_metadata_error
499 EXPORTING
500 msgty = sy-msgty
501 msgid = sy-msgid
502 msgno = sy-msgno
503 msgv1 = sy-msgv1
504 msgv2 = sy-msgv2
505 msgv3 = sy-msgv3
506 msgv4 = sy-msgv4.
507 * RAISE metadata_error.
508 ENDIF.
509
510 c_bexfl = l_s_odso-bexfl.
511
512 IF c_bexfl = rs_c_true.
513
514 *for ODS objects no SID is evaluated
515 *get sid of ODS object
516 CALL FUNCTION 'RRSI_VAL_SID_SINGLE_CONVERT'
517 EXPORTING
Thanks,
SSHi,
Make Sure that the Master data ur deleting must not be used by any transaction data
there is function module can be used RSDMD_DEL_MASTER_DATA, we have create a program for this,
check thread
Master data Where-used
search 'delete master data' and 'sdn forum', you may see some discussion about this topic
Cleanup of Master Data
How to see where all the master data is being used
Deleting Master Data at Single Record Level
http://help.sap.com/saphelp_nw04/helpdata/en/3b/f817385bf3be74e10000009b38f842/content.htm
Deleting Master Data and Texts for a Characteristic
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6365e07211d2acb80000e829fbfe/content.htm
-Shreya
-Shreya
Maybe you are looking for
-
Calculating value based on parent/child relations for a column..
Hi Friends, I have a requirement thus, sample table, parts, ppart cpart qty 990 1234 200 100 100_1 150 100 100_2 2 100_1 120 100 100_1 121 200 100_2 130 50 where qty is a number and the rest are varchar fields. Here the ppart 100 is a parent value fo
-
My shutter noise doesn't work any more!
When I take pictures in Photobooth the shutter noise no longer goes off, this also disappeared for when I take screenshots. I don't know how this happened but it's something that I just noticed recently. What can I do about this?
-
My line-in does not seem to be working. My built in mic is working, and when I plug in / unplug my headset, I can watch it pop in the Sound Preference Pane, but after it is plugged in, it doesnt work. The puzzling thing is that it works on other comp
-
Language, fonts, encoding - reading Russian and Spanish
I have some problems displaying certain signs. For example instead of a Spanish 'ñ' there is displayed a box with a '?'. And if I wanna play an MP3 file which is named with a ñ in the name the player crashes. Also, if someone writes me in Russian on
-
I'm trying to capture from a Sony A1P PAL using HDV-1080i50 to FCP 5.0.1. Got VTR OK, got audio, haven't got picture. Clip Settings in the Log and Capture window have video and audio checked. All I get is a black capture window. AIC works fine. Al