Application Development 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: 

Map excel cells to BAPI

Former Member
0 Kudos

Hi...

I am trying to map excel cells to a specific BAPI...

can anyone please give me an example of how to do this?

thanks much

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Brian,

You need to first read the Excel contents into an internal table,

there are many function modules available for this,

e.g. TEXT_CIONVERT_XLS_TO_SAP,

ALSM_EXCEL_TO_INTERNAL_TABLE, etc.

then once you get the data into the internal table, you can filter the

reqd data and pass it to the BAPI.

Regards,

Samson Rodrigues.

4 REPLIES 4

Former Member
0 Kudos

You need to read the excel file into an internal table and then map from internal table to your BAPI.

You can use FM GUI_UPLOAD to upload file into an internal table.

Former Member
0 Kudos

Former Member
0 Kudos

Hi Brian,

You need to first read the Excel contents into an internal table,

there are many function modules available for this,

e.g. TEXT_CIONVERT_XLS_TO_SAP,

ALSM_EXCEL_TO_INTERNAL_TABLE, etc.

then once you get the data into the internal table, you can filter the

reqd data and pass it to the BAPI.

Regards,

Samson Rodrigues.

0 Kudos

Hi Samson: Let me try that...thanks for the tip

brian