Hello. Is there a way to create and/or add to object long text in a routing using an object dependency? For example, I can manipulate the operation description by $SELF.REF_WORK_CENTER_DESC a value, or manipulate the labor for the operation by assigning a formula to $SELF.RUN_TIME_LABOR. But I don't know how to assign values to the long text.
Request clarification before answering.
Hi,
1. Create a New Reference Char(CT04), with any name . example : "REF_OPERATION_SHORT_TEXT" , don't enter but Click on the Addnl Data Tab.

2. Click Yes and Proceed...

3.Specify Values for Table name : PLPO and Field Name : LTXA1 and press enter

4. Parameters will be automatically copied from Abap Data Dictionary. click continue to Proceed.

4. Basic Data and other Parameters filled automatically, if you prefer you can remove Case Sensitive..else you can just save it.

5. Then Create a Procedure...

6. use the ref char to define your desired rules to set the operation short text and assign it to the Routing operation as you prefer.

Hope this Helps 🙂
Best Regards
Giri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Giri! This seems to work. I do have a follow up question:
The example you give is for operation short text. I am actually wanting to manipulate operation long text which (I think) is LTXA2 in PLPO. Is there a way to add carriage return / line feed into an alphanumeric expression? Below, I tried doing like a regex using /n and got the following error. Do you know of syntax that could do this?

Hi Michael, This is not possible using in Standard SAP VC because here you try to manipulate the Text as a char using reference function, so you can do it only for the given length that is a max 30 that is equivalent to the length of your reference characteristics. But Adding a New Line will exceed this Limit so using STD VC it is not possible to achieve this.
Best Regards
Giri
| User | Count |
|---|---|
| 14 | |
| 12 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.