09-04-2008 7:56 AM
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.
09-04-2008 10:07 AM
09-04-2008 10:23 AM
Try passing the values alreedy existing values.
hardcode these values in the BDC.
09-04-2008 10: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.
09-04-2008 10: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.
09-04-2008 10:44 AM
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.
09-04-2008 10:50 AM
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.