Application Development 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: 

Functionality

Former Member
0 Kudos
186

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

4 REPLIES 4

Former Member
0 Kudos
65

1)KD_GET_FILENAME_ON_F4: this FM used in BDC programs for to get the file path from server.

2)CATS_NUMERIC_INPUT_CHECK: this FM used for to check whether the entered value is numeric or not.

3)CONVERSION_EXIT_ALPHA_INPUT: this FM used for to convert any numeric value into SAP format.

example: kunnr field has 10 char

if you wan to print 1000 in output using this FM you will get 0000001000 like this.

4)FI_PERIOD_DETERMINE: this is used to find out the month and fiscal year of a company.

Reward if it helpful.

Dara.

Former Member
0 Kudos
65

Hi,

1)KD_GET_FILENAME_ON_F4 is used to locate file in a directory (on value request). It should be at the time of uploading data from local PC to internal table.

Insted u can use a simple file locator F4_FILENAME.

2)CATS_NUMERIC_INPUT_CHECK – It does not convert character fields to numeric fields. Basically all it does it checks if the field is numeric, removes the thousands separator and, if there is a negative sign, moves it to the end. It could not handle the number '+107,400.99' and threw a "not numeric" exception.

3)CONVERSION_EXIT_ALPHA_INPUT - add leading zeros

4)FI_PERIOD_DETERMINE - Find the period for a date

Reward if useful.

Regards,

Swetha.

Former Member
0 Kudos
65

Hi,

Open the link

http://www.se37.com/

click on continue as guest,here in function module tab enter ur FM Then click on GO.

Regards

Kiran Sure

Former Member
0 Kudos
65

KD_GET_FILENAME_ON_F4

Filemanager support to locate file in a directory (on value request)

ie the functionmodule helps to browse a file at the f4 help of any field

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'

CATS_NUMERIC_INPUT_CHECK

checks the input field contain other than numeric .

if non numeric is present fire an error message 'Enter Numeric value'

FI_PERIOD_DETERMINE

in this fm we pass Date i and get Fiscal Year Fiscal period Posting period