2006 Jun 28 10:14 AM
hi friends,
iam creating custom BAPI. but iam not adding into API method.
1.is it necessary function module start with ZBAPI* ?
2. is it neccessary the fields in FM starts with BAPI?
3. iam getting error BAPI return? but i have declared in export parameter ZRETURN TYPE BAPIRET2.
PLS SEND ANSWERS.
CHANDU.
2006 Jun 28 10:17 AM
> hi friends,
>
> iam creating custom BAPI. but iam not adding
> ot adding into API method.
> 1.is it necessary function module start with
> with ZBAPI* ? <b>No</b>
> 2. is it neccessary the fields in FM starts
> tarts with BAPI? <b>No for Fields /b]
> 3. iam getting error BAPI return? but i have
> have declared in export parameter ZRETURN TYPE
> BAPIRET2.----->Syntax Error.
> PLS SEND ANSWERS.
> CHANDU.
Regards
Prabhu
2006 Jun 28 10:19 AM
What you are doing is simply creating a Remote enabled function module, where in there are no restrictions on the naming conventions.
What is the error you getting on the BAPIRET2?
Regards,
Ravi
2006 Jun 28 10:27 AM
HI,
Iam getting errors like this,
1. the name function module &2 doesnot begin with BAPI
2. the reference structure field AUFNR does not begin with BAPI
pls clarify
chadnu
2006 Jun 28 10:32 AM
hi,
1. you can create with your own name.
2. not required,
3. you shuld declare the return table parameter of type BAPIRET2 or BAPIRETURN
Regards
vijay