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

Selection Screen

HariMaradana
Active Participant
0 Likes
401

Hi Experts,

I have a requirement that i need to read the column names from excel file and i need to map the right bapi structure.

Excel file header contains table field names like bapi structure fields. Basically user wants to add new columns in future.

My program should read the excel column names dynamically and should map to update BAPI structure.

I appreciate your inputs...Need very urgent.

Thanks

Cris

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
377

Hi, in your scenario conversion probrlem will occur. So do the following thing as,

First open the excel file and select all the data and click FORMAT->AUTOFORMAT.Then click 'SAVE AS'. Save the file as Text(Tab Limited). Then upload the data.

It will help you in some ways to meet your requirement.

Regards,

Sankar.

2 REPLIES 2
Read only

Former Member
0 Likes
378

Hi, in your scenario conversion probrlem will occur. So do the following thing as,

First open the excel file and select all the data and click FORMAT->AUTOFORMAT.Then click 'SAVE AS'. Save the file as Text(Tab Limited). Then upload the data.

It will help you in some ways to meet your requirement.

Regards,

Sankar.

Read only

0 Likes
377

Hi sankar,

Thanks for your prompt reply. As you said conversion problem will not occur if i use field symbols.

Actually i am asking how to read the excel columns dynamically and how i can map columns to bapi structure fields.

For your information i am maintaining excel column names with bapi structure fields.

For example in excel column names like vbeln posnr and these should be mapped to my bapi structure. In future if i add quantity in excel my program should read that too and map.

I hope you can understand my problem...

Thanks

Cris