Problem solve Get help with specific problems with your technologies, process and projects.

Defining a structure in a report

How do I define a structure in a report?

How do I define a structure in a report?
I assume you've looked at the technical information for a field on a screen, which contains the data you wish to find programmatically. And you've found that, rather than a table, you've got a structure name. This is because with screens, the table or structure name provided merely defines a holder for the field value. If you see a table name, then that is just fortunate -- the system is simply using the table name to provide a structure for the data. But it could be populated from anywhere.

For example, I could define a screen with a field mara-matnr. In the PBO, I could have some code that says "MARA-MATNR...

= 'MY_MATERIAL'". When the screen is displayed, the field will contain the value 'MY_MATERIAL'. At no point has a database read been done.

So, how can you find where the fields are actually populated? The most widely used tools are SQL Trace, Run Time Analysis and of course the debugger. These techniques, and others, are widely available across the Internet.

This was last published in April 2008

Dig Deeper on SAP workflow development

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.