cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_CR_ACC_GETDETAIL not working from VC

former_member110461
Active Contributor
0 Kudos

Hi,

I am trying to use BAPI_CR_ACC_GETDETAIL to get the credit limit of a customer. When I run it from se37, it all works fine and returns the data. When I run it in VC, with the same data, I get the error:

Credit limit not maintained for account xxxx area XXXX. Has anyone had anything like this before. I initially thought it was me putting in bad data but the fact that exactly the same data works via SE37 rules that one out.

Paul

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Paul,

Have you tried to debug during run-time of your VC model (by using SE37 and a pointer). By doing this you should be able to follow your BAPI behavior.

Regards,

Gilson Teixeira

Answers (1)

Answers (1)

Former Member
0 Kudos

Only complementing the answer from Gilson, you have to define an "external breakpoint" in SE37.

Regards,

Alessandro.

former_member110461
Active Contributor
0 Kudos

Hi,

Thanks for the replies. I'll find a friendly abaper and try that.

Thanks

Paul

former_member110461
Active Contributor
0 Kudos

Found out the issue - I was being stupid. Appears that VC is very strict when it comes to numbers. so I had to put the full 10 digit customer number in else it didn't like it.

Paul

Former Member
0 Kudos

Hi Paul,

the format of input parameters for ABAPs often makes problems. I recommend to check the passed values via external break point as I have described it in my weblogs when an issue occurs.

[Visual Composer and ABAP RFC/BAPI a powerful combination part I|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5221] [original link is broken] [original link is broken] [original link is broken];

[Visual Composer and ABAP RFC/BAPI a powerful combination part II|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5704] [original link is broken] [original link is broken] [original link is broken];

Best Regards,

Marcel