10-30-2017 4:05 PM
Dear Gurus,
I am using a SAP EWM FM ( /SCWM/LAGP_READ_RANGE ) and need to pass STACK value in it. In database table, the datatype of field 'STACK' is 18 Characters long. The problem is that FM is not accepting it's value as a normal string. For Example, if user enters a stack value of 20 in selection parameter, in the database table it is '000000000000000020'. If i use Fm 'CONVERSION_EXIT_ALPHA_INPUT' to convert this 20 in to desired format, the FM still does not accept it. I have checked it in debug mode and Fm is accepting this value only in this format , means first 15 characters as SPACES, 16th character as 0, and then the actual value 20 and position of value is on right side. Can anyone tell how can I convert this value in desired format?
Thanks very much.
10-30-2017 5:05 PM
We don't have this FM but does checking the respective definitions in the data dictionary not solve this issue? Are you not using the same data type as in the FM definition?
Not sure I understand what exactly is the predicament...
10-31-2017 2:56 PM
Thanks for your reply. I am using the exact datatype as in table, but don't know why it is not accepting it.
10-31-2017 3:43 PM
Is your question simply how to convert the characters 0000000000000000020 into 020 right aligned ?
11-01-2017 8:35 AM