cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to create new BAPI_...: 'name' is null or not an object

Former Member
0 Kudos

Hi,

when I created DataSources in VC by drag and drop BAPI-Funktions it works normally! Only when I want to create an object for the BAPI 'BAPI_BUS1240_GETDETAIL' I get the 2 line-Error:

Failed to create new undefined: Object required

Failed to create new BAPI_BUS1240_GETDETAIL: 'name' is null or not an object

For all other BAPIs 'BAPI_BUS1240' the creation works! I had a short look at the backend: All BAPIs 'BAPI_BUS1240' seems to be equal defined.

A look at the SAP notes don't helped me, too.

What could be the error?

Kind regards, Bernd

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Which parameter do you mean? In the other BAPIs 1240, which are working, the same parameters are provided. So I don't believe its the cause.

Regards, Bernd

Former Member
0 Kudos

Hi,

As Rachel had mentioned in the Input port of the BAPI there is a parameter called: "SCENARIO" which is of type RAW, which is not supported by VC

Best regards,

Ran

Former Member
0 Kudos

Hi Ran,

thank you for the hint.

I have tested now the BAPI 'BAPI_BUS1077_GETDETAIL', it has the same Import parameter SCENARIO with the same type RAW, but this BAPI I can include as a service: No error message.

So the RAW is not the problem.

What can it than be?

Regards, Bernd

0 Kudos

Hi Bernd,

Could you specify on which system the BAPI_BUS1240_* functions can be found?

We do our BAPI testing with Q3A, and I found there only:

BAPI_BUS1077, BAPI_BUS1091, BAPI_BUS1092*.

Regards,

Rachel

Former Member
0 Kudos

Hi Rachel,

you can find the BAPI functions on ECC 6.0 Systems, for example the QPT.

Regards,

Bernd

0 Kudos

Hi,

it seems that this BAPI contains a data type that is not supported in Visual Composer (RAW).

I am not 100% that this is the casue for error, but it could be a possible reason.

Regards,

Rachel