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: 

Problem in FM

Former Member
0 Kudos

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.

5 REPLIES 5

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Salil,

see that you are passing correct export parameter value.

~john

Former Member
0 Kudos

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.

0 Kudos

Hi Friends,

Whatever suggestion u have provided I did all things. But still I will not working.??

0 Kudos

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