Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Substitution

Former Member
0 Likes
533

Hello,

How will one knoe if a susbtitution is being triggered? We need to know where a GL Account is taken during Invoice Posting, however, we cannot find the exact code that populates the GL Account.

Any idea?

Thanks,

Louisse

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
502

Hello Louisse,

How will one knoe if a susbtitution is being triggered? We need to know where a GL Account is taken during Invoice Posting, however, we cannot find the exact code that populates the GL Account.

Why do you need to check which code populates the GL a/c? The user will i/p it durinf the Invoice creation & during the substitution you just have to see if the GL a/c is being used in the Invoice line item.

You can find the substitution through:

Go to GGB1 --> Financial A/c'ing --> Line Item --> Step.

In the substitution prerequisite you have to check for that particular GL.

Hope this helps.

BR,

Suhas

Hello,

How will one knoe if a susbtitution is being triggered? We need to know where a GL Account is taken during Invoice Posting, however, we cannot find the exact code that populates the GL Account.

Any idea?

Thanks,

Louisse

3 REPLIES 3
Read only

Former Member
0 Likes
502

Hi Louisse,

please follow the below steps:

1) check that related substitution is attached in the configuration or not.

2) if yes, put the break-point in that substition and try to change one of your related line items, then it will trigger your substitution.

3) pricing related transaction is VOFM you will find the substituion point.

hope these points helps you.

Thanks!!

Read only

0 Likes
502

Hi,

Maybe you'll find some clue doing an ABAP runtime analysis with T.Code SE30.

If substitution program is being called, it should be displayed in the hit list.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
503

Hello Louisse,

How will one knoe if a susbtitution is being triggered? We need to know where a GL Account is taken during Invoice Posting, however, we cannot find the exact code that populates the GL Account.

Why do you need to check which code populates the GL a/c? The user will i/p it durinf the Invoice creation & during the substitution you just have to see if the GL a/c is being used in the Invoice line item.

You can find the substitution through:

Go to GGB1 --> Financial A/c'ing --> Line Item --> Step.

In the substitution prerequisite you have to check for that particular GL.

Hope this helps.

BR,

Suhas