07-12-2012 2:34 PM
Hi All,
We are doing client replication from CRM to R3 using BTE de_bale.
We are able to populate the standard fields which are not coming from CRM.
Issue :
We have a custom screen in transaction xd01 which is having a field . This field is mandatory to create a customer in R3.
For this we are using BADI CUSTOMER_ADD_DATA_BI. Inside method FILL_FT_TABLE_USING_DATA_ROWS , we have written code to populate the custom screen no , program name , field name and field value in BDCDATA structure et_ft.
After appending this record, now screens are not getting called in same sequence and the value in subsequent screen fields are not getting populated , which were being populated before appending custom code to BDCDATA structure.
Any help on this or any other way to implement this will be highly appreciated.
Regards,
Priyaranjan Gupta
07-12-2012 2:49 PM
Hi Priyaranjan,
Are you inserting an OK_CODE before that which would call the screen you intend to use? It looks to me like you have disrupted the sequence of screens by inserting your screen. The BDC is getting stuck. Try mode A when calling BDC and debug to see where the issue is.
Regards,
Shravan