Académique Documents
Professionnel Documents
Culture Documents
10.07.03 - Payment Instruction 10.07.04 - Payment Instruction Acknowledgement Version 0.1 07/05/2013
DOCUMENT HISTORY
REVIEWERS
This document has been distributed to, or its status and location for electronic retrieval made know to, the following persons for review:
Name Title Date Version
APPROVERS
Name Title Date Version
DISTRIBUTION
This document has been distributed to, or its status and location for electronic retrieval made known to the following persons for information:
Name Title Date Version
DOCUMENT CONTROL
Filename Functional_Specification_Payment Instruction_Payment Instruction Acknowledgement Functional_Specification_Payment Rejection_Payment Rejection Acknowledgement Functional_Specification_Payment Instruction_Payment Instruction Acknowledgement Author Bharati Nadkarni Dana Bethune Version 0.1 Date 07/05/2013 Summary of changes Initial draft
0.1
16/05/2013
Review
Bharati Nadkarni
V0.2
16/05/2013
REFERENCES
This document makes references to the following documents. These reference documents should be read in conjunction with this document.
Filename Location Version
TABLE OF CONTENTS
1. 2. 3. 4. 5. 6. 7. 7.1. 7.2. 7.3. 7.4. 7.4.1. 7.4.2. 7.4.3. Requirement Details ............................................................................................................................ 4 Development Information ................................................................................................................... 4 Open Issues............................................................................................................................................ 4 Development dependencies ............................................................................................................... 4 Assumption/Limitations ....................................................................................................................... 5 Configuration Details ........................................................................................................................... 5 Design ..................................................................................................................................................... 6 Purpose .............................................................................................................................................. 6 Process Flow Diagram ...................................................................................................................... 7 Process Description.......................................................................................................................... 9 Processing Logic ............................................................................................................................... 9 Custom program ACMPS Payment Instructions Transfer ..................................................... 9 Custom program ACMPS Payment Acknowledgement ....................................................... 10 Custom program ACMPS Transfer Log report .................................................................... 10
7.4.3.1. Details Processing Logic ............................................................................................................ 10 7.4.3.1.1. Custom program ACMPS Payment Instructions Transfer .............................................. 10 7.4.3.1.2. Custom program ACMPS Payment Instruction Acknowledgement ............................... 11 7.4.3.1.3. Custom program ACMPS Transfer Log report ................................................................ 11 7.4.4. 7.5. 7.6. 7.7. 7.8. 7.9. Custom fields in standard table DFKKOP ............................................................................. 12 Mapping Sheet: ............................................................................................................................... 12 DATA DICTIONARY OBJECTS ......................................................................................................... 12 Authorisation Requirements ........................................................................................................ 13 Key Business Test Conditions ....................................................................................................... 13 Negative Test conditions............................................................................................................... 14
1. Requirement Details
Gap Id Title 10.07.03, 10.07.04 Payment Instruction and Payment Instruction Acknowledgement DHS_Financial Management_Business_Blueprint_Draft_v1.1 Custom ABAP programs, SAP PO Interfaces, Custom fields, Custom table
Reference
Category
2. Development Information
SAP Module SAP Sub Module Priority Development Complexity Requested Date of Completion
3. Open Issues
Impact Priority
No
Assigned to
<H/M/L> <VH/H/M/L>
4. Development dependencies
FS ID/Config Group ID
No 1
Description SAP PO Enhancements must be ready for testing at the same time of FVT (functional verification test) High
Type
13/07/2009 11:56 AM
Page 4 of 16
5. Assumption/Limitations
No 1 Description The reconciliation key in the original posting document in PSCD will be sent upon transfer payment instruction to CPS system. This was confirmed by the respective CPS team.
6. Configuration Details
To distribute Payment Instruction Object details below settings has to be done: PSCD Maintain Main Transactions Path: Contract Accounts Receivable and Payable Basic FunctionsPostings and DocumentsDocumentMaintain Document Assignments Maintain Main Transactions Maintain Sub Transactions Path: Contract Accounts Receivable and Payable Basic FunctionsPostings and DocumentsDocumentMaintain Document Assignments Maintain Sub Transactions Path: Contract Accounts Receivable and Payable Basic FunctionsPostings and DocumentsDocumentMaintain Document Assignments Maintain Transactions for Public
Sector Contract Accounting Maintain Sub-Transactions
Maintain Document Number Ranges Path: Contract Accounts Receivable and Payable Basic Functions Postings and Documents Basic Settings Maintain Document Number Ranges Maintain Document Types and Assign Number Ranges Path: Contract Accounts Receivable and Payable Basic FunctionsPostings and DocumentsDocumentMaintain Document AssignmentsDocument TypesMaintain Document Types and Assign Number Ranges Define Sales/Purchase Tax Determination Path: Contract Accounts Receivable and Payable Basic FunctionsPostings and DocumentsDocumentMaintain Document Assignments Define Sales/Purchase Tax Determination CPS: N/AAll of the above configuration will also need to be in place in CPS to enable transfer of payment instructions between systems.
Please refer to the attached document which outlines the shared configuration settings between ACMPS and CPS.
Formatted: Normal, Indent: Left: 0", First line: 0"
13/07/2009 11:56 AM
Page 5 of 16
Comment [BD1]: We should be receiving real time acknowledgements back from CPS this wa agreed with their technical team. This appears to be what is described in section 7.4.3.1.2 Natthira : incorporated the changes
13/07/2009 11:56 AM
Page 6 of 16
High-level diagram outlines the functionality used in the end-to-end transfer process.
13/07/2009 11:56 AM
Page 7 of 16
PI/PO Interface:
PSCD
Proxy
SAP PO
Proxy
CPS
PSCD
Payment Data
Payment Instruction
PO interface
13/07/2009 11:56 AM
Page 8 of 16
CPS
Payment Data
Payment Instruction Ack
PO interface
7.4. Processing Logic 7.4.1. Custom program ACMPS Payment Instructions Transfer
This custom program would be provided 2 options for execution. Execute on demand by authorized users (Real time execution) Execute by a Scheduled batch job on weekly week-nightly basis (i.e. Monday to Friday, excluding Canberra public holidays).
Selection parameters on the front screen Business Partner (single values, or range / optional field) It is a lookup fields in table BUT000 Contract Account (single values, or range / optional field) It is a lookup fields in table FKKVK Document Number (single values, or range / optional field) It is a lookup fields in table DFKKKO
Page 9 of 16
13/07/2009 11:56 AM
Error Flag ( optional field) It is a radio button,/* this flag will be applicable for the case of error resolution of the transferred payment instruction to CPS*/
The failure and successful of transfer payment instructions to CPS system would be associated in the payment acknowledgement file. These failures would be able to display as a report ACMPS Transfer Log. This custom program can be executed on demand. Selection parameters on the front screen
Comment [BD3]: Is this really necessary? I requires manual post-processing this way and i not in line with the blueprint. I am okay with the reserved status being in plac to indicate that a transfer attempt has been mad but cant we just have the program pick these reserved items up automatically in the next ru If the error has been resolved then the transfer will be able to take place, otherwise the status remains as reserved. Relying on an individual user to post-process th reserved documents manually could result in unnecessary payment delays. Natthira : This flag also prevent for duplicate resend payment instruction which error hasnt resolve. This flag can ensure that the error has been resolved prior to resend payment instructi
Document Number (single values, or range) It is a lookup fields in table DFKKKO Error Type (mandatory field), the value lists will be ( P , R, J )
7.4.3.1.
Details Processing Logic 7.4.3.1.1. Custom program ACMPS Payment Instructions Transfer
When the custom program is executed and selection parameter Error Flag is not select. The custom program will fetch all non-transferred document line item in table DFKKOP where the conditions would be met as below
Comment [BD4]: Input is required from CP here please refer to Nichola Black for details what acknowledgement process they are following. As per previous agreement with CPS they will be sending us a real-time acknowledgement which PO will process and u to update the Transfer Log. Natthira : Incorporated the changes
a) If document number (DFKKOP- OPBEL) is in the range of document number of selection parameter then go to step b else exit to fetch a new line item. b) If Payment lock (DFKKOP- SPZAH) is not blank then exit to fetch a new line item else b.
c) Clearing status (DFKKOP- AUGST) is not blank then exits to fetch a new line item
else c. d) Payment status (DFKKOP Z_FIELD_A) is not blank then exit to fetch a new line item else d. e) Fetch the document number from table DFKKKO if a document type (DFKKKOBLART) = AC then go to step f. else exit to fetch a new line item. f) If contract account (DFKKOP- VKONT) is in the range of contract account of selection parameter then fetch contract account from table FKKVKP if Outgoing payment (FKKVKP- AZASP ) is blank then go to step g. else exit to fetch a new line item.
g) If business partner is in the range of business partner of selection parameter then fetch business partner from table BUT000 where business partner is in the range of selection parameter else exit to fetch a new line item. The set of document which met the conditions, will be updated value as Reserved in payment status DFKKOP-Z_FIELDL_A After finished execution, the ABAP Proxy is called to send the populated output data structure to SAP PO for the text file generation. The output data structure is mentioned in section 6.5 Mapping Sheet. ( Note: SAP PO will need to populate a default value ACM at last column in structure DFKKOP (field name Z_CLAIM_SYS in the CPS system), see detail in section 6.5 Mapping Sheet ) Meanwhile the custom program will be populated output data in the report for the successfully transfer payment instruction. The report can display on the screen for real time execution, or created as the spool request for the batch job execution.
13/07/2009 11:56 AM Page 10 of 16
Comment [BD5]: We discussed you talking CPS about this to see if they would be willing t put this logic into the process they will be implementing to create the posting documents (i.e. Create BAPI) was this done, or have PO agreed to push the default data through for them
When the program is executed and selection parameter Error Flag is selected. The custom program will fetch the document number from custom table CPS Payments where error message has determined. After finished execution, the ABAP Proxy is called to send the populated output data structure to SAP PI for the text file generation. The files are placed in appropriate location by SAP P). Meanwhile the custom program will be deleted the respective record in custom table CPS Payments and populated output data in the report for the successfully transfer payment instruction. The report can display on the screen for real time execution, or created as the spool request for the batch job execution.
Comment [BD6]: Where and how will this email address be maintained? Natthira : Incorporated the changes
7.4.3.1.3.
The custom program ACMPS Transfer Log will fetch records in custom table CPS Payment where it has a condition as below a) If field document number is equal to or in the range of selection parameter-document then go to step b else exit to fetch a new record. b) If field Z_ERROR_F is not equal to the selection parameter Error type then exit to fetch a new record. The output data which meet the above conditions will be displayed as a report which has the relevant fields as below
13/07/2009 11:56 AM
Document Number TYPE ID NUMBER MESSAGE LOG_NO LOG_MSG_NO MESSAGE_V1 MESSAGE_V2 MESSAGE_V3 MESSAGE_V4
Page 11 of 16
No No No
Payment Status RBA rejection reason ACMPS Payment Instruction Document no.
RTEXT_KK
OPBEL
Field name
Primary key
Field Description
OPBEL
Yes
OPBEL
Character (12)
Z_ERROR_F
Yes
N/A
Character (1)
No No
Structure
Document Number Error Type *Error type represents which state is detected the error. P = Transfer Payment instruction acknowledgement R = Transfer Reconciliation acknowledgement J = Transfer Rejection acknowledgement Payment Clearing Document Number of the return document Return Parameter
Page 12 of 16
No
Test condition
Priority VH/H/M/L
Payment Instruction Process Ensure a payment instruction can be transferred The range will be entered in parameters Business Partner Contract Account Document Number All the document numbers in the range are meet the conditions in Processing Logic in section 6.4 Ensure a payment instruction can be transferred The range will be entered in parameters Business Partner Contract Account Document Number Some document numbers in the range are not meet the conditions in Processing Logic in section 6.4 Ensure a payment instruction can be transferred The range will be entered in parameters Business Partner Contract Account Document Number Some contract accounts in the range have applied the outgoing payment lock, Refer to Processing Logic in section 6.4 Ensure a payment instruction can be retransferred The range will be entered in parameters Business Partner The set of documents should be met the conditions, and It should be extracted to SAP PO. The report lists should be displayed for the transferred payment instruction. The payment status Reserved should be updated the respective document in DFKKOP
TBD
The set of documents should be met the conditions, and It should be extracted to SAP PO. The report lists should be displayed for the transferred payment instruction. The payment status Reserved should be updated the respective document in DFKKOP
TBD
The set of documents should be met the conditions, and It should be extracted to SAP PO. The report lists should be displayed for the transferred payment instruction. The payment status Reserved should be updated the respective document in DFKKOP
TBD
The documents should be met the conditions, and It should be extracted to SAP PO. The report lists should be
TBD
13/07/2009 11:56 AM
Page 13 of 16
No
-
Test condition
Priority VH/H/M/L
Contract Account Document Number Error Flag when Error flag has been selected Payment Instruction Acknowledgement Process Ensure the successful payment instruction which has multiple 5 records can be reflected in table DFKKOP Ensure the failure payment instruction which has multiple records can be 6 reflected in custom CPS Payment only
The documents should be matched and updated the payment status as Transferred The failure record should be inserted entry in custom table CPS Payments and updated field Z_ERROR_F as P The respective document should not reflect the value of Payment status in table DFKKOP The failure record should be inserted entry in custom table CPS Payments and update field Z_ERROR_F as P The successful record, the document should be matched and updated the payment status as Transferred The failure transfer payment instructions acknowledgement should be displayed on the report. The failure transfer reconciliation acknowledgement should be displayed on the report. The failure transfer rejection acknowledgement should be displayed on the report.
TBD
TBD
Ensure the multiple records of failure and successful payment instruction can be reflected to respective table.
TBD
ACMPS Transfer Log Report Ensure that the report log can be displayed a multiple records of failure as per the selected Error Type ( P) Ensure that the report log can be displayed a multiple records of failure as per the selected Error Type ( R) Ensure that the report log can be displayed a multiple records of failure as per the selected Error Type ( J)
TBD
TBD
10
TBD
7.9.
No
Priority VH/H/M/L
13/07/2009 11:56 AM
Page 14 of 16
No
Priority VH/H/M/L
Payment Instruction Process Ensure a payment instruction can not transfer for a document where the payment status (DFKKOP Z_FIELD) as Transferred. Ensure a payment instruction can not transfer for a document where the payment status (DFKKOP Z_FIELD) as Paid. Ensure a payment instruction can not transfer for a document where the payment status (DFKKOP Z_FIELD) as Revered
TBD
Ensure a payment instruction can not transfer for a 4 document where the payment lock is not blank Ensure a payment instruction can not transfer for a 5 document where the clearing status is not blank Ensure a payment instruction can not transfer for a 6 contract account who has applied the outgoing payment lock. Payment Instruction Acknowledgement Process Ensure the multiple records of failure and success payment instruction can be reflected to respective 7 tables.
The failure record should be inserted entry in custom table CPS Payments and update field Z_ERROR_F as P The success record, the document should be matched and updated the payment status as Transferred
TBD
Check the behavior of Appropriate message must be the program if the shown to the user(online) or email id is not stored in spool(batch)
TBD
Formatted: Font: 9 pt, Not Bold, Highlight Formatted Table Formatted: Font: 9 pt, Not Bold, Highlight
13/07/2009 11:56 AM
Page 15 of 16
No
Priority VH/H/M/L M
Check the behavior of the program both in batch and online Check the behavior of the program when it fails to update the custom table
As Expected result 8
TBD
Formatted: Font: Trebuchet MS, Font color Auto, English (Australia), Highlight Formatted: Font: 9 pt, Not Bold, Highlight Formatted: Font: 9 pt, Not Bold, Highlight
10
TBD
Formatted: Font: Trebuchet MS, Font color Auto, English (Australia), Highlight Formatted: Font: 9 pt, Not Bold, Highlight Formatted: Font: 9 pt, Not Bold, Highlight
ACMPS Transfer Log Report The user has solved the error transfer and executed custom program ACMPS transfer payment by ad-hoc. It is a success transfer in this time. To ensure that the report log can not display the output for the records this has been solved. Selection parameterError type = P This case should be tested for Reconciliation acknowledgement, Rejection acknowledgement. No error record exits in custom table CPS Payments hence there is no output in the report log.
Formatted: Font: Trebuchet MS, Font color Auto, English (Australia), Highlight
811
TBD
13/07/2009 11:56 AM
Page 16 of 16