cancel
Showing results for 
Search instead for 
Did you mean: 

t-code: QA11

Former Member
0 Kudos

Hi All

There is a requirement from our client as follows:

(1) When ever Stock posting from Inspection lot Qty To Unrestricted Use/Return Delivery etc.

Put an Error Message if no Value is Entered in those Fields.

Curently SAP allows to SAVE the message under the  Usage Decision(UD) with an Information Message ,

which client is NOT accepting but want an Error Message.

Can some one comment early please?

Screen shot Attached for Reference ....

Many Thx....

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member42743
Active Contributor
0 Kudos

You'll need to look at using a user exit to check that.

Probably

  QEVA0010 UD: Usage decision check                                   

But you might also want to review the following ones as well: 

  QEVA0001 Enhancement: Quantity posting for usage decision           
  QEVA0002 Calculation of share of scrap in inspection lot            
  QEVA0003 Calculate "Next inspection date" for batch                 
  QEVA0004 Exit for changing information line in usage decision header
  QEVA0005 User subscreen for displaying add. data for usage decision 
  QEVA0006 Entry to usage decision transactions                       
  QEVA0007 UD: Control of compulsory comment or long text presetting  
  QEVA0008 Usage decision: Customer function key (e.g. to cancel UD)  
  QEVA0009 UD: Predefinition of quantity to be posted to sample stock 

FF

Former Member
0 Kudos

hi FF,

Can you give me the user exit which is exactly useful to solve this problem

former_member42743
Active Contributor
0 Kudos

I  already suggested QEVA0010.

I only posted the others so that if that doesn't work you can review the others and see if any of those would work better for you.

FF

Former Member
0 Kudos

sorry these user exit is not working and

i have one doubt if we use user status profile it will happen or not

Former Member
0 Kudos

Create 2 User Statuses as Stock Posting Not Completed & Stock Posting Completed.

Assign that to Inspection Lot. Keep Stock Posting Not Completed as Initial. Using Business Transaction, define Usage Decision as Forbidden.

Keep Usage Decision as Allowed for Stock Posting Completed.

former_member42743
Active Contributor
0 Kudos

The user statuses should work if you always want to post stock when making the UD.  But it won't prevent a partial or incorrect stock posting.

FF

Former Member
0 Kudos

Hi,

Exit QEVA0007,

Put coding as follows

IF i_rqeva-vmenge01= 0.

message ' Stock Qty is 0.' TYPE E.

ENDIF.