LQ02 transaction - submiting this in back ground.
Hi All,
I want to submit the program <b>RLLQ0200</b> in background. In the selection scrren we have a parameter PA_DUNKL which takes input as D for background and H for foreground. when i give D for back ground and executing it's throwing an warning message and posting is happening perfectly. But this should not happen in back ground right.
if u people have any idea please let me know, i will reward u.
Note: In the program there was an condition which looking for a back ground and throwing this warning message. For this what i did is, i bypassed this condition. Now it's working fine. But i dont know how much correct iam?
HI,
There wont be any problem with the warning message. With warning messages also you can set the background job.
Regards,
Similar Messages
-
LQ02 Transaction not work in Back ground processing
Hi
LQ02 transaction working well in forground process but not working for background process. I did the bdc and use call transaction to post WM-IM transaction.
screen input as follows :
Warehouse number
Storage type
Storage bin
WM movement type
Storage Unit
batch job shows sucessfully completed but category stock status remain unchanged (ie quality to unrestricted.)
Any body know the alternative function module or bapi to post LQ02 transaction.
Appriciate your help.
Best regards
Pravinwhen you run LQ02 in foreground, do you select anything manually or can you just hit save an everything is done?
What does job log and spool file tell you?
Did you flag the box for create mail in case of an error?
check OSS note 489286 -
Submiting report in back ground with values
Hello all abapers,
I m working on one application where one module pool program will take input from user for user id and password. After verification, one back ground report will be scheduled by this program to change user pw and add some role in user's profile.
when i schedule the prg in background i need to pass some values like user id and password entered on module pool screen...
how do i pass it to background job when scheduling and how bg job prg will read these values..
please advise me as its needed asap...
thanks in advance,
jigs.
any helpful suggestions will be rewarded.Hi,
Put the following code in user command:
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = 'ZSUBMIT'
IMPORTING
jobcount = jbcnt
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4
IF sy-subrc <> 0.
ENDIF.
SUBMIT <program to be submitted> WITH P_user_id = user id VIA JOB 'ZSUBMIT' NUMBER jbcnt AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = jbcnt
jobname = 'ZSUBMIT'
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.
ENDIF.
A job called 'ZSUBMIT' will be released in background.
Please try and award points if useful.
Thanks and regards,
S. Chandra Mouli. -
Uploading XL file using call Transaction and running in back ground
Hi all,
I am updating the T-code VA01 using call TRansaction method ....
i am uploading the file is XL file for that i m using the FM ALSM_EXCEL_TO_INTERNAL_TABLE.
But if execute my program in the back ground This FM is giving Dump because it can not Execute in Back GRound...
Plz let me know any FM to upload data from Excel file Both from foreground and back ground....
Plz let me know ASAP..
Thanks,
SureshHI...,,
When u run any program in Background, it will not have any contacts with the presentation server.... You cannot upload a presentation server file..
But u can use the Application server file...
SO first store this excel file's data in Application server using the transaction CG3Z and then use the Open data set and read dataset to upload the application server file !!!
reward all helpful answers !!
regards,
sai ramesh -
Hi Experts,
Can anyone solve my problem.
I want to Execute BDC for 'ME21' transaction 3 times for a day. That means for every 8 hours the BDC should be executed with out manual interacation.The BDC should be done automatically.
Please solve my problem how to schedule this in Back Ground or any other way to reach my requirement.
Thanks & Regards,
Kumar.Hi,
Go to SM36.
Create a new job by any name.
Add steps in it.
In the step specify the program which you want to run along with the variant.
Then schedule the job.
Schedule the job immediately or at particular time.
The Job can be also marked as a periodic job incase it has to run daily.
Kindly check this link.
[http://help.sap.com/saphelp_erp60_sp/helpdata/EN/c8/6a56389f64246fe10000009b38f889/frameset.htm] -
ME2ON - Delivery creation via back ground job
Hi,
We are using ME2ON transaction for subcontracting process. Requirement is to have a back ground job scheduled to create deliveries.
Is there a trick to have this transaction executed in the back ground.(As this is a SAP ENJOY transaction, BDC is not supported for back ground processing purpose)
you inputs are much appreciated
Regards
Sumanthmanosijbasu
We are not keen in using older trasaction as that will not serve our purpose, we want to use ME2ON.
BAPI- Can you please give me the BAPI name to create a outbound delivery for subcontracting.
Concern is if i use the BAPI in the back ground, how can i populate the date automatically from the PO, if that is the case, then we are Rewriting the whole program(ME2ON)
Best Regards
Sumanth -
WorkFlow Back Ground Process Running More Time
Hi all,
I have very Big problem it is occured in production i need help vary urgent for this .
Work flow Back Ground Process Running More than 5 hrs,actualy Daily it is running only below 2 min .but yesterday onwords it is running more than 5 hrs.but this workflow back ground process running long time only one item_type='REQAPPRV' REMAING item_types running normaly.
i did have any root cause for this performance issue plz let me know any one for this problem what is the root cause.
Thank'sReddy,
Go through the following documents, it should be helpful in troubleshooting the issue.
Note: 186361.1 - WF 2.x: Workflow Background Process Performance Troubleshooting Guide
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=186361.1
Note: 298550.1 - Troubleshooting Workflow Data Growth Issues
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=298550.1
Note: 566577.1 - Workflow Background Process Has Significant Performance Issues
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=566577.1
Note: 743338.1 - Performance Degradation when the Workflow Background Process is Running
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=743338.1
Note: 734425.1 - How To Generate Performance Trace for Workflow Background Process?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=734425.1
If this is your production instance and the issue is urgent, I would suggest you log a SR.
Regards,
Hussein -
How to Run a Custom Transaction in Back Ground after give the Input?
Hi,
I have problem that how to execute a Custom Transaction in Back Ground after end user will save a variant for input. In my Transaction there is no menu to save a Variant & to Execute in Back Ground.
Please suggest me how to do this in my Custom Transaction.Hi Ramana,
what kind of report you want to execute? the report is Executable Report or Modulepool prog. ??
if it is a executable program so when u execute (F8) from SE38 when u find the selection-screen in the menu bar ->Program ->Execute in Background( F9) option exits there u can schedule your report in Background or else use toce SM36 ( Define Background Job).
Why you want to run it in background with transaction code if you have this options?
Regards,
Sunil kairam. -
Call transaction inside of call function in back ground task
Hi,
Is it possible to use call transaction statemement inside of call function in back ground task. I am getting error if i use the same. Any help will be highly appreciated.Hi,
I don't think this is possible. The call goes into error in SM58, what you can try to do is after the function is called, you can submit the program RSARFCEX by setting the user name as sy-uname and other parameters as * and set all the checkboxes.
regards,
Advait -
Call transaction method in back ground Processing?
HI Friends,
I am working on interface program to post documents of 309 movement type into MIGO transaction .
my program is executing succesfully when i am processing in fore ground.
but when i am processing in background it is giving error .
can any help in this requirement?
*Solution rewarded*My Program will do transfer Posting from material to material.
when i am executing the program in back ground mode The Program statement call transaction fails with the following error
CALL_TRANSACTION MIGO_TR Return code = 1,001 RECORD: 0
S
Field GODYNPRO-ACTION . is not an input field
S
Field GODYNPRO-REFDOC . is not an input field
S
Field GOITEM-UMMAKTX . is not an input field
S
similar statement when executing in foreground it is posting document succesfully.
kindly revert back for any other information. -
Field missing when running the KSB1 transaction in Back ground
Hi,
With the help of Zreport am executing the KSB1 transaction in back ground and after execution of KSb1 am retrieving the report output and am displaying.
Issue is when am running Zreport in back ground the the output of KSB1 is giving the output by hiding the last column, where as am running Zreport in foreground the output of KSB1 giving the output with out hiding last field. Please guide me why the variance is coming in output when am running the Zreport in background........ and please advise me to rectify the problem....In background it cant be displayed if report width is more than 255 chars. Check line size.
Satya -
Error in Back ground job schedule for call transaction
Hi Experts ,
I have a Program which as Three BDC in it . 1 - to create contact person , 2- customer 3-sales order
Using call transaction if i run with all screens and no screens it's running fine..
if i schedule it background job
conact and customer works fine but sales order not works ..
can anyone give me the solution ?Hi Phani and Pavan ,
It works Fine for Back ground anf fore ground i.e ( N and A ) sales order is created here .
but Sales order not created when i schedule it in back ground as
Program - execute in back ground .
sales not created when i schedule it in background job only using SM36 or Program - execute in back ground ?
Edited by: Pradeep Annaiah on Jan 13, 2009 5:29 AM -
Custom Transaction code .... back ground run
Hi All,
We have custom transaction ZPRS(Module pool program)... which contains selection screens ..
usually user run give the values on selectin screens and press submit.. it displays the list of values on table control..
But user asking instead of table control .. after selection screen input they have run in BACK GROUND.
Please suggest how to that... I know submit is for executable program,...
Thanks...
reddy.>
Dave L wrote:
> so, a little very basic analysis here....
The first bit of analysis would include looking at the date of the initial post
Rob -
Help
The back ground lights have gone on my lovely Ipod..
Any ideas on how to fix it?
IanHi Elsledge,
Thanks for visiting Apple Support Communities.
I recommend the troubleshooting steps in this article if your iPod screen is dark:
iPod troubleshooting basics and service FAQ
http://support.apple.com/kb/TS1382
Best Regards,
Jeremy -
Problem in scheduling job in back ground
hi all,
My project scenario is ,i have written a program to create WBS element.
For 1 WBS creation ,In production it takes 20 to 30 min to create as there are many transactional bdcs.
so i want to run that perticular code (all bdcs) in back ground.
so i wrote another program with name 'zback_job_for_wbs_creation' and added all the required code.
in old program,i have written some code to execute this new program in back ground . this code is below..
FORM submit_for_job.
TABLES:btcevtjob.
DATA:l_jobname LIKE tbtco-jobname,
l_jobnumber LIKE rsjobinfo-jobnumb.
DATA: count LIKE btcevtjob-jobcount,
jobname LIKE btcevtjob-jobname.
DATA: job_was_released LIKE btch0000-char1.
jobname = 'WBS_CREATION'.
EXPORT s_scrnum TO MEMORY ID 'W_SCRNUM'.
EXPORT iscrh TO MEMORY ID 'W_ISCRH'.
EXPORT iscrl1 TO MEMORY ID 'W_ISCRL1'.
EXPORT iscrl2 TO MEMORY ID 'W_ISCRL2'.
EXPORT iscrl2b TO MEMORY ID 'W_ISCRL2B'.
EXPORT iscrl2a TO MEMORY ID 'W_ISCRL2A'.
EXPORT iscrl1a TO MEMORY ID 'W_ISCRL1A'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = jobname
IMPORTING
jobcount = count
SUBMIT zback_job_for_wbs_creation
with S_SCRNNUM IN S_SCRNUM
and return via JOB JOBNAME NUMBER COUNT TO SAP-SPOOL
WITHOUT SPOOL DYNPRO.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = count
jobname = jobname
strtimmed = 'X'
IMPORTING
job_was_released = job_was_released
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
here i have put break-point in my submitted program..but its not going to the program and job gets closed successfully without executing my code( Submitted Program).
in above submit statement , if i just write submit progname and return ,then it goes to program.
but job_close function module throws exception no 5.
so pls help me out for this..
i want my submitted program to be run in back ground..
thanks.Hi,
Start Job Monitor SM37 and search for your job. I think you will find it.
Jobs are not linked to GUI frontend. So you can't debug your background job in that way.
If you want to debug you must be tricky.
Code a never ending loop with an exit condition which you can control by debugging.
DATA:
stop_for_capture.
DO.
IF sy-uname NE 'HABICH'. "change to your account
EXIT.
ENDIF.
IF NOT stop_for_capture IS INITIAL.
EXIT.
ENDIF.
ENDDO.
When your job is running, start TA SM50 and mark relevant batch work process and
choose by menu program -> program -> debugging.
regards
Walter Habich
Maybe you are looking for
-
Problem with sound on my Satellite L755-1LZ
Hi people, I think this is where we can help. For a long time struggling to fix the sound, but I fail. When you boot, you will hear windows sound, the sound for some time, and then suddenly disappear. Drivers are good, I deleted and then went Automat
-
How do I keep my media on an external hard drive but still access it in iTunes?
I just recently purchased a new Macbook Air and I had my itunes media library on an external hard drive. How do I access my itunes media on the macbook air from the external hard drive without transferring all the media onto my macbook air? I also wa
-
How to run custom BSP application in UI frame work.
Hi, Can you please tell me how to run custom BSP application in UI frame work. I have copied CRM_UI_FRAME application into ZCRM_UI_FRAME. Now if i am trying to test this particular application but in URL of IE i am able to see that its always calling
-
Can't add files or file aliases to the dock
I can't add files or file aliases to the dock. All the help viewer says about this is this issue? "If you can't add icons to your Dock, your administrator may be preventing you from doing so." I am the administrator of this computer, as it turns out.
-
How do I get rid of annoying pop ups & ads while playing words with friends on my IPad?
How do I get rid of annoying pop ups & ads while playing words with friends on my IPad?