Vous êtes sur la page 1sur 8

Enhancement Definition Document

Development Specification Document

Development Code
Development Title /
3.8 Saldo de la Cuenta 30
Description
Process Stream R2R-ACC-TAX

Document Version Control


Development History:

Version Description of change Change


Document Reference Changed By Date
No. (including the reason change) Request

1.0
Functional
1.1
Specification
1.2
Kenny Junior
Technical 1.0 3.8 Saldo de la Cuenta 30 16/03/2019
Mercedes Rojas
Specification
1.1
1.0
Unit Test Plan
1.1

Related Information

Related Gap ID HPQC 95438


Business / Process Owner Gian Carlo Zapata / Juan Lengua / Agustín Bellido
Functional Expert -
Technical Expert -
Author Kenny Junior Mercedes Rojas
Market / Country Perú
SAP / Net weaver component ECC.6
Type of Dev ABAP
Priority Very High
Project Phase Proyecto Factura Electrónica Siderperu
Global / Local Local
Reference Documents N/A

1|Page
Enhancement Definition Document

Contents
DOCUMENT VERSION CONTROL .......................................................................................................................... 1
1 DETAILED FUNCTIONAL REQUIREMENTS (FE) ........................................................................................... 3
1.1 FUNCTIONAL SPECIFICATION (FE) .............................................................................................................................. 3
ASSUMPTIONS / DEPENDENCIES / CONSTRAINTS (FE) ................................................................................................ 3
1.2 W HERE THIS DEVELOPMENT WILL BE RUN (FE) ......................................................................................................... 3
1.3 HOW THE DEVELOPMENT WILL BE RUN (FE)............................................................................................................... 3
1.4 FREQUENCY/ VOLUMES (FE) ...................................................................................................................................... 3
1.5 LANGUAGE (FE) .......................................................................................................................................................... 3
2. Currency and Units of Measure (FE) ............................................................................................................. 4
2.1. Security / Role Management (FE) .................................................................................................................. 4
2.2. Process Flow Diagram (FE) ............................................................................................................................ 4
2.3. Extension Layout (FE)...................................................................................................................................... 4
2 FS QUALITY SIGN-OFF (TE) ............................................................................................................................ 4
3 PROGRAM SUMMARY ..................................................................................................................................... 4
3.1 SELECTION SCREEN .................................................................................................................................................... 5
3.2 VALIDATION OF SELECTION CRITERIA ......................................................................................................................... 5
3.3 AUTHORIZATION REQUIREMENTS ................................................................................................................................ 5
3.4 TECHNICAL FLOW DIAGRAM ....................................................................................................................................... 5
3.5 CLASS DIAGRAM .......................................................................................................................................................... 6
3.6 PROCESSING LOGIC .................................................................................................................................................... 6
3.7 TABLES ........................................................................................................................................................................ 7
3.8 INTERNAL TABLES ....................................................................................................................................................... 7
3.9 MESSAGES .................................................................................................................................................................. 7
3.10 SELECTION TEXT ........................................................................................................................................................ 7
3.11 SUBROUTINES ............................................................................................................................................................ 8
4 TESTING (FE+TE) ............................................................................................................................................. 8
4.1 FUNCTIONAL TEST CASES (FE) .................................................................................................................................. 8
4.2 TEST DATA (FE) .......................................................................................................................................................... 8
4.3 TECHNICAL TEST CASES AND UTP (TE)> ................................................................................................................. 8

2|Page
Enhancement Definition Document

1 Detailed Functional Requirements (FE)

1.1 Functional Specification (FE)


Se debe crear un reporte de gestión, que permita al usuario generar los saldos de la cuenta 30 para cumplir con la
normativa SUNAT

Este reporte de gestión permitirá las Cuentas de Gestion Inmobiliaria

ASSUMPTIONS / DEPENDENCIES / CONSTRAINTS (FE)


N/A

1.2 Where this development will be run (FE)


GE4

Geographically
Global Development, will be run in all markets of Gerdau
Local Development, will be run in the following market(s): Uruguay
Environments - Components Please select one or more
APO
SRM
CRM
ECC 6.0
Portal
PI
Work Flow
SAP Netweaver Composite Application
Back-end development
Other: Please specify

1.3 How the development will be run (FE)

Development will be run in the following ways


On-line by end user - From within SAP transaction (s):
On-line - Via a development-specific menu path. Z*********to be evaluated by developers if will be
necessary
In background - Scheduled on demand
In background - Triggered by a certain event: Please specify event. (e.g. Release of Purchase Order)

1.4 Frequency/ Volumes (FE)


Country/Market Frequency Volume per run
Perú Daily Around 48000 records per year.

1.5 Language (FE)

Language
No language considerations – Development will be used in Spanish only
Translation requirements
No translation requirements – Development will be used in English only
Translation required: - Language Spanish

3|Page
Enhancement Definition Document

2. Currency and Units of Measure (FE)


This developed should be consider PEN and USD currencies.

2.1. Security / Role Management (FE)


Who should be able to run the dev – Proper role should be authorized.
No specific restrictions
Restrictions based on certain criteria.
Other: Please specify the Authority Object need to be added , company code will be used as default Auth Check

2.2. Process Flow Diagram (FE)


N/A.

2.3. Extension Layout (FE)


N/A.

2 FS Quality Sign-Off (TE)


FS QA Reviewer
Review Date
Ye
FS Section No N/A Comments
s
Document Contents
Development Code is correct
Dev is approved to start
Market has been clearly specified
Overview and Scope is provided
Process Flow Context complete and clear
Description of development complete and clear
How the development will work complete
Data volumes have been provided
Currency and UoM details have been specified
Language requirements have been specified
Security requirements have been specified
All assumptions have been documented
Security Spreadsheet has been completed
All Test Cases have been described in Appendix

3 Program summary

Título del Programa Cobranza Dudosa

Nombre del ZPERFR_SUNAT_030800


Programa
Tipo de Programa Ejecutable
Paquete ZFI

Grupo de N/A.
Autorización

Código de 3.8 Cuentas de Gestión Inmobiliaria


Transacción
Includes en INCLUDE zperfn_sunat_030800_top.
Programas INCLUDE zperfn_sunat_030800_scr.

4|Page
Enhancement Definition Document

INCLUDE zperfn_sunat_030800_mai.
INCLUDE zperfn_sunat_030800_for.
Módulo de Función N/A

Clase de Mensaje ZPERF_COSTOS

Clases N/A

Tablas SAP leídas BSIS:Contabilidad: Índice secundario para ctas.mayor


BSAS :Contabilidad: Índice secundario para ctas.mayor (part.comp.)
BKPF :Cabecera de Documentos
SKB1 : Registro maestro de cta.mayor (sociedad)
SKAT : Maestro de ctas. de mayor (plan de ctas.: denominación)
BSEG: Segmento de documento de Contabilidad
Tablas de Cliente ZPERFT_SUNAT_02: Tabla SUNAT 02 - Tipo de Documento de Identidad

Índices de Cliente N/A

3.1 Selection screen


Los parámetros de selección del reporte son:
Parámetro/ Tipo/ Nombre Obligatorio Valor por ID de Ayuda de Texto del Parámetro / Select
Select del Campo Defecto Parámetro Búsqueda Options
Options de Memoria
P_BUKRS BUKRS SI PE10 BUK Sociedad FI
P_SPMON SPMON SI Periodo
S_SAKNR SAKNR SI N Cuenta
RB_IMP RADIOBUTTON X Soles
RB_ALV RADIOBUTTON Reporte Interno

P_PLE CHECKBOX Generar TXT

P_PIPE CHAR1 Separador


P_FNAME CHAR128 Ruta

3.2 Validation of selection criteria


3.3 Authorization requirements
El usuario debe tener acceso a la transacción de reporte para poder ejecutarlo.
3.4 Technical Flow Diagram

5|Page
Enhancement Definition Document

3.5 Class diagram


N/A

3.6 Processing Logic

En el evento END-OF-SELECTION del programa se llama a los perform zfperf_get_data

o Validamos que la tabla i_outtab1 contenga datos , estos datos se ordenan y se muestran en pantalla
según selección del usario estas vista pueden ser:

- Si la opción Impreso esta marcada los datos mostrados seran en formato impreso

6|Page
Enhancement Definition Document

- Si la opción de reporte interno esta marcada el reporte a visualizar tendrá la misma estructura que
del archivo txt a generar

- Si se ha seleccionado salida en pantalla:

o Se llama al perform zfperf_ini_data en este perform obtenemos datos de la sociedad y completamos el


intervalo de fecha a buscar
o Se llama al perform zfperf_get_data donde obtenemos los datos para generar el reporte llenando la tabla
interna i_outtab
o Validamos que la tabla i_outtba no este vacía
- Validamos la selección si es en formato impreso o formato PLE

- Si es Formato PLE

o Con los datos de la tabla interna i_outtab vamos al perform zfperf_fill_alv aquí llenamos la tabla
interna del ALV , generamos el catalogo perform zfperf_catalogue y realizamos la presentación en formato
ALV perform zfperf_alv
o Adicionamente si Tenemos Marcado la Opcion de Generacion PLE el Reporte Generara el Archivo TXT
para la declaración ante SUNAT

- Si es Formato Impreso
o Con los datos de la i_outtab ingresamos al Perform zfperf_print_alv aquí recorremos la tabla interna
y generamos el formato de impresión
o Adicionalmente Generamos el Archivo TXT PLE de estar marcado el FLAG de Generacion de Archivo TXT
3.7 Tables
Nombre Descripción
ZPERFT_SUNAT_02 Tabla SUNAT 02 - Tipo de Documento de Identidad

3.8 Internal Tables


Nombre Descripción
i_alv Tabla ALV
I_bkpf Datos de Cabecera de Documento
i_bseg Posicion de Documentos
i_bsxs Tabla de Datos BSIS-BSAS
i_data Archivo TXT
i_outtab Tabla Internas Datos
i_fcat Catalogo de Campos
i_skat Cuenta
i_skb1 Cuenta Por Sociedad
i_zsunat02 Datos para el tipo de documento SUNAT

3.9 Messages
Idioma Clase de mensaje ID de Texto del mensaje
mensaje
Español ZPERF_COSTOS 001 Clase de coste no existe.

3.10 Selection text


Idioma Nombre Descripción
Español P_BUKRS Sociedad

Español P_FNAME Ruta

Español P_PIPE Separador

Español P_PLE Generar archivo (.txt)

Español P_SPMON Periodo

7|Page
Enhancement Definition Document

Español RB_ALV Reporte Interno PLE

Español RB_IMP Impresion

Español S_ALTKT N° de cuenta

3.11 Subroutines
Se describen los métodos de cada clase:

Nombre Descripción
zfperf_alv Mostramos Datos en Pantalla
zfperf_catalogue Creamos el catalogo para el ALV
zfperf_get_data Obtenemos los datos para la tabla interna i_outtab
zfperf_ini_data Obtenemos los datos de la sociedad y completamos el intervalo de
fechas
zfperf_print_alv Mostramos los datos en formato ALV
zfperf_fill_alv Llenamos la tabla interna del alv

4 Testing (FE+TE)

4.1 Functional Test Cases (FE)

Test Case Test Case Description Expected Result

4.2 Test Data (FE)

4.3 Technical Test Cases and UTP (TE)>

Test Case Description Steps

Test Data Expected Result Actual Result/Remarks Executed By/Date

8|Page

Vous aimerez peut-être aussi