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

table control disabled?

Former Member
0 Likes
1,064

Hi, All:

I came across a issue on dialog programming recently.

on the screen, there is one Input/Output field and another table control.

when I do validation on Input/Output field as the following:

IF field1 IS INITIAL.

MESSAGE E001(zmsg) WITH text-007.

ENDIF.

If It failed to pass validation. The table control automatically diable (table control changed to gray, User can't input). Is there any way, no matter Input/Output field validate successfully or not, keep table control enable (user can Input data any time). Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,012

Hi,

Press enter to continue after the warning message appears..

Thanks,

Naren

9 REPLIES 9
Read only

Former Member
0 Likes
1,012

Hi yunfa,

1. This happens bcos the message is of type E (Error).

2. due to this reason, we have to use

CHAIN-ENDCHAIN concept. (please see f1 help on this syntax)

3. That will keep the fields open for input, when E message is issued from the module mentinoed inside chain-endchain.

regards,

amit m.

Read only

0 Likes
1,012

Hi, Admit m:

Thanks for you quick response. but I don't know how to put Input/Output field and Table Control in the CHAIN and ENDCHAIN. I just know how to put several Input/Output fields in the CHAIN and ENDCHAIN. Can you give me an example.

thanks a lot.

Read only

0 Likes
1,012

I don't think you can do this. Have you seen an example of a standard SAP transaction that behaves the way you want this one to?

Rob

Read only

Former Member
0 Likes
1,012

Hi,

In that case..Don't give error message..Give warning or success message..

IF field1 IS INITIAL.

MESSAGE <b>W001</b>(zmsg) WITH text-007.

ENDIF.

Thanks,

Naren

Read only

0 Likes
1,012

Hi, Naren:

Thanks. but I try to put warning as the following, the same issue, table control

still grayed, Is there any other way to do that.

IF field1 IS INITIAL.

MESSAGE W001(zmsg) WITH text-007.

ENDIF.

Read only

Former Member
0 Likes
1,013

Hi,

Press enter to continue after the warning message appears..

Thanks,

Naren

Read only

0 Likes
1,012

Hi, Naren:

The waning message comes, but the Table Control is still grayed.

I want to message come and table control enable (user can input).

Thannk, Naren.

Read only

Former Member
0 Likes
1,012

Hi,

You can use the Information message, then use EXIT command .... then it will exit from that Modules ..

Regards

Sudheer

Read only

Former Member
0 Likes
1,012

Hi,

Ok...Try giving S or I message..

MESSAGE s001.

OR

MESSAGE i001

Thanks,

Naren