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

Map excel cells to BAPI

Former Member
0 Likes
670

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
Read only

Former Member
0 Likes
625

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
Read only

Former Member
0 Likes
625

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.

Read only

Former Member
0 Likes
625
Read only

Former Member
0 Likes
626

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.

Read only

0 Likes
625

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

brian