cancel
Showing results for 
Search instead for 
Did you mean: 

business area in sales order

Former Member
0 Kudos

Hi,

We are facing the problem that we will describe next:

When we create a order the field business area it is not available.

Till now the assigning in transaction OMJ7 was enought, in other words

the business area it is assign to a plant. So the business area was

equal to the plant because we assign it on transaction OMJ7 (at least

we are supposing that).

Now, we have the need of making some exceptions in some documents so it

will be useful that the field business area was open for user filling

because we need a diferent business area in accounting.

How can we do that?

We thanks in advance your best efforts to solve our problem.

Best Regards

João Fernandes

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi Dirk,

Thank you for your answer. It works well but the problem remains.

Now I have the field clear and i fill it ( cobl-gsber = 'MREV'.) in the user exit but when i save the delivery and the billing the field was saved with business area that is in customizing. So i thought that somewhere in the sales process field cobl-gsber is filled again. Should i found another user-exits in delivery area and billing area?

Can you tell me if there is another user exit that can be used?

Meanwhile I will to post another message in the forum in order to find a solution exclusively by customizing means.

Best Regards

João Fernandes

Former Member
0 Kudos

Hi Joao,

Can you check for your example in SE16, what values you have for VBAK-GSBER and VBAP-GSBER ?

I do believe that once it's ok here it shoud be copied through the whole flow ( delivery / billing )

So it might be necessary to use also :

userexit_cobl_receive_vbak to transfer the screen value entered by the user back to vbak-gsber.

If item level is also necessary you also need :

userexit_cobl_send_item

userexit_cobl_receive_vbap

rgds

Dirk

rgds

Dirk

Former Member
0 Kudos

I tried to implement this solution, but I have an issue where anything I enter into the Business Area is immediately deleted. Did you encounter this problem? How did you solve it?

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Joao,

You can use userexit userexit_cobl_send_header in mv45afzb to update the table

int_coblf.

This table contains all the elements that will be visible on the header accounting tab and if they are input enabled or not.

If you overule the settings, you will be able to enter business area ( GSBER )

Code example :

loop at int_coblf where fdnam='GSBER'.

int_coblf-input = '1'.

modify int_coblf.

endloop.

regards

Dirk