2007 Nov 29 5:04 AM
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 .
2007 Nov 29 5:29 AM
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
2007 Nov 29 5:12 AM
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
2007 Nov 29 5:17 AM
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
2007 Nov 29 5:26 AM
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
2007 Nov 29 5:29 AM
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