add 2 fields to your main form ItemCode and ItemName
and give them a good name like:
txt_itemcode
txt_itemname
add a button to the main screen and double click on it. now we will add code in the next step.
to test the output you need to query your sql server eg:
select ItemCode,ItemName FROM OITM Where ItemCode = ‘YOUR_ITEM_HERE’
if the data is changed you have succefully connected to the api.
if you want more info about software dev in sap you need to download SAP SDK this will install the documentation in the following location:
C:\Program Files (x86)\SAP\SAP Business One SDK\Help