cancel
Showing results for 
Search instead for 
Did you mean: 

Product reentry

Former Member
0 Kudos

Dear friends,

This is one of my client requirement,

A product should not be allowed to enter if it has been entered once in the sales order,

is there any standard functionality to fullfill this requirement.

rewards points will be given for early replies.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member204513
Active Contributor
0 Kudos

Hi Jagaish,

As per the standard functunality you can't control you can control that through User Exit.

Try with these User Exits with help of ABAPer

The program MV45AFZZ

USEREXIT_READ_DOCUMENT

You use this user exit if further additional tables are to be read when importing TA01 or TA02.

The user exit is called up at the end of the FORM routine BELEG_LESEN.

USEREXIT_SAVE_DOCUMENT

Use this user exit to fill user-specific statistics update tables.

The user exit is called up by the FORM routine BELEG-SICHERN before the COMMIT command.

Note

If a standard field is changed, the field r185d-dataloss is set to X. The system queries this indicator at the beginning of the safety routine. This is why this indicator must also be set during the maintenance of user-specific tables that are also to be saved.

USEREXIT_SAVE_DOCUMENT_PREPARE

Use this user exit to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.

The user exit is carried out at the beginning of the FORM routine BELEG_SICHERN.

I hope it will help you,

Regards,

Murali.

Former Member
0 Kudos

Murali,

iam not getting ur answer with this userexit....

will u explaain a bit how this userexit will helpful for me.

Thanks.