2006 Jun 30 7:39 AM
Hi,
How to create variants while testing BAPI.
Pls help
Thankx in advance
Ram
2006 Jun 30 7:46 AM
While executing the BAPI you can save the test data by clicking on save button after entering the data in the parameters. The same can be retrieved by clicking on the TEST DATA DIRECTORY.
Regards,
Ravi
Note :Please mark the helpful answers
2006 Jun 30 7:46 AM
Hi,
First have a Test Sequence, from menu Function Module ->Test->Test Sequence
Now one popup comes , here you can enter your BAP after that you enter BAPI_TRANSACTION_COMMIT .and then enter.
then input all BAPI prameters , then Press Save Button. then create entry.save it. this will create a variant. now you can use this variant for future also.
Regards
vijay
2006 Jun 30 7:48 AM
Hi,
<b> 1 </b>. Execute the BAPI from se37.
<b> 2 </b>. Key values to be passed in the attributes.
<b> 3 </b>. Press SAVE
<b> 4 </b>. give any name.
<b> 5 </b>. Execute.
The next time you excute the BAPI, you can pick up the variant name and execute.
Rgds,
Jothi.
Pl close the thread if your problem is solved.
2006 Jun 30 7:48 AM
Hi ,
first you need to write a pgm using hat BAPI.
then you have to create a selection screen for all the input parameters of that BAPI.
then goto se38-> check variant-> change -> enter variant name -> create
Regards,
Sumit.
2006 Jun 30 7:50 AM
1. Go to Tr cd 'SE37'.
2. Give the name of the FM
3. Press execute
4. Then choose 'Save data record' from main menu.
5. Fill data.
6. Then you will get this data from 'Test data directory' and you can use it as varient.
Regards,
Subhasish
2006 Jun 30 7:54 AM
Hai Prabha
While Executing your BAPI press F8 Button
then give what are the Required Parameters for thet BAPI
Then Press on Save Button
it asks the comment Line to be filled
That is your Varient Name
Give some meaningful Name
and save it
again you want to run that BAPI
just press on F8 then click on 'Test Data Dictionary' Tab
That it.
Thanks & Regards
Sreenivasulu P