Skip to Content
author's profile photo Former Member
Former Member

Replace Error Messages in ISA java application..

Hi Experts,

A customer on a credit block cannot submit a web order, they see this message:

Error in R/3 system: document cannot be sent. Call our hotline.

Technical error description: Customer 5460 has been assigned order block: Overall block

This message is from R/3 system and do not see this in message class.

Please suggest procedure to replace error message in ISA Java application or any other effective method to acheive the same.

Venkat

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2011 at 09:50 PM

    In the ABAP side, set break point in BAPI_SALESORDER_SIMULATE and check the BAPIRETURN table.. Depending upon the stage and action on the order, the other RFCs you might focus on are SD_SALESDOCUMENT_CREATE or SD_SALESDOCUMENT_CHANGE. The return structure is BAPIRET2 for this set of RFC.

    You might remove the "unwanted messages here.. or let them flow into the Java layer and tackle them there. That will require you to extend different xxxxStrategyR3 classes and overwrite certain methods in certain classes. The development is not streamlined here.

    Read the classes CreateStrategyR3 - there is a method performCustExitAfterR3SimulateCall

    in ReadStrategyR3 - there is a method called replaceR3MessageTexts and in change..

    in ChangeStrategyR3 - there is a method called performCustExitAfterR3Call

    In all these places you have to read the appropriate table that contains the message and remove it. See ReadStrategyR3~replaceR3MessageTexts for some idea..

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Both the options were correct. The resource key isar3.errmsg.techinfo is getting appended to the messages in the class ReadStrategyR3 in method addSelectedMessagesToBusinessObject.. So, it is enough you find and change the resource key..

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.