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

BAPI test data help

Former Member
0 Likes
484

Hi experts

i need to test BAPI 'BAPI_GOODSMVT_CREATE' with 50 items, manually entering data is time consuming. now we got the data in Excel sheet from legacy system data,this data structure same as GOODSMVT_ITEM data structure.

please can you tell me how can i easy and direct uplaod or past the xl sheet data to GOODSMVT_ITEM table in test case.

Thanks & Regads

rao

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
417

Hi,

1. Create a test program and declare an internal table structure type GOODSMVT_ITEM

2. Upload the test data into an Internal table of structure type GOODSMVT_ITEM.

using GUI_UPLOAD fn module in the test prgm

3. Call bapi 'BAPI_GOODSMVT_CREATE' by passing the internal table.

This way u can test the BAPI.

Reward points if useful.

Regards,

Monica

2 REPLIES 2
Read only

Former Member
0 Likes
418

Hi,

1. Create a test program and declare an internal table structure type GOODSMVT_ITEM

2. Upload the test data into an Internal table of structure type GOODSMVT_ITEM.

using GUI_UPLOAD fn module in the test prgm

3. Call bapi 'BAPI_GOODSMVT_CREATE' by passing the internal table.

This way u can test the BAPI.

Reward points if useful.

Regards,

Monica

Read only

0 Likes
417

thanks for your reply

this method i know,, i want to test directly from SE37 TCODE with out creating test program.

is there any other method please let me know.