07-26-2010 8:48 AM
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
07-26-2010 8:58 AM
Hi,
Which proces code/Message Type are you using ? is it Standard ?
Regards
Vinod
07-26-2010 8:58 AM
Hi,
Which proces code/Message Type are you using ? is it Standard ?
Regards
Vinod
07-26-2010 9:04 AM
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
07-26-2010 9:09 AM
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
07-26-2010 9:11 AM
Hi,
In which process you are changing the data ? is it Outbound or Inbound ?
Regards
Vinod
07-26-2010 9:14 AM
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.
07-26-2010 9:19 AM
07-26-2010 9:19 AM
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
07-26-2010 9:27 AM
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
07-26-2010 9:47 AM
Hi,
Does your outbound IDOC shows the changed values in WE02?
Regards
Vinod
07-26-2010 9:51 AM
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.
07-26-2010 10:01 AM
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
07-26-2010 10:19 AM
Hi Vinod,
After i add the line reactivate, my invoice party still EUR0004 in mir5.
Thanks in advance
07-26-2010 10:26 AM
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
07-26-2010 10:37 AM
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?
07-26-2010 10:45 AM
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
07-27-2010 2:48 AM
Dear Mr. Vinod,
Your advice is valuable to me. I found the solution many thanks 10 mark for you.
Thanks