SAP SD 客戶主資料裡的Partner Function的一個奇怪現象
我們知道,在SAP SD裡的客戶主資料,是有partner function視圖的。可以為客戶主資料指定相應的售達方,送達方,付款方,開票方等。
近期筆者在一個項目上因故需要支援OTC的一個CR,幫忙撰寫一個function spec。在撰寫function spec的過程中,需要取某個customer的ship-to party資訊。筆者就發現客戶主資料的partner function code,在SAP前台界面上跟在資料庫表裡,是表現為完全不同的code。
1,客戶主資料界面上的Partner function。
其partner function的代碼分别是:
SP:Sold-to party
BP:Bill-to Party
PY: Payer
SH :ship to party
2,客戶的partner function資料是儲存在表KNVP裡,去這個表裡看這個客戶的partner function 資料,
在資料庫層面,其Partner function的代碼分别是:
AG/RE/RG/WE
這讓筆者很是好奇,是以就花了一些時間來查資料,看看到底是怎麼回事兒。
3, 經查,有如下的SAP NOTE提到了這個現象,
2576341 - Partner Function Code not displaying as expected.
Symptom
- Partner function codes not behaving as expected in sales order documents.
- In customer master, converted partner function keys are shown. In sales documents, the partner function shows the original keys, and not the converted keys.
- In the partner overview screen, partner function codes displayed in German.
- In drop down fields (for example field PARVW) customers expect language-specific description of partner function.
這是SAP的标準行為。
-完-
寫于2023-4-23.