Display longtext in CATS
Hello Folks,
We are using CATS for service provider and there is an option in the trx CATSXT that allows user to put a long text in the structure field "LONGTEXT_ICON" for every posted hour.
My requirement now is to extract this text in a report. When I use trx CATSXT_DA and select column "Long Text" SAP displays only the button that pops up the text box. Does anyone know how I can display this text in one line in the report list or export to an excel file?
Any help will be very much appreciated.
Rgds,
Rafael
Hi Doniv,
This might help:
Re: No Text displayed in the Input help in WEB
Similar Messages
-
Create, Edit and Display Longtexts
Hi All,
I have a question about creating, editing, displaying and deleting longtexts (like sapscript longtexts).
I am creating a custom transaction (Module pool program) for BUDGET DISTRIBUTION REQUEST where in i need to give the user a provision to enter longtexts for PROJECT OBJECTIVE and JUSTIFICATION.
What i know is we can save and read the texts using SAVE_TEXT AND READ_TEXT FM's but it needs object id/object name. As we are storing all the data for this transaction in custom tables i dont know how to have this OBJECT NAME/ID.
How do you do this?
Please help me out...
Thanks in advance,
VijayHI,
use below code
REPORT ZTEST102.
DATA IT_LINES LIKE TLINE OCCURS 0 WITH HEADER LINE.
IT_LINES-TDFORMAT = '*'.
IT_LINES-TDLINE = 'text'.
APPEND IT_LINES.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID = 'ST'
FLANGUAGE = SY-LANGU
FNAME = '09999'
FOBJECT = 'TEXT'
SAVE_DIRECT = 'X'
FFORMAT = '*'
TABLES
FLINES = IT_LINES
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3.
FREE IT_LINES.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'ST'
LANGUAGE = SY-LANGU
NAME = '09999'
OBJECT = 'TEXT'
ARCHIVE_HANDLE = 0
IMPORTING
HEADER =
TABLES
LINES = IT_LINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
LOOP AT IT_LINES.
WRITE:/ IT_LINES.
ENDLOOP.
<b>text will be stored in table stxh,stxl.</b>
Regards
amole -
Display rotated from cat walking on keyboard
So...I have Windows on my MacBook, through Boot Camp. I was on Windows this morning when my cat walked across the keyboard, magically pressed a few buttons I assume and the display is sideways now.
I can't figure out how to get it back. It's not sideways in Mac. Just when I shut down and open Windows again. Are there a couple of keys that can be pressed together that can put it back?
Thanks.You might check the following link for help in this matter.
I can't make my screen rotate using Vista within Parallels. From the link, it appears that this is only an XP option.
[ROTATE|http://internetducttape.com/2006/08/01/stupid-windows-features-monitor-d isplay-turns-sideways-or-upside-down> -
Display Longtext in variable selection screen (web)
Hi Guys,
I wanted to know if there is a way of having the long text displayed in variable selection screen instead of text in a web report?
Thanks,
DonivHi Doniv,
This might help:
Re: No Text displayed in the Input help in WEB -
CATS billing thru PS | internal Order, WBS, Activity Type
Hi,
I am a HCM consultant, therefore I have zero knowledge in PS/SD.
Currently I am working on a task, where I need to create the bill on the CATS data (Time Sheet Data: HCM). I want to know how the CATS data is transferred to WBS, and how the billing of the same is done in PS the WBS element and Activity Type. I ll be transfering the time data to Internal Order (I dont know how to assign these internal orders to WBS elements) and in Activity type I ll be storing the rates of the activities/tasks. Now on the basis of these Internal type, WBS and Activity type, How can I generate a bill in PS? (We are inactivate in SD module).
A more clear explanation would be better as said, am new to PS..
regards
TahirHI Tahir,
wbs and internal order is the object where we can book time via time sheet so clear here when you are booking time in CAT2 transaction then time sheet ask it's receiver object that would be either wbs nor I/O. once you have done this activity, then need to transfer it to object area like PS CS CO HR PayRoll
such transaction path is below in CATS
CAT2
Time Sheet: Maintain Times
CAT2_ISCR
CATS: Maintain Times (Init. Screen)
CAT3
Time Sheet: Display Times
CAT3_ISCR
CATS: Display Times (Initial Screen)
CAT4
CATS: Approve Data
CAT5
Data Transfer CATS -> PS
CAT6
Transfer External -> Time Management
CAT7
CATS: Transfer Data to CO
CAT8
Time Sheet: Document Display
CAT9
Data Transfer CATS -> PM/CS
i m telling you in PS area next take help from SD guys
Regards,
Sanjeev -
Can't call or execute of different class files in a main program
Hi, I got a main program which can call 3 different classes. The main program have an implicit-choice List as a starting menu. If one of the file is selected, the files will call out and display it. However, i managed to call the 1st 2 files, and the 3rd files can't display anything after selected.
I enclosed my code as below:
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class Catalogues extends Form implements CommandListener {
private Displayable parent;
private Display display;
private List Cata;
private Boots bo;
private Higheels hHeels;
private Sandals sand;
private Slippers sp;
private Command backCommand = new Command("Back", Command.BACK, 1);
private Command viewCommand = new Command("View", Command.SCREEN, 1);
private String[] options = {"Boots", "High Heels","Sandals", "Slippers"};
public Catalogues(Display d, Displayable p) {
super("Welcome to Footwear World");
Cata = new List("Select Option", List.IMPLICIT, options, null);
display = d;
parent = p;
addCommand(backCommand);
addCommand(viewCommand);
setCommandListener(this);
public void commandAction(Command c, Displayable d) {
if(d==parent && c==List.SELECT_COMMAND){
switch(parent.getSelectedIndex()){
case 0:
if(bo==null){
bo = new Boots(display,parent);
display.setCurrent(bo);
break;
case 1:
if(hHeels==null){
hHeels = new Higheels(display,parent);
display.setCurrent(hHeels);
break;
case 2:
if(sand==null){
sand = new Sandals(display,parent);
display.setCurrent(sand);
break;
case 3:
if(sp==null){
sp = new Slippers(display,parent);
display.setCurrent(sp);
break;
default:
else if (c==backCommand) {
display.setCurrent(parent);
}If the 3rd option is selected, i'll display above mentioned layout which contain a list to select too.
After build this project on WToolkit. It shown an error message which is as below:
Project settings saved
Building "SelectCustest"
C:\WTK22\apps\SelectCustest\src\Catalogues.java:29: cannot resolve symbol
symbol : method getSelectedIndex ()
location: class javax.microedition.lcdui.Displayable
switch(parent.getSelectedIndex()){
^
1 error
com.sun.kvem.ktools.ExecutionException
Build failed
May i know what is problem am i facing now? And how to solve it.
Thanks.Thanks to all for your thoughts and replies. I liked the xargs suggestion, so I tried that first. I would have (may still) try the stdin suggestion, followed by writing the grep output to a file.
xargs does work, in a way I didn't expect it to, but that could be due to my inexperience with the workings of the shell.
here's a line from my test script
cat file | grep foo | xargs java com.company.test.TEchoArghere's the contents of 'file'
123foo
abc
qafoozv
qaz
wsx
qwefoort
zxcfooh
sdfghhere's the output from the test class, which just echos any arguments
::number of args: 4
::args[0] 123foo
::args[1] qafoozv
::args[2] qwefoort
::args[3] zxcfoohso xargs appends all the values from grep into an argument list and call the java class once.
when I took xargs out of the script, nothing was passed to the class:
::number of args: 0this was really interesting and something to keep in my back pocket for future use.
Thanks again to all.
Tom -
Error while activating expression Functional call
Hi All,
I created a functional call expression..I mainteined target function name and result object as well..The syntax check doesn't return any error messages.But when I try to activate it , I get an error message
ZCALL_FUNCTION_1 (Expression) : No active version found for time stamp 20.111.018.120.507 (Details) Display Longtext.
I activated all the subobjects..But I still I get the above mentioned error.. Could anyone please suggest me the solution..
Regards,
Raghu.Hi ,
Please implement note 1639477.
Thanks and Regards,
Rama. -
What are the tcodes related to CATSDB table
what are the tcodes related to CATSDB table
Hi,
look at this:
CAT2 Time Sheet: Maintain Times
CAT2_ISCR CATS: Maintain Times (Init. Screen)
CAT3 Time Sheet: Display Times
CAT3_ISCR CATS: Display Times (Initial Screen)
CAT4 CATS: Approve Data
CAT5 Data Transfer CATS -> PS
CAT6 Transfer External -> Time Management
CAT7 CATS: Transfer Data to CO
CAT8 Time Sheet: Document Display
CAT9 Data Transfer CATS -> PM/CS
CATA Transfer to Target Components
CATC Time Sheet: Time Leveling
CATM Selection From Time Recording
CATR Reorganize Interface Tables
CATSARCH Archiving Time Sheet Data
CATSWF CATS Workflow
CATSXC Customizing: CATS for Service Prov.
CATSXC_CHECK Check Customizing
CATSXC_COMP_DTL CATSXT: Maintain Component Details
CATSXT CATS for Service Providers
CATSXT_ADMIN CATS for Service Providers (Admin.)
CATSXT_DA Display Work Time and Tasks
CATSXT_DTL Work Times: Detail Display
CATS_APPR Approve Working Times (Poweruser)
CATS_APPR_LITE Approve Working Times
CATS_DA Display Working Times
CATS_SELVIEW Maintain Selection View HRCATS
CATW Record Working Time
Regards, Dieter -
In need of a pushbutton event handler for a cl_gui_custom_container
Greetings Experts:
Here is the situation...
I have two cl_gui_custom_containers. Container1 has a double click event reciever that when fired displays longtext using the READ_TEXT function module displaying in Container2. I am trying to add a pushbutton to Container2 to print contents of the screen (but not the Container1 ALV).
It seems I am in a bit of a stand still and am in need of some advice.
Thanks in advance.
- Dan -Here is a little example program, it is not a 100% solution, but you should be able to get the idea here. It is implemented into a docking container, so that this example is a cut/paste example. Here we are splitting the docking container into two parts, buttom is the text editor, the top is our toolbar, notice the only button there is Print, if you click this this will fire an event and will write out what you have typed into the text editor control.
report zrich_0001.
type-pools: icon.
data:
dock_sub_cont1 type ref to cl_gui_container,
dock_sub_cont2 type ref to cl_gui_container,
splitter type ref to cl_gui_splitter_container,
dockingleft type ref to cl_gui_docking_container,
text_editor type ref to cl_gui_textedit,
gui_tb type ref to cl_gui_toolbar,
repid type syrepid.
data: itext type table of tline-tdline,
xtext type tline-tdline.
* CLASS lcl_event_handler DEFINITION
class lcl_event_handler definition.
public section.
class-methods:
handle_pushbutton_click
for event function_selected
of cl_gui_toolbar importing fcode.
endclass.
* CLASS lcl_event_handler IMPLEMENTATION
class lcl_event_handler implementation.
method handle_pushbutton_click.
case fcode.
when 'PRINT'.
call method text_editor->get_text_as_r3table
importing
table = itext
exceptions
others = 1.
leave to list-processing.
loop at itext into xtext.
write:/ xtext.
endloop.
endcase.
endmethod.
endclass.
parameters: p_check.
at selection-screen output.
repid = sy-repid.
check dockingleft is initial.
create object dockingleft
exporting repid = repid
dynnr = sy-dynnr
side = dockingleft->dock_at_left
extension = 1070.
create object splitter
exporting parent = dockingleft
rows = 2
columns = 1.
call method:
splitter->get_container
exporting row = 1
column = 1
receiving container = dock_sub_cont1,
splitter->set_row_height
exporting id = 1
height = '3',
splitter->get_container
exporting row = 2
column = 1
receiving container = dock_sub_cont2.
perform create_toolbar.
create object text_editor
exporting
parent = dock_sub_cont2.
set handler:
lcl_event_handler=>handle_pushbutton_click for gui_tb.
start-of-selection.
* FORM create_toolbar *
form create_toolbar.
data: event type cntl_simple_event,
events type cntl_simple_events.
* Create the toolbar object
create object gui_tb
exporting
parent = dock_sub_cont1
exceptions
cntl_install_error = 1
cntl_error = 2
cntb_wrong_version = 3
others = 4.
* Set up events for toolbar
clear event. refresh events.
event-appl_event = 'X'.
event-eventid = gui_tb->m_id_function_selected.
append event to events.
* Register the events
call method gui_tb->set_registered_events
exporting
events = events
exceptions
cntl_error = 1
cntl_system_error = 2
illegal_event_combination = 3.
* Add Buttons to toolbar
call method gui_tb->add_button
exporting
fcode = 'PRINT'
icon = icon_print
butn_type = '0'
text = ' Print'
exceptions
cntl_error = 1
cntb_btype_error = 2
cntb_error_fcode = 3
others = 4.
endform.
Regards,
RIch Heilman -
In writing my first object and driver programs for object oriented programming I have several questions since my textbook and the java compiler seem to have different ideas of what constitutes correct code...
The errors I'm getting that I can't resolve are compile errors, I'm sure I also have many many logic errors that would prevent the program from executing correctly, but I need to address first things first.
I can't get the compiler to recognize my boolean deClawed variable in the driver program, whenever I use it I get a can't find symbol compile error (on a related note, is my boolean statement even correct? do I need to set it to something in the cat class like the rest of my variables?). I also get compile errors on my getName and getAge calls in my println statement, which is probably not the correct way to invoke that data either. This leads to my final question which is the biggest one: I don't really know what kind of approach I should be using on a program designed to collect data sets for 3 cats and respond with the name and age of each cat over 3 with claws . Should I be using a loop statement in the driver program to collect the data for each cat? Should I be using a printf statement to display the correct cat data? Am I even close with what I have? Any help would be much appreciated, even just saying what kind of statements you would use would be helpful since I can use examples and probably code them correctly and go from there.
public class HaeuserWeek6_7Cat
private String breed; //breed of cat
boolean deClawed; //T/F declawed value
private String name; //name of cat
private int age; //in years
private double weight; //in pounds
//This method sets the cat's name
public void setName(String name)
this.name = name;
public String getName()
return this.name;
}//end set name
//This method sets the cat's breed
public void setBreed(String newBreed)
this.breed = breed; //age and weight are unchanged.
public String getBreed()
return this.breed;
}//end set breed
//This method sets the cat's age
public void setAge(int age)
this.age = age;
public int getAge()
return this.age;
}//end set age
//This method sets the cat's weight
public void setWeight(double weight)
this.weight = weight;
public double getWeight()
return this.weight;
}//end set weight
//This method sets the cat's declawed T/F
public boolean deClawed()
if (deClawed = true)
return true;
else
return false;
}//end isDeClawed
these are not written in one file, they are seperate files included altogether in this post
import java.util.*;
public class HaeuserWeek6_7Prog
public static void main (String[] args)
HaeuserWeek6_7Cat myCat1 = new HaeuserWeek6_7Cat();
HaeuserWeek6_7Cat myCat2 = new HaeuserWeek6_7Cat();
HaeuserWeek6_7Cat myCat3 = new HaeuserWeek6_7Cat();
Scanner input = new Scanner(System.in);
System.out.println("Enter the name of Cat1:");
String name = input.next();
System.out.println("Enter the age of Cat1:");
int age = input.nextInt();
System.out.println("Enter the weight of Cat1:");
double weight = input.nextDouble();
System.out.println("Enter the breed of Cat1:");
String breed = input.next();
System.out.println("Is your cat declawed? True or False");
boolean deClawed = input.nextBoolean();
myCat1.setName(name);
myCat1.setAge(age);
myCat1.setWeight(weight);
myCat1.setBreed(breed);
myCat1.setdeClawed(deClawed);
System.out.println(myCat1.getName());
System.out.println(myCat1.getAge());
System.out.println(myCat1.getWeight());
System.out.println(myCat1.getBreed());
System.out.println(myCat1.getdeClawed());
if (deClawed = false && age >= 3)
System.out.println("The cats over 3 years with claws are: ");
System.out.println("Name: " + getName);
System.out.println("Age: " + getAge);
else
System.out.println("There are no cats over 3 years old with claws");
}//end if, else
}//end main
}//end class
I've changed some of the formatting to look better on the forums so if you cut and paste into a compiler program it might add extra spaces or something.First off, there are code tags. Use them when you post code.
The errors I'm getting that I can't resolve are compile errors, I'm sure I also have many many logic errors that would prevent the program from executing correctly, but I need to address first things first.
I can't get the compiler to recognize my boolean deClawed variable in the driver program, whenever I use it I get a can't find symbol compile error (on a related note, is my boolean statement even correct? do I need to set it to something in the cat class like the rest of my variables?).You don't try to access the deClawed member from Driver, you try to call getDeClawed(), which doesn't exist. Either change your method signature or method call to the correct name.
I also get compile errors on my getName and getAge calls in my println statement, which is probably not the correct way to invoke that data either.And those errors are? When you have questions about errors, it is always a good idea to include them verbatim in your post, otherwise we'll just invent errors and have a good laugh at your expense.
This leads to my final question which is the biggest one: I don't really know what kind of approach I should be using on a program designed to collect data sets for 3 cats and respond with the name and age of each cat over 3 with claws . Should I be using a loop statement in the driver program to collect the data for each cat? Should I be using a printf statement to display the correct cat data? Am I even close with what I have? Any help would be much appreciated, even just saying what kind of statements you would use would be helpful since I can use examples and probably code them correctly and go from there.Those are pretty vague specifications. I can think of at least 3 or 4 different ways to do that. Yes, a good design would use a loop to read in the information for each cat. For displaying the information, a set of println's is one option, and at this point probably the one you should use. -
SRM CCM 2.0 Not accessing the edit/create/approve page etc from home page
Hi
After doing all configs/user roles and activating services , the catalog home page is being displayed . But unable to navigate in Approve/Edit/ Create/display/Edit supplier cat/ Trex admn tool/ . In short when we try to open any of the tabs getting 'page can not be displayed' error.
Please address the issue.
regards
PHanHi,
If you are using the CCM roles for the first time did you generate profiles for your roles?
Best regards,
Sridhar -
Mirroring the laptop can go too far
24 inch display has been working perfectly up to now, but has today decided that whenever I close the screen on my MacBookPro, the display plays copy-cat and goes to sleep as well. Hardly the end of the world, as I can happily work with the laptop open, but it's a bug of some kind. Or I'm doing something stupid...
Any thoughts? is it obvious?!
Many thanks
AlIt's easy. With a USB or wireless keyboard functioning, or a mouse - close your laptop's cover and put the computer to sleep. A few seconds later, push any key on the keyboard or button on the mouse and the Cinema Display should come on. You'll be able to work with the external display as your primary and the laptop closed.
-
Consignment for Non-valuated Material
Good day!
Here's our scenario: we want to monitor the material, the quantity that is partially received based on a single PO, but the material is non-valuated. We have created a separate vendor account group and a PO document type for this case. We put the material under consignment. But when we start creating the PO, an error message is displayed: "With item cat. K, inventory mgmt. of material must be value-based". On what part of the material master can I adjust this "value-based" error?
Thank you.Hi,
Generally consignment material is used as a stock material. In Vendor consignment we order the material from the Vendor, and we enter the GR which is non valuated.We dont need to pay to Vendor. Liability only arises when we withdraw the material and it is done via T-code MRKO
So if your vendor consignment is a non valuated material, then check the materila master record for its material type which must be UNBW- Non valuated material. In which material is managed only on quanity basis and not on value basis.
I hope this is useful
Regards,
Tushar Patankar -
Hi,
We are trying to implement the BRF Plus in our company.And generate the webservice.
We are able to create POC's and created webservices.
But rule set can be achieved by BRF plus only with the person who is familiar with programming and not by end-user.It might be bit difficult for them.
Is there any way end-user can use BRF-Plus to write their own rules(if not with BRF plus with other SAP technologies)???
Cheers - Anna.Hi Carsten,
Thanks for the reply.
Our system is in the package EHP4 FOR SAP ERP 6.0 / NW7.01.Whether this is ok to start our developments for BRF+?
And with the current package,I am trying to find the difference between two dates and trying to store in the temporary variable(same type of source),I get an error 'Required calculation is not possible with these operands (Details) Display Longtext'.
Since we need to execute for large customer volume,so all our select we are using in the program,and calling the BRF+ in the runtime.Whether it is possible to pass the values from the program to BRF + using the component ID?
If we are using the component ID in development,if transportng to production then the ID will change,whether we can change the ID dynamically in program?
Sorry to bother you with so many queries.
Thanks in Advance.
Annamalai. -
OVM on HP BL685c G7 with Qlogic 8gb HBA, Brocade FC SAN Switch P2000 MSA G3
Hi all,
I have been trying to setup the above with the latest drivers from HP. OVM is running with all the nics but, unable to configure the HBA.
The HBA's are recognized by OVM and I can get its port_name but, unable to get its WWN so i can add them to brocade switch.
Question:
1/ Has anyone made this combination work?
2/ Are the Latest HP drivers compatible with OVM 2.2.1 and BL685c G7?
Appreciate any help. ThanksHi,
multiple ways to accomplish this. First try the "supported" way without having to install anything on the server.
With
cat /sys/class/scsi_host/hostX/info
You should be able to identify the HBA cards (where X is a number).
Second with this:
ls -l /sys/class/scsi_host/host*/device/fc_host*
You can see the "hosts" itself, and then simply display their information:
cat /sys/class/scsi_host/host2/device/fc_host:host2/port_name
cat /sys/class/scsi_host/host3/device/fc_host:host3/port_name
This should give you the WWIDs.
If this works... stop reading here... otherwise:
O.k. no for the "not so much" supported way:
In generall it is not recommended to install other drivers to the OVM server.
However I have done this successfully in the past (with the proliant support pack of HP) on other servers. You simply need to download the required proliant support pack (best the one for OEL).
Then download required/needed packets for the PSP installation (like the gcc) from the OEL CD (with the same "version" as the OVM kernel. OVM 2.2.1 has a OEL/RHEL 5.3 kernel, so we take the packages from the 5.3 OEL CD - you can also find them on public-yum.oracle.com).
Last "trick" the PSP to think it has a OEL (simply change /etc/redhat-release) and install the PSP.
Then you can work with the PSP tools and drivers.
Again: This is not recommended, because you should not install things into the hypervisor. This normally only slows all guests and increases the memory consumption of Dom0. But sometimes there is no other way...
Sebastian
Maybe you are looking for
-
Lightroom 4.2 RC print problems to Canon ipf6300
I have had repeated problems printing this image: It was originally shot on an IQ180 then converted to TIFF before being loaded into Lightroom for further work. It has a lot of delicate blue colours many bordering on cyan. When I print it to the ipf6
-
ISA : Dateformat depending on Country and language
Hi there... I have installed ISA for R/3 and setup several shops for different conutries with corresponding languages. When I log on to the different shops I get different date formats like 21-04-2005 and 21.04.2005 etc. Where is this managed ? First
-
Connecting new router from Verizon
We just received a new Actiontec router from Verizon. Plugged in power cord and phone line and can not get a connection. What am I doing wrong? On the last router (Westell) we did not have to have an ethernet cable to use the router and I assumed we
-
Your request could not be completed
neeeeeeeed help
-
Tiger 10.4.11 update install reads disk image fails to mount
i've been trying to download the tiger 10.4.11 upgrade and when i go to open i get the following disc images failed to mount and a reason of item not recognized. i'm at a lose considering ti've downloaded the update several times with my slow dial up