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: 

Long Text for purchase order is not tracked in the IDoc generation

jwalithtatikonda2
Participant
0 Kudos

Hi,

When I am trying to change only the long text of an item and generate the IDoc through ME22N, it is giving an error that "No items have been changed". But when I change any item data along than long text, the IDoc is generated for this item with long text.

Now, is it possible to generate IDoc only if long text of a particular item has been changed?

4 REPLIES 4

former_member188685
Active Contributor
0 Kudos

this case you have to enhance the function IDOC_OUTPUT_ORDERS, check this exit EXIT_SAPLEINM_001

0 Kudos

Hi Vijay,

Thank you for your quick response.

How can I check whether long text has been changed or not for particular item, in the user exit?

0 Kudos

this i am not sure, but i just mentioned the exit, incase if the header and item information not filled from the change documents(since you didn't edit them) , you can manually fill them along with texts. in this case idoc will trigger with the data. but this is not the changes , it is complete po.

0 Kudos

You have different issue here as IDOC is not even getting triggered. That exit will be called within IDOC processing.

FOr your issue, you need to check the PO processing , and see if you could trigger a change somehow with the chaneg just in Long Texts, else youy need to have a dummy field for change docuement, and th eusers can update it manually or you can code to update that in a user exit to simulate change