12-11-2006 11:25 AM
Hi,
I am using the FM CO2H_PROD_ORDER_READ in SE37 I am getting some value.
While in program I am using the same FM but in program it will not return value & the value of sy-subrc is also 0.
Anybody will suggest me what I have to do for the above probs.
12-11-2006 11:27 AM
Hi,
Input and output type of the fields you are passing should be the import and export parameters type of the FM .
Just change it according to it .
Regards,
Guru
mark if helpful
12-11-2006 11:40 AM
Hi Salil,
see that you are passing correct export parameter value.
~john
12-11-2006 11:42 AM
In SE37 ur passing values and it is returning value...Same way in SE38 while writing this FM U need to pass value to that parameter so that it returns value in the expected parameter or return table.
12-11-2006 12:38 PM
Hi Friends,
Whatever suggestion u have provided I did all things. But still I will not working.??
12-11-2006 12:48 PM
likely cause.
the import parameter I_AUFNR is of type AUFNR (data elemtn) which has got alpha conversion.
before calling the function module call the following fm
input should be whatever value u pass and for output use the following variable.
data: my_aufnr type caufvd-aufnr .
CONVERSION_EXIT_ALPHA_INPUT
now use my_aufnr in your FM for I_AUFNR.
Regards
Raja