Recording to the repository

Thanks so much for the invite to the private beta, and the how-to e-mail.  We have started the testing and have successfully setup the repository server at repo.inmatecanteen.com… but no archives appear from LCCS.
We have tested successfully a PUT and it required a trailing ‘/’!
curl -k --anyauth -T test.txt <our url>
We ran the jar file as needed after figuring out the trailing ‘/’ was required.  No output was returned from running the command.
java -jar LCCSREPO.jar <account-name> <account-user> <password> --register-repository <our url> > output.txt
When testing with my flash application, I do not see any archives that show in the repository.  I have tried to make a button for both recording, and closing the archive manager.  Attached is my flash code for the connect session container.
Is there something I’m missing for the connect session container?  Is my repository working correctly?
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx"
               xmlns:rtc="http://ns.adobe.com/rtc"
               minWidth="955" minHeight="600" currentState="logon" applicationComplete="loadComplete()">
    <s:layout>
        <s:VerticalLayout paddingBottom="6" paddingLeft="6" paddingRight="6" paddingTop="6" />
    </s:layout>
    <s:states>
        <s:State name="chooseRoom" />
        <s:State name="default" />
        <s:State name="logon" />
    </s:states>
    <fx:Script>
        <![CDATA[
            import com.adobe.rtc.events.SessionEvent;
            import com.adobe.rtc.archive.ArchiveManager;
            import com.adobe.rtc.session.managers.SessionManagerPlayback;
            import mx.utils.Base64Encoder;
            import mx.core.Application;
            import mx.core.FlexGlobals;
            import mx.events.FlexEvent;
            [Bindable] var roomName:String = "videochat";
            [Bindable] var roomURL:String = "<our Url>";
            [Bindable] var displayName:String = "Guest";
            [Bindable] var isPriviledged:Boolean = false;
            protected function loadComplete():void
                //Read in the roomUrl from the flash vars.  If they fail, set an Error label and set
                //the room to default - videochat.
                try
                    var flashVars = this.loaderInfo.parameters;
                    roomURL = "<our Url>" + flashVars.room;
                    if(flashVars.room == null)
                        roomURL = "<our Url>";
                    roomName = flashVars.room;
                catch(error:Error)
                    teamLabel.text = "Error: Invalid Room Specified.";
                    roomURL = "<our Url>";
                    //newRoomURL = "<our Url>";
                //Read in the userName from the flash vars.  If failure, then name the user "Guest"
                try
                    displayName = flashVars.userName;
                catch(error2:Error)
                    displayName = "Guest";
                //Read in the priviledged boolean from flash vars.  If failure, set isPriviledged to false
                try
                    isPriviledged = flashVars.isPriveledged;
                catch(error3:Error)
                    isPriviledged = false;
                //userName.text = displayName;
                auth.userName = displayName;
                currentState = "default";
                session.login();
            protected function session_Loaded():void
                aPublish.publish();
                //Only record the conversation if the call is not priviledged
                //session.archiveManager.recordSession = isPriviledged ? false : true;
            private function record():void
                session.archiveManager.recordSession = recordButton.selected;
                session.archiveID = "archive1*******";
            private function closeArchiveManager():void
                session.archiveManager.close();
            protected function chooseRoom_click(event:MouseEvent):void
                //chooseRoomCombo.selectedItem;
        ]]>
    </fx:Script>
    <fx:Declarations>
        <rtc:AdobeHSAuthenticator id="auth" />
    </fx:Declarations>
    <s:Label id="teamLabel" fontSize="14" text="Title goes here" />
    <s:HGroup top="250" horizontalCenter="0">
        <s:ToggleButton id="recordButton" label="Record" includeIn="default" click="record()" 
                        height="50" width="150" />
        <s:Button id="closeButton" label="close" includeIn="default" click="closeArchiveManager()"
                  height="50" width="150" />   
    </s:HGroup>
    <rtc:ConnectSessionContainer id="session" roomURL="{roomURL}"
                                 authenticator="{auth}" autoLogin="false"
                                 height="90%" width="90%" includeIn="default" creationComplete="session_Loaded()">
        <rtc:WebCamera top="10" left="10" bottom="10" right="10"  />
        <rtc:AudioPublisher id="aPublish" />
        <rtc:AudioSubscriber id="aSubscribe" />
    </rtc:ConnectSessionContainer>
</s:Application>

Ok, I run my updated project with an authenticator with no credentials, but end up getting:
Error: Error - insufficient permissions to create a new CollectionNode.  You must be an OWNER of the room to add new multi-user features to it.  Log in with developer credentials in order to do so.
Do I need to include the SharedWhiteBoard and Note objects like the playback sample?  My code looks like this (I am using the same roomUrl as my recording):
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx"
               xmlns:rtc="http://ns.adobe.com/rtc"
               xmlns:currentDir="*">
    <fx:Declarations>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
        <rtc:PlaybackAuthenticator id="auth" />
    </fx:Declarations>
    <rtc:ConnectSessionContainer id="cSession" authenticator="{auth}" width="100%" height="100%"
                                 roomURL="-=My Room URL=-"
                                 archiveID="session">                      
        <mx:HBox top="10" right="10" left="10" bottom="10" verticalGap="6" horizontalAlign="center">
            <mx:VBox width="100%" height="100%" >
                <rtc:WebCamera id="myCamera" width="200" height="200" />
                <currentDir:PlaybackBar width="100%" height="200" />
            </mx:VBox>
        </mx:HBox>
    </rtc:ConnectSessionContainer>
</s:Application>

Similar Messages

  • Error while loading the repository - ASAP

    Hello Experts,
    I have written a java application using MDM Java API to load and fetch records from the repository. While executing the program i get this exception:
    com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: The specified MDM repository was not found on the server
    at com.sap.mdm.commands.GetRepositoryRegionListCommand.execute(GetRepositoryRegionListCommand.java:96)
    at com.amat.mdm.MDMDelete.main(MDMDelete.java:135)
    Caused by: com.sap.mdm.internal.protocol.manual.ServerException: The specified MDM repository was not found on the server
    at com.sap.mdm.internal.protocol.manual.AbstractProtocolCommand.execute(AbstractProtocolCommand.java:112)
    at com.sap.mdm.commands.GetRepositoryRegionListCommand.execute(GetRepositoryRegionListCommand.java:84)
    Actually the same program works fine on sandbox server when we are trying to deploy it on dev server it throws this error.
    I have also changed the server parameters as per the dev sys to deploy.
    Can anyone give me solution how to resolve this error.
    Thanks.

    Hi Aparna,
    When connecting MDM to the Portal through the Java API you need to make sure you are working with the correct matched Sca files.
    The MDMJAVAAPI .sca file taht are deployed on the WAS for workinng with MDM needs to match exactly with the MDM version in terms of it SP and Patch number.If its does not then there are errors in integration.
    Make sure that when you have migrated to the Development server from the Sandbox you ahve maintained the same server vserion and if not then you need to redeploy the correct version fles on was as per the Dev MDM server configurations.
    Also try restrating the WAS and the MDM server and try connecting again.
    Make sure the Dev rep you are working upon is mounted and loaded before connecting.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Error replicating customizing data to the repository (SRM MDM Catalog)

    Hi Folks,
    I am currently configuring SRM MDM catalog, and one of the initial steps is to replicate data from SRM to the repository.
    After defining repositories and FTP servers, I am running step "start extraction".
    Well, the result page prompts me for errors in the 3 different files it is trying to replicate:
    Report Statistics
    Size of document     33.979  Bytes
    Number of records :
    Currencies        195
    cd /
    250 CWD command successful.
    cd "/SRM_MDM_Catalog/Inbound/SSD_120/LT_Currencies/Ready/"
    250 CWD command successful.
    Error while executing ftp command put Currencies_554_SSD120.xml
    The otehr 2 errors are the of the same type, just of different XML file.
    When I look at the log files in the port structure directory, I find the following messages:
    <?xml version="1.0" encoding="utf-8"?>
    <?xml-stylesheet type="text/xsl" href="MDM_Log.xsl"?>
    <MDM_Log version="1.0" path="F:\usr\sap\SCD\MDIS06\exe\MDIS_Temp\MDIS_TASK1_20091223211459.xml"
    >
         <Open ts-long="21:14:59 GMT, Wednesday, December 23, 2009" ts="2009/12/23 21:14:59.998 GMT" pid="3304" host="z001idsd118" compile-type="WIN64_RELEASE">
              <Version ts="2009/12/23 21:14:59.998 GMT" tid="9044" entry-no="0"><Server>7.1.01.78</Server><Build>Built on 2009-May-09</Build></Version>
              <Trace ts="2009/12/23 21:15:00.108 GMT" tid="9044" entry-no="1">[MDS=z001idsd118 Repository=SRM_MDM_Catalog ClientSystem=SRM Port=LT_Currencies]:   Chunk size/parallel[50000/5]: Import Task Started.</Trace>
              <Trace ts="2009/12/23 21:15:02.092 GMT" tid="9044" entry-no="2">Repository Load [SRM_MDM_Catalog]: 2003.483844 milli-seconds.</Trace>
              <Trace ts="2009/12/23 21:15:02.092 GMT" tid="9044" entry-no="3">Source file(s) retrieval + Repository Load: 2159.024536 milli-seconds.<LF/>-- Currencies_554_SSD120.xml</Trace>
              <Trace ts="2009/12/23 21:15:03.999 GMT" tid="3852" entry-no="4">xStructuralTransformer: Thread started.</Trace>
              <Trace ts="2009/12/23 21:15:03.999 GMT" tid="8392" entry-no="5">xValueTransformer: Thread started.</Trace>
              <Trace ts="2009/12/23 21:15:03.999 GMT" tid="9048" entry-no="6">xImporter: Thread started.</Trace>
              <Trace ts="2009/12/23 21:15:05.092 GMT" tid="6288" entry-no="7">xXmlSaxParser: Thread started.</Trace>
              <Error ts="2009/12/23 21:15:05.202 GMT" tid="6288" entry-no="8">Fatal Error at file Currencies_554_SSD120.xml, line 1, char 1, Message: Invalid document structure RC: 0xfffffffa - Invalid external data</Error>
              <Trace ts="2009/12/23 21:15:05.217 GMT" tid="6288" entry-no="9">xXmlSaxParser: Thread finished; Start -&gt; End: 0.000000000 milli-seconds.</Trace>
              <Trace ts="2009/12/23 21:15:05.295 GMT" tid="8392" entry-no="10">xValueTransformer: : Start -&gt; End: 0.000000000 milli-seconds.</Trace>
              <Trace ts="2009/12/23 21:15:05.295 GMT" tid="8392" entry-no="11">xValueTransformer: Thread signalled to stop: RC = 0xffffff</Trace>
              <Trace ts="2009/12/23 21:15:05.295 GMT" tid="9048" entry-no="12">xImporter: : Start -&gt; End: 0.000000000 milli-seconds.</Trace>
              <Trace ts="2009/12/23 21:15:05.295 GMT" tid="9048" entry-no="13">xImporter: Thread signalled to stop: RC = 0xffffff</Trace>
              <Trace ts="2009/12/23 21:15:05.295 GMT" tid="3852" entry-no="14">xStructuralTransformer: : Start -&gt; End: 0.000000000 milli-seconds.</Trace>
              <Trace ts="2009/12/23 21:15:05.295 GMT" tid="3852" entry-no="15">xStructuralTransformer: Thread signalled to stop: RC = 0x0</Trace>
              <Trace ts="2009/12/23 21:15:06.108 GMT" tid="9044" entry-no="16">[MDS=z001idsd118 Repository=SRM_MDM_Catalog ClientSystem=SRM Port=LT_Currencies]:   Chunk size/parallel[50000/5]: Import Task Finished.</Trace>
         </Open>
    </MDM_Log>
    What am I missing?
    thanks a lot a happy holidays!

    Hello Priti,
    For accessing the catalog, you have to define the external webservice with the config parameters in SRM System under transaction "SPRO"
    Please refer the SRM-MDM Catalog configuration guide.
    Hope this will help you.
    TNR,
    Saurabh...

  • Multiple info records for the same material record in the catalog

    Hi Guys,
    I have got sort of a puzzle I can not solve at the moment, maybe some one can help me to solve it. The situation in our system landscape  is as follows:
    Systems:
    SRM 5.0 (Classic implementation scenario)
    ECC 6.0
    SRM-MDM 2.0
    PI 2005
    Material master is maintained in R/3 and the materials are replicated to SRM. From SRM we replicate all materials to the catalog repository in  SRM-MDM.
    As the material master in R/3 is vendor independent, the materials replicated to SRM also have no vendor attached. For the first initial material replication from SRM to the catalog SRM-MDM this also means that the products in the main table of the repository, u2018catalog positionsu2019, will not have a vendor or vendor number attached (i.e. no reference to a source of supply).
    To assign a source of supply in the repository to a product (record) we will use info records which are replicated from R/3 to SRM-MDM.  The mapping for this in the Import Manager can only be based on the product number. As this is the only unique value available which can map a info record to a already existing (but vendor less) ptoduct item in the catalog.
    As long as every item in the repository has only one unique info record, meaning one source of supply with a specific price, there is no issue in the above scenario. Based on the product-id, the info record data will be matched with the material item in the catalog.
    The issue for me arises when multiple info records exists for the same material. The info records can heave different vendors and different prices. All possible vendors should be available in the catalog for the same material (at least this is the requirement ). 
    At this point the product-id will no longer be an unique value. Importing the info records will cause problems, as only one material record is available in the repository for the specific product-id (remember that when doing a initial replication of the material master to the catalog, no vendor data is replicated).
    Does anyone had this issue before, and knows a solution? Is it for example possible during the import of the info records in the Import manager, to duplicate material records in the destination data, based on the number of info records available in the source data for the same product-id. Or is there an other solution that I am missing?
    Your help would be appreciated!
    Regards,
    Skander

    Dear Poster
    Your thread has had no response since it's creation over
    2 weeks ago, therefore, I recommend that you either:
    - Rephrase the question.
    - Provide additional Information to prompt a response.
    - Close the thread if the answer is already known.
    Thank you for your compliance in this regard.
    Jason Boggans
    SAP SRM SDN Moderator

  • ABAP - CUA : Initial load : too many records in the CUA?

    We are running :
    SP03 for IDENT. CENTER DESIGNTIME 7.1 Patch 0
    SP03 for IDENTITY CENTER RUNTIME 7.1 Patch 1
    SP03 for NW IDM IC UIS 7.00 Patch 1
    We have connected our customer's CUA system to IdM : we created an Identity Store called 'SAP_Master', created the CUA repository, defined the required attributes as defined in the guide 'IDM 7.1 - IdM For SAP Systems - Configuration 7-3.pdf', created the jobs based upon the templates etc. The dispatcher used has 'run provisioning jobs' disabled.
    On our sandbox server, when we connect to our sandbox CUA system (CUA_YS5_200), everything is ok, the 'AS ABAP - Initial load' job with only 'ReadABAPRoles' enabled, runs fine.
    On our QA system, when we connect to our 'production' CUA system (CUA_YP0_400), the 'AS ABAP - Initial load' job with
    only 'ReadABAPRoles' enabled, finished with message 'could not start job, rescheduling'. Since there is a huge number of records (we looked it up in the system : 311.679 records), we decided to switch on parameter 'bootstrap job'. Now the result is that it takes forever, after half a day the job is still running. In the database, table 'sapCUA_YP0_400role' is still completely empty (no records). Therefore, it seemed interesting to connect our QA IdM system to our development CUA system (CUA_YS5_200). After a while, the exact same job has finished and table 'sapCUA_YS5_200role' contains 18.580 records.
    After some additional testing, we might have discoved the cause of the issue could be that the number of records in our CUA is too big.
    In the java code of the fromSAP pass there are 2 calls to the SAP system for reading the roles into Idm. The first one reads table USRSYSACT (311.000 records), the second one reads table USRSYSACTT (1.000.000 records). All these records are stored into a java hashmap - we think that 1 million records exceeds the hashmaps capability, although no java error is thrown.
    When we debug the functionmodule RFC_READ_TABLE and change the rowcount to 100.000 then everything works fine. When we set the rowcount to 200.000 the java-code does not generate an error but the job in idm never
    ends...
    When running functionmodule RFC_READ_TABLE in the backend system the 1.000.000 records are processed in less than one minute. So apparently, the issue is related to the processing in the Java code.
    Java Dispatcher heap size is set to 1024.
    Anybody already came accros this issue?
    Thanks & best regards,
    Kevin

    Installing the patch, re- importing the SAP Provisioning framework (I selected 'update') and recreating the jobs didn't yield any result.
    When examining pass 'ReadABAPRoles' of Job 'AS ABAP - Initial Load' -> tab 'source', there are no scripts used .
    After applying the patch we decided anyway to verify the scripts (sap_getRoles, sap_getUserRepositories) in our Identity Center after those of 'Note 1398312 - SAP NW IdM Provisioning Framework for SAP Systems' , and they are different
    File size of SAP Provisioning Framework_Folder.mcc of SP3 Patch 0 and Patch 1 are also exactly the same.
    Opening file SAP Provisioning Framework_Folder.mcc with Wordpad : searched for 'sap_getRoles'  :
    <GLOBALSCRIPT>
    <SCRIPTREVISIONNUMBER/>
    <SCRIPTLASTCHANGE>2009-05-07 08:00:23.54</SCRIPTLASTCHANGE>
    <SCRIPTLANGUAGE>JScript</SCRIPTLANGUAGE>
    <SCRIPTID>30</SCRIPTID>
    <SCRIPTDEFINITION> ... string was too long to copy
    paste ... </SCRIPTDEFINITION>
    <SCRIPTLOCKDATE/>
    <SCRIPTHASH>0940f540423630687449f52159cdb5d9</SCRIPTHASH>
    <SCRIPTDESCRIPTION/>
    <SCRIPTNAME>sap_getRoles</SCRIPTNAME>
    <SCRIPTLOCKSTATE>0</SCRIPTLOCKSTATE>
    -> Script last change 2009-05-07 08:00:23.54 -> that's no update !
    So I assume the updates mentioned in Note 1398312 aren't included in SP3 Patch 1. Manually replaced the current scripts with those of the note and re- tested : no luck. Same issue.
    Thanks again for the help,
    Kevin

  • Identifing duplicate master data records using the MDM Import Manager

    hi all
    I read the Topis "How to identify duplicate master data records using the MDM Import Manager</b>"
    i tried to create import maps and to set rules. but when i import them it creates the new vendor records for each rule with rest of the fields blank.
    when i import vendor data all the three fields i.e Match rate , match type and match group are blank.
    My Question is :
    I am getting vendor data from SAP R/3.
    In which source (in lookup xml file or data xml file) do i have to include these above three fields and how all the rules will be reflected in repository?

    Hi Sheetal
      Here we go when do you Import any data (vendor master) please follow the following steps;
    1. First of all apply the map to the source data
    2. In the Match Record tab there are 3 possiblities
       a.[Remote Key] : Checks the current source rec with
         repository along with all the fields - This is
         default
       b.Remove [Remote key] - by double click the same; and
         choose any single fields like Vendor Number or
         name - Then the current record will be matched
         with the repository based on the field.
       c.Instead of single field you can choose combination
         also.
    3. Based on the Match results, match class will be set
       automatically;
       a. None
       b. Single
       c. Multiple
    4. Then Match Type
        a.Exact-All the individual value matches are Equal.
        b.Partial-At least one value match is Equal and at least one Undefined; no value matches are Not Equal.
        c.Conflict-At least one value match is Equal and at least one value match is Not Equal.
    5. then chek the Import status and Execute the import.
    Hope this helps you.
    cheers
    Alexander
    Note: Pls dont forget reward points.

  • Error Updating the Repository (MDM7.1)

    Hi,
    We have migrated repository from 5.5 (SP06) to MDM 7.1 SP5. Post migration, when 'Update repository' option is executed, we are getting the error message 'Error updating the repository - The Table could not be modified'.
    Update repository is failing and we are not able to move ahead.
    Please advise steps that need to be followed to resolve this error.
    Regards,
    Vinay

    Hi ,
    Below points have been taken care of. But, we are still facing the same error. Any other suggestions please.
    First of all you should be sure that your old repository haven't errors or warning(run repair).
    (Vinay : Done. No errors or warnings)
    After that you should save all information about your validations, assignments, opened workflows, records under workflows.
    (Vinay: Taken care of)
    And delete all of them(i mean validations, assignments, opened workflows and workflows history).
    (Vinay: No validations/Assignments or open workflows)
    If you are change database(for example Oracle to DB2) you should check all permissions for your database user and database codepage setup(its should be the same as in your old database).
    (Vinay: Database is same as before (Oracle))
    Regards,
    VInay

  • MDM 5.5.65.71(Not able to load the repository)

    Hi All,
    We are getting the strange problem in MDM patch 5.5.65.71.
    We have recently upgraded to 5.5.65.71 from 5.5.64.79 and we are getting problem one of our repository while we try to load it.
    The repository is not getting loaded saying that unique constraint violated and duplicates are there for one of the field.
    We have removed the unique constraint in the console level and loaded the repository to check whether any duplicates existing or not. But no duplicates existing in that repository.
    We have again kept unique constraint in the console level and tried  to load the repository but we were not able to do it as it is
    saying unique constraint violation eventhough there were no records which violates unique constraint on our repository.
    Has anyone faced this problem?
    Please share your views on how to get rid of this issue?
    Thanks,
    Narendra

    Hi,
    I would suggest, if you have backup archive file of the repository, then please try by deleting and again archiving repository. it may solve problem. It is suggested to check and verify and take backup of the repository before upgrading MDM server.
    please revert if you don't have backup of the repository.
    Regards,
    Shiv

  • Error while saving the records in the database

    Hi,
    I am running into a wierd error.
    I have built a new page which contains the information about the employees. Some of the fields are updatable fields. The page shows the details of the person who logs into the page.
    I am not using EO in this page. The data is queried from the database from VO and displayed in the page and when the records are updated, they are saved in the databased using pl/sql procedure which is
    being called from AM. So i am basically not using VO to save the records in the database.
    The error which i am getting is,
    If 2 users are trying to update the page at the same time, user A's details are updated in user B's page.
    This is really causing the issue. Any help is greatly appreciated.
    Thanks in advance.
    PK

    I have posted the code used along with the dialog page. Please review.
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"Pavan, Start1",OAFwkConstants.STATEMENT);
    if (pageContext.getParameter("XYZBack")!=null)
    pageContext.setForwardURL("OA.jsp?OAFunc=OAHOMEPAGE"// OAWebBeanConstants.RETURN_TO_MENU_URL also tryed this , same error
    ,null
    ,OAWebBeanConstants.KEEP_MENU_CONTEXT
    ,null //not needed as we are retaining menu context
    ,null // no parameters are needed,true //retain AM,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
    ,true
    ,null
    ,OAWebBeanConstants.IGNORE_MESSAGES);
    if(pageContext.getParameter("XYZUpdate") !=null)//The fields and their values are loaded as soon as the update button is clicked. We do this before calling the oadialog page so that the values are not lost
    OAViewObject EmpDetailsVO3 = (OAViewObject)OAAppl.findViewObject("XYZPersInfoVO");
    OARow EmpDetailsRow3 = (OARow)EmpDetailsVO3.first(); //Bringing the control over to the first row which is nothing but the displayed row.
    if(EmpDetailsRow3 !=null)
    s_workphone = EmpDetailsRow3.getAttribute("WorkPhone").toString();
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"workphone is: "+s_workphone,OAFwkConstants.STATEMENT);
    s_fax = EmpDetailsRow3.getAttribute("WorkFax").toString();
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"Fax is: "+s_fax,OAFwkConstants.STATEMENT);
    s_building = EmpDetailsRow3.getAttribute("Building").toString();
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"Building is: "+s_building,OAFwkConstants.STATEMENT);
    s_room = EmpDetailsRow3.getAttribute("Room").toString();
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"Room is: "+s_room,OAFwkConstants.STATEMENT);
    s_box = EmpDetailsRow3.getAttribute("Box").toString();
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"Box is: "+s_box,OAFwkConstants.STATEMENT);
    s_preferedname = EmpDetailsRow3.getAttribute("KnownAs").toString();
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"Preferred name is: "+s_preferedname,OAFwkConstants.STATEMENT);
    OAException OAExcep1 = new OAException("PER","XYZ_UPDATE_DETAILS");
    OAException OAExcep2 = new OAException("PER","XYZ_UPDATE_MESSAGE");
    OADialogPage OADialogPG1 = new OADialogPage(OAException.WARNING,OAExcep1,OAExcep2,
    OADialogPG1.setOkButtonToPost(true);
    OADialogPG1.setNoButtonToPost(true);
    OADialogPG1.setOkButtonLabel("Yes");
    OADialogPG1.setNoButtonLabel("No");
    OADialogPG1.setOkButtonItemName("DoOk");
    OADialogPG1.setNoButtonItemName("DoNo");
    OADialogPG1.setPostToCallingPage(true);
    pageContext.releaseRootApplicationModule();
    pageContext.redirectToDialogPage(OADialogPG1);
    else if(pageContext.getParameter("DoOk") != null)
    OAApplicationModule EmpDetailsAM = pageContext.getApplicationModule(webBean);
    Class[] paramtypes = {String.class, String.class, String.class, String.class,String.class,String.class,String.class};
    Serializable[] params = {s_personid,s_workphone,s_fax,s_building,s_room,s_box,s_preferedname};
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"personid is :"+s_personid,OAFwkConstants.STATEMENT);
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"workphone is :"+s_workphone,OAFwkConstants.STATEMENT);
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"workfax is :"+s_fax,OAFwkConstants.STATEMENT);
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"building is :"+s_building,OAFwkConstants.STATEMENT);
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"room is :"+s_room,OAFwkConstants.STATEMENT);
    if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    pageContext.writeDiagnostics(this,"preferredname is :"+s_preferedname,OAFwkConstants.STATEMENT);
    pageContext.releaseRootApplicationModule();
    OAAppl.invokeMethod("TransactionCommit",params,paramtypes);
    OAAppl.invokeMethod("initDetails");
    throw new OAException("The Building and Phone Information have been saved successfully"
    ,OAException.INFORMATION);
    thank you

  • Can not delete record from the master block ,frm-40202 field must be entere

    hi ,
    i have built a form which contain master and details blocks
    the problem is
    when i try to delete a record from the master block it gives me new serial for the transaction and when i try to save it, it says
    >frm-40202 field must be entered
    where this field is required and i cant save it
    although in another form when i delete from the master it gives me the previous record and it works properly
    if any one has any ideas pls help me
    thank u
    ------- the master block has a trigger when-create-recoder
    Declare>v_dummy number;
    Begin
    Select nvl(max(ERNT_NO),0) + 1 >Into v_dummy
    From LM_RENT_EXPNMST >Where cmp_no = :LM_RENT_EXPNMST.cmp_no
    And brn_no = :LM_RENT_EXPNMST.brn_no>and fiscal_yr = :LM_RENT_EXPNMST.fiscal_yr;
    >:LM_RENT_EXPNMST.ERNT_NO := v_dummy;
    END;
    IF :PARAMETER.RNT_NO IS NOT NULL THEN
         :LM_RENT_EXPNMST.RNT_NO:=:PARAMETER.RNT_NO;
              :LM_RENT_EXPNMST.RNT_YR:=:PARAMETER.RNT_YR;
         :LM_RENT_EXPNMST.CUST_DESC:=:PARAMETER.RNT_ADESC;
    END IF;Edited by: ayadsufyan on May 8, 2013 2:03 PM

    If this is a FORMS question you should mark this one ANSWERED and repost your question in the FORMS forum
    Forms

  • HT204088 Hi team can your team send me the purchase record of the game barcode soccer

    Hi team
    Can your team send me back the purchase record for the game barcode soccer that I purchase under this account thanks

    This is a User to User Forum... What do you require and from whom...

  • Urgent help needed: how to display a list of records on the screen

    Hello,
    This is very urgent. Can anyone help me. I have posted this query of mine before also but still no reply came. My whole application is dependent on this problem. Actually I am developing an application for mobile phone using MIDP. I have a record store which contains personal details for users. I am able to add records to the record store. Now I want that these records can be edited. For this I want to display a list of firstname field on the screen (and not console) so that i can select a user to edit its details. I have written the code to read the records and individual fields and display it on the console but i want to display that list on screen. I tried list and array but it s giving some error.
    I am giving the code to read the records below. Please tell me how can I display it in a list on the screen.
    public void readStream(){
    try
    byte[] recData=new byte[50];
    String varname;
    ByteArrayInputStream strmBytes = new ByteArrayInputStream(recData);
    DataInputStream strmData=new DataInputStream(strmBytes);
    if (rsperdt.getNumRecords() > 0){
    ComparatorString comp=new ComparatorString();
    int i=1;
    RecordEnumeration re=rsperdt.enumerateRecords(null, comp, false);
    while(re.hasNextElement()){
    rsperdt.getRecord(re.nextRecordId(), recData,0);
    System.out.println("Record #" + i );
    varname = strmData.readUTF();
    System.out.println("Name #"+varname);
    System.out.println("---------------------------");
    i=i+1;
    strmBytes.reset();
    comp.compareStringClose();
    re.destroy();
    strmBytes.close();
    catch(Exception e){
    System.err.println("read Records class:read");
    }

    I could not understand ur point "post the code in tags". I am pasting the code below. Please help as my whole application is stuck due to this problem and I have a deadline of 7th oct.
    This midlet is getting called from some other midlet.
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import javax.microedition.rms.*;
    import java.io.*;
    import java.util.*;
    public class frmread extends Form implements CommandListener
    static final String rec_store="db_per";
    private RecordStore rsperdt=null;
    private Vector vecname;
    private ChoiceGroup chname;
    private boolean flagSortByPriority = false, flagShowPriority = true;
    private Form fmmain;
    private Command cmdBack;
    private teledoc midlet;
    public frmread(String title, teledoc midlet)
    super(title);
    this.midlet = midlet;
    openRecStore();
    this.setCommandListener(this);
         chname = new ChoiceGroup("new", Choice.EXCLUSIVE);
         vecname = new Vector();
         cmdBack = new Command("Back", Command.BACK, 1);
    fmmain = new Form("Record Search");
         addCommand(cmdBack);
    setCommandListener(this);
    readStream();
         rebuildTodoList();
         closeRecStore();
    * Process events for this form only
    protected void rebuildTodoList()
    for(int j=chname.size(); j>0; j--)
         chname.delete(j-1);
         int priority;
         todoitem item;
         String text;
         StringBuffer sb;
         for (int j=0; j<vecname.size(); j++)
              item=(todoitem) vecname.elementAt(j);
              priority = item.getPriority();
              text = item.getText();
              sb = new StringBuffer((flagShowPriority ? (Integer.toString(priority) + "-"): ""));
              sb.append(text);
              chname.append(sb.toString(), null);
    public void commandAction(Command c, Displayable s)
    if (c == cmdBack){
    midlet.displayteledoc();
    public void readStream(){
    try
    byte[] recData=new byte[100];
    String varname;
    int varname1=0;
         ByteArrayInputStream strmBytes = new ByteArrayInputStream(recData);
         DataInputStream strmData=new DataInputStream(strmBytes);
         if (rsperdt.getNumRecords() > 0){
    ComparatorString comp=new ComparatorString();
    int i=1;
              int id = 1;
              vecname.removeAllElements();
              RecordEnumeration re=rsperdt.enumerateRecords(null, comp, false);
    while(re.hasNextElement()){
         rsperdt.getRecord(re.nextRecordId(), recData,0);
    System.out.println("Record #" + i );
    varname = strmData.readUTF();
                   varname1 = strmData.readInt();
                   id = re.nextRecordId();
                   System.out.println("Name #"+varname);
                   todoitem item = new todoitem(varname1, varname, id);
                   vecname.addElement(item);
                   System.out.println("---------------------------");
                   i=i+1;
    strmBytes.reset();
              comp.compareStringClose();
              re.destroy();
    strmBytes.close();
    catch(Exception e){
    System.err.println("read Records class:read");
    public void openRecStore(){
    try{
    rsperdt=RecordStore.openRecordStore("db_per",true);
    catch(RecordStoreException e){
    db(e.toString());
    public void closeRecStore(){
    try{
    rsperdt.closeRecordStore();
    catch(Exception e){
    db(e.toString());
    public void db(String str){
    System.err.println("Msg:" + str);
    class ComparatorString implements RecordComparator{
    private byte[] recData = new byte[20];
    private ByteArrayInputStream strmBytes = null;
    private DataInputStream strmDataType = null;
    public void compareStringClose(){
    try{
    if(strmBytes != null)
         strmBytes.close();
    if(strmDataType != null)
         strmDataType.close();
         catch (Exception e)
    public int compare(byte[] rec1, byte[] rec2)
         String str1, str2;
         try {
              int maxsize = Math.max(rec1.length, rec2.length);
              if (maxsize > recData.length)
              recData = new byte[maxsize];
                   strmBytes = new ByteArrayInputStream(rec1);
                   strmDataType = new DataInputStream(strmBytes);
                   str1=strmDataType.readUTF();
                   strmBytes = new ByteArrayInputStream(rec2);
                   strmDataType = new DataInputStream(strmBytes);
                   str2=strmDataType.readUTF();
                   int result=str1.compareTo(str2);
                   if (result == 0)
                   return RecordComparator.EQUIVALENT;
                   else if (result < 0)
                   return RecordComparator.PRECEDES;
                   else
                   return RecordComparator.FOLLOWS;
                   catch (Exception e)
                   return RecordComparator.EQUIVALENT;

  • Importing to iMovie: How do I use an external usb mic when recording with the built-in FaceTime HD Camera?

    Hello all
    I'm scheduled to work with a friend this week; I'm going to help him make a simple audition DVD.  I promised him I had the necessary equipment and such.
    I was importing from the webcam using iMovie.  If I can't use my external mic to record for the video, there is more involved in the editing process.   I was hoping to record the video and audio into one package.  I'm using the built-in FaceTime webcam on my macbook pro and a ZoomH1 on usb.
    I've tried changing the audio in system preferences: input to H1.  This works when recording with audacity or anything else.  I even changed the input on FaceTime to H1.  There aren't any preferences I can find in iMovie to change the input for importing video directly from the webcam.
    How do I change the audio input for direct import on iMovie?   
    OR
    Is there something else I can do to have HD video and HQ audio captured in one video file on my macbook pro?
    I suppose I can record the video and audio separately but that is usually much more involved.  This is why I got this usb microphone lol.
    Thanks in advance,
    -Seth

    I just found using QuickTime Player to record a movie works great.  I can easily change the audio input.  iMovie is silly. lol
    If I missed anything let me know.
    Thanks
    -Seth

  • Double data records in the cube.

    Hi experts
    when we are loading the data from DSO to infocube by using DTP ,
    the Problem is its updating double records in the infocube,  with  same record and the key figure values zero .
    in the transformations we don't have any start routine, end routine  ..
    Please could any  tell me how to overcome from this
    thanks
    kumar

    Hi Fredrik,
    not all settings in infopackages work in chains in the same way they do while running the package manually. Mostly you can check that with pressing F1 on the setting. In your case, you need to add a process type for deleting the data to the chain. In your chain maintenance, look at process types and then in load processes .... There you will find the type you need.
    kind regards
    Siggi

  • End Routine - Modify a record in the cube

    Hello Guys,
    In the end routine I have to update a field . The transformation is the same cube to the cube. I want the record to be modified like add a value to a field in the end routine. Since it is a cube it creates a new record instead of overwriting the existing record. Is there anyway I can modify the record. I know I can make the existing record 0.00 and then create a new record with the new value.Is there any other solution.
    For example:This is the existing record in the cube
    sales order           Item No                      Backlog Amount                      Indicator
    1000                     10                              1000.00
    After applying the end routine it has 2 records ( I modify the record with the indicator value)
    sales order           Item No                      Backlog Amount                      Indicator
    1000                     10                              1000.00                                  
    1000                     10                              1000.00                                    REV
    After applying the end routine I need the record to be like overwrite(similar to DSO)
    sales order           Item No                      Backlog Amount                      Indicator
    1000                     10                              1000.00                                   REV
    How to achieve the above result in end routine.
    Thanks
    Senthil

    Hi there,
    Since you create new records in end routine in the InfoCube, why not delete the old ones?
    You can use the
    delete RESULT_PACKAGE where ...
    Therefore deleting the old records after inserting the new ones.
    Diogo.

Maybe you are looking for

  • Script error?

    Hello people, I'm new to form design and scripts (and this forum) and have run into a brick wall that I have been unable to resolve and hope, it's a simple error that only a begginer would make, and one of you can easily resolve it. The form needs to

  • Coreapplication shows as down in OEM, but all components are up

    Hi,. Just upgraded from 11.1.1.5 to 11.1.1.6.2. All went fine and everything running. Also upgraded WLS from 10.3.5 to 10.3.6 Yet the core application shows as down in OEM although system status reads      All components are available weird ..... dia

  • Subscribe/unsubscribe PHP/Mysql Adobe Tutorial Issue

    I've been following the Adobe Dreamweaver CS3 tutorial known as "Building a subscribe/unsubscribe app in PHP with Dreamweaver CS3" here is the tutorial link http://www.adobe.com/devnet/dreamweaver/articles/subscribing_unsubscribing_with_php.html Basi

  • Using DAQ occurrence to wait for start trigger

    Hi, I'm trying to use digital triggers to start and stop datalogging. Every time start trigger appears, new file is created and data is acquired to file until stop trigger occurs. Now I'm using set DAQ occurrence and wait for occurrence functions to

  • Apple mail search doesn't show messages

    I can normally search for sent and received emails by entering a persons email address in the search field with the spyglass icon, since last week I haven't been able to do this even though all messages show up in the inbox and sent folders. Is there