Open PR upload
Version: 1.0
TS_MMCV007_Open PR Upload
Modified: 22-May-2012
©2012 Accenture. All Rights Reserved. 1 Last Modified By:Hanumanth Singh
TS_MMCV007_Open PR Upload
Modified: 22-May-2012
©2012 Accenture. All Rights Reserved. 2 Last Modified By:Hanumanth Singh
Usage guidelines and Specific Instructions:
• Document Flow - The flow of the document is generic. Specific changes to the flow will be
required to be done by the client team to suit the client context.
• Document Content -The content explains the technical specification in a generic manner.
Specific changes are required to be made to meet client requirement.
• Section 2 – This section caters to the detailed functional requirement. The technical flow
diagram and description can be designed and documented here. This should also include
conversion type, processing and operational considerations.
• Section 3 – Finer details like the database tables, external programs, SAP screens, data
mapping, source/target structure, are to be furnished in this section.
• Section 4 - The section needs to cover all the key business test conditions and assembly
test conditions that the conversion has to satisfy.
• Section 5 – All issues that have cropped up so far and their present status are to be
highlighted in this section.
TS_MMCV007_Open PR Upload
Modified: 22-May-2012
©2012 Accenture. All Rights Reserved. 3 Last Modified By:Hanumanth Singh
Document Information
Signatories
Role Name Signature Date
Hanumanth Singh 19-07-2012
Developer
Reviewers
Role Name Comments Received Date
Functional SPOC Umesha
Technical SPOC Sourav Roychowdhury
Revision History
Version
Date Author Revision Description
No.
TS_MMCV007_Open PR Upload
Modified: 22-May-2012
©2012 Accenture. All Rights Reserved. 4 Last Modified By:Hanumanth Singh
Related Document Comment
Table of Contents
Technical Attributes................................................................................................................................... 6
1 Development Overview................................................................................................................................. 7
1.1 Requirements Summary..................................................................................................................... 7
1.2 Assumptions ...................................................................................................................................... 7
1.3 Dependencies / Constraints ............................................................................................................... 8
1.4 Objects or Transactions Affected ...................................................................................................... 8
1.5 Transaction Volume............................................................................................................................ 8
1.6 Standards........................................................................................................................................... 8
1.7 Security, Integrity and Controls........................................................................................................... 8
1.8 Error Handling / Messages................................................................................................................. 8
1.9 Estimation of Effort ............................................................................................................................ 8
2 Detailed Technical Specifications............................................................................................................ 9
2.1 Technical Flow Diagram..................................................................................................................... 9
2.2 Technical Flow Description................................................................................................................. 9
2.3 Selection Screen Details................................................................................................................... 11
2.4 Data Source and Mapping................................................................................................................ 11
2.5 Logo................................................................................................................................................. 12
2.6 Barcodes.......................................................................................................................................... 12
N/A............................................................................................................................................................... 12
2.7 Standard Text................................................................................................................................... 12
2.8 Output Format.................................................................................................................................. 12
2.9 Form Details..................................................................................................................................... 14
1.1.1 Main Heading.......................................................................................................................... 14
1.1.2 Sub-heading........................................................................................................................... 14
1.1.3 Totalling................................................................................................................................... 14
1.1.4 Sort Criteria............................................................................................................................ 14
1.1.5 Page Breaks............................................................................................................................ 14
1.1.6 Form Paper Size..................................................................................................................... 14
1.1.7 Form Layout........................................................................................................................... 14
Layout Set............................................................................................................................................... 14
1.1.8 Execution Mode Details........................................................................................................ 14
1.1.9 Miscellaneous Requirements............................................................................................... 15
2.10 Security and Authorization................................................................................................................ 15
2.11 Processing and Operational Considerations.....................................................................................15
1.1.10 Dependencies......................................................................................................................... 15
1.1.11 Batch Requirements.............................................................................................................. 15
1.1.12 Restart/Recovery Procedures.............................................................................................. 15
1.1.13 Data Maintenance Requirements.......................................................................................15
1.1.14 Re-use Details........................................................................................................................ 16
1.1.15 Multi-company, Multi-jurisdiction Considerations...........................................................16
1.1.16 Other........................................................................................................................................ 16
3 Technical Requirements......................................................................................................................... 17
3.1 Database Tables............................................................................................................................... 17
3.2 External Programs............................................................................................................................ 17
3.3 Development Class.......................................................................................................................... 17
3.4 Message Class................................................................................................................................. 17
3.5 Program ID....................................................................................................................................... 17
3.6 Program Type................................................................................................................................... 17
TS_MMCV007_Open PR Upload
Modified: 22-May-2012
©2012 Accenture. All Rights Reserved. 5 Last Modified By:Hanumanth Singh
3.7 Module.............................................................................................................................................. 17
3.8 Transport Number(s)......................................................................................................................... 17
4 Testing Requirements............................................................................................................................. 18
4.1 Key Unit/Assembly Test Conditions.................................................................................................. 18
5 Outstanding Issues................................................................................................................................. 19
6 Appendix.................................................................................................................................................. 20
6.1 Glossary of Terms............................................................................................................................. 20
6.2 Additional Supporting/Reference Documentation.............................................................................20
TS_MMCV007_Open PR Upload
Modified: 22-May-2012
©2012 Accenture. All Rights Reserved. 6 Last Modified By:Hanumanth Singh
Technical Attributes
Specification MMCV007
Program Name ZMM_OPENPR
Description Open PR Upload
SAP Type Conversion
Attribut
es
Status Initial Development
Application MM
Developme ZMM01
nt Class
Authorizati
on Group
Logical
Database
Creation Date 21-NOV-2012
Version 01
Modification Ident.
Application Area Material Management
TS_MMCV007_Open PR Upload
Modified: 22-May-2012
©2012 Accenture. All Rights Reserved. 7 Last Modified By:Hanumanth Singh
1 Development Overview
Requirements Summary
Upload of Open Purchase Requisitions as part of Cut over and Migration phase using BAPI
.
Assumptions
The Flat file should be excel file.
Dependencies / Constraints
NA
Transaction Volume
Approx 3 lakhs line items
Standards
NA.
Estimation of Effort
Estimated Hours Actual Hours Sign-off
TS_MMCV007_Open PR Upload
Modified: 22-May-2012
©2012 Accenture. All Rights Reserved. 8 Last Modified By:Hanumanth Singh
Detailed Technical Specifications
Technical Flow Diagram
In this Mass upload conversion we are using BAPI – BAPI_PR_CREATE.In this mass upload we have different
types of PR.
Selection Screen :
Here enter the File Path that to be Upload. It should be Excel file .
P_test is for Simulation test for BAPI.By default it will be in Test Run.
To Upload the data in the file into internal table we call function TEXT_CONVERT_XLS_TO_SAP.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
* I_FIELD_SEPERATOR =
* I_LINE_HEADER = 'X'
i_tab_raw_data = t_raw
i_filename = p_file
TABLES
i_tab_converted_data = t_final
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
Now pass the values present in T_final to BAPI BAPI_PR_CREATE.
break accabhanum.
CALL FUNCTION 'BAPI_PR_CREATE'
EXPORTING
prheader = w_head
prheaderx = w_headx
testrun = p_test
IMPORTING
number = lv_number
prheaderexp = w_prheaderexp
TABLES
return = t_return
pritem = t_item
pritemx = t_itemx
* pritemexp = t_itemexp
* PRITEMSOURCE =
TS_MMCV007_Open PR Upload
Modified: 22-May-2012
©2012 Accenture. All Rights Reserved. 9 Last Modified By:Hanumanth Singh
PRACCOUNT = t_account
* PRACCOUNTPROITSEGMENT =
PRACCOUNTX = t_accountx
* PRADDRDELIVERY =
* PRITEMTEXT =
prheadertext = t_prheadertext
extensionin = t_extensionin
* EXTENSIONOUT =
* PRVERSION =
* PRVERSIONX =
* ALLVERSIONS =
prcomponents = t_components
prcomponentsx = t_componentsx
* SERVICEOUTLINE =
* SERVICEOUTLINEX =
SERVICELINES = t_servicelines
SERVICELINESX = t_servicelinesx
* SERVICELIMIT =
* SERVICELIMITX =
* SERVICECONTRACTLIMITS =
* SERVICECONTRACTLIMITSX =
* SERVICEACCOUNT =
* SERVICEACCOUNTX =
* SERVICELONGTEXTS =
* SERIALNUMBER =
* SERIALNUMBERX =
. If the data is correctly uploaded then document no will generate otherwise error details will be in
t_return.
We will call function 'BAPI_TRANSACTION_COMMIT' for successful execution of BAPi.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Standard Text
NA
Output Format
NA
Form Details
NA
NA
Batch Input
TS_MMCV007_Open PR Upload
Modified: 22-May-2012
©2012 Accenture. All Rights Reserved. 10 Last Modified By:Hanumanth Singh
Technical Requirements
Database Tables
NA
External Programs
NA
Development Class
ZMM01
Message Class
(Use message class created for the the module)
Program ID
ZMM_OPEN_STOCK_MM
Program Type
BAPI
Module
MM
Transport Number(s)
TS_MMCV007_Open PR Upload
Modified: 22-May-2012
©2012 Accenture. All Rights Reserved. 11 Last Modified By:Hanumanth Singh
Testing Requirements
Key Unit/Assembly Test Conditions
Indicate the business-level test conditions used to verify successful operations of the form.
(Attach the UT document)
Unit Test Log
Test
Objective
Step Date Description Expected Actual Requirement Sign
No. Output/Results Output/Results ID -off
Note
s
TS_MMCV007_Open PR Upload
Modified: 22-May-2012
©2012 Accenture. All Rights Reserved. 12 Last Modified By:Hanumanth Singh
Outstanding Issues
Issu Description Assigned To Status Impact Resolution
e No
TS_MMCV007_Open PR Upload
Modified: 22-May-2012
©2012 Accenture. All Rights Reserved. 13 Last Modified By:Hanumanth Singh
Appendix
Glossary of Terms
Term Definition
TS_MMCV007_Open PR Upload
Modified: 22-May-2012
©2012 Accenture. All Rights Reserved. 14 Last Modified By:Hanumanth Singh