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

Best way to create an internal table with different record types

What is the best way to create an internal table with different record types? Find out here.

What is the best way to create an internal table with different record types? For example, using the header record, detail record and trailer record. Is there something useful in the download function itself?
I assume the header, details and trailer records are of different structures. The most straightforward way to do this is to have seperate internal tables (or work areas, if single lines) for the header and trailer records, and the detail again in its own internal table. You pass all of the records to a structureless internal table of type character, with a large enough length to accomodate all your data. It is this table you pass to the download function.
This was last published in April 2005

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

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.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close