SAP ABAP IMG Activity /SAPNEA/J_SC_GL (BAdI: Additional Data Posting to Accounting Documents)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   MM (Application Component) Materials Management
     /SAPNEA/J_SC1 (Package) Subcontracting Management
IMG Activity
ID /SAPNEA/J_SC_GL BAdI: Additional Data Posting to Accounting Documents  
Transaction Code /SAPNEA/85000001   (empty) 
Created on 20100527    
Customizing Attributes /SAPNEA/J_SC_GL   BAdI: Additional Data Posting to Accounting Documents 
Customizing Activity /SAPNEA/J_SC_GL   BAdI: Additional Data Posting to Accounting Documents 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /SAPNEA/J_SC_GL    

Use

This Business Add-In (BAdI) is used in the Physical Inventory (MM-IM-PI) component. You can use this BAdI to adjust the posting of additional data to accounting documents in the following reports:

  • Consumption-Based Offsetting
  • Percentage-Based Offsetting
  • Create Invoices for Shrinkage in Physical Inventory

Requirements

Standard settings

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Consumption-Based Offsetting

You can use the OFFSET_FTPOST_ADD BAdI method to add additional accounting data to the Document Header and Items for Internal Posting Interface (FTPOST) table for the execution of the Post With Clearing: Header Data (FB05) transaction.

To post the additional data to accounting documents, create a BAdI implementation that can perform the following activities:

  • Finds the necessary information in deductible documents that are used to calculate the total amount the system must post by looping across the IT_DAP_BELNR parameter.
  • Reads the accounting document data from the IT_FTPOST parameter that contains data from the FTPOST table.
  • Adds additional data to the ET_FTPOST parameter and sends it back to the program.

Percentage-Based Offsetting

You can use the OFFSET_PER_FTPOST_ADD BAdI method to add additional accounting data to the Document Header and Items for Internal Posting Interface (FTPOST) table for the execution of the Post With Clearing: Header Data (FB05) transaction.

To post the additional data to accounting documents, create a BAdI implementation that can perform the following activities:

  • Finds the necessary information on open items of the Subcontractor A/R- Pending that are used to calculate the total amount the system must post by looping across the IT_BSID parameter.
  • Reads the accounting document data from the IT_FTPOST parameter that contains data from the FTPOST table.
  • Adds additional data to the ET_FTPOST parameter and sends it back to the program.

Create Invoices for Shrinkage in Physical Inventory

You can use the SHRINK_FTPOST_ADD BAdI method to add additional accounting data to the Document Header and Items for Internal Posting Interface (FTPOST) table for the execution of the Post Document: Header Data (FB01) transaction.

To post the additional data to accounting documents, create a BAdI implementation that can perform the following activities:

  • Checks the IS_ROWA parameter to find the recorder in the Chargeable Component Consumptions (ROWA) table that contains the information about the material document of Inventory Shrinkage.
  • Reads the accounting document data from the IT_FTPOST parameter that contains data from the FTPOST table.
  • Adds additional data to the ET_FTPOST parameter and sends it back to the program.

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 1   Critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
/SAPNEA/J_SC_GL JP Japan
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG /SAPNEA/J_SC_GL 0 HLA0006050 Physical Inventory 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20100527 
SAP Release Created in 606