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: 

reg function modules

Former Member
0 Kudos
107

Hello

i have created a function module having three import parameters and i put two of them as optional but when i execute that functional module its asking me to enter values in all the three fields.And also when i use this function module in my report program I am unable to use select options instead if i use parameters its working fine .

1 ACCEPTED SOLUTION

Former Member
0 Kudos
83

hi chaitanya,

this is declared in table parameter.

S_KONNR LIKE <b>ZST_EBELN</b> Agreement number

RETURN LIKE BAPIRET1 Return Parameter

OUTPUT LIKE ZSMP_SERVICE_UPD Updating the SMP

zst_ebeln is the structure u have to crete in se11. then u can give nuber or inputs to s_konnr.

hi u can then ask ur friends . bcoz its not possible send codings .

regards'

karthik

4 REPLIES 4

Former Member
0 Kudos
83

hi chaitanya,

for u second question:\

u cannot give select option , if u declare in import parameter, instead u have to declare in tables. then only u can give number of values to ur input.

regards

karthik

****reward points if this is useful

0 Kudos
83

Hi Karthikeyan

I came to know that i need to use tables instead of parameters can u give me a detailed explanation regarding this if possible with an examle.

thanks and regards

chaitanya

Former Member
0 Kudos
83

Hi Chaitanya,

Welcome to SDN

parameters contain single values, where as select options contain more than 1 value.

if u are trying to pass set of values to FM through import parametrs it s not possible. instead in FM u have option called TABLES, through which u can pass an internal table to FM

hope it makes clear

Former Member
0 Kudos
84

hi chaitanya,

this is declared in table parameter.

S_KONNR LIKE <b>ZST_EBELN</b> Agreement number

RETURN LIKE BAPIRET1 Return Parameter

OUTPUT LIKE ZSMP_SERVICE_UPD Updating the SMP

zst_ebeln is the structure u have to crete in se11. then u can give nuber or inputs to s_konnr.

hi u can then ask ur friends . bcoz its not possible send codings .

regards'

karthik