09-30-2008 10:47 AM
Hi,
There is a service agreement.Billing document is generated for that service agreement.The issue is that the billing document is having one PO number. Then the billing document is converted into an IDOC, and sent to the customer.
the IDOC that gets generated for Billing document is having a different PO number.
Can you please tell me why and how it gets changed.
How can I find from where the data in IDOC is filled and how can we find the function module relating to that IDOC.
Thanks in advance
Expects quick reply
09-30-2008 10:53 AM
Hi,
We19 is for testing idoc tcode where u can debug the idoc.
we41 is the outbound idoc process code where u can see the FM.
Which idoc are you using?
Rhea.
09-30-2008 10:50 AM
Hi,
In the outbound function module of the IDoc, put a break point where the data for the Purchase order is fetched and populated to the IDoc field. You will get your answer.
regards,
Advait
09-30-2008 10:59 AM
Hi advait,
How can I find the function module relating to that IDOC.
and will the data in IDOC gets populated form function module only?
Actually the below settings I have observed for that IDOC
Segment type = EIEDP02 -> EIEDP02001. Here in field BELNR PO number is stored.
MESSAGE TYPE = INVOIC
IDOC TYPE = INVOIC02
09-30-2008 10:51 AM
09-30-2008 10:53 AM
Hi,
We19 is for testing idoc tcode where u can debug the idoc.
we41 is the outbound idoc process code where u can see the FM.
Which idoc are you using?
Rhea.
09-30-2008 11:06 AM
Hi Rhea,
MESSAGE TYPE = INVOIC
IDOC TYPE: Basic = INVOIC02, Extended =ZSDINV01
In WE41, Iam able to see the process code and description.
How can I find the exact function module related to my IDOC
09-30-2008 11:09 AM
09-30-2008 11:01 AM
Hi,
The function module is IDOC_OUTPUT_INVOIC if the message type is INVOIC.
regards,
Advait
10-07-2010 2:04 PM
there was a user exit where we had a bug for which we changed the code