‎2014 Oct 23 10:02 AM
Hi,
I tried to create a persistent class for the table SNWD_COMPANY (from the Enterprise Procurement Model).
However, when I try to map the column COMPANY_NAME to an attribute I get the error message
Message no. SOS_MAPPING147
Well, I don't find a way to specify a type for the column (which has a predefined type of CHAR(80) instead of using a data element) on the mapping screen.
Do I miss something on the mapping screen? Is there another work-around available for cases like this?
Thanks in advance.
Regards,
Valentin
‎2014 Nov 03 9:41 AM
Hi Valentin,
SNWD_COMPANY is a table which has only one entry in the Enterprise Procurement Model. The table represents the main company name, logo etc. For tests with persistency classes you should use SNWD_AD. This is an address table and it has no associations to any other tables. All fields here have data elements defined.
After you have done your tests you should regenerate data by using the data generator:
After this all EPM tables are filled with valid values. It may happen that you want to recreate data from time to time - for that use "recreate" selection in master data.
For more information see also http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0a7f673-59da-2f10-6e8b-bc7fe5dd4...
Regards,
Stefan
‎2014 Nov 03 9:41 AM
Hi Valentin,
SNWD_COMPANY is a table which has only one entry in the Enterprise Procurement Model. The table represents the main company name, logo etc. For tests with persistency classes you should use SNWD_AD. This is an address table and it has no associations to any other tables. All fields here have data elements defined.
After you have done your tests you should regenerate data by using the data generator:
After this all EPM tables are filled with valid values. It may happen that you want to recreate data from time to time - for that use "recreate" selection in master data.
For more information see also http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0a7f673-59da-2f10-6e8b-bc7fe5dd4...
Regards,
Stefan
‎2014 Nov 04 8:27 AM
Hi Stefan,
Thanks for your reply. I am aware of the fact that I can use different tables for tinkering with the Object Services. However, if I want to use the Object Services in a real-world project I may not be able to use different tables.
That is why my question is about the limitation of the Object Services.
Kind regards,
Valentin
‎2014 Nov 18 9:20 AM
Hi Valentin,
there is no workaround in the mapping screen.Tables to be mapped to persitence classes must not have fields with predefined types.
Best Regards,
Stefan
‎2014 Nov 19 11:33 AM