Application Development 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: 

IDOC executing

Former Member
0 Kudos
107

I have an Include program which is called from a FM - EXIT_SAPLEINM_002.

Please tell me how to execute this and what is the purpose of this IDOC.

Madhu..

3 REPLIES 3

Former Member
0 Kudos
72

Any Suggestions or do you guys want more clarifications.

Madhu..

former_member187255
Active Contributor
0 Kudos
72

Madhu,

I think this EXIT_SAPLEINM_002 is the

Customer Enhancements for Purchasing Document (Outbound) used to create outboud purchasing documents.

Regards.

Former Member
0 Kudos
72

Hi madhu,

You have to activate the EXIT and call in the appropriate program.

Customer Enhancements to Data Segments: Purchasing Document (Outbound)

Documentation

FU EXIT_SAPLEINM_002

____________________________________________________

Short Text

Customer Enhancements to Data Segments: Purchasing Document (Outbound)

Functionality

This function module is a user exit within the framework of outbound IDoc processing for purchasing documents. The function module call is programmed for each extension of the internal table for the intermediate document (i.e. when a further segment is added). That is to say, when the call is activated, all relevant application data (e.g. document header, document item, schedule lines) and the previously generated IDoc are made available in this function module.

Within this function module, users can themselves store code that extends the internal table for the IDoc with their own data or changes already existing data.

Parameters

XEKKO

XLFA1

XLFB1

DOBJECT

ISC_ENHANCEMENT

INT_EDIDD

XEKPO

XEKET

DEKEK_X

DEKEH

DSADR

DVBAK

DVBAP

DVBKD

Exceptions

ERROR_MESSAGE_RECEIVED

DATA_NOT_RELEVANT_FOR_SENDING

Function Group

XM06