Application Development and Automation 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: 
Read only

Message as a information

former_member197475
Active Contributor
0 Likes
1,739

Hi Experts,

I don't know whether this is a simple question or not. But please clarify my doubt.

I'm raising a message in CAT2 transaction, using User Exit logic as of below type

Message i003(ZCLASS).

Now am getting a popup as information. After selecting ok, still the ECC remains greyed out. Only after hitting the ENTER button, the screen becomes editable.

Is it a standard SAP behavior or else am I missing anything??

Thanks and Regards,

Ramakrishnan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,692

Is the popup the return from the same message?  Do you need it to popup or is the return at the bottom of the screen sufficient?

Neal

Hi Experts,

I don't know whether this is a simple question or not. But please clarify my doubt.

I'm raising a message in CAT2 transaction, using User Exit logic as of below type

Message i003(ZCLASS).

Now am getting a popup as information. After selecting ok, still the ECC remains greyed out. Only after hitting the ENTER button, the screen becomes editable.

Is it a standard SAP behavior or else am I missing anything??

Thanks and Regards,

Ramakrishnan

11 REPLIES 11
Read only

Former Member
0 Likes
1,692

It does sound like standard behavior.

Neal

Read only

Former Member
0 Likes
1,693

Is the popup the return from the same message?  Do you need it to popup or is the return at the bottom of the screen sufficient?

Neal

Read only

0 Likes
1,692

Hi Neal,

I have used both types. Both of the types are similar, like only after hitting ENTER button, the screen becomes editable.

Thanks,

Ram

Read only

0 Likes
1,692

Did you try Raymond's suggestion?  It looks likely!

Neal

Read only

0 Likes
1,692

Yes Neal,

I have tried it previously. It is generating a popup window with table like appearance which is not so user friendly:(

Thanks,

Ram

Read only

0 Likes
1,692

Then try to use a POPUP FM to display the message (After checking the exit is not called in BDC or from BAPi or in background, the code that the standard does by itself when you use the provided parameter...) like POPUP_DISPLAY_MESSAGE or POPUP_TO_CONFIRM.

But can you confirm you raise the message in EXIT_SAPLCATS_003 ?

Regards,

Raymond

Read only

0 Likes
1,692

Can you please provide which exits are you using along with screen shot of the message with issue highlighted.

Nabheetr

Read only

0 Likes
1,692

Thanks Raymond,

I have used POPUP_TO_CONFIRM and some what it satisfies me:)

BR,

Ram.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,692

If you are coding this in EXIT_SAPLCATS_003 (customer check, execute in PAI), then don't use a MESSAGE statement, rather fill the message table parameter provided in the FM.

   clear i_messages.
   i_messages-msgid = 'ZXXXX'.
   i_messages-msgno = '9999'.
   i_messages-pernr = fields-pernr.
   i_messages-catsdate = fields-workdate.
   i_messages-msgty = 'E'.
    i_messages-msgv1 = z_prps-posid.
   append i_messages.

But do not hesitate to press F1 on MESSAGE statement and to look for "Behavior of messages"

Regards,

Raymond

Read only

0 Likes
1,692

I'm guessing (from your reply) that by doing it the other way, he's generating 2 messages.  Is that right?

Neal

Read only

0 Likes
1,692

Or he coded in a not-PAI customer-exit...

Regards;

Raymond