Submit command in BSP
i m using submit repname.....exporting list to memory in my BSP page..then using write_list / disply_list i want to disply the exported abaplist .
But write_list / display_list doesnt work in layout..
can not display screen with plugins is the error.
please give me a solution on this...
My aim is to call a ABAP report program from a bsp and display the results.
Hi Seshadri,
please have a look at the following thread:
Re: Conversion ABAP Report to BSP Application
The answer given by Thomas Jung is important for your problem.
Regards,
Rainer
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. -
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 -
How to recognize web browser refresh command in bsp code
Hi,
I have designed a bsp page on my solman system on which there are some buttons. When I refresh the web browser my last button command is executed again. Is there any way to prevent the last bsp command when I refresh the web browser.
Regards,Hello Ekrem,
I developed standard BSP (Page With Flow Logic) and I checked it behavior.
From what I saw: when I pressed the Refresh button it didn't get into OnInputProcess method. only to OnIntialization method, so the button doesn't executed again.
Try to clear event variables after you use it, may be it will help.
Good Luck
Eli Steklov
Please Reward Points If It Helped -
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 -
Data passing from Adobe from submit button to BSP controller with XML
Dear Friends
How are you. I am developing one BSP application with Adobe interactive form. To complete this task I have use following linked solution. ( A PDF file that tells how to use Adobe forms with BSP application ).
My application runs fine 50%. I did the same things what the tutorial told me and I am seeing the page in the webbrowser with Adobe from what i have developed.
In the form I have put SUBMIT button and I have set properties as well... I have give full url as well for the controller to take data there over XML.
In the controller I am not receiving any value. I have attached the code beneath as well... please tell me where I am making mistakes. I am thanking you. Any help will be appreciated.
data: formxml type string.
formxml = request->get_cdata( ).
data: streamfactory type ref to if_ixml_stream_factory.
data: istream type ref to if_ixml_istream.
streamfactory = g_ixml->create_stream_factory( ).
istream = streamfactory->create_istream_string( formxml ).
data: document type ref to if_ixml_document.
document = g_ixml->create_document( ).
data: parser type ref to if_ixml_parser.
parser = g_ixml->create_parser( stream_factory = streamfactory
istream = istream
document = document ).
parser->parse( ).
data: node type ref to if_ixml_node.
data: strchecked type string.
node = document->find_from_name( name = 'ACC_REQ'). <------ Node is empty
strchecked = node->get_value( ).
This is the link of the solution what i refered to complete this application:
http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417500)ID0005508150DB01147043631230799453End?rid=/library/uuid/d0e58022-2a39-2a10-69a8-c1a892e2b3f4&overridelayout=trueDear Naeem,
Actually i also tried the same link. For me its displayed the form. After giving the input when i click for submit nothing will happen.
Its blinked and displayed the same page. I think for the node is getting value and some where its doesnt retrive the value.
I will check and get back you soon once i found.
Regards,
Anita Vizhi Arasi B -
Hi,
we have opened a Adobe from in a BSP page and we are trying to submit it using URL Encoded Data (HTTP Post ) .We have specified the controller "processform.do" in the submit to url box.
On clicking submit , it says the URL not found/ cannot connect to server. its trying to look for URL http://processform.do
Please suggest!!
Thanks
Puneet GuptaHello,
I have replaced your question to the correct topic.
Best regards,
Dezso -
ii have 2 fields tanum tapos
in the first screen the mark is in tanum
after i enter data to tanum tapos i make submit and the mark is in tapos
i want him in <b>tanum</b>
like in lt11
what the solutionHi !
The code construction "SUBMIT.... " only works if:
- The called program has to be a REPORT
- Every data the called report needs can be given via
PARAMETER-ID to the transaction
- No other action then "pressing F8" is neccesery on the entry screen
If ther's an input to do that is NOT on the entry screen "SUBMIT...." will not work here !!
In these cases you'll have to work with "CALL TRANSACTION .... using bdcdata".
(See Code-Online-Help for that command)
Regards
Rainer
Some points would be nice if that helped.... -
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 -
Possible to Modify Submit Commands?
I am a new user to Adobe products. Currently I am working in Adobe Acrobat 9 Professional. I am in the process of creating a multi page form for users to complete & email back to myself and other department members in my group. The forms include fill in data fields and the document has been saved to extend features to Adobe Reader users. Is it possible to include different submit fields throughout the same document? For example, can a submit button be added for pages 1 to 2 where only that portion of the document is emailed to specific members of our department and not others. We would also want to create a different submit button for pages 3 to 4 to go to a different email distribution listing & include only those pages and not the first two. Presently, the forms are saved as separate documents, but we would like to merge into a single document since there is duplicate data that users have to enter.
Also, I noticed that when users select the submit button the document is attached to an email & is removed from their screen. If multiple submit buttons are a possibility, can the document continue to remain on the user's screen to allow them to finish & submit the remaining portions of the form?
Thank you for any help you can offer.You cannot do what you want. To get that level, you are better off placing the form on a website (No worries about number of instances being used, extended rights limit you to 500 instances). With a properly written script the information from the pdf file can import the information from the fields and either sent to the appropriate people or inputted into a database which people can then query. You can restrict who sees what in the database. This is the best way to handle forms that have information that must be used by different people.
-
Hi All,
I am calling the standard report in the fumctiom module using submitt command. After that one i am using LIST_FROM_MEMORY after that i am using below function module
CALL FUNCTION 'LIST_TO_ASCI'
TABLES
listobject = list_tab
listasci = txtlines.
But in the table txtlines i am getting the report output but some fields are not coming in txtlines table. For example original report giving 45 fields in the output but in txtlines table i am getting 20 fileds only.
Please tell me how to solve this issue.It is solved .
-
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,
AliHi 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 -
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
Maybe you are looking for
-
IOS 6.1.3 / Windows 7 - 64 bit. I am connecting my IPhone 4 to my Windows desktop, in ITunes I click on IPhone and then the "Check for Update" tab. It takes me to a Windows explorer window. How do I get it to find updates?
-
Hung on "Waiting for dictionary redo: first scn"
Hi I'm on Oracle 10.2.0.4 with the following Streams setup with databases in brackets: [capture process -> capture queue -> propagation] -> [apply queue -> apply process]. The capture was running but is now stuck on "waiting for dictionary redo: firs
-
Roles in Exchange infrastructure
Hello.. I have a question for all of you... Can we create roles in Exchange infra structure for accessing the data ?(Either from SLD or IB) Basically i need to create the roles for developers ....they need to have their owne individual folder kind o
-
i have a servlet centric architecture where i am creating a bean in the servlet and passing it to a jsp using the setAttribute() method. MyBean myObject = new MyBean(); myObject.setProperty1(value); myObject.setProperty2(value); request.setAttribute(
-
Transferring money between checking accounts when using Numbers
I have multiple checking accounts. I have set them up so each account has it's own page within a workbook. I frequently transfer money between accounts. How do I set it up so transfers don't appear as income/expenses?