Re: [PHP] SAP documentation

2002-10-31 Thread Gerald Roehrbein/Pctdmn

Hello,

you can access SAP tables direct via the native database interface for 
example via the Oracle interface.
All you have to know is what is inside the different tables and you have to 
get the password or a read only account to SAP tables from your DBA. ;-)

For example the creditor tables are bsik (open bill) and bsak (paid bill, 
when I remember correct)  and debitor tables are bsid and bsad and parts of 
adresses are stored in table kna1 and so on.

Good luck. I've done a lot of coding with direct access to SAP. It works, 
it's fast and it's not proprietary and you do not have to spend tons of 
money for SAP ABAP lessions.

best regards
Gerald




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] error connecting to oracle.

2002-10-28 Thread Gerald Roehrbein/Pctdmn

Hello,


at Solaris and Windows NT it's first necessary to install the Oracle Client 
software and then to configure PHP properly the way it is documented!
I've done until know only three PHP installations with Oracle support but 
all three installations where very simple!

Remember you have to set the Oracle Environmentvariables ($ORACLE_BASE, 
$ORACLE_HOME, $TNS) before starting the WEB Server or PHP! For 
apchache you can do this in apachectl or a subroutine you call from 
apachectl. In a windows environment you have to set the variables with the 
appropriate tools (System/Environment/Add Variables)!

In my cases this was  everything to do. Try your Oracle Client Installation 
with tnsping and sqlplus at your machine! This should work before you try 
to configure PHP.

best regards
Gerald


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] ldap_add problem

2002-10-28 Thread Gerald Roehrbein/Pctdmn

Hello,

it's possible that attribute that have to use during an add do not exist.


For example from core.schema a programmer can retrieve information of the 
attribute that must exist for a objectclass
and the attributes that can given for a class like person. As an example of 
an entry of the slapd core.schema have a look
at the next three lines:

--from SLAPD core.schema---
objectclass ( 2.5.6.6 NAME 'person' SUP top STRUCTURAL
MUST ( sn $ cn )
MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )
---

A programmer of SLAPD have to know all of the attributes and dependencies 
of the schema directory and in special cases a programmer
 can modify the schema to fit for special purpose. When using Netscape 
Directory Server slapd configuration is a little bit easier because
Netscape developed a good HTML based admin interface that allows to have a 
simple look at the object structure and to add, modify or delete 
everything in the LDAP schema.


Hope ist helps.

Best regards
Gerald




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php