Merging of 8 programs into a single program - urgent
Hi Abappers,
I have a requirement like 8 programs are given to me which are existing from one server. Now, what i have to do is , i should merge all of them into one main program in another server. This is my requirement. For that in the selection criteria of the main program, options will be created for each item. The user can select the option he wants to execute.
Now, can i create a selection screen in which there will be 8 push buttons and whenever user clicks one , the report belonging to taht button executes?
For that, please suggest me the best way of how to do it..
Whether include the 8 programs using include statement in the main program or by using subroutines or what?
I am confused .. kindly suggest me the better way so taht i can proceed.
Thanks,
Priya
The best way to resolve your requirement is to create a new ABAP with a selection screen with 8 options(radio buttons).
Depending on the selection you can just submit the corresponding ABAP via selection-screen and return.
selection-screen : begin of block B1 with frame title TEXT-001.
parameter : P_01 radiobutton group R1 user-command M1.
parameter : P_02 radiobutton group R1.
parameter : P_03 radiobutton group R1.
parameter : P_04 radiobutton group R1.
parameter : P_08 radiobutton group R1.
selection-screen : end of block B1.
START-OF-SELECTION.
if p_01 = 'X'.
labap = 'ZG1'.
endif.
if p_08 = 'X'.
labap = 'ZG8'.
endif.
submit (labap) via selection-screen and return.
Regards
Anurag
Message was edited by: Anurag Bankley
Similar Messages
-
Merging of 8 programs into a single program
Hi Abap gurus,
Can any one pl help me out about merging 8 programs into a single one.
Pl give me the best way to merge 8 programs into one program
Thanks,
PriyaHi priya,'
What do you really mean by merging of 8 programs? what are those programs ....
but anyway ... see a program is written to fulfil a business requirement ...
so i believe that need is now .. the functionalities of 8 programs in one program ... Am i right ..
if that is the case then get the requirement of the one report and build a program ......
cheers
Kripa Rangachari.. -
How do I merge 105 PDF's into a Single PFD?
How do I merge 105 pdf's into a single PDF.
I have already tried doing this in PREVIEW, selecting all, and then saving, and saving as. But it is for me, to no avail. When I re-open, all I get is the first page.
please help.CRB wrote:
How do I merge 105 pdf's into a single PDF.
I have already tried doing this in PREVIEW, selecting all, and then saving, and saving as. But it is for me, to no avail. When I re-open, all I get is the first page.
So, I'm not the only one unable to merge docs thru Preview.
This is why I wrote my own script to do that.
--[SCRIPT join_PDFs]
Enregistrer le script en tant que Script : join_PDFs.scpt
déplacer le fichier ainsi créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:
aller au menu Scripts , puis choisir join_PDFs
Vous pouvez également enregistrer le script en tant qu'application.
Vous pourrez alors glisser déposer les icônes de PDFs à fusionner sur celle du script.
J'ai trouvé le code principal dans une page Web.
--=====
L'aide du Finder explique:
L'Utilitaire AppleScript permet d'activer le Menu des scripts :
Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case "Afficher le menu des scripts dans la barre de menus".
Sous 10.6.x,
aller dans le panneau "Général" du dialogue Préférences de l'Éditeur Applescript
puis cocher la case "Afficher le menu des scripts dans la barre des menus".
--=====
Save the script as a Script: join_PDFs.scpt
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:
go to the Scripts Menu, choose Numbers, then choose "join_PDFs"
You may also save the script as an application.
Then you will be anle to drag an drop PDFs icons on the script one.
I found the main code in a Web page.
--=====
The Finder's Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the "Show Script Menu in menu bar" checkbox.
Under 10.6.x,
go to the General panel of AppleScript Editor’s Preferences dialog box
and check the “Show Script menu in menu bar” option.
--=====
Yvan KOENIG (VALLAURIS, France)
2011/01/18
--=====
on run
if parle_anglais() then
set les_fichiers to choose file "Select the PDFs files to merge" of type {"com.adobe.pdf"} with multiple selections allowed without invisibles
else
set les_fichiers to choose file "Sélectionner les fichiers PDFs à fusionner" of type {"com.adobe.pdf"} with multiple selections allowed without invisibles
end if
my main(les_fichiers)
end run
--=====
on open sel
my main(sel)
end open
--=====
on main(lesPDFs)
local p2s, alias_existe, aPath, chemindu_nouveauPDF, les_UNIXs
set lesPDFs to lesPDFs as list -- just for safe
set p2s to "" & (path to startup disk)
tell application "System Events" to set alias_existe to exists disk item (p2s & "joinPDF.py")
If it doesn't exist, create a symbolic link to a python script
delivered by Apple in an Automator process.
if not alias_existe then
set aPath to quoted form of "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py"
do shell script "ln -s " & aPath & " joinPDF.py"
end if
set chemindu_nouveauPDF to "" & (path to documents folder) & (do shell script "date +_%Y%m%d-%H%M%S") & ".pdf"
set les_UNIXs to {}
repeat with i from 1 to count of lesPDFs
copy quoted form of POSIX path of item i of lesPDFs to end of les_UNIXs
end repeat
set les_UNIXs to my recolle(les_UNIXs, space)
do shell script "./joinPDF.py -o " & quoted form of POSIX path of chemindu_nouveauPDF & space & les_UNIXs
tell application "Finder" to open file chemindu_nouveauPDF
end main
--=====
on recolle(l, d)
local oTIDs, t
set oTIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to d
set t to l as text
set AppleScript's text item delimiters to oTIDs
return t
end recolle
--=====
on parle_anglais()
return (do shell script "defaults read 'Apple Global Domain' AppleLocale") does not start with "fr_"
end parle_anglais
--=====
--[/SCRIPT]
Yvan KOENIG (VALLAURIS, France) mardi 18 janvier 2011 12:24:51 -
Merging all DB scripts into a single script for deployment
Hi,
I'm using an Oracle Database Project in Visual Studio to store single scripts for each database object, which I like a lot. What I don't know is how to merge all those scripts into a single script now that I'm ready for deployment. I would prefer to give the DBA guy a single script with all the objects and not one script per DB object.
Is there any way to achieve this?
JulioHi,
I'm playing with this stuff these days and Yes, there is a possibility:
Under Visual Studio:
Open your Database Edition Project
Goto "Server Explorer"
You should have previously created a connection to your Target DB.
Open that connection. you have a collection of folders.
Select/Open the Schema Folder, then the Tables Folder.
Select the Tables you want to Script, right-click and select "Generate Create Script to Project".
Enter a Scriptname and click OK
That's all.
Going back to your Project, you shuld find a Script into your "Script" Folder.
The problem is that you cannot create separate Scripts when selecting multiple tables, as I stated in my Post "ODT lacks some functionnalities"
Hope it helps
Rgds
P.Cury -
How to get the output of a program into the email program.
hi
i had created a java mail program and the keygeneration program.seperately.
i want to get the keygeneration into my email program.that should be sent along with the text message.so pls help me in this regared.
i had pasted my coding her
email pgm.
import javax.mail.*;
import javax.mail.internet.*;
import java.util.*;
import java.io.*;
To use this program, change values for the following three constants,
SMTP_HOST_NAME -- Has your SMTP Host Name
SMTP_AUTH_USER -- Has your SMTP Authentication UserName
SMTP_AUTH_PWD -- Has your SMTP Authentication Password
Next change values for fields
emailMsgTxt -- Message Text for the Email
emailSubjectTxt -- Subject for email
emailFromAddress -- Email Address whose name will appears as "from" address
Next change value for "emailList".
This String array has List of all Email Addresses to Email Email needs to be sent to.
Next to run the program, execute it as follows,
SendMailUsingAuthentication authProg = new SendMailUsingAuthentication();
public class SendMailUsingAuthentication
private static final String SMTP_HOST_NAME = "smtp.mail.yahoo.com";
private static final String SMTP_AUTH_USER = "xxxx";
private static final String SMTP_AUTH_PWD = "xxxx";
//private static final String emailMsgTxt = "Online Order Confirmation Message. Also include the Tracking Number.";
private static final String emailSubjectTxt = "Order Confirmation Subject";
private static final String emailFromAddress = "[email protected]";
private static String emailMsgTxt = "I am unable to attend to your message, as I am busy sunning"
+ "myself on the beach in Maui, where it is warm and peaceful."
+ "Perhaps when I return I'll get around to reading your mail."
+ "Or perhaps not.";
private static final String[] emailList = { "[email protected]","[email protected]"};
public static void main(String args[]) throws Exception
SendMailUsingAuthentication smtpMailSender = new SendMailUsingAuthentication();
smtpMailSender.postMail( emailList, emailSubjectTxt, emailMsgTxt, emailFromAddress);
System.out.println("Sucessfully Sent mail to All Users");
public void postMail( String recipients[ ], String subject,
String message , String from) throws MessagingException
boolean debug = true;
Properties props = new Properties();
props.put("mail.smtp.host", SMTP_HOST_NAME);
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.port", "25");
props.put("mail.smtp.protocol","smtp");
props.put("mail.debug", "true");
Authenticator auth = new SMTPAuthenticator();
Session session = Session.getDefaultInstance(props, auth);
session.setDebug(debug);
// create a message
Message msg = new MimeMessage(session);
// set the from and to address
InternetAddress addressFrom = new InternetAddress(from);
msg.setFrom(addressFrom);
InternetAddress[] addressTo = new InternetAddress[recipients.length];
for (int i = 0; i < recipients.length; i++)
addressTo[i] = new InternetAddress(recipients);
msg.setRecipients(Message.RecipientType.TO, addressTo);
// Setting the Subject and Content Type
msg.setSubject(subject);
msg.setContent(message, "text/plain");
Transport.send(msg);
private class SMTPAuthenticator extends javax.mail.Authenticator
public PasswordAuthentication getPasswordAuthentication()
String username = SMTP_AUTH_USER;
String password = SMTP_AUTH_PWD;
return new PasswordAuthentication(username, password);
keygeneration program:
import java.io.Serializable;
import java.security.Security;
import com.sun.net.ssl.*;
import javax.crypto.KeyGenerator;
import javax.crypto.Mac;
import javax.crypto.SecretKey;
public class Eval {
public static void main(String args[]) throws Exception {
String inputString ="0x0b0b0b0b";
KeyGenerator keyGen = KeyGenerator.getInstance("HMACMD5");
SecretKey secretKey = keyGen.generateKey();
Mac mac = Mac.getInstance(secretKey.getAlgorithm());
mac.init(secretKey);
byte[] byteData = inputString.getBytes("UTF8");
byte[] macBytes = mac.doFinal(byteData);
String macAsString = new sun.misc.BASE64Encoder().encode(macBytes);
System.out.println("Authentication code is: " + macAsString);I'm not sure what's confusing you. Just generate a String (using a StringBuffer)
with the data you need and use it as the content of the mail message. If each
recipient needs different content, they'll each need a different MimeMessage
object. -
Merging 2 rows data into a single column in OBIEE
Hi All,
Requirement is "Merging 2 rows into a single column"
Scenario: data from table called "transactions_table"
Id
transaction no
transaction name -------------------------------quantity
100
1
abc
1000
100
2
def
2000
Required out put:
Id
Transactions & Quantity
100
abc(1000),def(2000)
Please provide me solution, and let me know if any additional information is required.
Thanks in advance to all of you.can you please share your data like below
column1, column2 .....
and where are you trying to do this? at answer or bi admin tool?
there are a few ways to do this. -
Merging 2 rows data into a single column in OBIEE 11g
Hi All,
Requirement is "Merging 2 rows into a single column"
Scenario: data from table called *"transactions_table"*
Id ------------- transaction no ----------------------- transaction name -------------------------------quantity
100 ----------- 1 ----------------------- abc ------------------------------ 1000
100 ----------- 2 ------------------------ def ------------------------------ 2000
Required out put:
Id ----------------- Transactions & Quantity
100 -------------- abc(1000),def(2000)
Please provide me solution, and let me know if any additional information is required.
Thanks in advance to all of you.
Regards,
chrscheck the below link, that may help you.
Re: Horizontal value display
If it is helpful, please mark as correct or helpful -
How to merge two A5 pages into a single A4 page.
I have three PDF documents that I want to print duplexed onto a single A4 sheet. The first two pages (front and back) are A5 which is causing a problem when printing as it will not allow me to print in booklet format without cropping the back page.
Is there any way to combine the two A5 pages into a single A4 page within Acrobat??
I am currently running Acrobat 6.0 Standard on Windows XP SP2When you have been around since AA5 and earlier, the printer used to be the trick to doing things. Since AA5 a lot of the features have been built into Acrobat and it might be possible to create the page in another way. However, the print approach should still work.
-
Inserting an Include program into all Z programs dynamically using a BDC.
Hi Experts.
I've created a BDC to insert a include program (for Authorisation) into all our Zprograms.
It works but if there is code written on the line where the include has to go it is simply overwritten by the new include.
Is there a way to search the code lines for example to see on which line the "REPORT" statement is and
to be able to then dynamically "Hit Enter" to insert a blank line after the report statement sothat the existing code is not
overwritten.
Regards
VicThanks for sharing your brilliance.
It's much appreciated
If I have to insert my lines in, can I update directly from the itab or is there another process
behind that.
My reasoning is if there is no space for the Load-of-program and include I'll have to insert it.
Edited by: Vic Delport on Dec 10, 2009 11:12 AM -
Possible? output a string from a java program into a running program
I'm not sure if it is plausible, but this is my dilemma. My java program searches for street names in a specific region, then outputs the nearest street. I would like to synch this up with Google Earth, and output the street name into it, so it would go ahead and be able to search it right away. Is this possible, or should I attempt some other route?
Check out my runCmd method. It gives an example of running another program and listening for the output. I built this to run javac and show the output in my custom editor.
You'll see some classes in here that are not standard java classes, in particular InfoFetcher. Don't worry, this is just a utility I wrote for convenient handling of inputstreams. You can handle the inputstreams without it, but if you really want it, it's probably posted somewhere in these forums.
private void runCmd(String cmd) {
try {
System.out.println("cmd: " + cmd);
Process p = Runtime.getRuntime().exec(cmd);
InputStream stream = p.getInputStream();
InputStream stream2 = p.getErrorStream();
InfoFetcher info = new InfoFetcher(stream, new byte[512], 500);
InputStreamListener l = new InputStreamListener() {
int currentLength = 0;
public void gotAll(InputStreamEvent ev) {}
public void gotMore(InputStreamEvent ev) {
String str = new String(ev.buffer, currentLength, ev.getBytesRetrieved());
currentLength = ev.getBytesRetrieved();
System.out.print(str);
info.addInputStreamListener(l);
Thread t = new Thread(info);
t.start();
InfoFetcher info2 = new InfoFetcher(stream2, new byte[512], 500);
InputStreamListener l2 = new InputStreamListener() {
int currentLength = 0;
public void gotAll(InputStreamEvent ev) {}
public void gotMore(InputStreamEvent ev) {
String str = new String(ev.buffer, currentLength, ev.getBytesRetrieved());
currentLength = ev.getBytesRetrieved();
System.out.print("(Error) " + str);
info2.addInputStreamListener(l2);
Thread t2 = new Thread(info2);
t2.start();
catch (IOException iox) {
iox.printStackTrace();
} -
Merge 3 Unlinked Reports into a single Report
I have 3 Crystal Reports with different structures and groupings, I want to view it in single report .Right now I'm using Embedded Crystal Report hence I'm unable to merge it through the code .I require a solution to this.
Thanks a lot in advance.Saurabh,
Open Crystal Reports designer
File--New--Blank Report
Now you will see only design of blank report
Right click on all sections and select 'Suppress' except Report Footer.
Right click on Report Footer and click on New Section to create one more Report Footer, create one more new report footer
Now go in Insert menu --Click on Sub report-- selection option to Browse to select existing report--locate first report and select it and place it in Report Footer 1
Repeat the above for 2nd 3rd sub reports. Place them in Report Footer 2 and 3 .
Now refresh the blank report to see all reports information at one place.
-Sastry -
What is the proper procedure to merge different appln's into a single appln
Hi,
My question is to Frank and Shay.
We are having 2 different applications being developed at 2 different locations.
Now I need to merge them, I have noted the following steps which are to be taken care of, for the procedure to work.
However is there anything else I need to do, or should the steps be done differently.
Please advise.
Considering a basic example we have:
Application1 with 2 projects namely Proj1 and Proj2
Application2 with projects called Proj3 and Proj4
1) Project level: Have all the 4 projects in the same application folder. and set dependencies in the project context so that they can access each other's objects
2) faces-config.xml: Have all the different files in the same /WEB-XML folder, and register them in the web.xml file
Note:
Assuming I have 3 faces-config.xml files
a) faces-config1.xml
b) faces-config2.xml
c) faces-config3.xml
If i have a common Home-page defined in faces-config1.xml; and the same page is referenced in the next file (faces-config2.xml).. so is the application intelligent enough to recognize the redundancy or should something else be done.
3) Application module: Register the different application modules with one-another.
Note: Should all the application modules be present in the same directory folder, cause moving the modules from their initial positions will cause problems, can the modules still be bound together from their original positions
Finally is this all i need to do or are there more steps involved.
Kindly post any and all of your suggestion.
Thanking you,
--ZohebOn your Mac.....
Open Finder > Applications > Utilities > AirPort Utility
Click on the Time Capsule
Click Edit in the smaller window that appears
Click the Disks tab at the top of the next window
Click Erase Disk
Select the Quick Erase option
Click Erase
The operation will only take a minute or two
The disk is now ready for new backups -
Can't merge separate PDFs into a single PDF
I receive the following when attempting to merge separate pdf files into a single pdf file in Acrobat 8.1.2 using OS 10.5.4 on my iMac:
At least one file in the list requires a password. The combined file will not be secured. Do you want to continue?
I then get a message that a file in my list is protected, and Im prompted to enter a permissions password. I dont know what that is (the only password I have associated with Adobe doesnt work) or where to locate it.
This problem has just cropped up recently, and currently I must send a list of PDFs instead of a single file.If the pdf is password protected, there any utilities available to
remove the password protection. Which explains why password protection
is not to be relied upon. If the protection is certificate based or
server based, then removing the security is a non-trivial matter.
...Mike -
Itz possible to call one report program into another program
hi guys,
i had a doubt that can i call a report program into another report program by declaring their name into the second program like as we calling Includes ,function modules and like class and their methods .
if anybody done this or know how to do this, give me the details and explination about this friends
if it possible with screenshots and codings
Thanks & Regards
SaigijeoPlease search before posting, do not ask basic questions here.
Always do your own work before turning to the community with specific problems.
Thread locked.
Thomas
[Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] -
Parallels: transferring info from a Windows program to a Mac program
I've been devoted to a Mac for a few years now, but I recently had to switch back to Windows because of its far superior voice recognition software. (I was recently disabled, and now rely on voice recognition to type.)
If I were to buy a new Mac and use my Dragon NaturallySpeaking professional software (the Windows voice recognition program) via Parallels, does anyone know if I would be able to use that to type in a Macintosh program? I understand that I could stay within the virtual Windows platform or do separate tasks on the Mac platform, but I'm not sure if I would be able to transfer the information gathered by the Windows program into a Mac program.
If I'm able to do this, it would mean I could finally switch back to a Mac. Thanks in advance!If I were to buy a new Mac and use my Dragon
NaturallySpeaking professional software (the Windows
voice recognition program) via Parallels, does anyone
know if I would be able to use that to type in a
Macintosh program?
No
iFelix
Maybe you are looking for
-
Printing a File(.html, .doc ,etc) from LabVIEW
Hi All, I am currently using LabVIEW 6i(PDS). In one of my application I had created (HTML) reports. Now I want to print the report through LabVIEW. If I use the Standard report format than LabVIEW has a vi to print the report. Please guide me how to
-
Slate 21 Pro ongoing sleep problems that can't be resolved
I just bought a slate 21 pro after hearing about sleep related issues, but was encouraged by various reports of solutions in the form of a replacement unit with upgraded scalar firmware, not using keyboard/mouse, not connecting an hdmi in device and/
-
I've been using DVDSP4 for a year and a half and this is the first time that I haven't had subtitles show up in my Simulator. The subtitle track is activated, View is checked in Simulator...everything seems to be working as usual--anyone have any tho
-
How to obtain programatically the Vendor's contact in a BID ? :-(
Hi guys, With fm BBP_PD_PO_DOC_FLOW I can obtain the Bids related to my PO. Now I want to obtain the vendor's contact name, email, etc. asociated to that winner bid. I have the partner no., partner guid, etc for vendor's contact. But..I dont know
-
Printer: Photosmart 2575 All in one Somehow I managed to get my printer into MFG-mode. Most important functions seem to work, but I prefer the "normal" mode. Switching off the printer for some time (several times) does not work. Re-installation: no