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: 

Provide Loop logic

0 Kudos
309

I have a requirement ,

Example:Output will displays 7fields data ,

First record contains full fields data,

2nd record contains some of the fields data,

3rd also contains some fields data,

4th record contains data with full fields,

And approximately 500 records are there,

Full records comes everytime the data will be stored in one internal table,

Some records comes half fields data that data will be stored in another internal table

Iam trying but not find that logic,

If you know about this reply me

I expecting loop logic

3 REPLIES 3

former_member27
Community Manager
Community Manager
0 Kudos
248

Hi rchintu,

Thank you for visiting SAP Community to get answers to your questions.

As you're looking to get the most out of your community membership, please consider including a profile picture to increase user engagement & additional resources to your reference that can really benefit you:

Profile https://developers.sap.com/tutorials/community-profile.html

Tips for Questions: https://community.sap.com/resources/questions-and-answers

Consider taking our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html.

I hope you find this advice useful, and we're happy to have you as part of the SAP Community!

All the best,

Dedi

Regards,
Dedi Metser

Sandra_Rossi
Active Contributor
0 Kudos
248

I guess you have rewritten the description of the work which has been assigned to you, because I don't understand what you mean. Better provide the original problem as written originally. Possibly there could be a picture which would help to understand.

raymond_giuseppi
Active Contributor
0 Kudos
248

Is your requirement actually that: count number of not initial fields in each record, if 100 % fields are not initial save into table1, else if more than 50% save in table 2 else ignore record, seems strange IMHO.

What was the initial requirement?