2014 Apr 04 4:45 PM
Hello All,
I am Developing a Search Help Exit.
In CALLCONTROL-STEP = 'DISP' ,For some reason i have to refresh RECORD_TAB with entries and fill the RECORD_TAB with some other Entries that i have fetched in CALLCONTROL-STEP = 'SELECT'.
Now when i am filling the RECORD_TAB there are some QUANTITY and CURRENCY values that also need to be displayed.
So i am filling these Values in normal way as i am filling other values in Record_Tab.
But somehow they are not getting displayed with correct Values but are Displaying some Garbage value.
Kindly Help.It will be rewarded and appreciated.
Thanks,
2014 Apr 04 5:30 PM
Hi,
Are you using F4UT_RESULTS_MAP ?
See here :
http://scn.sap.com/message/6096135#6096135
CALL FUNCTION 'F4UT_RESULTS_MAP'
* EXPORTING
* SOURCE_STRUCTURE =
* APPLY_RESTRICTIONS = ' '
TABLES
shlp_tab = shlp_tab
record_tab = record_tab
source_tab = lt_result
CHANGING
shlp = shlp
callcontrol = callcontrol
EXCEPTIONS
illegal_structure = 1
OTHERS = 2
.
IF sy-subrc <> 0.
rc = 4.
ENDIF.
Regards.
Hello All,
I am Developing a Search Help Exit.
In CALLCONTROL-STEP = 'DISP' ,For some reason i have to refresh RECORD_TAB with entries and fill the RECORD_TAB with some other Entries that i have fetched in CALLCONTROL-STEP = 'SELECT'.
Now when i am filling the RECORD_TAB there are some QUANTITY and CURRENCY values that also need to be displayed.
So i am filling these Values in normal way as i am filling other values in Record_Tab.
But somehow they are not getting displayed with correct Values but are Displaying some Garbage value.
Kindly Help.It will be rewarded and appreciated.
Thanks,
2014 Apr 04 5:03 PM
hi Lav,
what do you mean by garbage values? Did you refer to the correct currency with your fields? That is the most popular reason why it doesn't show correct values.
But with less information it will be hard, to give a answer...
On the other hand, did you use the search to solve your problem. I mean, just searching with your title + currency gives a lot of hits. I'm pretty sure there is a solution in the result-stack.
~Florian
2014 Apr 04 5:13 PM
By Garbage value i mean that instead of Correct Quantity that i am Expecting at output say 10.000 i am getting 2,000,200,020.002.I debugged and didn't get from where i am getting these values.
2014 Apr 04 5:30 PM
So Lav,
did you try to find a solution by using the search. If you are fighting the problem after using the search it will be helpful, if you share your coding.
But try this before. Set a hard value to the field you are getting the "garbage" and set a watchpoint at it. I mean, if the value change somewhere, you will find it with that way.
~Florian
2014 Apr 04 5:42 PM
Hi,
Just try to find out how the value was displayed before refreshing the table in debugging. Try to make it in the same way.
2014 Apr 06 3:51 PM
hi jayanthi can i have ur mail id..i have doubt in sap-abap can u plz help me
2014 Apr 04 5:30 PM
Hi,
Are you using F4UT_RESULTS_MAP ?
See here :
http://scn.sap.com/message/6096135#6096135
CALL FUNCTION 'F4UT_RESULTS_MAP'
* EXPORTING
* SOURCE_STRUCTURE =
* APPLY_RESTRICTIONS = ' '
TABLES
shlp_tab = shlp_tab
record_tab = record_tab
source_tab = lt_result
CHANGING
shlp = shlp
callcontrol = callcontrol
EXCEPTIONS
illegal_structure = 1
OTHERS = 2
.
IF sy-subrc <> 0.
rc = 4.
ENDIF.
Regards.
2014 Apr 06 7:11 AM
Many Thanks Eitan,
I have used the same Function Module and my problem gets Solved.
Thanks,
Lav Bharadwaj
2014 Apr 06 7:19 AM
Hi,
You are welcome...
I also learned about the existence of this function the hard way....
Regards.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |