Application Development and Automation 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: 
Read only

Problem in BDC

Former Member
0 Likes
737

Hi All,

I have done a BCD recording for MK02 and generrated program.In the program i have added another field WRF02K-D0380.But it is not getting displayed in the screen.what should be done?

report ZRAK_BDC

no standard page heading line-size 255.

include bdcrecx1.

start-of-selection.

perform open_group.

perform bdc_dynpro using 'SAPMF02K' '0108'.

perform bdc_field using 'BDC_CURSOR'

'RF02K-D0110'.

perform bdc_field using 'RF02K-LIFNR'

'2442'.

perform bdc_field using 'RF02K-D0110'

'X'.

**************************************************

perform bdc_field using 'WRF02K-D0380'

'X'.

*****************************************************

perform bdc_field using 'BDC_OKCODE'

'/00'.

perform bdc_dynpro using 'SAPMF02K' '0110'.

perform bdc_field using 'BDC_CURSOR'

'LFA1-ANRED'.

perform bdc_field using 'BDC_OKCODE'

'=UPDA'.

perform bdc_field using 'LFA1-ANRED'

'Firma'.

perform bdc_field using 'LFA1-NAME1'

'Rakesh More'.

perform bdc_field using 'LFA1-SORTL'

'HUENERSDOR'.

perform bdc_field using 'LFA1-NAME2'

'PLASTIC-U.METALLWARENFABRIK'.

perform bdc_field using 'LFA1-STRAS'

'EISENBAHNSTRASSE 6'.

perform bdc_field using 'LFA1-PFACH'

'569'.

perform bdc_field using 'LFA1-ORT01'

'LUDWIGSBURG'.

perform bdc_field using 'LFA1-PSTLZ'

'71636'.

perform bdc_field using 'LFA1-PSTL2'

'71605'.

perform bdc_field using 'LFA1-LAND1'

'DE'.

perform bdc_field using 'LFA1-SPRAS'

'DE'.

perform bdc_field using 'LFA1-TELF1'

'07141-147-311'.

perform bdc_field using 'LFA1-TELFX'

'07141-147290'.

perform bdc_transaction using 'MK02'.

perform close_group.

Thanks,

Rakesh.

5 REPLIES 5
Read only

GauthamV
Active Contributor
0 Likes
701

hi,

you should not add new fields in bdc program directly.if you want new fields in your bdc then you have to do the recording again and then add the field in the program.

Read only

Former Member
0 Likes
701

I dont get this field(contact person) while recording.

Read only

GauthamV
Active Contributor
0 Likes
701

I dont get this field(contact person) while recording.

Then how you thought of adding in your program directly.

Check in normal mode whether you are getting that field.or else check with your functional consultant wether they have changed some settings.

also try XK02 .

Read only

Former Member
0 Likes
701

thIs is what my problem is.I dont get this field while recording but its visible dirctly through transaction.

Read only

Former Member
0 Likes
701

hello Rakesh,

is better do recording once agian....

thank u,

santhosh