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: 

Problem uploading email address while uploading in fk02

Former Member
0 Kudos

Dear experts,

I am running a BDC to upload some vendor details for already existing vendors. All the fields are getting uploaded except "email ID"

While running the BDC the email field gets copied into the screen from tab file also. But it is not getting saved in LFA1 table.

Please guide.

Is there any other way to upload email ID separately??

Warm regards,

Sumit Nene.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Dear Sumit,

You need to select the Use central address Management checkbox while doing recording..

or add the 2 below perform statements displayed under codes

perform bdc_dynpro using 'SAPMF02K' '0106'.

perform bdc_field using 'BDC_CURSOR'

'WRF02K-D0380'.

perform bdc_field using 'BDC_OKCODE'

'/00'.

perform bdc_field using 'RF02K-LIFNR'

IT_DATA-LIFNR.

perform bdc_field using 'RF02K-BUKRS'

IT_DATA-BUKRS.

perform bdc_field using 'RF02K-D0110'

'X'.

perform bdc_field using 'RF02K-D0120'

'X'.

perform bdc_field using 'RF02K-D0130'

'X'.

perform bdc_field       using 'WRF02K-D0380'  " Add this
                              'X'.
perform bdc_field       using 'USE_ZAV'

" Add this

'X'.

perform bdc_dynpro using 'SAPMF02K' '0111'.

perform bdc_field using 'BDC_OKCODE'

'=UPDA'.

perform bdc_field using 'BDC_CURSOR'

'SZA1_D0100-SMTP_ADDR'.

hope this will help..

Regards,

Apoorv

2 REPLIES 2

Former Member
0 Kudos

Dear Sumit,

You need to select the Use central address Management checkbox while doing recording..

or add the 2 below perform statements displayed under codes

perform bdc_dynpro using 'SAPMF02K' '0106'.

perform bdc_field using 'BDC_CURSOR'

'WRF02K-D0380'.

perform bdc_field using 'BDC_OKCODE'

'/00'.

perform bdc_field using 'RF02K-LIFNR'

IT_DATA-LIFNR.

perform bdc_field using 'RF02K-BUKRS'

IT_DATA-BUKRS.

perform bdc_field using 'RF02K-D0110'

'X'.

perform bdc_field using 'RF02K-D0120'

'X'.

perform bdc_field using 'RF02K-D0130'

'X'.

perform bdc_field       using 'WRF02K-D0380'  " Add this
                              'X'.
perform bdc_field       using 'USE_ZAV'

" Add this

'X'.

perform bdc_dynpro using 'SAPMF02K' '0111'.

perform bdc_field using 'BDC_OKCODE'

'=UPDA'.

perform bdc_field using 'BDC_CURSOR'

'SZA1_D0100-SMTP_ADDR'.

hope this will help..

Regards,

Apoorv

Former Member
0 Kudos

Thanks apoorv!

Problem solved

Solution:-

The checkbox "central addr mgmt" doesnt appear in FK02 or FK01 tcode. But it appears while recording the same in SHDB.

Depending on status of this check box, the fields and screen numbers in next screen are shown and so is the data stored.

So the email ID is now getting saved after creating new recording setting the check box.

Regards,

Sumit Nene