Skip to Content
avatar image
Former Member

Problem in BDC

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Sep 04, 2008 at 09:07 AM

    Hi....

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

    Regards

    Raja.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2008 at 09:23 AM

    Try passing the values alreedy existing values.

    hardcode these values in the BDC.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2008 at 09:32 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 04, 2008 at 09:37 AM

    >

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

    Add comment
    10|10000 characters needed characters exceeded

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