How to export to memory using submit statement?
hi friends,
There is a standard report RPTQTA10.
After executing this report using submit statement i want get the result from the QTTRANS itable of RPTQTA10 to our local itab of BSP.
After this from local itab of BSP i want display some fields of local itba.
Any solutions plz....
Regards,
shankar.
hi,
thanks for ur reply.
but i am getting error like this in IE.
Note
The following error text was processed in the system IT3 : Exception condition "CNTL_ERROR" raised.
The error occurred on the application server itcsvr_IT3_01 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Form: CONSTRUCTOR of program CL_GUI_CUSTOM_CONTAINER=======CP
Form: PBO of program SAPLSLVC_FULLSCREEN
Module: PBO of program SAPLSLVC_FULLSCREEN
Function: REUSE_ALV_GRID_DISPLAY of program SAPLSLVC_FULLSCREEN
Form: DISPLAY_LIST of program RPTQTA10
END-OF-SELECTION of program RPTQTA10
And my BSP code is like this in OnInitialization event.
SUBMIT rptqta10
WITH PNPPERNR-LOW = w_pernr
EXPORTING LIST TO MEMORY AND RETURN.
data: field(25).
field-symbols: <fs_tab> type STANDARD table.
field = '(RPTQTA10)QTTRANS[]'.
assign (field) to <fs_tab>.
MOVE <FS_TAB>[] TO it_qttrans[].
Here it_qttrans is local itab of BSP.
Regards,
Shankar.
Similar Messages
-
How to send report output from SUBMIT statement
Hi,
I need to develop one report whcih can be use to send any report output in mail as attachment in txt of execl format. So i will be using SUBMIT statement to execute the report in my new report and i need to convert the reportout in txt or excel format and need to send as attachment in mail. This new report can be use to execute any report which may have ALV GRid, Normal outout screen. So what could be the best way to develop this kind of report.
Br,
Piyush>
piyush mathur wrote:
> Hi Suhas,
>
> LIST_TO_ASCI will give me data in lines. and its difficult to separate the columns in another internal table for attachment file. As this report is going to use to send any report output so i can not fixed the delimiter. So i am looking some function which can split the data in columns when I am reading from List.
> Br,
> Piyush
No need to seperate nothing additionally, this will come automatically in the attached file. Draft below
DATA list_tab TYPE TABLE OF abaplist.
SUBMIT your_report EXPORTING LIST TO MEMORY
AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = list_tab
EXCEPTIONS
not_found = 1
OTHERS = 2.
DATA string_tab TYPE list_string_table.
"use table type appropriate for attchement
DATA ascii_tab TYPE soli_tab.
CALL FUNCTION 'LIST_TO_ASCI'
TABLES
listasci = ascii_tab
listobject = list_tab.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'C:\test.txt'
filetype = 'ASC'
TABLES
data_tab = ascii_tab.
DATA go_email_doc TYPE REF TO cl_document_bcs.
go_email_doc = cl_document_bcs=>create_document(
i_type = 'TXT'
go_email_doc->add_attachment( i_attachment_type = 'TXT'
i_attachment_subject = 'My Attachment'
i_att_content_text = ascii_tab ).
Regards
Marcin -
Create spool for background jobs which uses submit statement
Hi Gurus,
I have a quick question regarding the backgroud jobs. When we run a program in the background , it should create a spool for us, but, the problem comes when I am running a program in the background, its not creating the spool. This program uses SUBMIT statement. This program collects the data and it will submit to the other program and then retuen. In this case, its not creating a spool. Its very important for us to look at the spool for this program. Does anybody cam across this kind of problem? I need ur inputs.
Thanks in advance, <REMOVED BY MODERATOR>
Regards,
Srinivas.
Edited by: Alvaro Tejada Galindo on Mar 18, 2008 4:31 PMhi check this link ...
Scheduling a submitable program as a background task with the number number in a background request name. After scheduling, the background task is completed by function module JOB_CLOSE and released immediately.
DATA: number TYPE tbtcjob-jobcount,
name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
print_parameters TYPE pri_params.
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 submitable TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
AND RETURN.
IF sy-subrc = 0.
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.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
ENDIF.
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=backgroundsubmit&adv=false&sortby=cm_rnd_rankvalue
sy-subrc Meaning
0 Background task scheduled successfully.
4 Scheduling cancelled by user on the selection screen.
8 Error during scheduling, i.e. when accessing JOB_SUBMIT internally.
12 Error in internal number assignment.
regards,
venkat.
Edited by: venkat appikonda on Mar 18, 2008 6:32 PM -
Problem using Submit statement
Dear Experts,
I am trying to use submit statement in a report for transaction ML85. I have used the below code.
submit RMSRVF00 with FRGCO = 'S1'
with FRGGR = 'S1'
with listu = 'ENTRY_REL'
with ebeln = '4500000309'
AND RETURN.
But when I execute the report the values which I set are not filled and the screens opens with error message as '' Fill in all required entry fields". I am passing values for fields Releasecode - FRGCO, Release group - FRGGR, Purchase Order - EBELN, Scope of list - LISTU.
Please tell me why this message is coming and values are not set for fields.
KR,
Bharathhai,
try like this
SUBMIT ZVENDOR_REPORT_NEW1 USING SELECTION-SCREEN '100'
WITH SELECTION-TABLE TB_OUTPUT
WITH P_DATE = SY-DATUM
WITH S_ERDAT BETWEEN '01.01.2008' AND '01.06.2008'
AND RETURN.
or you can go in this way using type pools:
TYPE-POOLS RSDS.
DATA: TRANGE TYPE RSDS_TRANGE,
TRANGE_LINE LIKE LINE OF TRANGE,
TRANGE_FRANGE_T_LINE LIKE LINE OF TRANGE_LINE-FRANGE_T,
TRANGE_FRANGE_T_SELOPT_T_LINE LIKE LINE OF TRANGE_FRANGE_T_LINE-SELOPT_T,
TEXPR TYPE RSDS_TEXPR.
TRANGE_LINE-TABLENAME = 'TB_OUTPUT'.
TRANGE_FRANGE_T_LINE-FIELDNAME = 'S_ERDAT'.
TRANGE_FRANGE_T_SELOPT_T_LINE-SIGN = 'I'.
TRANGE_FRANGE_T_SELOPT_T_LINE-OPTION = 'BT'.
TRANGE_FRANGE_T_SELOPT_T_LINE-LOW = '01.01.2008'.
TRANGE_FRANGE_T_SELOPT_T_LINE-HIGH = '01.06.2008'.
APPEND TRANGE_FRANGE_T_SELOPT_T_LINE TO TRANGE_FRANGE_T_LINE-SELOPT_T.
TRANGE_FRANGE_T_SELOPT_T_LINE-SIGN = 'I'.
TRANGE_FRANGE_T_SELOPT_T_LINE-OPTION = 'NE'.
TRANGE_FRANGE_T_SELOPT_T_LINE-LOW = SY-DATUM.
APPEND TRANGE_FRANGE_T_SELOPT_T_LINE TO TRANGE_FRANGE_T_LINE-SELOPT_T.
APPEND TRANGE_FRANGE_T_LINE TO TRANGE_LINE-FRANGE_T.
APPEND TRANGE_LINE TO TRANGE.
CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'
EXPORTING
FIELD_RANGES = TRANGE
IMPORTING
EXPRESSIONS = TEXPR.
SUBMIT ZVENDOR_REPORT_NEW1 VIA SELECTION-SCREEN
WITH SELECTION-TABLE TB_OUTPUT
WITH FREE SELECTIONS TEXPR AND RETURN. -
How to export book pdf using custom presets for all book files in indesign using javascript
How to export book pdf using custom presets for all book files in indesign using javascript.
Hi jackkistens,
Try the below js code.
Note: you can change your preset name in below (e.g, Your preset name).
var myBook = app.activeBook;
myBook.exportFile(ExportFormat.PDF_TYPE, File (myBook.filePath+"/"+myBook.name.replace(/\.indb/g, ".pdf")), false, "Your preset name", myBook.bookContents, "Book_PDF", false);
example:
var myBook = app.activeBook;
myBook.exportFile(ExportFormat.PDF_TYPE, File (myBook.filePath+"/"+myBook.name.replace(/\.indb/g, ".pdf")), false, "[High Quality Print]", myBook.bookContents, "Book_PDF", false);
thx,
csm_phil -
Printing using SUBMIT statement
Hi
I have a problem in printing using SUBMIT.
I have three printers identified to print certain orders using submit statement.
the list of printers is given in a drop down and once the user selects a printer from the list, i have to generate a spool for the corresponding printer. But this is not happening. The spool is generated for the user's default printer defined in SU50. I have my submit statement below:
SUBMIT zppprbsel WITH aufnr EQ p_wa_batch_res_process_order
WITH werks EQ c_1201 "'1201'
WITH relvn EQ c_0 "'00000000'
WITH relbs EQ c_0 "'00000000'
WITH orig EQ ' '
WITH nach EQ c_x "'X'
TO SAP-SPOOL
*SPOOL PARAMETERS l_dest
WITHOUT SPOOL DYNPRO
WITH DESTINATION = l_dest
WITH IMMEDIATELY = SPACE
WITH KEEP_IN_SPOOL = 'X'
VIA JOB v_job_name
NUMBER v_job_cnt
AND RETURN.
here my l_dest has one of the three printers that the user selects.
when i change my default printer to one of the three printers the spool is generated fine. A spool always generated for the default printer of the user?Hi,
Before the SUBMIT get the PRINT PARAMETER by using the FM --> GET_PRINT_PARAMETERS
IMPORTING
out_parameters = print_parameters
print_parameters-pdest = 'LOCL'. " Change the Destination before passsing the PRINT_PARAMETER to SUBMIT.
Then pass the print_parameters from the FM to the SUBMIT
SUBMIT zppprbsel WITH aufnr EQ p_wa_batch_res_process_order
WITH werks EQ c_1201 "'1201'
WITH relvn EQ c_0 "'00000000'
WITH relbs EQ c_0 "'00000000'
WITH orig EQ ' '
WITH nach EQ c_x "'X'
TO SAP-SPOOL
SPOOL PARAMETERS print_parameters "Pass here
WITHOUT SPOOL DYNPRO
WITH DESTINATION = l_dest
WITH IMMEDIATELY = SPACE
WITH KEEP_IN_SPOOL = 'X'
VIA JOB v_job_name
NUMBER v_job_cnt
AND RETURN.
Regards,
Madhukar Shetty -
How to use Submit Statement for mutiple Spools.
Hi Gurus,
I have a requirement wherein I need to Submit a Report Program to SAP-SPOOL which generates output for multiple Idocs.
For each Idoc I need to attach the spool to a particular object_id.
As of now I am doing this by putting the Submit statement in a loop.
I want to meet the same functionality without using a loop for different Idocs.
Ex.
LOOP AT IDOCS.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
CALL FUNCTION 'JOB_OPEN'
IF sy-subrc = 0.
SUBMIT YFAPINV_IDOC_RPTS TO SAP-SPOOL "USING SELECTION-SCREEN '1000'
WITHOUT SPOOL DYNPRO
SPOOL PARAMETERS print_parameters
WITH CREDATE IN CREDATE
WITH CRETIME IN CRETIME
WITH DOCNUM IN DOCNUM
WITH VENDOR IN VENDOR
WITH V_INVOIC IN V_INVOIC
WITH MESCODE IN MESCODE
WITH DOCSTAT IN DOCSTAT
WITH DC_NBR IN DC_NBR
WITH DOC_TYPE IN DOC_TYPE
WITH S_BSART IN S_BSART
WITH ap1_flag eq 'X'
AND RETURN.
IF sy-subrc EQ 0.
CALL FUNCTION 'JOB_CLOSE'
ENDIF.
ENDIF.
SELECT rqident rqcretime FROM tsp01
INTO (rqident,rqcretime)
WHERE rqowner = sy-uname
ORDER BY rqcretime DESCENDING.
EXIT.
ENDSELECT.
IF rqident IS NOT INITIAL.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
DATA l_line TYPE docs-lines.
LOOP AT l_tline.
CLEAR l_line.
MOVE l_tline-tdline TO l_line.
l_docs-lines = l_line.
APPEND l_docs.
ENDLOOP.
ENDIF.Hi,
Each submit will create only one spool. So I dont think this is possible. Yes what you can do though is that submit the program for all the IDocs at once ( provided your program YFAPINV can handle this) and then process the spool and separate the output for each IDoc after you retrieve the data from spool.
To retrieve the data from the spool, you can use the function 'RSPO_RETURN_ABAP_SPOOLJOB' pass the spool request number and it will return you a internal table with the spool data.
regards,
Advait -
How to pass a value and call SE38 program using SUBMIT statement
Hello Friends
I am trying to write a batch program in SE38, that calls other SE38 Programs.
I don't want to use Parameter command to see the value on screen.
All I want is to send a range of date (ToDate & FromDate) and generate different reports satisfying this date range condition.
Can some one please help me with this. I would really appreciate it.
I have tried the command SUBMIT with options of filling the input fields of the subsequent programs but I don't want to do this.
I want all the sub programs to be called one after another and the reports generated using the date varialbles I send from the main program.
I don't want to use se37 functions because of the client's request.
Any help will be highly appreciated.
Tks
RamYes I am using SUBMIT command but I was not using the right options with the SUBMIT command and once I used the right options, it worked.
Tks
Ram -
Problem in spool generation using SUBMIT statement
Hi Experts,
I am facing a problem in getting the spool no using the SUBMIT statemet.I am exporting an internal table with some data and then importing the same in another dummy program to get the ALV list output.This dummy program is called using the SUBMIT TO SAP-SPOOL statement.
The code is as follows:
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
The trouble is the submit statement is not calling the dummy program in this case.What can be the problem here and how can it be resolved.In my dummy program I am simply using the exported table to convert into list display so as to get a spool no. for it.
My objective is to get the spool no. for this sothat I can convert this spool to PDF.
Thanks and Regards
Abhishek
Edited by: abhishek singh on Oct 27, 2009 9:26 PM
Edited by: abhishek singh on Oct 27, 2009 9:27 PM
Edited by: abhishek singh on Oct 27, 2009 9:29 PM
Edited by: Rob Burbank on Oct 27, 2009 4:41 PMHi Experts ,
I am posting the code again:
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = lv_name
IMPORTING
jobcount = lv_number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
archive_mode = gc_spool_print "For print = '1'
no_dialog = abap_true
IMPORTING
out_parameters = lv_print_parameters
valid = lv_valid_flag
EXPORT fui_fin_split TO MEMORY ID 'CUSTOMER'.
SUBMIT zvrr9333_dummy TO SAP-SPOOL
SPOOL PARAMETERS lv_print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB lv_name NUMBER lv_number
AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = lv_number
jobname = lv_name
strtimmed = abap_true "Immediate Start
MESSAGE 'Spool not created'(e15) TYPE gc_success.
ENDIF.
SELECT jobname
jobcount
stepcount
listident
FROM tbtcp
INTO TABLE gi_spool
WHERE jobname EQ fuv_name
AND jobcount EQ fuv_number.
IF sy-subrc EQ 0.
READ TABLE gi_spool INTO lw_spool INDEX 1.
fcv_spoolno = lw_spool-listident.
ENDIF.
SELECT jobname
jobcount
stepcount
listident
FROM tbtcp
INTO TABLE gi_spool
WHERE jobname EQ fuv_name
AND jobcount EQ fuv_number.
IF sy-subrc EQ 0.
READ TABLE gi_spool INTO lw_spool INDEX 1.
fcv_spoolno = lw_spool-listident.
ENDIF. -
How to get current row using submit button ?
Hello Friends ,
Is there any way i can capture the value of current row by submit button ?
Here is my requirement , i have seeded OAF screen and it has table region one of the column has radio button , the existing
functionality is when ever the radio button is selected and click on submit button ( submit button attached on top of the table region )
other oaf page is getting opened .
Now i wish to restrict the navigation based on some condition , but i don't know how to get the current row using submit button .
Note : there is no Fire Action event for radio button column ? I dont' know how orale is selecting a specific row
Any suggestion please ?
Regards ,
VamsiThanks sushant for your response ,
Well i have tried your approch , i am not getting values for current row .
if (pageContext.getParameter("paApply") != null)
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAViewObject localOAViewObject1 = (OAViewObject)am.findViewObject("ProjectDatesVO");
if(localOAViewObject1!=null) {
Row DateVoROw = localOAViewObject1.first();
RowSetIterator iterator = localOAViewObject1.createRowSetIterator("iterator");
iterator.setRangeStart(0);
iterator.setRangeSize(localOAViewObject1.getRowCount());
for(int i=0; i<iterator.getRowCount(); i++)
DateVoROw=iterator.getRowAtRangeIndex(i);
String vacancyValue= DateVoROw .getAttribute("vacancyname).toString();
Could you please let me know where i am going wrong
Thanks again ,
Vamsi -
How Can I increase memory used by director?
Hi
I have a tool, written in director, that imports all
imagefiles from a
folder and its subfolders into director cast
It worked since years without any problem
But now I have following problem - if the amount of files is
big enough,
director is out of memory, can not create any new member more
I do it like this
repeat with i=1 to cFileList
cFile=cFileList
mem = new(#image, myCast)
mem.importFileInto(cFile, [#trimWhiteSpace:FALSE,
#remapImageToStage:FALSE])
mem.name=cFile
end repeat
At some moment command
mem = new(#image, myCast)
fails, it can happen on 500-th file in the list, or an 570-th
or on some
other point. So the problem is not in some definite file, but
in memory. How
can I avoid this problem? Can I purge the memory, used by the
program till
that moment or is there any other way do to it?
Any help will be appreciatedLook up save castlib. put this in your loop and and maybe try
i mod 10 so it
only saves every 10 times. This should pull the images from
ram to disk, and
sort of purge the memory for you.
Timm
"Jorg Mann" <[email protected]> wrote in message
news:emof0k$cqh$[email protected]..
> Hi
>
> I have a tool, written in director, that imports all
imagefiles from a
> folder and its subfolders into director cast
> It worked since years without any problem
> But now I have following problem - if the amount of
files is big enough,
> director is out of memory, can not create any new member
more
>
> I do it like this
>
> repeat with i=1 to cFileList
> cFile=cFileList
> mem = new(#image, myCast)
> mem.importFileInto(cFile, [#trimWhiteSpace:FALSE,
> #remapImageToStage:FALSE])
> mem.name=cFile
> end repeat
>
> At some moment command
> mem = new(#image, myCast)
> fails, it can happen on 500-th file in the list, or an
570-th or on some
> other point. So the problem is not in some definite
file, but in memory.
> How
> can I avoid this problem? Can I purge the memory, used
by the program till
> that moment or is there any other way do to it?
>
> Any help will be appreciated
>
> -
How to know the memory used by db
Hi,
Is there any transaction which tells me the exact memory used by Db (MS SQL)?
If not is there any utilities I can go in and find out the Db memory used?
I remember seeing the screen which says:
Server
Memory Available MBytes = xxxxx
How can i get this? I dont know how to get to it, but i know its possible.
ThanksHi,
Actually I suppose that, we cant definitely say that how much memory the database is using because, the frequently used tables are always buffered and less frequently used table are not buffered or partially buffered.
However when a table is accessed, it brought to the buffer and then only seen in the GUI. Suppose consider an instance, some tables are accessed once a month or once a quarter, during that time it buffer used by the total number of tables will be more. than the normal instances.
Regards
Sudha -
How to export&import data using sql *loader
Hi all,
How to export&import data from sql*loader. Give me the clear steps..
Thanks in AdvanceHi did you already exported data from SQL SERVER? if not using SQL*LOADER you cannot export data. SQL*LOADER is only mean for importing data from flat files(usually text files) into ORACLE tables.
for importing data into oracle tables using sql*loader use below steps
1) create a sql*loader control file.
it looks like as follows
LOAD DATA
INFILE 'sample.dat'
BADFILE 'sample.bad'
DISCARDFILE 'sample.dsc'
APPEND
INTO TABLE emp
TRAILING NULLCOLS
or for sample script of control file search google.
2) at command prompt issue following
$ sqlldr test/test
enter control file=<give control file name which you create earlier>
debug any errors (if occured) -
Hi,
I want to create a delivery from sales order using 'Submit'.
Is this a correct program? What needs to be populated in the table rspar_tab? Please provide your input.
data: rspar_tab TYPE TABLE OF rsparams.
SUBMIT SAPMV50A USING SELECTION-SCREEN '4001'
with selection-table rspar_tab.
Thanks in advance.Hi Krishen,
Why dont u try using the BAPI.
You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC.
Check this sample code..
PARAMETERS: p_vbeln LIKE vbak-vbeln.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
kwmeng LIKE vbap-kwmeng,
matnr LIKE vbap-matnr,
werks LIKE vbap-werks,
END OF t_vbap.
DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest WITH HEADER LINE.
DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
SELECT vbeln posnr kwmeng matnr werks
INTO TABLE t_vbap
FROM vbap
WHERE vbeln = p_vbeln.
LOOP AT t_vbap.
t_request-document_numb = t_vbap-vbeln.
t_request-document_item = t_vbap-posnr.
t_request-quantity_sales_uom = t_vbap-kwmeng.
t_request-id = 1.
t_request-document_type = 'A'.
t_request-delivery_date = sy-datum.
t_request-material = t_vbap-matnr.
t_request-plant = t_vbap-werks.
t_request-date = sy-datum.
t_request-goods_issue_date = sy-datum.
t_request-goods_issue_time = sy-uzeit.
APPEND t_request.
ENDLOOP.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = t_request
createditems = t_created
return = t_return.
READ TABLE t_return WITH KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE e208(00) WITH 'Delivery creation error'.
ENDIF.
COMMIT WORK.
READ TABLE t_created INDEX 1.
Write: / 'Delivery ', t_created-document_numb. -
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
Maybe you are looking for
-
My computer can no longer see my ipod mini.
I bought my ipod about 2 weeks ago. 3 days ago i found that whenever i plugged it in to the computer, itunes would start up, it would start syncing with the ipod and then i would get the "blue screen of death" from windows and my system would restart
-
DVD drive won't work but it will burn disk?
imac 2.4Ghz - 10.5.8 For sometime now my DVD drive spits out Cd's/DVDs as soon as I put it in. Strange thing is, it will let me put blank media in and will allow me to burn disks. It's getting really annoying now as can't do so many things I need to
-
Module Development for XI3.0 Adapters
Hello, we are currently trying to develop a xi 3.0 adapter module. Modules are a way to expand the functionalities of a xi adapter, in our cas the file adapter. Our module should be used to perform a more complex transformation from flat file to xml.
-
Email app has failed. Copies of large email are being continually generated.
Since trying to send out a large email ~40Mb, too large in fact, my email application no longer works. I keep getting socket 993 errors. Copies of the email appear in various email folders, and keep duplicating themselves, seems this is a failsafe to
-
Make "Thread [AWT-EventQueue-0]" daemon.
The program exits gracefully on jdk1.4.1. But it will hang up on jdk1.3.1. It is a bug of Jdk 1.3.1?? import java.awt.GridBagConstraints; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.swing.JFrame; import javax.