Skip to Content

How can i trigger my code when modifying an object (in se38 for example)

Hello All,

I try to add an implementation of a the bADI "CTS_CURRENT_PROJECT" , i put a code there but i want to triggered just in modification of the program or the object in general , can anyone tell me how i can do that , i try to use the T180 structure to determine if i'm in change mode but the structure is empty in debug

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Thanks in advance for you responses ,

    My need is to compare the versions of this object in different systems ( DEV , QAL , and Production ) , i developped a program that contains an ALV OO and i insert it into this BAdI , and i want to trigger it just when modifying an object , You see ?

  • Rachid,

    Why reinventing the wheel, when SAP has a beautiful standard mechanism to do version comparision.

    I think you need to use your skill in ABAP progamming, judiciously.


  • In version comparision , SAP gives you just to compare between two systems , not 3 and the user want to see the state of the current object when he press the change mode . my custom program is right when i give him parameters : the object type and the object name he search for the versions in Quality and Production systems and it gives the informations showing TOs and where they are in all systems !

  • Get RSS Feed

0 Answers