cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Single Payment Specification for Multiple Contract Accounts

reachglady
Explorer

Accepted Solutions (1)

Accepted Solutions (1)

reachglady
Explorer
0 Kudos

Hi Rahul,

We can create a payment specification for multiple contract accounts even if the Business Partners are different.

Use FM GEN_EBPP_GET_DATA and pass all the different BPs and CAs to i_range_gpart & i_range_gpart respectively to get the Invoices (t_invoices) and allocations(t_allocations).

Then use cl_isu_umc_api_paymentdocument=>prepare_payment_data with the above invoices to get the Payment item data (et_payment_item_data)

Use the FM GEN_EBPP_PUT_DATA and pass the above et_payment_item_data and t_allocations


Thanks,

Glady

Answers (2)

Answers (2)

rahul_chakrabortysap
Participant
0 Kudos

Hello Glady,

You can only create a payment specification for multiple contract accounts if those belong to same Business partner.
Regards,
Rahul

william_eastman
Product and Topic Expert
Product and Topic Expert
0 Kudos

The contract account is required and cannot be multiple values in a payment specification.