본문 바로가기

Ⅰ. ERP/2. FI

[SAP FI] 코딩블록 삭제하는 방법

728x90

Thanks to @mohit_dev for his comprehensive blog on Enhancing SAP FI Enjoy transactions through concept of Coding Blocks. This article can be read in conjunction with the Coding Block tutorial shared by Mohit.

Without beating around the bushes, I will come directly to the topic. For one particular business requirement I was asked to create a custom Z field in coding block screen using transaction OXK3, but for some other business reason this field was not necessary after few months. If adding or enhancing the coding blocks needed some help, in the similar case, if you want to delete the coding block, you will again need some help. And this article is that guide for you. 

Summary of Steps for Deleting Coding Blocks:

  1. Delete Sub screens.
  2. Suppress Coding Block Fields marked as Required Entry / Optional Entry in Field Status Group Configuration.
  3. Delete Control Entries.
  4. Delete the Customer Include CI_COBL
  5. Delete the append structure from BSEG (if SAP Basis Release less than 7.00 )
  6. Post Validation for DDIC objects and Standard Tcodes

This is the Coding Block we want to delete in this tutorial.

Let us Check all the Steps in Detail:

1. Delete Sub Screens

  • Run transaction OXK3. On the Menu-Bar, click on “Account Assignment Fields” –> “Expert Mode“.

  • Click on Environment, then Sub-screens.
  • Select the custom sub-screen and delete it
  • It should look like below

2. Suppress Fields marked as Required Entry / Optional Entry in Field Status Group Configuration

3. Delete Control Entries

  • First select the Z field to be deleted. From Menu bar, click on Account Assignment Field, then Delete control Entries, then Update run.

4. Delete Customer Include CI_COBL

  • Do a ‘where-used‘ for the structure CI_COBL to note the DDIC objects affected.
  • Delete the customer include CI_COBL.

5. Delete the append structure from BSEG (if SAP Basis Release less than 7.00 )

You have to remove the include CI_COBL (or similar append structure) from BSEG.

6. Post Validation for DDIC objects and Standard Transaction codes

  • Validate the tables are active. eg: ACCIT, BSEG, etc.
  • Validate the standard transaction codes are fine.

On executing transactions eg: FB60, FS00, you will observe recompilation of the related programs; which is as expected.

The Coding Block is Removed

 

 

이렇게 진행했음에도 불구하고, MM 송장처리나 FB01에서 DUMP 남...ㅎㅎㅎ

그래서 노츠보고 이렇게 진행함

https://launchpad.support.sap.com/#/notes/3076579

단계는 다음과 같습니다.

  • INCL_EEW_ACDOC 구조에서 사용되지 않는 필드 제거
  •  기본 매개변수를 사용하여 트랜잭션  FINS_FCT_UTIL 시작
  • 사용되지 않는 필드만 표시되는 경우 테스트 실행 모드에서 먼저 확인하십시오.
  • 테스트 실행 모드가 정확할 때 업데이트 모드에서 실행합니다.
  • 보고서 RGZZGLUX 시작(일부 관련 코드 및 구조를 다시 생성하는 데 약 3분 소요).
728x90