Mass generation program in ABAP! Please help.
Hello All:
I have a list of COPA programs that use some internal tables whose structures have been changed from 4.6C to ECC6.0. When I go to transaction KE30 it shows the list of reports and I have to select one at a time and click on program --> generate to regenerate the program in ECC6.0. I have a big list of reports and I am just wondering if there is any program/FM that SAP provides to regenerate programs in one shot! The program should allow me to enter a range like Z* so that I can regenerate programs in one attempt. I already looked at SGEN and it does not serve my purpose! I also looked at transaction KEMO that has "regenerate" button but again I have to select one report at a time to regenerate! Please let me know how I could acheive this! Rewards assured.
Thanks.
Mithun
Thanks Ian. It is little tough for me to explain here. I am going to transaction ke30 that shows me a list of reports and select one in the list and click on program--> generate. When the program gets compiled and regenerated, SAP assign some crazy program name for the report! For example if I am selecting ZXXX1 from the list and clicked on program-regenerate, SAP assign some crazy program name GP3GW9LXUQECNX8RXXXXXXXXXXXX instead of ZXXX1! I have 160 reports in my list with names for example ZXXX2, ZXXX3 and so on, but they do not exist when I look for them in se84. Once I regenerate SAP assign some program name like GPXXXXXXXXXXXXXXXXXXXXXXXXXX. I am not sure how I could run 160 programs in one batch without picking one by one manually from the list! That's why I was asking if there is some program that could regenerate all the reports in one shot without manual intervention! Please let me know if any one has any ideas! I will reward points to everyone.
Thanks.
Mithun
Similar Messages
-
Photoshop Elements 8. "Could not use Clone Stamp Tool because of a program error." Please help.
Try this:
Open your picture file
Access the clone stamp tool
Hold down the ALT key on the keyboard and left click on the area from which you wish to clone, then release the ALT key, and click to place the pixels at the destination
TIPS:
It is a good idea to open a blank layer at the top in the layers palette, and do the cloning on this layer. Be sure that "sample all layers" at the top is checked. You can change the layer opacity if necessary
Use the bracket keys next to the letter p on the keyboard to increase & decrease the size of the cursor
Let us know how you make out with the error message now. -
hi
Hello
Since yesterday evening. My itunse program does not work my mobile.
Note
I update the program to ios7
Please help me
Thank youI found this strange glitch that wouldn't let me open my iTunes Store. I tried all the reset options and still iTunes would close a second after it opened. I fixed this. Instead of using the iTunes Store icon on your home page to open it. Go into music and click on store. It will say "Cannot Connect To Store". Just tap ok. Then tap on "featured" on the bottom of the screen. That will take you to the store front page. After that is loaded. Back out and the icon for iTunes Store on the home page should work just fine. Hope that helps.
-
I recently downloaded Adobe Premiere Element after testing the trial version...now I am having difficulty registering the program...please help...
Premiere Elements is not part of the Cloud, I will move this to that forum
Premiere Elements Forum http://forums.adobe.com/community/premiere_elements
Select a topic, then click I STILL NEED HELP to start Premiere Elements Online chat
-http://helpx.adobe.com/contact.html?step=PRE -
Hi, I don't have sound on my MacBook Air and the Mail program never respond, please help me out!
Hi Mr. Shahid,
Thanks for visiting Apple Support Communities.
Start with the troubleshooting tips in this article if you don't hear sound from your MacBook Air:
OS X Mavericks: If you can’t hear sound from your speakers
http://support.apple.com/kb/PH13841
Best,
Jeremy -
Error while loading program...Please help.. :)
Hello All,
Have written a HTMLB program (DBConnect.java) which takes data from database and retrieves it in TableView.
But it does not work.
Get this error:
Caused by: java.lang.NoClassDefFoundError: com/sapportals/portal/htmlb/page/PageProcessorComponent
Loader Info -
ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@1e72d6]
Parent loader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@9cf322]
References:
not registered!
No resources !
The error occurred while trying to load "com.sap.sample.database.DBConnect".
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:389)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
... 30 more
I have also included the PageProcessorComponent class file in my project properties.
Please help....Whatz wrong.
Awaiting Reply.
Thanks and Warm Regards,
Ritu R HunjanHi Ritu,
Change the PrivateSharingReference to SharingReference in the xml
<application-config>
<property name="SharingReference" value="com.sap.portal.htmlb"/>
</application-config>
==========
Change your xml to
<?xml version="1.0" encoding="utf-8"?>
<application>
<application-config>
<property name="SharingReference" value="com.sap.portal.htmlb"/>
</application-config>
<components>
<component name="DBConnect">
<component-config>
<property name="ClassName" value="com.sap.sample.database.DBConnect"/>
</component-config>
<component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld" />
</component-profile>
</component>
</components>
<services/>
</application> -
I can not update my iphoto program... please help
when I download the latest version (604), I get a message that tell me
"iPhoto Updater cannot be installed on this computer. An eligible iPhoto application could not be found in /Applications. Well there is an iPhoto 2.0 program there. Do I have to buy the latest version???
Please help..
Elizabeth
G5, G4 Mac OS X (10.4.6)Yes, in order to do the free up update, you must first purchase the upgrade. Buy iLife 06, and you'll get iPhoto 6, which you then want to update to 6.0.4. You'll also get the latest versions of iMovie, iDVD, iTunes, iWeb, and GarageBand. the iLife Suite is great fun. Check out the iLife suite at http://www.apple.com/ilife/
And be sure to check the system requirements for RAM, etc. -
Inventory Program Part 6 - Please Help
My last assignment is due in about two hours and I am completely lost. I have been trying to figure out how to add functionality to my JButtons all week.
I have added the following buttons but they do not work: save, delete, modify, save, search, add.
I also need to add a company logo. I hope someone can please help me understand.
Here is my current code:
public class DVD {
protected int itemNum; // item number
protected String name; // item name
protected int unit; // number of units of the item
protected double price; // price of each unit
public DVD() {} // Default constructor
public DVD(int itemNum, String name, int unit, double price) {
// Constructor with input
this.itemNum = itemNum;
this.name = name;
this.unit = unit;
this.price = price;
// Getter and Setter methods
public void setItemNum(int itemNum) {
this.itemNum = itemNum;
public int getItemNum() {
return itemNum;
public void setName(String name) {
this.name = name;
public String getName() {
return name;
public void setUnit(int unit) {
this.unit = unit;
public int getUnit() {
return unit;
public void setPrice(double price) {
this.price = price;
public double getPrice() {
return price;
// Get the value of the inventory
public double calculateInventory() {
return unit * price;
// Get the value of all inventory
public static double calculateEntireInventory(DVD [] prod) {
double sum = 0;
for (int i = 0; i < prod.length; i++)
sum += prod.getUnit() * prod[i].getPrice();
return sum;
// Sort inventory by name
public static Movie [] sortInventory(Movie [] prod) {
boolean doMore = true;
while (doMore) {
doMore = false; // last pass over array
for (int i=0; i<prod.length-1; i++) {
if (prod[i].getName().compareTo(prod[i+1].getName()) > 0) {
Movie temp = prod[i]; prod[i] = prod[i+1]; prod[i+1] = temp;
doMore = true;
return prod;
public class Movie extends DVD{
//instant variable
protected String dvdTitle;
public Movie(int itemNum, String name, int unit, double price, String dvdTitle) {
super(itemNum, name, unit, price);
this.dvdTitle = dvdTitle;
public String getdvdTitle() {
return dvdTitle;
// Get the value of the inventory
public double calculateInventory(DVD[] dvd) {
double sum = 0;
for (int i = 0; i < dvd.length; i++)
sum += 0.05* dvd[i].getUnit() * dvd[i].getPrice();
return sum;
public double calculateRestockFee(){
return price*0.05;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.event.*;
import java.text.DecimalFormat;
import javax.swing.Icon;
import javax.swing.ImageIcon;
public class Inventory extends JApplet {
private JLabel itemNumLabel = new JLabel("Item Number: ");
private JTextField itemNum = new JTextField();
private JLabel itemNameLabel = new JLabel("Category: ");
private JTextField itemName = new JTextField();
private JLabel unitLabel = new JLabel("Number of Units: ");
private JTextField unit = new JTextField();
private JLabel priceLabel = new JLabel("Unit Price: ");
private JTextField price = new JTextField();
private JLabel dvdTitleLabel = new JLabel("DVD Title: ");
private JTextField dvdTitle = new JTextField();
private JLabel rfLabel = new JLabel("Restocking Fee");
private JTextField rfValue = new JTextField();
private JLabel inventoryLabel = new JLabel("Inventory value: ");
private JTextField inventoryValue = new JTextField();
private JLabel totalValue = new JLabel();
private JButton previous = new JButton("Previous");
private JButton next = new JButton("Next");
private JButton last = new JButton("Last");
private JButton first = new JButton("First");
private JButton add = new JButton("Add");
private JButton delete = new JButton("Delete");
private JButton modify = new JButton("Modify");
private JButton save = new JButton("Save");
private JButton search = new JButton("Search");
private JLabel totalInventory = new JLabel();
private Movie[] DVDArray = null;
private int current = 0;
private int total = 0;
class ButtonListener implements ActionListener {
public void actionPerformed(ActionEvent e) {
JButton button = (JButton) e.getSource();
if (button == previous) current = (current + total - 1) % total;
if (button == next) current = (current + 1) % total;
if (button == last) current = (current = 5) % total;
if (button == first) current = (current =0) % total;
if (button == modify) itemName.setVisible(true);
private void display() {
Movie movie = DVDArray[current];
DecimalFormat df=new DecimalFormat("$#.00");
itemNum.setText(movie.getItemNum()+""); itemNum.setEditable(false);
itemName.setText(movie.getName()); itemName.setEditable(false);
unit.setText(movie.getUnit()+""); unit.setEditable(false);
price.setText(df.format(movie.getPrice())); price.setEditable(false);
dvdTitle.setText(movie.getdvdTitle()); dvdTitle.setEditable(false);
rfValue.setText(df.format(movie.calculateRestockFee())); rfValue.setEditable(false);
inventoryValue.setText(df.format(movie.calculateInventory())); inventoryValue.setEditable(false);
totalValue.setText("The total inventory value is " + df.format(DVD.calculateEntireInventory(DVDArray)));
final JLabel label; // logo
//JLabel constructor for logo
Icon logo = new ImageIcon("C:/logo.jpg"); // load logo
label = new JLabel(logo); // create logo label
label.setToolTipText("Company Logo"); // create tooltip
public void init() {
DVDArray = new Movie [6];
// Add DVD items into the list
DVDArray[0] = new Movie (15, "Action", 65,12.00,"Frequency");
DVDArray[1]= new Movie(33, "Comedy", 12, 21.00, "Norbit");
DVDArray[2] = new Movie(13, "Disney",33,14.00,"Flubber");
DVDArray[3] = new Movie(22, "Drama", 48, 18.00,"Citizens Kane");
DVDArray[4] = new Movie(47, "Horror", 42, 19.00,"Pycho");
DVDArray[5] = new Movie(26, "Sci-Fi", 27, 26.00,"The Abyss");
total = 6;
current = 0;
ButtonListener buttonListener = new ButtonListener();
previous.addActionListener(buttonListener);
next.addActionListener(buttonListener);
last.addActionListener(buttonListener);
first.addActionListener(buttonListener);
add.addActionListener(buttonListener);
delete.addActionListener(buttonListener);
modify.addActionListener(buttonListener);
save.addActionListener(buttonListener);
search.addActionListener(buttonListener);
JPanel up = new JPanel();
up.setLayout(new GridLayout(7,2));
up.add(itemNumLabel); up.add(itemNum);
up.add(itemNameLabel); up.add(itemName);
up.add(dvdTitleLabel); up.add(dvdTitle);
up.add(unitLabel); up.add(unit);
up.add(priceLabel); up.add(price);
up.add(rfLabel); up.add(rfValue);
up.add(inventoryLabel); up.add(inventoryValue);
display();
JPanel middle = new JPanel();
middle.setLayout(new FlowLayout());
middle.add(previous); middle.add(next);middle.add(last);middle.add(first);
middle.add(add);middle.add(delete);middle.add(modify);middle.add(search);
middle.add(save);
JPanel down = new JPanel();
down.setLayout(new BorderLayout());
down.add(BorderLayout.CENTER, totalValue);
JPanel all = new JPanel();
all.setLayout(new BoxLayout(all, BoxLayout.Y_AXIS));
all.add(up);
all.add(down);
all.add(middle);
Container cp = getContentPane();
cp.add(BorderLayout.NORTH, all);
public static void main(String args []) {
JApplet applet = new Inventory();
JFrame frame = new JFrame("DVD Inventory");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setResizable(false);
Container cp=frame.getContentPane();
cp.add(applet);
frame.setSize(600,330);
applet.init();
frame.setVisible(true);
// Icon logo = new ImageIcon(getResource( "logo.gif" ) );
} //end main
} // end class InventoryYour code has some good spots and some bad spots or problems, and I'll try to hit on some of the more obvious problems (the ones that I can see immediately) so that you can try to fix it.
1) Your DVD class overall looks pretty good until we get to the end. The method public static double calculateEntireInventory(DVD[] prod) shouldn't be part of the DVD class since it has nothing to do with an individual DVD (which is what this class is all about) and everything to do with a collection of DVDs. You should move this to another class, a non-GUI Inventory class.
2) The method public static Movie[] sortInventory(Movie[] prod) also shouldn't be in your DVD class for the same reason as noted above, and also because it deals with Movie objects which are objects that descend from DVD. The parent really shouldn't have to depend on the child class to function, and leaving this in would likely break your code at some time or another. Again, put this in a non-GUI Inventory class. You probably should use a DVD parameter, not a Movie parameter. Another option is to have your DVD and Movie classes implement the Comparable interface, since if you do this, sorting any collection of these is a breeze by using Arrays.sort(...) or Collections.sort(...).
3) Again (starting to sound like a broken record) the method public double calculateInventory(DVD[] dvd) shouldn't be part of the Movie class for the very same reasons noted above.
4) You need to create a non-GUI Inventory class, shoot, you can call it NonGuiInventory if you'd like (though I'd call it Inventory and call the GUI class GuiInventory) that has all the important functionality that the GUI will display. This class holds a collection of DVDs (or Movies), has an int index that points to the current Movie of interest, has a next() method that advances this index and returns the next Movie in the collection (or the first if you're at the last), has a previous() method that does the opposite, has a first() method that sets the index to zero and returns the first Movie in the collection, a last() method that advances the index to the size of the collection - 1 and returns this Movie, and has a sort method that sorts the collection. You can even have add(Movie) and a remove(Movie) methods here. By separating this functionality from the GUI, you are able to simplify your task by dividing and conquering.
5) Finally you can display all this with your InventoryGUI class that uses the above class as its model, displaying the current Movie that is pointed to by the Inventory's index, that when the next() method is called gets the Movie returned by it and displays it.
Note that if you go this route, you'll need to do some major re-writes of the GUI class, but it will improve your program greatly.
HTH and good luck -
HOW TO CREATE AUTHORISATION OBJECT IN ABAP PLEASE HELP
HOW TO CREATE AUTHORISATION OBJECT IN ABAP PLEASE HELP
You can Use Transaction code: RSSM
Check the following link
http://www.sap-img.com/bc042.htm
In SU20 you will have to create a CLass.
After saving this double click this and you will taken to another screen where you can create Auth Object.
You can create authorization fields in SU21 or use existing ones.
You can also do above thru tcode SE80 Edit -> Other Object. In one the tabs you will see Auth. Objects . -
Oops concepts in abap - please help me
Hi ,
can any one help me how to move ahead in abap with oops concepts.
Please explain me concepts with small example program.
Regards
VijayaHi learn the concepts of oops and then the syntax
of the statements. Find the pgrm if it useful for u
*& Report Z_CLASS_DEMO1 *
REPORT Z_CLASS_DEMO1 .
CLASS vehicle DEFINITION
class vehicle definition.
public section.
methods: create.
events: vehicle_created.
endclass. "vehicle DEFINITION
CLASS vehicle IMPLEMENTATION
class vehicle implementation.
method create.
break-point.
write:/ 'vehicle is created'.
raise event vehicle_created.
endmethod.
endclass. "vehicle IMPLEMENTATION
CLASS reg_office DEFINITION
class reg_office definition.
public section.
methods: add_vehicle FOR EVENT vehicle_created of VEHICLE.
endclass. "reg_office DEFINITION
CLASS reg_office IMPLEMENTATION
class reg_office implementation.
method add_vehicle.
write:/ 'Vehicle is created and is ready for registration'.
endmethod. "reg_office
endclass. "reg_office IMPLEMENTATION
start-of-selection.
data: r_vehicle type ref to vehicle,
r_reg_office type ref to reg_office.
create object r_vehicle.
create object r_reg_office.
set handler r_reg_office->add_vehicle for all instances.
r_vehicle->create( ). -
Java program in XP - Please Help
Hi, I am not sure if I am in the right fourm. I am not a developer, but a network engineer trying to help out my wife. My wife uses a java program to monitor the company she works for web site, which is not linked to a web browser. When she received the java program, it came with Java 1.2.2. Our PC had Windows 98 installed. I purchased a new machine, with Windows XP on it, and installed the java program and JRE on to it. The program does not work. The programmer who wrote the program was fired a few months ago, so I started looking through the internet, and the Sun fourms for a solution. First, the XP machine does not have Microsoft VM on it. Second, I upgraded the java to 1.4.1_02, following the instructions, still with no success. There was a suggestion to dual boot with Windows 98, but I really do not want to do that. What happens is - when you log in to the program, it just freezes. It does not go into the server. Any help is greatly appreciated.
Possible reasons for the program hanging up
1) The version of the VM on the machine is not correct.
2) Even if the version is correct and correctly installed, can you please check whether the PATH and CLASSPATH variables are set correctly on the machine where you are running the program.
3) I use WINXP as well with the latest version of VM downloaded from Sun and NOT Microsoft.
Hopefully this might solve the issue. -
CALL A JAVA PROGRAM FROM ABAP -- NEED HELP
Hi all,
Can somebody tell me how to call a java xml code from an ABAP program? First let me know if at all, is it possible to call a java program from SAP that is from an ABAP executable progam?
Please suggest me in this. All your inputs in this is valuable to me and highly appreciated.
Thanks in advance,
Vaishnavi VaradarajanHi,
Previous explanation i gave is not correct.
ABAP web services expose the function modules outside R/3, so that other technologies like Java can consume that webservice and read the data in R/3 using the function module.
For your requirement, create a Java web service to read the XML. Consume this webservice in ABAP. This way you can read the XML from ABAP.
Regards
Srikanth KV. -
Audio skipping and programs quitting unexpectedly, please help
Hi all, I have a Power PC G5 running on OSX 10.3.9. I came into my room this morning to my fan running at an absurd speed and the computer was frozen. I restarted the computer, but the rest of the day, my audio has been skipping constantly (on itunes and also when played through Firefox) regardless of how many programs I have open. I have never had any issues with this before. I'm also having problems with programs freezing today and with programs quitting unexpectedly.
What caused my fan to go nuts? The tower is sitting in a pretty dusty area, so it is possible that there is dust around the tower. I have no experience opening or cleaning a computer, so if that is what I should do, could you please instruct me on the best way to do that.
I have about 40gb free with 110gb utilized on my Macintosh HD. The activity monitor shows that I only have 130mb Free of system memory (when I'm only running itunes, activity monitor, and firefox). The activity monitor also jumps from having abou 85% of the CPU idle when it is working fine down to below %40 percent when the audio is skipping. What is causing these jumps?
Thank you for your help.
MaxLet's start with the basics.
Try using Disk Utility to do a Disk Repair, as shown in this link, while booted up on your install disk.
You could have some directory corruption. Let us know what errors Disk Utility reports and if DU was able to repair them.
Cheers! DALE -
4th Generation iPod constantly freezes, please help!!!
Hi, I have had my 4th generation 20 GB iPod for about a year and a half. I have around 1200 songs on it and my iPod freezes every now and then whenever I try to play a song. When I go to reset it, sometimes it'll just return back to its normal state, but then other times, a folder with an exclamation point will pop up, then it'll just shut off and do it again. Sometimes I will lose all my songs, but then I reset it, I have all my songs again. I was wondering if there is any quick way to fix this problem. Thank you!
Try a restore again. If that does not help, you have a hardware issue.
Basic troubleshooting steps
17" 2.2GHz i7 Quad-Core MacBook Pro 8G RAM 750G HD + OCZ Vertex 3 SSD Boot HD
Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
In Memory of Steve Jobs -
Code generation don't work - please help!
Hi all
just installed flash builder 4.5 , then installed the flash builder 4.5.1 update patch
I've noticed the code generation features are not working
meaning for example if I write "fori" in a function then hit ctrl+space
it opens up an empty window with no suggerstions
same goes when I tried generating variables, functions, classes, getters, setters ect...
any idea as to why does it happen or what can I do about it?
cheersCan you try a few things please -
1. Post the content of your workspace log here. Log can be found in <workspace location>/.metadata/.log
2. Post the steps you performed (starting from creating a new project) along with the .as and .mxml files. If you can't post your files here, please mail them to me at sameer[at]adobe[dot]com
3. Create a new workspace using File > Switch Workspace > Other. Create a new Flex project in the workspace and try these features.
Let me know your findings.
Maybe you are looking for
-
Yesterday I visited a site to which I often go, pingtest.net. Normally, when I visit that site, a thin horizontal bar appears at the top of the browser viewing frame. I do not recall what it says, but it stretches the entire length of frame, from lef
-
I downloaded Oracle8.1.7 standard Edition and Oracle9iAS Core for Windows NT. I installed them on Windows 2000 Server. I checked that Oracle HTTP server was working. But how can I get more information from Internet about Oracle Application Server? I
-
What is host bus interface for pavilion dv7 1448dx
I'm thinking of Installing a usb 3 ExpressCard/54 in a Pavllion dv7 1448dx. Does anyone know where I can find out if the host bus interface of the 1448dx ExpressCard slot is Gen 1.0 enabled or Gen 2.0 enabled. That will tell me if it's worth the efff
-
Oracle Report Server Creation in Forms11g
Dear All I installed oracle forms 11g r2 on windows 7 sp1 64 bit, every thing is okay , forms running without any problem , but i don't know to to run reports and how i can create report server , can any one help me in details ? Thanks in advanced
-
Turning pen drawing into single 100k layer
I have a number of scans of ink drawings on white paper which I would like to edit so they are 100%K black line drawings on white background. Using the color replace tool I have been able to select all ink lines and use the fill with black in the del