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

Stop IDOC and Change pointer creation - during Data loads

0 Likes
2,788

Hello Friends,

We are implementing a SAP solution for North America and during cut-over if we are loading Master data from Legacy we should impose a restriction on not create change pointers and IDOC for Vendor, PO and Materials for NA. Where as same should work seemlessly for Europe and Asia company codes.

Is there a way to restrict the same?

Please help ASAP.

Kind Regards

Ramesh

1 ACCEPTED SOLUTION
Read only

Former Member
2,109

Yes use BD61 to stop creation of all change pointer. Once the data is loaded, switch back on.

Hello Friends,

We are implementing a SAP solution for North America and during cut-over if we are loading Master data from Legacy we should impose a restriction on not create change pointers and IDOC for Vendor, PO and Materials for NA. Where as same should work seemlessly for Europe and Asia company codes.

Is there a way to restrict the same?

Please help ASAP.

Kind Regards

Ramesh

8 REPLIES 8
Read only

Former Member
2,110

Yes use BD61 to stop creation of all change pointer. Once the data is loaded, switch back on.

Read only

0 Likes
2,109

Can we  restrict change point creation in BD61 for certain company codes only?

Read only

0 Likes
2,109

No.. In that case you have to use filters in your distribution model, as long  as the Company code is on a mandatory segment it will stop the idoc generation.

Or

you can use BADI IDOC_CREATION_CHECK and set CREATE_IDOC as blank inside method IDOC_DATA_CHECK based on your condition.

Read only

0 Likes
2,109

Rudra,


The badi IDOC_CREATION_CHECK is something new to me. Is this triggered for all outbound idocs? Does this need some sought of config before the same can be used?

V.

Read only

0 Likes
2,109

Hi Vikram,

This BADI is called from FM MASTER_IDOC_DISTRIBUTE and  COMMUNICATION_IDOC_CREATE and ALE_IDOCS_CREATE ( Replacement for MASTER_IDOC_DISTRIBUTE for asynchronous BAPIs ).

So I would say it covers almost all the outbound master data sending via Idocs and also the custom program where we use those above mentioned FM.

I am yet to find a Master data object which does not call this BADI while generating the outbound Idoc.

No there is no special configuration needed but it may not be available to older version before ECC. Not sure about that. And Transaction data is not covered as you might know that we have other techniques to stop them.

R

Read only

0 Likes
2,109

Thanks Rudra.

Read only

Former Member
0 Likes
2,109

For idocs you can probably add a filer using company code via BD64.

For change pointers, I don't think you can stop creating based on company codes. There is no such option in BD50. You either activate or deactivate but you can try using the badi BDCP_BEFORE_WRITE. See if you can add a check before the CP is created using the badi.

V.

Read only

0 Likes
2,109

Thanks you Vikram n Rudra