/SAPSLL/API_CSD_LEGCULC_UPDATE - API to Change Customs Values

rdisp/max_wprun_time - Maximum work process run time   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Functionality

This function module lets you change the values of a customs declaration that are classified as transactionamounts (such as goods value, transportation costs, and insurance). The following values can be changed, depending on which maintenance levels are maintained for the duty types in Customizing:

  • Maintain duty type at item level (interface parameter CT_CUVALU_I)
    You can change the value,the currency, the exchange rate, the exchange rate date, and the fixing indicator for the exchange rate.If the "Proportional Duty" flag is set for the duty type, you can also change the percentage for the proportional transfer to the customs value.

  • Maintain duty type at header level (interface parameter CT_CUVALU_H)
    You can change the value,the currency, the exchange rate, the exchange rate date, and the fixing indicator for the exchange rate.If the "Proportional Duty" flag is set for the duty type, you can also change the percentage for the proportional transfer to the customs value.

  • Duty type is maintained at item level and cumulated at header level (interface parameter CT_CUVALU_C)
    In this case, the currency, the exchange rate, the exchange rate date, and the fixing indicator forthe exchange rate can be changed in the cumulated header table. If the "Proportional Duty" flag is setfor the duty type, you can also change the percentage for the proportional transfer to the customs value. The values can only be changed using interface table CT_CUVALU_I.

Example

Notes

In order to change values, the primary key (GUID_LEGCULC) must be filled correctly in the transfer tables.You can use function module /SAPSLL/API_CUHD_LEGCULC_REF to retrieve the calculation data to be changedin the correct proportion - by header values, cumulated header values, and item values. You should only change the fields described above in these tables.

Further information


Parameters

CT_CUVALU_C
CT_CUVALU_H
CT_CUVALU_I
CV_CALC_STAT
IV_CUHD_CORDER
IV_CUHD_COYEAR

Exceptions

INTERFACE_ERROR
INTERNAL_ERROR
NO_AUTHORIZATION

Function Group

SLL/SAPLAPI_CUHD_LEGCULC

Vendor Master (General Section)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.


Length: 2419 Date: 20120525 Time: 052400     triton ( 155 ms )