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: 

Problem in BDC

Former Member
0 Kudos

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

raja_narayanan2
Active Participant
0 Kudos

Hi....

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

Regards

Raja.

Former Member
0 Kudos

Try passing the values alreedy existing values.

hardcode these values in the BDC.

Former Member
0 Kudos

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.

former_member181995
Active Contributor
0 Kudos

>

> 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.

0 Kudos

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.

0 Kudos

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.