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: 

Client replication from CRM to R3 - populating custom screen field

priyaranjan_gupta
Participant
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

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