SM19 Transaction in Background
Hi ,
The transaction SM19 is currently executed on a specified time manually.
The requirement is to write a program so that it can be scheduled and made to execute automatically .
The program executes correctly online , but does not work when it is set as a background job.
Please suggest a solution.
Regards
Arun
Hi,
I think you are calling the SM19 transaction from an ABAP program and this you have scheduled. Normally it should work fine in the background as well. Please let me know what is the issue you have. Keep in mind that if the transaction is giving the output using controls or screen, you may get an error.
Thanks
Vinod
Similar Messages
-
Call transaction in Background job
Hi,
I am executing a program in background. In that program I am having a CALL TRANSACTION as below:
CALL TRANSACTION 'ME22'
USING g_t_bdctab
MODE 'N'
UPDATE 'S'
MESSAGES into g_t_bdcmsg.
But it is not working. The same is working when the program is executed in foreground.
Is this means, we cannot have CALL TRANSACTION in background?
If Yes, then what could be the solution for it?
Thanks,
Pankaj.Hello Pankaj,
Call transaction works in background.
Provided you are not picking file from presentation server.
If you are picking file from presentation server, place the same file in application server and during background job pick the file from application server then your program works perfectly.
Regards,
Tarun -
GLPLUP transaction in background
Hi,
Is it possible to execute an upload in GLPLUP transaction in background?
In the menu--> Program appears the option but it is disabled
Thank you very muchIf you go to SE38 you can do it for the same program G_FLEX_UPL by selecting the option from the menu.
-
How to call a transaction in background ?
hi all,
i want to call a transaction in background in a user exit which will run a BDC program.
i am testing CALL FUNCTION 'ZNSTEST' IN BACKGROUND TASK.
i tried to write to a database table it didn't work .
can anyone help me on this.
i want this BDC to executed once the standard transaction is completed so i have added a WAIT UP TO 10 Seconds code in the functional module
Regards Nafran.Hi,
Write a BDC program for updation of tables for u r user-exit.
After that Schedule u r program in back gound job scheduling.
Using SM36 - Define Background job.
Give the job name and Press job wizard button.
It's asking about job name and job class -prioritty.
press continue and give program name .
Select radiobutton based on u r requirement.
Then specify periodic job or only in holidays.
Then u select hours and all.
In SM37 give u r job name and and press execute.
Reward if useful.
Regards,
Narasimha -
Debugg VL10 transaction in background mode
Hi,
I want to know how to debugg VL10 transaction in background mode. Since the control does not go to the breakpoint when clicked on background.Hi,
Try this option..
In classical debugger ..Click settings and check the last option,In back ground task.
Cheers, -
How to execute ME22N transaction in background.
Hi experts,
How to execute ME22N and ME23N in background, when execute the transaction in background, , it should generate a spool, with out any printpreview. How can we do this....?
thanksHi,
Write a BDC program for updation of tables for u r user-exit.
After that Schedule u r program in back gound job scheduling.
Using SM36 - Define Background job.
Give the job name and Press job wizard button.
It's asking about job name and job class -prioritty.
press continue and give program name .
Select radiobutton based on u r requirement.
Then specify periodic job or only in holidays.
Then u select hours and all.
In SM37 give u r job name and and press execute.
Reward if useful.
Regards,
Narasimha -
Require Job name in SM37 while executing call transaction in background
Hi all,
I am executing a report program, which contains Call transaction.
I have recorded properly. The recording contains background job screen also ( means a separate popup came and i gave the job name and i gave immediately )
When i execute in this program in foreground its creating job,its showing the job in sm37.
But when i execute this program in background, it does not showing the job name in sm37.
Anyone kindly help this out?
AnandhabHi,
The job will be created by the step level user.
Try searching again with jobname and * for username.
Regards,
Jovito -
Can we call a transaction in background and get the list in report?
I want to call the standard T-Code MC.9 from a report in background using Call Transaction and get the list in the report.There are some enhancement done to its base program RMCB0300 due to which if I use Submit ... exporting to memory and then import the list from memory, the result doesnt match to the values given by T-Code MC.9.
The option apparently for me is to use Call Transaction method, but if I use Call transaction method, how do I make the report to be executed in background and then get the resultant list in the report?Copy the program in Z and than modify it saving the list on memory on database table.
-
Program to run several FICO transaction in background
Hello everyone.
I received a request to run, in background, a list of transactions. I found most of the reports that can be used to run the transaction in back ground.
Here is what I did so far.
1. I created a report that is collecting on the screen selection the following information:
1. Company code
2. Plant
3. Controlling area
4. Period
5. Fiscal Year
6. Test run flag
2. I am setting the parameters CAC and WRK
3. Collecting print parameters
4. For transaction CO43 I am submitting the report RKAZCO43
For transaction KKAO I am submitting the report SAPKKA07
For transaction KKS1 I am submitting the report RKKKS1N0
For transaction CO88 I am submitting the report RKO7CO88
So far so good
Here is my problem
For transaction KKRV I am submitting the report RKKRPRRE but this report doesn't have any variant possible. Further more when I am submitting passing the parameters it doesn't use it. So the report is running for all plant. That is not good.
Is there any other report that can do the job where we can create variant and pass some values using parameters?
The last transaction is S_ALR_87013139, I am submitting the report GP3TWPYIY8XBZRZ5C9ORSKG3OIV.
Those 6 transactions are used monthly and taking a lot of time. The financial guys would like to have them ran in background automatically each month.
All suggestion will be highly appreciated.
Regards
dstjHello everyone
Here is the solution I used.
I am running the RKKRVBC0 report passing the parameters.
SUBMIT rkkrvbc0 WITH p_werks = p_werks
WITH p_perifr = p_period
WITH p_perito = p_period
WITH p_yearfr = '2009' " p_year
WITH p_yearto = '2009' " p_year
WITH p_reset = ' ' " Delete Values Outside preiod
WITH p_srv_gr = '' " Server group
WITH p_tasknr = '5' " Maximum Process
WITH p_blsize = '100' " Data Records/Task
WITH p_kokrs = p_kokrs " Controling area
WITH p_loekz = ' ' " Deletion flag
AND RETURN. -
Call Transaction in background mode
Hi everyone,
What I am currently trying to do is to perform a 'call transaction' while forcing the 'background processing' mode even when the user is running the program in online mode; this allows me to retrieve a lot more messages that are useful to the user than the messages generated in online mode.
As long as I have seen there is no field for that in the options table that can be passed to the 'call transaction' sentence. The only way to see that behavior while in online mode is by 'playing back' a recording thru the SHDB transaction and checking the 'Simulate background' option.
My first attempt was to set the SY-BATCH flag before doing the call transaction but it doesn't work, the flag seems to reset itself with the correct value during the call.
Any comments on this would be greatly appreciated.
Regards,
SergioYou would have to create a job on the fly to do this. This example shows how to kick off a background job via an ABAP program.
report zrich_0004 .
data: sdate type sy-datum,
stime type sy-uzeit,
l_valid,
ls_params like pri_params,
l_jobcount like tbtcjob-jobcount,
l_jobname like tbtcjob-jobname.
start-of-selection.
* Get Print Parameters
call function 'GET_PRINT_PARAMETERS'
exporting
no_dialog = 'X'
importing
valid = l_valid
out_parameters = ls_params.
* Open Job
l_jobname = 'ZRICH_0005'.
call function 'JOB_OPEN'
exporting
jobname = l_jobname
importing
jobcount = l_jobcount.
* Submit report to job
submit zrich_0005
via job l_jobname
number l_jobcount
to sap-spool without spool dynpro
spool parameters ls_params
and return.
* Schedule and close job.
call function 'JOB_CLOSE'
exporting
jobcount = l_jobcount
jobname = l_jobname
strtimmed = 'X' -
Call transaction in background in report
I have a report in which I call a transaction, but the requirement is that I have to call it in background.
Can you please suggest how I can achieve this.
<removed_by_moderator>
Edited by: Julius Bussche on Aug 26, 2008 3:20 PMHi charles,
Use the mode 'N'
Example:-
DATA:
fs_opt TYPE ctu_params.
fs_opt-dismode = 'N'.
CALL TRANSACTION 'PA30' USING t_bdcdata OPTIONS FROM fs_opt.
Luck,
Bhumika -
CALL Transaction in background not working pls help URGENT
hi i have writtin a bdc program which uses CALL TRSANCTION everything is working in foreground.
if i schedule the program in background the call transaction does not work. any idea why?????????
pls help its urgenthi
good
have you checked in the debug mode, if you have checked in the debug mode check wheather it is giving any error before data is displaying in the screen, if any error is displaying as a message than check that error why it is coming there.
If no error is coming than check your flow of the bdc screen in the debug mode , there must be some prob, so that it is not working in the background.
thanks
mrutyun^ -
Call Transaction in Background for IW52
Hi All..
When i execute my BDC (Call Transaction) in foreground, the code will update IW52 screens without any errors/warnings.
But if we schedule this in background, the IW52 screens are not getting updated.
Even there are no Errors observed.
We have used the syntax as follows..
CALL Transaction IW52 using it_bdcdata MODE 'N' messages into it_bdcmsg.
Can anyone help me how to rectify it and make it to execute successfully in background mode..??
Your Help will be highly appreciated..
Regards
PavanHello Friends...
I am running a call Transaction code in Background mode.
I am facing Error message..
If i run the same in foreground, it is working fine...
Error Message is "No Batch Input data for screen <SAPNV screen No>"
Expecting your guidence in this case...
Regards
Pavan
Message was edited by:
Pavan Sanganal -
Not able to execute custom transaction in Background mode
Dear All,
There is a custom modele pool program to update the data in info type 9003. We have written a Z program in that we are calling this custom modele pool through CALL TRANSACTION with mode 'N' and update 'S'.
Z Program is running successfully and updating data in 9003 info type when we run in foreground mode.
But it is not updating when runs in Background mode.
Am I need to take any other precautions when run in background mode for custom transaction?
We are using 4.6C version.
Thanks in advance.
Regards,
AbaperFor custom transactions you shouldn't have a problem - unless you're trying to do something that needs dialog with the presentation server.
Set an infinite loop in the custom transaction, launch your program in backround, then from Sm50, go to debug and find out what's going on.
DATA: debug.
WHILE debug IS INITIAL. " Debug from SM50 will get you here, change field DEBUG in the
ENDWHILE. " debugger to contain 'X', and the loop will end.
Also, if your custom tx calls any standard SAP programs/FM, there is a chance that those programs work differently in background than foreground. -
Can we refresh RSPCM transaction in background ??
Hi guys,
I am working in BI 7 landscape, where there are around 120 process chains.
I have included all these chains in the RSPCM transaction to monitor the daily loads.
But the problem is that it take around 8 minutes or more to get refreshed in foreground (using F8)
I am just curious to know if there is any way to refresh the RSPCM screen in background.
Maybe i can schedule it as a background job every 15 or 20 mins so that the status gets refreshed automatically.
I tried the option in RSPCM --> Extras --> Plan Monitoring or directly F7.
But it ends up in triggering a mail with the list of failed process chains.
Please let me know if there is any option to refresh the RSPCM status in background as a job.
Points for sure!! (but only to sensible answers )
Thanks in advance.
Cheers.
Balaji VHi
RSPCM takes time usually, Because it has to see the dependent processes and comeback with the status.
I dont think that we have any background process for this.
Hope you know SM37
Maybe you are looking for
-
Xml publisher reprot - special character problem
I invoice report through xml publisher. I have '&' special character in vendor list. I am getting below error A semi colon character was expected. Error processing resource. Below is the code CREATE OR REPLACE PACKAGE BODY XML_RPT AS FUNCTION XML
-
How to include clear bacground or image in flash slideshow
Hi there, we are using the following script and dont want the colour background to show as the images dont have a background. So every time one of the images goes from one to next we see a whote background but want to know if we can change it so that
-
Tabular form query using column values delimiter
I wanted to know, if i can query a tabular block by entering the column values (primary key) as semicolon delimited and update required fields. Please let me know. Requirement:- User will enter 5 values as "AB1; AB2; AB3; AB4; AB5" After entering I n
-
Missing files in flash player 9 plugin debugger installer?
Hello all. I've been trying for some time to use the ExternalInterface.call method in flash, to no avail (see here: http://stackoverflow.com/questions/7...ipt-javascript here: http://stackoverflow.com/questions/8...rface-in-flash and here: http://sta
-
Excel error 64-bit version of SSIS
I have a 64bit system and installed ssis on my system. How do I changed the ssis project to 32 bit. I have this error: Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning. Error: 0xC00F9304 at Package, Connection m