Application Development 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: 

SAP IDOC Invoicing Party

sitiaishah_abdulfatah
Participant
0 Kudos

Dear All,

I want to change my invoicing party from Eur0004 to Eur0002. I have go to user exit program and change the vendor code inside the program (means minor change). I reaactivate it back as well. When i create the IDOC all phase until last phase when it is auto Invoice Receipt it is still go to vendor Eur0004. Is it i miss anything place that need to reconfigure? thanks in advance

1 ACCEPTED SOLUTION

Former Member

Hi,

Which proces code/Message Type are you using ? is it Standard ?

Regards

Vinod

16 REPLIES 16

Former Member

Hi,

Which proces code/Message Type are you using ? is it Standard ?

Regards

Vinod

0 Kudos

If i not mistake r u mean model view? i'm using as below:

Partner PRDCLRE500 RECEIVER LOGICAL SYSTEM with outbound INVOIC ORDCHG ORDERS SYNCH

Parnter PRDCLSE500 SENDER LOGICAL SYSTEM with inbound INVOIC ORDCHG ORDERS

I think standard.

Thanks

0 Kudos

Dear Vinod,

For your information i only change to this exit program to EUR0004 to EUR0002. but it is still not change in my idoc when test data.

&----


*& Include ZXEDFU02

&----


DATA : L_E1EDK14 TYPE E1EDK14.

DATA : L_E1EDKA1 TYPE E1EDKA1.

LOOP AT INT_EDIDD.

CASE INT_EDIDD-SEGNAM.

WHEN 'E1EDKA1'.

MOVE INT_EDIDD-SDATA TO L_E1EDKA1.

IF L_E1EDKA1-PARVW = 'AG' OR L_E1EDKA1-PARVW = 'WE'.

CLEAR L_E1EDKA1-LIFNR.

L_E1EDKA1-LIFNR = 'EUR0004'.

MOVE L_E1EDKA1 TO INT_EDIDD-SDATA.

MODIFY INT_EDIDD.

ENDIF.

ENDCASE.

ENDLOO

0 Kudos

Hi,

In which process you are changing the data ? is it Outbound or Inbound ?

Regards

Vinod

0 Kudos

Thanks vinod,

I believe it is inbound as the idoc final creation of the invoice receipt is in inbound which is pass from vfx3 release to accounting.

0 Kudos

Sorry when check it is coming from outbox

0 Kudos

Hi,

Check the process code you are using. Go to WE20, Select the partner -> Select the Inbound Message type -> Go to details, there you will get the process code which is used for inbound processing.

Regards

Vinod

0 Kudos

Thanks again mr vinod,

process code use in outbound is SD08 and not see in inbound. So from this process code program is it i need to change EUR0004 to EUR0002. thanks

0 Kudos

Hi,

Does your outbound IDOC shows the changed values in WE02?

Regards

Vinod

0 Kudos

yes when see at IDOC display and seen the deep. my outbound in invoic is set data for EUR0004 not EUR0002. but inside the include program i have change to EUR0002. I no idea to discover in which area so that it is completely use EUR0002.

0 Kudos

Hi,

my outbound in invoic is set data for EUR0004 not EUR0002. 
but inside the include program i have change to EUR0002

While going through the code you have posted , you are changing the value to 'EUR0004'. I think you whould

change the code to

IF L_E1EDKA1-PARVW = 'AG' OR L_E1EDKA1-PARVW = 'WE'.
CLEAR L_E1EDKA1-LIFNR.
L_E1EDKA1-LIFNR = 'EUR0002'.    "Changed"
L_E1EDKA1-PARTN = 'EUR0002'.    "Added"
MOVE L_E1EDKA1 TO INT_EDIDD-SDATA.
MODIFY INT_EDIDD.
ENDIF.

Regards

Vinod

0 Kudos

Hi Vinod,

After i add the line reactivate, my invoice party still EUR0004 in mir5.

Thanks in advance

0 Kudos

Hi,

Does the changed data appearing in Outbound IDOC & Inbound IDOC ? If yes, then check the values of Other partner functions, may the data for MIR5 invoicing party is picking up from some other partner functions in the inbound IDOC.

Regards

Vinod

0 Kudos

I saw inside Data record only E1EDKA1 AG is partn and LIFNR are EUR0002 but othes like E1EDKA1 RS, E1EDKA1 RE, E1EDKA1 RG are shown as EUR0004. Maybe this is it?

0 Kudos

Hi,

May be. Ask your functional consultant, which partner function of Invoice is considered as the Invoicing party in Incoming Invoice (MIR5). Not sure, but there may be some configuration for this mapping.

Regards

Vinod

0 Kudos

Dear Mr. Vinod,

Your advice is valuable to me. I found the solution many thanks 10 mark for you.

Thanks