‎2007 Dec 19 4:20 PM
Hi,
We want to write our own code for deriving the tax code while creating PO using BAPI_CREATE_PO1. Need help in identifying the user exit where we can write this code.
Thanks in advance.
Mick
‎2007 Dec 19 5:08 PM
I am not sure if its useful... but check
Transaction: CMOD
Enhancement: FYTX0002
Exit Function: EXIT_SAPLFYTX_USER_001
‎2007 Dec 19 5:08 PM
I am not sure if its useful... but check
Transaction: CMOD
Enhancement: FYTX0002
Exit Function: EXIT_SAPLFYTX_USER_001
‎2007 Dec 19 5:27 PM
Thanks JackandJay.
But we want to derive the tax code based on company code, purchase organization, vendor, material, based on entries in custom table. So which user exit should I use, as the user exit should have header date (EKKO) and item (EKPO) data.
Regards,
Mick
‎2007 Dec 19 5:33 PM
I called a badi which does
method if_ex_extension_us_taxes~mm_data_for_tax_system.
export i_drseg from ti_drseg to memory id 'TAB_DRSEG'.
export i_bseg from ti_bseg to memory id 'TAB_BSEG'.
export i_bseg_mat from ti_bseg_mat to memory id 'TAB_BSEG_MAT'.
endmethod.
I guess i_drseg or i_bseg should have PO related data..