cancel
Showing results for 
Search instead for 
Did you mean: 

when I am making return order on cancelled invoice system should give error

Former Member
0 Kudos

Experts,

In this scenario I have cancelled the invoice 1234567 and when I am creating return order with reference to the cancelled invoice 1234567,system is accepting it

Is there any process where the system should give the error

Regards

Kiran

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

HI,

For taking return you will be using a different condition type.So make a coding in such a way that the document type for return should not be allowe to take refernce billing type s1

Regards

CNRNAIR

Former Member
0 Kudos

Hi,

you should go for enhancement,use the exit MV45AFZZ

Pass the XVBAK - VGBEL to VBUK - VBELN and check VBUK - VBTYP = N (Invoice cancellation) system throw an error.

you can specify the message Ex: Return order can not be processed in spite of cancelled invoice.

take ABAPer help.

Regards

Ram

Former Member
0 Kudos

Hi Friend,

Please find the below link

Thanks

Dasaradha

Former Member
0 Kudos

Hi,

Make an enhancement.when you refer the billing document in VA01,system should check the status of the billing document.if the billing is canceled system should through an error message.if the document is not canceled then system should allow further.

You can use program SAPMV45A

Thank you,