Application Development 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: 

Trigger User-Exit userexit_pricing_prepare_tkomk while changing Billing doc

Former Member
0 Kudos
765

Hi Experts,

Could any one of you let me know how to identify user exit "userexit_pricing_prepare_tkomk" is getting triggered while creating Billing document or while changing Billing document.

This user exit is being triggered in both the above cases.

I looked into xvbrk-updkz. No value is getting populated in change mode of Billing document for this field.

Is there any other field which will be helpful in differentiating these 2 cases.

Thanks in advance,

Vinoth

1 ACCEPTED SOLUTION

Former Member
0 Kudos
92

Hi Vinoth,

In create mode the value of T180-TRTYP would be 'H' and in change mode T180-TRTYP would be 'V'.

In this way you can differentiate if the activity type is create or change.

Hope this helps.

Regards,

Abhisek.

2 REPLIES 2

Former Member
0 Kudos
91

Hi Vinoth,

refer to the following link:

Hope this will help you...

Former Member
0 Kudos
93

Hi Vinoth,

In create mode the value of T180-TRTYP would be 'H' and in change mode T180-TRTYP would be 'V'.

In this way you can differentiate if the activity type is create or change.

Hope this helps.

Regards,

Abhisek.