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

Reading Idoc segments and calling BAPI.

Former Member
0 Likes
829

This is my scenario and need help from all experts here.

I have an Inbound Idoc to ECC sent by SAP XI.

I need to read the Idoc segments of the Idoc and call a BAPI(name already available) to create the Physical inventory document.

Once the field is generated ,it is then passed to the segment of the idoc.

Request if you could share some logic or any link that would help me come up with this.

Regards,

Sai

This is my scenario and need help from all experts here.

I have an Inbound Idoc to ECC sent by SAP XI.

I need to read the Idoc segments of the Idoc and call a BAPI(name already available) to create the Physical inventory document.

Once the field is generated ,it is then passed to the segment of the idoc.

Request if you could share some logic or any link that would help me come up with this.

Regards,

Sai

3 REPLIES 3
Read only

Former Member
0 Likes
661

Hi Sai,

There is a user-exit to modify the idoc when it is received in R/3, before of being processed.

EXIT_SAPLBD11_001

Hope this helps.

Regards,

Ivan.

Read only

Former Member
0 Likes
661

What is the IDOc type/Message type?

--

Reddy

Read only

Former Member
0 Likes
661

Hi

U have to use a Exit (Find out exit for inbound of ur message type ) to read the segments from the inbound idoc and

populate ur values in R/3side.

After that u canm call the required BAPI.

Rajendra