GetCostCenterMasterData

Get Cost Center Master Data

Minor Business Rule

Object Name: B3100280

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This business function will get the Subsidiary Business Unit and Posting Edit Code from the Cost 
Centre Master table (F0006).


1.2Setup Notes and Prerequisites

• None.

1.3Special Logic

None.

2.Technical Specifications


2.4Processing 

Input Cost Centre must not be blanks.

1. Get the Cost Centre Master row from the Cost Centre table (F0006) using MCU as the key.

2. If found 

SubCostCentre    =  MCMCUS

PostingEditCode  =  MCPECC

Company             =  MCCO

ErrorCode=  '0'

   Else

ErrorCode           =   '1'

   Endif


The Error Code and Data from the Cost Centre are passed back.

Data Structure

D3100280 - Get Cost Center Master Data

Parameter NameData ItemData TypeReq/OptI/O/Both
szCostCenterMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szSubCostCenterMCUScharNONENONE

Either a subsequent business unit or a project number. A subsequent business unit specifies where to charge costs (or revenues) when the 
original business unit has been closed or suspended. For example, the subsequent business unit can be used in corporate reorganizations 
when you close a business unit and direct all costs to the subsequent business unit. In this situation, you must enter journal entries to transfer 
existing balances. A project number is used to group business units within an overall business unit. For example, you can group jobs by 
project. In this case, the project business unit can also have accounts for tracking overhead costs that can be allocated to jobs.

cPostingEditCodePECCcharNONENONE

A code that specifies whether to allow transactions to post to the general ledger for the job (business unit). Valid values are: Blank Allow 
transactions to post to this business unit. K Allow transactions to post to this business unit. However, the original budget is locked, and change 
orders are required for making changes to the budget. N Do not allow transactions to post to this business unit. Use this code for a job that is not 
started or is closed. P Do not allow transactions to post to this business unit. The job can be purged.

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szCompanyCOcharNONENONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

Related Functions

None

Related Tables

F0006 Business Unit Master