cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

With the assumption that you have the IDoc, please go to WE02 or WE05 transaction to view the contents of the IDoc.

Note down the values corresponding to the following attributes

1. Message Type

2. Basic Type

3. Partner number

You can use WE20 transaction to find out what outbound process code your IDoc is associated with.

Then use transaction WE41 and find out the function module (FM) associated with the outbound process code.

Once you identify the FM then you can do a search on 'Purchase Order' attribute to determine the logic behind it.