Synchronising User Tables not Happening

Hello All ,
I am using SSM 7.5 SP 04. We configured SSM to connect to the BusinessObjects User store.(BOE). I am able to login as the "cmstechnicaluser" who is  an admin on the BOE side.
I created a new user called "VJ" and added him to the strategy_users group in the BOE user groups. If I login into the administration UI ,using the credentials of "VJ" , it is logging in , but displaying a message that "you have no access to this application. Contact your system administrator".
I tried adding this user "VJ" to the application groups. But this user is not coming in the user list in the Admin UI. I went to the system defaults and clicked the Synchronise User Tables. It is throwing up an error saying "  SM Script error"
Error message 'error' is undefined
URL http://sgpsrv011:50000/strategy/pipadmin/pa_settings.htm
Line #547
Even after restarting the listeners and the NW CE , this error is persisting. Moreover , the clear cache link is not appearing . Is there any other way to clear the cache ?
Thanks and Regards,
Vijay

Hi,
I am also getting this exact error message. Is this problem occurring often in SSM to 7.5 SP04 .
I was on SP3 but did not get this problem.
The error says
"Error message 'error' is undefined
URL http://<servername>:<port>/strategy/pipadmin/pa_settings.htm
Line #547 "
Carlos and Vijay also have the same error on SSM 7.5 SP4.
In my case I have checked the trace file also. It seems to be saying that it cannot connect to SAPCEDDB at a lot many places.
But my CE database is already being accessed when I log on the SSM Admin UI.
Anybody's got a hold on this one?
Milan.
Edited by: Milan Gupta on Dec 24, 2009 2:55 PM

Similar Messages

  • Partition Pruning on Interval Range Partitioned Table not happening when SYSDATE used in Where Clause

    We have tables that are interval range partitioned on a DATE column, with a partition for each day - all very standard and straight out of Oracle doc.
    A 3rd party application queries the tables to find number of rows based on date range that is on the column used for the partition key.
    This application uses date range specified relative to current date - i.e. for last two days would be "..startdate > SYSDATE -2 " - but partition pruning does not take place and the explain plan shows that every partition is included.
    By presenting the query using the date in a variable partition pruning does table place, and query obviously performs much better.
    DB is 11.2.0.3 on RHEL6, and default parameters set - i.e. nothing changed that would influence optimizer behavior to something unusual.
    I can't work out why this would be so. It very easy to reproduce with simple test case below.
    I'd be very interested to hear any thoughts on why it is this way and whether anything can be done to permit the partition pruning to work with a query including SYSDATE as it would be difficult to get the application code changed.
    Furthermore to make a case to change the code I would need an explanation of why querying using SYSDATE is not good practice, and I don't know of any such information.
    1) Create simple partitioned table
    CREATETABLE part_test
       (id                      NUMBER NOT NULL,
        starttime               DATE NOT NULL,
        CONSTRAINT pk_part_test PRIMARY KEY (id))
    PARTITION BY RANGE (starttime) INTERVAL (NUMTODSINTERVAL(1,'day')) (PARTITION p0 VALUES LESS THAN (TO_DATE('01-01-2013','DD-MM-YYYY')));
    2) Populate table 1million rows spread between 10 partitions
    BEGIN
        FOR i IN 1..1000000
        LOOP
            INSERT INTO part_test (id, starttime) VALUES (i, SYSDATE - DBMS_RANDOM.value(low => 1, high => 10));
        END LOOP;
    END;
    EXEC dbms_stats.gather_table_stats('SUPER_CONF','PART_TEST');
    3) Query the Table for data from last 2 days using SYSDATE in clause
    EXPLAIN PLAN FOR
    SELECT  count(*)
    FROM    part_test
    WHERE   starttime >= SYSDATE - 2;
    | Id  | Operation                 | Name      | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | SELECT STATEMENT          |           |     1 |     8 |  7895  (1)| 00:00:01 |       |       |
    |   1 |  SORT AGGREGATE           |           |     1 |     8 |            |          |       |       |
    |   2 |   PARTITION RANGE ITERATOR|           |   111K|   867K|  7895   (1)| 00:00:01 |   KEY |1048575|
    |*  3 |    TABLE ACCESS FULL      | PART_TEST |   111K|   867K|  7895   (1)| 00:00:01 |   KEY |1048575|
    Predicate Information (identified by operation id):
       3 - filter("STARTTIME">=SYSDATE@!-2)
    4) Now do the same query but with SYSDATE - 2 presented as a literal value.
    This query returns the same answer but very different cost.
    EXPLAIN PLAN FOR
    SELECT count(*)
    FROM part_test
    WHERE starttime >= (to_date('23122013:0950','DDMMYYYY:HH24MI'))-2;
    | Id  | Operation                 | Name      | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | SELECT STATEMENT          |           |     1 |     8 |   131  (0)| 00:00:01 |       |       |
    |   1 |  SORT AGGREGATE           |           |     1 |     8 |            |          |       |       |
    |   2 |   PARTITION RANGE ITERATOR|           |   111K|   867K|   131   (0)| 00:00:01 |   356 |1048575|
    |*  3 |    TABLE ACCESS FULL      | PART_TEST |   111K|   867K|   131   (0)| 00:00:01 |   356 |1048575|
    Predicate Information (identified by operation id):
       3 - filter("STARTTIME">=TO_DATE(' 2013-12-21 09:50:00', 'syyyy-mm-dd hh24:mi:ss'))
    thanks in anticipation
    Jim

    As Jonathan has already pointed out there are situations where the CBO knows that partition pruning will occur but is unable to identify those partitions at parse time. The CBO will then use a dynamic pruning which means determine the partitions to eliminate dynamically at run time. This is why you see the KEY information instead of a known partition number. This is to occur mainly when you compare a function to your partition key i.e. where partition_key = function. And SYSDATE is a function. For the other bizarre PSTOP number (1048575) see this blog
    http://hourim.wordpress.com/2013/11/08/interval-partitioning-and-pstop-in-execution-plan/
    Best regards
    Mohamed Houri

  • User update not happening?

    Hello,
    We have an adapter which is updating a boolean attribute in users profile. In Adapter we have used "updateUser" API of userOperationsInterface. Both the parameters which we are passing to update users are correct but dont know why this line is getting executed but users attribute is not and the Adapter is getting Stopped suddenly and setting the task status as Rejected (R).
    DEBUG,21 Sep 2010 11:43:11,378,[XELLERATE.ADAPTERS],Class/Method: tcAdpEvent/updateSchItem entered.
    DEBUG,21 Sep 2010 11:43:11,378,[XELLERATE.ADAPTERS],Class/Method: tcAdpEvent/updateSchItem - Data: event - Value: adpPORTALUPDATEUSERPROFILE
    DEBUG,21 Sep 2010 11:43:11,378,[XELLERATE.ADAPTERS],Class/Method: tcAdpEvent/updateSchItem - Data: New Status - Value: R
    DEBUG,21 Sep 2010 11:43:11,378,[XELLERATE.ADAPTERS],Class/Method: tcAdpEvent/updateSchItem - Data: SchData - Value: {2}
    DEBUG,21 Sep 2010 11:43:11,378,[XELLERATE.ADAPTERS],Class/Method: tcAdpEvent/updateSchItem - Data: Reason - Value:
    DEBUG,21 Sep 2010 11:43:11,456,[XELLERATE.ADAPTERS],Class/Method: tcAdpEvent/updateSchItem left.
    Can anybody have ever faced this type of problem? or anybody can say what may be the problem?

    I got it..the problem is updateUser(UserResultSet, UserMap) API throwing Null Pointer Exception...
    I have checked both the param resultset and hashmap we are passing are not null...So is there any problem with the API? I mean why it is throwing NullPointer??
    Any Idea???????

  • User assignment not happening in UME for CC Roles

    Hi Experts,
    We have installed the GRC AC 5.3 RAR Component in one of our server. As a part of post installation activity we have uploaded the cc_ume.txt files in the component and created a AC Administrator user.
    We have assigned the roles VIRSA_CC_ADMINISTRATOR role to the user and it is showing as assigned. But when we checked in the Role - VIRSA_CC_ADMINISTRATOR for the user assignment it is appearing as NO USER ASSIGNED to the role.
    Because of which we are unable to login ino the RAR tool with the administrator id. The same UME login page is appearing when we login with the AC Admin user id & password without giving any error messages.
    Please help us if anybody has faced the same problem and got it solved.
    Thanks and Best Regards,
    Srihari.K

    issue resolved

  • AD SSO not happening for Remote Users

    Dear Members
    I am having an issue with the NAC Deployment for Remote users (Users behind WAN Router)
    Windows AD SSO (2008) is happening for LAN users successfullly, however remote users
    are not able to do AD SSO.
    it is ensured that remote users even in unauthenticated state can reach Active directory. there is no filtering
    on any of the device across the path, for this communication.
    When i use Kerbtray on the remote PC, i found no tickets at all.(i am logged in thru Domain)
    what could be going wrong, is it delay (as they are wan user) which might attribute this issue, and if so, where are the needed parameters that can be tuned for AD SSO to happen.
    Any help will ne highly appreciated.
    thanks
    Ahad

    Hi Ahad,
    As long as ALL the policies in Table 8-1 are configured for the Unauthenticated Role
    http://www.cisco.com/en/US/docs/security/nac/appliance/configuration_guide/48/cas/s_adsso.html#wp1174219
    the CAS should be out of the picture for what concerns the communication between the PC and Kerberos.
    If the Kerbtray.exe output for a failing user is empty, it means that the unsuccessful users do not have any Service Ticket (ST) at all.
    This points to an issue with AD (considering the fact that the CAS is already allowing all the traffic to/from AD).
    The failing users are either unable to send the Ticket-Granting Ticket (TGT) to AD, or they are unable to obtain the Service Ticket (ST) from AD.
    The CAS during this phase is neither performing any actions nor blocking any traffic, since all the communications to/from AD are already fully open in the unauthenticated role.
    Regards,
    Fede
    If  this helps you and/or answers your question please mark the question as  "answered" and/or rate it, so other users can easily find it.

  • I can not open my Safari. It quits unexpectedly. The issue happens with a single user account. It does not happen to anyone else in my family. Please help.

    I can not open my Safari. It quits unexpectedly. The issue only happens to a single user account. It does not happen to anyone else in my family. Please help!

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Step 1
    Enter the name of the crashed application or process in the Filter text field. Post the messages from the time of the last crash, if any — the text, please, not a screenshot.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.
    Step 2
    Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall or hang logs — they're very long and not helpful.

  • TSQL for capture and insert to a user table when blcoking is happening on a SQL server

    Hi,
    I am searching for a TSQL which will capture the blocking script to a table with execution plan and all other necessaryu details. I tried with below script but its not giving the text for blocked statement
    I t will be nice if i get RequestingText and  BlockingTest
    SELECT @@servername as Instancename,getdate() as [date],session_id,start_time,status,command,database_id,blocking_session_id,
    wait_type,wait_time,last_wait_type,ST.TEXT AS SQL,
    wait_resource,open_transaction_count,cpu_time,total_elapsed_time,reads,writes,logical_reads,text_size from sys.dm_exec_requests SR
    CROSS APPLY SYS.DM_EXEC_SQL_TEXT(SR.SQL_HANDLE) AS ST 
    where blocking_session_id >0
    I tried the below link also, this this script also got blocked
    http://blog.sqlauthority.com/2010/10/06/sql-server-quickest-way-to-identify-blocking-query-and-resolution-dirty-solution/

    But when you run select * from sys.sysprocesses where blocked >0 
    i can see blocking
    and it will be nice if I get RequestingText and BlockingTest
    in the user table
    You can get the requesting text for the spid that is blocked, plus all the other information you get from sys.sysprocesses by
    select SUBSTRING(st1.text, (p.stmt_start/2)+1,
    ((CASE p.stmt_end
    WHEN -1 THEN DATALENGTH(st1.text)
    ELSE p.stmt_end
    END - p.stmt_start)/2) + 1) AS RequestingText,
    p.*
    from sys.sysprocesses p
    CROSS APPLY sys.dm_exec_sql_text(p.sql_handle) AS st1
    where p.blocked <> 0;
    But you will not bee able to get the command that caused the lock that is causing the blocking.  SQL does not keep that information.  For a lock, it only keeps the spid that owns it, what is locked, and the kind of lock.  It does not keep
    the command that caused the lock.  And while you can, at least sometimes get the last command the blocking spid has issued, but that may well not be the command that caused the lock.  The command that caused the lock might be anything the blocking
    spid ran since it entered transaction state.  And since that could be the last command or many, many commands ago, you won't be able to get that information with a query into the system tables and/or views.
    Tom

  • User temp tables not getting cleaned out from tempdb?

    Im seeing what looks like temp tables that are hanging around in tempdb and not getting cleaned out.
    This is SQL 2008 
    SELECT * FROM tempdb.sys.objects so WHERE name LIKE('#%') AND DATEDIFF(hour,so.create_date,GETDATE()) > 12
    Im seeing about 50 or so objects that get returned and they are user_table and some of them have create dates of several days in the past.  Now I know users do not run processes that take that long, so why are these objects still hanging around?
    TempDB gets reset after a server restart, but other than that, how long are these things going to hang around?

    A local temporary table scope exists only for the duration of a user session or the procedure that created the temporary table. When the user logs off or the procedure that created the table completes, the local temporary table is lost. 
    You can check the below blog for more information
    http://sqlblog.com/blogs/paul_white/archive/2010/08/14/viewing-another-session-s-temporary-table.aspx
    --Prashanth

  • Synchronising HR and WF User Tables !

    Dear All
    I am facing a workflow issue, whereby a valid and active HR employee (also linked to an active FND User) record is not registered within the WF User and Role tables.
    How do I ensure that the WF User/Role/Directory tables are synched with the HR/FND Tables.
    I am told that under the 11.5.10 (which is the environment I am working on), this should be automatic, but clearly, this is not the case.
    I even tried updating the HR record through the form, just to check if it fires an update to the WF table, but no luck there.
    I tried running the various Workflow Synchronization and Validation Concurrent Programs under the SysAdmin, but again, none of them did anything.
    Has anyone faced this issue and how do you get the WF User tables updated ?
    Any help and suggestion is appreciated.

    Hi,
    I am also getting this exact error message. Is this problem occurring often in SSM to 7.5 SP04 .
    I was on SP3 but did not get this problem.
    The error says
    "Error message 'error' is undefined
    URL http://<servername>:<port>/strategy/pipadmin/pa_settings.htm
    Line #547 "
    Carlos and Vijay also have the same error on SSM 7.5 SP4.
    In my case I have checked the trace file also. It seems to be saying that it cannot connect to SAPCEDDB at a lot many places.
    But my CE database is already being accessed when I log on the SSM Admin UI.
    Anybody's got a hold on this one?
    Milan.
    Edited by: Milan Gupta on Dec 24, 2009 2:55 PM

  • Why users are not able to see certain printers even though they are in the Airgroup server table

    Q: Why users are not able to see only certain printers even though they are in the Airgroup server table ?
    A: In certain scenarios  we may notice  printers come up under the server /cache entries on the controller.
    However when an airgroup user does search for printer, they may not see all the printers, certain printers may be not visible .
    This is because the service IDs sent by the user in the MDNS query are not broadcast by these printers 
    In the below capture the Ipad sends query for service id "_universal_sub_ipp_tcplocal" and "_universal_sub_ipps_tcplocal" and hence the controller will 
    respond with the printers that broadcasts these service ids.
    Non–Visible printer : 
    _printer._tcp.local                                                              PTR                         IN     7200  10.125.30.223  5820.05  Wed Mar 18 13:24:26 2015
    _pdl-datastream._tcp.local                                               PTR                         IN     7200  10.125.30.223  6112.25  Wed Mar 18 13:24:26 2015
    _ipp._tcp.local                                                                     PTR                         IN     7200  10.125.30.223  5888.15  Wed Mar 18 13:24:26 2015
    _http._tcp.local                                                                    PTR                         IN     7200  10.125.30.223  6293.88  Wed Mar 18 13:24:26 2015
    NPIED487E.local                                                                  A                             IN     240   10.125.30.223  194.43   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._printer._tcp.local                     SRV/NBSTAT                  IN     240   10.125.30.223  209.87   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._printer._tcp.local                     TXT                         IN     240   10.125.30.223  205.14   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._printer._tcp.local                     TXT                         IN     240   10.125.30.223  197.18   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._printer._tcp.local                     TXT                         IN     240   10.125.30.223  196.42   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._printer._tcp.local                     TXT                         IN     240   10.125.30.223  208.15   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._pdl-datastream._tcp.local              SRV/NBSTAT                  IN     240   10.125.30.223  207.35   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._pdl-datastream._tcp.local              TXT                         IN     240   10.125.30.223  200.64   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._ipp._tcp.local                         SRV/NBSTAT                  IN     240   10.125.30.223  209.44   Wed Mar 18 13:24:26 2015
    Visible-printer :
    _printer._tcp.local                                                                         PTR         IN     4500  10.125.26.29   3745.82  Wed Mar 18 13:24:51 2015
    _universal._sub._ipp._tcp.local                                                PTR         IN     4500  10.125.26.29   3694.14  Wed Mar 18 13:24:51 2015
    _ipp._tcp.local                                                                                PTR         IN     4500  10.125.26.29   3628.81  Wed Mar 18 13:24:51 2015
    _pdl-datastream._tcp.local                                                          PTR         IN     4500  10.125.26.29   3616.14  Wed Mar 18 13:24:51 2015
    _http._tcp.local                                                                              PTR         IN     4500  10.125.26.29   3793.56  Wed Mar 18 13:24:51 2015
    XRX9C934E25C52D.local                                                                A           IN     120   10.125.26.29   355.03   Wed Mar 18 13:24:51 2015
    Xerox WorkCentre 3615 (25:C5:2D)._printer._tcp.local         SRV/NBSTAT  IN     120   10.125.26.29   130.45   Wed Mar 18 13:24:51 2015
    Xerox WorkCentre 3615 (25:C5:2D)._printer._tcp.local         TXT         IN     4500  10.125.26.29   3670.33  Wed Mar 18 13:24:51 2015
    Xerox WorkCentre 3615 (25:C5:2D)._ipp._tcp.local             SRV/NBSTAT  IN     120   10.125.26.29   389.55   Wed Mar 18 13:24:51 2015
    Xerox WorkCentre 3615 (25:C5:2D)._ipp._tcp.local             TXT         IN     4500  10.125.26.29   3640.60  Wed Mar 18 13:24:51 2015
    Xerox WorkCentre 3615 (25:C5:2D)._pdl-datastream._tcp.local  SRV/NBSTAT  IN     120   10.125.26.29   210.97   Wed Mar 18 13:24:51 2015
    In order to learn other printers we may need to use specific app provided by printer vendor on the client or configure the printers to send these service IDs.

    The net 451 issues made it not work after a while but it affected the entire RWW site not just remote access:
    http://blogs.technet.com/b/sbs/archive/2014/01/13/troubleshooting-an-unexpected-error-occurred-message-when-using-remote-web-access-to-connect-to-computers.aspx
    Careful if you try and uninstall it, you'll need to put back net 4.0 and reconfigure some stuff.
    Did it ever work?  
    Make sure the users have installed the certificate they need and turn on compatibility mode in IE (also make sure IE isn't locked down and disabling activeX).:
    https://technet.microsoft.com/en-us/library/dd701173%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396
    -- Al

  • Optimization not happening in PPDS with synchronisation resource

    Hi,
    I have maintained synchronisation resource in recipe and same has been came to APO PPM also, but when i am running optimization with this syncronisation resource capacity overload error is coming and optimization not happening.
    All the orders which i am trying to schedule through optimization  getting deallocated on DS board.
    Kindly give some favourable solution.
    regards
    pradeepta

    Hi
    My question was resolved
    Regards
    pradeepta

  • If i open same url in same browser without making signout in SharePoint FBA site, it login user again automatically which should not happened

    Hi All.
    I have SharePoint 2010 FBA site, and when user close there browser without logout button and if they enter same url in browser then it allow user to login on application which is security risk.
    So can you please help me to solve this problem.
    Thanks
    Ajit Shinde

    Hi Ajit,
    See this similar thread (with answers):
    https://social.technet.microsoft.com/Forums/en-US/5bf1dfdf-cc1c-422c-9c25-094fc7aaad61/user-details-retained-if-user-does-not-signout-and-closes-the-browser-and-opens-page-again?forum=sharepointgeneralprevious
    Nico Martens
    SharePoint/Office365/Azure Consultant

  • How do I create new user table in program and then access it?

    I am writing an application where I check for the existence of user objects when the add on starts and run the setup if the objects do not exist. I can create the user tables and fields but after the setup completes these objects still are not visible.
    If the user objects exist when the add on is first run everything is detected correctly.
    When a user object is added in SAP the user is eventually prompted to restart so I suspect something needs to happen prior to the add on being able to use the new fields.
    Does the add on need to wait for the DI Server to perform some action? Do I need to just quit the add on's class and rerun it, disconnect and reconnect to the company, or get a new Application and/or company object?
    What I want to do is figure out a way for the add on to automatically run the configuration if the user tables and fields do not exist yet and then kick off the regular add on code. I haven't seen anyone else's code so I don't know what is recommended or required here.
    Thanks for any assistance!

    I found that the add on can validate the existance of the user fields if I disconnect from the company object, set the SAPbouiCOM.Application and SAPbobsCOM.Company objects to null, set the new application, context, and company objects, and reconnect once more.
    HOWEVER...
    I still have to wait for the client to be restarted manually before I can run any of the form I added to the menu.
    So, I'd still like to know what the best practice is here. Should I just exit after setting up the tables and tell the user to restart SAP?

  • Excel Pivot Table not working Office 2013 click to run

    Hi
    I have a user who is having an issue with Excel pivot tables.
    Issue occurs when opening an old excel-file (created with Office 2007) and then saving it with another name (Save As).
    When opened the next time, system gives attached error message when trying to update Pivot with "Alt + F5" command.
    --> For some reason it wants to find something from that old excel file + Pivot is not updated.
    Can anyone help?
    Thanks
    Dan Smith

    Thank you George for your reply. The user tried the Analyze-->Change Data Source and this is what was found:
    The original file name was ”Kaiken_syyskuu2014_2.xlsx”. (see the pic below)
    When I have saved it as “Kaken_marraskuu2014”, it seems that all the pivots are still linked to “Kaiken_syyskuu2014_2”??
    In earlier Office version this did not happen.
    This excel file must be updated on monthly basis. There is tens of different pivots, so It would be quite nightmare to update the names for every Data Source one by one, every month (actually it is not possible to type name for the data
    source, ranges/tables have to be selected manually).
    These pivots are not re-created every month. Only the data source gets updated by pressing (Alt + F5)
    This problems is solved if the pivot table data source gets updated also (=source is same than new file name) when you give new name for the file (=Save as).
    I don’t see the point why pivots are still linked to old file, if you have already gave new file name for the entire excel-file.
    I hope you can help.
    Thanks
    Br.
    Dan
    <v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe"
    stroked="f"><v:stroke joinstyle="miter"><v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
    </v:path></v:stroke></v:shapetype><v:shape alt="" id="Picture_x0020_1" o:spid="_x0000_i1025" style="width:675pt;height:651.75pt;" type="#_x0000_t75"><v:imagedata o:href="cid:[email protected]"
    src="file:///C:\Users\smithda1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png">
    </v:imagedata></v:shape>

  • How to save matrix do user table?

    Hi,
    I have created on system form matrix as:
                        oNewItem = oOrderForm.Items.Add("a", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
                        oNewItem.Top = 150
                        omatrix1 = oNewItem.Specific
                        oColumns = omatrix1.Columns
                        oColumn = oColumns.Add("#", SAPbouiCOM.BoFormItemTypes.it_EDIT)
                        oColumn.TitleObject.Caption = "#"
                        oColumn.Width = 20
                        oColumn.Editable = False
                        oColumn = oColumns.Add("code", SAPbouiCOM.BoFormItemTypes.it_EDIT)
                        oColumn = oColumns.Add("name", SAPbouiCOM.BoFormItemTypes.it_EDIT)
                        oColumn = oColumns.Add("cesta", SAPbouiCOM.BoFormItemTypes.it_EDIT)
    This matrix i have bounded to datasource as:
                oDBDataSource = oOrderForm.DataSources.DBDataSources.Add("@SKIL_ATTACH")
                oConditions = New SAPbouiCOM.Conditions
                oCondition = oConditions.Add
                oCondition.BracketOpenNum = 2
                oCondition.Alias = "U_PATH"
                oCondition.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                oCondition.CondVal = "xxx"
                oCondition.BracketCloseNum = 1
                oDBDataSource.Query(oConditions)
                oItem = oOrderForm.Items.Item("a")
                omatrix1 = oItem.Specific
                oColumns = omatrix1.Columns
                oColumn = oColumns.Item("cesta")
                oColumn.DataBind.SetBound(True, "@SKIL_ATTACH", "U_XCESTA1")
                oColumn = oColumns.Item("code")
                oColumn.DataBind.SetBound(True, "@SKIL_ATTACH", "CODE")
                oColumn = oColumns.Item("name")
                oColumn.DataBind.SetBound(True, "@SKIL_ATTACH", "NAME")
                omatrix1.LoadFromDataSource()
    The user table has 3 my fields (U_Path, U_xcesta and U_xcesta1) abd 2 fileds (code and name) - this two fields i didnt create, i think that are some system fields?
    On the system form everything seems to be ok, I can add rows, modify data, set new data, ... After changing any data in this matrix, the system button will change from OK to Update or Add and after click on this button in status bar is OK, the data was added or updated...
    The problem is, that in user table aren`t data modified and there are still old data.
    I tried to make update manually as:
                    oItem = oOrderForm.Items.Item("a")
                    omatrix1 = oItem.Specific
                    omatrix1.AddRow(1, 0)
                    Dim cell As SAPbouiCOM.Cell
                    Dim col As SAPbouiCOM.Column
                    Dim ed As SAPbouiCOM.EditText
                    col = omatrix1.Columns.Item("code")
                    cell = col.Cells.Item(1)
                    ed = cell.Specific
                    ed.String = CStr("some data")
                    omatrix1.Columns.Item("cesta").Editable = True
                    omatrix1.Columns.Item("cesta").Cells.Item(1).Click(SAPbouiCOM.BoCellClickType.ct_Double)
                    omatrix1.FlushToDataSource()
                    omatrix1.AddRow(1, 1)
    but nothing happens and data in table are still old. What I`m doing bad? Could anyone help me please?
    Please be patient, because Im working with SBO for short time. Thanks!

    I solved is through manual updating and inserting to database as"
                        oUserTable = oCompany.UserTables.Item("SKIL_ATTACH")
                        oOrderForm.DataSources.DataTables.Item(0).ExecuteQuery("SELECT coalesce(max(convert(integer, code)),0) as max from dbo.[@SKIL_ATTACH] with(nolock)")
                        oUserTable.UserFields.Fields.Item("U_Popis").Value = "xxxxx"
                        oUserTable.UserFields.Fields.Item("U_PATH").Value = "xxxxx"
                        oUserTable.UserFields.Fields.Item("U_OP").Value = "xxxxx"
                        lRetCode = oUserTable.Add
    It works, but I think that it is not the easiest way.

Maybe you are looking for

  • Save as JPEG not avail?

    Hey guys. I'm working on a project that won't let me export as JPEG. Puzzled, I opened a new file with the same settings and it wouldn't let me export as JPEG. I tried to save the new project blank and with a simple layer with a color on it and no di

  • Unable to extend FusionFX skin

    Dear All, I am having trouble implementing my own skin functionality. I wanted to extend the fusionFx skin family so I decided to create a skin file like this <?xml version="1.0" encoding="ISO-8859-1"?> <skins xmlns="http://myfaces.apache.org/trinida

  • How can I find the latest added contacts?

    Hi, I'm syncing my Address Book with my Nokia 6233, and it works fine. However, the 6233 has limited contacts memory (500 entries), so I had to create a special group within Address Book which is the one synced to the phone. Problem is, whenever I ad

  • Regular expression fro date time format

    Hi im trying to use regexp_like() function in my where clause as select 1 from dual where REGEXP_LIKE(''31/12/2003 11:59:59 PM',regular expr pattern) I tried this pattern using the following regular expresion which i found on a web site. but this did

  • Doubts in OIM

    Hi, I'm a new user to OIM.I'm in a very basic level in OIM.So can u tell me the meaning for some of the terms used in OIM.. What is meant by Reconciliation?What is the use of it? What is meant by Adapter?For what it is used,why do we need to integrat