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: 

BAPI doubts

Former Member
0 Kudos
116

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.

4 REPLIES 4

Former Member
0 Kudos
87

> 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

Former Member
0 Kudos
87

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

Former Member
0 Kudos
87

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

former_member188685
Active Contributor
0 Kudos
87

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