Can U set breakpoint within a batch job and look at variables?

Hello friends,
I am trying to solve a problem that occurs within a program / transaction which can only be executed in background. The transaction in question is FPCOPARA and apparently this program cannot be executed in foreground.
If I understand well, we cannot set breakpoints within a background job and as a result we cannot inspect variable etc. during job execution. So the question is how to achieve the same goal within a batch job? How did you do it? As this is a standard SAP transacrtion, no program modification can be applied.
Your help is greatly appreciated.

Hi......
After u have executed ur batch job..
go to sm37 >>select ur job using checkbox>>enter 'JDBG' in transaction box and press enter
now debugger will start ..initial it will go through system code..after after a while the debugger will reach to your code and den you can debug the remaining report....
all the best
regards
vivek

Similar Messages

  • CIF Batch jobs and LUW

    Hi Experts,
    Can anyone tell me about CIF Batch jobs and LUW please. Explain these two in detail whether they are the same or any difference and any relationship between both.
    Thanks in advance
    Suvecha

    Hi
    LUW stands for Logical Unit of work.
    Its a way of binding data together(multiple CIF queues under a single entity)
    It is useful to maintain the atomicity of data.
    For ex :- Say u have 5 materials under a single TLB order and u have sent that order to R3 for recieving number.If any of those materials is having master data which doesn't satisfy the filter criteria for Integration Model then the whole LUW will be blocked.
    Signifies the entire data set will be passed on as a single LUW.
    For CIF batch Jobs could you please explain what exactly you want to know.
    Thanks
    Amulya

  • How can i set tab within a table?

    how can i set tab within a table?

    With a live insertion point in a cell, type Alt/Opt+TAB, or, right-click and choose > Insert Special Character > Other > Tab, or, press Ctrl/Cmd+Shift+T to bring up the Tabs panel.

  • How can i set songs within a playlist, or an entire playlist, so that they are not included when using the shuffle function on IPOD Classic? Is this possible?

    How can i set songs within a playlist, or an entire playlist, so that they are not included when using the shuffle function on IPOD Classic?
    Is this possible?

    You can set any song to Skip when shuffling.
    In your iTunes Library, highlight the song and right-click/Get Info. On the Options tab is the Skip when shuffling box. Select that and then Sync the iPod with your Library.

  • How can I set the number of batch process for DTP globally?

    Hi guys,
    How can I set the number of batch process for DTP in system globally?
    For eg. set the number to 1
    Any hint is appriciated!
    Regards,
    Liying

    Hi,
    In DTP screen also you can view batch settings. Check the Settings menu, you will find Batch.
    Reg
    Pra

  • Difference between batch job and Background Job

    Hi Forum,
    Can anyone distinguish between batch job and background job for me please ?
    SK

    Hi,
    Batch Job:
    A batch job is a process that runs in the background, often deferred and unattended, to process data in groups (batch) rather than by individual transactions (e.g. a monthly phone bill rather than a bill for each individual phone call). A batch job executes a sequence of programs and technical instructions that are stored in a command file. Progress and error messages are output to a log file allowing users to determine, at any time, if the batch job completed successfully or identify the cause of the problem. Because batch jobs run in the background they are less visible to the end user.
    In a business-computing context, batch job scheduling implies the automatic execution of background tasks (batch jobs) at pre-determined points in time (e.g. every day at 8pm, midday on Wednesday).
    3 types of batch job scheduling can be distinguished: native, basic and advanced batch job scheduling.
    Most operating systems and some business solutions software come equipped with native batch job scheduling tools that provide a limited service (e.g. Windows Scheduled Tasks, UNIX crontab, SAP CCMS) locally to each installation. However, business processes may span multiple platforms, applications, countries and companies. Their complexity may require much more functional power as provided by basic batch job scheduling including national and regional variations in the working calendar, sequence variations according to the day of the month, triggering of jobs by the successful completion of preceding jobs, elimination of gaps and reduced batch windows. Major benefits of basic batch job scheduling are enhanced productivity, operations reliability and cost-reduction. For e-business applications that require real-time processing, the distance between interactive individual processing and batch processing tends to decrease. Advanced batch job scheduling can handle these advanced requirements: event-driven scheduling for a real-time synchronization with interactive processing, just-in-time scheduling to run operations as soon as possible, cross-platform and cross application services for the entire IT landscape, real-time overall monitoring to track background operations for all applications on all servers.
    The standard benefits of batch job scheduling are drastically amplified when job schedulers can handle the end-to-end automation and monitoring requirements for all background operations.
    To schedule a back ground job follow the below steps:
    1. Use Transaction SM36.
    2. Assign a job name.
    3. Set the job’s priority, or “Job Class”:
    High --- Class A
    Medium --- Class B
    Low ---Class C
    4. Here you can specify,when the job is to start by choosing Start Condition. If you want the job to repeat, or be periodic, check the box at the bottom.
    Else click on the immediate and save this.
    5. Now,define the job’s steps by choosing Step.
    Here you need to give the ABAP program that has been used and the name of the variant thats being used.
    6. Save the fully defined job to submit it to the background processing system.(You need to click save button on the main screen i.e SM36)
    7. When you need to modify, reschedule, or otherwise manipulate a job after you've scheduled it the first time, you'll manage jobs from the Job Overview.
    8. Release the job so that it can run.
    The job, even those scheduled for immediate processing, can not run without first being released.So,do remember to release.
    Hope this helps you.
    Regards,
    Rakesh

  • Transaction CJI3 AND  - batch job and output in excel format

    We are trying to schedule a batch job and would like to have the output in an excel file.  Is there a way to enhance CJI3 and FMEDDW to have the output in a excel file.  I've looked at the Layout for creating the disvariant and I know you can have the output in excel format in the foreground, but I'm looking to put an excel file on the SAP DIRECTORY.
    Has anyone done this?
    Thank you.
    Linda

    Talking about Enhancement Options, I believe you can achieve it using Enhancement Implementation. There must be one towards the end of the program just before the ALV is displayed. You can create an implementation of the implicit enhacement spot and output the file to a location maintained in some VAR (to keep the output location dynamic as we don't have it on the select screen).
    My reply is not to the point but I hope you find a way using enhancement spots.
    Should you need any help with enhancement implementation, following blog is good enough:
    Blog - [Enhancement Framework|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417800%29ID1759109750DB10206591421434314571End?blog=/pub/wlg/3595]
    or you can ask back here.
    regards,
    Aabhas
    Edited by: Aabhas K Vishnoi on Sep 24, 2009 10:40 AM

  • Batch job and background job

    Hi
    what is the difference between a batch job and backgroun job ??
    thanks
    kumar

    hi kumar,
    As far as I know
    Batch job are the jobs created with sessions. You can process those sessions in SM35. These are not direct update methods.
    Where as the background jobs are the jobs running in the background with out user interaction. Once you schedule the job for the background job it will run with out user interaction according to the given schedule.
    You can run the batch jobs also in background.

  • Difference between extraction as a batch job and BADI

    Hello
    Please can somoene explain me what does this mean:
    The extractor is based on the running of a BADI when tickets are saved rather than extraction as a batch job
    thanks

    Hi Tom,
    Batch Job and BAdi's are two different things but their purpose is somewhat similar i.e. background processing.
    BAdi's are SAP enhancmenents where in you can attach your own code to SAP code which is getting executed so that along with std code to ger our job is done.
    Background jobs are scheduled to run in system periodically. Here we can code like it will check for certain things and then if required it will execute some code.
    Thanks and Regards,
    Vaibhav Pendse

  • PL/SQL batch jobs and error reports handling

    Has anyone ever had to write exception and statistics reports from a PL/SQL batch job and how have those been handled? I have 3 options below not but sure what is best (or is there another) way to do this.
    I have a series of batch jobs that are written in PL/SQL. A unix script will invoke a SQL*Plus script that calls a stored procedure. The stored procedure may call other procedures and functions. I'd like to collect all the errors and write them out a report that the user can review. I was thinking of just writing a message using DBMS_OUTPUT and spool that to a file in my script, but I have concerns that other message in the buffer may end up in the report. The other thought was to use UTL_FILE but then I would have to make sure the file handle got passed thru all the procedures and functions appropriate. The last thought was to write to a table ( a temporary PL/SQL table) , and then read that table and write to a file using UTL_FILE (don't have to pass file handles that way) - but I'm not sure if a called function or procedure can access that table.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by mirp:
    Has anyone ever had to write exception and statistics reports from a PL/SQL batch job and how have those been handled? I have 3 options below not but sure what is best (or is there another) way to do this.
    I have a series of batch jobs that are written in PL/SQL. A unix script will invoke a SQL*Plus script that calls a stored procedure. The stored procedure may call other procedures and functions. I'd like to collect all the errors and write them out a report that the user can review. I was thinking of just writing a message using DBMS_OUTPUT and spool that to a file in my script, but I have concerns that other message in the buffer may end up in the report. The other thought was to use UTL_FILE but then I would have to make sure the file handle got passed thru all the procedures and functions appropriate. The last thought was to write to a table ( a temporary PL/SQL table) , and then read that table and write to a file using UTL_FILE (don't have to pass file handles that way) - but I'm not sure if a called function or procedure can access that table.
    <HR></BLOCKQUOTE>
    Just a thought
    If You use utl_file, You can write all opeations with files in a separate package with public variables of file handles and so on. Not necessary to pass all variables to each procedure and function

  • How can I set my WebI filters to Null and not Null

    Folks,
    I have created a report in WebI and now I am to set up some filters as Null and some Not Null.
    How can I set my WebI filters to Null and not Null?
    Regards,
    Bashir Awan

    Hi,
    As you said you could do it at the report level and also at the universe level.
    One more way is to create the filters in the universe levele and add them in thequery filter.
    Ex: in the filter you need to write :
    Column1 is null and and column 2 is not null etc.
    Hope this will help.
    If this did't  solve your problem then please explain it in detail.
    Cheers,
    Ravichandra K

  • HT204053 Hi, how can I set up icloud for my ipad and iphone5? I missed tout he initial setup step and now want to have both the devices under icloud. Please help...thank you!

    Hi, how can I set up icloud for my ipad and iphone5? I missed tout he initial setup step and now want to have both the devices under icloud. Please help...thank you!

    Go to Settings>iCloud and sign in with your Apple ID to create the account.  Then turn on the data you wish to sync with iCloud.  See http://www.apple.com/icloud/setup/ios.html.

  • Setting up alarms when batch jobs fails

    Hi,
    I hv a requirement to setup alarms whenever a sap batch job fails,  Can anyone help me in this regards.
    Thank you very much in advance.
    Kind Regards,
    Ahmed.

    check this document
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8065591d-ea33-2b10-a0af-f17c923874c8
    see in page-2.
    кu03B1ятu03B9к

  • Can not set breakpoints due to missing line number attributes

    Hi,
    I am using Eclipse 3.0, Jboss to run my Java applications. Till yesterday I could set breakpoints and everything was working fine.
    I didn't change any settings but it is not allowing me to set breakpoints anymore.
    Error is:
    Unable to install breakpoints due to missing line number attributes
    I double checked the settings in window->preferences->compiler->classfiles
    Add line number to class files is checked.
    Is there anything else I can do?
    Any help on this would be greatly appreciated.
    Thanks
    nmadhava

    I'm facing the same problem (no line number information) on the following configuration:
    Eclipse 3.1.1 SDK with WTP 1.0 feature, Weblogic 7.1, running on weblogic provided JVM: JDK 1.3.1_08
    I have already done the following:
    1/ Re-checking debug preferences in Eclipse and rebuild all projects in the workspace then redeploy via ANT.
    2/ Building via ANT1.6.2 with all javac tasks set to debug="on" and redeploy
    Breakpoint is located in code section residing in one of the workspace's projects. But I don't know weather 3rd-party jar resources have been compiled with debug enabled or not; I suppose however it does not matter as I do not try to debug 3rd-party code but ours.
    Any suggestion appreciated.
    Regards

  • CS4 Media Encoder batch jobs, and .avi ffdhshow

    I have two distinct, but slightly related questions to ask.
    First I should point out: I've used Premiere and After Effects for creative purposes before, but today I am using Adobe software for a more practical purpose: some engineering research work. Essentially, I have thousands of hours of video to process, I have all the firepower needed to perform it, I am currently limited by the ammount of time I am stuck clicking away at the computer.
    Essentially my job right now is to convert and concatonate 1 minute segments into larger cohesive files. I say convert because the supplied files are encoded as .avi with an obscure proprietary surveillance video format (Mavix, for those of you familiar, doubt it though, even a google search won't bring up anything). It's okay, I have the VFW installed and so far I've been doing fine (if not slowly) pre-converting to NTSC DV default with AME CS4 and then importing into VDub (handy because of it's automatic file appending feature) at which point I compress with ffdshow (gave me the best performance considering quality, compression and processing perfromance). Vdub is also handy because I can take better advantage of multi-cores (8 per machine) by running Vdub jobs and AME jobs simultaneously. I am still amazed how mult-tasking on these machines gets me absolutly no performance hits.
    Why is it that I am using AME? It seems to be the only thing that can decode these Mavix files (I've tried them all). And only a direct convert through AME... if I open it up in premiere first, then export it, the video glitches.
    Question 1:
    Right now, the biggest challenge is batch converting videos. I can drag up to 70-75 videos (regardless of hardware) into AME before it starts rejecting files. I would like for it to pre-process thousands of them at a time automatically. Any ideas how the queue size can be increased or how I can properly batch convert thousands of files at a time? Checking back at a computer every 20 minutes for a week is a real waist of time when I could leave it sit over the weekend in a corner and do it's thing.
    Question 2:
    I wanted to reuse the concatenated files that Vdub spat out (.avi ffdshow H.264 -> no comments please, I have a good reason for doing this) for some other work. I just want to know if it is possible to get Premiere to work from these files directly or if I have to reconvert them to somethign else first. So far, importing them yields black video.

    Hi,
    I have absolutely no experience with this...but as to question number 2... I did a google search on ---avi ffdshow h264 cs4 ----and found this info
    As you probaby know a lot of people using premiere are adament about NOT loading codec packs, and in particular ffdshow and k-lite...but you probably know that or you might not have said " no comments please "....etc.
    That said, there is a part of the following stuff that says something about using cs4 with ffdshow with h264 enabled in the video and something enabled in the sound.. and then the reference to K-lite...but that k-lite post was using ( at that point ) a different editor I think...so take this with a grain of salt and maybe check the ffdshow enabled setting so you can see your video in PP...
    Good luck  ....and I hope your computer doesnt explode  or anything bad happens...which might mean a total reformat and reinstall etc...
    http://forum.videohelp.com/threads/302604-Creative-Vado-HD-AVI-%28H-264%29-Editing
    ·  I also own a Vado HD.
    May I know which editor is compatible with it?
    Quote
    · 13th Apr 2009 09:36 #7
    poisondeathray
    View Profile
    View Forum Posts
    Private Message
    Member
    Join Date: Sep 2007
    Location: Canada
    For simple edits, you can use vdub (see above)
    If you need a NLE, Vegas Pro 8 will work, if you have ffdshow (h.264 enabled) or x264vfw, but it won't see the audio. So you can open it in vdub and save the audio as wav then import into Vegas
    Premiere Pro CS4 will work, but you need ffdshow (h.264 enabled in the video configuration and MSADPCM enabled in the audio configuration)
    Cheers
    Quote
    · 10th May 2009 23:15 #8
    rogerconnery
    View Profile
    View Forum Posts
    Private Message
    Member
    Join Date: Sep 2006
    Location: United States
    Hi, I just bought a Creative Vado HD and I have 3 clips I just want to paste together.
    I downloaded Virtualdub, downloaded x264vfw, downloaded ffdshow (h.264 enabled) and installed all three. I still can't open any of the Vado HD clips into Virtualdub. I get an error message. Is there another step I am missing?
    Thanks in advance!
    Quote
    · 10th May 2009 23:21 #9
    poisondeathray
    View Profile
    View Forum Posts
    Private Message
    Member
    Join Date: Sep 2007
    Location: Canada
    do you have this version installed?
    http://sourceforge.net/projects/x264vfw/
    if that doesn't work for you , enable h.264 in the ffdshow vfw decoder interface (yellow icon, not red icon), because vdub relies on vfw , not directshow    ( ROBODOG2 NOTE ----GRAPHIC BELONGS HERE.....SEE BELOW )
    Quote
    · 11th May 2009 12:16 #10
    rogerconnery
    View Profile
    View Forum Posts
    Private Message
    Member
    Join Date: Sep 2006
    Location: United States
    @poisondeathray - yes that helped! thank you!!!
    Now that I am able to "edit" my Creative Vado HD videos in Virtualdub, I notice something very strange. Each video clip is approx 30 seconds long. The total combined/merged clips should be approx 2:30 long. However, windows media player (as well as right clicking for properties) says the video is WAY longer than it should be (like 11 min long)!!!
    Anyone else notice this? Is this a virtualdub mistake or human error on my part?
    Quote
    · 11th May 2009 12:49 #11
    poisondeathray
    View Profile
    View Forum Posts
    Private Message
    Member
    Join Date: Sep 2007
    Location: Canada
    Did you do any editing or just append the clips? If you edited portions did you cut on keyframes?
    Did you set "direct stream copy" for video & audio?
    What do other media players (e.g. vlc, kmplayer, smplayer) and mediainfo say about the joined clip ?
    Quote
    · 26th Jul 2009 15:54 #12
    cybereality
    View Profile
    View Forum Posts
    Private Message
    Member
    Join Date: Jul 2009
    Location: United States
    Has anyone found a solution to this issue yet? I can't believe Creative would release a product like this with almost no 3rd-party support. I really wanted to get this camera, but this is a deal-breaker. I managed to get a few raw files from the Vado HD to test. They work fine just for playing in WMP, but I cannot edit the videos in any program I tried. Adobe Premiere CS4 doesn't work. You see the audio but no video. If you try to do basically anything it crashes. Sony Vegas 9 doesn't work either. Same deal, audio with no video. Same issue in VirtualDub. I have ffdshow installed and H.264 is enabled (libavcodec). Do I have any other options here?
    Quote
    · 26th Jul 2009 17:34 #13
    Xpenguin17
    View Profile
    View Forum Posts
    Private Message
    Member
    Join Date: Jul 2009
    Location: United States
    Download and install K-Lite mega codec pack. The ffdshow configuration will be pretty streamlined so you likely won't have to screw around with it after the install.
    Quote
    · 26th Jul 2009 22:56 #14
    cybereality
    View Profile
    View Forum Posts
    Private Message
    Member
    Join Date: Jul 2009
    Location: United States
    Thanks Xpenguin17. I installed the K-lite mega pack and now I can import the Vado HD raw avi files into Premiere. So far everything looks good. Thanks a lot.

Maybe you are looking for