‎2010 Nov 18 7:18 AM
hi guys,
well i want to know why there is difference when i do recording. I am using the transaction 'VD01'
while recording i get
perform bdc_field using 'BDC_CURSOR'
'ADDR1_DATA-TRANSPZONE'.
perform bdc_field using 'ADDR1_DATA-NAME1'
record-NAME1_004.
perform bdc_field using 'ADDR1_DATA-SORT1'
record-SORT1_005.
perform bdc_field using 'ADDR1_DATA-STREET'
record-STREET_006.
perform bdc_field using 'ADDR1_DATA-COUNTRY'
record-COUNTRY_007.
perform bdc_field using 'ADDR1_DATA-TRANSPZONE'
record-TRANSPZONE_008.
perform bdc_field using 'ADDR1_DATA-LANGU'
record-LANGU_009.
but the example which i am practicing there it is
PERFORM bdc_field USING 'KNA1-NAME1'
lw_customer-name1. "Name.
PERFORM bdc_field USING 'KNA1-SORTL'
lw_customer-sortl. "Search Term.
PERFORM bdc_field USING 'KNA1-ORT01'
lw_customer-ort01. "City.
PERFORM bdc_field USING 'KNA1-LAND1'
lw_customer-land1. "Country.
PERFORM bdc_field USING 'KNA1-SPRAS'
lw_customer-spras. "Language.
PERFORM bdc_field USING 'KNA1-PSTLZ'
lw_customer-pstlz. "Postol Code.
PERFORM bdc_dynpro USING 'SAPMF02D' '0120'.
PERFORM bdc_field USING 'BDC_CURSOR'
'KNA1-LZONE'.
well i just want to know why do i get 'ADDR1_DATA-NAME1' but in example it is 'KNA1-NAME1' and so on to other fields.
kindly let me know what is happening here
‎2010 Nov 18 12:45 PM
Hi,
When you record the transaction VD01 in the initial screen a check box is there for central address managament.
If you check that box different screen will be called for the adress management, so the structures used in the screen is different.
Uncheck the check box "Use central address management" while recording you will get what you are expecting.
Regards
Praveen
‎2010 Nov 18 12:45 PM
Hi,
When you record the transaction VD01 in the initial screen a check box is there for central address managament.
If you check that box different screen will be called for the adress management, so the structures used in the screen is different.
Uncheck the check box "Use central address management" while recording you will get what you are expecting.
Regards
Praveen