Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Outbound IDOC for message type PAYEXT

Former Member
0 Likes
6,125

Hi,

I am trying to send a IDOC from my SAP system to a EDI vendor. For one particular vendor in segment E1IDKU3 field PAIRZAWE (payment terms) is mot coming, thought this data is been maintained in Vendor Master Data.

In Segment E1IDKU4 field FCAREGUL is also missing for which also there is a data maintained in Vendor Master.

Can anybody explain why this is happening.

Also, which is the FM or IDOC creation-processing program for this message type.

/Manik

5 REPLIES 5
Read only

Former Member
0 Likes
3,236

If this is happening for one vendor, then something must be wrong with that vendor setup.

Payment advices are generated using the F110 transaction code or in background. For EDI output, normally the program RFFOEDI1 will be used. To precisely give you an answer, you need to give information about which IDOC type you are using and which standard program is configured to be used for your payment output. Run F110, pick up some rundate and identification. Go to the 'Print/Data medium' tab and see which program is under the 'Form Printing/Data medium exchange' section.

Hope this helps,

Srinivas

Read only

Former Member
0 Likes
3,236

Hi Sardinians,

The program configured for the processing is RFFOEDI1, and the IDOC type is<b> PEXR2002</b>.

Regarding the segment E1IDKU3 field PAIRZAWE the problem is solved. In the instruction keys for the house bank (transaction OB47) for instruction key 03 the Medium was not selected. Once it was changed to <b>'S.W.I.F.T'</b> the field is populated and appear in the segment.

For Segment E1IDKU4 the problem is still there. any clues or suggestions on that.

/manik

Read only

0 Likes
3,236

Hi Manik,

Your function module to process the IDOC will either be FI_EDI_PAYEXT_PEXR2001_OUT or FI_EDI_REMADV_PEXR2001_OUT depending on whether you are doing a remittance advice or payment advice.

In include LIEDPF1T, subroutine FORM FILL_SEGMENT_IDKU4 USING DOC_TYPE, you will find the following code. This tells me that your E1IDKU4 problem is also related to your instruction key settings. Check this table and see what is wrong.


      IF NOT T015W IS INITIAL.
        CASE T015W-DTKVS.              "Gebührenregelung
          WHEN '00'.
            E1IDKU4-FCAREGUL = Q_FCA_GETEILT.
          WHEN '01'.
            E1IDKU4-FCAREGUL = Q_FCA_Z_PFICHTIGER.
          WHEN '02'.
            E1IDKU4-FCAREGUL = Q_FCA_Z_EMPFAENGER.
        ENDCASE.
      ENDIF.

If it helps, please reward and close the thread.

Srinivas

Message was edited by: Srinivas Adavi

By the way what is Sardinians?

Read only

former_member386063
Participant
0 Likes
3,236

Is this issue resolved? I am also facing the same issue for Segment E1IDKU4.

Read only

genoveva_crianga
Explorer
0 Likes
3,234

In SAP, element E1IDKU4 is present in IDoc if the Country of the sending bank ( bank of the payer) is different from the Country of the receiving bank ( bank of the payee).

I am not an ABAP. I tested and in my case this is when element E1IDKU4 is not present in Idoc