cancel
Showing results for 
Search instead for 
Did you mean: 

PS EPS bapi BAPI_BUS2001_PARTNER_GETDETAIL has no return parameter

0 Kudos

Dear all,

We are implementing an interface from Project systems to another planning system.  To do this we are using the EPS bapi's.  We are generating the ALE messages for the various bapi methods and then writing small wrapper programs to call the bapi and populate the IDOC.

There are some fields we need that are accessed by BAPI_BUS2001_PARTNER_GETDETAIL.  When we go to create the ALE message (transaction BAPI, menu path Environment -> Generate ALE Interface) ,we get the error message

The BAPI must have a RETURN parameter

Message no. B1511

Diagnosis

Each BAPI must have a Return parameter that references the type BAPIRETURN, BAPIRETURN1, BAPIRET1 or BAPIRET2. This parameter does not exist. Generation has been terminated.

Procedure

Add a Return parameter to the BAPI.

Most of the other bapi's do have return parameters, so this is a bit of a surprise.  We could find nothing in OSS or out on the web.  It does not seem right to modify the SAP supplied bapi.  Does any one know what the next correct step would be?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I am not sure how the message is coming. But I think it is perfectly alright to copy this BAPI and create new BAPI with return parameter. alternatively also raise this to OSS.

regards,

Mahendra

Answers (0)