Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to find a way to familiarize myself with the structure and content of the database that sits behind a SAP PLM system

Former Member
0 Kudos

I am trying to find a way to familiarize myself with the structure and content of the database that sits behind a SAP PLM system via the SAP GUI (no direct access to the database) without the risk of inadvertently changing anything.

I currently have permissions that allow me to run the SE16 transaction (data browser) but all of the data export functionality has been disabled. I have seen mention of transaction code SE12 (ABAP Dictionary Display) on various forums, which sounded promising but I was refused permissions to access it by the person who has to sign off all requests for accounts or changes to permissions on the project.

Should I persist with trying to get access to the SE12 transaction?

Are there other transactions I should be considering trying to get access to in addition to or instead of SE12?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Patrick,

Firstly, no-one ever accesses the SAP database via anything other than the GUI.  Think about the broad spectrum of referential integrity and consider that lots of this is managed by application code that sits above the database itself, rather than database level constraints, and you realise that interacting directly with the database underneath an SAP system is asking for trouble.  SE11 and SE16 are the two transactions you will need to achieve this in the GUI.  As Arden suggests, getting access to these in the DEV system in your landscape should be easy.  If your authorisations manager is saying no, ask them to justify why.

Being blunt, I'd question the value of this endeavour.  SAP is, in very, very simple terms, a massive relational database with lots of application code hanging it all together.  Over the years, I've encountered a number of people trying to map or model the underlying SAP database schema and typically, they are barely scratching the surface before they realise the futility of the task!  When I say massive, I mean really massive.  Think 10's of thousands of tables, if not more.  Even a single module in SAP, such as PLM, could be made up of hundreds or more database objects.  And that's before we get to all of the other data dictionary objects such as views, structures, lock objects, domains, etc. etc...

Having said all this, I really don't think you are approaching SAP in the right manner and will quickly burn a lot of time getting nowhere.  Maybe it would help us to help you more if you briefly explain why you want to understand the whole data model?

Cheers,

G.

p.s. This isn't really an ABAP question and would normally be rejected or moved to another space, however for the moment, until we understand what you are really trying to do, I'll leave it here.

5 REPLIES 5

Former Member
0 Kudos

Hi Patrick

Try getting access via the Development System.

You can also use SE11 to view a Structure, but keep in mind there is no data stored in a Structure. Effectively they are "Populated" programmatically at run time for the given process...without the data actually being stored there..

Hope this helps.

Regards

Arden

Former Member
0 Kudos

Hi Patrick,

Firstly, no-one ever accesses the SAP database via anything other than the GUI.  Think about the broad spectrum of referential integrity and consider that lots of this is managed by application code that sits above the database itself, rather than database level constraints, and you realise that interacting directly with the database underneath an SAP system is asking for trouble.  SE11 and SE16 are the two transactions you will need to achieve this in the GUI.  As Arden suggests, getting access to these in the DEV system in your landscape should be easy.  If your authorisations manager is saying no, ask them to justify why.

Being blunt, I'd question the value of this endeavour.  SAP is, in very, very simple terms, a massive relational database with lots of application code hanging it all together.  Over the years, I've encountered a number of people trying to map or model the underlying SAP database schema and typically, they are barely scratching the surface before they realise the futility of the task!  When I say massive, I mean really massive.  Think 10's of thousands of tables, if not more.  Even a single module in SAP, such as PLM, could be made up of hundreds or more database objects.  And that's before we get to all of the other data dictionary objects such as views, structures, lock objects, domains, etc. etc...

Having said all this, I really don't think you are approaching SAP in the right manner and will quickly burn a lot of time getting nowhere.  Maybe it would help us to help you more if you briefly explain why you want to understand the whole data model?

Cheers,

G.

p.s. This isn't really an ABAP question and would normally be rejected or moved to another space, however for the moment, until we understand what you are really trying to do, I'll leave it here.

0 Kudos

Hi Gareth,

We have been asked to replicate legacy reports from the system that PLM is replacing (exact like for like replacement where possible). To assist in this I need to figure out what is stored in PLM so that we can figure out which reports can be replicated exactly and which will need amending. I am not however part of the team doing the design or implementation of the PLM system so I have very little knowledge of what has been implemented, nor do I have access to their design documents. All I have open to me is exploring the system using the functionality I have access to (the specification workbench and SE16).

I am only really interested in the PLM tables used to store data on specifications as these are what will be reported on. I know which table the header data for the specifications is stored in and I wanted to explore which tables it has relationships with so that I can figure out what additional information is being stored, and where it is stored. I would like to know this because we need to have some idea of what we want (both in terms of data and transforms required to that data) before we can continue discussions with the team implementing PLM because their first questions when we approached them initially was “what information do you want to extract to your BI system and what transformations do you want applied to it”, which is difficult for our team to answer because we don’t know exactly what the system does store, or how it stores it. Hence my desire to explore the system and create my own documentation around what is stored about specifications and how it is stored.

Regards
Patrick

0 Kudos

Hi Patrick,

Ok, it sounds like this is a much broader SAP implementation question.  It's too big a challenge to answer here however it sounds like the part of the puzzle missing is some SAP PLM functional knowledge, whether in the shape of in-house resource at your company or more likely from your implementation partner.  I'm surprised they don't have this in place...

You documentating what is stored in SAP PLM will be vastly slower and probably less effective compared to engaging with someone who already knows PLM inside and out, and can take your legacy requirements, BI requirements and mapping & transformation and pull it all together for you.

Alternatively, you may find some answers by googling SCN for specific PLM answers, however this won't be the most efficient approach either and you will still be doing battle with the old "you don't know what you don't know" issue.

I'd also argue that the team implementing PLM for you should be guiding you through this process, asking the correct questions and working with you to deliver a proper solution - just asking you to tell them what to do is very bad consulting practice IMHO.

Good luck!

Cheers,

G.

0 Kudos

Seconding everything Gareth wrote, you might get some insights from the respective space . There are many similar "newbie" questions, answered ones, there about which tables are used and the relationships between them. To avoid making this into a "do this rather than that", you should know that all document related data in SAP PLM is actually stored in SAP DMS, see the space for details on that. SAP PLM relies heavily on the Case Management API and a fair warning, it is complex to map with traditional data mapping because the underlying tables are never accessed without context and the table contents are usually XML encoded. Most of SAP PLM specific functionality exists in the Web UI (FPM, WDA) applications, Service Provider Infrastructure and assistance/utility classes.