How to shedule an abap report to run paralely in more background session
I wander how to shedule an abap report to run paralely in more background session.
I am afraid of parallel locking.
Hi,
You can schedule different jobs with same program name.
Use ENQUEUE_ & DEQUEUE_ to lock/unlock the records being process. The lock objects can be created in SE11.
Best regards,
Prashant
Similar Messages
-
How to call an abap report in BSP..
hi all,
Please can anybody tell me how to call an abap report in BSP application.....since I am new to BSP....
with regards,
Santoshcheck this thread
Urgent!! How to call a custom transaction or an ABAP program in BSP? -
How to create a ABAP report off of SRM box for live data?
How to create a ABAP report off of SRM box for live data?
Thanks in advance.
York.you can try infoset query:
STEP - A:
1. Go to T Code RSQ02 and give the InfoSet name & select CREATE.
2. Provide the Name(Description) and Data Source i.e. for eg here i take "DIRECT READ OF TABLE" = /BIC/AODS100. Then CONTINUE.
3. Select what to Include in the 3 options available with the POPUP, here "INCLUDE ALL TABLE FIELDS". Then Check the fields and click GENERATE(one RED and WHITE round icon).
4. Now provide the PACKAGE for the INFOSET. Come Back(F3).
STEP - B: optional(If u want to create a new user group)
1. Select ENVIRONMENT -> USER GROUPS. Provide the User Group name and CREATE.
2. Provide Description and SAVE.
3. Provide PACKAGE and SAVE. Come Back (F3) to the Initial Screen.
4. Click Role/User Group Assignment. Select Newly Created User Group or an existing one. Then SAVE (CTRL + S). F3.
STEP - C:
1. Select ENVIRONMENT -> Queries. Provide the query name and CREATE.
2. Select the INFOSET u have created and assigned the user group.
3. Provide the Title and Select BASIC LIST. There you have to select (check) the fields you want to display, SAVE and then TEST. It will ask for Variant, just CONTINUE. -
How to find existed abap reports?
how to find existed abap reports?
Hi abapdoubts,
on wich time do you want to find?
In runtime? Than sy-repid.
on dialog? take F1 with further Infoemation.
On the GUI on the riht_button corner, there are somw Information too.
regards, Dieter -
How to schedule an abap report program to run every day, weekend etc..
Hi,
I want to schedule an abap report program to run every day, week, fortnight or month and the output to be redirected to the printer. How to achieve this ?
thanksHi,
go to t.code sm36 there give the name of the program which u want to eecute in background if u want u can give periodic that depends upon ur requirement from there in sm37 u can check the stauts and directly print from there
hope i am clear to u
plzz reward if it is useful... -
How to port a ABAP report into ITS? Please help!
Hi Experts,
I have a ABAP report that contains a selection screen with 3 select-option elements and a search button. On pressing search button an ALV grid opens with data from a SAP table based on selection screen criteria.
I want to web enable it so that it can be accessed from Enterprise Portal. i will be using IAC iview in Portal.
Now the IAC iview needs my ABAP report to be ported to ITS?
1.How to port it to ITS? What are the steps?
2.In order to port in to ITS do I need to change my ABAP code?
3.Are there any known limitations of porting ABAP reports in ITS? For example Performance, ALV not supported, Table control not supported etc.
4. Does it handle dynamic programming?
5. Are there any documentation for porting report to ITS?
6. How much time effort it will be for porting ABAP reportys to ITS?
To add some more points. SAP transaction iview is not allowed in my organization. Webdynpro/BSP is also not supported. Thats why I am using IAC iview which needs ITS.
Please help
Thanks
Gopal
Message was edited by: gopalkrishna baligahi,
step1.create a transaction for ABAPreport in SE93.
step2.Go to transaction SICF and create a service in the following path sap/bc/gui/sap/its.
Check the following Url to create a service.
/people/durairaj.athavanraja/blog/2005/08/21/running-your-first-its-webgui-application-in-sap-netweaver-04-abap-edition--nsp
step3. create a system object setting the following property categories.
1.Connector
2.Usermanagement
3.ITS
4.WAS
In the usermanagement do the user mapping.
step4. While creating an IAC iview, in the third step for the <b>Internet Application Component (IAC)</b> property give the service name you have created in SICF.
you need not change the abap code. The only limitation while porting abap report in ITS is you cannot view the icons in the tool bar, instead you view the buttons.
ALV is supported. Functionality wise nothing will change except the appearance mainly with the icons.
Regards,
Gopi -
Hi Frds
I have created abap report ,in selection screen Project,year,period and Company code is given.Now the end user asking me to restrict the output of the report based on company code which we giving in selection screen..
For Example:
User1 150 (Company code)
User2 160 (Company code)
User3 170 (Company code)
User4 180 (Company code)
the user1 should able run only 150 company code report outputs only,if he gives company code other then 150 ,the error message should raise .Like this for all user .
The user must run only his company code related projects.
Thanks
By
Parihi,
how do you identify different users,
if you can identify the users..
you can sort and group the table by company code.
Then based on the condition you can pass the data to the alv
Any way fieldcatalog is same for all the structure.
It is just the structure you pass is the different.
So group the table.
Append the data of that particular company code to different and merge that with field catalog..
This is a rough solution what i have in mind.
Hope this might help you..
Thank you. -
How to Call general ABAP Report in WDA?
Hi All,
Is it possible to run our general ABAP report in our WDA.
If yes how can i move....
Thanks & regards,
RaviDavid Pietroniro wrote:
> Hello,
>
> You can call your report using the SUBMIT command to call it like a job. Follow an example on how to do this (from ABAP Help).
> But this is only usefull if this report only process data and don't show data on screen, because this data can´t be showed in the web dynpro via write commands like described in the threads before.
>
> Regards.
Actually with a few changes you are close to a solution here. There is way to get the output of the report and convert it to HTML. You will need to have a little wrapper application around your report. You will have to run this wrapper as a background job or via RFC (pointing to destination NONE). Here is a sample:
* SELECTION SCREEN LAYOUT *
selection-screen begin of block two with frame title text-002.
parameter: prog like sy-repid.
parameter: vari1 like raldb-variant.
selection-screen end of block two.
.....Other Processing....
submit (prog) and return
exporting list to memory
using selection-set vari1.
call function 'LIST_FROM_MEMORY'
tables
listobject = itab
exceptions
not_found = 1.
if sy-subrc ne 0.
leave program.
endif.
call function 'WWW_HTML_FROM_LISTOBJECT'
exporting
* REPORT_NAME =
template_name = 'WEBREPORTING_REPORT'
tables
html = html_tab
listobject = itab.
Once the data is converted into HTML it is more usable from WD. You can't really display it directly within WD, but you could push it out as a file attachment from WD using cl_wd_runtime_services=>attach_file_to_response.
This is a lot of work and I still think it might be easier to fire a linkToURL or Exit Plug and navigate to the ITS/WebGUI. -
Scheduling a background abap report to run on a specific date
Hello Experts,
I have an ABAP report I want to schedule in another program.
Basically, I want to schedule it, so that it runs the next day (sy-datum + 1). I have used FM Job_open followed by submit and Job close, but the program is executed immediately.
Below is the code snippet:
v_datenext = sy-datum + 1.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
delanfrep = ' '
jobgroup = ' '
jobname = jobname
sdlstrtdt = v_datenext
sdlstrttm = sy-uzeit
IMPORTING
jobcount = jobcount.
SUBMIT z_prg_spinterf
WITH i_year EQ v_subyrnext
WITH i_month EQ app->g_str_header-f_month
WITH i_dc EQ 'B'
USER sy-uname
VIA JOB jobname
NUMBER jobcount
AND RETURN.
starttime-sdlstrttm = sy-uzeit + 60.
Close job
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = jobcount
jobname = jobname
prddays = 1
sdlstrtdt = v_datenext
sdlstrttm = starttime-sdlstrttm
strtimmed = starttimeimmediate
targetsystem = host.
The report z_prg_spinterf is getting executed immediately, which i dont want. I wanted it to be executed the next day.
Can someone help find out the source of the error. Maybe I am missing out something.
Thanks,
Nitish.Hi
1. go to transaction sm36
2. select job wizard
2.1 press continue
2.2 Enter a job name say abc(user defined)
Enter job class:- select priority say 'high priority"
2.3press continue
2.4 Select Abap program step
2.5 press continue
2.6 Enter the correct program name say"Z_REPORT"
2.7 Enter the correct variant name say" v1" and press continue
2.8 press continue
2.9 Select job start condition: "Date/Time" radio button and press continue
3.0 Enter the scheduled date: ie, date to which the report to be executed and give the desire time
3.1 press continue
3.2 Press complete
3.3 If success the report will be executed
To see the output of the report
1. transaction sm36
2. select own jobs
3. Find ur job name .
4. Press on spool, u will find the out put. -
Need details on how to make custom ABAP report archive enabled
Hi All,
We are working in our project to make custom reports as archive enabled so that they can read archived data.
Need some information on the below queries.
1.Is there any function module to read selected data from archive file? For example i don't want to read the whole BKPF table data from archive file instead want to get belnr and bukrs only.
2. What are the perfromance measure which can be taken while making an existing program archive enabled
3. Important archiving tables which can help for the above.
4. When i use the function module "Archive_open_for_read' then system displays a pop up to select the archive files based on the archive object.
Considering that all the reports are run in background how do i make sure that in background run all the archive files are selected and processed.
Thanks in advance for your valuable suggestions...
Regards/AjayHi Ajay,
1. You have to create a separate field catelogus and AIS according to your requirement with the required fields you want . Because the standard structures and field catelogues contains many fields from all tables. So before doing the read operation you have to deactivate the standard AIS and activate your newly created AIS .
2. Can you give some more details for this question to be answered.
3. The important archiving tables used are ARCH_IDX,ARCH_RPRG,ARCH_DEF.
4. While scheduling the Read process in batch mode , it will give you three criterias to be entered.
. Spool Parameters
(ii). Start date
(iii). Archive selection of files.
Unless you enter values for any one of these options , You cannot execute the batch job.
Hope this would help you.
Regards - Swarna. -
How to track details for report last run
Hello All,
I have request from the client where i have to run the report from the last date on which the report was run.
For this i need to track the details as on which date the report was run last eg last the report was run 01-june-08
for a supplier so nect time when the report is run for tht supplier it shud allow dates only after 01-June-08.
This has to be done in rpeort 6i.
Can anyone suggest as how i can achieve this.If do not purge the concurrent request data (fnd_concurrent_requests) you can use the max(request_date) for that concurrent_program_id and allow date that is greater than that, using table validation. In the where condition just use
select nvl(request_date,sysdate) from fnd_concurrent_requests
where trunc(nvl(request_date,SYSDATE)) between (select trunc(nvl(max(request_date),SYSDATE)) from fnd_concurrent_requests where concurrent_program_id=45666) and trunc(sysdate);
Thanks
Nagamohan -
How to call a abap report in BSP
hi all,
Please can anybody tell me how to call abap report in BSP..
with regards,
Santosh.Also see below BSP tutorial
http://help.sap.com/saphelp_nw04/helpdata/en/c8/101c3a1cf1c54be10000000a114084/content.htm
Regards. -
How to Develop the ABAP Reports in Business One
HI all;
am New to SAP Business One,
How to Develop the Z Reports in Business One ? like Normal ALV Reports and other??
Can we have the ABAP Editor and Other Transaction in Business One.
-RaviHi Sharma,
Thanks for Your Replay,
This is what my requirement !.
Hi Experts,
Here we are integrating SAP Business One with 3rd Party tool. !!
We need to Develop Customize Report in Business one and These Reports Out Put Will Convert into XML Files (Third Party System Can Understand Only XML files) and stored in Application Server/ Presentation Server.
How to Develop the u2018Z/Yu2019 Reports in Business one ? Can we use SE38 (R/3 ABAP Editor and other T-codes) in Business One.? Or is there any tools to develop the Business One Reports ? How to Convert the Report out put into XML File?
Thanks,
Upender. -
How to dispaly the ABAP reports in SUS
Hi Experts,
Please tell me the detailed steps to dispaly the ABAP reports developed in SRM in SUS.
Please elt me know the entiire steps.
Thanks in Advance,
ManuHi Sharma,
Thanks for Your Replay,
This is what my requirement !.
Hi Experts,
Here we are integrating SAP Business One with 3rd Party tool. !!
We need to Develop Customize Report in Business one and These Reports Out Put Will Convert into XML Files (Third Party System Can Understand Only XML files) and stored in Application Server/ Presentation Server.
How to Develop the u2018Z/Yu2019 Reports in Business one ? Can we use SE38 (R/3 ABAP Editor and other T-codes) in Business One.? Or is there any tools to develop the Business One Reports ? How to Convert the Report out put into XML File?
Thanks,
Upender. -
How to send an abap report to an HTML file?
hello this a two part question and This is the first question and I will post the next question after I am done with this.
So here goes.
My question is how do I send/download an abap report and convert it to an HTML file?
Thanks guys take care!Hi Chand,
This code will help.
Generate an HTML file from a Report in ABAP
data: begin of itab occurs 0,
matnr type mara-matnr,
mtart type mara-mtart,
matkl type mara-matkl,
groes type mara-groes,
end of itab.
data: ifields type table of w3fields with header line.
data: ihtml type table of w3html with header line.
select * into corresponding fields of table itab
from mara up to 100 rows.
call function 'WWW_ITAB_TO_HTML'
EXPORTING
* TABLE_ATTRIBUTES = 'BORDER=1'
* TABLE_HEADER =
ALL_FIELDS = 'X'
tables
html = ihtml
fields = ifields
* ROW_HEADER =
itable = itab
check sy-subrc = 0.
call function 'GUI_DOWNLOAD'
exporting filename = 'c:test.html'
tables data_tab = ihtml
Maybe you are looking for
-
XMonad: shift and dock (IM-Layout) windows by window-NAME.
Hello, apologize my bad english, but i think in the english community are more people using XMonad. So here's the problem: 1.) I want to shift the playlist-window of VLC to an other workspace, like vlc itself. The problem is that the WM_CLASS of both
-
Hi All, I suppose my question is pure Java basics, but I post it here anyway, because it's easier to explain it in the context I am working in. Let's say, I have a Configuration bean, initialized on the startup of my Web application and stored in the
-
Cannot open multiple firefox windows
The problem is I cannot open multiple firefox windows at 1 time. It keeps saying that firefox is running or it just spins on the 2nd time that we press on the firefox icon every time I do this. Can you please come up with a solution. Yes we can open
-
I cannot edit pictures in my iphotos. I am able to start new projects but my calenders and books that I was working on are frozen. Any ideas on how to fix? I spent a lot of time working on these. Thanks
-
Why I can't access my Iapp?
I Can't use my visa in Iapp why?