0% found this document useful (0 votes)
158 views5 pages

ZBAPI Read Table PO & Material Document 1.3

This document provides a functional specification for a ZBAPI program that reads PO tables like EKPO, EBAN, and EKKO to retrieve data for an external SPB Online program. The ZBAPI will query these tables to retrieve key PO data like document number, item, material, quantity, purchase order, and requisition information based on the input PR number. It will also read table MSEG to retrieve material document data like number, year, item, material, plant, storage location, quantity and more based on the document number, year and item or text input. The output of the ZBAPI will be tables containing the required PO and material document information for the external SPB Online program.

Uploaded by

jrock_julius
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
158 views5 pages

ZBAPI Read Table PO & Material Document 1.3

This document provides a functional specification for a ZBAPI program that reads PO tables like EKPO, EBAN, and EKKO to retrieve data for an external SPB Online program. The ZBAPI will query these tables to retrieve key PO data like document number, item, material, quantity, purchase order, and requisition information based on the input PR number. It will also read table MSEG to retrieve material document data like number, year, item, material, plant, storage location, quantity and more based on the document number, year and item or text input. The output of the ZBAPI will be tables containing the required PO and material document information for the external SPB Online program.

Uploaded by

jrock_julius
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

Form Functional

Specification

1. Nama Program membuat ZBAPI untuk membaca table PO, Material


Document
1 General status information
Reference ID. [Sesuai penamaan standart – Diisikan oleh Abaper]
Priority
Version 1.0
Business Owner
Description
Prepared By Mudjiono
Date of Creation 07.06.2018
Date (last modified)

APPROVALS :

SAP BI & Dev Manager SAP Support Manager [diisi jabatan functional]

Name of Closest SAP Form


<The standard SAP form program that is closest to >
Not Available

Reason why not using the Standard SAP


SZBAPI ini di gunakan untuk support program external SPB online dimana dibutuhkan data PR,PO,GR/GI
dari SAP

ABAP Type
□ Report ■ Enhancement (User exit / BADI) □ Conversion (LSMW)
□ Interface □ Form □ Workflow

July 16, 2018 Version 1.0 Page 1


Form Functional
Specification

2. Business Specifications and Requirements


2 Business Requirements Description

3 Business Requirements Specifications


Untuk membaca table PO yaitu EKPO,EBAN,EKKO untuk bisa di gunakan untuk external program yaitu di
gunakan untukSPB Online

3. Detail Requirements Definition


4 Selection Criteria

5 Data Dictionary Used

No Table Name Table Description Insert Delete Query Update


1 EKKO Purchasing Document Header
2 EKPO Purchasing Document Item
3 EKBE History per Purchasing Document
4. MSEG

6 Custom Data Dictionary

7 Form Layout

8 Process Details.

Step Description
1. ZFM_GET_DETPO_REFFPRNUM_SPB_OL membaca table PO link EKPO left other join EKBE
EBELN & EBELP berdasarkan no PR Number BANFN & BNFPO Yang di inputkan
AND VGABE=1 OR VGABE=’’
2. Dapatkan data-data berikut
EKPO-EBELN = Purchasing Doc.
EKPO-EBELP= Item
EKPO-MATNR= Material
EKPO-TXZ01= Short Text
EKPO-MENGE= PO Quantity
EKPO-MEINS= Order Unit (dikonvert ke satuan Technical co ST menjadi PC)
EKPO-BANFN= Purchase Req.
EKPO-BNFPO= Requisn Item
EKBE-BELNR= Material Document
EKBE-BUZEI=Item Material Doc
EKBE-XBLNR=Reference

July 16, 2018 Version 1.0 Page 2


Form Functional
Specification

EKBE-MENGE=Quantity
EKPO-LOEKZ=Deletion Ind.
EKBE-BWART =Movement Type
Dapatkan data pada table EKET Where EBELN= EKPO-EBELN AND EBELP AND EKPO-EBELP
Tampil field
EKET-EINDT = Delivery date
3. Output Table EKKO
Dapatkan data dari Table Header PO Where EKKO- EBELN=EKPO-EBELN
EKKO-BSART= Document Type
EKKO-BEDAT= Document Date
EKKO- EKGRP= Purch. Group
4. Bapi ZFM_GET_DETMIGO_REFTEXT_SPB_OL untuk membaca data table MSEG berdasarkan
Document Number (MBLNR) Dan tahun (MJAHR) dan Item Material (ZEILE) Yang di inputkan
atau berdasarkan Text *SGTXT*
di filter move type Where BWART=101,102,201,202
Output Table MSEG GI
5. Dapatkan data-data berikut
MSEG-MBLNR= Material Doc
MSEG- MJAHR= Mat. Doc. Year
6. jika pencarian data dengan mengisikan field Text maka
Setelah mendapatkan data pada Item 5 diatas cari dan dapatkan data pad table MSEG Where
MBLNR =MBLNR AND MJAHR=MJAR
Dapatkan & tampilkan data-data berikut
MSEG-MBLNR= Material Doc
MSEG- MJAHR= Mat. Doc. Year
MSEG-ZEILE= Mat. Doc.Item
MSEG-MATNR= Material
MSEG-EBELN= Purchase Order
MESG-EBELP= Item
If MSEG-MATNR <>’’
Dapatkan data MAKT-MAKTX Where MAKT-MATNR =MSEG-MATNR
ELSE
Dapatkan data EKPO-TXZ01 Where EKPO-EBELN= MSEG-EBELN AND EKPO-EBELP= MESG-
EKPO-TXZ01 =Short Text
EBELP= Item
MSEG- WERKS= Plant
MSEG- LGORT= Stor. Location
MSEG-ERFMG = Quantity
MSEG-ERFME = Base Unit (dikonvert ke satuan Technical co ST menjadi PC)
MSEG- SGTXT= Text
MSEG-BWART= Movement Type
MSEG-SMBLN= Material Doc.
MSEG-KOSTL= Cost Center
Output Table MKPF
Dapatkan data dari table Header Material Document where MKPF- MBLNR=MSEG- MBLNR
AND MKPF- MJAHR=MSEG- MJAHR
MKPF- MBLNR= Material Doc
July 16, 2018 Version 1.0 Page 3
Form Functional
Specification

MKPF - MJAHR= Mat. Doc. Year


MKPF - VGART= Trans./Ev. Type
MKPF - BLDAT= Document Date
MKPF - BUDAT= Posting Date
MKPF – XBLNR = Reference

July 16, 2018 Version 1.0 Page 4


Form Functional
Specification

9 Sort Options

10 Authorization Restriction

11 Form output (please tick [√] where applicable).


Below is a list on how a form can be executed.

Output determination Description

12 Printer (please tick [√] where applicable)


Paper Size : □ A4 □ Letter □ Other, .........
Paper Orientation : □ Portrait □ Landscape
Dot-matrix
Laser
Others

Expected Result from Form :


N/A

Transaction / Batch Job that will access Form :


N/A

Security Issues
N/A

Notes / Assumptions
N/A

Issue # Description Resolution

July 16, 2018 Version 1.0 Page 5

You might also like