Manually maintain master data: check referential integrity?
Dear Experts,
we want to maintain master data via transaction RSA1 oder RSDMD.
Is it possible to enforce referential integrity?
Example:
Infoobject A has attribute Infoobject B
Infoobject B has master data keys
101
103
When maintaining attributes in Infoobject A (with transaction RSDMD) only allow to maintain Infoobject B 101 or 103 but not 102.
Best regards
Gregor
Hi Gregor,
That is because I think you have sected check inegrity box for any particular Object then.....the values which are coming are checked with masterdata table.......if the value are not existing in the masterdata then those records are not updated to the target..............
In your case 102 is not present in A
If still you want to laod then there is one setting
You have activated error handling in the BW scheduler (Tab page Update)
On the Update tab page in the BW scheduler, you have selected the option Always update data, even when no master data exists for the data.
hope it will help.
Regards,
Ganesh BOthe
Similar Messages
-
Dumps when trying to Maintain master data
Hi All,
When we are trying to Maintain master data for a master data object 0WBS_ELEMT, we are getting a short dump "CALL_FUNCTION_NOT_FOUND" in our BI 7.0 system.
What we are doing is Right click on 0WBS_ELEMT info object and Maintain master data, then we get the above dump. Saw in one of the forums that by making the info object in active and activating it again it will solve the issue but even after doing this the issue still persists, we still get the dump. Would need help from all of you.
regards,
Suman PittaHi Suman,
The dump is due to the fact that 0WBS_ELEMT has an attribute which still
uses the POSID conversion exit. Attribute 0PROG_POS should use
conversion exit POSBW. And in fact, in RSD1 of this infoobject, POSID is
Still maintained. However, if you go to the DDIC object in SE11
(SE11 -> choose "Domain" -> /BI0/OPROG_POS -> Display), you will
see that the conversion routine POSID still appears. This is the reason
you get the dump.
In order to resolve this issue, go to RSD1 -> enter infoobject
'0PROG_POS' -> choose maintain -> Set object status to inactive and
reactivate the InfoObject. The reactivation should regenerate the DDIC
objects (you can check this in SE11 again).
Alternatively change to the version from content which utilises POSBW
already.
regards,
Colin -
Hi all,
is it possible to perform articles master data check (eg. ean code or article code existence) on sap retail master data instead of bw 0material?
Thanks a lot
AdoHi Anthony,
here some answers to your questions:
1.) How does it check the existence of related master data? If you look at the details of a delta infopackage, you will not find an option to check for master data as compared to a normal delta infopackage.
==> you cannot check the refrential integrity via the InfoPackage, hence you have to this via transormations (if needed)
2.) Will it load the transaction data even if no master data exist for the transaction data?
==> Yes
3.) Also in this process, will it create the master data SID table entries while it loads the transaction data into the DSO? There may be some master data referenced by the transaction data which may not exist in the source system yet and therefore not loaded into the master data infoobjects yet.
==> Yes, but this behaviour is the same as for periodic (non-RDA) transactional data loads.
4.) The concern I have is when running a process chain to load master data such as 0ACCOUNT, 0COMP_CODE and followed by an Attribute Chain Run at the end of this process chain, will the locks established by this Attribute Chain Run crash the RDA daemon when it tries to load those transaction data that have new master data in them ?
==> You do not have to worry about conflicts / concurrent locks with the Attribute Change Run. The only process that could be critical, is the loading via RDA and periodic master data via DTP, which could result in a error in the DTP (you can resolve this very unlikely event by restarting the DTP or by triggering the re-load of the master data from the source system). In general, we would assume that these 2 events are highly unlikely to conflict.
Cheers
SAP NetWeaver BI Organisation -
Why cant I see an attribute when I "maintain master data"
Gurus -
Here is an easy question for you.
I added a new navigational attribute to an InfoOject. After I have loaded the data and activated it, I can't see the navigational attribute/values when I do a "maintain master data" when I display it via InfoObject. But, I can see the navigational attribute/values when I do a "maintain master data" when I display it via InfoSource. What do I have to do to see it when maintaining master data via the InfoObject option?
Thanks!usually in maintain master data - it might be that the number of fields are too large and you are not able to see your field.... what you can do is to select a particular row with data and double click on it to see the data or go to options and user parameters and choose ALV grid display and it usually displays all the fields unless you are using a custom layout which does not have this characteristic included.
The easiest way to check out if the characteristic is available is to use the P table in SE16 and view the contents - this too if you do not have custom layout defined at the ALV grid level... -
Issue when maintain master data in BW 740
Hi guy ,
When I want to maintain master data by right clicking info object in DEV system, It pop an IE application ,
http://bwqas.baicmotor.com:8000/sap/bc/webdynpro/sap/rsdmdm_md_maintenance_app?IOBJNM=ZFIIC005&sap-language=EN
It want me to login QAS system.I check my host configuration parameters ,i think it's no problem.Hi
Please check this
From BW 7.40 SP5 Master data maintenance is moved from SAP GUI to WEBDynpro application. When I was trying to do the same it gives below error. I think It requires some settings to configure web services in BD7. Please check and activate the same. Please find the relevant links and SAP Notes which might help you.
http://wiki.scn.sap.com/wiki/display/BI/BW+7.4+Master+data+Maintenance+via+WebDynpro
Note: 1997402
Note: 1969105
Note: 1088717
Thanks
Ajay Daggubati -
Hello Gurus,
Someone could help me?
In SAP BW 7.4 (Support Package 7) the BW master data maintain function moved from SAP GUI into web dynpro screen.
Can we use it (maintain master data) in SAP GUI RSA1 like SAP BW 7.3?
Is it a configuration in SPRO?
Thank you guys.
PS: It is my first project with SAP BW 7.4Hi Gareth,
I have made the code changes as suggested by you but there is some kind of inconsistency.
After maintaining master data ,If I go back one step it works fine
But if I type /nRSA1 or any other tcode on the same screen,it gives a dump.
Below is the dump.
Short Text
The current application has triggered a termination with a short dump.
What happened?
The current application program has detected a situation that should
not occur. A termination with short dump has therefore been triggered
by the key word MESSAGE (type X).
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
Short text of the error message:
ControlFrameWork: Maximum number of sessions reached
Long text of the error message:
Technical information about the message:
Message class....... CNDP
Number.............. 011
Variable 1..........
Variable 2..........
Variable 3..........
Variable 4.......... " "
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occurs in a non-modfied SAP program, you might be able to
find a solution in the SAP Notes system. If you have access to the SAP
Notes system, check there first using the following keywords:
"MESSAGE_TYPE_X"
"SAPLOLEA" bzw. LOLEAU02
"AC_SYSTEM_FLUSH"
If you cannot solve the problem yourself, please send the following
information to SAP:
1. This description of the problem (short dump)
To do this, choose System -> List -> Save -> Local File (unconverted)
on the screen you are in now.
2. A suitable system log
To do this, call the system log in transaction SM21. Restrict the time
interval to ten minutes before the short dump and five minutes after
it. In the display, choose System -> List -> Save -> Local File
(unconverted).
3. If these are programs of your own, or modified SAP programs: Source
code of these programs
To do this, choose More Utilities -> Upload/Download -> Download in
the Editor.
4. Details regarding the conditions under which the error occurred or
which actions and input caused the error.
System environment
SAP Release..... 740
SAP Basis level 0009
Application server... saps009
Network address...... 137.33.22.24
Operating system... Windows NT
Release.............. 6.0
Hardware type....... 4x AMD64 Level
Character length..... 16 Bits
Pointer length........ 64 Bits
Work process number... 11
Shortdump setting. full
Database server... SAPS009
Database type..... MSSQL
Database name..... BID
Database user ID bid
Terminal.......... GDNL2180
Character set C
SAP kernel....... 742
Created on....... Jan 30 2015 22:06:39
Created at....... NT 6.1 7601 x86 MS VC++ 16.00
Database version SQL_Server_9.00
Patch level....... 37
Patch text.......
Database............. MSSQL 9.00.2047 or higher
SAP database version. 742
Operating system... Windows NT 6.0, Windows NT 6.1, Windows NT 6.2, Windows NT
6.3
Memory consumption
Roll.... 0
EM...... 45930944
Heap.... 0
Page.... 40960
MM used. 29493280
MM free. 16431408
User and Transaction
Client................. 100
User.................. GDNJAINI
Language key.......... E
Transaction......... RSA1
Transaction ID...... EECAFAE4F51BF1F6B2DD005056950066
EPP whole context ID...... 0050569500661EE4BED95AD6937632DD
EPP connection ID........ DFCAFAE4BC6CF115B2DD005056950066
EPP call counter......... 1
Program.............. SAPLOLEA
Screen.............. SAPLRSAWBN_MAIN 1000
Screen line.......... 0
Active debugger..... "none"
RFC Caller Information
Information on caller of Remote Function Call (RFC):
System.............. BID
Installation number 0020244352
Database Release..... 740
Kernel Release...... 742
Connection type..... 3 (2=R/2, 3=ABAP-System, E=External,
R=Reg.External) call type....... synchronous and non-transactional (emode 0,
imode 0)
Inbound TID..........
Inbound queue name...
Outbound TID.........
Outbound queue name..
Client................. 100
User.................. GDNJAINI
Transaction......... RSA1
Call program...........CL_RSDMD_RSAWBN_TOOL==========CP
Function module..... RSNDI_MD_ATTR_TEXTS_MAINTAIN
Call destination..... NONE
Source server...... saps009_BID_00
Source IP address.. 137.33.22.24
Additional information on RFC logon:
Trusted relationship..
Logon return code.... 0
Trusted return code.. 0
Remarks:
In Releases prior to 4.0, information about the RFC caller might be
missing or incomplete.
- The installation number is provided in caller Release 700 and higher.
rmation on where terminated
The termination occurred in ABAP program "SAPLOLEA", in "AC_SYSTEM_FLUSH". The
main program
was "RSAWBN_START".
In the source code, the termination point is in line 38 of (Include)
program "LOLEAU02".
Line SourceCde
8 *" CNTL_ERROR
9 *"----------------------------------------------------------------------
10 data: sysubrc like sy-subrc.
11
12 CALL FUNCTION 'AC_FLUSH_CALL'
13 EXPORTING
14 SYSTEM_FLUSH = 'X'
15 CALLED_BY_SYSTEM = CALLED_BY_SYSTEM
16 IMPORTING
17 MESSAGE_NR = sysubrc
18 MESSAGE_TEXT = SY-MSGLI.
19
20 sy-subrc = sysubrc.
21
22 CASE SY-SUBRC.
23 WHEN 0.
24 WHEN 1.
25 * system_error
26 MESSAGE ID 'CNDP' TYPE 'X' NUMBER 007 RAISING CNTL_SYSTEM_ERROR.
27 WHEN 2.
28 * method_call_error
29 MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
30 WHEN 3.
31 * property_set_error
32 MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
33 WHEN 4.
34 * property_get_error
35 MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
36 WHEN 8.
37 * maximal number of modi reached
>>>>> MESSAGE ID 'CNDP' TYPE 'X' NUMBER 011 RAISING CNTL_SYSTEM_ERROR.
39 WHEN OTHERS.
40 RAISE CNTL_ERROR.
41 ENDCASE.
42
43 ENDFUNCTION.
Thanks -
Field not visible in maintain master data option
Hello experts,
maturity_date field is mapped and active in transformations.
but when i want to see data for it.
field not available in "maintain master data" option or "display data" option.
regards,
kvyou can search in se11 /bic/pmaturity_date.
and also is attribute only is checked in general tab.
bhaskar -
Incorrect result between maintain master data and bex query, how can i fix?
Hi ALL,
i get some messages from the users there is incorrect result between SAP R/3 and Report on BW. i controlled the monitor and i saw there was a job for 0CUSTOMER_ATTRIBUTE that it finish correctly but the processing it was only in PSA, i started the full update immediately from PSA into Data Targets and is finished correctly. after when i control the content of the 0CUSTOMER (right click maintain master data) i get the correct attribute result that match the data in SAP R/3, but the problem is when i execute a query Bex on this master data it will not return the same attributes data.
Can SomeBody Help please
Bilalhi,
For any master data attributes loaded you will have to run "Attributes Change Run" for that.Execute for Master data 0CUSTOMER.
The same is avilable in rsa1->Tools(top menu)->apply hierarchy/attribute run.
hope it helps,
regards,
Parth. -
How to Check Referential Integrity for a field in Transformations.
Hi All,
We have a requirement where we need to check the referential integrity for a field in Transformation.
How can we Check Referential Integrity in Transformations?
Regards,
Rk.Hi,
you can check the referential integrity checkbox iis available in the transforamtaion there is a check box referential integrity from the source rules.
Thanks,
Ramesh. -
0vendor is not displaying name attribute when I maintained master data.
0vendor is not displaying name attribute when I maintained master data.
Details: I have four records in the 0vendor infoobject (sand box). I have to show these four records to the client. As i have free hands I maintained master data in the name field and finally activated master data. But when I add the name attribute to the vendor charecteristic in the query designer; it is displaying name attribute as # . Any idea how to display the names of the four vendors in the zquery.
Also do you know the transaction to copy standard query to Zquery?
Thanks in advance.Dear Les
For 0VENDOR, Set Property as Key & Text, try once again.
Yes, you can copy the standard query very well.
Open the Standard query & using SAVE AS, you can copy to "Z" queries.
Hope, now you will get some idea
Regards
Saravanan.ar -
Master data check not working when loading into and ODS object
Hi guys,
we are loading transactional data into an ODS from a flat file.
In the infopackage, we have checked the option :
"Do not update data if no master data exists for a characteristic".
This option seems to be unreliable :
For some characteristics (it seems those loaded using transfer rules (routines)), incorrect data is still loaded into the ODS even if no entry exist in the associated infoobject master data table.
Any help appreciated.
Many thanks !
Pierre-YvesHi Dear,
please delete all the incorrect master data from the master data characteristic first and then try to uploading the data again .It should work, because there migth be some master data created when data were loaded with out the check before.
And please check whether all your characteristic info object are of master data , I mean that in the infoobject defination you have checked the master data check box on the info object. If you have only text then it might fail the master data check.
hope this help.
cheers,
balaji
Message was edited by: Balaji NS -
How i can find if there some master data look up in my transfer rules or update rules?
I read only about this in update:
Data Updata Type in Data Target
x Always update data even if no master data exists for the data
x Do not update data if no master data exists for a characteristic
Any suggestion?Hi,
there are two parts in your question:
1. For the first part, Just go the update rules or transfer rules and check for an update type 'Materdata attribute of' (or) check all routines that does this masterdata look up programmatically using ABAP.
2. The second part deals with a different subject of validating transaction data with the masterdata. (called referential integrity check). As per the data update type you set in the infopackage (the two options you mentioned above), the data load behaviour can be affected.
Hope this helps. -
Dear Gurus,
I have to configure certain checks for Vendor Master duplication checks.
Can you please tell me the node in IMG and revent details for this config or if you can give the link.
Regards
RajuHello,
If I understand your questions correct, you would like to generate a pop-up list in case if you are going to create a vendor or customer master record with the same name.
You can do this by:
IMG ==> Financial Accounting ==> Accounts Receivable and Accounts Payable ==> Vendor Accounts ==> Master Data ==> Preprations for Creating Vendor Master Data ==> Change message control for Vendor Master Data
Give message numbers 144 and 145
Put I (Information) for Online as well as batch.
I would not recommend you put E (Error) as there are possibility that there may be vendors or customers with the same name exists in your business.
Hope this solves your problems otherwise please let me know.
Regards,
Ravi -
Hi,
We deleted Master data in the system with help of deletion program, now I need to check whether any data existed or not, how can search for that plz let me know if any ..
Thanks in advance.Hi Sadna
You can see the changes made in infotypes using the following report
S_AHR_61016380 - Logged Changes in Infotype Data
I am not sure this will solve your purpose.
Regards
Santhosh.S -
How to maintain master data attribute of 0WS_QUEST & 0WS_QSTNNR SRM Web Sur
Hello All,
We are implementing BI reporting based on SRM Adhoc analysis.
Info-object 0WS_QUEST & 0WS_QSTNNR has both Master data & Text.
I could only find the Text data source in system for 0WS_QUEST (0WS_QUEST_TEXT) & for 0WS_QSTNNR (0WS_QSTNNR_TEXT).
Is the Master data for 0WS_QUEST & 0WS_QSTNNR is maintained via ETL ? If so, what data source need to be used ?
Or Master data for 0WS_QUEST & 0WS_QSTNNR is maintained with in BW via some special transaction ? If so, what is the T Code to be used ?
For Example - Like for 0SR_VE_GID1 - Master data maintenace via T Code - SRM_VE_GROUPING & Text via ETL (Data source 0SRM_VEGRID_TEXT)
Appretiate your input.
Thank you very much in advance.
Regards,
VireshDear All,
The text flow for 0WS_QUEST & 0WS_QSTNNR is sufficient to make available Criteria from source system questionnaire in BW.
After the text load (even it does not generate SID) we can already use Tcode SRM_VE_GROUPING & SRM_VE_WEIGHTING for customization of groupping and weighting in BW.
Regards,
Viresh
Maybe you are looking for
-
Error in Updating Billing Docs
Hi Gurus, When i'm updating the some billing docts in VBOF, the system thros the "No correction due to value change" error. Can u tell me what is the problem? cheers, Sumith
-
Compare all records in a table
Hi, I have this table CRN Building Room 1 TH 100 2 TH 100 3 MC 200 4 MC 200 5 MC 100 6 DA 300 7 TH 100 Output: Table Course CRN Building Room 1 TH 100 2 TH 100 7 TH 100 3 MC 200 4 MC 200 I want to go through the whole table and and select 2 or more c
-
Ipad displays "ipad is disabled connect to itunes", I have tried putting the ipad into recovery mode and then restoring but that does not work. I have also tried doing a hard reset of the ipad and that does not work either. Any ideas? My son let one
-
Exporting an Existing form as XML
I want to export an existing form (Item master form) as XML so I can make some changes to it and replace existing with my new one... but... I have tried copying to file and to clip board using following code but I cannot get the XML data 'To File Dim
-
Picking list cannot preview in Sales Order
Dear all expert, I encounter problem in sales order with picking list in logistic tab being marked. The system didn't allow picking list + order dialog box to allow to be choose & print. There is similar setting & environment for another two companie