10-20-2009 9:15 PM
Once the recording is done in BDC and LSMW...if we are asked to add an additional field later...then how do we add the field to the existing one...? elaborate answers will be appreciated.
10-21-2009 6:30 AM
Hi,
First get the screen field name of the additional field. You can get it by doing F1 on the field.
Then check this field is coming after which field for which the recording is done and in the BDC prgoram,
add line PERFORM bdc_field USING 'New field' it-newfield after the previous field.
Suppose the additional field which is required is in a new screen i.e. for none of the fields of this screen
recording is done,then you you need to add
PERFORM bdc_dynpro USING 'PROGRAM NAME' 'SCRENN NO'.
PERFORM bdc_field USING 'BDC_CURSOR' 'New field'
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_field USING 'New field'.
Regards,
Vinod