How to use BAPI Extension In service master to update tax tariff code?

iam using BAPI_SERVICE_CREATE to create a service master records.. now i want to update the TAX TARIFF CODE in service master records... iam having TAX TARIFF CODE field in AC03 as well as in ASMD table...but i could not find it in BAPI_SERVICE_CREATE.. so i have to use BAPI extension... iam not aware of Bapi extension ... Anybody give me the proper steps to use the bapi extension to update the tax tariff code in service master ..

First ask functionals, as this field should come from Customizing and other master data.

From this BAPI documentation (BAdI are listed the end of the FM doc.) you should have found that you could either

Use one of the following structures in the extensionin/out parameters: BAPISRV_TE_ASMD' or 'CI_ASMDDB', 'BAPISRV_TE_ASMDX' or 'CI_ASMDDBX'. The values of the fields of those structure will be moved to service data with a move-corresponding statements.

(DIMP_GENERAL required) Use somer specific structure you create, and then implement the BAdI MMSRV_SM_BAPI_CUST method INBOUND to move the data.

To fill the EXTENSIONIN structure, pass the structure name to STRUCTURE field and map the data to the VALUEPART fields using a class like the generic cl_abap_container_utilities or the more specific cl_nls_struc_container class. (perform some where-used search for samples)

Thanks for your valuable comment.... i cannot add the TAXTARRIFCODE in the structure BAPISRV_TE_ASMD and

BAPISRV_TE_ASMDx .... it says ERROE-the ASMD table you cannot specific TAXTARRIFCODE Twice..... but i have added custom field ZTARRIF in BAPISRV_TE_ASMD and BAPISRV_TE_ASMDx and i have pass the value via BAPI and its get updated... now i want to pass the TAXTARRIFCODE via BAPI which is already exist in ASMD and does not exist in BAPISRV_TE_ASMD and BAPISRV_TE_ASMDx ... kindly provide any suggestions... thanks in advance..

Still facing the problem,cannot find the exact solution , if you find the solution please post here thanks.

if you are using inside the sap system, you can use ASMD_UPDATE_SINGLE FM which is having TAXTARIFFCODE and we can update, iam using .net system to update taxtariffcode in sap system so the update FM is not accepted.

Still facing the problem,cannot find the exact solution , if you find the solution please post here thanks.

if you are using inside the sap system, you can use ASMD_UPDATE_SINGLE FM which is having TAXTARIFFCODE and we can update, iam using .net system to update taxtariffcode in sap system so the update FM is not accepted.