BAPI_MATERIAL_GET_ALL - это BAPI или просто RF C? - PullRequest
0 голосов
/ 09 июля 2020

Я использую SWO_QUERY_API_METHODS для получения списка BAPI в системе SAP. Но я не получаю BAPI_MATERIAL_GET_ALL, CSEP_MAT_BOM_READ и, возможно, другие в этом списке. BAPI_MATERIAL_GET_ALL - это BAPI или просто RF C?

1 Ответ

1 голос
/ 09 июля 2020

Это определенно BAPI, потому что он находится в группе функций, названной бизнес-объектом BUS1001006 Стандартный материал

enter image description here

But I agree with Sandra this definition is very blurry as it was created long-long ago and is used hither and yon.

Use this module with version specification of when the BAPI was created. Depending on version the output varies.

CALL FUNCTION 'BAPI_MONITOR_GETLIST'
 EXPORTING
   SHOW_RELEASE            = '620'
 TABLES
   BAPILIST                = api
 .

Where to get version? Of course, by finding the module in BAPI transaction in the BUS1001006 section

enter image description here

Moreover, for your total confusion there are two different BAPIs almost identical in names: BAPI_MATERIAL_GETALL and BAPI_MATERIAL_GET_ALL, one older and one yonger, and the first marked as a wrapper for the latter.

It is a usual situation when SAP decided to revamp the API and left old stuff for legacy.

введите описание изображения здесь

Так что да, все сложно. Это всегда с SAP.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...