on 09-26-2008 9:20 AM
Hi Experts,
Can any body help me in this problem. I want to change the task description dynamically. In my present description it is "you may need to log off the SAP system and log back in". But now i want it as ' You have to log off ' or ' You don't have to log of ' depending on the system setting.
So can anybody help me in this regard.
you can use expression with format &..& to put the element of the task container in the descrpition part. There is one point i want to emphaize: it is impossible to put multiple line content of the variable at runtime. If the content of variable is too long, the content will be truncted. So, value of experession should be as short as posible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naidu,
Did you got answer for your question?
Regards
SM Nizamudeen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naidu,
Can you follow this process:
Goto T-Code PFTC_CHG and give the task number For Ex: 974XXXXX.
Goto Task Description Tab :
Change the description into change mode or double click on that description page. Now, you will go to editor page.
In that type your description. Press EXPRESSION button on top row. Double click the element you want to check. it will appear in the description like &EMP_NAME&.
Ok. Now write your condition in that editor.
in the first column of that editor go for F4 help and select command line to write your condition. For Ex:
/: If &Emp_Name& eq 'X'.
The employee name is X.
/: else.
The employee name is Y.
/:endif
I'm not sure about the symbol ( /: ) but select command line option.
I think it will solve your problem.
Regards
Nizamudeen SM
Edited by: Nizamudeen SM on Nov 3, 2008 5:07 AM
It is simple coding in the Task desciption. You can add IF statement there accordingly description will change.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thnk you for your prompt response. Sorry i was not available at office so that i couldnt reply you.
I have a doubt regarding this can we write ABAP code in text editor?
And one more thing is how to link this message with system settings?
Because they need depends upon the system settings it has to restart the SAP server. Can you help me in this regard please?
Thanks & Regards
G.S.Naidu
Hi,
Goto open your workflow in display mode and then goto corresponding task and then goto task description.
Then change mode from disp. to chng.
you can insert your description from container element.
goto change editor.
from extras -->insert expression you can insert container element.
Hope magic works!
Regards,
Purvesh.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.