Professional Documents
Culture Documents
Module: MM
Table of Contents
Confidential Page 2 of 14
Functional Specification Document – RETAIL
Document No: FS_003_Get PO Eligible Items Get PO Eligible Items.
Reviewed By
Confidential Page 3 of 14
Functional Specification Document – RETAIL
Document No: FS_003_Get PO Eligible Items Get PO Eligible Items.
Confidential Page 4 of 14
Functional Specification Document – RETAIL
Document No: FS_003_Get PO Eligible Items Get PO Eligible Items.
2.2 Applicability
The process described in this document are applicable to the below mentioned entities / tracks.
Business Requirement:
Vendor Portal will trigger the API as an Inbound IDOC to SAP FMS system which contains the ETA date
and Purchase Order number. Based upon the request SAP FMS system will provide the information of the
Vendor PO eligible items as an Outbound IDOC to the Vendor Portal.
Objective:
Confidential Page 5 of 14
Functional Specification Document – RETAIL
Document No: FS_003_Get PO Eligible Items Get PO Eligible Items.
Vendor Portal will trigger the API fetch the details from SAP FMS which is to be an Inbound IDOC for SAP
FMS system. In response SAP FMS system will provide the details to Vendor Portal through Outbound
IDOC.
Confidential Page 6 of 14
Functional Specification Document – RETAIL
Document No: FS_003_Get PO Eligible Items Get PO Eligible Items.
2.9 Output Layout (For Report, Interface, Enhancement and Form only)
(Detail the output layout of the development)
Confidential Page 7 of 14
Functional Specification Document – RETAIL
Document No: FS_003_Get PO Eligible Items Get PO Eligible Items.
Confidential Page 8 of 14
Functional Specification Document – RETAIL
Document No: FS_003_Get PO Eligible Items Get PO Eligible Items.
51 Error inbound IDoc data 53, 64 51, 66, 68, 69 Error triggered by Ask functional
contains errors SAP application, in- people, modify
correct values in the erroneous values
IDoc data in the IDoc
(WE02 for ex-
ample) and run it
again using BD87
Confidential Page 9 of 14
Functional Specification Document – RETAIL
Document No: FS_003_Get PO Eligible Items Get PO Eligible Items.
Confidential Page 10 of 14
Functional Specification Document – RETAIL
Document No: FS_003_Get PO Eligible Items Get PO Eligible Items.
archive. Can't be
processed
Vendor Portal trigger the API to SAP FMS as an Inbound IDOC as a request.
1. ETA Date
2. Purchase Order
Pass Purchase Order Number EKPO-EBELN into EKET and get EKET-EINDT.
SAP FMS will process the outbound Idoc open PO eligible items via Message Output Types in SAP.
In SAP, PO eligible items details IDOC will be configured to generate an IDOC with respective information via
message output types.
As per business requirement, IDOC can be processed on two ways – either through Manual push or
Automatic Push via Output Types for selective Vendor.
Confidential Page 12 of 14
Functional Specification Document – RETAIL
Document No: FS_003_Get PO Eligible Items Get PO Eligible Items.
Based on API, FMS system will give the real time data.
MATERIAL_DETAILS- Pass EKPO-EBELN and EKPO-MATNR into EKPO and get EKPO- TXZ01.
GRID_VALUE - Pass EKPO-EBELN and EKPO-MATNR into EKPO and get EKPO- WRF_CHARSTC2.
EAN- Pass EKPO-EBELN and EKPO-MATNR into EKPO and get EKPO-EAN11.
QUANTITY- PO Quantity – (ASN Quantity where GRN not done + GRN Quantity)
Confidential Page 13 of 14
Functional Specification Document – RETAIL
Document No: FS_003_Get PO Eligible Items Get PO Eligible Items.
For getting PO quantity pass EKKO-EBELN into EKPO table and get EKPO-MENGE.
For getting ASN Quantity if GRN has not done should be considered then that quantity will not be considered.
Pass EKPO-EBELN and EKPO-EBELP into LIPS-VGBEL and get LIKP-VBELN. Then pass LIPS-VBELN and get LIPS-
LFIMG. Now checking whether GRN has been done for that ASN or not in that case pass LIKP-VBELN into MKPF-
XBLNR and get MKPF-MBLNR. Then pass MKPF-MBLNR into MSEG and get MSEG-MENGE.
If MSEG-MENGE is initial then consider full LIPS-LFIMG. If it is not initial then do not consider LIPS-LFIMG.
If MSEG-MENGE is partial then consider LIKPS-LFIMG - MSEG-MENGE quantity.
Confidential Page 14 of 14