Skip to Content

Message in default logic

Hi,

I am doing currency conversion in the default logic using UJ_CUSTOM_LOGIC BADI.

When I run the "currency conversion logic" using package, I can display the message using the below command and I can see the output in Status.

CL_UJK_LOGGER=>LOG( I_OBJECT = L_LOG ).

Example: 'Rates not found in RATE Application' etc. ( Any custom message).

But when I am running it in the default logic. I can't see the output anywhere. Only I get the message that 1 records submitted.

If the RATE application does not contain corresponding Exchange Rate, I can't see the message that 'Rates not found in RATE Application" etc.

Any idea, about how to generate messages in default logic or where to see the output messages.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on May 27, 2013 at 07:35 AM

    Hi Archit,

    If you rewrite you code to be inside write back BADI (same effect as usage of default logic) then you will be able to pass messages to Excel popup.

    B.R. Vadim

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Gersh,

      One question about raise of exception: we tested this method but achieved only full stop of script execution. Can you provide some examples?

      B.R. Vadim

      P.S. The idea with Validation requires that the logic in custom logic BADI have to be somehow duplicated in Validation BADI...

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.