on 01-11-2013 10:59 AM
data : lt_link1 type table of .
data : ls_link1 type .
data : lt1_link1 type table of .
data : ls1_link1 type .
Due to the error in this data definition where types are missing, it is not possible to generate the DM.
We have tried regenerate all - SAP BASIS 7.10 and all objects of "MAS_CRMSALES_DMSWCV , 2.0 of SAP" again - same result.
Any new ideas are welcome - thanks
Br
Jacob
Hi Jacob,
Yes, you are right. This error mainly occurs due to metadata inconsistency. Perhaps the DM activation did not go through fine and then generation started.
Fixing this would be a hard thing to do actually.Is this occuring in the production system?
There is one thing we can try actually. I had faced this similar issue with one of our customer recently.
Regards,
Mohan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jacob,
There is a method in a class which we can execute which will delete all the metadata for the related tables. However please note, this is not a straight forward approach and is not recommended too.
By executing the method, it will remove the metadata entries in all tables for the DM and then if you
regenerate the DM, it will ideally generate fine.
Please drop me an email @ mohan.kumar01@sap.com and i will give you more details.
Regards,
Mohan
Jacob,
Your sytax shows the table is not referenced in the code. Change the class and regenerate.
This is how i have in my current live system.
"
data : lt_link1 type table of ZDOE05200200.
data : ls_link1 type ZDOE05200200.
data : lt1_link1 type table of ZDOE05200200.
data : ls1_link1 type ZDOE05200200.
"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there ZDOE05200200 table in your system?
CASE iv_rtbit.
WHEN 1 .
data : lt_link1 type table of ZDOE05200200.
data : ls_link1 type ZDOE05200200.
data : lt1_link1 type table of ZDOE05200200.
data : ls1_link1 type ZDOE05200200.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Masayuki
Yes, this table is in the system.
I have noticed something else. Examining the SAP BASIS 7.10 object using report SDOE_METADATA_CONS_CHECKS results in an inconsistence error. Result is
| 1 | DM | DISTMODEL_AGENTS | RMM attribute RECEIVERID does not exist in the system
We have regenerated the RMM objects using transaction code SDOE_RMM01
Br
Jacob
Hi,
Check in the table TMGN_OBJREG where name = ZDOE05200200.
If you don't have it and you have the table created, that means that you will need to regenerate Object ACTIVITY + DM associated to the objects.
The class generation program always checks table TMGN_OBJREG to know the name of the table types or other objects.
The possible reasons behind the missing information are a lot depending mostly on how you have generated the DM or data objects.
Regards
Hi,
We have tried that. Generations fails with the message "Error during pregeneration; regenerate DM for object" or something similar. It seem like that for solving the generation error in a DM we must generate the DM (which is not possible) - dead lock.
I think that the errror is related to the SAP BASIS component and the RMM object.
Hi,
Check following.
1. SDOE_RMM01 Check the class generated that everything is correct, if not regenerate.
2. SDOE_WB Check SWCV SAP BASIS 7.10 all data objects are consistent and all the DM is consistent.
3. SDOE_WB Check CRMSALES data object MAS_ACTIVITY. Regenerate the object.
3. SDOE_WB Make a full regeneration of your DM.
Post results please
Hi,
We have done that (latest to day) - which normally would work - but we are not able to perform step no 4 for all the DM. MAS_ACTIVITY ends with SYSFAIL as mentioned before due to inconsistency.
Again, the report verifying the consistence of SAP BASIS indicates an error in the DM for DISTMODEL_AGENTS (RMM attribute RECEIVERID does not exist in the system). This error is not found when performing a consistency check in SDOE_WB transaction. This just reports that the object is consistent.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.