Q

Configuring a document type in the target company

What happens when the target company uses a different document type than the source company, and you need to create a cross company posting? Expert Axel Angeli sheds some light on the matter.

We want to post a cross-company posting in the target company with a different document type than in the source company. The reason for that is that asset depreciations (with external numbering) are in fact made cross-company (yes I know, we should in fact move the asset to the target company, but originally all assets were entered in one company, and depreciated in the target company). The document in the target company, since it uses also the externally numbered AF doctype, receives the same number as in the source company, which makes the document numbering non-contiguous. Changing the document type in the target company to another value with internal numbering should correct that.

Is there a way to configure the document type in the target company? If not, would you still advise to move the assets to the target company?

There are many ways to achieve this goal. For one, there are the filters in the SALE configuration where you can define simple mappings and value transformations -- a bit complicated to set up but they do the job.

I normally prefer doing the remapping in the code. If it is as simple as you describe you may decide to use one of the user exits of the inbound IDoc function to code the desired mapping.

If you have to do more complicated mappings, I suggest to build a wrapper function for the IDOC_INVOIC_INVOIC_xx that does first the transformation and then calls the original function.

This was first published in March 2007

Dig deeper on SAP Basis administration and NetWeaver administration

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close