Skip to Content
0
Former Member
Feb 12, 2011 at 03:20 AM

Modify existing data using LSMW IDoc method

261 Views

Hi experts,

I am trying to transfer activity data from R/3 system to CRM using Idoc LSMW method.

It working fine that LSMW creates new activities in CRM system, & there is a check in the conversion code that if the activity we are trying to transfer exists in CRM system it will skip that transaction.

Now the requirement is that we don't want to skip, if the activity is already present in CRM system than it should modify the existing.

IDOC used : CRMXIF_ORDER_SAVE_M02

Msg type used: CRMXIF_ORDER_SAVE

Note:

LSMW will not create activities in the system; SXDA data transfer workbench will be used to process the data in CRM system. SXDA project has following two steps:

- Merge files u2013 This step uses a custom function module to merge one or more than one files and creates a file which is required for LSMW.

- Convert the data u2013 This step uses LSMW as the conversion method

- Load the data u2013 This step uses the IDoc object interface

Now the doubt is that if i remove the check than it will create an another activity with same activity no. or modify the existing one, or is there another way to modify the existing activity in CRM system?

Waiting for a qiuck response.

Thanks

d_marco