In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how to use the function BAPISDORDER_GETDETAILEDLIST to read Sales Order line project data in S/4HANA, which has a certain reference value, and interested friends can refer to it. I hope you can learn a lot after reading this article.
The transaction code MM03 views the material master data, such as the line item data shown in the following figure, including material ID, description information, quantity, unit price, and so on:
Use the following code for line item reading:
DATA: ls_read TYPE order_view,lt_item TYPE TABLE OF bapisdit,lt_header TYPE table of sales_key.APPEND INITIAL LINE TO lt_header ASSIGNING FIELD-SYMBOL (). "represents the read line item ls_read-item = 'Xreply." The ID-vbeln passed into Sales Order = '0000000268'.CALL FUNCTION' BAPISDORDER_GETDETAILEDLIST'EXPORTINGi_bapi_view = ls_readTABLESsales_documents = lt_headerorder_items_out = lt_item.
The output line item information is saved in the inner table lt_item:
Where field MATL_GROUP: material group, type is MATKL,value table T023
ITEM_CATEG: item category . Type is PSTYV,value table TVPT
TAN stands for standard item:
REL_FOR_BI: indicates whether this sales order is related to billing, type FKREL.
Thank you for reading this article carefully. I hope the article "how to use the function BAPISDORDER_GETDETAILEDLIST to read Sales Order line project data in S/4HANA" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.