def __init__(self): self.sap_connection = current_sap_connection()
def insert_employee(): sap_conn = current_sap_connection() for employees in get_data_from_file(batch_count): rv = sap_conn.call("ZEMPLOYEE_INSERT", EMPLOYEES=employees) print(rv["RET"])