Call Program from an other one
Hallo,
I wonder if it is possible to call a standard Programm from my Report without leaving it. I have created a docking container that docks itself on each new Dynpro. Now if i call an extra Programm i don't have the d.container any more. I would like to see the d.container on the Dynpros of the new Programm as well. Is it possible?
Thank you very much,
Anton
Hi,
SDBILLDL is the std program for transaction VF04. This program is being called by other program as mentioned in the below code.
submit sdbilldl via job jobname
number jobcount
with p_vkorg = vkor1
with s_vtweg in so_vtweg
with s_spart in so_spart
with s_vstel in so_vstel
with p_fkdat = fkdat
with p_fkdab = fkdab
with p_kunnr in kunnr_sel
with p_fkart in x_fkart
with p_lland in x_lland
with s_vbeln in x_vbeln
with p_sort in x_sortk
with p_allea = allea
with p_allel = allel
with p_alleb = alleb
with p_allei = allei
with p_allef = allef
with no_faksk = no_faksk
with p_pdstk = p_pdstk
with p_samml = 'X'
WITH P_ANZEI = ANZEI
WITH P_VARNR = GS_SD_ALV-variant
and return .
Similar Messages
-
How can we call creen of one program from some other dynpro Program
Hi,
Is it possible to call a screen of one program from some other program as pop up or full scree.
please give you input if it is possible.
Thanks in advance.
Thanks and Regards,
Praveen.Hi,
But is there is any function module through we can call screen of some other program. PLease let me know if you are aware of that.
Thanks -
FM to pass one variant to another called program from a calling program
Hi Gurus,
Please let me know the name of the function module to pass one variant to another called program from a calling program without displaying the selection screen of the called program.you can use fm rs_variant_fetch to retrieve the variant info.
Check the abap help on the statement submit to get info on how to call a program with variables, or a variant
Kind regards, Rob Dielemans -
Call Program from another Program using varient
Hi...
How to call program from program with varient....?
i have used submit but how to pass varient dynamically.
Regards,
ChintanHi,
Use the FM SUBMIT_REPORT
OR
SUBMIT <Program Name> VIA SELECTION-SCREEN
USING SELECTION-SET <VARIANT>
AND RETURN. -
To all concern,
My iphone4S suddenly became totally screen blackout,I try to call it from my other mobile its still ringing at the vibration still working how can I fix it,please help me Apple CommunitiesTry to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again. You will not lose data by resetting.
If this does not work, connect in recovery mode to your computer and restore, explained here:
iOS: Unable to update or restore -
Is Two Classes that call methods from each other possible?
I have a class lets call it
gui and it has a method called addMessage that appends a string onto a text field
i also have a method called JNIinterface that has a method called
sendAlong Takes a string and sends it along which does alot of stuff
K the gui also has a text field and when a button is pushed it needs to call sendAlong
the JNIinterface randomly recieves messages and when it does it has to call AddMessage so they can be displayed
any way to do this??Is Two Classes that call methods from each other possible?Do you mean like this?
class A
static void doB() { B.fromA(); }
static void fromB() {}
class B
static void doA() { A.fromB(); }
static void fromA() {}
.I doubt there is anyway to do exactly that. You can use an interface however.
Interface IB
void fromA();
class A
IB b;
A(IB instance) {b = instance;}
void doB() { b.fromA(); }
void fromB() {}
class B implements IB
static void doA() { A.fromB(); }
void fromA() {}
.Note that you might want to re-examine your design if you have circular references. There is probably something wrong with it. -
Hi all,
How can i call another program from a plsql code.
For example opening a notepad in windows from plsql code.
Please give detailed explanation
Thanks
AkshatIf the purpose is scheduling external programs, the best way would be to use the Oracle Scheduler.
[url http://docs.oracle.com/cd/E11882_01/server.112/e25494/schedover.htm#i1106753]Chapter 28, [url http://docs.oracle.com/cd/E11882_01/server.112/e25494/scheduse.htm#i1033533]Chapter 29 and [url http://docs.oracle.com/cd/E11882_01/server.112/e25494/schedadmin.htm#i1007589]Chapter 30 in the Administrator's Guide.
Particularly [url http://docs.oracle.com/cd/E11882_01/server.112/e25494/scheduse002.htm#CIAJCFHE]Techniques for external jobs.
Scheduler jobs is the best way, because security is built into the system - you can use proper O/S credentials, grant rights, etc.
Manually calling external jobs from PL/SQL is not as easy. It is possible using for example some Java stored procedure, but it is more difficult to ensure security - it can too easily open up for your database users to execute too many possible O/S commands ;-)
Edit:
PS: Tim Hall shows some examples of Scheduler usage [url http://www.oracle-base.com/articles/10g/Scheduler10g.php]here - one of the examples is calling a shell script (unix lingo for batch job ;-) )
Edited by: Kim Berg Hansen on Nov 30, 2011 12:56 PM -
Issue calling program from transaction with selection criteria
Hi Guys,
I ve a issue regarding calling a program from transaction.
There is a standard transaction calling a program using selection criteria no (say for eq 10 fields, just look at the eg below)
Submit <table-proname> and return using selection-set <table-varia>
With rbukrs = i_bkorm-burks Comp Code
with Revent = i_bkorm-event event
with rbelnr = ibkorm-belnr Doc no
with rgjahr = ibkorm-gjahr fiscal year
with ruzeit = ibkorm-ruzeit time
with rusnam = ibkorm-rusnam user name
And so on
Now, In my program selection screen i ve only three fields, (not all mentioned above)
Parameter:
Rbukrs type bukrs, comp code
Rbelnr type belnr, doc no
Rghar type gjahr. fiscal year
Now, i configure this transaction with this program i can able to run this program from transaction.
Is every thing go right, Pls give your sugg
Points & help awarded.
Thanks in advance.Hi,
you can call the program using 3 selection screen fields even though it is having 10 fileds, but before calling make sure that there is no mandatory fields (in rest of the 7 fields), then it will runs you report.
reward if needful.
Thanks,
Sreeram. -
Call Program from another Program using varient via Selection Screen
I am calling a standard report from my Z Program via Selection screen.
Is there any way to hide the Execute button that is seen when we see the called program selection screen?Hi Shyam,
Thanks for the quick reply.
But my requirement is to show the selection screen of called program as i need to make some values changes in the selection Screen.
However, the user can accidently click the execute button which i dont want thats why i need to hide the execute button.
My aim is to change values of selection screen but nto execute it.
Is it possible? -
Come back to calling program from Call Transaction
Hi,
From my program, i am calling a standard tcode :
Call Transaction - sy-calld is set in called transaction which deactivates some buttons there.
Leave To Trnasaction - sy-calld is not set , but then I am not able to come back to the calling program.
Please tell me how should this be achieved.
ThanksHi, shalaxy s
If you do mean calling the transaction and being able to go back !!
You can use the following
For Example : CALL TRANSACTION 'SE80' VIA SELECTION-SCREEN AND RETURN.
OR: CALL TRANSACTION 'SE80' AND SKIP FIRST SCREEN.
Best Reagrds, AlMaReD
Edited by: AlMaReD on Jun 12, 2010 9:47 AM -
Can't execute a DOS program from a Java one
Hi everyone !
I'm a student, working as an apprentice in a company, and I have to make a program to execute faster some daily routine.
Here's my problem : I'm trying to execute a DOS program (mkisofs.exe) whick takes numerous arguments and enables me to create an ISO file.
But, for now, I can't manage to make it work. I've used both Process and ProcessBuilder, but in vain (I'm a student, and not really a JavaProgrammingStar).
If I would manually execute the command, I'll have to type under DOS the following command :
"C:\Documents and Settings\myName\Desktop\Current\Local\mkisofs.exe" -r -J -l -L -b "isolinux/isolinux.bin" -c "isolinux/isolinux.cat" -no-emul-boot -boot-load-size 4 -boot-info -table -graft-points -o D:\ISO\toto.iso "C:\Documents and Settings\myName\Desktop\Current\Local\Clonezilla"or (without spaces)
C:\docume~1\myName\Desktop\Current\Local\mkisofs.exe -r -J -l -L -b "isolinux/isolinux.bin" -c "isolinux/isolinux.cat" -no-emul-boot -boot-load-size 4 -boot-info -table -graft-points -o D:\ISO\toto.iso C:\docume~1\myName\Desktop\Current\Local\ClonezillaTill now, I've only managed to execute windowed program such as MsPaint.exe or DOS program from System32 directory such as taskkill.exe, but I couldn't execute, for example, tasklist.exe, or at least, I couldn't see the result of this command.
Can anyone help me ?
If some code is needed, jsut tell me.
Thanks by advance !
HubertOk guys, I'm French, so excuse me if I didn't use the correct terminology, but I'm quite sure you understood that I was talking about MS-DOS command prompt in Windows XP.
Then, of course I've STFW, but none on my tries was successful. So a little help would be appreciated.
I've first tried this :
ProcessBuilder pb = new ProcessBuilder("cmd.exe", "/K", "mspaint.exe");
pb.redirectErrorStream(true);
try {
Process p = pb.start();
BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
try {
String rep = in.readLine();
System.out.println(rep);
} finally {
in.close();
} catch (IOException e) {
e.printStackTrace();//repTF.setText("erreur");
}It worked.
But this :
String CMD = "C:\\docume~1\\myName\\Bureau\\Current\\Local\\mkisofs.exe";
String arg1 = "-r -J -l -L -b \"isolinux/isolinux.bin\" -c \"isolinux/isolinux.cat\" -no-emul-boot -boot-load-size 4";
String arg2 = "-boot-info -table -graft-points -o D:\\ISO\\toto.iso C:\\docume~1\\myName\\Bureau\\Current\\Local\\Clonezilla";
ProcessBuilder pb = new ProcessBuilder(CMD, arg1, arg2);
pb.redirectErrorStream(true);
try {
Process p = pb.start();
BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
try {
String rep = in.readLine();
System.out.println(rep);
} finally {
in.close();
} catch (IOException e) {
e.printStackTrace();//repTF.setText("erreur");
}does'nt.
What's wrong ? I should use a String table for args ? -
Hallow I build a function in se37 ,and in the function I wont to delete file from server now I have a program
in se 80 that can do that (YHR_DELETE_FILE_FROM_SERVER)the program have just one parameters (the path of the file I wont to delete )
How I can call to this program in my function.
regards
did some one now about function that can delete file from server?Hi antonio,
1.in se 80 that can do that (YHR_DELETE_FILE_FROM_SERVER)t
2. use like this in your FM
<b>SUBMIT YHR_DELETE_FILE_FROM_SERVER
WITH
parameter1 = myfilename.</b>
regards,
amit m. -
How to call amethod from some other application
Hi,
I have two web application running on the tomcat say [a] and . I need to call a method from [a] in [b] without adding the reference jar file of [a] in [b].
How to do this?
Please guide me..
Thanks in advance.Hi,
is not dependent on [a]. Two applications will be running on tomcat. There are some java classes in [a]. I need to invoke the method of those classes in [a] from [b] without replicating the classes of [a] in [b].
Is there any way to do this? -
Two IOS images in flash - how to boot from the other one?
A contractor used a flash drive to copy a new IOS image into flash; however, I cannot get the second image to boot - a 'boot flash:[file]' command had no effect after reboot.
3560#sh flash
Directory of flash:/
2 drwx 192 Feb 28 1993 19:09:36 -05:00 c3560-ipservices-mz.122-23
406 -rwx 109 Feb 28 1993 19:09:36 -05:00 info
407 -rwx 616 Feb 28 1993 19:02:31 -05:00 vlan.dat
409 -rwx 79 Feb 28 1993 19:07:25 -05:00 private-config.text
410 -rwx 9031259 Nov 8 2007 12:30:34 -05:00 c3560-ipservices-mz.122-4n
411 -rwx 7382 Feb 28 1993 19:07:25 -05:00 config.text
412 -rwx 1048 Feb 28 1993 19:07:25 -05:00 multiple-fs
32514048 bytes total (14492672 bytes free)
3560#sh boot
BOOT path-list : c3560-ipservices-mz.122-40.SE.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : no
Manual Boot : no
HELPER path-list :
Auto upgrade : yes
3560#
Are there any commands to move images within flash directories, or how else can I direct the boot loader to the second image?
Thanks,
MarcYes, the output was incomplete:
I didn't make any other changes, but apparently a second reboot got the image to stick:
DR-3560#sh ver
Cisco IOS Software, C3560 Software (C3560-IPSERVICES-M), Version 12.2(40)SE, RE)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Thu 23-Aug-07 20:03 by myl
Image text-base: 0x00003000, data-base: 0x01600000
ROM: Bootstrap program is C3560 boot loader
BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(25r)SE1, RELEASE SOFTWA)
DR-3560 uptime is 52 minutes
System returned to ROM by power-on
System image file is "flash:c3560-ipservices-mz.122-40.SE.bin"
cisco WS-C3560G-48TS (PowerPC405) processor (revision A0) with 122880K/8184K by.
Processor board ID xxxxxx
Last reset from power-on
3 Virtual Ethernet interfaces
52 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Model number : WS-C3560G-48TS-E
Switch Ports Model SW Version SW Image
* 1 52 WS-C3560G-48TS 12.2(40)SE C3560-IPSERVICES-M
Configuration register is 0xF
3560#
Thanks for being a good sounding board!
Marc -
Launching different programs from a central one
Is it possible to get to one a separate from the one that you are working with?
If it is, how do you do it?Can you be more specific about what I need to do with
that.You can google on it. There are several tutorials/articles which explains how to use Runtime.exec.
(You want to google on e.g.: java start process runtime.exec)
Kaj
Maybe you are looking for
-
Sharing between two macs with one user account?
Is it possible to connect two macs to share documents and music if they are both logged into the same user account? I recently bought a Mac Mini and when setting it up, I transferred everything from my Macbook Pro to it, including my user profile whi
-
new one wont receive my playlists from my library. what am i doing wrong? It looks like they are synched and i have the latest version of itunes on both but the only way to access my music is through the store
-
Open a document in same window
Hi We have a requirement to open a document in same window(lower part) when a link or button is clicked. Is there any sample explaining how to do that?
-
Itunes with vista losing dvd drive
Using Vista with sp1. Issue is that when I install Itune I lose my dvd drive. When I fix the dvd problem using this fix: dbvd drive lost after itunes installation solution delete device and open nofilters.reg in batch folder and say yes to merge note
-
Time machine slow, backing up 1,800,000 items of a few MB total?
I recently bought me second time capsule (1st one died) and use time machine to back up. It took some days to get everything on it (i'm patient, and didn't have a network cable), but now it got sort of stuck. Everytime time machine starts, it says th