‎2013 Jan 10 5:07 AM
Dear all
As per my requirement i have to maintain 'EMAILID' type as changeing but it is not geting activate. If maintain 'EMAILID' type as returning it is geting activate what might be the problem?
‎2013 Jan 10 6:10 AM
Hi,
check CHECKBOXs ,,,in badi interface it was throwing like there should be all importing parameter OPTIONAL(check box) and atleast one return exporting OPTIONAL(checkbox) should be checked.
regards.
‎2013 Jan 10 6:30 AM
'EMAILID' type changing check button option checked but still it is not geting activate same error is coming
‎2013 Jan 10 8:59 AM
It seems the error you are getting is regarding the use of PREFERRED parameters. Have you defined any PREFERRED import parameters for your method. If yes, then try making all your import parameters as optional.
‎2013 Jan 10 10:18 AM
This is for the method get_user_emailid
This for get_user_addresdata
what is preferred parameters?
why pass value check box?
why optional check box?
what is the error where it got structued?
‎2013 Jan 10 10:31 AM
Looks like you unintentionally ended up using PREFERRED parameters. If that's the case, you can go to the menu option Goto > Interface Section. There, you can see if the PREFERRED keyword has accidentally been used for any import parameter.
‎2013 Jan 10 10:40 AM
no, PREFERRED keyword i haven't used, coding not yet started in methods.
i am just defineing the parameters for the methods. in type delcartion for for parameters and at check boxex i got struced. i need to make changing as parameter type in second method for second parameter. if i make return as parameter it is geting activate?
‎2013 Jan 10 10:57 AM
You may not have done coding in your methods but the PREFERRED keyword is used in the signature definitions. If you navigate to the menu option I mentioned, you would understand what I am saying.
If you created your interface by copying a standard one, it's probable that the PREFERRED addition got copied as well. In any case, it's worthwhile to have a look at the 'Interface Section' (by navigating to the menu option) because clearly the error you have reported is linked to PREFERRED parameters.
‎2013 Jan 10 10:53 AM
http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page2.htm
plz go through this link once
i didn't understand at the following point
if i maintain 'EMAILID' type as returning i am able to activate badi definition. But as mentioned in the above picture " 'EMAILID' TYPE did not chagend from the exporting parameter to changing parameter"? what needs to be done?
‎2013 Jan 10 11:11 AM
You can read the link below to know why you can't have EXPORTING or RETURNING parameters in a multiple-use BAdI.
http://help.sap.com/saphelp_nw04s/helpdata/en/e4/5c3642eca5033be10000000a1550b0/content.htm
‎2013 Jan 10 11:37 AM
yes i read the following thread
http://help.sap.com/saphelp_nw04s/helpdata/en/e4/5c3642eca5033be10000000a1550b0/content.htm
as per the link it self i am maintaining parameter type as changeing but badi not able to activate
‎2013 Jan 10 12:25 PM
hi,
you have cerated new badi object for the exit point, check for whether alredy existing badi objects.
abt this Not sure,,, ,,,,That might be problem, I had the same problem not able to create object when object refer to exit and its interface alreday exist.
regards.