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: 

Activity type while creating billing document

Former Member
0 Kudos

Hi Experts,

I have a requirement where user is creating billing document through any transaction i.e. VF01, VF04 or through background job.

There is some ABAP code written in enhancement spot which is getting called while saving the billing document.

The problem is ABAP code is written with condition for transaction VF01 i.e. ABAP code will be executed only if billing document is created from transaction VF01(SY-TCODE field). The requirement is whenever user creates billing document from any transaction(VF01,VF04 or background job)  this ABAP code should be executed.

Is there any system variable or any activity type field which use to remain same for all transactions for creating billing document so that I can provide it to ABAPer to change the existing ABAP code.

Please help.

2 REPLIES 2

Lakshmipathi
Active Contributor
0 Kudos

Moved from SAP ERP Sales and Distribution (SAP SD) to ABAP Development.

raymond_giuseppi
Active Contributor
0 Kudos

You should at least provide name of program that contains the spot, or ask your developers to look themselves in the top include/global data for a "transaction type" field to idenitfy the "creation" mode (e.g. t180-trtyp, xactvt = tact-actvt)

Regards,

Raymond