cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict from creating Multiple Sales Return when tolal qty has completely referenced

Former Member
0 Kudos

Hi,

Is there are any way by which the user can be restricted from creating multiple sales return , when the total qty has already been referenced .At present the system is only providing an error message, but still the user can create the  sales return although the total qty has been totally refernced .

Thanks in advance

Accepted Solutions (0)

Answers (3)

Answers (3)

Shiva_Ram
Active Contributor
0 Kudos

I suggest using copy control requirements routine to fulfill this requirements. In t.code VTAF, at item level, you can find a field requirements. Here assign a new requirement, which can have logic to check the total quantity referenced from VBFA table. If total quantity reference by return sales orders  exceeds the billing quantity value, then the system can provide hard error.

The routine can be developed using t.code VOFM.

Regards,

siva_vasireddy2
Active Contributor
0 Kudos

Hi ashan,

             you can set the control as under

T.code- VTAF Copy controls

Item Category- field-Pos./neg. quantity  put it as ''  +  ''

This sets a Positive Effect on the Subsequent Document

Siva vasireddy

Former Member
0 Kudos

please go through the thread

http://scn.sap.com/message/7233970

raj