The first thing you can do is to search this forum using the keywords.. you will get a solution most of the times (80%)..
Else you can try in the Transaction BAPI...
Even if that does not work out
Go to SE37 give some keywords and search for a FM yourself.
Eg: BAPI * STOR * and press F4 it will give you possible FMs... Now you need to check the documentation for that BAPI..
Hope it is of some help.