Ansicht
Dokumentation

/ACCGO/EXM_SAMPLE_RICEFW_CALC - Get Expense Data for Planned Expenses

/ACCGO/EXM_SAMPLE_RICEFW_CALC - Get Expense Data for Planned Expenses

Addresses (Business Address Services)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is called for processing the expenses in a trading contract. Expenses may be determined during trading contract creation, change, or accrual. Based on input parameters, the function module returns the expense rate and service contract data.

The importing parameters are explained as follows.

  • IM_TC_OPER: Trading Contract Operation
This is the trading contract operation during call of a RICEFW function module. The following operations are possible:
  • C - Create

  • E - Change

  • A - Accrual

  • IM_SER_CONTR: Service Contract Number
This is the service contract number of the third-party service provider.
  • IM_SER_ITEM: Service Item
This is the service item number of the third-party service provider.
  • IM_SER_LINE: Service Line Number
This is the service line number of the third-party service provider.
  • IM_COND_TYPE: Condition Type
This is the condition type for planned expenses with settlement of a trading contract.
  • IM_COND_AMOUNT: Rate (Condition Amount or Percentage)
This is the existing expense amount for planned expenses with settlement of a trading contract.
  • IM_SER_MASTER: Service Master
This is the service master number for a service received from a third-party service provider.
  • IM_EXP_CLASS: Expense Class
This is the condition type for planned expenses with settlement of a trading contract.

The exporting parameters are explained as follows:

  • EX_COND_AMOUNT: Rate (Condition Amount or Percentage)
This is the condition amount determined by the RICEFW function module.
  • EX_SER_CONTR: Service Contract Number
This is the service contract number determined by the RICEFW function module.
  • EX_SER_ITEM: Service Item
This is the service item number determined by the RICEFW function module.
  • EX_SER_LINE: Service Line Number
This is the service line number determined by the RICEFW function module.
  • EX_RC: Return Code
This is the return code passed to the calling program.
  • If the return code is set to zero, then use the expense condition amount: EX_COND_AMOUNT from the RICEFW function module.

  • If the return code is set to a non-zero value, then the expense condition amount: EX_COND_AMOUNT cannot be determined and the value of the condition amount should be set to zero by the caller program of the RICEFW function module.

  • EX_RETURN: Return Parameter Table
This is the message table returned by the RICEFW function module.

Example

Notes

Further information





Parameters

EX_COND_AMOUNT
EX_RC
EX_RETURN
EX_SER_CONTR
EX_SER_ITEM
EX_SER_LINE
IM_COND_AMOUNT
IM_COND_TYPE
IM_EXP_CLASS
IM_SER_CONTR
IM_SER_ITEM
IM_SER_LINE
IM_SER_MASTER
IM_TC_OPER

Exceptions

Function Group

GO/SAPLEXM_RICEFW

TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 4287 Date: 20240603 Time: 232410     sap01-206 ( 32 ms )