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

Retrieving Old Long Text

Former Member
0 Likes
1,133

Hi,

Please consider the following scenario:

I am entering long text for a text field and save it.

If I exit/cancel the screen,changes done to Long Text will be lost.

Upon saving it will save the Long Text.

Now upon saving , based on some condition i want changes done to Long Text should be lost.

Please let me know whether it is feasible, if yes how to achieve this. Any suggestions/advice will be highly appreciated.

Regards,

Akash Modi

Hi,

Please consider the following scenario:

I am entering long text for a text field and save it.

If I exit/cancel the screen,changes done to Long Text will be lost.

Upon saving it will save the Long Text.

Now upon saving , based on some condition i want changes done to Long Text should be lost.

Please let me know whether it is feasible, if yes how to achieve this. Any suggestions/advice will be highly appreciated.

Regards,

Akash Modi

8 REPLIES 8
Read only

Former Member
0 Likes
1,072

I'm not sure I understand. Do you want the changes to be backed out after they've been saved? Or do you not want them to be saved under certain circumstances after the save button is pressed?

Rob

Read only

Former Member
0 Likes
1,072

Is this in a custom or core program?

Read only

Former Member
0 Likes
1,072

Hi Akash,

Please give the following details.

Where or which transaction(standard or custom) are you entering these long texts?

Are these conditions part of the transaction data?

Srinivas

Read only

0 Likes
1,072

Hi all,

I am entering Long texts for operations in standard SAP Transaction IW32.(Work Order Change)

On click of SAVE, user exit will be called, where we will check certain conditions for each operation.If condition doesn't satisfy, i have to rollback the changes done to Long Text for that operation, keeping the other changes done to Order intact.

Please let me know if any more clarification is required.

Akash

Read only

0 Likes
1,072

I think you have to read the existing texts when you enter the program (a different exit). When the save button is pressed, you should be able to replace the changed text with the original text, based on your conditions, in your exit.

Rob

Read only

0 Likes
1,072

EXIT_SAPLCOIH_009 is the user exit.

I need some way to read the changed Long Text, and replace it with original one. I guess, changed Long Text are stored in Buffer/Memory before committed to Database on SAVE.Operations are listed in Table Control, so multiple Long Texts, stored in Buffer/Memory.

Read only

0 Likes
1,072

Why do you need to read the changed text? You just save it or replace and save it.

Rob

Read only

Former Member
0 Likes
1,072

which user exit?