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: 

Unable to Load not more than 5 records in BAPI

Former Member
0 Kudos

Hi All

I'm using a custom BAPI program to load data for Tender Opportunity in CRM

I'm able to load data successfully but the issue is No matter how many records I try to load,it loads 5 and then throws an error.

The error is  :

An authorization check could not be executed   and the Error Type is A.

Can anyone out there help me out please.

Thanks in Advance

7 REPLIES 7

former_member188827
Active Contributor
0 Kudos

Please run transaction "SU53" after you receive the error. It should show the missing authorization data. Your basis administrator will assign the relevant authorization.

Also attach snapshots of SU53 and ST22 in case the issue is not fixed.

Regards

0 Kudos

Hi

I did as you said and attaching the files as requested.

Loaded 6 records and as usual 5 got loaded and 1 failed

No dumps in ST22

Authorization Check was succesfull

Please help me out.

0 Kudos

what happens when you try to enter the 6th record (which is not getting uploaded) through front end transaction? does it get created through transaction?

Also, please mention the name of BAPI which you are using.

Regards

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Check BAPI Return messages.

Former Member
0 Kudos

Hi Naveen,

Loop the internal table BAPIRET and check the message what it is showing for the 6th record.

Let me know for further clarifications.

Thanks & Regards,

Pavan.N

raymond_giuseppi
Active Contributor
0 Kudos

I'm using a custom BAPI program

You will have to post more information to get good answers, which tool did you use in this "BAPI" part of the code, etc.

Regards,

Raymond

former_member184569
Active Contributor
0 Kudos

Does the parameter that you are passing in the BAPI change after the 5th record?

This usually happens due to wrong parameters or sending some data that is repetitive, not required to be provided for every record, raising exception.