Doubt about Sync and Async process

hi experts i have one small doubt
if we r having the scenario like file to rfc
iam passing the input parameter like material number through file  adapter
and then i want to get the material details response from rfc sap r/3 to file system
this is the scenario.
now here which is the synchronous processs 
and which is the asynchronous process
please let me know
clear my doubt with explanation please......
thanks
giri

Hi Sesha,
For information on sync/async please refer:
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm</a>
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm</a>
Regards,
Subhasha ranjan
Message was edited by:
        Subhasha Ranjan

Similar Messages

  • Can processes be both sync and async

    Hi,
    When creating a BPEL process in JDeveloper, there are two pre-defined templates for synchronous or asynchronous processes. As such, I've been viewing a process as being either synchronous or asynchronous.
    However, after a bit of experimentation, I've come to the conclusion that a process can contain both synchronous and asynchronous operations.
    Does this sound correct? Should I not be viewing a process as being one or the other, and it is fact the operation that is sync or async?
    Cheers,
    Toby

    Some thoughts on that:
    -You can view sync as a special form of async, so each sync process is also an aysnc process. (I'm ignoring the tech diff like two ports, two partnerlinks here)
    -You can call sync and async (BPEL-) processes in one process.
    -If a process P contains only sync processes, that will make P sync.
    -If a process P contains (among others) at least one async processes, that will make P async.
    -If you have a async process, you can wrap its invocation with a timeout, making it a sync process.
    Roman

  • Statistics of Sync and Async messages in PI

    Hi,
    How can we count no of Sync and Async messages that were processed(sucessful or unsucessful) in PI.
    Does the worbench has any table or Report that will give me the statistics.
    Request some pointers on the same.
    Thanks ,
    Bhanu.

    Hi,
    Yes, such a report is available in RWB under Performance Monitoring. Simply choose the required time period, and use Display Options to add the Processing Mode (that will say: sync or async). You can also use Performance Monitoring to get more details about these messages.
    Hope this helps,
    Greg

  • Naming sync and async operation

    Hi there,
    Does somebody know what is the rule for naming the synchronous version of an asynchronous operation (or vice verse)? Also, is the implementation pattern for the Create/Update/Delete/Sync EBO based EBS operations always supposed to be asynchronous request-response (while synchronous for Query/QueryList)?
    I know that Process() can be designed as both synchronous and asynchronous, but can the aforementioned have their synchronous version as well (asynchronous for Query/QueryList)?
    Regards,
    /Miko

    839396 wrote:
    Dear Friends,
    In 11g databgurad ,
    I planned to used 2 physical standy once in the same LAN and another in the DR site
    I need to have SYNC between primary and Standby 1 which is in same LAN
    I need to have ASYNC between primary an standy 2 which is in DR site
    Is it possible , if so how do i achieve this?
    Because i believe SYNC and ASYNC will be decided by oracle internally based on the Protection mode we choose so in that case
    we can't have mix up (SYNC and ASYNC) for standby databases?
    Regards,
    DBI think John already mentioned how to do, let me derive more .
    SQL> alter system set log_archive_dest_2='SERVICE=same_lan SYNC NOAFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=<db_unique_name>'
    SQL> alter system set log_archive_dest_3='SERVICE=DR ASYNC NOAFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=<db_unique_name>'
    >
         839396      
         Newbie
    Handle:      839396
    Status Level:      Newbie
    Registered:      Feb 23, 2011
    Total Posts:      14
    Total Questions:      8 (8 unresolved)
    >
    why all the questions are unanswered? Please close the threads and keep the forum clean. https://forums.oracle.com/forums/ann.jspa?annID=718

  • Differnce between sync and async webservices

    All,
    What is the difference between sync and async web services?
    Actually i am looking for a web service, which doesn't return a response. is this achievable?
    Thanks

    SRAVZ wrote:
    What is the difference between sync and async web services?from a webservice protocal perspective there is no difference. you still make a request and get a response. the difference is in what the initial response contains. in a synchronous call, the initial response will contain the final result. in an asynchronous call, the initial response will not contain the final result, but may contain some sort of "ticket" which can be used in a subsequent call to get the final result. generally, the client will need to poll the webservice until the final result is available.
    Actually i am looking for a web service, which doesn't return a response. is this achievable?it's not really possible to not return any response. http is a request/response protocol. if you don't have any data to return, then the response will be fairly minimal, but it will still exist.
    Edited by: jtahlborn on Dec 2, 2012 9:22 AM

  • Doubt about Scan and Update Catalog Objects That Require Updates link

    Hi,
    I have a doubt about 'Scan and Update Catalog Objects That Require Updates' link in Administration,
    how can I know how many objects that required upgrading before I click this link???
    in doc.
    http://docs.oracle.com/cd/E28280_01/bi.1111/e10541/prescatadmin.htm#BIESG3750
    section 17.2.4 Updating Catalog Objects
    It is said 'You can confirm the need to update by viewing the metrics in Fusion Middleware Control. In the Catalog folder, find a metric called "Reads Needing Upgrade" with description "The number of objects read that required upgrading." '
    but I don't find it . my OBIEE version :11.1.1.6.2
    conld you pleae help me ??
    thank you in advance.

    That link should be there in 6 version.
    I've verified in 11g6 version doc the same is existing
    ref: http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/prescatadmin.htm#BAJDDFFI
    BTW:
    http://docs.oracle.com/cd/E28280_01/bi.1111/e10541/prescatadmin.htm#BIESG3750is 11g7 version
    Thanks,
    http://cool-bi.com

  • Doubt about Role and Policy

    Hi everyone,
    I have a doubt about role and policy,
    I'm using OBIEE11.1.1.5, I try to creating role R1 by creating like BIConsumer.
    then I go to policies interface,Edit 'BIConsumer' policy,
    I find only one role 'BIConsumer' under grantee.
    so I'd like to ask why 'R1' is not under policy 'BIConsumer' while R1 has permission like role BIConsumer ???
    thanks in advance!

    Application policies are sets of java permissions that are associated with a principal which is BIConsumer role in this case which grants permissions necessary to use, or to consume, content created by other users.
    So when you try to create like BIConsumer, you are not modifying the existing BIConsumer principal policy( which you should never do) but instead trying to create one similar grants like it.
    Usually as long as you are not dealing with BI Publisher, Financial Reporting and Real-Time Decisions application security permissions restriction, you would not have to modify any of these policies and use the default ones.
    Hope this helps. Pls mark if it does.
    Thanks,
    SVS

  • Sync and async bpel process

    Hi,
    I was reading about the synchronous and asynchronous process in the forum, I have also some similar problem.
    some of my questions are:
    If suppose my BPEL process is going to take around 2 mins or more to finish , then I cannot chose synchronous BPEL process as the default timeout is 45sec and not recomend to increase the time.
    As the above is true, I have created a asynchronous BPEL process, now I want the reply back from asynchronous, is this is possible? even I found that when I invoke the partner link of asynchronous BPEL process it doesn't ask for the output variable. SO if any process going to take longer time and need response from that, whats the solution.
    Regards,
    Sreejit

    Hi James,
    Thanks, yes you are correct that receive is required for the response from async process.
    Do you have any idea how we can get the response back if we are calling the asyn process outside the SOA server, say from PL/SQL or Java API. PL/SQL can call the sync process and get the response back but in case of async process it returns null as the callback response of async not send the response to database. Is this possible with java api, any link or sample which illustrate this or any step suggestion. Actually I am trying to call the BPEL process from Oracle Apps R12 E-Business suite.
    Regards,
    Sreejit

  • Design question - 1 source (sync) -- 2 receivers (sync and async)

    Hi All,
    What are the options available to design following scenario:
    Message (material update) sent to XI from 3rd party system, XI will update material synchronous calling BAPI in SAP, response will be sent back to 3rd party. The same message (material update) needs to be updated in SQL DB asynchronously.
    Do we need to use BPM for the above scenario (SystemA <> XI <> SAP and same message from SystemA -->XI --> SQL DB)???
    If I need to use BPM What are the steps to be used in BPM??
    Can we do this without BPM?? What is the procedure??
    Thx
    N@v!n

    Ahmad,
    I think that for 1:n scenarios, if you have synchronous receiver interfaces, you'll need BPM for that. That happens because XI wont be able to decide on which receiver response message will be actually mapped back to sender response. However, Im not sure it wont work for 1:2 scenario, if you have 1 sync and 1 async receiver interfaces. Theoretically, it could work. You'll have to test it in order to be sure. If you get "TOO_MANY_RECEIVERS" error then it is like I said, it wont process 1:n with sync interfaces.
    Kumar,
    as for the BPM, you dont have necessarily to have transformation steps inside BPM, you can normally perform mappings at interface determination runtime (given that your interfaces are unique for each send step inside BPM). The steps you really need inside BPM are:
    1. receive step in "open sync/async bridge" mode;
    2. send step in synchronous mode (for receiver RFC);
    3. send step in asynchronous mode (for receiver JDBC);
    4. send step in "close sync/async bridge" mode.
    Regards,
    Henrique.

  • Sync-to-Async process

    Hi,
    I'm trying to call an asynchronous process from a synchronous one following the Sync-to-Async instructions available in the documentation ("Building Synchronous and Asynchronous business processes").
    I can generate the Sync-to-Async WSDL file without problems but when I try to build the control from the WSDL, the callback method is never generated (the callback method is defined in the WSDL) and get this warning:
    "WARNING: processes/sync/SincronWorkerSyncContract.wsdl Line 0, Col 0: Operation 'response' was not added to the CTRL file."
    Any ideas of what I'm doing wrong?
    Thanks!!

    Raghavendra,
    You should check the syncmax wait time parameter on the server. It is this parameter that causes synchronous interfaces to time out .
    - santosh

  • Diff between sync and async

    hai all
    ihave confusion regarding synchronous and asynchronous with respect to session and calltransaction methods plz clear my confusion.
    thanks in advance.
    mounika

    HI,
    Synchronous Update
    In synchronous update, you do not submit an update request using CALL FUNCTION... IN UPDATE TASK. Instead, you use the ABAP statement COMMIT WORK AND WAIT. When the update is finished, control passes back to the program. Synchronous update works in the same way as bundling update requests in a subroutine (PERFORM ON COMMIT). This kind of update is useful when you want to use both asynchronous and synchronous processing without having to program the bundles in two separate ways. The following diagram illustrates the synchronous update process:
    Use this type of update whenever the changed data is required immediately. For example, you may want to link SAP LUWs together where one LUW depends on the results of the previous one.
    Asynchronous Update
    A typical R/3 installation contains dialog work processes and at least one update work process. The update work processes are responsible for updating the database. When an ABAP program reaches a COMMIT WORK statement, any function modules from CALL FUNCTION... IN UPDATE TASK statements are released for processing in an update work process. The dialog process does not wait for the update to finish. This kind of update is called asynchronous update.
    The following diagram shows a typical asynchronous update:
    For example, suppose a user wants to change an entry in a database table, or add a new one. He or she enters the necessary data, and then starts the update process by choosing Save. This starts the following procedure in the ABAP program:
    Firstly, the program locks the database entry against other users, using the enqueue work process (or the message server in the case of a distributed system). This generates an entry in the lock table. The user is informed whether the update was successful, or whether the lock could not be set because of other users.
    If the lock is set, the program reads the entry that is to be changed and modifies it. If the user has created a new entry, the program checks whether a record with the same key values already exists.
    In the current dialog work process, the program calls a function module using CALL FUNCTION... IN UPDATE TASK, and this writes the change details as an entry in table VBLOG.
    When the program is finished (maybe after further dialog steps), a COMMIT WORK statement starts the final part of the SAP LUW. The work process that is processing the current dialog step starts an update work process.
    Based on the information passed to it from the dialog work process, the update work process reads the log entries belonging to the SAP LUW from table VBLOG.
    The update work process passes this data to the database for updating, and analyzes the return message from the database. If the update was successful, the update work process triggers a database commit after the last database change and deletes the log entries from table VBLOG. If an error occurred, the update work process triggers a database rollback, leaves the log entries in table VBLOG, flags them as containing errors, and sends a SAPoffice message to the user, who should then inform the system administrator.
    The corresponding entries in the lock table are reset by the update work process.
    Asynchronous update is useful when response time from the transaction is critical, and the database updates themselves are so complex that they justify the extra system load of logging them in VBLOG. If you are running a transaction in a background work process, asynchronous update offers no advantages.
    Regards,
    Laxmi.

  • Facing problem when using SYNC and ASYNC bridge in ID

    Hi all,
    In BPM i am using SYNC/ASYNC bridge for that Outbound Interface and BPM Sync Interface has the same structure is it mapping necessary for that intercaces.
    In interface determination it is showing error duplicate interfaces in ID test configuration , when i loading the Interface mapping for the same.
    In the Receiver determination i am sending the message based on the conditions to the particular receives through different receivers Business Systems from the Sync interface showing error.
    Give me solution how should i do the Interface determination and receiver determination.
    Please help me any one .
    Thanks in advance,
    Manohar.
    Edited by: Manohar S on Feb 28, 2008 9:50 AM

    Sorry for delay.
    Tough question.
    Oracle® Database High Availability Best Practices 11g Release 2 (11.2) E10803-01 August 2011
    Under "5.1.8 Set LOG_BUFFER Initialization Parameter to a Minimum 8 MB"
    States :
    "If you are using Oracle Data Guard with asynchronous redo transport, you may need to increase the value of the
    LOG_BUFFER parameter to avoid disk I/Os to online redo logs."
    Nothing about "Synchronous".
    I agree with you on Oracle Support Note 951152.1, its vague.
    Additional links on the subject
    This also seems to imply :
    http://joordsblog.vandenoord.eu/2010/08/data-guard-optimizing-async-redo.html
    So does this ( With ASYNC, increase log buffer size if necessary )
    http://www.oracle.com/technetwork/database/features/availability/316925-175283.pdf
    This one has a very nice Synchronous and Asynchronous compare.
    http://www.datadisk.co.uk/html_docs/oracle_dg/architecture.htm
    New Zealand, Someday I may have to travel there.
    Best Regards
    mseberg

  • Concept Question about EDI and Error Processing

    Hello All,
    This is a concept question, I was wondering how others would approach this scenario.
    Let's take this scenario. In EDI often the transmission for a purchase order comes in with an invalid material number. Normal error processing is for the EDI team to research the issue (find the correct matnr), edit the idoc and reprocess the Idoc.  I would like to move that type of error processing out of the hands of the EDI folks and into the hands of the business users.
    How would they correct the material number? It has to be more intuitive than editing an IDoc, it has to be an easy and intuitive user interface. This process has to also work for many types of EDI transmissions both inbound and outbound.
    There would be many ways to handle this: create a report with an editable grid that would change the idoc during input and create the order with the corrections, convert the idoc to xml and use simple transformations, use an xsl report...etc.  You get the point. 
    How would you approach this?  Before I start the design I want to make sure I've given all the options due consideration...all options, webdynpro, transformations, regex, you name it...all is available, except there is no XI. 
    Personally I'm leaning towards an editable grid and processing buttons that would post the idoc in background...but I do that type of thing all the time and I may be in a rut and neglecting better design options.
    Thanks for your input,
    Greg

    <b>Paul:</b> So it runs the transaction silently in BDC format, until the error occurs, then opens up in dialogue to allow the user to change the invalid material, and then continue on with processing.
    This works when the processing function module uses BDC. But even then I think this is possibly nice from user perspective, but a nightmare from auditing perspective. I.e. correct me if I'm wrong, but I'm pretty sure there's no log indicating that the user changed the material number. Thus for anybody comparing the IDoc contents against the posted document (including change history) there's no trail that shows this change. Of course you can assume that this is what must have happened, but I personally prefer if I can track in the system what happened and have proof for that.
    <b>Reddy:</b>
    <ol>
    <li>it can be run daily basis, which should select all idocs which are in status 51 with message number (..related to wrong material number). report output should inlcude :idoc number-wrong mat no- space for new material to be entered by business against wrong 1. And there should be one button for RUN.</li>
    <li>After RUN, the material number should be changed to new 1 in segments and idocs should be reprocessed.</li>
    <li>repeat the run until business enter right mat num.</li>
    </ol>
    Design seems to limited to me (takes care only of one error message). Might work if that's the main pain point and this is the only one the user is dealing with. Otherwise I'd expect pretty soon they start complaining about having to use different tools for the possible errors. I'd keep the report more general, but allow this special form of processing only for a given error message (otherwise it's a normal re-process as triggered for example via BD87).
    Also, I assume that when you talk of changing the IDoc you mean that you actually keep an original copy around (like SAP does when you edit an IDoc). Often this is required from an auditing perspective. I'm not sure why you wouldn't want to check the material number <em>before</em> trying to process the IDoc to avoid wasting system resources (but maybe I misunderstood the step).
    Anyhow, in theory you could also achieve all of this via workflow. You can add custom columns to the work item overview in the inbox, only issue here is that it doesn't scale well (so issues with larger volumes).

  • Doubt about constructor and show.Input dialog

    Hi everybody!
    I wrote this program in java. It works, but I have some doubts. The points that are not clear to me are in comments. Thanks in advance:
    import javax.swing.JOptionPane;
    public class Bicicleta extends JOptionPane{
         int velocidad;
         int cambios;
         String color;
    public Bicicleta(){// Why we have to make a constructor without procedures, if we have the constructor public Bicicleta(values) down?
                             //I mean, if we delete this constructor,
                             // the program will not work.
    public Bicicleta(int cambiarVelocidad, int cambiarCambios, String cambiarColor){ //without the constructor bicicleta
         velocidad = cambiarVelocidad;                                                            // that is up of this procedure,     
         cambios = cambiarCambios;                                                                 // the program will not work, Why?
         color = cambiarColor;
    public int getVelocidad(){
         return velocidad;
    public int getCambios(){
         return cambios;
    public String getColor(){
         return color;
    public void setVelocidad(int nuevaVelocidad){
         velocidad = nuevaVelocidad;
    public void setCambios(int nuevoCambio){
         cambios = nuevoCambio;
    public void setColor(String nuevoColor){
         color = nuevoColor;
    public void showBici(){
         this.showMessageDialog(null, "Los valores de la nueva bicicleta son: Velocidad de "+velocidad+" tiene "
         cambios" cambios y es de color "+color);
    public Bicicleta getBici(){
         return (new Bicicleta(this.getVelocidad(),this.getCambios(),this.getColor()));
    public void setBicicleta(){
         velocidad = Integer.parseInt(this.showInputDialog("Inserte la velocidad de la bicicleta"));
         cambios = Integer.parseInt(this.showInputDialog("Inserte la cantidad de cambios de la bicicleta"));
         color = (this.showInputDialog ("Inserte el color de la bicicleta"));
    public static void main(String[] args){
         Bicicleta bike = new Bicicleta();
         bike.setBicicleta();
         Bicicleta nuevaBici; // I copy this segment of code form anyone else, but I dont understand it.
         nuevaBici = bike.getBici();          // Can someone explain it please?
         nuevaBici.showBici(); //
    }

    The program is supposed to recollect the data with:
    public void setBicicleta(){
    velocidad =
    = Integer.parseInt(this.showInputDialog("Inserte la
    velocidad de la bicicleta"));
    cambios =
    = Integer.parseInt(this.showInputDialog("Inserte la
    cantidad de cambios de la bicicleta"));
    color = (this.showInputDialog ("Inserte el color de
    e la bicicleta"));
    So, I think that the values of variables are defined
    by the user. So, we dont have to define any previous
    data, because it is a input of the program user.
    Maybe I?m wrong, so what is my error in this case?Not thinking about responsibilities? So when I go and create a new Bicycle, I have a bicycle with no color and no top speed. Have you ewver seen a bicycle like that? A bycicle that asks you about what color it should have? Shouldn't rather the one creating the bicycle be the one to ask you for the values, and then apply them to the bicycle he creates?
    Do the asking first, then call
    bike = new Bicicleta(theColor, theSpeed, theGears, whatever);That way you can also get rid of that c'tor you don't want, since it makes no sense anyway.

  • Doubts about XI and RFC or IDOC

    Hello
    We have an external system that will send a file with data, with data from that file will have to make some Batch input on a number of transactions and I doubt arises in the orient
    The platform of exchange will be XI and I would like if someone could guide me in which are the advantages and disadvantages of undertaking such Batch Inputs through IDOC or through an RFC function or if there is another better way to make this process
    Thanks

    Hi Alberto.
    As far as I understand your scenario, you are fetching the data from a file and update the R3 database using a BDC session.
    In that case, my suggestion is to use a custom RFC that takes these records and creates a BDC session. This would be a better way to handle this scenario instead of using any IDOCs.
    Regards,
    Hari.

Maybe you are looking for