This article covers how to configure the standard IPAC bulk file format in SAP, what breaks when Budgetary Ledger is not active, and how to customize the format to fill the gaps.
It's aimed at SAP FI consultants and functional analysts at federal agencies who need to produce IPAC files without Budgetary Ledger or MIRO in place.
Consider the following business requirements.
You need to set up the standard IPAC bulk file for payments and collections in a system where Budgetary Ledger is not activated, and invoices are created with transaction FB60 rather than MIRO.
The file should be saved locally and uploaded to the IPAC portal manually.
To review the specification, your client needs to obtain the IPAC Bulk File Layout document:
For background on the GTAS (Governmentwide Treasury Account Symbol) fields used in the format, see the following:
If you work for a government agency, you will most likely use an intragovernmental system to pay invoices: either G-invoicing or its predecessor, IPAC, which some agencies still use. In federal accounting, each transaction carries Treasury Account Symbol (TAS) values that identify both the payer and the payee side. On the accounts payable side, the payee's values are the Trading Partner (TP) TAS values, and your own agency, as the payer, has its own TAS values.
SAP inherits these TP TAS values automatically from purchase and sales order transactions through to payment transactions, but only when Budgetary Ledger is activated. A TAS is built from these components: sub-level prefix code, allocation transfer agency identifier, agency identifier, beginning and ending period of availability, availability type code, main account code, and sub-account code. Not all are populated on every transaction. The IPAC Bulk File Layout specification linked above gives the length, position, and validation rule for each.
SAP adds the business event type code (BETC) to that list. The receiver BETC must be valid for the transaction type and must form a valid pair with the receiver TAS.
Here is an example of TAS values populated on an invoice:
If we check the BSEG table for this document on the G/L line (KOART = ”S”), you will see the following:
The G/L line stores a key in BSEG that points to the TAS values in table FMFGUSKONTKEY.
The simplest way to think about the TAS fields is that they identify where funds go. A SWIFT payment relies on routing and account numbers to reach the right destination. TAS values play the same role inside intragovernmental payment systems like G-invoicing and IPAC.
Now let's discuss how to configure and customize IPAC bulk files.
To prevent this error in the Payment Medium Workbench (PMW): “No agency location code/pmt office found for payment method supplement,” activate it at company code level in FBZP. Under the section All Company Codes, select the checkbox “Pyt Meth Suppl.”
Then you need to define the payment method supplement. Follow this menu path:
Transaction SPRO: Financial Accounting > Accounts Receivable and Accounts Payable > Business Transactions > Outgoing Payments > Automatic Outgoing Payments > Payment Method/Bank Selection for Payment Program > Define Payment Method Supplements.
From an IPAC configuration perspective, these are the required steps from that list to make IPAC work:
Within the Maintain Payment/Disbursing Offices section, you will need to assign the code of your agency’s payment office.
Then, within Maintain Agency Location Codes, you will need to maintain all possible ALCs of other agencies with which you have transactions.
The agency with the checkbox in the “Int ALC” column is your agency.
Choose the ALC and double-click Assign. of Business Act. Type and Reporter Categor.:
Check the list of agencies periodically, because the US Treasury may introduce new ALCs.
Inside Assign ALC and Payment Office to Payment Method Supplement, you need to enter the payment method supplement, which you created before, and then assign the agency location code and payment office for your own agency.
If your agency has several disbursement or payment offices, you will need several payment method supplements. In this case, we have only one.
The payment method supplement can be defaulted on the vendor and customer master records that will be paid through IPAC:
Because Trading Partner TAS values can differ from invoice to invoice for the same vendor or customer, you may need to default the single payment indicator on those master records if your configuration groups several invoices into one payment document (if you do not have a check box called “Separate Payment for Each Ref.” in FBZP in the Paying Company Codes section).
If the payment method is assigned at the invoice level instead, you can use the check box called “Pmnt Methods in Company Code” for your IPAC PM.
In OBPM1, assign the function modules to the event 30 for format IPAC_FG_UPLD: FI_PAYMEDIUM_GWA_IPAC_FG_30.
See SAP Note 3597118 for why this function module has to be assigned in OBPM1. Without it, the BIPAC line appears at the end of the file rather than at the beginning.
The outgoing payment method for payments has to have the format supplement PAYM and the incoming payment method for collections COLL.
The outgoing payment method looks like this:
The configuration for the incoming payment method is identical except that the format supplement is COLL rather than PAYM.
If the client processes adjustments separately, one more payment method has to be configured with format supplement ADJUST. The format supplement field offers three values in total: PAYM, COLL, and ADJUST.
In our case, the client did not use a separate payment method. Adjustments were handled with payment method I or J and the appropriate BETC code. DISBAJ and COLLAJ are examples of BETCs that indicate an adjustment.
In OBPM4, you need to assign your created variant for SAPFPAYM.
Because we did not activate Budgetary Ledger and did not use transaction MIRO, the standard logic left gaps. TP TAS values did not appear in the file output at all. The IPAC code does not read table ACDOCA, so even when the standard TP TAS and agency TAS fields are populated there, the format ignores them. It reads from BSEG instead, or from the purchase order when Budgetary Ledger fields are populated in BSEG. Contract number and purchase order were missing as well, since those are populated through MIRO.
SAP confirmed the older function modules don't meet the current IPAC requirements and directed customers to the replacements listed in SAP Note 3597118.
Assigning those modules in OBPM1 fixes the file structure.
The new modules have gaps of their own. The SGL record (S-record) is not populated, which is acceptable, since the S-record is optional and the IPAC portal does not return an error when it is missing. BETC is treated as optional, which was not correct for our requirements, so we changed the logic to populate it in every case. Contact details are not populated either, because IPAC does not require them, though our requirements did.
Everything beyond the file structure, meaning TAS values, BETC, contract number, and contact details, has to be handled in custom function modules assigned through OBPM3 and copied from the standard.
In OBPM3, assign your custom function module, copied from FI_PAYMEDIUM_GWA_IPAC_FG_30, to event 31.
In that module, you can fill in the missing required fields. Note one difference from the ACH format: the ACH module produces output for a single payment, so no loop is needed. The IPAC module receives all payments in the output table at once, which means you have to identify each detail record (D record) individually in order to modify it for each payment.
Be aware that some fields the IPAC specification marks as optional, such as description and accounting classification code, are still required by certain agencies for certain TAS value combinations. If you leave them empty, your file will fail in the IPAC portal.
The description field is one example. The specification allows up to 320 alphanumeric characters and advises against special characters such as double quotes or question marks. Accounting classification code is another. Both are marked optional, but agencies will reject files without them for certain TAS combinations.
It is safer to populate them for all agencies.
If you need to use format IPAC_FG_ZERO, reconfigure event 30 to function module FI_PAYMEDIUM_GWA_IPAC_FG_0_30 as well, as described in the same SAP Note.
Here's an example of a payment file:
Here's an example of a collection file:
The H record, highlighted in yellow, is the header record. It contains the ALC and disbursement/payment office for your agency and for the agency you are paying or collecting from. The ALC is assigned on the vendor or customer master record.
The D record, highlighted in green, is the detail record.
In the collection file, blue marks the TP TAS values and pink marks the TP BETC. Orange marks your own agency's TAS values, and purple marks your agency's BETC. The BETC identifies what kind of collection or payment your agency is initiating. In a payment file, your agency's BETC will be a disbursement code such as DISB or DISNGF. In the collection file, it will be COLL.
There are a number of possible errors you may run into.
First, the combination of TAS values is incorrect. The IPAC portal holds all valid combinations of agency ID, main account, and subaccount, and validates your file against them on submission.
Columns 921-947: Receiver TAS-BETC pair is invalid
These values come from form 7600B. Make sure the same combination reaches the government fields on the SAP invoice, shown earlier.
Second, the BETC may be incorrect. For example, a disbursement BETC was entered on the collection side for both the TP TAS and your agency TAS values.
Third, some TAS value combinations require a description and accounting classification code even within the same ALC, so populate them in all cases.
Columns 146-465: Description is required
Lastly, make sure the payment method supplement is populated on the vendor master and inherited to invoice level. Otherwise, the ALC and payment/distribution code will be missing from the header record, and the file will fail on submission. You can add custom checks to the payment program (F110) through a BTE event 1820 enhancement, but that is a topic for another post.
The first two errors are both caused by values that should never have been entered in the first place. To restrict TAS and BETC entries to valid values, configure these tables with the allowed values: Public Sector Management > Functions for US Federal Government > US Federal Government Fields > Maintain US Federal Government Field Values.
For example, select FMFG_TP_BETC and maintain the BETC values your agency is permitted to use.
The second reason this error might appear is an invalid combination of agency ID, main account, and subaccount, meaning a combination that doesn't exist in IPAC. Each value on its own may be legitimate, but IPAC doesn't recognize them together. This is why the values should be pulled directly from Form 7600B. Depending on how your team handles invoice processing, there may also be room for a user typo at that step.
Getting the file structure right requires consultant involvement in the IPAC configuration. Customization is likely to be necessary as well, because SAP does not populate fields the IPAC bulk file specification leaves unmarked as required. TP TAS and BETC fall into that category, and as we found, so do additional fields for certain TAS combinations.
Learn more about finance in SAP on this page.
This post was originally published 10/2026.