Skip to Content
avatar image
Former Member

Activity type while creating billing document

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 23, 2014 at 03:40 PM

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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 14, 2015 at 03:43 PM

    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

    Add comment
    10|10000 characters needed characters exceeded