17.08.2013 Views

Data Interfaces

Data Interfaces

Data Interfaces

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Outlook: Working with Business Objects<br />

Example of processing SAP business objects<br />

Set oBOF = CreateObject("SAP.BusinessObjectFactory")<br />

blnLogged = oBOF.Logon<br />

Set boWhoAmI = oBOF.GetSAPObject("USR01", "MUELLER")<br />

...<br />

oBOF.Logoff<br />

blnLogged = False<br />

© SAP AG<br />

In the above example, a factory object is generated first. Logon to the R/3 System is performed with the<br />

“Logon” method.<br />

Then, the R/3 business object "USR01" is accessed with the key field value "MUELLER".<br />

Before logoff from the R/3 System, the business object can be processed.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!