cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Coding Block

Former Member
0 Likes
8,659

Hi,

Where do we use Coding Block and for what purpose it is used.

Regards,

Jagan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Hi

I feel you will find the following details as useful in regard to CODING BLOCK:-

The coding block is a tool used to enter additional account assignments, for example, cost center, order or project. The coding block is supported by Accounting (AC) and used by other application components such as Human Resources (HR), which include the AC screen as a subscreen.

PURPOSE:-

The tool enables HR users to enter and validate additional account assignments in posting transactions.

Utility :- Only in the R/3 System.

Prerequisites For Coding Block

You must ensure that master data for all additional account assignments is available in the central accounting system. The accounting document created by the HR transaction has to be posted to the same accounting system.

You must make an entry for the method CheckAccountAssignment of the object AcctngServices in the distribution model.

Process

Additional account assignments are entered on the coding block subscreen in the HR System. The method CheckAccountAssignment of the object AcctngServices is called to validate the additional account assignments. If an invalid account assignment is entered, an error message is sent to the HR System.

DO ASSIGN POINTS IF FOUND USEFUL

Regards

Vivek Sahni

Former Member
0 Likes

Hi frnd,

The coding block is an Accounting service. When posting transactions are effected, it can be used to enter account assignments whose validity is then checked.

The manner in which the coding block occurs in posting transactions never changes (subscreen). In the HR application, this is the case for time recording, travel expenses, master data, and construction pay. The following fields are available:

Company code

Business area

Cost center

Order

Cost object

Activity type

Funds center

Commitment item

Fund

Sales order and item

WBS element

Network and operation number

The checks performed for the coding block are integrated with the cost distribution infotypes (0027 in Payroll, and 1018 in Organizational Management). The following account assignments are possible:

Company code and/or controlling area

Cost center

Order

WBS element

Funds center

Fund

Additional account assignments can be checked locally, or in an Accounting system via synchronous remote access. This system must include master data for all of the account assignment fields entered.

Distribution Model Maintenance

To ensure communication between systems for validation purposes, you must call the Maintain Distribution Model step and enter the following for Add Method:

Client: HR System

Server: Accounting System

Object: AcctngServices

Method: CheckAccountAssignment

Filter object: Company code

An entry in the distribution model ensures that account assignments can be checked in the Accounting System for all HR transactions that use the coding block. If account assignments in the Accounting System can be replicated in the HR System (that is, cost centers, internal orders, and WBS elements), you are advised to set up the Local Validation for Coding Block function. If a line item includes an account assignment that cannot be checked locally, the entire line item is checked in the Accounting System. Checks are also performed remotely if you do not configure the local check function for coding blocks.

ASSIGN POINTS IF USEFUL

Regards,

JT