Skip to Content

Selection Screen

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 23, 2008 at 07: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.

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.