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

Character input issue in Module pool

Former Member
0 Likes
606

Hi All,

I am working for one of our client in Screen enhancement.

I need the guidance to resolve the issue which I am facing.

There is a charcter input field in the screen which has the Default length as 150 and Visible Length as 40. Also it has a F4 help.

When we select a data which is of 150 character length, the input field in the screen gets only 132 characters and the remainng 18 characters remains as space.

For ex:

Actual data: ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678910ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678910ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678910ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678910AB

Data in input field:

ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678910ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678910ABCDEFGHIJKLMNOPQRSTUVWXYZ12345678910ABCDEFGHIJKLMNOPQRSTU

Because of this the validation of the input field results in Error message.

Please guide me to solve this issue.

With Regards,

Gurulakshmi


1 ACCEPTED SOLUTION
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
521

Hi

How have you implement this search help via FM F4IF_INT_TABLE_VALUE_REQUEST. If yes check the RETURN_TAB it ahs return lenght as 132. As an alternative you can read the position from this table of the record then read the value based on position from the internnal table which displayed the value and assign it to the field

Nabheet

1 REPLY 1
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
522

Hi

How have you implement this search help via FM F4IF_INT_TABLE_VALUE_REQUEST. If yes check the RETURN_TAB it ahs return lenght as 132. As an alternative you can read the position from this table of the record then read the value based on position from the internnal table which displayed the value and assign it to the field

Nabheet