在服务层中获取SpecialDocumentLines的问题

2020-08-23 04:20发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)当我包含选择语句时,从服务层调用...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


当我包含选择语句时,从服务层调用获取SpecialDocumentLines时遇到问题。

使用此查询:

 https://connection/b1s/v1/Orders(40)

我得到了完整的对象,并且可见的DocumentSpecialLines。

" DocumentSpecialLines":[
         {
             " LineNum":0,
             " AfterLineNumber":2
             " OrderNumber":1
             " LineType":" dslt_Text",
             "小计":null,
             " LineText":" TEST",
             " SubtotalFC":null,
             " SubtotalSC":null,
             " TaxAmount":null,
             " TaxAmountFC":null,
             " TaxAmountSC":null,
             " Freight1":null,
             " Freight1FC":null,
             " Freight1SC":null,
             " Freight2":null,
             " Freight2FC":null,
             " Freight2SC":null,
             " Freight3":null,
             " Freight3FC":null,
             " Freight3SC":null,
             " GrossTotal":null,
             " GrossTotalFC":null,
             " GrossTotalSC":null
         },
         {
             " LineNum":1
             " AfterLineNumber":2
             " OrderNumber":2
             " LineType":" dslt_Text",
             "小计":null,
             " LineText":" Test2",
             " SubtotalFC":null,
             " SubtotalSC":null,
             " TaxAmount":null,
             " TaxAmountFC":null,
             " TaxAmountSC":null,
             " Freight1":null,
             " Freight1FC":null,
             " Freight1SC":null,
             " Freight2":null,
             " Freight2FC":null,
             " Freight2SC":null,
             " Freight3":null,
             " Freight3FC":null,
             " Freight3SC":null,
             " GrossTotal":null,
             " GrossTotalFC":null,
             " GrossTotalSC":null
         }
     ]
 

当我使用此查询时:

 https://connection/b1s/v1/Orders(40)?$ select = DocumentLines,DocumentSpecialLines 

我没有得到任何结果:

" DocumentSpecialLines":[] 

但是我仍然收到DocumentLines的结果。

关于为什么会发生这种情况的任何想法?

1条回答
微wx笑
2020-08-23 04:45

我正面临着同样的问题,您找到任何解决方案了吗?

此致

一周热门 更多>