Application Development and Automation 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: 
Read only

Master Data Replication

Former Member
0 Likes
416

Hi ,

I have a scenario in which master data for a material have to be replicated from one R/3 system to another . Theidoc is reaching the second system but while processing i get an error saying plant does not exist .Can i write an user exit in the function module idoc_input_matmas for changing the plant dat ? Is dat possible as i dont want to create new plants in the second system ?

Thanx and regards,

Srestha

2 REPLIES 2
Read only

Former Member
0 Likes
375

Yes, you can code the User Exit in second system which is receving the IDOC as inbound. But make sure you change the plant in segment with valid one before SAP is validating data in the segement. But if you do this will it not cause data inconsitency?

Thnaks,

Shashi Reddy

Read only

0 Likes
375

Hi Shashi ,

No it wont lead to any problems bcoz da requirement is dat way for the client . What i want 2 ask u is dat which is da user exit in da function module idoc_input_matmas01 ..is it da one in which it changes the entire plant structure ? ( Customer Function 002 ) or is it da one in which a perform called check_user_exit is executed. But i think the latter is only used for inserting user defined segments .

Plz help .

Thanx and Regards ,

Srestha