Skip to Content
0
Former Member
Aug 08, 2016 at 10:31 AM

Call FM in Program

1468 Views

Hi Guys,

i belong to SAP BI/Hana domain and i am stuck in 1 part of code below

I am using FM 'EPS_GET_FILE_ATTRIBUTES' in a program to fetch file attribute (Size of File).

I call this FM in a code and pass the Import parameters but i am not getting anything in return because in the FM there is an explicit check of "uppercase/lowercase" but when i call this FM from my program i don't know how to make this check.

CALL FUNCTION 'EPS_GET_FILE_ATTRIBUTES'

EXPORTING

FILE_SIZE = lds_size

IMPORTING

FILE_NAME = gcf_filename_ortho

DIR_NAME = gcf_path.

and below are the declarations i am using


gcf_filename_ortho TYPE C LENGTH 28 VALUE 'AIN0027_INVENTORY_LEAPLIVE',

gcf_path TYPE C LENGTH 29 VALUE '/sap/interface/APO/Outbound'.


When i execute the FM through SE37 with uppercase/lowercase checkbox ticket it gives me valid output but since i dont ensure this check in Program it doesnt return anything How do i check this in my program to get an output?


Thanks

Nayab

Attachments

scn.PNG (15.1 kB)