cancel
Showing results for 
Search instead for 
Did you mean: 

EDI: Partner profile not available: Intra-Company Billing

Former Member
0 Kudos

Hi Experts,

Kindly guide me on the following.

I have set up one intra-company billing scenario. Billing and MIRO posting is taking place under same company code. But there are two different plants. Plant EC20 is sending the Invoice ( Billing) which needs to be posted for plant EC10. I want to do it via INVOIC idoc. But I am facing following error when the Output type RD04 is triggered.

EDI: Partner profile not available

Message no. E0332

Diagnosis

A partner profile could not be found with the following key:

/0000000000/LI/

This involves the key fields of the table EDPP1:

-PARNUM partner number

-PARTYP partner type

Procedure

Please check the EDI partner profiles.

Execute function

My set up is as follows:

I created Partner Profile ( WE20) with Partner Function KU.

Created outbound parameter there with

Partner Role = BP

Added message type = INVOIC

Added message code = MM

Assigned with a RFC port ( this RFC port is connected to my logical system via WE21)

Selected basic type = INVOIC02

on message control, chose application type = V3

Output type = RD04

Process Code = SD09.

Create Inbound parameter with

Partner role = LI

Message type = INVOIC

Message code = MM

Process Code = INVL

Maintained OBCA, OBCD and OBCE for partner function LI.

I dont know what I am missing.

I have tried all aforesaid Inbound parameter with Partner Function LS as well. But no luck.

Please help. Please guide me what else I should do.

Thanks in advance

Amit

Accepted Solutions (1)

Accepted Solutions (1)

ivano_raimondi
Active Contributor
0 Kudos

Hello Amit,

please pay particular attention on the customizing in transaction WEL1 explained in point 9 of note 31126.

The logical address should be filled according to certain rules:

a) 4 digit delivering company code:

    examples: company code 0001 -> logical address 0001nnnnnnnnnn

              company code CA   -> logical address CA  nnnnnnnnnn

b) 10 digit customer number:

   if you customer number is alpha numerical you need to remove leading

   zeros.

   Examples : customer number ABC123, company code 0001

              -> logical address should be 0001ABC123

              customer number 0000008163, company code 0001

              -> logical address should be 00010000008163

Best regards,

Ivano.

Former Member
0 Kudos

Hi Ivano,

Thank you for all your help.

However, since I mentioned in the subject line of my problem that this is related to Intra-Company billing and not 'Inter Company' billing therefore, to my understanding, WEL1 is not the suitable transaction, to be applied here.

The problem is resolved when I did following:-

1. With the transaction WE41 I found process code SD09 is assigned with Function Module IDOC_OUTPUT_INVOIC with no message code ( like MM or FI). Therefore, from my Outbound parameter ( which is set for partner function KU) I removed message code and kept it blank.

2. I removed inbound parameter from partner function LI created it back with partner fuction LS. Again with no message code.

3. Maintained OBCA, OBCD and OBCE accordingly.

Result, everything worked fine.

Have a nice day

Amit

umair23
Explorer
0 Kudos

Hi Ivano,
Thanks for the valuable input. I was stuck with alpha numeric customer number and was treating it with leading zeros!!

Answers (1)

Answers (1)

rajiv_trivedi
Participant
0 Kudos

This message was moderated.