Showing results for 
Search instead for 
Did you mean: 


Former Member
0 Kudos

Hi friends,

If anybody have documentation regarding substitution. please send it to this mail id : If the documentation have examples that will be more helpful to me because i never worked on this area so if you have documentation then forward it to me.

Thanks & Regards,


Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos
Former Member
0 Kudos
Former Member
0 Kudos
Former Member
0 Kudos


Define substitutions (GGB1):

Substitution; Enter seven-character alphanumeric identifier for your substitution. The identifier can be anything you want it to be.

Application area: enter the appropriate area. The application area is the module or sub module that you wish to create the substitution for. The available options are as follows;

AM: asset management

CO: controlling

FI: financial accounting

GL: special ledger

JV: joint venture accounting

KC: enterprise controlling—SAP EIS

PC: profit center accounting

PS: project systems

Call up point: enter the appropriate call up point. Calls up points determine when the substitution is run. The available calls up points are dependent upon the application area that is selected. For FI application area, the following calls up points are available.

0001 Document Header: Use this call up point to substitute entries at the document header level. The entries that are usually available for substitution at this point are stored in the BKPF table.

0002Line Item: Use this call up point to substitute line item entries within a document. The entries that are usually available for substitution at this point are stored in the BSEG table.

0003Complete Document: this call up point substitutes settings for the documents a whole. This activity is also known as a matrix substitution.

0005 Cost of Sales Accounting: this call up points used for functional area substitutions.

Prerequisite: the prerequisite uses Boolean logic to determine if a condition is true.

If the condition is true, the substitution is carried out. If it the condition is not true, no further processing occurs. Click the Flds in Bool. statement button to display and select the available fields to use in your logic. The valid Boolean logic operators are =,>, < and <>. The entry immediately following the Boolean statement must be put in single quotation marks (‘ ‘) unless a set is being used. Sets group together of a number of entries. When you use sets, the system needs to match only one of the entries in the set for the prerequisite to be true. Sets are defined using report writer. The creation of sets will be covered later in this section. To link multiple logic steps together, either an AND or an OR is required at the end of each statement line.

Substitutions: the Substitutions section is where you tell the system what values to replace. You have the option of either using constant values or using a user-exit to specify values or carry out other logic statements.

Activate functional area substitution (OBBZ):

1. Enter the four-character identifier for the company code (CC) for which you want to activate the substitution. As with validations, you can only have one substitution active per company code per call up point.

2. Enter the call up point (Call Pnt) at which you want your substitution to be executed.

3. Enter the identifier of the substitution that you wish to activate.

4. The description field fills in automatically based on the substitution that you choose.

5. Enter the activation level (Activtn Level) for which you would like to activate the

Link programs to substitutions (GCX2)

Bool Class: The Boolean class specifies where the field is being used or is excluded. Boolean classes map roughly to the combination of application area and call up point. Here is partial listing of Boolean classes:

1: Coding Block –used for CO line items.

8: Document Header—used for FI items.

9: Document Header and line Item—used for F I items.

16: Cost of Sales Accounting—used for functional areas.

Class Type-A class type refers to whether a field is used in Boolean statement substitution fields, or both. Here’s a listing of them:

B—used for fields that are to be used in Boolean statements

S—used for fields that are to be used for substitution

A—used for fields that can be used in both Boolean statement and for substitution

Table—The name of the table in which the field you wish to use or exclude resides

Field—The name of the field you wish to use or exclude.

Exclude—if this field is checked, the field is excluded for use for the class type specified in the record. If this indicator is set, you can not change it, and you can not add the field in the configuration table that adds or excludes fields.

hope this helps u

Former Member
0 Kudos

Hi Aparna,

Thanks for your mail. Actual my problem is, I am posting a vendor invoice, when i simulate the invoice that time Input tax is automatically calculating the tax. My problem is, in the input tax line item business area is required field which is appearing in display mode. How to enter my business area. For this my senior told to use substitution for this which is new topic for me. If you know this scenario.

Please let me know.


Former Member
0 Kudos


i think for that no need to use substitution,

plz check field stauts variant, posting keys may be they r in display more

if it is not ur solution

explan ur problem once again

Former Member
0 Kudos

Hi Vimala,

I already checked the same. But at the GL level FSG is required and at posting key level it is optional. So there is no point of FSG. See when i am posting a vendor invoice that time system (VAT) is automatically calculating the tax. When i simulate the document i am getting the below entry.

31 Vendor A/c Dr. 1,00,000/- B Area - 830H (manually entering)

40 Material Purchases 88,000/- B Area - 830H (manually entering)

40 VAT paid 12,000/- B Area - (Automatic generation)

But when i double click on the 3rd line item. there business area is showing in display mode. How to rectify this.


Former Member
0 Kudos


if you have customized a field as required a substitution is (mostly) not

possible. First you get an error message to fill the field. Up to this time

the substitution does not run.

Former Member
0 Kudos

If you are using business areas, tax field will not be assigned to it. At the end of the period you will need to run F.5d and F.5e to assign not assigned items to business areas.

So, regular procedure is that business areas are not assigned directly to tax items (same stands for cash discounts, exchange rates). You can use substitution to fill this field, but beside that you will not use standard procedure for it, what will you do when you have more items with different BAs?

My suggestion is that you use either regular procedure, or if you have new GL use document splitting.

Please award points if it is useful for you

Former Member
0 Kudos

Hi Milosavljevic Sreten,

Can you please tell me regular procedure. If possible can you explain me how to configure things for this purpose. If it is useful for me then i will assign you full points. Thank you.


Former Member
0 Kudos


F.5D/F.5D allows the system to distribute VAT amount per proportion of business area.

Example of "standard" procedure of assining Business Area on VAT item.

1) Vendor invoice


31 AP/Vendor 10.50- <- BA not filled

40 0001 expense 6.00

40 0002 expense 4.00

40 VAT 0.50 <- BA not filled

2) periodically, run trx.F.5D - to calculate the distribution

On above invoice, BA0001 is responsible for 60% of VAT, and BA0002 is for 40% which is caucluated from BA assignment on expense items. This also calculates the distribution for vendor item.

-> so the result of distibution:


31 AP 0001 6.30-

31 AP 0002 4.20-

40 expense 0001 6.00

40 expense 0002 4.00

40 VAT 0001 0.30

40 VAT 0002 0.20

3) run trx.F.5E - create an adjustment posting from the calculated distribution

See also:

Cheers, Kyoko

Former Member
0 Kudos

Hi Kyoko,

I have already defined the taxes. I want to know how to do configuration for this one.


Former Member
0 Kudos


There's a link that explains BA adjustment customizing at URL provided in my pervious reply.

Regards, Kyoko

0 Kudos

Hi Rams,

I don´t have a documentation but you can find all instructions in way below:


or verify the SAP note 42615.