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

Outbound idoc creation

Former Member
0 Likes
557

An outbound idoc of type ORDERS is created and one of the segements has profitcenter in it. Can anybody help me find how the profit center is getting populated in the segment ?

1 ACCEPTED SOLUTION
Read only

manubhutani
Active Contributor
0 Likes
526

Hi,

Check for the FM 'master_idoc_distribute' in the program which is being executed to create an idoc of type ORDERS. Just before this FM you can see how profit center is getting populated.

Or if message control is being used to create idoc, then check the configuration in we20(partner profile), double click the message type and go to outbound tab , there will be a FM over there which will be creating idocs, check that code or put a debug point.

Regards,

Manu

An outbound idoc of type ORDERS is created and one of the segements has profitcenter in it. Can anybody help me find how the profit center is getting populated in the segment ?

2 REPLIES 2
Read only

manubhutani
Active Contributor
0 Likes
527

Hi,

Check for the FM 'master_idoc_distribute' in the program which is being executed to create an idoc of type ORDERS. Just before this FM you can see how profit center is getting populated.

Or if message control is being used to create idoc, then check the configuration in we20(partner profile), double click the message type and go to outbound tab , there will be a FM over there which will be creating idocs, check that code or put a debug point.

Regards,

Manu

Read only

madhu_vadlamani
Active Contributor
0 Likes
526

Hi,

Just debug the fm and see.

Regards,

Madhu.