How To Make Trading Partner A Required Entry
How To Make Trading Partner A Required Entry
Ashish Sampat
Trading Partner information flows automatically to the transactions, once trading partner is
maintained at master data level (i.e. on relevant intercompany customers, vendors and GL
accounts).
However, there may be instances where a GL account may have transactions for both
intercompany as well as third-party scenarios (example: Interest on loans and advances –
organization can receive interest on loans from external / third party entities or from
intercompany entities). It may not always be possible to define separate GL accounts for
each scenario, doing so may lead to proliferation of GL Accounts.
Since the trading partner is not maintained on GL account master data and does not
automatically flow to transaction data, trading partner will need to be explicitly entered at
the transaction processing level. As one can imagine, it is possible that trading partner may
be missed on certain transactions, thereby leading to inconsistencies and downstream
impact on consolidations. Trading partner may be missed due to lack of discipline among
users, lack of system checks or simply due to the quality of data sent by interfacing systems
– SAP or non-SAP.
Stay tuned later this week for Part II.
How can we make Trading Partner a required entry while posting financial accounting
documents for certain GL Accounts?
There are three possible alternatives to achieve this goal: Field Status Groups, Document
Types and FI Validation. We will look at each of these options below.
Field status groups can be used to make certain fields required, optional, display, or
suppressed by using field status definition. There is a general belief among the SAP
community that field status group can be used for Trading Partner as well. However, not all
fields are available in field status group – trading partner is one such field that is not a part
of field status group.
Trading Partner (field VBUND, data element RASSC) can be enabled in Field Status Group by
adding it in table TCOBF (Coding Block: Assignment of Modif and Field Names from COBL).
With this change, field status groups can now be leveraged to influence Trading Partner
(suppressed / required / optional). However, this option is generally not recommended by
SAP. It may create inconsistencies while posting FI documents (OSS Note 1397715 “Adding
VBUND to the coding block”2)
2) Document Types
Document types can be configured such that Trading Partner will be available for input.
Following fields need to be activated in Document Type setup.
- Transaction OBA7 – Document Types (underlying table T003)
o Partner Company can be input (T003-XMGES)
o Cross-company (T003-XGSUB)
This setup will open up Trading Partner at document level. However, it does not make
Trading Partner a required entry.
3) FI Validation
FI validation can be used to prevent document postings where Trading Partner is missing for
certain GL accounts. A validation in FI has three sections: Pre-requisite, Check and Message.
These sections are explained below with example.
- Transaction OB28 – Financial Accounting validation (configuration transaction)
- Transaction GS01 – Create set (master data transaction, generally not transported)
- Transaction GS02 – Change set (master data transaction, generally not transported)
Prerequisite:
Given the shortcomings of Field Status Group and Document Type options, these
two options are generally not preferred.
FI validations are easy to configure and maintain (they normally do not require ABAP
programming unless a user-exit or table-lookup are to be used).
A simple validation like the one shown in this example can go a long way in ensuring
data consistency and accuracy
Figure 1: OB28 – FI Validation for missing Trading Partner for certain GL Accounts, Users and
Document Types
Validation details (figure 1)
Prerequisites:
BSEG-HKONT IN ZGL_TRAD_PART_REQD AND
BKPF-USNAM IN ZUSR_TRAD_PART_REQD AND
BKPF-BLART IN ZDOC_TYPE_TRAD_PART_REQD
Check:
BSEG-VBUND <> ''
Message:
Error Z1 032 Trading Partner is required for GL
Figure 2: GS01 / GS02 – Create / Maintain Set to define GL Accounts that should be checked
for Trading Partner
Figure 3: GS01 / GS02 – Create / Maintain Set to define Users that should be checked for
Trading Partner
Figure 4: GS01 / GS02 – Create / Maintain Set to define Document Types that should be
checked
References:
SAP Note 1397715 - FI: Adding VBUND to the coding block from https://service.sap.com