Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8644

Need to upload data from excel having header and item records in different rows.

$
0
0

Hi Folks,

 

I have a requirement where I have to create a PR using a BAPI, BAPI_PR_CREATE.

I have a customer excel file from which I need to get data into internal table and pass it to BAPI for PR creation.

 

Now the problem I am facing is that excel sheet contains records as:

 

Top row contains a column as Header- Document type.

Remaining Row/Rows contains Item data- Various fields (Can be 1 row or more rows)

 

How should I map the excel fields to internal table fields and get data in valid fields. Please help me with this logic.

Please look at the excel sheet in the attachment for clear understanding.

 

Thanks in advance for helping me out.

 

Best Regards,

Ankit


Viewing all articles
Browse latest Browse all 8644

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>