Application Development 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: 

User Exit to check whether chapter id for Material and Plant combination is maintained while creating sales order

Former Member
0 Kudos

Hello all,

my requirement is, system should give error message while creating sales order, if chapter ID is not maintained for a material and plant combination.

please suggest the user exit.

1 ACCEPTED SOLUTION

prasanna_kumar4
Active Contributor
0 Kudos

Hi

CASE 1 : All Plants are excisable.

In Material master , Foreign Trade data tab-  mentioned Control code field mandatory. ( i.e nothing but Chapter ID)

CASE 2 : Few Plants are excisable


In the Case 2 you need to go for Enhancement


Program Name : MV45AFZB 

User Exit:            USEREXIT_CHECK_VBAP ( Item Level Check )

By using above user exit you write a logic with the help of ABAPer

Plant and Chapter ID combination table : J_1IMTCHID

2 REPLIES 2

prasanna_kumar4
Active Contributor
0 Kudos

Hi

CASE 1 : All Plants are excisable.

In Material master , Foreign Trade data tab-  mentioned Control code field mandatory. ( i.e nothing but Chapter ID)

CASE 2 : Few Plants are excisable


In the Case 2 you need to go for Enhancement


Program Name : MV45AFZB 

User Exit:            USEREXIT_CHECK_VBAP ( Item Level Check )

By using above user exit you write a logic with the help of ABAPer

Plant and Chapter ID combination table : J_1IMTCHID

Lakshmipathi
Active Contributor
0 Kudos

If your client are into TAXINJ, then system will give a message "Maintain the chapter ID for material ABC" if the required combination is not maintained in J1ID.  On the other hand, if your client are into TAXINN, then you need to go for suitable enhancement, as J1ID will not work for TAXINN .

G. Lakshmipathi