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: 

BDC VA01 in background mode error

Former Member
0 Kudos

Hi ,

I am psoting data into VA01 using BDC call transaction in background mode for two cases.

For one it is running successfully and for the other it is not.

I have compared the data in the table BDCDATA for both the cases and it is same.

Then I tried debugging in foreground mode and the same case which was not running earlier is running in foreground mode.

Please advice what could be the problem?

7 REPLIES 7

Former Member
0 Kudos

Hi ABHI ,

analyze the session log - are there any error messages?

Regards

REA

Former Member
0 Kudos

What are you getting in BDC messages?

Give a clear picture of your problem so that others can help you. If you just say one BDC is running while other is not how can we help you?

Always be specific in asking your questions, and give whatever information you can give to explain the scenario...

Regards,

Karthik D

0 Kudos

I am getting the following messages:

TCODE DYNAME DYNUMB MSGTYP MSGID MSGNR MSGV1 MSGV2 MSGV3 ENV

VA01 SAPMV45A 4001 W VU 1 Purchase order date CTU

VA01 SAPMV45A 4001 W V1 221 5/27/2010 CTU

VA01 SAPMV45A 103 I V1 81 CD

VA01 SAPMSSY3 131 S 0 344 SAPMSSY3 131 CTU

0 Kudos

Hi ABHI ,

first of all: you should always create bdc sessions, error analysis is easier

now browse table T100 for the messages you got

MSGID | MSGNR

VU | 001

V1 | 221

V1 | 081

00 | 344

Regards

rea

0 Kudos

>

> I am getting the following messages:

>

>

>

> TCODE DYNAME DYNUMB MSGTYP MSGID MSGNR MSGV1 MSGV2 MSGV3 ENV

> VA01 SAPMV45A 4001 W VU 1 Purchase order date CTU

> VA01 SAPMV45A 4001 W V1 221 5/27/2010 CTU

> VA01 SAPMV45A 103 I V1 81 CD

> VA01 SAPMSSY3 131 S 0 344 SAPMSSY3 131 CTU

Hello ABHI,

The problem is because of some breakpoints created by you. So it is entering it to debugger in the background mode which cannot be handled by the BDC. Delete all your breakpoints before testing or open a new logon session to test it in background.

Hope this solves your problem.

Regards,

Karthik D

0 Kudos

I have already seen this meaasage in SE91.It says

No batch input data for screen & & where msgv1 is 'SAPMSSY3' AND MSGV2 IS 0131.

But in this program screen I cannot find this message number.Neither I am getting any information about what data is missing.

Also I would like to remind that the same BDC is running successfully without any such message in foreground mode.

0 Kudos

hi,

use the screen resolution size as 'X' in CTU_PARAMS structure...

regards,

Suresh.D