Ansicht
Dokumentation

ISUT_ZTERM_DETERMINE - IS-U/T Determine Default Term of Payment for VKONT in SD Order

ISUT_ZTERM_DETERMINE - IS-U/T Determine Default Term of Payment for VKONT in SD Order

rdisp/max_wprun_time - Maximum work process run time   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module determines the term of payment for a combination of business partner and contract account. It will either find an outgoing term of payment or an incoming term of payment, depending on whether the sales document category implies outgoing payment (credit memo) or incoming payment.

If the export parameter for the term of payment is blank, the term of payment used in SD is determined instead.

Example

I_GPART

I_GPART (business partner) = REGUL_01

I_VBAK

I_VBAK-VBTYP = O (credit memo)

I_VBKD

I_VBKD-VKONT (contract account) = REGUL_01_VK

Payment condition EXMP is found for the payer and the contract account. This payment condition is allocated the following terms of payment:

  • Outgoing term of payment: 0001
  • Incoming term of payment: 0002

As the sales document category is "credit memo" and the payment is therefore outgoing, the system selects term of payment 0001.

E_VBKD_ZTERM

E_VBKD_ZTERM = 0001

Further information





Parameters

E_VBKD_ZTERM
I_GPART
I_VBAK
I_VBKD

Exceptions

Function Group

EERW1

ROGBILLS - Synchronize billing plans   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 1731 Date: 20240523 Time: 095747     sap01-206 ( 31 ms )