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 F-43 problem

Former Member
0 Kudos

Hi experts,

I have wriiten BDC for F-43..it is executing in foreground(A)..Document is also generated...But not in Background(N mode)

Can any body plz check my code and suggest me please?

LOOP AT GT_F43 INTO GS_F43 WHERE BLART = GS_F43_DT-BLART.

ADD '1' TO LINE_COUNT.

some perform statements

ENDLOOP.

perform bdc_dynpro using 'SAPMF05A' '0330'.

perform bdc_field using 'BDC_CURSOR'

'BSEG-ABPER'.

perform bdc_field using 'BDC_OKCODE'

'=BU'.

perform bdc_dynpro using 'SAPMF05A' '0300'.

perform bdc_field using 'BDC_CURSOR'

'BSEG-WRBTR'.

perform bdc_field using 'BDC_OKCODE'

'=BU'.

perform bdc_field using 'DKACB-FMORE'

'X'.

PERFORM POPULATE_CODING_BLOCK_F43.

PERFORM BDC_DYNPRO USING 'SAPMF05A' '0700'.

PERFORM BDC_FIELD USING 'BDC_OKCODE'

'/00'.

PERFORM BDC_FIELD USING 'BDC_CURSOR'

'RF05A-NEWBS'.

PERFORM BDC_DYNPRO USING 'SAPMF05A' '0700'.

PERFORM BDC_FIELD USING 'BDC_OKCODE'

'=BS'.

PERFORM BDC_FIELD USING 'BDC_CURSOR'

'RF05A-NEWBS'.

PERFORM BDC_DYNPRO USING 'SAPMF05A' '0700'.

PERFORM BDC_FIELD USING 'BDC_OKCODE'

'=BU'.

PERFORM BDC_FIELD USING 'BDC_CURSOR'

'RF05A-NEWBS'.

Thanks in advance,

Veena

9 REPLIES 9

koolspy_ultimate
Active Contributor
0 Kudos

hi veena i think there is small mistake in your program.

So please paste the complete program here or

save the program in notepad and upload it into any free uploading sites and paste the url here so that it may be helpful.

0 Kudos

hI

Thanq for your replyinggg..can you plz tell me uploading site

0 Kudos

.

0 Kudos

This message was moderated.

0 Kudos

This message was moderated.

0 Kudos

hi veena please mark this as closed thread.

(if possible post the solution)

0 Kudos

Hi Veena,

If the recording contains error or warning it will not generate the document in background but it will generate in foreground.

Regards,

Pawan.

Former Member
0 Kudos

Hi,

What is the error message you are getting? Also, can you try executing your recording in SHDB with mode 'P' - Background processing, debugging possible and check where exactly the problem is with the BDC.

Regards,

Shyam.

Former Member
0 Kudos

Hi,

After entring the header data in the main screen clcik fast data entry tab for entering line items while recording.

- Syerra