Good News...

I have it working now using the 7.3 interface and the 7.4.  It turned out to
be a scope problem in my Python code.

I would note that they have apparently changed the name of the module for
7.4 from the sapdb referenced in the docs to sql.

Being new to both Python and SAPDB this threw me off the scent early.

In order to use the Python interface you must now use 'import sql' (7.4
package) as opposed to 'import sapdb' (7.3 Package)  if you are using the
7.4 package.

There is also some discrepancy with the instructions --- They all reference
import 'sapdb.sql'. This does not seem to work at all.

Happy days are here again...

Brett


"Brett Cusaac" <[EMAIL PROTECTED]> wrote in message
b2n6q1$ppo$[EMAIL PROTECTED]">news:b2n6q1$ppo$[EMAIL PROTECTED]...
> I am having great difficulty getting the sapdb python to connect.  I get
an
> error that global name 'sapdb' is not defined.
>
> Any help is appreciated.
>
> I am using Python 2.2 and the 7.3 interface.  I have tried the 7.4 and
there
> does not seem to be an sapdb file even though the documentation seems to
> point to one.  I read on the posts somewhere that the 7.3 should work?
>
> Regards,
> Brett Cusaac
> [EMAIL PROTECTED]



_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to