
data: lv_gst_rele type char1,
lo_gst_service_purchasing type ref to j_1icl_gst_service_purchasing,
lo_copypo type ref to if_ex_me_cin_mm06efko,
ls_ekpo type ekpo,
ls_ekko type ekko.
call function 'J_1BSA_COMPONENT_ACTIVE'
exporting
bukrs = IS_EKKO-bukrs
component = 'IN'
exceptions
component_not_active = 1
others = 2.
if sy-subrc = 0.
call method cl_exithandler=>get_instance
exporting
exit_name = 'ME_CIN_MM06EFKO'
null_instance_accepted = 'X'
changing
instance = lo_copypo.
if not lo_copypo is initial.
move-corresponding: is_ekpo to ls_ekpo,
is_ekpo to ls_ekpo.
call method lo_copypo->me_cin_copy_po_data
exporting
flt_val = conv #( iv_ctry )
y_ekpo = ls_ekpo.
endif.
* GST India ---------------------------------------------------------------*
call function 'J_1IG_DATE_CHECK'
importing
ex_gst_rele = lv_gst_rele.
if lv_gst_rele eq abap_true.
call function 'J_1IG_PASS_EKKO_EKPO'
exporting
im_ekko = ls_ekko
im_ekpo = ls_ekpo.
lo_gst_service_purchasing = j_1icl_gst_service_purchasing=>get_instance( ).
lo_gst_service_purchasing->extend_mm06efko_kond_taxes( ls_ekpo ).
endif.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
5 | |
3 | |
3 | |
3 | |
3 | |
2 | |
2 | |
2 | |
2 |