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

problem with table entries

SG141
Active Participant
0 Likes
556

We are storing EKKO-EBELN field into custom table ZTABLE-ZAUFNR field in user exit. However when we query the ZTABLE with the PO number in the ZAUFNR field..we are getting a message no entries found. If suffix or prefix the PO number with * .... then all the entries are displayed... how to fix this one to display entries when PO number is entered in the ZAUFNR field.

ZAUFRN IS DEFINED WITH REFERNCE TO AUFNR FIELD.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
525

Well, you have to run the field through FM CONVERSION_EXIT_ALPHA_INPUT before updating the database.

Rob

4 REPLIES 4
Read only

naimesh_patel
Active Contributor
0 Likes
525

Why do you need to do this because EBELN has 10 characters where as the AUFNR has 12 charcters. So, I think you need to either change the field attribute to EBELN in the ZTABLE or use the * as prefix.

Regards,

Naimesh Patel

Read only

SG141
Active Participant
0 Likes
525

Apart from EBELN we are storing AUFNR too in the ZTABLE.

Read only

Former Member
0 Likes
526

Well, you have to run the field through FM CONVERSION_EXIT_ALPHA_INPUT before updating the database.

Rob

Read only

SG141
Active Participant
0 Likes
525

Thanks Rob.