Skip to Content
author's profile photo Former Member
Former Member

help required in BDC for Vendor creation

Hi ,

I have to create vendors using bdc via trxn FK01.

my requirement is to add multiple street adress but while recording initial screen contains only one line for street.

how should i proceed ?

I am working in ecc6.0.given below is my BDC.

perform open_group.

loop at record.

perform bdc_dynpro using 'SAPMF02K' '0105'.

perform bdc_field using 'BDC_CURSOR'

'RF02K-BUKRS'.

perform bdc_field using 'BDC_OKCODE'

'/00'.

perform bdc_field using 'RF02K-BUKRS'

record-bukrs.

perform bdc_field using 'RF02K-KTOKK'

record-ktokk.

perform bdc_dynpro using 'SAPMF02K' '0110'.

perform bdc_field using 'BDC_CURSOR'

'LFA1-REGIO'.

perform bdc_field using 'BDC_OKCODE'

'/00'.

perform bdc_field using 'LFA1-ANRED'

record-anred.

perform bdc_field using 'LFA1-NAME1'

record-name1 .

perform bdc_field using 'LFA1-STRAS'

record-stras.

perform bdc_field using 'LFA1-ORT01'

record-ort01.

perform bdc_field using 'LFA1-PSTLZ'

record-pstlz.

perform bdc_field using 'LFA1-LAND1'

record-land1.

perform bdc_field using 'LFA1-REGIO'

record-regio.

perform bdc_dynpro using 'SAPMF02K' '0120'.

perform bdc_field using 'BDC_CURSOR'

'LFA1-KUNNR'.

perform bdc_field using 'BDC_OKCODE'

'/00'.

perform bdc_dynpro using 'SAPMF02K' '0130'.

perform bdc_field using 'BDC_CURSOR'

'LFBK-BANKS(01)'.

perform bdc_field using 'BDC_OKCODE'

'=ENTR'.

perform bdc_dynpro using 'SAPMF02K' '0210'.

perform bdc_field using 'BDC_CURSOR'

'LFB1-ALTKN'.

perform bdc_field using 'BDC_OKCODE'

'/00'.

perform bdc_field using 'LFB1-AKONT'

record-akont.

perform bdc_field using 'LFB1-ALTKN'

record-altkn.

perform bdc_dynpro using 'SAPMF02K' '0215'.

perform bdc_field using 'BDC_CURSOR'

'LFB1-ZWELS'.

perform bdc_field using 'BDC_OKCODE'

'/00'.

perform bdc_field using 'LFB1-REPRF'

record-reprf.

perform bdc_field using 'LFB1-ZWELS'

record-zwels.

perform bdc_dynpro using 'SAPMF02K' '0220'.

perform bdc_field using 'BDC_CURSOR'

'LFB5-MAHNA'.

perform bdc_field using 'BDC_OKCODE'

'/00'.

perform bdc_dynpro using 'SAPMF02K' '0610'.

perform bdc_field using 'BDC_OKCODE'

'=UPDA'.

perform bdc_field using 'BDC_CURSOR'

'LFB1-QLAND'.

perform bdc_transaction using 'FK01'.

refresh bdcdata.

clear bdcdata.

endloop.

perform close_group.

Edited by: Rachel on Jun 19, 2008 11:23 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 09:48 AM

    Hi,

    while recording from the SHDB, in the initail screen of FK01

    you will have the check box Use central address management. check that, you will get multiple streets.

    Thanks,

    Rajinikantth

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.