‎2008 Mar 23 2:42 AM
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
‎2008 Mar 23 7:18 AM
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.
‎2008 Mar 23 7:18 AM
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.
‎2008 Mar 23 6:04 PM
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