
Hi All,
I want to share my recent experience on search help exit requirement.
Small Introduction - Search help was created to provide F4 to one ALV application long back but it returned back with some bugs. Basically the search help exit was implemented to merge to two tables records.
Two tables – One material specific MRP values table (like T_MATNR) and another one material and plant (Like T_MATNR_PLANT) specific MRP values table. Purpose of search help is when user select f4 help for MRP values system first check in material specific table T_MATNR if MRP values not expired than only check plant specific table T_PLANT than merge the records and show valid MRP values from the both tables.
Our ABAPer had created one search help on T_MATNR table and in search help exit written logic to merge the records from other table T_MATNR_PLANT based on some condition and he was able to merge the records from both table but he was not able to show MRP values because of data type currency.
In runtime MRP values are appearing as ##### in parameter table RECORD_TAB of search help exit function module.
Challenges faced are :
On F4 pressed on Price Lot
In run time MRP Values encoded like #####
I was supposed to change these ####### (14.99) values with some other values(45.00). If I directly replaced these values with some other values I was getting a run time error.
And also
Finally I decided to use tit to tat method :smile: , replace encoded values with another encoded values.
Runtime – L_PLNAT-YYMRP = 45.00 and RECORD_TAB-STRING+65(6) = ###### (14.99)
After <fs_cur> = <Fs_cur1> ,
Output
Thanks,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |