‎2008 Apr 14 7:45 AM
Dear Group,
I need your help regarding Function Module Upper/Lower Case option.
My application server is running on AIX OS. That is purely case sensitive. For the Inbound Idoc, I am using the FM EDI_DATA_INCOMING. As an input parameter, when I am passing my file path of application server to this FM, It is converting the path into the upper case. As my OS is case sensitive, it is not recognizing the path bcoz it is converting it to upper case. From SE37, I am able to execute this FM, as we have option for upper/lower case. But when I am calling this FM through my Z program it is converting it to upper case.
For e.g.
My file is stored at following location....
/usr/sap/RD3/SYS/global/
when I am passing this value to FM EDI_DATA_INCOMING, it is converting it to /USR/SAP/RD3/SYS/GLOBAL/
My question is how to avoid this upper case translation.
I want my program to process the path without converting it to upper case.
Kindly help me to resolve this issue.
with regards,
Siddharth Patel
‎2008 Apr 14 7:52 AM
Hi,
create the input parameter like this.
PARAMETERS:file_nam(10) LOWER CASE.
then it will not convert.
rgds,
bharat.
‎2008 Apr 14 7:52 AM
Hi,
create the input parameter like this.
PARAMETERS:file_nam(10) LOWER CASE.
then it will not convert.
rgds,
bharat.
‎2008 Apr 14 7:54 AM
hi
Try FM : HR_99S_CONV_UPPER_CASE.
or try
Converting to Upper or Lower Case
TRANSLATE text TO UPPER CASE.
TRANSLATE text TO LOWER CASE.
<REMOVED BY MODERATOR>
regards,
rekha
Edited by: Alvaro Tejada Galindo on Apr 14, 2008 6:09 PM
‎2008 Apr 14 8:06 AM
Hi Bharat,
Thanks for your promt reply.
This what I was looking for.
I have awarded full marks to u.
with regards,
Siddharth Patel
‎2008 Apr 14 7:53 AM
try this function module
STRING_UPPER_LOWER_CASE
Converts string to proper case
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 14, 2008 6:08 PM
‎2008 Apr 14 7:56 AM
Hi,
create the input parameter like this.
PARAMETERS:file_nam(10) LOWER CASE.
then it will not convert.
in case if it converting in the function module the reference type of that field(u can find the option in domain of the ref type) should be changed to lower case.
rgds,
bharat.
‎2008 Apr 14 7:57 AM
Hi,
Use the below logic.
data: v_path(50).
v_path = '/USR/SAP/RD3/SYS/GLOBAL/'.
translate v_path to lower case.
write:/ v_path.
‎2008 Apr 14 7:58 AM
before passing this value to FM EDI_DATA_INCOMING, to have to use TRANSLATE <path> TO LOWER CASE.