‎2008 Aug 04 12:26 PM
Hi All,
I am trying to write a piece of code in one of the sales order user exits.
However this needs to be triggered in during BAPI_SLAES_ORDER_CHANGE when i am trying to debug it the breakpoint is not triggered in the userexit which i am planning to write the code.
is there any special way of doing it or iam testing it wrong.
Regards,
Kishore Yerra.
‎2008 Aug 04 12:39 PM
before modification of user exits u should have conformed the user exit should be in inactive mode all of its user exits.
write BREAK POINT within the block of include program which is used for that user exits.
‎2008 Aug 04 2:09 PM
Hi,
Where do we set whether the user exit is active/inactive ?
And i have tried using break-point still it didnt work.
Regards,
Kishore Yerra.
‎2008 Aug 04 2:24 PM
Hello Kishore,
Your enhancement shound be asigned to a project and that project needs to be activated.
You can create the project in CMOD T-code.
Thanks,
Greetson
‎2008 Aug 04 2:29 PM
Hello Kishore,
Also you need to make sure the place you are putting your code is calling from the Transaction point of view. BAPI and Transaction will execute the same set of include.
Also we need to make sure that there is no hardcoded code checking for the transaction code example :
If SY-TCODE EQ 'VA01' or 'SY-TCODE EQ VA02' etc...
If this is the case then from the BAPI point of view the SY-TCODE will be initial.
Hope this helps.
Thanks,
Greetson