cancel
Showing results for 
Search instead for 
Did you mean: 

DMEE Debtor Address

Former Member
0 Kudos

Hello together,

I am converting a XML payment structure for V3 in DMEE.

The Requirements of the bank for the Debtor Address has to be fulfilled. Therefore I need the:

Streetname

Post Code

Townname

Country.

But the streetname of my Debtor will not be displayed, I already tried several options (provided in the CGI_CT standard file).

Which values have to be put in the structure fields to display the streetname and number?

The structure fireld Ref08 and AUT1 / AUT2 do not show any content.

It would also be helpful to know in which table this data is stored. The debtor will be the company/MO in this case.

Accepted Solutions (0)

Answers (2)

Answers (2)

ajaycwa1981
Active Contributor
0 Kudos

Hi Karin

I had a similar requirement. So what we did is read the info from Master Data and populate it in one of the REF fields in FPAYHX Structure

We used Event 05 in OBPM4 for the purpose and wrote code in the relevant FM there. So basically in the DMEE node, we used REF01 field and the field was filled by FM (Event 05)

You can directly use User Exit in the node, instead of REF fields and fill the node using the exit

So these are the options

Ajay M

Former Member
0 Kudos

Hi Karin

Can you try structure FPAYHX

Former Member
0 Kudos

Hello Dhanumjay,

I tried using:

Source Offset:    blank

Structure:           FPAYHX

Fieldname:         REF0

KeyField:           blank


and same set up with Fieldname AUT1, AUT2 and ADRNR.

But no version has worked so far.

gabmarian
Active Contributor
0 Kudos

Take a look at FPAYH-ZSTRA.

BR,

Gábor

Former Member
0 Kudos

Hello Gabor,

I tried it but as expected the wrong address is shown.

all Z.. fields will pull Creditor Information (CT) instead of the Debtor information.

Best regards

Karin

gabmarian
Active Contributor
0 Kudos

Ohh, you are right, sorry.

I'm not sure this info is available via the FPAY* structures, so I'd recommend to fetch the info thru a user exit:

FUNCTION z_dmee_company_adress_fetch.
*"----------------------------------------------------------------------
*"*"Local Interface:
*"  IMPORTING
*"     VALUE(I_TREE_TYPE) TYPE  DMEE_TREETYPE_ABA
*"     VALUE(I_TREE_ID) TYPE  DMEE_TREEID_ABA
*"     VALUE(I_ITEM)
*"     VALUE(I_PARAM)
*"     VALUE(I_UPARAM)
*"  EXPORTING
*"     REFERENCE(O_VALUE)
*"     REFERENCE(C_VALUE)
*"     REFERENCE(N_VALUE)
*"     REFERENCE(P_VALUE)
*"  TABLES
*"      I_TAB
*"----------------------------------------------------------------------

   DATA dmee_if_item  TYPE dmee_paym_if_type.
   DATA address       TYPE bapi0002_3.

   dmee_if_item = i_item.

   CALL FUNCTION 'BAPI_COMPANYCODE_GETDETAIL'
     EXPORTING
       companycodeid       = dmee_if_item-fpayh-zbukr
     IMPORTING
       companycode_address = address.

   CONCATENATE address-street
               address-house_no
          INTO c_value
          SEPARATED BY ' '.

ENDFUNCTION.

BR,

Gábor