cancel
Showing results for 
Search instead for 
Did you mean: 

Chnage Information message to Error message while creating return order.

Former Member
0 Kudos

Dear Expert,

We  want to change the information message to error message, it is related to SD returns scenario. Can any one tell me how should and what is the path for it.

While creating return order w r to billing document . System is allowing the user to raise the return order n number of times and raising the credit memo mutiplt times.  System gives only information.

Message no. V1499.

This should not happen, hence i am trying to put a check for it at the time of copying the billing items at the time of creating the return order (specifically when user tries to copy the billing by clicking the reference push button).

your immediate response is appriciated.

Regards,

Manoranjan.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member182378
Active Contributor
0 Kudos

Manoranjan,

Apart from G Lakshmipathi's suggestion (which involves coding), please read Murali's suggestion too (which also involves coding)

http://www.sapfans.com/forums/viewtopic.php?f=5&t=122374

In Murali's suggestion, he suggests to check the copying requirement routine at item level, but I would suggest you to check field copying requirement at header level (F2>RE).

Former Member
0 Kudos

Dear Lakshmipati/TW,

Thanks in advace for your co-operation.

I will try as per your advice and will confirm shortly.

But one doubt as per TW suggestion namely, we have assigned copying reqiurment routine - Commercial invoice - Return order.

Header- 021-Billing header

Item- 303 - always item.

Please confirm if we are going to be add some logic in header as per our reqiurement in copying requirment routine then we have deleted logic in routine 021 and add new logic or only add new logic in routine 021 and not deleted old logic.

Regards,

Manoranjan.

former_member182378
Active Contributor
0 Kudos

Manoranjan,

Copy requirement 021 and then keep the existing code and add then new code which address your requirement (of RE order with ref. to Billing document).

The validations in routine 021 are important and should be kept, during the copying of Billing document > Return order.

Extract from SAP, routine 021 -

In this requirement, there must be a valid division in the billing header.  In

addition, the following fields must match exactly in the source and the target

document:  sold-to party, sales area, and currency.

Additional checks are also performed against the payment plan type and the
user is issued a warning message if the source and target plans are
different.

       

Example

In order to permit the creation of credit memo requests with reference to a
billing document, certain checks must be performed to insure that the two
documents are consistent.  This requirement can be used to insure that these
checks are performed.

Lakshmipathi
Active Contributor
0 Kudos

Check this thread where it has already been discussed

Return Order- Reference to Billing Document | SCN

G. Lakshmipathi

former_member184065
Active Contributor
0 Kudos

Dear,

It makes you to dont allow to create any return order if you did message to Error.This is not recommended process .You can make it as message to Warning by ABAPer .

Note : Put that Message number in Google and see already answered queries on this .

Thanks,

Naren