Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Query regarding data extraction

Hello All,

I am new to ABAP development. I have been assigned to work on a report, where I have to fetch data for a SC, which will be extracted into an flat file.

Now my requirement is as below:

Each shopping cart will have a number of different records. The records are of the following types

Header – Marked with record type = “HEAD”

Line item – Marked with record type = ”ITEM”

Accounting line – Marked with record type = ”ACC”

Approval record – Marked with record type = ”APP”

Now in this manner I have to fetch the data in an single flat file. Now I am really confused how I am going to do it. I have the tables for header, item, accounting line, approval records. Now my question is am I have to 1st fetch data for header then line then accounts and approval then join this into my final internal table?? Is this the correct approach?

I am a beginner and your help will be highly appreciated.  

I have attached a flat file for your reference.

Regards,

Sarnava

Former Member
Not what you were looking for? View more on this topic or Ask a question