2

我们的供应商要求我们使用SAP Open Catalog Interface来订购商品。但是我们没有 SAP,所以我应该从头开始实施它。

有没有人这样做并愿意分享他的经验/提示从哪里开始等?

这是我关注的OCI 文档。

4

1 回答 1

7

我无法帮助您实施您的系统(过于宽泛且信息不足 - 并且与本网站无关 :))

但是我可以给出一个过程描述给你一个起点。

您的供应商必须向您提供 OCI 商店的链接(包括登录凭据)。您将带有着陆页的参数 hookurl 附加到此 URL。

所以你会得到类似的东西:

https://www.mysupplier.com/OCI/ocilogin?user=yourname&password=yourpassword&hookurl=https://example.net/oci_receive_from_supplier_X

当您调用此 URL 时,它会将您定向到供应商的商店,您可以在其中选择材料。完成后,您不订购,但您请求订单数据,供应商将公式发送到您的挂钩https://example.net/oci_receive_from_supplier_X

公式数据可能如下所示:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
<form name="SUBMITFORM" action="https://example.net/oci_receive_from_supplier_X" method="post" id="SUBMITFORM">
<input type="hidden" name="NEW_ITEM-MATNR[1]" value=""> 
<input type="hidden" name="NEW_ITEM-QUANTITY[1]" value="0000000000001"> 
<input type="hidden" name="NEW_ITEM-DESCRIPTION[1]" value="article description"> 
<input type="hidden" name="NEW_ITEM-VENDORMAT[1]" value="4711"> 
<input type="hidden" name="NEW_ITEM-PRICE[1]" value="56.95"> 
<input type="hidden" name="NEW_ITEM-CURRENCY[1]" value="EUR"> 
<input type="hidden" name="NEW_ITEM-UNIT[1]" value="PCE"> 
<input type="hidden" name="NEW_ITEM-LEADTIME[1]" value="5"> 
<input type="hidden" name="NEW_ITEM-LONGTEXT_1:132[]" value="article description"> 
<input type="hidden" name="NEW_ITEM-VENDOR[1]" value="987654"> 
<input type="hidden" name="NEW_ITEM-CONTRACT[1]" value=""> 
<input type="hidden" name="NEW_ITEM-CONTRACT_ITEM[1]" value=""> 
<input type="hidden" name="NEW_ITEM-MATGROUP[1]" value="12345678"> 
<input type="hidden" name="NEW_ITEM-EXT_CATEGORY_ID[1]" value="12345678"> 
<input type="hidden" name="NEW_ITEM-EXT_SCHEMA_TYPE[1]" value=""> 
<input type="hidden" name="NEW_ITEM-CUST_FIELD1[1]" value=""> 
<input type="hidden" name="NEW_ITEM-CUST_FIELD2[1]" value=""> 
<input type="hidden" name="NEW_ITEM-CUST_FIELD3[1]" value=""> 
<input type="hidden" name="NEW_ITEM-CUST_FIELD4[1]" value=""> 
<input type="hidden" name="NEW_ITEM-CUST_FIELD5[1]" value=""> 
<input type="hidden" name="NEW_ITEM-MATNR[2]" value=""> 
<input type="hidden" name="NEW_ITEM-QUANTITY[2]" value="0000000000001"> 
<input type="hidden" name="NEW_ITEM-DESCRIPTION[2]" value="other article description"> 
<input type="hidden" name="NEW_ITEM-VENDORMAT[2]" value="4712"> 
<input type="hidden" name="NEW_ITEM-PRICE[2]" value="65.07"> 
<input type="hidden" name="NEW_ITEM-CURRENCY[2]" value="EUR"> 
<input type="hidden" name="NEW_ITEM-UNIT[2]" value="PCE"> 
<input type="hidden" name="NEW_ITEM-LEADTIME[2]" value="5"> 
<input type="hidden" name="NEW_ITEM-LONGTEXT_2:132[]" value="other article description"> 
<input type="hidden" name="NEW_ITEM-VENDOR[2]" value="987654"> 
<input type="hidden" name="NEW_ITEM-CONTRACT[2]" value=""> 
<input type="hidden" name="NEW_ITEM-CONTRACT_ITEM[2]" value=""> 
<input type="hidden" name="NEW_ITEM-MATGROUP[2]" value="12345678"> 
<input type="hidden" name="NEW_ITEM-EXT_CATEGORY_ID[2]" value="12345678"> 
<input type="hidden" name="NEW_ITEM-EXT_SCHEMA_TYPE[2]" value=""> 
<input type="hidden" name="NEW_ITEM-CUST_FIELD1[2]" value=""> 
<input type="hidden" name="NEW_ITEM-CUST_FIELD2[2]" value=""> 
<input type="hidden" name="NEW_ITEM-CUST_FIELD3[2]" value=""> 
<input type="hidden" name="NEW_ITEM-CUST_FIELD4[2]" value=""> 
<input type="hidden" name="NEW_ITEM-CUST_FIELD5[2]" value="">
</form>
<script language="JavaScript" type="text/javascript">
 document.SUBMITFORM.submit();
</script>
</body>
</html>

现在,您的脚本必须提取订单数据,您可以随心所欲地使用它(启动审批工作流程,...),最后您可以订购(无论您想要什么。您可以启动 EDI 流程,或者发送订单传真...)但此订单流程在 OCI 本身之外。

于 2016-12-21T19:57:37.200 回答