Difference between BATCH & RUNTIME ,SYNCHRONOUS & ASYNCHRONOUS

REPORT_EXECUTION_MODE has two values BATCH & RUNTIME.
what is the difference ? pls expalin in detail
REPORT_COMM_MODE has two values SYNCHRONOUS & ASYNCHRONOUS
what is the difference ? pls expalin in detail
Thanks in advance

Tony is right.
Anyway
Forms applications calling a report synchronously make the user wait while the
report is processed on the server.
For long-running Reports, it is best that you run the report asynchronously by
setting the REPORT_COMM_MODE property to asynchronous and the
REPORT_EXECUTION_ MODE to batch:
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);Regards

Similar Messages

  • Difference between Batch input and Direct Input

    Hi please tell me the difference between Batch Input and Direct Input in BDC?

    hi aparna,
    <b>DIRECT INPUT</b>
    TO ENTER THE DATA INTO THE CORRESPONDING DATABASE TABLES DIRECTLY, THE SYSTEM CALLS A NUMBER OF FUNCTION MODULES THAT EXECUTE ANY NECESSARY CHECKS. IN CASE OF ERRORS, THE DIRECT INPUT TECHNIQUE PROVIDES A RESTART MECHANISM. HOWEVER, TO BE ABLE TO ACTIVATE THE RESTART MECHANISM, DIRECT INPUT PROGRAMS MUST BE EXECUTED IN THE BACKGROUND ONLY. DIRECT INPUT CHECKS THE DATA THOROUGHLY AND THEN UPDATES THE DATABASE DIRECTLY.
    TO MAINTAIN AND STRAT THESE PROGRAMS, USE PGM RBMVSHOW OR THE TRANSACTION BMVO.
    <b>BATCH INPUT</b>
    TYPES – SESSION METHOD, CALL TRANSACTION, DIRECT INPUT.
    TO SAVE DATA IN THE BDCTAB, USE THE FIELDNAME ‘BDC_OKCODE’ AND FIELD VALUE OF ‘/11’.
    BDCDATA
    THIS IS A STRUCTURE WHICH CONTAINS THE FOLLOWING FIELDS.
    PROGRAM – NAME OF TH MOD PROG ASSOCIATED WITH THE SCREEN. SET ONLY FOR THE FIRST RECORD OF THE SCREEN.
    DYNPRO – SCREEN NUMBER. ALSO SET ONLY FOR FIRST RECORD.
    DYNBEGIN – INDICATES THE FIRST RECORD OF THE SCREEN. SET ‘X’ FOR FIRST RECORD OTHERWISE ‘ ‘.
    FNAM – FIELD NAME.
    FVAL – VALUE FOR THE FIELD NAMED IN FNAM.
    THE FIRST STEP IN BDC IS TO UPLOAD DATA FROM THE FLAT FILE OR SEQUENTIAL FILE TO THIS BDCTABLE.
    SESSION METHOD
    WE USE 3 FUNCTION MODULES IN THIS SESSION METHOD.
    1) BDC_OPEN_GROUP
         USER NAME:     USER NAME
         GROUP:          NAME OF THE SESSION
         LOCK DATE:     THE DATE ON WHICH YOU WANT TO PROCESS THE                              SESSION.
         KEEP:          THIS PARAMETER IS PASSED AS ‘X’ WHEN YOU WANT TO RETAIN SESSION AFTER     PROCESSING IT OR ‘ ‘ TO DELETE IT AFTER PROCESSING.
    THIS CREATES A SESSION
    2) BDC_INSERT
         TCODE:          TRANSACTION NAME
         DYNPROTAB:     BDC DATA
    THIS CREATES A SEESION AND DATA IS TRANSFERRED O SESSION.
    3) BDC_CLOSE_GROUP – THIS CLOSES THE BDC GROUP.
    ONLY ONE SESSION CAN BE CREATED USING BDC_OPEN_GROUP. BUT MULTIPLE TRANSACTIONS CAN BE PROCESSED USING BDC_INSERT.
    CALL TRANSACTION
    CALL TRANSACTION     <TCODE> USING <BDCTAB>
                                            MODE <A/N/E>
                                            UPDATE <S/A>
                        MESSAGES INTO <MSGTAB>.
    A – ALL SCREEN MODE. ALL THE SCREEN OF THE TRANSACTION ARE DISPLAYED.
    N – NO SCREEN MODE. NO SCREEN IS DISPLAYED WHEN YOU EXECUTE THE TRANSACTION.
    E – ERROR SCREEN. IF THE SCREEN HAS ERROR RECORD, THEN THAT SCREEN WILL BE DISPLAYED.
    S - IF YOU CHANGE DATA OF ONE TABLE THEN ALL THE RELATED TABLES GETS UPDATED. AND SY-SUBRC IS RETURNED I.E., SY-SUBRC IS RETURNED FOR ONCE AND ALL.
    A - WHEN YOU CHANGE DATA OF ONE TABLE, THE SY-SUBRC IS RETURNED. AND THEN UPDATING OF OTHER AFFECTED TABLES TAKES PLACE.  SO IF SYSTEM FAILS TO UPDATE OTHER TABLES, STILL SY-SUBRC RETURNED IS 0 (I.E., WHEN FIRST TABLE GETS UPDATED
    WHEN YOU UPDATE DATABASE TABLE, OPERATION IS EITHER SUCCESSFUL OR UNSUCCESSFUL OR OPERATION IS SUCCESSFUL WITH SOME WARNING. THESE MESSAGES ARE STORED IN INTERNAL TABLE, WHICH YOU SPECIFY ALONG WITH MESSAGE STATEMENT. THIS INTERNAL TABLE SHOULD BE DECLARED LIKE BDCMSGCOLL, A STRUCTURE AVAILABLE IN ABAP/4. IT CONTAINS THE FOLLOWING FIELDS: TCODE, DYNAME, DYNUMB, MSGTYP, MSGID.
    DIFFERENCE BETWEEN SESSION AND CALL TRANSACTION
              SESSION METHOD               CALL TRANSACTION
    1.          DATA IS NOT UPDATED IN DATABASE TABLE UNLESS SESSION IS PROCESSED.               IMMEDIATE UPDATION IN DATABASE TABLE.
    2.          NO SY-SUBRC IS RETURNED.               SY-SUBRC IS RETURNED.
    3.          ERROR LOG IS CREATED FOR ERROR RECORDS.               ERRORS NEED TO BE HANDLED EXPLICITLY
    4.          UPDATION IN DATABASE TABLE IS ALWAYS SYNCHRONOUS
                   UPDATION IN DATABASE TABLE CAN BE SYNCHRONOUS OR ASYNCHRONOUS.
    5.          ASYNCHRONOUS PROCESSING               SYNCHRONOUS PROCESSING
    6.           TRANSFERS DATA FOR SINGLE TRANSACTIONS               TRANSFERS DATA FOR MULTIPLE TRANSACTIONS
    ERROR HANDLING IN CALL TRANSACTION
    1)     CREATE AN INTERNAL TABLE SIMILAR TO THE STRUCTURE OF YOUR LOCAL FILE.
    2)     CREATE BDCTAB LIKE BDCDATA.
    3)     CREATE BDCMSG LIKE BDCMSGCOLL.
    4)     CREATE AN INTERNAL TABLE SIMILAR TO THE 1ST INTERNAL TABLE.
    5)     UPLOAD FN UPLOADS DATA FROM THE LOCAL FILE TO THE ITAB.
    6)     LOOP AT ITAB.
    POPULATE BDCTAB TABLE.
    CALL TRANSACTION STATEMENT.
    PERFORM CHECK.
    REFRESH BDCTAB.
    ENDLOOP.
    7)     FORM CHECK.
    IF SY_SUBRC <> 0.
    CALL FUNCTION FORMAT_MESSAGE.
    APPEND ITAB2.
    ENDFORM.
    TRANSACTION FOR RECORDING – SHDB.
    MAX TIME ALLOWED FOR ONLINE EXECUTION – 300 SECONDS.
    <b>
    Pls reward if helpful.</b>

  • Difference between WS runtime and proxy runtime

    HI,
    I'm new to PI/XI. 1) Could anyone please explain about the real difference between WS runtime and Proxy runtime?
    2) How to configure the scenario's for WS communication and proxy communication?
    3) what is the adapter type we should use for this in ID?
    4) How to convert the proxy to webservice? etc.
    Thanks in adavnce
    Regards,
    Baskaran K

    I'm new to PI/XI.
    I would suggest that you first make use of the Search facility of SDN. If I am not wrong all your questions will be answered by a Search.
    Regards,
    Abhishek.

  • Can anyone Explain me the difference between Batch Input, Direct  input met

    Can anyone Explain me the difference between Batch Input Method and Direct Input Method.

    hi
    good
    Direct input method                     Batch Input Method
    1) We cannot send the fields   | 1) We can send fields as per 
       according to our requirement|    requirement.
    2) validations are done based
    2) validations are done based
       on pre-defined function
    on applications.
       modules
    Batch Input Session:
    - It is a sequence of transactions, which is generated when user run a particular program. 
    - It contains the accounting documents that are to be created. The SAP system stores these transactions until you decide to process them online. 
    - It does not update transaction figures until the session has been processed.  Using this technique, you can transfer large amounts of data to the SAP system in a short time.
    Three processing modes of executing Batch Input Session :-
    (1) Run Visibly : You can correct faulty transactions online & work step-by-step through  the transactions not yet executed. 
    (2) Display Errors only : You can correct faulty transactions online.   Transactions not yet executed, but without error, run in the background.
    (3) Run in Background : Recommended by SAP.                          
    thanks
    mrutyun^

  • What's the difference between batch class type 022 and 023?

    Hi Guys,
    I find that some of my SAP client only have class 022 and some have 023, but no client has  them all. I don't know why it happed.
    So what's the difference between batch class type 022 and 023?  Which setting decide which class to be used ?
    Thanks.

    Hi nitin,
    Read  http://www.sapfans.com/forums/viewtopic.php?t=212819&highlight=022  you will know the difference between 022 and 023 .
    Use tcode OMCT you can switch batch level .

  • The difference between batch class type 022 and 023

    what's difference between batch class type 022 and 023?  023 is described as standard batch class type, but there is only 022 type exists in my system. can i use 022?

    Hi,
    both classes mean the same, but which class is used is decieded by batch level. In case of material level or client level the system use automatically only class 023. If you define batch level to plant the system use automatically class 022.
    Regards,
    Abhee.

  • Difference between batch input method and batch input recording in LSMW?

    hi,
    plz tell me the difference between batch input method and batch input recording in LSMW?
    thanks & regards
    Ruban

    Hi Ruban,
               The main difference between the two is in lsmw we can view the code status at any time just by coming to prvious steps, but whereas in batch input method unless the recording is finished we cant view the code.
    second diff is tht we need to do lot of coding in batch inptu whereas here in lsmw we need not do much coding and mapping to data.
    third diff is that batch input is both inbound and outbound where as lsmw is only inbound.
    hope u got the differences.....
    Regards,
    sana M...

  • Difference between batch input method and direct input method in LSMW.

    Hi all,
    what is difference between batch input method and direct input method in LSMW. are they same?if differences are there tell me with details?

    Hi,
    Here are few differences bw Batch Input and Direct Inputs methods.
    Batch Input: Uses classical BDC approach, but doesn't required an ABAP program to be written to format the BDC DATA. The user has to format the data using predefined structures and store it in a flat file. Yet it is a slower updation method.
    Direct Input: Works similar to Batch Input programs. The difference is, instead of processing screens they validate fields and directly load the data into tables using standard function modules. Much faster and suits for large volume of data.
    Thanks.
    DhanaLakshmi M S

  • Difference between batch and lot size

    What is the difference between batch size and lot size. How do these quantities relate to production planning &  machine capacity planning.
    Regards

    Hi,
    Lot size: Some times specific materials are not referred individually but are represented in groups or lots.
    When we maintian BOM/production version/routing it is sometime convinenit to maintain compoenent  qty / operaion times ect..  for speciifc lots .. we also call them base qty.
    we can create different master data for different lot sizes and it is consider in auto selection of this master data in production orders.
    MRP can also intiate procurement / production in speciifc lots and this lot size in size is maintained in material master ans lot sizing procedure is maintianed in MRP customiziation.
    Batch Size: some times batch size and lot size can be interheprited same in busienss langauge but they have fundamental
    difference from SAP point of view. .
    In SAP Batch is homoginious non reproducible Unit of  material. The batch zise depends on GR qty of the specific batch.

  • What is the difference between Batch determination and Batch derivation?

    Please explain the difference between batch determination and batch derivation.

    Hello Kishore,,
    Please refer below thread for your issue
    Batch derivation
    Batch Derivation Overview with exampl
    SAP Batch Derivation - SAPs'WORD - We SAP For Your Cause
    Batch Determination
    SAP Batch Determination - SAPs'WORD - We SAP For Your Cause
    I hope this document provide you enough knowledge of batch derivation and Determination
    I hope this information help to you
    Regards
    Umesh Mali

  • Difference between Batch and Serial Numbers

    Hi,
    Can anybody explain the difference between Serial numbers and Batches. Which business process use these and their advantages.
    Rewards for the right answers.
    Regards
    Goutham

    >
    goutham p wrote:
    > Hi,
    >
    > Can anybody explain the difference between Serial numbers and Batches. Which business process use these and their advantages.
    >
    > Rewards for the right answers.
    >
    > Regards
    > Goutham
    HI Goutham,
    Serial Number: is nothing but normal numbering to uniquely identify every single piece of product.
    Say in mobile industry every mobile has unique IMSI number that can be thought of as its serial number.
    Given a serial number you can pin point the particular piece of product.
    Batch Number:
    Is Nothing but combining the products produced under certain conditions in a batch.
    For Example in Oil industry if we talk about 2T oil etc the viscosity, Density etc are quite important.
    Now due to slight variations in production the Viscosity Density would not be exactly same for 2 different lots.
    So we maintain Batch where we put classification Criteria in Classification view in Material Master.
    If the criteria are for example Viscosity and density
    Batch1 could be Viscosity=100 density=10
    Batch2 Could be Viscosity=110.5 Density=9.71
    So while selling by knowing Batch number we can tell the customer about the properties.
    Also you would have heard about recall of all the vehicles of Batch so and so from toyota.
    Recently Nokia called off all the Batteries BL-5C batteries of a batch.
    The reason is they were all manufactured at one time and hence since one of them had that error all would have had the same. So the whole batch can be recalled.
    Reward if helpful
    -Abhishek

  • Difference between Batch jobs and background jobs...

    hi APO Gurus ....
    This may sound a very silly question. What is  the exact difference between a batch run and executing a background job ?

    If i understand correctly  your question is  executing a program (for example) in background and running in a batch jobs.  You can execute a program in background while you are online, go to menu program->execute in background and enter print parameter, schedule parameter. System creates and starts job dynamically. You can check in SM37.  Batchjob is you create job using   SM36 (with program and Variant) define run frequency. System automatically run job in specified frequency.  I my experience, technically both are same, system behaves exactly same. One dynamically creates job other one runs on predefined freq.
    Thanks,
    Niranjan

  • 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

  • Difference between batch quantity and quantity for sale

    Hi all,
    I have created a batch in system with weight 340 KG. However, when I make a sales order for that batch, the system picks only 188 KG of it. There is no reserved/blocked etc quantity for the batch. Can you please help me identify where I might be going wrong?

    Base Quantity - Quantity of the material to be produced to which the standard values of the operation refer.
    Operation Quantity - Quantity planned for this operation.
    Base quantity and operation quantity may not always be the same, if we have partial lots delivered during the sequence of operations, the operation quantity will be equal to the lot delivered during the operation.
    Base quantity is dependent on the BOM, where it signifies the total quantity of output after using the components of certain quantity.
    Hope this may help you.

  • Difference between Runtime rep. and Designtime rep. ????

    Hi All,
          I want to know whats the difference between a Runtime repository and a Design time repository ????
    Also, navigation links would be a part of what, RT rep. or DT rep ????
    Regards,
    Ashish

    Hi Micha,
           Thanks for the reply !!!!
    Somehow I didnt understand what a runtime repository actually contains (key info. means what ?)
    Also, Runtime repository contains the foll. code:-
             <ViewSets>
    <%@include file="../CRM_IC_DT_REP/CRM_IC_All_Viewsets.xml" %>
            </ViewSets>
            <NavigationalLinks>
    <%@include file="../CRM_IC_DT_REP/CRM_IC_All_NavLinks.xml" %>
            </NavigationalLinks>
    i.e. path to XML files that are actually contained in CRM_IC_DT_REP.
    So what does the Runtime repository contain in itself ?
    Regards,
    Ashish

Maybe you are looking for