简体   繁体   English

要在 SAP 连接器中读取的字段传递的参数:读取 SAP 表(预览版)

[英]Parameter to be passed for Field to read in SAP connector: Read SAP table(preview)

I am not able to fetch multiple columns/fields from SAP table using Read SAP table(preview) action in Logic app.我无法使用逻辑应用程序中的读取 SAP 表(预览)操作从 SAP 表中获取多个列/字段。 I tried passing it as array but it is throwing an error: unexpected token StartArray.我尝试将它作为数组传递,但它引发错误:意外令牌 StartArray。 Path queries.fieldname.'.'路径查询.fieldname.'.' If we don't pass any parameter to fields to read, it is fetching all the rows.如果我们不将任何参数传递给要读取的字段,则它正在获取所有行。 Can you suggest me how can i fetch multiple field from Read SAP table(preview)你能建议我如何从读取 SAP 表中获取多个字段(预览)

It's not clear what the parameter should be to specify the fields.目前尚不清楚该参数应该是什么来指定字段。 As an alternative you can use the '[RFC] Call function in SAP'-connector and call the RFC BBP_RFC_READ_TABLE.作为替代方案,您可以使用“[RFC] 在 SAP 中调用 function”-连接器并调用 RFC BBP_RFC_READ_TABLE。

In the 'Input RFC parameters' you can specify the fields to return.在“输入 RFC 参数”中,您可以指定要返回的字段。

<BBP_RFC_READ_TABLE xmlns="http://Microsoft.LobServices.Sap/2007/03">
    <QUERY_TABLE>LAGP</QUERY_TABLE>
    <OPTIONS>
        <RFC_DB_OPT>
            <TEXT>LGNUM = '800' AND LGTYP = '001'</TEXT>
        </RFC_DB_OPT>
    </OPTIONS>
    <DELIMITER>;</DELIMITER>
    <FIELDS>
        <RFC_DB_FLD>
            <FIELDNAME>LGTYP</FIELDNAME>
        </RFC_DB_FLD>
        <RFC_DB_FLD>
            <FIELDNAME>LGPLA</FIELDNAME>
        </RFC_DB_FLD>
    </FIELDS>
</BBP_RFC_READ_TABLE>

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM