2010 Mar 24 11:05 AM
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.
2010 Mar 25 6:09 AM
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
2010 Mar 25 6:09 AM
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
2010 Mar 25 12:05 PM
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