Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3280

Dmee Vendor Email ID

$
0
0

Dear Expert,


I am trying to get the vendor email and create FM ZDMEE_EXIT_TEMPLATE_ABA. When i want to activate this FM in DMEE exit module, it pop out this error msg. What's the meaning of this msg??why i cannot activate??

"Format tree Z_IDES inconsistent (see log); tree saved in maintenance version

Message no. DMEE_ABA203"

 

I  haved mapped FPAYH-INTAD Internet address an expected to get the value

But it is blank?


Can anyone help me to check my code. Am i did wrong?Pls help.


FUNCTION ZDMEE_EXIT_TEMPLATE_ABA.

*"----------------------------------------------------------------------

*"*"Local Interface:

*"  IMPORTING

*"     VALUE(I_TREE_TYPE) TYPE  DMEE_TREETYPE

*"     VALUE(I_TREE_ID) TYPE  DMEE_TREEID

*"     VALUE(I_ITEM) TYPE  DMEE_PAYM_IF_TYPE

*"     VALUE(I_EXTENSION) TYPE  DMEE_NODE_ABA

*"  EXPORTING

*"     REFERENCE(O_VALUE) TYPE  INTAD

*"     REFERENCE(C_VALUE) TYPE  INTAD

*"----------------------------------------------------------------------

 

* Template function module --------------------------------------------*

 

 

DATA: l_adrnr TYPE adrnr,

      l_emailid TYPE intad,

      l_lifnr TYPE lifnr.

 

TABLES: LFA1, ADR6.

 

CASE i_extension-node_id.

 

  WHEN 'N_9535635450'.           "   Vendor Email ID

  CLEAR: l_lifnr,l_adrnr,l_emailid.

  l_lifnr = i_item-fpayp-gpa2r.

 

  SELECT SINGLE adrnr FROM lfa1 INTO l_adrnr  WHERE lifnr = l_lifnr .

 

IF sy-subrc IS INITIAL.

 

  SELECT SINGLE smtp_addr FROM adr6 INTO l_emailid WHERE ADDRNUMBER = l_adrnr.

 

ENDIF.

 

  i_item-fpayh-INTAD = l_emailid.

  o_value = i_item-fpayh-INTAD.

  c_value = i_item-fpayh-INTAD.

 

WHEN OTHERS.

 

ENDCASE.

 

ENDFUNCTION.


Viewing all articles
Browse latest Browse all 3280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>