2013 Nov 21 11:04 AM
Hi Abapers,
I want to test the bapi BAPI_ACC_DOCUMENT_POST in se37 i have given the necessary inputs to the fields but in the results table it is showing the errors . It would be helpfull if anyone can give suggestions.
regards ,
Ajit.P.
Hi Abapers,
I want to test the bapi BAPI_ACC_DOCUMENT_POST in se37 i have given the necessary inputs to the fields but in the results table it is showing the errors . It would be helpfull if anyone can give suggestions.
regards ,
Ajit.P.
2013 Nov 21 11:22 AM
2013 Nov 21 11:40 AM
2013 Nov 21 11:47 AM
Hi Ajit,
If it is giving errors you need to clear those errors no other go.. Also each system config is different so it will be difficult to know what could be reason. Also unless you post what errors you are getting how can you expect a solution.
Mostly a BAPI fails if data is missing. Check if you are passing all necessary parameters, generally in foreground the data needed is less and BAPI you need to pass all the data.
Regards
2013 Nov 21 12:20 PM
Hi Smruthi ,
i am getting the above error.
obj-typ = bkpff i was giving.
regards
Ajit P.
2013 Nov 21 12:33 PM
Hi Smruthi ,
i am getting the above error.
obj-typ = bkpff i was giving.
regards
Ajit P.
2013 Nov 21 12:51 PM
Hi Ajith,
Before testing one BAPI or FM, make sure that you know what are the mandatory input fileds.
seems that, in the BAPI you mentioned, the import parameter DOCUMENTHEADER' and the table 'CURRENCYAMOUNT' are mandatory items.
make sure you enter the correct input to retrieve the output
2013 Nov 21 1:07 PM
Hello,
As specified by Sebin, check all the mandatory fields needed. This can be done by looking up the function in transaction BAPI.
Also, if you want to test it in SE37, don't forget that you will need to call BAPI_TRANSACTION_COMMIT afterwards. This is possible by using a test sequence.
menu Function Module -> Test -> Test sequence
write in the list of modules then execute. It is not very friendly so, once you execute the function module and see the results, hit BACK to execute the next one.
Hope this helps.
2013 Nov 22 5:02 AM