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

Problem in BDC Background

Former Member
0 Likes
911

Hi

I am facing a problem in BDC ,call trasaction, for FB01

While the recording is done, the confi has BSEG-DMBTR field (Local Currecny)

and now its not there is the screen.

If i run my BDC is foreground, it says Field does not exist as sucess message and then i press enter and it let me post the record.

But in Background, its not letting me post the document.

wether its because , in background if any screen elements is message , being a succes message, it doesnot post ?

please help

8 REPLIES 8
Read only

Former Member
0 Likes
854

Hi,

data  dmbtr(16) type c.

move BSEG-DMBTR  to dmbtr.

move currency value to character field and then pass the value

Regards,

V.Balaji

Reward if Usefull...

Read only

0 Likes
854

Hi, its not becuase of value, that screen elemtns is not there in the screen, so it shows a success message that BSEG_DMBTR doesnot exist in the screen. in foreground i can press eneter and go further but in background, its not posting

Read only

Former Member
0 Likes
854

can you explain how to do the back ground scheduling?

if it is possible with screen shots

Read only

Former Member
0 Likes
854

Hi,

U are saying that amount field is not appearing.Try change the settings in SPRO,report the problem to ur FI consultant.

and also while populating the amount field move the amount to character field and then populate in ur BDC.

example.

data :amount(16) type c.

amount = dmbtr.

populate the amount.

Regards,

Ballack.

Reward Points if helpful.

Read only

0 Likes
854

Hi

No its not that, i have values, only thing when the recording was done, the DMBTR was there and not its not there in the screen.

Now if i run in Foreground, it gives me message (sucess) that field DMBTR does not exist in the screen.and i press eneter and it posts.

But in background, it does not post, is it beacuse if the screen fields not there in screen , it will not post in Background being that as sucess message

Read only

Former Member
0 Likes
854

Hi,

I think the screen element was not avaliable with the prorgam and the screen. Just check it out once in again with the program and screen number.

Check your code as follows.

PERFORM BDC_DYNPRO USING 'SAPMF05A' '0100'.

PERFORM BDC_FIELD USING 'BDC_OKCODE'

'/00'.

PERFORM BDC_FIELD USING 'BSEG-DMBTR'

'INR'.

Regards,

Sankar.

Read only

0 Likes
854

Ya the screen element is not available in the screen now, but its there in recording as config was diff when recording was done,

so can doc can be posted in background, if screen elements not there as that being a sucess message

Read only

Former Member
0 Likes
854

Hi Munish singh,

Actually this error because of currency field.

1) declare the character variable equal to the dmbtr field output length. ex: data: v_dmbtr type c length 18.
2) before passing to the screen field.
3) move itab-dmbtr to v_dmbtr.
    condence v_dmbtr.
4) And pass this v_dmbtr to the screen field ....

then your issue positively will resolved.

Dont forgot to Reward me points .....

All the very best....

Regards,

Sreenivasa sarma K.