04-18-2008 7:33 AM
Hi all
Please tell me the functionality of each of the function module that I had listed below.
i) KD_GET_FILENAME_ON_F4
ii) CATS_NUMERIC_INPUT_CHECK
iii) CONVERSION_EXIT_ALPHA_INPUT
iv) FI_PERIOD_DETERMINE
With Regards
Vijay
04-18-2008 7:42 AM
Hi,
Open the link
click on continue as guest,here in function module tab enter ur FM Then click on GO.
Regards
Kiran Sure
04-18-2008 7:44 AM
Hi,
1.KD_GET_FILENAME_ON_F4
a.Check existing file is present .
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
STATIC = 'X'
CHANGING
FILE_NAME = P_FILE.
2.CONVERSION_EXIT_ALPHA_INPUT
Conversion exit ALPHA, external->internal
ALPHA conversion is used especially with account numbers. During conversion from the external to the internal format, the system checks to see if input in the INPUT field is purely numeric, that is, if this input consists only of numbers, possibly with spaces before and after them. If this is the case, then the number string is inserted right- justified in the display field OUTPUT and all spaces to the left of the value are filled with zeroes ('0'). If the input is not purely numeric, it is inserted in the display field from left to right and all extra spaces are filled with blanks.
Example:
(Input field and output field are both eight characters in length)
1. '1234 ' --> '00001234'
2. 'ABCD ' --> 'ABCD '
3. ' 1234 ' --> '00001234'
Conversion from the internal to the external format (function module CONVERSION_EXIT_ALPHA_OUTPUT) is undertaken in exactly the opposite manner.
3.FM: CATS_NUMERIC_INPUT_CHECK to check for pure numeric
values which will consider the decimal and unit
separator.
Regards,
SHIVA(reward if helpful).
04-18-2008 7:15 PM
Hi,
1) KD_GET_FILENAME_ON_F4 : This Fm is used to provide F4 help for selecting the files on presentation server.
2)CATS_NUMERIC_INPUT_CHECK
it checks if the field is numeric, removes the thousands separator and, if there is a negative sign, moves it to the end.
3)CONVERSION_EXIT_ALPHA_INPUT : In general , the internal storage of field's format differs from the display format. this can be done by using conversion exits.
The system sees if input in the INPUT field is purely numeric. If there are spaces , then the number string is inserted right- justified in the display field OUTPUT and all spaces to the left of the value are filled with zeroes ('0'). If the input is not purely numeric, it is inserted in the display field from left to right and all extra spaces are filled with blanks.
Ex: C00154790A --> C00154790A
1490770001 --> 000000001490770001
4) FI_PERIOD_DETERMINE : This is for getting the next fiscal year.
Reward points if helpful.
Thanks and Rewards.