cancel
Showing results for 
Search instead for 
Did you mean: 

BADI/User Exit for KO02

Former Member
0 Kudos

Dear Experts,

When I'm setting the BUDGETED status manually to Internal Order (With out distributing the Budget to Order in IM52) and after if I m setting RELEASE status the system is accepting. So, I want to stop this without giving the budget in IO, it should not accept to release IO.

-


This is not possible with User Status, coz' User may go and set manually "REL" Status.

-


can anyone suggest me the BAdi/User Exit for KO02(Internal Order Change) tcode.

Thanks,

Sanju.

Accepted Solutions (1)

Accepted Solutions (1)

ansar_shaikh2
Contributor
0 Kudos

Integration Part - actually this is done by CONTROLLING people

1) Go to transaction KOAB

2)

Tick the commit management in control indicators

maintain co-partner as semi active

you can maintain other things like settlement profile

3) You should maintain object class as overhead costs or if you have service module you can do profitably analysis

4) You must maintain collective order without automatic goods movement

5) You can maintain status profile as your requirement.

6) For residence time I maintained one month

7) then you have to maintain BUDGET PROFILE

for maintaining budget profile you have to goto transaction code OKOB

create a budget profile these are CO people job

In maintain BUDGET PROFILE

time frame - past means how many years past you can plan here start year is the reference point same with future

you must tick total values, annual values

exchange rate should be M - standard translation at average rate

activation type should be 1 - automatic activated when budget allocation done

budgeting currency u2013 you can choose controlling currency

😎 Then go to KO22 where u can allot budget to internal order

Regards,

ANSAR

Former Member
0 Kudos

Dear Ansar Shaikh ,

Please understand my question. I have done the whole config. Please tell me the BAdi/User exit if any..

Thanks,

Snaju.

Former Member
0 Kudos

Hi Sanju ,

you can check these Badi's if they are helpful :

CO_SRULE_CHECK

INTERNAL_ORDER_EXTND

But probably controlling with the Authorization objects may be a better idea

regards

kish

Former Member
0 Kudos

Dear Kish,

I have checked the above mentioned BAdis. But in vain.

Can you tell me how to control the problem by Authorization objects?

Can you give me the idea.

Thanks,

Sanju.

Former Member
0 Kudos

When you set a User status , you can assign an Authorization Object on who can change the status .

Follow the path in SPRO--> Controlling --> Internal orders --> Order Master Data > Status Management> Define authorization Keys for Status Management

Define Authorization Keys for Status Management

In this step you define authorization keys which you can use to set up authorization checks when you manually set or delete a user status. When the system sets a user status as a reaction to business transaction, it does not perform an authorization check.

When you set or delete a user status, the system checks whether the user is authorized for this action. In addition to the status profile and the object type, the system also checks the authorization key assigned to the user status in question.

Example

You want to define that certain user statuses can be changed only by a specified employee group.

To do this, create an authorization key and assign it to the relevant user statuses.

In the general authorization maintenance you can then assign authorizations for this key via the authorization object B_USERSTAT.

Activities

1. Check whether you want to define authorizations for your user statuses.

2. If necessary, create authorization keys as follows:

a) Choose "New entries".

b) Enter a key and an explanatory text in the appropriate fields and choose "Save".

You have now created the authorization key.

3. Assign the authorization key to one or more user statuses in your status profile.

4. Define corresponding authorizations and include them in the relevant authorization profiles.

Answers (1)

Answers (1)

ansar_shaikh2
Contributor
0 Kudos

Yes Sanjana

You have to maintain BUDGET PROFILE

for maintaining budget profile you have to goto transaction code OKOB

create a budget profile these are CO people job

In maintain BUDGET PROFILE

1. time frame - past means how many years past you can plan here start year is the reference point same with future

2. you must tick total values, annual values

3. exchange rate should be M - standard translation at average rate

4. activation type should be 1 - automatic activated when budget allocation done

5. budgeting currency u2013 you can choose controlling currency

6. Then go to KO22 where u can allot budget to internal order

Regards,

ANSAR