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
709

Hi ,

I have created a BDC for xd01 while executing it four fields(bank name , bank details,bank city,bank address is not getting updated) .

Actually the problem is while creating a customer directly in XDO1, the

four fields(bank name , bank details,bank city,bank address ) already contains the value.

and these four fields are customised fields.

Thanks&Regards.

Arun.

6 REPLIES 6
Read only

raja_narayanan2
Active Participant
0 Likes
659

Hi....

Use recording menthod and then try it out.....

Regards

Raja.

Read only

Former Member
0 Likes
659

Try passing the values alreedy existing values.

hardcode these values in the BDC.

Read only

Former Member
0 Likes
659

Hi Arun,

First check the Screen field name and the screen number correctly.

If all these are ok, then just clear the fields before populating.

For example you can clear in this way :

PERFORM bdc_dynpro USING 'SAPMF05A' '0100'.

      PERFORM bdc_field  USING 'BankName'
                                                 SPACE.

Now you fill them :

PERFORM bdc_dynpro USING 'SAPMF05A' '0100'.

      PERFORM bdc_field  USING 'BankName'  'ICICI Bank'.

This should work. Just try it once.

Regards,

Swapna.

Read only

Former Member
0 Likes
659

>

> Actually the problem is while creating a customer directly in XDO1, the

> four fields(bank name , bank details,bank city,bank address ) already contains the value.

> and these four fields are customised fields.

Are these fields in kna1?

and pls confirm how you add these fields to XD01?

BADI:CUSTOMER_ADD_DATA?

if yes then pls clear the buffered values first from this BADi itself.

Read only

0 Likes
659

Hi Amit,

Thanks for your reply , can u guide me how to clear the buffer values in the BADI CUSTOMER_ADD_DATA

Thanks & Regards

Arun.

Read only

0 Likes
659

I assume that you create four custom field for XD01.

than nothing to do to clear a buffer,just create a seprate data element for each field and asssign a parameter id for each field at data element level.

and than goto>su01>change mode>parameters>add these parameter id with default blank values>save and come out.