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

Regarding IDOC control data

Former Member
0 Likes
592

Hi All,

Please let me there is any function module available for getting control record information if I pass message type to the function module.

Regards

Mahesh

4 REPLIES 4
Read only

Former Member
0 Likes
561

Hi Mahesh,

There is no such function module available in SAP to get you the control record when you give the Message Type as input.

The simple reason is that you might be using the same message type for both inbound and outbound and for many business partners, so you cann't get the control record details that way.

If you wanted to know the basic type associated with that message type then you can use WE82 transaction for getting the corresponding basic type for that message type.

Thanks,

Mahesh.

Read only

Former Member
0 Likes
561

Hi Uma,

You can use the FM 'IDOC_READ_COMPLETELY'

to get the control record.

Here You have to pass the idoc number as import parameter.

Thanks.

Read only

Former Member
0 Likes
561

Hi,

To know the compete information abt control record use t/r WE61.

Read only

Former Member
0 Likes
561

Hello Uma,

FM 'IDOC_READ_COMPLETELY' will get you the Data and status data value. To get the control data use the FM 'IDOC_CONDAT_IMPORT'

Reward if helpful.

Regards,

Naresh.