cancel
Showing results for 
Search instead for 
Did you mean: 

Restriction on stock posting based on ud code

Former Member
0 Kudos

Hi Experts,

Is it possible to restrict the posting as follows:

If ud code is Accept then system not allow to post stock in block stock and if ud code is reject then system not allow to post stock in unrestricted.

Pl. help me to sort out the problem.

Gkude

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member207800
Active Contributor
0 Kudos

There is no standard function to restrict stock posting based on UD code.

SAP standard function supports only proposal and background function of stock posting as KK said.

If you want your own logic when UD saved, I would suggest you implement the customer exit 'QEVA0010'.

You can compare UD code valuation (I_QAVE-VBEWERTUNG) and stock posting (I_RQEVA-VMENGE##) and make some error message when UD saved.

Regards

Luke

kiran_kumar179
Active Contributor
0 Kudos
If ud code is Accept then system not allow to post stock in block stock and if ud code is reject then system not allow to post stock in unrestricted.

Dear this can be achieved through UD code itself please check the assigned stock proposal to the ud code in QS51.

QS51 -> catalog 3, plant.

Look at the ud codes -> Here you can find a posting proposal for the UD.

Cheers

KK