Application Development and Automation 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: 
Read only

Error in Call Transaction

Former Member
0 Likes
373

Hi Experts,

I am getting an error while uploading in Tcode : FBS1, when it encouters wrong cost center. this is fine, but my requirement is in excel sheet there are about 10 wrong centers, so it should give 10 eror messages.

Thanks in Adavance

2 REPLIES 2
Read only

Former Member
0 Likes
353

Hi,

are you using session method or call transaction?

if you are using session method, session log have all the error details.

if you are using call transaction, it calls record by record, so that it will give one error message of structure BDCMSGCOLL if that record is failed,. you should collect all the error message in the internal table and send to error log.

Refer the below links

[http://abapprogramming.blogspot.com/2008/04/call-transaction-syntax-for-sap-abap.html|http://abapprogramming.blogspot.com/2008/04/call-transaction-syntax-for-sap-abap.html]

[http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9da935c111d1829f0000e829fbfe/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9da935c111d1829f0000e829fbfe/content.htm]

Reward if found helpful.

Regards,

SB

Read only

Former Member
0 Likes
353

Hi,

SAP will not throw all the errors in one shot, it will only 1 error at a time, once the error is encountered it will not continue further.

That's the reason its throwing only 1 error instead of showing you all the 10 errors even though you have 10 errors.

Thanks,

Mahesh.