‎2007 Aug 24 1:09 PM
Hi!
I would like to insert long text into a PM order, in the creation phase. As you might know, during creation, there is not existing document number, only a temporary one (like %000000001).
How can I use the SAVE_TEXT in this way?
Every working solution will be awarded!
Thank you
Tamá
‎2007 Aug 24 1:15 PM
well all you need here is a field that can identify your PM order later, so you know ther text is belonging to that order.
normally we use things like vbeln, ebeln, matnr and such when saving header data.
when saving position data, we mostly use vbeln + posnr, ebeln + ebelp, ...
you can use any unique field of your pm order as a TDNAME.
and yeah dont forget to call the FM COMMIT_TEXT after using SAVE_TEXT.
‎2007 Aug 24 1:15 PM
well all you need here is a field that can identify your PM order later, so you know ther text is belonging to that order.
normally we use things like vbeln, ebeln, matnr and such when saving header data.
when saving position data, we mostly use vbeln + posnr, ebeln + ebelp, ...
you can use any unique field of your pm order as a TDNAME.
and yeah dont forget to call the FM COMMIT_TEXT after using SAVE_TEXT.
‎2007 Aug 24 1:15 PM
‎2007 Aug 24 1:21 PM
Hi,
If you want to add a long text in SAP standard transactions, you need to find out an userexit after save, In this userexit system provide you the document number. Using SAVE_TEXT you can save the long text into the PM order
a®