Unable to schedule KKAJ in background

Hi,
I am not able to schedule the transaction KKAJ in background. I tried with BDC and now I am submitting the program SAPKKA00 with proper parameters. When I execute the program with the SUBMIT statement in foreground, it works fine. But when I add the program to a job in SM36, I am getting an error 'Fill in all required entry fields'. I am  passing exactly the same parameters as in foreground. I am not able to debug as this happens only while it is executed in background.
Any thoughts on why this is happenng?
-Thanks,
Sharadha

Hi Sharadha,
You can debug in background with JDBG (note 573128).
I hope this helps.
Regards,
Lucas

Similar Messages

  • Unbale to schedule job in Background Mode

    Hi All,
    I have used RFBIBL01 to create a Batch input session .
    I am able to process the session in fore ground.
    But when i try it in background.I am getting an error message as
    "Unable to schedule Session PAYR_N_PR4_1"
    plz guide me reg this.
    Thanks.
    Shyam

    Hi Sangeetha,
    Yes your assumption about your requirement is correct as per the requirement for the data but as per the daily job
    you need to follow some steps:-
    1. Don't use the JOB_OPEN, JOB_SUBMIT and JOB_CLOSE inside the program instead of that you can define a daily basis job in transaction SM36 with the job step as your report name, and you can define the frequency of that job for every day 23:59 time.
    2. Now again you have a doubt to put the data on the selection screen for this requirement you can use the report variant it could be more. That should be decided by you.
    3. Your last doubt is to transfer the file from application server to FTP server that can be done by the script. script is depend upon the OS of the application like if its a UNIX system you can write a set of unix commant to transfer it or windows batch to do the same.
    Regards
    Dhirendra

  • Similar report for Account Balance display which could be scheduled in the background

    Hi SAP gurus,
    As we know to display GL Account Balance Display we have std report "FAGL_ACCOUNT_BALANCE" But we can not run this in background as it is ALV report.
    So I would like to know a similar report which could be scheduled in the background.
    Thanks in advance
    Regards,
    -Chetan

    Hi,
    As division is not header field of invoice it is not available in accounting document header as well. Thus it will not be available in any standard reports showning items per account. I'm affraid you need to develop your own report or try to extend existing using user-/customer-exits.
    You can find more information in OSS note 13131.
    Regards,
    Marcin

  • Scheduling report in background and passing the necessary parameters

    Hi all,
    Using code (in a report1) ...i want to execute a report (report2) in background.....but at the same time i want to pass data (an internal table and a variable) to that report2.
    is it possible to pass data like internal table to a executable report and at the same time pass the data to that report.
    Thanks in advance.
    Thanks and Regards,
    Sushil.

    Jonathan,
    you mean to say that .....  report1 will place the file on application server with all the data that is required for report2...
    and after scheduling report2 in background ,...... the report 2 must read the file and then delete it,,,,,
    the data is extensive,,, i want to pass on 1,00,000 records to that report ,... so passing it via a dataset,,,wont hamper performance..??
    Is there any other direct way to do it,,,,,,,??
    Thanks ,
    Best Regards,
    Sushil.

  • Scheduling queries in background

    How do I schedule Queries in background?
    Thanks

    Shika
    other option is You could do this using RSCRM_BAPI.
    See this weblogs
    https://websmp103.sap-ag.de/~sapdownload/011000358700004400232004E/HowToRSCRM_BAPI.pdf
    /people/durairaj.athavanraja/blog
    One more option is using Reporting Agent
    Hope this helps
    Thnaks
    Sat

  • Time Machine options are not working. I am unable to schedule automatic backups.

    Time Machine options are not working. I am unable to schedule automatic backups.  The On-Off button is grayed out. I can perform a backup manually.

    Thanks for responding.  I have an external disk with plenty of room.  It is used only for backup of my computer.  I get a backup by clicking on the Time Machine icon at the top of the page and select "Back Up Now."  When I click on Time Machine Preferences, there is a box labeled "Options" which allows me to exclude items from backup and notify after old backups are deleted.  There is no option to schedule a backup.  The "OFF/ON" box is gray.  For "Next Backup:" it says "Automatic backups off."  I would like to turn it on.

  • Pages:  I am trying to put an image to the background of text.  When the image is selected I am unable to click on the Background option.  Help.

    Pages:  I am trying to put an image to the background of text.  When the image is selected I am unable to click on the Background option.  Help.

    Thanks for responding!!!  Please help.  In last years pages version it worked great!!!
    Pages: 5.1
    OSX: 10.9.1
    Template:  Just a Blank.  I am working on a document that I created last year.  Now just making edits.
    Ben

  • Unable print scheduled report on network printer using BOEXI 3.0

    Hi,
    I'm unable to print a scheduled report on network printer using BOE XI 3.0. I get the following error
    Error Message: Error in File ~ce6a054be1a25b52.rpt: Request cancelled by the user. ]
    Has anyone encountered this kind of problem and know what the solution is?
    Thanks,

    Hey Falk,
    Thanks for the response.
    I can print on a network printer after I changed 'Crystal Reports Job Server' to run under a user account that has privileges to access the printer.
    To answer your questions regarding the problem:
    >Can you schedule the report successfully ?
    >>Yes I was able to schedule the report successfully
    >Can you print the report successfully?
    >>NO the scheduled task would fail with the error message as posted above.
    Thanks,

  • Schedule job in background and ftp the data to non-sap system

    Hello All,
    I have a requirement where in i have to write a program(with selection screen) to download 2 files into application server(frequency: end of each day i.e daily at 23:59), and then in turn i need to put those two files into FTP server using FTP script.
    i guess my flow of the code should be
    1. write the program with selection screen and
    2. get the data from corresponding tables and put it into internal tables.
    3. then i have download the data into application server
    my question is : how i will schedule the job in background to download the data into application server daily? using job_open, job_submit, job_close?
    4. then how i need to move the files from application server to FTP server using FTP SCRIPT?
    Also my doubt is once i execute the program ONLY, the background job is triigred (because i wrote job_open, job_submit and job_close inside my program). then how will i input the data into screen daily and download the data into application server in background automatically???? i am confused ...
    Please help me to solve the above issues
    thanks
    sangeetha

    >
    sangeetha s k wrote:
    How my data in application server will be transfer to another system using above FM? Because i am not passing application server file path in SAP to that FM. Could you please explain ?
    So the path name and the file name are always the same? In that case you could simply create a SM49 entry with hard coded file & path name.
    An easy example for the COPY command under WINDOWS OS:
    Create a command in SM49 called ZCOPY with following data:
    Operating System = Windows NT
    OS command: cmd
    Parameters for os command: /C copy  "C:\tmp\my_file.txt" "z:\tmp\my_file_copy.txt"
    Additional parameters allowed: (leave blank)
    In this case you would call SXPG_COMMAND_EXECUTE by filling this 2  parameters:
         commandname                  = 'ZCOPY'     
         operatingsystem               = 'Windows NT'
    In the case that the file name and the path are not fixed you would set the following in the SM49 definition:
    Additional parameters allowed: X
    In this case you would call SXPG_COMMAND_EXECUTE by filling this 3  parameters:
         commandname                   = 'ZCOPY'     
         operatingsystem                = 'Windows NT'
         additional_parameters       = params  "<== fill in the path and file name during run time into this variable

  • Job Name of a Program scheduled as a Background Job

    Hi,
    In our production system. We have a program which is scheduled to run in the background by various job names. At runtime, I need the program to figure out under which Job Name is it running. I dont think there is any system field which stores the Job Name of the background job.
    Any inputs?

    Hi,
    It will run in default with <b>the name of the program</b>.
    Goto SM36 and put a * in job name u will see all the jobs that are schedule, if u specify the program name for the job schedule u will get that list alone.
    U can differentiate by seeing the time the job was scheduled.
    http://www.sap-img.com/ab007.htm
    Please reward and close the thread if u got the info.
    Message was edited by: Judith Jessie Selvi

  • Certain Maintenance Plan not getting scheduled in the background job

    Hi Gurus,
    I am facing an issue here.
    A weekly background job (RISTRA20) runs every weekend and schedules the maintenance plans.
    But we have noticed that some maintenance plans are not getting scheduled. i.e no orders or schedule is getting generated.
    When I run IP30 manually for these plans then the schedule gets generated and orders get called.
    I have checked up the background job and it is running fine.
    Also, i have noticed a similarity in all these plans which are not getting scheduled. There schedule has been restarted (through IP10) at somepoint or the other.
    But i don't see any direct impact of this?
    Can any of you provide some help on this?? Points will be rewarded.
    Thanks and regards,
    Nitin Saini

    Hi Narender,
    Thanks for replying.
    The message number for 'Groups don't match' is ME303.
    I think this does not have anything to do with the restart as i have done further investigation.
    Whenever I run IP30 with sortfield input as AS02*, i get the error as mentioned above for a certain number of maintenance plans while the remaining plans get scheduled.
    If i run IP30 for any other sort fields, it runs fine and i don't encounter the error
    mentioned above.
    If you send me ur email address, i could forward you screen-shots of the issue.

  • Can we schedule BDC in Background Mode - SM37

    Hi Guru,
    Can we schedule our BDC in background - SM37 . Upload file will be on Local Sustem - C drive.
    Regards
    Durgesh
    Moderator message: background/GUI problems = FAQ, please search before posting.
    locked by: Thomas Zloch on Oct 6, 2010 2:14 PM

    GUI functions (like GUI_UPLOAD) will not work in background, they need an actual Gui active.
    There are plenty of threads on  this subject, search also in the wiki for threads/guide like [Working with files |http://wiki.sdn.sap.com/wiki/display/ABAP/Workingwithfiles] or [Communication to Presentation Server in Background Mode|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2&overridelayout=true] or [Working with FTP Server |http://wiki.sdn.sap.com/wiki/display/ABAP/WorkingwithFTP+Server]
    (To execute a BDC in background use report RSBDCSUB.)
    Regards,
    Raymond

  • Schedule ME2L in background and send output to email address

    Hi,
    Our Client has a requirement to schedule ME2L (particular variant) in background.
    The report should run every day in background and output should get emailed to particular email address.
    Any ideas??? Pleae let me know.

    Thanks for the information. Very useful.
    I am just facing one road block at the moment.
    I am now able to schedule the ME2L Report and email it as attachment.
    But, we have created a particular layout for this report, which we want should get emailed.
    But when we schedule the report in the background (or run it in background manually), it only picks the standard layout!
    I cannot find any layout option in ME2L Selection Screen as well. (I could have saved it in the variant then)
    Can you help?

  • Schedule program in background & send output list as group email

    Hello all,
    I have a requirement where I have to schedule a job in background. If there happen to be an output, this output needs to be sent to the email id's stored in a Z Table.
    Please let me know how to proceed.
    Regards,
    Salil

    Hi ,
    yes you can do that..
    see the belwo steps...
    if sy-batch = 'X'.         "this means report is running in Background
    NEW-PAGE PRINT ON NO DIALOG PARAMETERS wa_pri_params.     "creating spool request
      WRITE : / text-s32.
      ULINE.
      LOOP AT t_ouputdata INTO wa_ouputdata.
        WRITE : /  wa_ouputdata.
      ENDLOOP.
      WRITE : / text-s33.
      NEW-PAGE PRINT OFF.                                        "closing spool request
    * To fetch the spool number from TSP01 table
      SELECT rqident
             FROM tsp01
             INTO w_rqident
             UP TO 1 ROWS
             WHERE rq2name = wa_pri_params-plist.
      ENDSELECT.
    * Function Module to Convert Spool to PDF file
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid     = w_rqident
          no_dialog       = 'X'
          dst_device      = 'LP01'
          pdf_destination = 'X'
        TABLES
          pdf             = t_pdf.
    "Call function and send the t_pdf data which contains output to email...
    "SO_NEW_DOCUMENT_SEND_API1 - Sending express mail ( SAP office )
    "RS_SEND_MAIL_FOR_SPOOLLIST - Send message from ABAP/4 program to SAPoffice.
    "SO_NEW_DOCUMENT_ATT_SEND_API1 - SAPoffice: Send new document with attachments via RFC
    ELSE.
    "call alv or normal display if you run report foreground..
    endif.
    Regards,
    Prabhudas

  • Schedule SP01 in background, how to?

    Hello together,
    does anybody have an idea, how to schedule TA SP01 in background?
    My first solution thought was, to call SP01 from a small program, but, because SP01 is a module-pool program, it can only called via "call transaction". Immediate after output, SP01 returns to the caller and the result list of SP01 is
    not viewable as spool. It works fine in dialog processing.
    My second idea was, to make a copy of SP01, the underlying module pool  and so on, modify the menu so that it contains the variant-functionality fcodes. But to
    do so, i need to switch the report type from "Modulepool" to "Executable program" and i didn't know exactly, if this will work.
    I would be grateful if someone can help me further!
    Have a nice day
    Jens

    Hi!
    What's your point, what are you going to do with SP01?
    For example we are retrieving data from the spooler like this:
    1. Reading table TSP01 for the spooler contents
    2. Downloading the required requests (identified by a special name) with the function module CONVERT_ABAPSPOOLJOB_2_PDF, or CONVERT_OTFSPOOLJOB_2_PDF.
    Regards
    Tamá

Maybe you are looking for