Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BDC F-43 problem

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

Former Member
Not what you were looking for? View more on this topic or Ask a question