How bapi call in lotus and how pass parameter in bapi

Actuly i have a our custamize bapi in SAP BAPI Name : Y_BAPI_VALIDATE_LEAVE

Import parameters :


Parameter name Data type length


EMPLOYEENUMBER Number 8

START_DATE Date 8 (Format YYYYMMDD)

START_FULL_DAY Char 1 (1 for full day and blank for half day)

END_DATE Date 8 (Format YYYYMMDD)

END_FULL_DAY Char 1 (1 for full day and blank for half day)

LEAVE_TYPE Number 4

Export parameters :


Parameter name Data type length


LEAVE_DAYS Number 8 (will not give any data at this point of time)

OK_TAG Char 1 (‘Y’ for successful validation, ‘N’ for error)

TEXTLINE Char 255 (User message)

Problem is that how i call bapi ,

how i pass parameter in bapi.

how i catch error or return value thrown by bapi

plz help me if any body do this or give any idia regarding that .

Subject: how bapi call in lotus and how pass parameter in bapi

If java is your preferred choice, then have your SAP people get the SapJCO package from the SAP developer network (for your environment). By using this, you can easily do what you want (it builds on the sap gui libraries).

I think Lotus still has their toolkit for SAP connectivity in the LEI. This is another option.

regards

Daniel

Subject: RE: how bapi call in lotus and how pass parameter in bapi

We purchased the SAP Connector 1.7 and installed it on our server with LEI. You can use LEI to read SAP tables and use LSX to operate BAPI’s.

Subject: RE: how bapi call in lotus and how pass parameter in bapi

… or you could use SAPJCo like I described here: http://www.bizzybee.be/2007/10/10/how-to-use-sap-jco-in-domino-as-an-alternative-to-the-lotus-connector-for-sap/