Back ground creation of to

Hello gurus,
My scenario is that , when i do a gr , the goods are directed to a storage type gr1. Now as soon as the goods are moved to the GR1 storage tyhpe , a back ground job should create a to for bin to bin transfer. I tried creating a variant for lt10 but am not able to do it ..please advice..
thnaks in advance
kaush

Gurus,
I have already done the gr process, the material is moved form 902 to a storage type gr1. Now after moving it gr1, the customer wants these articles to be moved to storage type dc1. I want to create the TO in the background automatically as soon as the material arrives in the gr1 st type.
I hope i have answered your question frenchy. What you said krishna , makes the bin a fixed bin,( by specifying the st type and bin in the movement type and that wouldnt be necessary in my case since i have defined the storage type strategy.
any suggestions ...
thanks
kaushik

Similar Messages

  • Back ground Job Creation  and maintanance ?

    Gurus
    I have a report, which will take more than the normal 10 min time.
    ISo i have to run it in the back ground session.
    Please let me know how to create a back grund job and maintain and process it?
    Also please tell me the Tcodes associated with this process.
    Thanks a lot.. Points will be awarded....of course...
    Meenakshi.N

    On the report screen, press F9 (or program -> execute in background). Give the printer name and to send to spooler or print immediately option in the initial screen. Press OK.
    Then, give the start time (options will appear) and click on "Save" button.
    Now, to see the status of the job, go to SM37.and execute by your username. Here you can see the job status, spool etc.
    Let me know if you have any questions.

  • BACK GROUND FILE CREATION

    IF SY-BATCH = ' X'
    IF NOT i_down[] IS INITIAL.
            OPEN DATASET p_pf_01 FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
            LOOP AT i_down.
              v_down-co_name = i_down-co_name.
              v_down-plant   = i_down-plant.
              v_down-d_adr   = i_down-d_adr.
              v_down-matnr   = i_down-matnr.
              v_down-maktx   = i_down-maktx.
              v_down-mat_typ = i_down-mat_typ.
              v_down-str_loc = i_down-str_loc.
              v_down-d_sotxt = i_down-d_sotxt.
              v_down-lifnr   = i_down-lifnr.
              v_down-name1   = i_down-name1.
              v_down-kunnr   = i_down-kunnr.
              v_down-pspnr   = i_down-pspnr.
              v_down-vbeln   = i_down-vbeln.
              v_down-posnr   = i_down-posnr.
              v_down-d_taxid = i_down-d_taxid.
              v_down-meins   = i_down-meins.
              v_down-budat   = i_down-budat.
              v_down-xblnr   = i_down-xblnr.
              v_down-rmenge  = i_down-rmenge.
              v_down-imenge  = i_down-imenge.
              v_down-bwart   = i_down-bwart.
              v_down-bmenge  = i_down-bmenge.
              v_down-mblnr   = i_down-mblnr.
              v_down-remak   = i_down-remak.
              CONCATENATE  v_down-co_name
                           v_down-plant
                           v_down-d_adr
                           v_down-matnr
                           v_down-maktx
                           v_down-mat_typ
                           v_down-str_loc
                           v_down-d_sotxt
                           v_down-lifnr
                           v_down-name1
                           v_down-kunnr
                           v_down-pspnr
                           v_down-vbeln
                           v_down-posnr
                           v_down-d_taxid
                           v_down-meins
                           v_down-budat
                           v_down-xblnr
                           v_down-rmenge
                           v_down-imenge
                           v_down-bwart
                           v_down-bmenge
                           v_down-mblnr
                           v_down-remak
                     INTO
                         i_csv_file-csv_record
                     SEPARATED BY c_coma.
              IF p_pf_01 IS NOT INITIAL.
                TRANSFER i_csv_file-csv_record TO p_pf_01.
                IF sy-subrc = 0.
                  l_flag1 = 'X'.
                ENDIF.
              ELSE.
                MESSAGE s045(zz) WITH text-039.
              ENDIF.
            ENDLOOP.
            CLOSE DATASET p_pf_01.    
    ENDUIF.
    When i execute that Logic in Back Ground , i am not getting file in APP server
    could any one help on this pls

    Hi ,
    Are you giving any value to field  p_pf_01 or not? May this field is used for Presentation server file.
    Put a break-point at Open Dataset statement and debug.
    Hope this helps you..
    Regards,
    Ashok

  • 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
    Sumanth

    manosijbasu  
    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

  • 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

  • Back ground job work in MM

    CAN ANY BODY TELL ME WHAT IS A BACK GROUND JOB WORK IN MM pls explain it with good example tell me 1 or  2back ground job work relevent transactions
    good answer will be awarded
    kiran

    Hi,
    Background job means system will automatically perform some transaction / actions at perdetermined time based on the variants selected for that program.
    Ex 1: You want to see the list of PO or PR or Production order created for a day, you can create a ABAP program and give the creation date in selction screen.
    Provide the Plant or doc type, file path to download the report etc..
    and save the variant.
    You can set this program to run during mid night( 11.00 p.m) with the sysytem date (crrent date).
    So system will run this program and extract the report in Application server level as per the file location given in the program selection screen.
    Ex 2:
    MRP program
    Ex 3.
    Auto PO creation program
    Thanks,
    Kumar Arcot

  • Function Module to find the Last Execution date of Back ground Job

    Hi,
    Is there any function module to find the <b>last execution date of back ground job</b>.
    So that I can transfer the data from SAP to Legacy system based on the document creation date should be in between last execution date and current date.
    thanks in advance.
    Eswar.

    Don't know of a function module, but you should be able to use the information in table TBTCO to get the last start date and time of the job you are interested in.

  • How To Handle With Back Ground JOB From WEBUI When Click On "Appove"

    Hi
    How To Scheduled A Job Through ABAP Report In back end  Of CRM when i click on "Approve" Button in WEBUI  From result list.
    As per My requirement I have a Search View and Result View
    In Search View I have  Below Fields
    ITC Vendor ID    
    Claim Status
    User status (date status changed)
    Model
    Serial Number
    Date completed of Service Completion
    Based on Search Criteria I will get Result In Result View.(Suppose 10 Records I got In Result View)
    In the Result View I need to Add one Button As "Approve"
    When i Click On Approve button One Pop up Message Need to Open And In that popup window I need to Display Below Text
    "Approve  Claim Job Has Started In Background  
    Note: Only Claims Which are in Submitted  Status  Will be  Approved. you May Close This Window"
    In SAP CRM System  Back Ground Job Need To Start When Click On "Approve" Button In WEBUI .
    In the Back Ground ABAP Report which will validate based on Result List Records"
    In the Result List we may have all types of Claims which are status in "Submitted" "Pending" "Rejected" "Approve".
    I need to collect all records from Result list and validate Those Records who's Status in "Submitted
    1)Sort all the claims based on ITC Vendor ID.
    2)Grouped all the submitted claims against each ITC Vendor ID from the search result
    3)Change the status of the selected submitted claims to Approved.
    4)Displays information messages as mentioned whenever a claim is approved, the same message will be captured in the job log.
    ‘Claims <ClaimID 1>,…<ClaimID N> now approved for ITC Vendor ID’.
    5)Sending Email to each IRC.
    6)Capture all the approved claims in the below format (Format Attached "Screen Shot Attachment")
    7)Store the file in the Application Server AL11 in .csv format
    Please Find Attachement For Reference.
    1)ITC Claim Screen Shot
    2)Screen Shot For Attachment
    Thanks
    Raj

    Hi,
    You can add the following code in on approve method to show popup to the user,
    IF req_edit IS NOT BOUND. " gloabl attribute in impl class of the view
        REFRESH lt_buttons.
        lss_button-id  = 'btnyes'.
        lss_button-text = 'YES'.
        lss_button-on_click = 'YES'.
        APPEND lss_button TO lt_buttons.
        CLEAR lss_button.
        lss_button-id  = 'btnno'.
        lss_button-text = 'NO'.
        lss_button-on_click = 'NO'.
        APPEND lss_button TO lt_buttons.
        CLEAR lss_button.
        CALL METHOD comp_controller->window_manager->create_popup_2_confirm
          EXPORTING
            iv_title          = 'ATTENTION'
            iv_text           = 'Are you sure you want to edit this document?'
            iv_btncombination = '99'
            iv_custombuttons  = lt_buttons
          RECEIVING
            rv_result         = req_edit.
        req_edit->set_on_close_event( iv_event_name = 'EDIT' iv_view = me ). "#EC NOTEXT
        req_edit->open( ).
        RETURN.
      ELSE.
        lr_node ?= req_edit->get_context_node( 'OUTPUTNODE' ).
        lv_outbound = lr_node->get_event_name( ).
    *  CLEAR ptc_pricing_status.
    *    lv_outbound = req_edit->get_fired_outbound_plug( ).
        IF lv_outbound = 'YES'.
    you can use the submit report code here and you can al the validations here
        ELSE. " No
    if user clicks no nothing to do..
        ENDIF.
        CLEAR req_edit.
      ENDIF.
    Best Regards,
    Dharmakasi.

  • How to find the back ground job details

    Hi All,
       I have a back ground  job running from many days, now we would like to know when this job was created on what date this job actvlly created and schuduled.
               Please informe me how to check this.
    Thanks & Regards,
    Muralikrishna

    On SM37 screen there is plenty of options are there:
    This is what i got from SAP help
    Explanation for each selection field:                                                                               
    o   Jobname: Name of the job as an identifier.                                                                               
    o   Username: Name of the user who designed and planned the job.                                                                               
    o   Start date: The start condition of the job, which could be a time 
    frame or an event that the job is waiting for. Specifying both will   
    yield jobs whose starting condition is  either of the two             
    conditions.                                                                               
    ABAP program step: Name of an ABAP program that acts as a step in a   
    job.                                                                               
    Status selection: The current status of the job. By default, the      
    SCHEDULED option is not marked. To see the scheduled jobs, you must   
    explicitly check this.
    also give the proper values in Job Satus also.

  • Any restictions on back ground job when submit the session?

    Hello friends
    below is my code part. problem is when i execute this program in back ground the data is not picking from APQI. but in fore ground it is picking . for this SESSION submission in back ground am i missing any thing here. please suggest me , any restiction is their in back ground? if possible please send a sample code to submit SESSION automatically in background.
        SUBMIT rsbdcsub AND RETURN
                        USER sy-uname
                        WITH mappe    =  p_group
                        WITH von      =  sy-datum
                        WITH bis      =  sy-datum
                        WITH z_verarb =  'X' .
          SELECT userid credate groupid qstate FROM apqi
             INTO TABLE it_apqi
             WHERE userid  = sy-uname
             AND   credate = sy-datum
             AND   groupid = p_group
             AND   qstate  = 'E'.              "Only look for 'Error' status
       DESCRIBE TABLE it_apqi[] LINES temp.

    Codes for Submitting the session through RSBDCSUB (via Job)...
    " The function module JOB_OPEN is called to create the job.
        call function 'JOB_OPEN'
             exporting
                  delanfrep        = 'X'  "Delete job after execution
                  jobname        = fv_jobname  "Job name
             importing
                  jobcount         = fv_jobcount  "Internally generated
             exceptions
                  cant_create_job  = 1
                  invalid_job_data = 2
                  jobname_missing  = 3
                  others           = 4.
        if sy-subrc = 0.
          submit rsbdcsub
                 with       mappe = v_filec
                 with            von = sy-datum      "From
                 with            bis = sy-datum      "To
                 with     z_verarb = 'X'
                 with         fehler = ' '
                 with      batchsys = space
                 with         logall = ' '
                 via  job          fv_jobname
                      number       fv_jobcount
                 and return.
          call function 'JOB_CLOSE'
               exporting
                    jobcount             = fv_jobcount
                    jobname              = fv_jobname
                    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
                    others               = 8.
    Hope this helps!
    Edited by: Vin on Jun 4, 2009 10:58 AM

  • Problem in Back Ground Job

    Hi Experts,
    I want to execute a program in Back ground but my program has selectionscreen.
    I don't want to Provide Variant for this screen that's why i am passing these values Thru INITILIZATION event.
    But Background is not moving forward. It is waiting for I/p.
    Can you please help me on this.
    Thanks,
    Murali Krishna K

    Murali,
    For a program to be executed in background you need to create a variant and provide the variant name in the def. of the background job. giving the values at INITIALIZATION  will NOT work.
    On the second thought, you might have declared your parameters as OBLIGATORY. Take out that and make them optional. Now you schedule this in background without a variant and give the values in the INITILIZATION event.
    Regards,
    Ravi
    Note : Please close the thread of the issue is resolved.
    Message was edited by: Ravikumar Allampallam

  • Scheduling Back Ground job

    Hi All,
    I need to schedule a daily background job for MB52 transaction and need to save the output of MB52 in a specified directory .
    Can any one tell me whether it is possible to save back ground job output in specified directory?
    Thanks & Regards
    k.Nirmala

    Hi Nirmala,
    Set up variant at MB52 transaction and use SM37 and Sm36 transaction to schedule job.
    Define job at Sm36 and use program - RM07MLBS and use your variant.
    schedule job and set up time and date for periodcally.
    and it will run and you can see the status at SM37 Transaction .
    the background job will create spool and which will contain your output.
    if you want to download your output ,then you need to write custom program to get spool information from TSP01 table and use open dataset command to down load specifi directory.
    Reward Points if it is helpful
    Thanks
    Seshu

  • Set back ground color to a particular cell in table view

    hi,
        iam working on a jspDynpage and have a htmlb table view for which i need a way to set back ground color to a particular cell in table view, the color has to be set based on a value..is there a way to do it without using an iterator...well iam using a  cellRenderer for the table but cant find a way to set the colors...if anyone does have a way please do reply...regards

    You can mention the color in <b>textview</b> as well as <b>Label as follows:</b>
          <htmlb:textView     text          = "<span style='background-color: #00FF00'>My Textview</span>"
                              design        = "EMPHASIZED" />
          <htmlb:label for =  "MyLabel"
                       text = "<span style='background-color: #00FF00'>Label </span>"
                       encode = "false"/>
    Reward each helpful answer
    Raja T
    Message was edited by:
            Raja Thangamani

  • 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.

  • ERROR IN BDC SESSION BACK GROUND ( USING PP03 T.CODE)

    Hi Experts,
    When i am executing the session ( pp03 T.Code) ,it is working fine in fore ground as well as in display errors mode. But it is not working in back ground mode.
    it is raising the exception ( cntl-system-error).
    I used flat file which is in the presentation server . I accessed it by gui_upload Function Module.
    <b> I am also getting the error using data sets . After upload the presentation server data into one internal table .I sent it to application server using open data set ( transfer ) , after that i read the application server data using open dataset ( read )
    into another internal table ( i declared with same structure of flat file ) .</b>
    But this time also it is giving same error ( runtime exception).
    Please tell me how can i handle using datasets .  Its Very urgentttttttt
    Please any body help meee ( If any one worked on this (pp03 T.code) ) .
    Send the code  or Inform the full detailsss as soon as possibleeee
    regards ,
    dattu malge.

    Hi,
    Go to the transaction SM35 and select your session and then click the Process Button.
    Here you select the Processing Mode as "Background".
    It is not possible to execute the same session by more than one user at a same time.
    RSBDCSUB is used to automate the processing of Batch input session.
    Cheers,
    Hakim

Maybe you are looking for

  • "Network out of order" and "Short message transfer rejected"

    Guys, I have a BB 9300 3G Curve and I have trouble sending SMS. This is a peculiar problem since I #1 am able to send an SMS problem free sometime #2 get an error message saying "Network out of order" #3 get an error message saying "Short message tra

  • Cant download software updates

    When I run software update the update downloads but wont install,I get the message NSURLErrorDomain-1005 networking error please check internet connection and try again. I have evdo with a sprint broadband card and a phobeus router.

  • Vendor confirmations

    Hi In the purchase order, item level,  in the confirmations tab I need to  enter delivery schedule acknowledgement only. But I don't want create inbpond delivery and GR against inbound delivery. At present , if we enter delivery schedule in the confi

  • HT4798 Changing back to Admin User ID from 502 to 501

    I have just used Migration assistant to my new iMac with Mountain Lion. In attempting to re-install images into Aperture I get the error message that I dont have permission. Can I change my User Admin ID from 502 back to 501 in order to regain my Adm

  • How to Cancel an outgoing payment after reconcilliation

    Hi guys, I want to know  whether we can cancel an outgoing Payments after Reconciling the Outgoing payment with JE. I tries to cancel by right clicking on the document but its showing some error message like we cant cancel the payment after automatic