I'm copying text from long text of a notification to a text box on another screen. I want all the text except the first line which has date and person entering text. I want to replace this line with my own standard text.
I can get the text copied and added below my standard text.
By going into the change editor I can delete all lines but the first one in which SAP won't let that one be deleted for whatever reason.
Anyways,
I don't want that first line in my textbox and I can't figure out how to get rid of it.
Anyone have any insight on how I can do this???
Thanks
Kirk
HERE'S A BIT OF WHAT SCRIPTING I HAVE SO FAR.
------------ --------- --------- --------- --------- --------- -
// Create Service Notification: Line Locate
Screen SAPLIQS0.7200
Set F[Date] "&V[today_m/ d/y]"
Set F[VIQMEL-MZEIT] "&V[today_h: m:s]"
//////////// ///////// ///////// ///////// ///////// ///////// ///////// //////
//TRYING TO DELETE FIRST DATE/PERSON TEXT FROM LONG TEXT
Enter "=TXQM" // Text
// Change Long text on PM notification: 000013033639 Language EN
Screen SAPLSTXX.2101
Enter "/Menu=3,4" // Change Editor
// Change Long text on PM notification: 000013033639 Language EN
Screen SAPLSTXX.1100
SetCursor F[TabCol1(3) ]
Enter "/2" // Select Text
// Select Long text on PM notification: 000013033639 Language EN
Screen SAPLSTXX.1100
Enter "/14" // Delete
// Change Long text on PM notification: 000013033639 Language EN
Screen SAPLSTXX.1100
Enter "/3" // Back
//////////// ///////// ///////// ///////// ///////// ///////// ///////// ///
// Create Service Notification: Line Locate
Screen SAPLIQS0.7200
Set V[z_Additional_ Text] "UPDATE TICKET #&V[znot_number_ ref]"
CopyText fromString=" z_Additional_ Text" toText="z_loc_ Long_Text"
CopyText fromScreen=" X[TEXT]" toText="z_loc_ Long_Text" "-appendline"
enter