Sync process for multiple MBO

Hi All,
I have created 4 multiple type of MBO which have different structure.
when i have started my application in android only single MBO will initialize and database will create. Below is my
packages.mboPackages.authentication.ProCRMDB
if(!ProCRMDB.databaseExists()){
       ProCRMDB.createDatabase();
  }else{
       ProCRMDB.openConnection();
But when i am going to call another MBO and i am checking condition below then it will directly goes into else condition and throws exception that
com.ianywhere.ultralitejni12.implementation.JniException: UltraLiteJ Error[-141]: Table 'procrm_1_0_counzonestadisf4' not found even i am calling this class at first time.
packages.mboPackages.counzonestadisf4.ProCRMDB
if(!ProCRMDB.databaseExists()){
       ProCRMDB.createDatabase();
  }else{
       ProCRMDB.openConnection();

Below is my code
AuthenticationMBO.syncLeadList(userName);
          * Syncing countries
         AuthenticationMBO.syncCountryDropdown(userName);
          * Syncing Zones
         AuthenticationMBO.syncZoneDropdown(userName,AuthenticationMBO.isDefaultCountry(context));
         GenericList<ZoneF4> allZonesList = ZoneF4.findAll();
         for (ZoneF4 zoneF4 : allZonesList) {
          AuthenticationMBO.syncStateDropdown(userName,zoneF4.getZONE());
          StateF4.findAll();
public static void syncStateDropdown(String userName,String zoneCode){
  PersonalizationParameters parameters = ProCRMDB.getPersonalizationParameters();
  S_ARTEC_SFA_RFC_GETF4_I_GET_ADDR addr = new S_ARTEC_SFA_RFC_GETF4_I_GET_ADDR();
  addr.setZONE(zoneCode);
     parameters.setUserId(userName);
     parameters.setPK_STATE_ADDR(addr);
     parameters.save();
        ProCRMDB.disableChangeLog();
        ProCRMDB.subscribe();
        ProCRMDB.synchronize();
In that case i can get only for only one state values in StateF4.findAll() which is recently synced.
I want to get values for all states if i am in offline mode.
I didn't defined any sync parameters.
below is my screenshot of mbo

Similar Messages

  • Manager Process for Multiple DB's

    Hi Experts,
      I am trying to understand goldengate for my setup in LAB.
    Currently I have the below setup and need some clarification(s).
    Source & Target -  2 node RAC(11.2.0.3); RHEL 6
    GG Version : 12.1.2.0
    On Source i have 3 databases and of them 2 targets are corresponded to same source but the third target is different
    so do we need to have same manager , that will take care of othere process for EACH db or we need to have seperate MGR for each DB.
    If i understood clearly having a dedicate mgr process for EACH DB will be much better making more sense. ( correct me if i am wrong) but now comes the question with single binary setup how can we maintain multiple manager process
    If only 1 mgr is allowed how do we know which process is responsible for which database.
    Appreciate your thoughts. ( sorry if i was wrong . . . just in learner mode)

    Hi,
    You can have a single manager configured with multiple extract/replicat processes which connects to its respective databases through sql net connection.
    Manager doesnot need to connect to any of the databases except for doing the maintenance tasks at the os level to delete the trail files, managing the processes to start automatically when it is started, etc.
    Hope this helps!
    Thanks
    Vivek-Oracle

  • Creating process for multiple Date fields for update or insert in APEX

    hello there,
    could someone please help me?
    i have a form on Apex based on view that is based on three tables and updating and inserting ok using trigger instead of.
    i have a problem now as in my form i have around 75 fileds (items) incuding 30 or more date fields which could be populated or left blank or update later.
    so for each date field i have two boxs; one for date, input as dd/mm/yyyy (text field) and second for time, input as 23:45. All dates will be insert or update manually by user. so as i mentioned not all date fields could be poulated at one stage.
    so i have created some process and validations and all of them work fine but i came accross if date left blank then (:) giving me problem so i have done following further process for each date field. In real table all the date fields have data type date.
    declare
    v_my_var date; -- for first date field
    str_dy VARCHAR2(10);
    dt_indx date;
    str_tm VARCHAR2(20);
    tm_indx date;
    begin
    str_dy := :p4_first_date
    str_tm := str_dy||' '||substr(:p8_first_date_hh,1,2)||':'||substr(:p8_first_date_HH,4,2);
    dt_indx := to_date(str_tm,'DD/MM/YYYY HH24:MI');
    IF str_dy is not null then
    v_my_var :=dt_indx;
    ELSE
    v_my_var := NULL;
    END IF;
    update table 1 set my_date = v_my_var where d_id= :p4_d_id;
    end;
    above code work fine but one date field of course therefore i have to do same code for each date field with changes and initialise variable again and again for each field.
    so i like to ask is there any easy way that is more professional. i was thinking about the procedure and using collection or similar but honestly not much experience on that so could some one please help me?
    I will be very thankful.
    KRgds

    Hi,
    You can do the needful by re-using the code if you can give the item names as P8_DATE1, P8_DATE_hh1, P8_DATE2, P8_DATEhh2 etc..So your item name just differs by a sequence.
    Now you write function which will return desired date value taking above items as input. Pass item names to this function, get session state using APEX_UTIL.GET_SESSION_STATE('item_name') API.
    Now modify you code as
    FOR i IN 1..30
    LOOP
    v_date_array[i] = f_get_date('P8_DATE'||i, 'P8_DATEhh'||i);
    END LOOP;
    ....Now you have all date valus in array. Just write one update as follows
    UPDATE  TABLE1
    SET date1 = my_date_array[1], date2 = my_date_array[2]..
    WHERE ....Hope it helps :)
    Cheers,
    Hari

  • Product Costing Period end processing - for multiple plants at a time

    Hello SAP gurus,
    Does any one knows how to handle the Product Costing Period End operations like WIP calculation, Variant calculation and Settlements for multiple plants (but not all). Even if knows how to do it as a period end batch job, that would be nice.
    I know that we can handle this with Closing Cockpit.  But i am looking for anything other than Closing Cockpit
    Thanks in advance
    Surya

    Hi
    Apart from CO Closing cockpit, you can use the following programs to schedule the background jobs
    T codes   -              Program names
    CPTD    -                   RKWTP_CPTD
    KKS1    -                  RKKKS1N0
    CON2    -                  RKAZCON2
    KKAO   -                 SAPKKA07
    CO88    -                 RKO7CO88
    Regards
    Ajay M

  • Proper process for multiple digital signatures?

    Hello,
    I am trying to solve a little process problem that I'm hoping Acrobat can function for. First off, for reference I am currently using Acrobat 9 Pro.
    My company has engineering standards documents that require multiple department head signatures for authorizing official release, resulting in a published document to the rest of the company. What I would like to do is move away from printing these documents and running around the company collecting signatures, scanning the document & having to distribute and archive that scanned version. Often times we have people all over the country and this makes accomplishing this within a reasonable timeline difficult and inefficient. I would like to distribute a finalized form with multiple signature fields that can be digitally signed, re-compiled into a single presentable document for publishing. Is there a way to do this effectively (minimizing the signers required steps, and therefore minimizing the chances of the form stalling at a stage) and without the form needing to be opened, signed, saved, attached to a new email & sent on to the next person in the line? I have tried utilizing the distribute form function but this does not seem to result in a final SINGLE document that can be published; but instead it results in a separate file noting the signature dates and completion, although leaving the original form blank and unusable for the deliverable required. Am I just missing a final step?
    Any help would be greatly appreciated.
    Best regards,
    - Aaron

    I finally got the document to send out by unclicking the "Collect name & email from recipients to provide optimal tracking" button, however, the responses come in as anonymous, so it's not real helpful with tracking my responses.  Plus, I don't know if I'll encounter problems with follow up.  The normal tracking system allows me to resend a message to those who have not responded.  Now I guess I would just resend the request to those I have determined have not signed.  Still working through the bugs but I'll update what I know and figure out here.  Perhaps I will come to a solid solution and give a better summary.  
    As of now, I am sending and receiving responses... but the recipients have to change the received file to save as it is coming to them as read-only.  Seems like this should be a whole lot less complicated.

  • Outside Processing for Multiple Work Orders

    I have a request for the following process in 11.5.10.2:
    I have product lines "A", "B", "C" and "D", each with variable demand. Each of these get sent for outside services on a periodic basis.
    Using the OSP functionality in Discrete Manufacturing, we want to do one PO to satisfy the supplier.
    PO#1 may look like:
    - Product A: 500 units
    - Product B: 700 units
    - Product C: 20 units
    - Product D: 1000 units
    PO#2 may look like:
    - Product A: 0 units
    - Product B: 100 units
    - Product C: 50 units
    - Product D: 0 units
    Regardless of the product mix or the number of units being processed, the supplier is going to charge me a flat rate of $1000. I want to burden each of my work orders with its percent contribution to the total PO charge.
    Said another way:
    ($ Flat Rate Charge of PO) / (Total Units of the PO) * (Units on a specific line)
    For PO#1:
    PO#1 may look like:
    - Product A: 500 units = $250
    - Product B: 700 units = $350
    - Product C: 200 units = $100
    - Product D: 1000 units = $500
    - PO total = $1200
    PO#2 may look like:
    - Product A: 0 units = $0
    - Product B: 100 units = $1000
    - Product C: 20 units = $200
    - Product D: 0 units = $0
    - PO total = $1200
    Each product would have a standard OSP lot charge in the router and variances would be driven by the actual PO.
    Is there a way to configure this?

    Hi RajaSekhar,
    You can definitely get the orders & notifications for two shifts. You can do this by adding all different workcenters in the customization in the backend system.
    To do this in the backend system go to Order Processing- and pick the corresponding OrderProcessing Scenario and double click on that- then go to varaint and click on selection report and in that you can add mutiple work centers as many as you need and then save the varaint.
    Similarly change the variant for notification processing profile also.
    After making changes in the backend, do a replication of syncbo' MAM25_090 and MAM25_095 and then do a sync from the client to get the proper data.
    If you have any further doubts please reply back.
    Regards,
    Siva.

  • Looking For Actual 'Sync' Tool For Multiple Computers

    When I saw that syncing music via the iPod between computers was a new feature, I was Very Excited. I have music on my home machine and on my work machine. Each machine has about 3000 songs, with roughly 70% overlap on content, and only about 10% purchased through the iTunes Music Store. My iPod only gets synced to my home machine because of this.
    I was hoping that this new feature would, in fact, synchronize the libraries of both machines into one cohesive library.
    Sadly, this is not the case.
    Any suggestions for combining both libraries into one *that don't require several hours of manual transfer* are welcome. Barring that, I guess I'll have to do the syncing myself.
    Thanks!

    >
    I know I can “roll my own” and design it from the ground up
    >
    I am not familiar with any product that has functionality to track 'source' metadata at the column level. But I have helped architect and implement several data warehousing ETL systems that had to track the source of data for Sarbanes-Oxley, financial and auditing purposes.
    All of these tracking mechnisms involved ETL of record-level data from a source system to staging tables to hold the data. The staging tables had columns to indicate the data source, whether it had been cleansed or not and what you refer to as 'confidence level'. This tracking and audit information was not carried forward into the production tables but was maintained securely for auditing purposes to prove what data and values had been originally transferred from source to target.
    Once data is in the production system the original source of the data was no longer tracked since that data could be modified by app users or batch processes.
    Your design will need to reflect whether you need to track the changes only within your ETL processes or even after it gets to production. If you are talking about column-by-column audit history then you will may want to look into Oracle's fine-grained access control.

  • Process For Multiple Codes

    Dear Experts
    Pl if any one having scenario like this then pl tell us:
    suppose we r having the lots of revision , and we r maintion the new code for each revision . which is having the Drawing .
    but i dont want to change or create the new material, and we can add multiple drawing  in One master through inactive one. and active current one. but we need that stk which is lieing  in that code show that this  much qty is with this drawing . suppose we having the stk of x item 5000 but the stock is related with 3 differ drawing .now i want to know which stk is which one drawing.
    which process will be help me out from this scenario.
    Thanks & Rgds
    Pankaj Agarwal

    close

  • Execute renderForm process for multiple docs

    Hi
    I am calling LiveCycle process from Java application with XML doc as a input. In Livecycle process I am setting varialbes called state with xml element called 'currentstate'.
    Now my problem is based on the state I have to select different pdf forms( template which I have created in repository) and merge xml data into thoes forms and then finally merge all pdf forms into single pdf and send this pdf to my java code.
    Please suggest me how to do it wiht LiveCycle ES process ? Can it be possilbe to do like this way ? or what else can be done ?

    Hi Jasmin,<br /><br />Thanks for consider my problem. But now it seems it get solved, I edited all pdf form properties to cache on server on. And now its not taking that much time. I am getting my pdf generated quicker.<br /><br />But one more question, I am not able to edit content of the merged pdf when i get the result. How can i get the merged pdf, which I can edit. For form render I am using 'generateOutput' process of Output where I am giving Form(to be rendered), Content Root, Input data, PDF output. <br />My ddx string is like below.<br />String ddx = "<?xml version='1.0' encoding='UTF-8'?>"; <br />ddx += "<DDX xmlns='http://ns.adobe.com/DDX/1.0/'>";<br />ddx += "<PDF result='pdfDocument'>";<br />if(hiddenState.equalsIgnoreCase("CA")){<br />     ddx = ddx + "<PDF source='coveringLetter'><NoXFA/></PDF>";<br />     ddx = ddx + "<PDF source='payoffInst'><NoXFA/></PDF>";<br />     ddx = ddx + "<PDF source='pkgChkList'><NoXFA/></PDF>";<br />     ddx = ddx + "<PDF source='odometer'><NoXFA/></PDF>";<br />     ddx = ddx + "<PDF source='titlingInst'><NoXFA/></PDF>";<br />     ddx = ddx + "<PDF source='payoffMailing'><NoXFA/></PDF>";<br />}<br />else {<br /> // some code<br />}<br />And finally using AssemblerService invokeDDX and merging all pdfs. But output pdf which I am getting is not editable. What to do with that ?

  • Syncing Error for Multiple Devices

    I just installed some update (have no idea what it was) and now I cannot sync my AppleTV or iPhone. Both of them give an error that "The disk could not be read from or written to". Everything worked fine yesterday. I repaired permissions and it did not help.

    Have you tried any of Apple's recommended troublshooting tips?
    http://support.apple.com/kb/TS1679
    http://support.apple.com/kb/TS1672
    Incidentally, you'll find the MobileMe specific forums here: https://discussions.apple.com/community/mobileme/

  • Mass offer process for multiple applicant

    In Irecruitment, is there any option to perform mass offer for more than one applicant at a time
    Thanks
    Siva

    There is currently no such option in iRecruitment.

  • HCM Processes and Forms : Using single Form Scenario for Multiple Countries

    Hi ,
    I have a requirement to design a HCM P&F form ( Single Process, Single Form Scenario ) to support multiple countries.  Form fields should be visible/invisible based on the country ( derived from the login Manager).  please help me with the following questions.
    1. Is it right way to enable/disable the fields in the same form scenario for multiple countries ( Approx. 20-25 countries)
    2. Is there any limitation to no. of fields on the form? does the form performs well with multiple dynamic conditions?
    3. If yes, what is the best way to do this? through Java Script / Back end Generic Service?
    Thanks in Advance,
    VR.

    Hi VR,
    1. Is it right way to enable/disable the fields in the same form scenario for multiple countries ( Approx. 20-25 countries)
    -You can use same form scenario or process for multiple countries if you are using fields based on international structure HCMT_BSP_PA_XX_R*. If you intend to use country specific fields then you may like to use different form scenario for different countries.
    2. Is there any limitation to no. of fields on the form? does the form performs well with multiple dynamic conditions?
    - As such there is no limiation for the fields.Yes, form performs well with multiple rule configurations.
    3. If yes, what is the best way to do this? through Java Script / Back end Generic Service?
    I interpret you would like to derive & show fields based on same backend logic, in that case you should generic service.
    If you want to show fields based on manager's logon then you should also use authorization BAdi.
    Regards
    Pooja

  • Multiple MBOs design

    I am new to SUP and going to develop native mobile app that consumes SAP BAPI.
    My question: is it possible to design MBOs first, then relate them to BAPI later?
    We would need multiple MBOs like Order - OrderedItem.
    Thanks
    Bob

    Hi Bob,
    While creating the MBO's you can select an option of Bind Data Source Later and add some attributes as per the DB schema.
    Once you have your RFC's/BAPI's ready, select the MBO and click on Bind Data Source in the properties view. Search the RFC, specify input/output parameters and then map the existing MBO parameters/attributes to the RFC parameters.
    You can do this for Multiple MBO's, but i cannot think of a use case where in the above approach can be used reducing the development effort.
    Please let me know how would the above approach help.
    Regards,
    Kartik

  • BOM Explosion for Multiple Process Orders

    Hi,
    I hope someone can assist me with the following: Is there a report I can run or transaction I can do to have BOM explosion for multiple Process Orders? I would like to input process orders for a week and see the BOM details per PO.
    Thanks

    Dear Sukendar,
    1.For this requirement you have to go for a Z report and you can give the Functional Spec's to prepare
    this report to your ABAP consultant.Prepare the input format,logic of the program and the output format.
    In the logic part you can make use of this Functional Modules's CSAP_MAT_BOM_READ or 
    CSEP_MAT_BOM_READ  or CS_BOM_EXPLOSION   or CS_BOM_EXPL_MAT_V2 .
    2.Using CEWB helps you to identify all the material that's having the BOM,but here the report does not
    shows you the level by level by BOM for a FERT.
    Check and revert back.
    Regards
    Mangalraj.S

  • Target Vs Acual Cost Comparison for multiple process orders

    Dear SAPians,
    I want to take a report for target vs actual cost for all process orders and product cost collectors created in a particular period. I have checked the standard report KKBC_ORD that serve my purpose but for a single order. I want the same report for multiple process orders and product cost collectors.
    Is there any standard report or should I create a report painter report. I have tried to create a report painter report based on library 7KO, but target cost was not showing for selected order.
    Kindly suggest.
    Shirazi

    Target Costs are available in library 601 for internal orders (and can be used for process/production orders).
    Regards,
    Adrian

Maybe you are looking for