Application Development and Automation 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: 
Read only

Different fields in recording

Former Member
0 Likes
532

Hi,

Wanted to know if we can have a data transfer (call transaction or sessions method), where we can pass records of data with different view for different records. Ex: we are uploading material master using MM01. If our flat file has data records such that the first record requires few fields from basic data 1 and some other record requires some fields from basic data 2.. like that.

In a nutshell, the fields to be updated for all the records are not uniform. So how to handle this in recording.

Hi,

Wanted to know if we can have a data transfer (call transaction or sessions method), where we can pass records of data with different view for different records. Ex: we are uploading material master using MM01. If our flat file has data records such that the first record requires few fields from basic data 1 and some other record requires some fields from basic data 2.. like that.

In a nutshell, the fields to be updated for all the records are not uniform. So how to handle this in recording.

3 REPLIES 3
Read only

Former Member
0 Likes
495

Hi Jayadeep,

Yes , your requirement can be done.

When that particular screen field of the view is selected , you will fetch the values based on that view from the flat file.

Write that if statement in the loop of the internal table which contains the values of the flat file.

So that requirement can be done.

reward points if useful.

Read only

0 Likes
495

Ahmed,

How do u take care of the recording part. i.e dynamically recording fields based on the data in your flat file as the records in ur flat file have got different fields to be uploaded.

I am talking of a scenario where you have only one flat file.

Moreover can we have an internal table where the data is dynamic in nature, that is the data fields and their length

are not uniform. Can we have an internal table where in some records have 10 fields while some may have 20 or 25

Read only

0 Likes
495

Yes u can record all fields according to the flatfile even if some fields are blank just record them while recording