09-16-2008 9:13 AM
Hi,
In a table control for table maintenance I' am having 5 columns. and the requirement is particular entire column should be input enabled while giving error message. As normally particular record(row) is going to be input enabled while giving error messages.
Thanks in advance.
Regards,
Rajesh
09-16-2008 11:24 AM
Hi,
can explain your requirement in detail...????
You can use following code in PBO,
loop at screen.
if screen-name = '<>'
screen-input = 0/1. " as per the reuirement
endif.
endloop.
pts if it helps.
regards,
mahantesh
09-16-2008 2:53 PM
Hi,
I'am speaking about after issuing error messege in section
LOOP AT EXTRACT. and ENDLOOP.
where it can not come to PBO.
When I' am giving error meesege here only that particular record(entire row) will be ready for input and disabling the input for entire table control records on a screen.
where as my requirement is to at the same time the entire column of particular field shoulb be input enabled.
regards,
Rajesh
09-16-2008 2:57 PM
Don't issue an error message then. If you get an error, give an information message and set a flag that you will then check to prevent any further PAI processing from happening.
09-16-2008 3:53 PM
As Christine said, if you want to set entire table column for input, you can't throw an error message. Another option, is to throw an error message, inside CHAIN/ENDCHAIN, but that way you can only validade line by line, which means that will be open for input line by line, not entire column.
Regards,
Valter Oliveira.
09-16-2008 2:28 PM
Are you using CHAIN/ENDCHAIN in PAI loop?
Regards,
Valter Oliveira.