Skip to content

Commit

Permalink
#25 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bsrdjan committed Dec 8, 2017
1 parent 7b4601e commit 62a0098
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
10 changes: 7 additions & 3 deletions examples/clientStfcStructure.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

from pprint import pprint
import datetime
from ConfigParser import ConfigParser
try:
from ConfigParser import ConfigParser
except ModuleNotFoundError as e:
from configparser import ConfigParser

import sys

imp = dict(
Expand All @@ -17,9 +21,9 @@
RFCDATA1=u'k'*50, RFCDATA2=u'l'*50, # CHAR[50] each

RFCTIME=datetime.time(12,34,56), # TIME
RFCDATE=datetime.date(2012,10,03), # DATE
RFCDATE=datetime.date(2012,10,3), # DATE

RFCHEX3='\x66\x67\x68' # BYTE[3]: String with 3 hexadecimal values (='fgh')
RFCHEX3=b'\x66\x67\x68' # BYTE[3]: String with 3 hexadecimal values (='fgh')
)

def main():
Expand Down
13 changes: 8 additions & 5 deletions examples/sapnwrfc.cfg
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
[connection]
# sap system ip
ashost = x.x.x.x
ashost = 10.117.19.101
# sap client id
client = 001
client = 100
# sap router string, optional, format like /H/x.x.x.x/...
saprouter =
saprouter = /H/203.13.155.17/W/xjkb3d/H/172.19.138.120/H/
# sap system number
sysnr = 00
# sap username
user = xxx
user = demo
# sap password
passwd = xxx
passwd = Welcome
# language
lang = EN


[gateway]
# gateway host name
Expand Down

0 comments on commit 62a0098

Please sign in to comment.