cancel
Showing results for 
Search instead for 
Did you mean: 

Customisation EPM "Save Results" Window

ChristianSass
Participant
0 Kudos

Hi,

I've played around with the messages that pop up ("Save Results" - Window) after writing data to the data base via "save"-Button.

I was able to customise the text but it appears as "error message" which is not always the case.

SAP Message Types (S, I, W, A ...) are not considered when I change them

....

(UJ0_S_MESSAGE)  

ls_message-MSGID = ...

ls_message-MSGNO = '042'.

ls_message-MSGTY = "I".                         <<<----

ls_message-MESSAGE = lv_message.

ls_message-RECNO = sy-TABIX.

....

append ls_message To et_message.

Any idea on this one?

Thx

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186338
Active Contributor
0 Kudos

Are you talking about write back badi?

Vadim

ChristianSass
Participant
0 Kudos

Yes, exactly

former_member186338
Active Contributor
0 Kudos

Then explain the business scenario - what message in what case you want to show!

ChristianSass
Participant
0 Kudos

I try to trigger RFC with BPC features by saving "dummy" data to database. Within write-back badi I check the incoming values/key and use them to Trigger RFC. Return Messages from RFC are passed to UJ0_S_MESSAGE - > and then to the "Save Results" Window

former_member186338
Active Contributor
0 Kudos

You have very limited options to customize Save Results:

3 parts of the message box:

1. Statistics with names and counts

2. Error message (1 line for each message) - will be shown in case of any error/warning

3. Rejected record list (list of rejected records) - will be shown if you have some rejected records.

You are going in the wrong direction, the response in the Save Results message box will be confusing for the users!

Better - play with DM package, custom logic badi, status etc...

Vadim

ChristianSass
Participant
0 Kudos

And do you have an answer to my question? Is it possible to change "message type"?

former_member186338
Active Contributor
0 Kudos

You can change message type, but in the pop-up widow you will always see "Error message". I suspect that the string "Error message" is hardcoded in .NET on the client

Vadim