cancel
Showing results for 
Search instead for 
Did you mean: 

bapi

Former Member
0 Kudos

Hi All,

I m trying to execute BAPI -- FTR_FX_INT_RATE_REQUEST but i m facing some error while executing it error is coming----- customizing mirror mapping incomplete. Transaction is not mirrored.

can anyone explain me y this error is coming.. & how to solve this error...

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

it comes from following code:

* 5th step: get "ref text"
  "/is there a function module for VTBMDMAP?
  "/--> VTBMDMAP     (read with orig. company_code)
  select        * from  vtbmdmap into l_mirrormap
         where  bukrs      = l_tmp_head-company_code
         and    sgsart     = l_tmp_head-product_type
         and    sfhaart    = l_tmp_head-transaction_type
*         AND    metatext   = ___
         and    direction  = g_con_mirror_out
         and    function   = g_con_mirrortype_fxint.
    exit.
  endselect.

  if sy-subrc <> 0.
    c_rc = 4.
    message e010(ftr_mir) into l_dummy.
    call method lcl_proxy_msg_ctrl=>message_2_bapi_return
      changing
        pc_tab_bapiret2 = c_tab_return.
  else.

*   6th step: select prod./trans type mapping:
    "/is there a function module for VTBMDMAP?
    "/--> VTBMDMAP     (read with mirrored company code)
    select        * from  vtbmdmap into l_mirrormap2
           where  bukrs      = c_head-company_code
*         AND    sgsart     = l_tmp_head-product_type
*         AND    sfhaart    = l_tmp_head-transaction_type
           and    metatext   = l_mirrormap-metatext
           and    direction  = g_con_mirror_in
           and    function   = g_con_mirrortype_fxint.
      exit.
    endselect.

    if sy-subrc = 0.
      c_head-product_type     = l_mirrormap2-sgsart.
      c_head-transaction_type = l_mirrormap2-sfhaart.
    else.
      c_rc = 4.
      message e010(ftr_mir) into l_dummy.
      call method lcl_proxy_msg_ctrl=>message_2_bapi_return
        changing
          pc_tab_bapiret2 = c_tab_return.
    endif.

If you insert values in table vtbmdmap the error is solved.

Regards

Bernd