Invoicing Plan Enhancement in Purchase Order PDF
Invoicing Plan Enhancement in Purchase Order PDF
Purchase Order
Applies to:
SAP ECC 6.0. For more information, visit the Enterprise Resource Planning homepage
Summary
This document helps the P2P consultants to understand the way in which enhancement can be done on the
Invoicing Plan, available in Purchase Order. It is ideally suited for those Consultants who are new to this
subject. How the enhancement can be achieved & some customizations can be done for meeting the
business requirement in Purchase Order’s Invoicing Plan functionality has been explained in a simple and
understandable way. Any suggestions and improvements towards this document will always be welcomed.
Author Bio
Zafar A. Valsal is now an associate of Larsen & Toubro Infotech Ltd. He has total 8 years of
experience, out of which more than 4 years experience in the area of SAP Consulting in Procure to
pay (P2P) process. He has worked in Procurement, Manufacturing and Production Planning vide
industries like Manufacturing, Projects oriented Industries and Electro Mechanical Manufacturing companies.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 1
Invoicing Plan Enhancement in Purchase Order
Table of Contents
Invoicing Plan ..................................................................................................................................................... 3
Invoicing Plan in Purchase Order ....................................................................................................................... 3
Periodic Invoicing Plan: ...................................................................................................................................... 4
Partial Invoicing Plan: ......................................................................................................................................... 5
Business Requirement Pertaining to Invoicing Plan ........................................................................................... 6
Business Scenario & its Significance ................................................................................................................. 6
Approach............................................................................................................................................................. 6
Screen Exit for PO Release ................................................................................................................................ 7
A Word of Caution ............................................................................................................................................ 10
Screen Exit Implementation .............................................................................................................................. 11
Screen Exit Effect on the Invoicing Plan Maintenance ..................................................................................... 12
Related Content ................................................................................................................................................ 16
Disclaimer and Liability Notice .......................................................................................................................... 17
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 2
Invoicing Plan Enhancement in Purchase Order
Invoicing Plan
What is Invoicing Plan? Before we start with the main topic of Invoicing Plan Enhancement in Purchase
Order, let us revisit the basics of Invoicing Plan.
Have you ever felt the need to have invoices generated automatically and paid without having to wait for the
receipt of the supply or completion of a service from your vendor? Since some transactions (such as leasing
or renting) are repetitive in nature and in such cases, we are normally not concerned about their delivery or
completion, is it possible for us to schedule invoice generation and payment, instead of handling the invoices
manually? Does the procurement of certain equipments / high valued goods or services allow you to make
installment payments? If the answer to all these questions is a “YES”, then SAP’s Invoicing Plan functionality
is the solution.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 3
Invoicing Plan Enhancement in Purchase Order
The periodic invoicing plan can be used for regularly recurring procurement transactions (e.g. rental, leasing,
or subscriptions).
It facilitates the largely automatic creation and payment of invoices within the framework of the invoice
verification process. The periodic invoicing plan uses evaluated receipt settlement (ERS) program
functionality.
In the case of the periodic invoicing plan, the total value of the PO item is invoiced on each due date.
An Example:
A monthly sum of $1000 is charged for a leased car (represented by an item of a PO). This sum is invoiced
and paid on the last day but one of each month.
In Customizing for Purchasing, you can define whether the dates are to be maintained manually or whether
the system is to suggest invoicing dates according to the specified rules.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 4
Invoicing Plan Enhancement in Purchase Order
The partial invoicing plan can be used for the invoicing of high-cost material or projects involving the
procurement of external services that are to be subject to stage payments (such as plant construction
projects, or the invoicing of individual stages of a building project following completion in each case).
You can also flag due dates in a partial invoicing plan as dates for advance payments.
The amounts corresponding to these dates are then not taken into account in the sum total of the invoice
items because advance payments are set off against later invoices.
With this type of invoicing plan, the total value of the PO item is spread among the individual due dates
defined in the invoicing plan. Thus, only a part of the total item value is payable on each due date. The total
value of the PO item can be split among the due dates on a percentage basis or in absolute amounts
An Example:
A purchase order item relates to building project no. 1 with a total value of $900,000. 33.3% ($300,000) of
the total value is due to be invoiced and paid on completion of the first phase of construction, a further 33.3%
($300,000) on completion of the second phase, and the rest ($300,000) following completion and acceptance
of the 3rd and final phase.
In the partial invoicing plan, you wish to maintain the invoicing dates agreed with the vendor yourself.
Therefore there is no system support in the form of date proposals. However, if you wish to have due dates
suggested by the system as an entry aid, you can reference an existing plan when creating a new invoicing
plan, date proposals can then be adopted from the former.
A snapshot of Partial Invoicing Plan in PO line item of SAP (Stage wise payment)
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 5
Invoicing Plan Enhancement in Purchase Order
Approach
Meeting this requirement seems quite difficult at first look, as our standard SAP system does not have the
Invoicing Plan available at the PO Header level in addition to PO Item level, from where if the Invoicing Plan
is maintained at the Header level, then for such POs it can be either applicable to all PO line items or can
serve as an entry aid for PO Item level Invoicing Plans. Hence an Enhancement is required in PO, whereby
we can should explore the possibility to use two custom buttons, one at PO line item level for copying the
Invoicing Plan from the current PO line item to any other desired PO line item, and other button at the PO
header level for copying the Invoicing Plan from the current PO line item to all the PO line items. This
requirement will be possible if we get a Screen exit to create some custom sub-screens & add these buttons
in that sub-screen to meet our Business requirement, the logic for which can be coded in the Screen Exit.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 6
Invoicing Plan Enhancement in Purchase Order
Tips for finding the Screen exit for the above enhancement:
First we need to search the Package for the Transactions where we need to put the enhancement
In this case the T-Codes are ME21N, ME22N & ME23N
Using these T-Codes go to the Transaction SE93 (Maintain Transaction) & When you put the transaction
name there are click on Display option, you get the Package details from the field Package, which in this
case was “ME”
Alternatively you can run find the Package details from the Transaction ME21N by going in the Status option
in System menu & double click on Program name & then select the Attributes Option from the Goto Menu.
Refer the below snapshots for details:
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 7
Invoicing Plan Enhancement in Purchase Order
Once the Package is determined, the Screen Exit can be found from the T-Code – SMOD by clicking the
Search help & giving Package details in the Search for Customer Exit.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 8
Invoicing Plan Enhancement in Purchase Order
After finding the relevant Exits, you can check their details in display mode by viewing their components &
checking the structures available in the includes available for the Screen areas of the exit (T-Code for
checking includes = SE38)
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 9
Invoicing Plan Enhancement in Purchase Order
Thus we found a Screen Exit, which can be explored for inserting our custom sub-screen & buttons in the PO
sub-screen for doing the desired Enhancement for Invoicing Plan.
For feasibility check this can be further checked along with a Technical expert of ABAP, who can put the
desired coding needed as per the Business requirement in the ABAP programming language in the Z-
Include. From Functional point of view we need to ensure that all the requisite details, logic and table / field
details go clearly along with the desired customer exits in the Functional Specification to the ABAP Technical
consultant.
A Word of Caution
In some cases, by activation of certain exits, some functionality may be impaired by giving some undesirable
behavior, which may be observed in the transactions, for which the exits are activated. Hence thorough
testing needs to be done to take care that in case of any issues, the necessary corrective actions or
corrections in the form of SAP notes can be implemented to remove all the undesired effects in the affected
transactions. To search for SAP Notes, Please follow the link service.sap.com
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 10
Invoicing Plan Enhancement in Purchase Order
All these activities require a Technical expert from ABAP to work on the coding part. From functional side, we
need to mention the logic along with the Screen exits available for meeting our requirement and other details
as explained above.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 11
Invoicing Plan Enhancement in Purchase Order
Snapshot of PO Header Custom tab with button for allowing the copy functionality in Invoicing Plan.
The reference Line item from which the Invoicing Plan is to be copied to all PO line items need to be
specified in the field “From Line Item”
Snapshot of PO Item Custom tab with buttons for allowing the copy functionality in Invoicing Plan
The reference Line item from which the Invoicing Plan is to be copied to all the desired PO line item need to
be specified in the field “From Line Item” & the destination line item be specified in the field “To Line Item”
Now, after maintaining Invoicing Plan as per the Vendor agreed milestones in the PO first line item, we can
use the above functionality to copy the Invoicing Plan from the line item to other line items as per our
requirement.
Refer the below snapshots of creating the Invoicing Plan & then copying it further:
In the PO line item, enter the details of Invoicing Plan by clicking on the button of Invoicing Plan in the
Invoice Tab
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 12
Invoicing Plan Enhancement in Purchase Order
Enter the Milestone details, as agreed with your Vendor in the Invoicing plan sub-screen
Now after we have maintained Invoicing Plan in Line item # 1, as above, we can then copy it using one of the
below available options:
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 13
Invoicing Plan Enhancement in Purchase Order
Option # 1
Copy Invoicing Plan from Line item # 1 to Line item # 2. The desired line items can be selected from the
search help provided in the custom tab for ease of input to user.
After entering the source & destination line item click on copy button to copy the invoicing plan
The invoicing plan is copied & a success message is displayed for the same
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 14
Invoicing Plan Enhancement in Purchase Order
Option # 2
Copy Invoicing Plan from Line item # 1 to all PO line items. The desired source line item from which the
Invoicing Plan needs to be copied to all PO line items needs to be selected from the search help provided in
the custom tab for ease of input to user.
Select the source line item in the header copy option using the search help provided
After entering the source PO line item click on copy button to copy the invoicing plan to all PO lines
The invoicing plan is copied & a success message is displayed for the same
This is the way in which we successfully met our Client’s Business requirement by enhancing the PO
Invoicing Plan maintenance by providing custom copy options through the use of Screen Exit. These Copy
options satisfied Business users requirement completely & they started using Invoicing plan feature provided
by SAP effectively in their Purchase Orders.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 15
Invoicing Plan Enhancement in Purchase Order
Related Content
http://forums.sdn.sap.com/thread.jspa?messageID=10159514#10159514
http://forums.sdn.sap.com/thread.jspa?messageID=10189947#10189947
http://forums.sdn.sap.com/thread.jspa?messageID=10163358#10163358
Creating Customer-Specific Subscreens
wiki.sdn.sap.com
sdn.sap.com
help.sap.com
service.sap.com
For more information, please visit the Enterprise Resource Planning homepage.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 16
Invoicing Plan Enhancement in Purchase Order
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 17