BP Generating - Background Job

Hi @all,
I want to create my business partner by the transaction BG_GEN (automatic business partner generation, depending on the users in the R/3 System).
Everything works fine, the business partners where created and it's perfect.
But I have a question. Can I make this automatically creation with a job? I mean, can i plan a job (for example once a day), which creates business partners? So if we got a new user, thsi user will automatically been created as business partner in our SolMan?
Hope anyone could help me to do this,
thanks in advance
Michael

Hi,
It seems that the final internal table which has the output data is empty & hence write statements are not executed ( assuming all the write statements are inside a loop).
Place one write statement outside loop like
write :/ 'Following is the result :'.
& check whether spool is generated. If yes, then the problem is of empty internal table.
You can select the job in SM37 & type JDBG in command prompt to debug a background job.
Debug & check the issue.
Best regards,
Prashant

Similar Messages

  • How to cancel scheduled background job?

    Hi,
    I have used FM 'HR_START_BATCHJOB_IN_OTHER_SYS' to schedule background job.
    Some mistake has happend and this FM calling has gone to infinite loop. So, now the system is keep on generating background job. I tried looking into SM36 to stop this background job but i failed.
    Can anybody help me how to stop scheduled background job please.
    Regards,
    Mukund.

    Hi,
    Check which background process your job is  running from the Job details and inform your Basis consultant to Kill the process. If you have sm50 acess or sm66 access you can do the same.
    Regards,
    Vijay v

  • RESCCC - Generate cost collector as background job.

    Hello,
    I am trying to generate the cost collector. normally this is a two screen procedure. In the first screen I input the parameters and then execute it.
    In the next screen the list of cost collectors appear with the red & white circle icon at the top. When I select the cost collectors and click on the icon, it generates the cost collectors and they are now ready for the next period.
    We have a timeout setting of 900 seconds set in our system. As a result any foreground job that runs for more than that leads to a short dump. We cannot change this parameter.
    Thats why I was trying to run the report as a background job. When I am running the background job, after a while when I am checking the status of the job I can find that the job has successfully finished.
    The problem is that in this case I dont get the second screen from where I could select the cost collectors and then 'generate' them using the red & white circular icon. That screen just doesn,t come at all.
    Can someone please tell me that if i run this as a background job then how may I get to the screen (the second screen) from where i can select the cost collectors and generate them?
    Regards,
    Suvarghya Dutta

    Hello,
    when RESCCC is run as background job the cost collectors for all specified settlement units should be generated without the need to select them in a second screen.
    Please check that you have made the selections for settlement units and also the settlement period start and end date properly for your background job. If it still doesn't work please check the protocol of the background job for messages.
    Regards, Franz

  • Background job not generating spool

    Hi all,
          I am calling a report from another report. The called report will display the final output list.
    Here, the called report will be executed in background.
    here the job is completing but the spool is not generated.

    Hi,
    It seems that the final internal table which has the output data is empty & hence write statements are not executed ( assuming all the write statements are inside a loop).
    Place one write statement outside loop like
    write :/ 'Following is the result :'.
    & check whether spool is generated. If yes, then the problem is of empty internal table.
    You can select the job in SM37 & type JDBG in command prompt to debug a background job.
    Debug & check the issue.
    Best regards,
    Prashant

  • Is there any FM to generate spool request for error log of a background job

    Hi,
        I am going to create a program to create deliveries and do PGI. This program will be assigned to periodic background job.Now whatever  errors are generated in program i have to send the error log to spool request.Is there any FM for generating spool request with this error log  or how can this be done? Kindly provide sample code if possible.
    Thanks.
    Nimish Dongare.

    Hi Nimish,
    How are you doing, This is Shreekant working as ABAP developer, I sow your post in sdn forum, I have a similar requirement like I am changing the delivery taking some data from a flat file which is coming from other system and do PGI. If any error occurs during this process I need to capture it and present it as a report or create log file.. whichever is easier.
    Please can u help me how did u achieved this functionality for your requirement?.. pls. can u share some details.
    If u don mind, can u give me ur email id to communicate.
    Thanks,
    Shreekant

  • MRP background job generating Plnd Ord instead of Pur Req

    Hi Gurus,
    There is a variant created for background job of MRP, which is running once in a day. In this varaint, I have control parameters set in such a way in that , it should create purchase requisition ( Purchase requisitions in opening period = 3 ) . But its creating planned order only.
    When I am running in foreground, it is generating Pur Req as expected but not generating Pur Req when running in background.
    Please help me creating purchase requisitions instead of planned order.
    Regards,
    Om
    Edited by: Om.P.Singh on Nov 24, 2011 5:12 PM

    Dear Om.P.Singh,
    As per your settings (Setting value 3  for Create Purchase Req paremeter) it will create only planned orders for the externally
    procured items.
    If you have set the value as 1 then it creates only purchase req's for all the externally procured materials.
    If you have set the value as 2,then it creates PR in the opening period(mentioned in the scheduling margin key) and planned
    orders for the remaining period.
    This parameter setting works only for the externally procured items.
    Check and revert back.
    Regards
    Mangalraj.S

  • Spool not generated in BAckground Job

    Hi,
    I am trying to schedule RSNAST00 in a background job. My problem is that when the job gets finished i cannot see a spool for the output, any pointers to this issue will be appreciated.
    Regards,
    Sharadendu

    Go to transaction SM37 and check job log.
    It is possible that something is going wrong in your program. I would suggest you to debugg background job.
    To debugg just select job in SM37 and in command window(Where we type T codes) type JDBG and press enter. This will open debugger. Press F7 for approx 4-5 times. Now your program will be opened in debugg and you check why spool is not generated.
    let me know ig this helps.
    Regards,
    Jigar Thakkar.

  • VL10B is terminating in background job, no deliveries are generated

    VL10B is terminating when running in a background job then no deliveries get generated for STO, is there a way to make the program skip to the next record instead of terminating so some deliveries will be generate?

    Hi mohan,
    check in material master whether there is any saftey stock / minimum stock is there.. if so. please correct it.
    Ramki

  • Mails are not generated in background Jobs and not shown in SOST.

    Dear All,
    I have facing issue regarding to system mails. I want to send mails the various reports automatically from SAP System to different recipients. So I scheduled that reports at background and in their spool list recipient I have added distribution list.
    But that mails are not generated, it is not shown in transaction SOST also. When I send mails manually it goes successfully to only our company domain recipients. But not other domains. How should I resolve this problem?
    Please help me out.
    Thanks in advance.
    Amit

    Hi Srihari,
    I have checked the background jobs they showed it finished. Following logs are shown in job logs. Is problem is due to 3rd log??
    18.03.2012 14:23:34 Job started    00           516          S
    18.03.2012 14:23:34 Step 001 started (program RFITEMAP, variant PDC FARMAR, user ID DEVELOPER1)      00           550          S
    18.03.2012 14:23:37 No items selected (see long text)                                              MSITEM         033          I
    18.03.2012 14:23:42 Spool request (number 0000026302) created without immediate output               SY           355          S
    18.03.2012 14:23:46 Job finished                                                                     00           517          S
    When I saw further details of 3rd log it following message.
    No items selected (see long text)
        Message no. MSITEM033
    Diagnosis
        No line items meeting your selection criteria could
        be for the following reasons:
        1.) No corresponding items have been posted.
        2.) You are not authorized to display this data.
        3.) The items have already been archived.
    Please help me out.
    Thanks
    Amit

  • BACKGROUND JOB WAS NOT SCHEDULED/LOG FILE NOT YET GENERATED

    Hello,
    To generate the log report, /VIRSA/ZVFATBAK program is scheduled on hourly basis but some time report doesn't get generated and if we see the background job then it shows sucessfully finished.
    If we see the maually the log report for FFID then below error message is displayed.
    " BACKGROUND JOB WAS NOT SCHEDULED/LOG FILE NOT YET GENERATED"
    Can anyone guide me to solve the issue.
    Thanks in advance.
    Best Regards,
    Prashant Dubey

    Hi,
    once chk the status of the job by selecting that and check job status(cltr+shift_f12)
    since it was periodically scheduled job there will be a RELEASED job after every active job..
    so try to copy that into another job using copy option and give some new name which u have to remember...
    the moment u copy u can find the same copied job in SCHEDULED status...
    from here, try to run it again on hourly basis....
    After copying the job u can unschedule the old released job to scheduled otherwise 2 will run at a time...
    rgds,

  • Afer background job finished, spool was not generated

    hi all
    Afer background job finished, spool was not generated but all background jobs is not
    soem background jobs was created spool.
    even if same user and same backgorund job, sometime generated spool or not.
    how can I solve??
    thanks

    Hi,
    Spool will be generated only spool specification wil be defined for that job.
    Select the job go to steps spool specification you can see the device assigned to it.
    Regards
    Ashok

  • WHICH TABLE STORES SPOOL REQUEST GENERATED BY BACKGROUND JOB ?

    Background job is generating multiple request.
    i am not able to find the table which stores all the spool request for a particular background job.

    i know the table for spool request :  TSP01
    But how should i link it to background job name ?
    i want the link between background job name and spool request generated by it......
    TBTCPV is the view but it stores only one spool request.....rather than multiple spoolreq generated by background job..

  • Monitoring of File in FTP Server generated by background job in ECC system

    Hi,
    There is a background job in ECC system, which generates a file in FTP server. However the issue is that even if the background job is successfully executed, there are instances where the file is not generated in FTP server. Is there any way by which we can monitor such file in FTP Server?
    Regards
    Nishu Shah

    Hi,
    I guess this is not a solman question. Anyway, how do you perform the FTP?? custom code?
    Cheers,
    Diego.

  • Automatic Mail not getting generated through background job

    Hi Experts,
    We have set up a job variant with spool recipients. We are getting the automatic mail if the job is getting finished successfully. But we are not getting the automatic mail if the job is in cancelled status. Earlier we used to get the mail even if the job is in cancelled status. We are not sure if there is any setting which would restrict the automatic mail based on the job status.
    Appreciate your help in this regard.
    Thanks and Regards,
    Ranjani.

    Hi,
    Just for a work around, try checking the SAP user inbox for the user who has scheduled the background job.
    I don't there  is any seperate configuration in Spool List Recipient for the canceled jobs. We need to confirm that the email ids provided in the Spool List recipient are correct and the background job creates a spool request even if it is canceled.
    Also if possible try deleting the existing background job and create a new background job with the same parameters and valid email id's maintained in the Spool List recipient.
    OR
    Without deleting the existing background job, parallely create a new background job with the same parameters and valid email id's maintained in the Spool List recipient. If it works then delete the old background job.
    Thanks
    Harish

  • Report to be generated,mailed based on Reminder date through background job

    Hi All,
    We have a requirement where in I need to mail the "Task Monitoring" report to the Personnel administrator based on the reminder date set for different task types mentioned in IT 0019.
    I am using T-code sm36 to set the background job on a monthly basis.
    I am able to mail the report for as per the reminder dates set in the "Task monitoring" report. But I want to know how the system will pick the reminder date on a monthly basis to mail the report accordingly.
    Eg. For the month of Jan, i have set the reminder dates falling in that very month in the selction output of "Task Monitoring" report and mailed.
    Now I want sytem to automatically pick the reminder dates and mail the report. Pls let me know the steps to make the sytem pick the next reminder dates on its own on monthly basis.
    Points would be rewarded for appropriate solutions.
    Thanks.
    Deepali

    Hi,
    After pressing save button to create a variant, system takes me to the Variant Attributes screen. There I select on "Selection variable" accross "Reminder date". I clcik on the "Dynamic date calculation".
    Then when i go to the "Name of Variable column" and i  select "First day of the month" from the drop down. Can u pls explain me how this would help me capture the "Reminder dates" on monthly basis falling on each month when i mail the report on monthly basis.
    Eg. For the month of Jan, i need all the reminder dates falling in this month.
    For the month of Feb, i need all the reminder dates falling in this month. Like this, It goes on all for all the months.
    Thanks.

Maybe you are looking for