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

Change Pointer ...Vendor Master

Former Member
0 Likes
3,011

Experts :

I did setup for vendor master change pointer ,It is working perfectly fine .When I do any chnage in LFA1-LFB1-LFM1 its working but its not picking any value from ADRC and ADR6 (Telephone,Fax number or E-Mail..etc) How can I configure my change pointer for these tables aswell.As ADRC or ADR6 is standard for Customer also and I want to do setup ONLY for Vendor master .And not want to creat any interface for customer master email or telephone changes.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,220

Hello,

ADRC and ADR6 are standard Address Maintenance table for all Master in SAP ECC system.

You will have to add the fields pertaining to these table in change pointers.

But SAP hasn't provided outbound message type for ADRMAS.

You may still try, in BD60 and BD52.

and schedule the BD21 report prg.

Let me know if this suffices your purpose

Regards,

Abhishek

12 REPLIES 12
Read only

Former Member
0 Likes
2,221

Hello,

ADRC and ADR6 are standard Address Maintenance table for all Master in SAP ECC system.

You will have to add the fields pertaining to these table in change pointers.

But SAP hasn't provided outbound message type for ADRMAS.

You may still try, in BD60 and BD52.

and schedule the BD21 report prg.

Let me know if this suffices your purpose

Regards,

Abhishek

Read only

0 Likes
2,220

Hello Abhishek

Thank you for your reply, That is the point where I am stuck ,as ADRC and ADR6 is a generic table for Vendor and Customer and I want to set this only for vendor I don't want customer change .So If I do email ID change in vendor master and in customer master .How is it possible that change pointer will pick only vendor master ,is there any filter or any logic I can use ?

Read only

0 Likes
2,220

I am bit confused with your question, pls clarify me below points

When you change the vendor master data like telephone number, etc is the IDoc getting triggered ?

or

the Idoc is getting triggered when you only change such fields but no data is pupulated in the Idoc?

Let me know ...

Read only

0 Likes
2,220

Surnder,

Yes it is triggering a IDOC with ADRC and ADR6 value but I want to trigger IDOC only when there is vendor master email ID change I don't want IDOC for customer master and ADRC and ADR6 is generic for vendor and customer .So my question is how I can restrict this only for vendor master ?

Thank you.

Read only

0 Likes
2,220

Yes it is a generic table to store address related information but what i am not understanding is how customer master data will be triggered when you change vendor master data?

CREMAS is vendor master data and DEBMAS is customer master data and both has different Change Document Object.. for vendor it is KRED and for DEBMAS it is DEBI.

Read only

0 Likes
2,220

Agree Surender ,But change document object will be same for ADR6 (Email ID ). As ADR6 is a centralize table for vendor and master. and email ID get store only in ADR6 you will not find email in LFA1 or LFB1 (Vendor table)

Read only

0 Likes
2,220

Hello,

You will have to build a custom Idoc for Address IDoc to be sent out of SAP.

The logic will be, whenever an Address change in the Vendor Master, we have an Address Number field whose cardinality is one:one with Vendor Number and Address Number.

You will have to build the query such that any changes made to the vendor, its corresponding address number is picked and filled the Idoc Data segment and passed to the master Idoc distribute FM for ALE service to push it.

Then in the distribution model, you can use your custom message type with the fields for which you you wanna trigger an IDoc.

Hope this is clear

Regards,

Abhishek

Read only

0 Likes
2,220

It does not mean having the same table (ADR6) will have an impact on your distribution it is the change document number, change doc object & Change pointer Tables which matters when using change pointer concept.

Which version of SAP are you using ?

Can you check/ Test... the following.

1. Activate vendor master Change pointer .. CREMAS & Customer master change pointer DEBMAS

2. change a vendor address details.. XK02(vendor) .. XD02(Customer).. Maintain different address.

3.. Manually run BD21 with CREMAS & DEBMAS message type.

Two IDocs will be triggered with thier respective address data.

*If the data is not filled then you can use a customer exist to fill the IDoc structure....

Note: You dont require an additional custom IDoc for such requirement.

Read only

0 Likes
2,220

Hello Surender

So I understand when 2 IDOC will be trigger for vendor and customer can I restrict Customer IDOC and will allow only vendor data to pass ? Or what if only vendor master email ID will be change -In this case ur saying no IDCO will going to trigger for customer ?

Read only

0 Likes
2,220

Yes since both are different master data... customer master is different and vendor master is different.

But it does mean that when you change address details of any, the same address will mix up with some other data of SAP.

Address is unique in SAP. It has an address number. for example. Vendor A has address no. 12345 and Vendor B has 34657.

where in Case Customer A has 12456..

Practically you can check this in SAP system.

Address tables are used to store address of any SAP documents like Vendor, customer , work order, sales order, Business partner etc.

I hope you can have a PoC for better understanding.

Read only

0 Likes
2,220

Hi Abhishek,

Any idea how to restrict the complete IDoc generation using a filter on Idoc field values? The filter in BD64 is restricting only the segment not the entire Idoc generation.

For example I am trying to send DEBMAS06 Idoc with a filter on KNVV-KDGRP field. But I have folloing observations

1. if filter values match with a customer record, then for that customer record Idoc is getting created.

2. And if does not match then , it takes out only e1KNVVM segment but its still creating the IDoc with E1KNA1M segment.

Please help.

Regards

Jajati

Read only

srijayant
Explorer
0 Likes
2,220

Hi Uday,

I am stuck in the similar situation, but i am trying to trigger an IDOC for customer master, it triggers fine with all other scenario, except the email address change.

any idea why ?

while debugging the function module for DEBMAS ( MASTERIDOC_CREATE_SMD_DEBMAS )

I found it has do reference of class object 'ADRESSE'.

which leads me to the conclusion that i can not use the standard  DEBMAS to trigger an IDOC for change in SMTP_ADDR.

let me know if you can help.

regards,

Sri