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

Validation error in BDC

Former Member
0 Likes
1,134

Hi friends,

I am doing a BDC for F-03 and everything is working fine except when the the BDC is executed at background mode i.e N.

It is working good at A and E but it gives a custom validation error at background processing.

I am searching SDN since yesterday and found this is caused by S and W messages but i have diffused then but then too the error is encountered.

No idea why my PROFIT CENTER value is not populated at BACKGROUND mode.

Any ideas?

Please help.

Thanks much.

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,028

S and W message don't cause this kind of issue, SDN doesn't always give good results.

One possibility: In N mode, by default, the BDC stops (without any message) if a COMMIT WORK is executed. You may cancel this behavior by running CALL TRANSACTION ... OPTIONS FROM (using value ...-racommit = 'X'), but it's not possible to do the same with sessions (SM35) unless you run it using RSBDCCTU program.

8 REPLIES 8
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,029

S and W message don't cause this kind of issue, SDN doesn't always give good results.

One possibility: In N mode, by default, the BDC stops (without any message) if a COMMIT WORK is executed. You may cancel this behavior by running CALL TRANSACTION ... OPTIONS FROM (using value ...-racommit = 'X'), but it's not possible to do the same with sessions (SM35) unless you run it using RSBDCCTU program.

Read only

Former Member
0 Likes
1,028

Hi Park,

If you have GUI objects like pop-up screens, etc it will not work. Check out these links for more information.

Thanks and Best Regards,

Dinesh.

Read only

0 Likes
1,028

Thanks for your time.

Sandra, I tried that before but that didnt helped.

Dinesh, there are no POPUP error screens and since i am calling a SAP standard F-03 tcode I will not be able to mention Check sy-binpt is initial etc...Sorry if i have not understood your term here.

I am replacing PRCTR field value with new one via BDC but it seems value is not getting picked at background mode or screens are different at background but the same is working good at FOREGROUND.

Thanks much.

Read only

0 Likes
1,028

> it gives a custom validation error at background processing

What did you mean? Did you get some messages using CALL TRANSACTION ... MESSAGES INTO ..., what are they?

Read only

0 Likes
1,028

The error is coming from Validations configured at FI.

PROFIT CENTER VALUE on the screen is getting placed correctly at FOREGROUND mode but at BACKGROUND error it gives an error.

Now what i did is used NOBINPT = "X"....and the BDC is working good but now there is some issue with Table Control selections..

As without NOBINPT = "X" at Table Control 2 items are selected but with NOBINPT = "X" only 1 item is selected and that is causing an issue.

Many Thanks.

Read only

0 Likes
1,028

> it gives an error.

which one?

> that is causing an issue.

which one?

Could you give accurate description of issues? (like SAP message numbers, etc.)

Read only

0 Likes
1,028

Custom Errors are encountered from FI validations...Message Class YF39.

Thanks for your time, Sandra. nobinpt parameter did the trick.

Read only

0 Likes
1,028

Hi Park,

Since the problem is resolved, wonder why no points was granted. SY-BINPT or NOBINPT are the same thing.

Regards,

Dinesh.