11-06-2007 8:32 PM
hi,
i wrote one bapi to extract data from sap 4.7?
after writing the source code in se37?
how to test the bapi..
how to debug that code?
plz give brief steps?
thanks
Ruban
11-06-2007 9:48 PM
11-06-2007 8:36 PM
Hi,
For testing
SE37-->type bapi name --> F8 --> F8
For debug & testing
SE37-->type bapi name --> F8 --> Ctrl+F7
a®
11-06-2007 8:41 PM
Hi,
You can use Test Sequences (SE37) to test your custom BAPI along with BAPI BAPI_TRANSACTION_COMMIT.
1. Go to SE37.
2. Enter Function Module with your BAPI.
3. Go to Menu: Function Module -> Test -> Test Sequences.
4. Enter your BAPI name and next enter BAPI_TRANSACTION_COMMIT.
5. Click on Execute button.
6. Click on Execute button to run the test sequences. To debug, click on
Debugging button.
Regards,
Ferry Lianto
11-06-2007 9:32 PM
hi,
I developed ZBapi (remote enabled Function module ) to extract PO
after writing the code..i have to activate...or before that i have to check or debug?
thanks
Ruban
11-06-2007 9:34 PM
Hi,
First you need to activate and if any errors found clear then activate
then go for testing and debuging
a®
11-06-2007 9:37 PM
Hi,
You need to check (CTRLF2) and activate (CTRLF3) in order to find out any syntax error occured for your ZBAPI.
Once eveything is fine then you can start testing or debugging your ZBAPI.
Regards,
Ferry Lianto
11-06-2007 9:48 PM
11-06-2007 9:58 PM
Hi folks,
Thanks for ur replies..
when i press test/execute button in Zbapi
I am getting REC target (no need to give anything here)
what about test data, i have to get it from function guys..how to get test data?
in the import parameters(EBELN field) and Tables (ekko, EKPO,EKET,ADRC,EKKN)
what i have to fill in?
This bapi i am going to use..i am going to give other middleware people to use?
11-06-2007 9:59 PM
11-06-2007 10:02 PM
Hi,
You as technical person goto ser11--> type EKKO and display table entries and find any EBELN value and paste into import parameter of the RFC and press F8 , and check whether you are getting values in tables?
a®s.
11-06-2007 10:02 PM
hi,
actually i created remote enabled Z function module not ZBAPI..
Thanks
Ruban
11-06-2007 10:23 PM
hi ars,
I could not able to assign points bec assigning point option is not active.
later if it is active i will assign points for all answers..
Thanks for ur immediate response.
Ruban
11-06-2007 10:29 PM
hi,
when i went to se11..> typed EKKO table then display table
but i could not find any values..bec here i will get only that table field name and data element?
how to get the values for EBELN field?
Thanks
Ruban
11-08-2007 7:13 AM