10-22-2008 7:47 PM
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?
10-22-2008 8:18 PM
this case you have to enhance the function IDOC_OUTPUT_ORDERS, check this exit EXIT_SAPLEINM_001
10-22-2008 9:14 PM
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?
10-22-2008 9:40 PM
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.
10-22-2008 11:24 PM
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