cancel
Showing results for 
Search instead for 
Did you mean: 

Message no. GB175 on create a substitution step on Asset Accountig Posts

Former Member
0 Kudos

Helllo again, friends!!

I'm trying to create a substitution step on Asset Accountig Posts but I have the following error:

You may not substitute any fields for this Event

Message no. GB175

I must do as below:

In SM30 -> Change table VWTYGB01.

But witch Boolean Class may i have to change and what tables should I enter?

I need to change the HKCONT field when the fields BUKRS, BWASL and AFABE provide specific (fixed) values.

PS: I think that I can do this with Exit AINT0002, but I´m not try it yet. I´m trying to do this first by substitution rules.

Thanks in Advanced for any help!!

Rgds,

GLippmann

Accepted Solutions (1)

Accepted Solutions (1)

former_member205661
Contributor
0 Kudos

Hi,

Maybe SAP Note -  42615  Substitution in FI - will help.

Regards,

Brigitte

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can not use a substitution, you have to use an exit.

Here a simple example:

Exit: AINT0002

*&---------------------------------------------------------------------*

*&  Include           ZXAPCU06

*&---------------------------------------------------------------------*

*** Changing rec.acc.

IF I_BWASL = '230' OR I_BWASL = '275'.

*** Changing Expense acc.

  I_T095-KTMIND = '8201000012'.

  E_T095-KTMIND = '8201000012'.

*** Changing rev. acc.

  I_T095-KTMEHR = '8101000015'.

  E_T095-KTMEHR = '8101000015'.

ENDIF.

iklovski
Active Contributor
0 Kudos

Hi,

Boolean class for asset posting is 31, but in the table GB01, HKONT for this class is not defined and it makes sense. If you want to change HKONT, though, then you should create a substituion on FI level: G/L account does not play part in assets posting tables.

Regards,

Eli