Application Development and Automation 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: 
Read only

BAdi-COR2

Former Member
0 Likes
1,302

Hi All

I have a question on WORKORDER_UPDATE.

1-> How to debug any method of this BADi. Can we trace like the user exit what are the availbale data and structure in the methods?

I am trying to debug it but my program does not stop at that point (IN_UPDATE method)

I started ny debugging by setting a breajk point in SE24 and put a break point in my code

inside mthod IIN_UPDATE. but it does not stop at that point.

2->Can any body give me the real scenario where the Badi is used for some modifivation and then it updates the data base.

Please explain me some trick to find \or approach to find the exact method where i can do the coding

to change the functionalites.

My current req. is that -whenever user changes some process order or production order(type 10 or 40 )

then it must allow to save those changes and must create the change docments.

If you will look on COR2 transaction then it does not allow to change you.

I have done the complete coding in a user exit and it has been approved but i m trying to do with BADi

as OSS notes has given the BAdi name.

You can check in OSS notes also..

please drop me your mail ids so that we can communicate.

Give me some real example and the approach to handle the problems in BAdi

Bye

Hi All

I have a question on WORKORDER_UPDATE.

1-> How to debug any method of this BADi. Can we trace like the user exit what are the availbale data and structure in the methods?

I am trying to debug it but my program does not stop at that point (IN_UPDATE method)

I started ny debugging by setting a breajk point in SE24 and put a break point in my code

inside mthod IIN_UPDATE. but it does not stop at that point.

2->Can any body give me the real scenario where the Badi is used for some modifivation and then it updates the data base.

Please explain me some trick to find \or approach to find the exact method where i can do the coding

to change the functionalites.

My current req. is that -whenever user changes some process order or production order(type 10 or 40 )

then it must allow to save those changes and must create the change docments.

If you will look on COR2 transaction then it does not allow to change you.

I have done the complete coding in a user exit and it has been approved but i m trying to do with BADi

as OSS notes has given the BAdi name.

You can check in OSS notes also..

please drop me your mail ids so that we can communicate.

Give me some real example and the approach to handle the problems in BAdi

Bye

3 REPLIES 3
Read only

0 Likes
906

pls make sure the badi implementation is activated. Also, have the update debuggig switched on..

Read only

0 Likes
906

Hi Dear ,

Thanks for your reply.

I have implemented the code and activated, i ll check it tomorrow with update debugging option.

Can you have a look on COR2 transaction and try to change any process order . You can not change

so i need to implemented a BAdi WORKORDER_UPDATE.

It has various methos , i want to test by debugging which method i should use where all the all the required information .ie. internal tables and sturctures are available as parameter.

So i was looking on it by debugging .

If you have any new update on Badi please let me know.

Once again thanks !!

Read only

0 Likes
906

Hi Dear ,

Thanks for your reply.

I have implemented the code and activated, i ll check it tomorrow with update debugging option.

Can you have a look on COR2 transaction and try to change any process order . You can not change

so i need to implemented a BAdi WORKORDER_UPDATE.

It has various methos , i want to test by debugging which method i should use where all the all the required information .ie. internal tables and sturctures are available as parameter.

So i was looking on it by debugging .

If you have any new update on Badi please let me know.

Once again thanks !!