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

BDC master maintainance

Former Member
0 Likes
646

Hi all

i need to upload a single field.when i m using bdc or LSMW, data is getting over written in rest of the fields so can anyone help me out with ny other way to upload as this is a master maintainance.

regards

Zarina

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
611

Hi Zarina,

When you are doing BDC on change transaction codes<b>(<xx>02)</b> obviously other data will be overwritten, so u need to hard code the BDC Program and fill only the field which you want to be modified in BDC Internal table and then update, i am sure this works out fine.

Regards:-

Santosh.

Hi all

i need to upload a single field.when i m using bdc or LSMW, data is getting over written in rest of the fields so can anyone help me out with ny other way to upload as this is a master maintainance.

regards

Zarina

4 REPLIES 4
Read only

Former Member
0 Likes
612

Hi Zarina,

When you are doing BDC on change transaction codes<b>(<xx>02)</b> obviously other data will be overwritten, so u need to hard code the BDC Program and fill only the field which you want to be modified in BDC Internal table and then update, i am sure this works out fine.

Regards:-

Santosh.

Read only

Former Member
0 Likes
611

the generated BDC code will have addressed all the fields that are available in the screen which you have recorded. So comment out those codes which relates to the other fields then the field that you want to be updated. This should solve your problem.

Read only

Former Member
0 Likes
611

Hi Zarina,

If the Data is getting overwritten then.

1)Check the Screen Field Name in which you want to enter the data.

2)Comment the rest of fields.

This much code is enough for entering entering data in screen.

Ex:


  PERFORM bdc_dynpro      USING 'SAPLWBABAP' '0100'.<b> "Screen Details</b>

  PERFORM bdc_field       USING 'BDC_OKCODE'
                                '=NEW'.        <b>"New Program</b>  

PERFORM bdc_field       USING 'RS38M-PROGRAMM'
                                'zztest_se38'. <b>"Field Content for Program Name</b>

Post your code if you still have porblems.

<b>AS</b>

Read only

0 Likes
611

thanks for all your replies

its working