SAP MM:采購憑證中的抬頭和行項目問題報表


在SAP信息記錄、物料、PR、PO、SA、合同等的抬頭和項目中都有長文本的情況。那如何讀取到這些長文本呢?

長文本存儲在表 STXH和STXL中,但是通過組合這兩個表來取數還是有點麻煩。SAP中還可以用其他方式來獲取長文本內容。

以下假定取物料主數據的長文:

 

 點擊編輯圖標,進入編輯界面:

 

 點擊“轉到”->“表頭”:

 

 標准的物料采購訂單文本ID是BEST。

通過SE38執行程序RSTXTC3:

 

 執行后:

 

 點擊按鈕,可以查看文本內容:

 

 

 

 這個報表只能看到一行內容。如果要看多行,還得選中行,點擊圖標進入文本詳細界面查看。且這個查出來不能直接導出,也只能看到一行算是比較坑爹的。

其他的也類似都可以查看:

For Purchase Requisition – Header Level : Use Object = EBANH and Text ID = B01.

For Purchase Requisition – Item Level : Use Object = EBAN and Text ID = B01.

For Purchase Info Record – Info Record Note : Use Object EINA and Text ID = AT.

For Purchase Info Record – Purchase Order Text : Use Object EINE and Text ID = BT.

For Vendor Master – Accounting note : Use Object LFA1 and Text ID = 0001.

For Vendor Master – Purchasing memo : Use Object LFA1 and Text ID = 0002.

For Sales Order – Header Level : Use Object = VBBK and Text ID = 0001

For Sales Order – Item Level : Use Object = VBBP and Text ID = 0001

For Service Entry Sheet – Long Text : Use Object = ESSR and Text ID = TX01

For Service Entry Sheet – Line Long Text : Use Object = ESLL and Text ID = LTXT

For Service Entry Sheet – Service Long Text : Use Object = ESLL and Text ID = LLTX

當然,如果要在自開發程序中讀取的話,那調用READ_TEXT函數即可。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM