‎2007 Aug 13 11:20 AM
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
‎2007 Aug 13 11:40 AM
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
‎2007 Aug 13 11:40 AM
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
‎2007 Aug 13 12:55 PM
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.