cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI bind error

Former Member
0 Kudos

Hi all...

I'm trying to build the book2fly app and have encountered an error I've never seen before. I've built this before with no problems and I've also built the same app with the same BAPIs in visual composer successfully recently.

When I deploy the app I get an Internal Server Error. I've narrowed the error down to the line that creates the model:

wdContext.nodeBapi_Sflight_Getlist_Input().bind(new Bapi_Sflight_Getlist_Input());

I broke this down into:

Bapi_Sflight_Getlist_Input mod = new Bapi_Sflight_Getlist_Input();

wdContext.nodeBapi_Sflight_Getlist_Input().bind(mod);

and the first line creates the error. The cardinality on the context node is right. I'm out of ideas and I'm hoping someone out there has some.

Thanks in advance,

Ross

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I banged my head against the wall for a while about this one and it turns out there was a problem on the server. We bounced the server and everything started working.

Thanks,

Ross

Former Member
0 Kudos

Hi..

If you facing such type of problem then do one thing delete the mapping from component contloller and view controller and mapping again to them.

also deleted import Api for Bapi..and built it ..then bind once again by coding as do before

<bapi>_input mod=new <bapi>_input();

wdcontext.node<bapi>_input().bind(mod);

i think it will give the bind in programatically...

thanks

jati