Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Add custom message to F110 when payment is blocked

hagit
Active Participant
0 Kudos

Hello expert,

In F110 when C_ZLSPR is not initial then the payment is blocked.

In BTE 00001820 (SAMPLE_PROCESS_00001820) it is possible to update programmatically the value of C_ZLSPR . Then the payment is blocked and a message is displayed in a popup and in the log of the proposal. The question is how can I change the message to be more specific (or add a message

)

.

Thanks in advance

Hagit

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor

Try to raise your own message with a MESSAGE TYPE 'S' in your BTE implementing FM. It should be inserted in the job log.

8 REPLIES 8

Sijin_Chandran
Active Contributor
0 Kudos

Hi Hagit,

If the BTE solution is not giving provisions for adding a detailed message then nothing can be done from BTE perspective.

But I feel a workaround is there in form of FI Validations, you can set up a Validation in place with a detailed Long Text message, please give that a try.

Thanks,

Sijin

0 Kudos

sijin.chandran Thanks for your answer.

I am not sure if BTE 00001820 has the possibility to add a detailed message.

Do you know?

Thanks

Hagit

0 Kudos

BTE won't.

That's why am asking you to give a try to FI Validations. It gives a proper provision for a detailed Long Text message.

https://help.sap.com/doc/f9bfd953189a424de10000000a174cb4/2.6/en-US/42bed953189a424de10000000a174cb4...

Else you can try what Raymond suggested also.

Thanks,

Sijin

raymond_giuseppi
Active Contributor

Try to raise your own message with a MESSAGE TYPE 'S' in your BTE implementing FM. It should be inserted in the job log.

0 Kudos

raymond.giuseppi

Your answer, concerning the log, is simple and great (It is working).

Do you have a solution for the popup?

Thanks

Hagit

0 Kudos

Then try to use a 'I' information message that should trigger a pop-up when run as interactive (and should also appear in the log when in background)

0 Kudos

raymond.giuseppi Thanks for your answer.

The popup, which I am talking about, is not displayed by a Z program. The popup is displayed after:

1. Creating a proposal in F110.

2. Clicking the Proposal icon

3. Double click on the red line (with the error)

4. Double click on the line

Can I change the message in it? (Item is blocked for payment)

0 Kudos

The print screen to section 4 above is

(I could not send it in the previous message - it was too big)