ERP Sap Install

Per l'installazione delle librerie di comunicazione con SAP RFC PE1 (o QE1) su un nuovo server Franke seguire i seguenti passi:

inserire in fondo al file /etc/services le seguenti righe:

#SAP sapmsQE1 3600/tcp sapmsPE1 3600/tcp

decomprimere e copiare i files in **/usr/lib/* il seguente file: libsapjco3.zip

la piattaforma java dovrà essere avviata linkando anche il file jar contenuto nel seguente file compresso: sapjco3.jar.zip

Esempio di un file sh che avvia la piattaforma Java di SAP:

#!/bin/bash mv /tmp/java-sapnis.log /tmp/java-sapnis.old.log /usr/bin/java -cp /java/jar/next/iaf.jar:/java/jar/next/sapjco3.jar:/java/jar/next/sapnis.jar it.mynext.iaf.ia.xnetagents.xnetagents /etc/next/xnet_agents_sapnis.xml /etc/next/xnet_agents_sapnis.xml > /tmp/java-sapnis.log &

File di configurazione degli agenti per SAP (xnet_agents_sapnis.xml):

<?xml version="1.0" encoding="UTF-8"?> <!-- Document : etnconfig.xml Created on : 2 febbraio 2005, 18.30 Author : BERGANTINO Nicola Description: Purpose of the document follows. --> <xnetagents> <mtp name="nome_mtp" > <netmtp name="andon" host="127.0.0.1" port="5102" /> </mtp> <super_agents> </super_agents> <agents> <!-- Agente gestiore della comunicazione tra framework --> <agent lib="it.mynext.iaf.ia.iautiag.iautiag" create="agentNetMtp" live="1" name="netmtp"> <param name="class0" value="agdb" /> <param name="askp10" value="1" /> <param name="dirask0" value="1" /> <param name="tellp10" value="2" /> <param name="askout0" value="2" /> <param name="class1" value="tpevo" /> <param name="askp11" value="2" /> <!--1=PKT_SEM 2=REC_SEM 0=NONE_SEM --> <param name="dirask1" value="1" /> <param name="askout1" value="2" /> <param name="tellp11" value="2" /> <param name="dirtell1" value="0" /> <param name="class2" value="ctrlpc" /> <param name="askp12" value="0" /> <!--1=PKT_SEM 2=REC_SEM 0=NONE_SEM --> <param name="dirask2" value="0" /> <param name="askout2" value="2" /> <param name="tellp12" value="2" /> <param name="dirtell2" value="0" /> <param name="class3" value="tell_p1_rec" /> <param name="tellp13" value="2" /> <param name="class4" value="tell_p1_rec_ask_p12_pkt_out_pkt" /> <param name="tellp14" value="2" /> <param name="askp14" value="1" /> <param name="askp24" value="1" /> <param name="askout4" value="1" /> <param name="class5" value="tell_p12_pkt_ask_p12_pkt_out_rec" /> <param name="tellp15" value="1" /> <param name="tellp25" value="1" /> <param name="askp15" value="1" /> <param name="askp25" value="1" /> <param name="askout5" value="2" /> <param name="class6" value="tell_p1_rec_ask_out_rec" /> <param name="tellp16" value="2" /> <param name="askout6" value="2" /> <param name="class7" value="tell_p1_pkt" /> <param name="tellp17" value="1" /> <param name="class8" value="tell_p1_pkt_ask_p1_rec_out_rec" /> <param name="tellp18" value="1" /> <param name="askp18" value="2" /> <param name="askout8" value="2" /> <param name="class9" value="tell_p1_rec_ask_p1_rec_out_rec" /> <param name="tellp19" value="2" /> <param name="askp19" value="2" /> <param name="askout9" value="2" /> <param name="tmwait" value="7200000" /> <param name="ipaddr" value="ANY" /> <param name="port" value="5149" /> </agent> <!--Agente Java che si occupa di interagire con SAP--> <agent lib="it.mynext.agents.franke.sapnis.sapnis" create="agentSapNIS" live="1" name="sapnis"> <param name="agdb" value="jtpevodb" /> <param name="printloginfo" value="1" /> <param name="sapclient" value="100" /> <param name="userid" value="FFI_JCO" /> <param name="pwd" value="frankejco16" /> <param name="language" value="EN" /> <param name="dest" value="PE1" /> <!-- QE1 --> <param name="group" value="PE1_RFC" /> <!-- QE1_RFC --> <param name="hostname" value="frspe1ci.fa.franke.world" /> <!-- 10.249.2.44 |frsqe1ci.fa.franke.world (10.249.2.16) --> <param name="sysnum" value="00" /> <param name="fpathconn" value="sapconn" /> <param name="funcandon" value="/FOX/PP_ANDON_GENERAL" /> <param name="funcandon2" value="/FOX/PP_ANDON2" /> <param name="werks" value="FFI0" /> </agent> <!--Agente Java che si occupa di interagire con SAP per la gestione della tracciabilita' delle matricole--> <agent lib="it.mynext.agents.franke.sapnis.sapnis" create="agentAndonSapRFC" live="1" name="jandon"> <param name="agcol" value="coldata" /> <param name="agdb" value="jtpevodb" /> <param name="printloginfo" value="0" /> <param name="sapclient" value="100" /> <param name="userid" value="FFI_JCO" /> <param name="pwd" value="frankejco16" /> <param name="language" value="EN" /> <param name="hostname" value="10.249.2.44" /> <!-- value="10.202.1.54" --> <param name="sysnum" value="00" /> <param name="fpathconn" value="/home/next/sapconn" /> <param name="funcandon" value="/FOX/PP_ANDON" /> <param name="funcandon2" value="/FOX/PP_ANDON2" /> <param name="werks" value="FFI0" /> <!-- I lotti creati prima di questo TM vengono cancellati e ricreati perchè SAP può duplicarli 1470002400=2016-08-01 --> <param name="tmsellot" value="1470002400" /> <param name="pparam" value="0" /> <param name="tm" value="1000" /> </agent> </agents> </xnetagents>