Sunteți pe pagina 1din 5

Activate Functional Area Substitution OBBZ

Financial Accounting -> Financial Accounting Global Settings -> Company Code -> Prepare Cost of Sales Accounting Transaction Code: OBBZ OBBZ takes you specifically to the FI substitution application area for the Cost of Sales accounting callup point. You can also use GGB4 which manages activation of all substitutions in the system for any application area or callup point. 1. Enter the four-character identifier for the company code (CC) for which you want to activate the substitution. As with the validations, you can only have one substitution active per company code per callup point. 2. Enter the callup point at which you want your substitution to be executed. 3. Enter the identifier of the substitution that you wish to activate. 4. The description field fills in automatically based on the substitution that you choose. 5. Enter the activation level for which you which you would like to activate the validation. There are three codes to simplify your entry: 1. 0: Not Active (validation will not execute) 2. 1: Activated at all levels throughout the system 3. 2: Activated at all levels throughout the system except for batch input

Functional Area Substitution GGB1


In order to populate your postings with functional areas, you must setup a substitution. Substitutions are similar to validations. Unlike validations that create on-screen messages to the user, substitutions actually replace and fill in field values behind the scenes without the user's knowledge. Similar to validations, substitutions can be setup for a number of different application areas and callup points. Substitutions are activated on the company code level, so it is important to ensure that you have followed all steps for each company code. Financial Accounting >> Special Purpose Ledger >> Tools >> Maintain Validation/Substitution/Rules >> Maintain Substitution Transaction code: GGB1 The fields in Create Substitution screen are: Application Area: Enter the appropriate area is the module or sub module that you wish to create the substitution for. The available options are: AM Asset Management

CO Controlling

FI Financial Accounting GL Special Ledger JV Joint Venture Accounting KC PC PS Enterprise Controlling SAP EIS Profit Center Accounting Project Systems

Callup Point: Callup points determine when the substitution is run. For FI application area, the following callup points are available 0001 Document header: Use this callup point to substitute entires at the document header level. The entries that are usually available substitution at this point are stored in the BKPF table. 0002 Line Item: Use this callup point to substitute line item entries within a document. The entries that are usually available for substitution at this point are stored in BSEG table. 0003 Complete Document: This callup point substitutes settings for the document as a whole. This activity is also known as matrix substitution. 0005 Cost of Sales Accounting: This callup point is used for functional area substitutions On the next screen add a description. To add a step to substitution, click on insert entry button. Specify of you are using a user-exit or select the field you wish to substitute. For field substitution, you need enter the following Perquisite: The perquisite uses Boolean logic to determine if a condition is true. If the condition is true, the substitution is carried out. If the condition is not true, no further processing occurs. The valid Boolean logic operators are =, <, > and <>. The entry immediately following the Boolean statement must be put in single quotation marks unless a set is being used. Sets group together of a number of entries. When you use sets, the system needs to match only one of the entries. When you use sets, the system needs to match only one of the entries in the set for the prerequisite to be true. Sets are defined using Report Writer. The creation of sets will be covered later in this section. To link multiple logic steps together, either an AND or an OR is required at the end of each statement line.

Substitutions: This is the section where you tell the system what values to replace. You have the option of either using constant values or using a user-exit to specify values or carry out other logic statements. Validations and substitutions are case sensitive make sure you type in all your logic in CAPS Check syntax does not find errors in small case. Run the check syntax function to see if the Boolean logic has errors. Saving creates the ABAP code run your substitution.

Create Sets GS01


A set is used in order to specify a range of G/L account numbers. Sets simply hold a number of values for a field. Sets are used in the same way that arrays are used in standard programming. Although there are several types of sets, the basic set is described below. Information Systems -> Ad Hoc Reports -> Report Painter -> Report Writer -> Set Create Transaction Code: GS01 1. Enter the 12-character alphanumeric identifier of your set in the Set ID box. This is the set name that you will refer to when using the set. 2. Enter the name of the table that contains the field you want to create the set for in the Table box. This field and others like it appears in many different tables. It is important to know which table is being used at the time you are using the set. For example, we are creating a set for the field HKONT (G/L account number). HKONT appears in BSEG, COBL, ACCIT, and many other tables. As you already know from selecting the field to substitute earlier, table ACCIT is being read in our substitution, and we will use this table to create our set. Once HKONT is selected, enter the description in the next screen and click the Basic Entries button to select values to include in your set. Saks Apparel has decided to use five different functional areas to analyze individual expense accounts: Administration Sales Production Research & Development

Marketing Saks apparel will be utilizing cost centers to capture all of its expenses. Because it is using cost centers, we will use an attribute of cost center (cost center type) to populate our functional area on postings. You can use other fields in your substitution, but cost center makes the most sense for Saks Apparel. In the configured substitution, we created and used a set of all expense G/L accounts and the cost center type field (CSKSV-KOSAR). Although only one substitution step was shown, a separate step for each functional area was configured. A mapping of cost center type to functional location follows: Cost Center Type W: Administration M: Marketing F: Production R: R&D V: Sales Functional Areas ADMN MKTG PROD R&D SALE

Next step is to activate the substitution.

Integration of FI with MM and SD


All Materials in SAP have a material master and material master is the heart of all integration. This material master has various views right from Basic views to Purchasing views, production, sales and distribution and accounting and controlling views. We will not get into the detail of In the accounting view of Material master amongst other values we have a Valuation Class field. This Valuation class is the vital link which ensures that Accounting documents are posted automatically. Every material will have a valuation class field. Examples of Valuation Class could be Finished Goods,Semi Finished goods, Raw Material etc. In transaction MM03, type in the material number and click on accounting 1 view - here the valuation class will be displayed. All Material movements in MM happen with respect to a Movement Type. For eg Goods receipt is defined with movement type - 101 Goods issue to production order is defined with movement type - 261 Scrapping of goods is defined with movement type - 551 Goods delivered to the customer with movement type - 601 Initial upload of stock is defined with movement type - 561

The combination of valuation class and the movement type helps in determining the GL accounts.

S-ar putea să vă placă și