Submit command in WD How?
Hi,
I have this code it is possible to use it in WD.
SUBMIT YER00268 TO SAP-SPOOL WITHOUT SPOOL DYNPRO
SPOOL PARAMETERS V_LOC_MSTR_PRINT_PARMS
WITH SELECTION-TABLE INT_SELTAB
AND RETURN.
and if not, how i can change it to run in WD, Reply
BR,
Ali
Hi Ali,
Sorry to say SUBMIT does not work from the webdynpro ABAP. So you have to take a different approach, i.e to write a Function Module that in effect contain source to do exactly what
SUBMIT YER00268 TO SAP-SPOOL WITHOUT SPOOL DYNPRO
SPOOL PARAMETERS V_LOC_MSTR_PRINT_PARMS*
* WITH SELECTION-TABLE I_INT_SELTAB*
AND RETURN.*
intends to do.
Greetings
Prashant
Similar Messages
-
I have used the submit command in my program as follows:
SUBMIT rbdapp01 WITH SELECTION-TABLE rspar_tab EXPORTING LIST TO
MEMORY AND RETURN.
This is working fine. But I want the updated values present in the program rbdapp01 populated in my internal table.
i.e in the program rbdapp01 the idoc status is changed from 64 to 53. I want this new status to be updated to my internal table. How can I do that? Please do help me.Hi you always free the memory id as
FREE mEMORY ID <NAMEOF ID>
and refresh the itab. -
Hi,
I am calling rvv50r10a program in my report using submit command. I created a variant in the selection screen of rvv50r10a. Now I want Deliv.creation date to have space for both low and high value. Am not able to save the high value as SPACE in the variant. How to make the high value as space.
Please advice.
Regards,
VanathiHave a look at the following code and put space as high and low value in the range table for delivery creation date. Instead of creating a variant try doing it as in the following code.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = JOBNAME1
IMPORTING
JOBCOUNT = JOBCOUNT1
EXCEPTIONS
CANT_CREATE_JOB = 1
INVALID_JOB_DATA = 2
JOBNAME_MISSING = 3
OTHERS = 4.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
SUBMIT RHALEINI
WITH SELECTION-TABLE RSPAR_TAB1
WITH PCHOTYPE EQ 'P'
WITH PCHPLVAR EQ '01'
WITH PCHZTR_D EQ 'X'
WITH RCVPRN EQ S_PART
VIA JOB JOBNAME1 NUMBER JOBCOUNT1
AND RETURN.
IF SY-SUBRC EQ 0.
WRITE / TEXT-A00.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = JOBCOUNT1
JOBNAME = JOBNAME1
STRTIMMED = 'X'
EXCEPTIONS
CANT_START_IMMEDIATE = 1
INVALID_STARTDATE = 2
JOBNAME_MISSING = 3
JOB_CLOSE_FAILED = 4
JOB_NOSTEPS = 5
JOB_NOTEX = 6
LOCK_FAILED = 7
INVALID_TARGET = 8
OTHERS = 9.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
I am trying to set up my newly purchased Apple TV but when I enter my network password while setting up, I am not able to enter the Submit button, any idea how to hit the visible submit button that is visible on screen but not responding?
You need to use the right arrow on the remote to go all the way to the right. The submit button will be highlighted and you can then press select on the remote to proceed.
-
Submit command in configuration of apple tv
After entering my password during apple tv setup, I cannot move to the submit command under the password
Well, I got the answer to my question from apple support. Nicole told me a common problem is that the right arrow must be repeatedly pressed in order to advance to the submit command. The down arrow was the logical choice but that never worked. Nor did the right arrow unless you repeately pressed it. So all is well now.
-
Dear All,
I am using submit command with selection screen parameters of the called program and making a spool out of it and then converting spool output to pdf and sending it on through mail. While running the program in Development client it gives the full output but when I run it in Quality client it is not giving the output . I debugged it and found out that when submit command returns the output in development it gives the full output but in quality it is not giving the output . I have executed the called program separately with the same parameters it is running fine but not with submit command.
Regards,
Amber BhatiaHere is the code where i am using Submit Command .
*opening a job to be send to spool
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = NAME
IMPORTING
JOBCOUNT = NUMBER
EXCEPTIONS
CANT_CREATE_JOB = 1
INVALID_JOB_DATA = 2
JOBNAME_MISSING = 3
OTHERS = 4.
IF SY-SUBRC = 0.
*submit the created job with selection parameters
SUBMIT HINCEDT0 TO SAP-SPOOL
SPOOL PARAMETERS PRINPAR
WITHOUT SPOOL DYNPRO
WITH PNPXABKR = P0001-ABKRS
WITH PNPPERNR = PERNR-PERNR
WITH PNPBEGDA = PN-BEGDA
WITH PNPENDDA = PN-ENDDA
WITH PNPABKRS = P0001-ABKRS
WITH FORMULAR = 'ZJK9'
VIA JOB NAME NUMBER NUMBER
AND RETURN.
ENDIF.
IF SY-SUBRC = 0.
*closing the job which was send earlier
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = NUMBER
JOBNAME = NAME
STRTIMMED = 'X'
EXCEPTIONS
CANT_START_IMMEDIATE = 1
INVALID_STARTDATE = 2
JOBNAME_MISSING = 3
JOB_CLOSE_FAILED = 4
JOB_NOSTEPS = 5
JOB_NOTEX = 6
LOCK_FAILED = 7
OTHERS = 8.
I am executing the program HINCEDT0 using the above parameters ..
Regards,
Amber Bhatia -
ADT command line packaging - how to add an ANE?
Hi,
I need to compile an iOS app from the command line.
How to add an ANE to a command line packaging?
This is what I have so far:
./adt -package -target ipa-app-store -storetype pkcs12 -keystore iOS7.p12 -provisioning-profile Foo_DragDrop_iPad.mobileprovision Foo_iPad.ipa Foo_iPad-app.xml Foo_iPad.swf FooIcon29.png FooIcon40.png FooIcon48.png FooIcon50.png FooIcon57.png FooIcon58.png FooIcon72.png FooIcon76.png FooIcon80.png FooIcon100.png FooIcon114.png FooIcon120.png FooIcon128.png FooIcon144.png FooIcon152.png FooIcon512.png FooIcon1024.png Default-Landscape.png
I hope somebody can help me!Thanks mate!
-
Only with YES it should be possible to submit, not the negative. how do I set it?
I would like to create a forms with formscentral.acrobat.com. at the conclusion I want to insert the terms and only with YES it should be possible to submit, not the negative. how do I set it?
You can use a single checkbox field and make it required. It will have to be checked otherwise the form cannot be submitted.
I think this is what you are asking for...
Randy -
HT3176 How do you use the submit command?
HOw do I use the Apple TV remote to submit after typing?
You can use Runtime.exec to execute other processes from Java. You'll want to read this though:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html -
How to run batch programs using SUBMIT command without any interaction need
Hello ABAP gurus,
I have created a batch program in SE38 which calls many other SE38 Programs (Reports).
I have used the command SUBMIT to call the sub programs. There are about 15 sub programs that this main batch program is calling.
It works fine, but after calling each subprogram it stops and I have to manually click on 'Back Button' in green on the sap screen to run the next program in the list. Like this I have to do 15 times to run all the programs in the batch.
Is there a way to avoid this manual intervention and make the program run all the sub programs on its own.
Your feedback will be highly appreciated.
Thanks
RamThanks Sampath for the response.
Yes I am using the option "AND RETURN". So it is coming out of each sub program, and it is at this stage it waits for me to click on 'backward green arrow' to continue to the next.
Here is the code I have used
SUBMIT Z_AS_BI_F0005_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
SUBMIT Z_AS_BI_DIVISION_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
SUBMIT Z_AS_BI_COMPANY_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
SUBMIT Z_AS_BI_CUSTOMER_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
SUBMIT Z_AS_BI_BRANCH_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
SUBMIT Z_AS_BI_BUS_UNIT_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
SUBMIT Z_AS_BI_ADDRESS_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
SUBMIT Z_AS_BI_CUSTOMER_GROUP_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
SUBMIT Z_AS_BI_GROUP_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
SUBMIT Z_AS_BI_PMT_TERMS_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
SUBMIT Z_AS_BI_REGION_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
SUBMIT Z_AS_BI_TERRITORY_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
Any other suggestions or feedback will be appreciated.
Tks
Ram -
SUBMIT command; for print dialog box-how to pass parameter here?
Hi Gurus,
I am calling a report from another report. Inside report_2 i am using,
When i execute report2, i get a PRINT DIALOG BOX
Here i need to enter the output device name. and again excute.
I am not able to automate this in my program. Could you suggest?
Through F1 help, i found the screen_field name(of the output device parameter) to be 'SFPOUTPAR-DEST'
and i enter default output device 'PDEST'
where do i give this?
and also, after this, i need to do a 'Print Preview' action and see if file is opening up.
Can i automate these actions?
I am using:
rspar_line-selname = 'SFPOUTPAR-DEST'. // the output device parameter name
rspar_line-kind = 'S'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = 'PDEST'. // PDEST is the default value i want to pass
APPEND rspar_line TO rspar_tab.
Then i do, (inside report 2....)
SUBMIT report_1
WITH SELECTION-TABLE rspar_tab
AND RETURN.
Its not working... i just get the print dialog box(without values being defaulted)
How do i proceed?
Thanks,
RashmiHi
You can do the following way.
data : lv_pri_params like pri_params,
lv_user_name type char16,
lv_user_name0 like tbtcjob-authcknam.
lv_user_name = sy-uname.
lv_user_name0 = sy-uname.
call function 'LOAD_PRINT_PARAMETERS'
exporting
key = lv_user_name
importing
out_parameters = lv_pri_params
exceptions
error_occured = 1
others = 2.
if sy-subrc <> 0 or lv_pri_params-pdest is initial.
select single padest into lv_pri_params-pdest from tsp03.
endif.
submit report1
with selection-table rspar_tab
destination lv_pri_params-pdest
copies lv_pri_params-prcop
list name lv_pri_params-plist
immediately space
keep in spool 'X'
new list identification 'X'
line-count lv_pri_params-linct
line-size lv_pri_params-linsz
sap cover page lv_pri_params-prsap
cover page lv_pri_params-prbig
without spool dynpro
user lv_user_name
and return.
Reward Points, if it is useful.
With Regards
Raja.
Edited by: Ravindra Raja on Jun 24, 2008 4:15 PM -
Custom KM UI Command -- ClassNotFoundException. How to structure project?
Hi,
I'm tired of trying around, so I'm coming here, in hopes that someone can help me (I'm sure there is) :). I'm trying to create two commands (Archive and Push to topnews). The first command will put a resource to a predefined location, whils the second will take an existing document from one folder and replace it with the currently selected resource. The code for doing this is ok, but I cannot display the commands on the context menu!
I've created a separate layout set with a custom ResourceRenderer with a custom resource command group where my commands are defined in addition to several other, standard ones. The commands have been defined as:
<package>.<classname> for both "Java class" and "Bundle file" attributes of the UICommand in addition to the properties file with my label and tooltip.
I'm getting a ClassDefNotFound error no matter what I do. Even if I put it in the src.api or src.core folder I get this error in the trace. I was wondering if anyone could tell me how to structure the PAR file as I think I maybe missing something here...
In advance, thanks
Hans PetterHi Hans,
In order to isolate this problem, you can use this example: "Implementing Flexible UI One-Step-Screenflow".
from:
Guide to examples:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/Knowledge%20Management%20and%20Collaboration%20Developers%20Guide.html
You can download this project, deploy and test this command. I have created commands using this example.
Patricio. -
I've lost my menu bar and command bar. How do I get them back?
Now that they're gone, right clicking does not bring up an option to re-enable them.
By "command bar" I mean the edit box where you enter a new website. Maybe it's called the address bar.For details of how to restore the menu bar see [[menu bar is missing]].
-
Filenames as Command Line Arguments: How?
i need to create a program that involves taking in a file name as command line argument, reads the file and then displays its contents on the screen. it needs to work with any file with a .txt extension.
The only thing i dont fully understand is how to read the file name as a command line argument e.g.
"java FileReaderApp myfile.txt
----contents of file--------
Thanks in advance
Carl
P.S. I have lready read the various helps, utils etc for java and still dont really understandOkay, first, it will help if you don't think of "filenames as command line args." The two concepts are totally independent.
Command line args are Strings. What you do with those Strings is up to you. Processing the command line args is the same, regardless of whether they represent file names or the turnons of the last 50 playmates.
The args array below contains the command line args.
public static void main(String[] args) {
// do stuff
} Files are generally referred to using the java.io.File. It takes a String for the file name. It doesn't matter where the String comes from.
Look at FileReader and BufferedReader to actually read the contents of the file.
http://java.sun.com/j2se/1.4.2/docs/api/java/io/FileReader.html
http://java.sun.com/j2se/1.4.2/docs/api/java/io/BufferedReader.html
For the basic command line arg stuff, one of the following should have some info and examples
http://java.sun.com/docs/books/tutorial/
http://java.sun.com/learning/new2java/index.html
http://javaalmanac.com
http://www.jguru.com
http://www.javaranch.com
Bruce Eckel's Thinking in Java
Joshua Bloch's Effective Java
Bert Bates and Kathy Sierra's Head First Java -
Run 2 systems command in applet, how?
I have an applet in which the following code works fine on a windows machine for a VM windows-based router I am developing:
Process f;
String cmd="tftp -i 192.168.1.101 GET router_image.exe";
try{
f=Runtime.getRuntime().exec(cmd);
}But I also need to add a 5 second pause and then run the router_image.exe.
Using the above commands (or modifications thereto), is this possible? If so, what would need to be done.
Thanks.bulgin wrote:
I've looked over many of your other posts, a snippet of the over 18,000 you have posted over 10 years -- wow, that's quite a record of trying to prove oneself.Congratulations. Next, try the "living in your parent's basement" line.
So you told me to "Just stick those lines in after the exec." to be cynical and prove to me how little I know?I told you that because it answered the question.
To set a trap that you could then refer back to in your apish chest-pounding display of machismo?No, and quite frankly that interpretation of the events is paranoid.
What level of assistance did you expect? That I'd read your mind regarding what problems you were having understanding the issue and the goals of the project, review all your code to see if it matched, correct it all, and provide the completed work to you?
If you feel that my knowledge of Java which I admit is meager, is not up to snuff for the "New to Java" forum, then perhaps you can suggest to the forum administrators that they open another another one. I'm sure you will have no problem contributing."New to Java" doesn't mean "bears no responsibility to express the nature of the problem fully" or "all work will be performed for the newbie".
As for me, I'm going to click on the abuse link at the top and report you. The nature of the abuse being, I gave you some advice, you followed it, another problem turned up, you complained because you expect everything to work perfectly the first time and so you felt the advice was somehow backhanded, and when I gave you more advice, you felt that it was disparaging.
You've certainly made my initial inquiry into java a great learning experience! If you learned that you don't get to be spoonfed, and that coding involves repeated corrections, and that not everyone is your parent, then that would be great. Sadly, I suspect you may have failed to learn that lesson.
Thanks!You're welcome, Captain Sarcasm.
Maybe you are looking for
-
Multiple apple IDs. Considering adding an icloud email address.
I've had my apple ID, which is my name, for MANY years. At some point, I was forced to change my apple ID to an email address. I changed it to a yahoo.com address, an email address I've had for ages. Now I have 2 apple IDs. When I do updates on m
-
Since I'd installed the new version of iTunes, iCal and Address book do not sync with my iPhone 3GS through iTunes anymore and I get an error message stating that iTunes can not sync with this iPhone. Was must i do to correct this issue and if i must
-
so still trying to figure out why i can no longer burn discs and it still says no disc burner software found. here is my diagnostics Microsoft Windows 8 x64 Home Premium Edition (Build 9200) To be filled by O.E.M. To be filled by O.E.M. iTunes 12.0.1
-
Hi All, I am generating the report output in ALV list and downloading in the PDF format. It is working fine. But I am not able to print last line(AS SOME TEXT) on each page of the report. I think the output of report in ALV LIST does not show the END
-
IWeb Podcast - Drag and Drop Audio and Picture Files
I have been using iWeb the last few days to create a web site that includes some podcasts. I currently have three podcasts as a part of the site. I have been able to get two of the podcasts to work correctly but the third one, no matter how many time