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

Function Module MASTERIDOC_CREATE_SMD_DEBMAS - using obj cls DEBITOR

Former Member
0 Likes
572

Hi,

There is this FM MASTERIDOC_CREATE_SMD_DEBMAS.

1. When a customer is created / changed, Idoc is generated.

2. In case of change the FM MASTERIDOC_CREATE_SMD_DEBMAS reads change pointers and IDoc is posted for the changed segments.

The requirement is, if a customer master data is changed, along with the changed segments, the FM should send all the unchanged segments also.

This FM has a call to FM CHANGE_POINTERS_READ with object class DEBITOR ( that is not in the system). After this class it fills the customer numbers in a table T_resend from the change pointer list.

If at all there are any customer numbers in this table, the IDoc is created with all the changed data as well as all the data that is not changed. i.e. the IDoc is resent. - Which fulfills the requirement.

I tried to insert the customer number in this internal table in debug mode and I achieved this, but as the Change pointer class DEBITOR is not in the system, in normal cases this FM will never generate IDoc with changes as well as all the unchanged segments.

So is there any note or customizing setting that is missing and because of that I am not able to achieve the required result?

Your help is appriciated.

Thanks In advance.

Sunita

1 REPLY 1
Read only

Former Member
0 Likes
424

hi

sunitha,

have u got any solution for this proelumm

beacuse i am also faciing this issue if u found any solutin please let me know.