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

IDOC

Former Member
0 Likes
1,318

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,158

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.

8 REPLIES 8
Read only

Former Member
0 Likes
1,158

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

Read only

0 Likes
1,158

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

Read only

Former Member
0 Likes
1,158

>

> Expects quick reply

You presume a lot.

Read only

Former Member
0 Likes
1,159

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.

Read only

0 Likes
1,158

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

Read only

0 Likes
1,158

Click on that process code

you can see the used FM.

Rhea.

Read only

Former Member
0 Likes
1,158

Hi,

The function module is IDOC_OUTPUT_INVOIC if the message type is INVOIC.

regards,

Advait

Read only

Former Member
0 Likes
1,158

there was a user exit where we had a bug for which we changed the code