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: 

bdc/lsmw modification

Former Member
0 Kudos

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.

1 REPLY 1

rvinod1982
Contributor
0 Kudos

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