Extending HR SelfService - Capture Current Person ID

I am new to OA, I developed a stand alone region that I embed in a current HR Selfservice. I can successfully see the results displayed on the embeded screen in HR Selfservice. I need to be able to display only the current employee information I am processing in self service.
My problems is howto capture the person id or employee number of the person whose information is being displayed in the seeded HR Selfservice page, in the code for my embeded page.
Any help would be appreciated
thanks
Wasim

This will get you the userid:
String userId = String.valueOf(pageContext.getUserId());
Create a view object (XxGetPersonIdVO) that uses the following query to get the personID:
SELECT employee_id person_id
FROM fnd_user
WHERE user_id = :1
In the IMPL for the VO you can create a getPersonID methods like this:
public void getPersonId(String userId)
if ((userId != null) && (!("".equals(userId.trim()))))
Number searchUser = null;
try
searchUser = new Number(userId);
catch(Exception e)
throw new OAException("PAY", "XX_VMMC_NUM_VAL_REQ");
setWhereClauseParams(null); // Always reset
setWhereClauseParam(0, userId);
executeQuery();
} // end initQuery()
You can then get a reference to the vo with this:
OAViewObject idForPersonVo = (OAViewObject)am.findViewObject("XxGetPersonIdVO1");
Then pass the userid to the vo method to load the VO with the data:
Serializable[] userParams = {userId};
idForPersonVo.invokeMethod("getPersonId", userParams);
Then you can retrieve the information with this:
String personId;
OARow row = (OARow)idForPersonVo.first();
personId = row.getAttribute(0).toString();
Hope this helps.
Kris
Edited by: user530348 on Aug 14, 2009 10:40 AM

Similar Messages

  • SQLEXEC on each new trail file or just on replicat start to capture current FILESEQNO?

    Dear community,
    I need to capture fileseqno of the trail file that replicat is processing. But I only need to capture it once without overhead of adding fileseqno column to target tables.
    I clearly understand that using colmap ( usedefaults, FILESEQNO = @GETENV ("RECORD", "FILESEQNO") ) inserts fileseqno value for every record captured from logs, but what I'm trying to accomplish is to react on the event of changing fileseqno number while replicat is running.
    Following application logic I actually only need to capture fileseqno of the first trail, that is processed by replicat.
    What I've tried so far is using following parameters for replicat (given two tables to be replicated):
    table m.EventHead,
    sqlexec( id set_first_seq_no1, spname pk_replication_accounting.set_first_seq_no, params( a_fileseqno = @GETENV( "GGFILEHEADER", "FILESEQNO" ) ), afterfilter ),
    filter (@coltest( set_first_seq_no1.a_fileseqno, NULL ) or @coltest( set_first_seq_no1.a_fileseqno, MISSING ) or @coltest( set_first_seq_no1.a_fileseqno, INVALID ) ),
    eventactions( ignore record );
    table m.EventTail,
    sqlexec( id set_first_seq_no2, spname pk_replication_accounting.set_first_seq_no, params( a_fileseqno = @GETENV( "GGFILEHEADER", "FILESEQNO" ) ), afterfilter ),
    filter (@coltest( set_first_seq_no2.a_fileseqno, NULL ) or @coltest( set_first_seq_no2.a_fileseqno, MISSING ) or @coltest( set_first_seq_no2.a_fileseqno, INVALID ) ),
    eventactions( ignore record );
    pk_replication_accounting.set_first_seq_no is defined within package as
    procedure set_first_seq_no( a_fileseqno in out pls_integer );
    With filter clause I've tried to instruct GG to perform SQLEXEC only for the first record captured for every table, but with no success. Stored procedure is fired multiple times upon every record in trail file.
    As far as I understand standalone SQLEXEC is not capable of obtaining value of @GETENV( "GGFILEHEADER", "FILESEQNO" ), though I have not tried it yet.
    Another way, that I see, is to instruct extract to add one fake record for every new trail file and then to process it within map clause with SQLEXEC. For example if SOURCEISTABLE had per table effect, then we could get our single record for every trail using dual table:
    sourceistable
    table dual;
    Still I don't know how to achieve required behavior.
    Please help, if you know some workarounds.

    Managed to capture current fileseqno for every replicat start with following parameters:
    ignoreupdatebefores
    map m.EventHead, target gg.tmp_gg_dummy, handlecollisions, colmap ( id = @GETENV ("RECORD", "FILERBA") )
    sqlexec( id set_first_seq_no1, spname pk_replication_accounting.set_first_seq_no, params(a_fileseqno = @GETENV( "GGFILEHEADER", "FILESEQNO" ) ), afterfilter ),
    filter (@getenv( "STATS", "TABLE", "GG.TMP_GG_DUMMY", "DML" ) = 0), insertallrecords;
    map m.EventTail, target gg.tmp_gg_dummy, handlecollisions, colmap ( id = @GETENV ("RECORD", "FILERBA") )
    sqlexec( id set_first_seq_no2, spname pk_replication_accounting.set_first_seq_no, params(a_fileseqno = @GETENV( "GGFILEHEADER", "FILESEQNO" ) ), afterfilter ),
    filter (@getenv( "STATS", "TABLE", "GG.TMP_GG_DUMMY", "DML" ) = 0), insertallrecords;
    tmp_gg_dummy is defined as the following:
    create global temporary table gg.tmp_gg_dummy ( id number( 14, 0 ) ) on commit delete rows;
    alter table gg.tmp_gg_dummy add constraint tmp_gg_dummy_pk primary key ( id );
    Procedure is fired only once per every replicat start and report file shows the following:
    From Table m.EventHead to GG.TMP_GG_DUMMY:
      Stored procedure set_first_seq_no1:
             attempts:         0
           successful:         0
    From Table m.EventTail to GG.TMP_GG_DUMMY:
           #                   inserts:         0
           #                   updates:         1
           #                   deletes:         0
           #                  discards:         0
      Stored procedure set_first_seq_no2:
             attempts:         1
           successful:         1
    though original mapping from m.EventTail has
    inserts:   
    69
    updates:   
    21
    befores:   
    21
    deletes:    
    0
    discards:    
    0

  • Capturing Current Times

      Using my ipad mini 3, I've figured out how to link a checkbox to another cell that captures the current time. I have ten rows of these I use to capture my takeoff and landing times. The problem I'm haveing is everytime I check a box all the other times change and I cannot isolate the times. How do I capture time without all the times updating all the other times?
    Bellpilot

    solved it myself

  • Capture current query for a report region

    Apologies if this is answered elsewhere, but I could not find it.
    I have a reporting application where several different reports that have a list of customers. I would like to develop a means to generate a mailing list for the customers that is generic and can be used on any report. I envision getting the list of customer by executing a query like:
    select person_id from
    ( <report region query> );
    Is there a way to get the current query (or query result) for a report region and process it in a PL/SQL procedure? This would need to work for regions that have an SQL query and a PL/SQL function returning a query.
    Thanks,
    Bill

    sorry for the double post, browser trouble...

  • Selective XML Index feature is not supported for the current database version , SQL Server Extended Events , Optimizing Reading from XML column datatype

    Team , Thanks for looking into this  ..
    As a last resort on  optimizing my stored procedure ( Below ) i wanted to create a Selective XML index  ( Normal XML indexes doesn't seem to be improving performance as needed ) but i keep getting this error within my stored proc . Selective XML
    Index feature is not supported for the current database version.. How ever
    EXECUTE sys.sp_db_selective_xml_index; return 1 , stating Selective XML Indexes are enabled on my current database .
    Is there ANY alternative way i can optimize below stored proc ?
    Thanks in advance for your response(s) !
    /****** Object: StoredProcedure [dbo].[MN_Process_DDLSchema_Changes] Script Date: 3/11/2015 3:10:42 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- EXEC [dbo].[MN_Process_DDLSchema_Changes]
    ALTER PROCEDURE [dbo].[MN_Process_DDLSchema_Changes]
    AS
    BEGIN
    SET NOCOUNT ON --Does'nt have impact ( May be this wont on SQL Server Extended events session's being created on Server(s) , DB's )
    SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
    select getdate() as getdate_0
    DECLARE @XML XML , @Prev_Insertion_time DATETIME
    -- Staging Previous Load time for filtering purpose ( Performance optimize while on insert )
    SET @Prev_Insertion_time = (SELECT MAX(EE_Time_Stamp) FROM dbo.MN_DDLSchema_Changes_log ) -- Perf Optimize
    -- PRINT '1'
    CREATE TABLE #Temp
    EventName VARCHAR(100),
    Time_Stamp_EE DATETIME,
    ObjectName VARCHAR(100),
    ObjectType VARCHAR(100),
    DbName VARCHAR(100),
    ddl_Phase VARCHAR(50),
    ClientAppName VARCHAR(2000),
    ClientHostName VARCHAR(100),
    server_instance_name VARCHAR(100),
    ServerPrincipalName VARCHAR(100),
    nt_username varchar(100),
    SqlText NVARCHAR(MAX)
    CREATE TABLE #XML_Hold
    ID INT NOT NULL IDENTITY(1,1) PRIMARY KEY , -- PK necessity for Indexing on XML Col
    BufferXml XML
    select getdate() as getdate_01
    INSERT INTO #XML_Hold (BufferXml)
    SELECT
    CAST(target_data AS XML) AS BufferXml -- Buffer Storage from SQL Extended Event(s) , Looks like there is a limitation with xml size ?? Need to re-search .
    FROM sys.dm_xe_session_targets xet
    INNER JOIN sys.dm_xe_sessions xes
    ON xes.address = xet.event_session_address
    WHERE xes.name = 'Capture DDL Schema Changes' --Ryelugu : 03/05/2015 Session being created withing SQL Server Extended Events
    --RETURN
    --SELECT * FROM #XML_Hold
    select getdate() as getdate_1
    -- 03/10/2015 RYelugu : Error while creating XML Index : Selective XML Index feature is not supported for the current database version
    CREATE SELECTIVE XML INDEX SXI_TimeStamp ON #XML_Hold(BufferXml)
    FOR
    PathTimeStamp ='/RingBufferTarget/event/timestamp' AS XQUERY 'node()'
    --RETURN
    --CREATE PRIMARY XML INDEX [IX_XML_Hold] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index
    --SELECT GETDATE() AS GETDATE_2
    -- RYelugu 03/10/2015 -Creating secondary XML index doesnt make significant improvement at Query Optimizer , Instead creation takes more time , Only primary should be good here
    --CREATE XML INDEX [IX_XML_Hold_values] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index , --There should exists a Primary for a secondary creation
    --USING XML INDEX [IX_XML_Hold]
    ---- FOR VALUE
    -- --FOR PROPERTY
    -- FOR PATH
    --SELECT GETDATE() AS GETDATE_3
    --PRINT '2'
    -- RETURN
    SELECT GETDATE() GETDATE_3
    INSERT INTO #Temp
    EventName ,
    Time_Stamp_EE ,
    ObjectName ,
    ObjectType,
    DbName ,
    ddl_Phase ,
    ClientAppName ,
    ClientHostName,
    server_instance_name,
    nt_username,
    ServerPrincipalName ,
    SqlText
    SELECT
    p.q.value('@name[1]','varchar(100)') AS eventname,
    p.q.value('@timestamp[1]','datetime') AS timestampvalue,
    p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') AS objectname,
    p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') AS ObjectType,
    p.q.value('(./action[@name="database_name"]/value)[1]','varchar(100)') AS databasename,
    p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') AS ddl_phase,
    p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') AS clientappname,
    p.q.value('(./action[@name="client_hostname"]/value)[1]','varchar(100)') AS clienthostname,
    p.q.value('(./action[@name="server_instance_name"]/value)[1]','varchar(100)') AS server_instance_name,
    p.q.value('(./action[@name="nt_username"]/value)[1]','varchar(100)') AS nt_username,
    p.q.value('(./action[@name="server_principal_name"]/value)[1]','varchar(100)') AS serverprincipalname,
    p.q.value('(./action[@name="sql_text"]/value)[1]','Nvarchar(max)') AS sqltext
    FROM #XML_Hold
    CROSS APPLY BufferXml.nodes('/RingBufferTarget/event')p(q)
    WHERE -- Ryelugu 03/05/2015 - Perf Optimize - Filtering the Buffered XML so as not to lookup at previoulsy loaded records into stage table
    p.q.value('@timestamp[1]','datetime') >= ISNULL(@Prev_Insertion_time ,p.q.value('@timestamp[1]','datetime'))
    AND p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') ='Commit' --Ryelugu 03/06/2015 - Every Event records a begin version and a commit version into Buffer ( XML ) we need the committed version
    AND p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
    AND p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
    AND p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') <> 'Replication Monitor' --Ryelugu : 03/09/2015 We do not want any records being caprutred by Replication Monitor ??
    SELECT GETDATE() GETDATE_4
    -- SELECT * FROM #TEMP
    -- SELECT COUNT(*) FROM #TEMP
    -- SELECT GETDATE()
    -- RETURN
    -- PRINT '3'
    --RETURN
    INSERT INTO [dbo].[MN_DDLSchema_Changes_log]
    [UserName]
    ,[DbName]
    ,[ObjectName]
    ,[client_app_name]
    ,[ClientHostName]
    ,[ServerName]
    ,[SQL_TEXT]
    ,[EE_Time_Stamp]
    ,[Event_Name]
    SELECT
    CASE WHEN T.nt_username IS NULL OR LEN(T.nt_username) = 0 THEN t.ServerPrincipalName
    ELSE T.nt_username
    END
    ,T.DbName
    ,T.objectname
    ,T.clientappname
    ,t.ClientHostName
    ,T.server_instance_name
    ,T.sqltext
    ,T.Time_Stamp_EE
    ,T.eventname
    FROM
    #TEMP T
    /** -- RYelugu 03/06/2015 - Filters are now being applied directly while retrieving records from BUFFER or on XML
    -- Ryelugu 03/15/2015 - More filters are likely to be added on further testing
    WHERE ddl_Phase ='Commit'
    AND ObjectType <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
    AND ObjectName NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
    AND T.Time_Stamp_EE >= @Prev_Insertion_time --Ryelugu 03/05/2015 - Performance Optimize
    AND NOT EXISTS ( SELECT 1 FROM [dbo].[MN_DDLSchema_Changes_log] MN
    WHERE MN.[ServerName] = T.server_instance_name -- Ryelugu Server Name needes to be added on to to xml ( Events in session )
    AND MN.[DbName] = T.DbName
    AND MN.[Event_Name] = T.EventName
    AND MN.[ObjectName]= T.ObjectName
    AND MN.[EE_Time_Stamp] = T.Time_Stamp_EE
    AND MN.[SQL_TEXT] =T.SqlText -- Ryelugu 03/05/2015 This is a comparision Metric as well , But needs to decide on
    -- Peformance Factor here , Will take advise from Lance if comparision on varchar(max) is a vital idea
    --SELECT GETDATE()
    --PRINT '4'
    --RETURN
    SELECT
    top 100
    [EE_Time_Stamp]
    ,[ServerName]
    ,[DbName]
    ,[Event_Name]
    ,[ObjectName]
    ,[UserName]
    ,[SQL_TEXT]
    ,[client_app_name]
    ,[Created_Date]
    ,[ClientHostName]
    FROM
    [dbo].[MN_DDLSchema_Changes_log]
    ORDER BY [EE_Time_Stamp] desc
    -- select getdate()
    -- ** DELETE EVENTS after logging into Physical table
    -- NEED TO Identify if this @XML can be updated into physical system table such that previously loaded events are left untoched
    -- SET @XML.modify('delete /event/class/.[@timestamp="2015-03-06T13:01:19.020Z"]')
    -- SELECT @XML
    SELECT GETDATE() GETDATE_5
    END
    GO
    Rajkumar Yelugu

    @@Version : ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Microsoft SQL Server 2012 - 11.0.5058.0 (X64)
        May 14 2014 18:34:29
        Copyright (c) Microsoft Corporation
        Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
    (1 row(s) affected)
    Compatibility level is set to 110 .
    One of the limitation states - XML columns with a depth of more than 128 nested nodes
    How do i verify this ? Thanks .
    Rajkumar Yelugu

  • Best Way to Capture Stored Procedure Calls through Extended Events?

    I am trying implement Real Simple Solution for Database Monitoring:
    If any of the RPC Calls takes more than 200 milliseconds or more than 10K Reads , I want to compile the list on daily basis and sent out an email to our team. We usually did that through RPC Completed event through Profiler.
    We want to Implement the same through Extended Events but SQL Text is not being captured because we are using SQL Server 2008 R2.
    Whats the best way with Extended Events to Capture:
    RPC Calls with Parameters and Values and Reads, Writes, CPU and Query HASH.
    What we currently have is :
    Has anyone done this using SQL Server 2008 R2 and  please let me know.
    IF EXISTS(SELECT * FROM sys.server_event_sessions WHERE name='LongRunningQueries')
    DROP EVENT SESSION [LongRunningQueries] ON SERVER;
    CREATE EVENT SESSION [LongRunningQueries]
    ON SERVER
    ADD EVENT sqlserver.module_end(
    ACTION (sqlserver.client_app_name, sqlserver.client_hostname, sqlserver.database_id, sqlserver.plan_handle, sqlserver.session_id, sqlserver.sql_text, sqlserver.tsql_stack, sqlserver.username)),
    ADD EVENT sqlserver.rpc_completed(
    ACTION (sqlserver.client_app_name, sqlserver.client_hostname, sqlserver.database_id, sqlserver.session_id, sqlserver.sql_text, sqlserver.username)),
    ADD EVENT sqlserver.sp_statement_completed(
    ACTION (sqlserver.client_app_name, sqlserver.session_id))
    ADD TARGET package0.asynchronous_file_target(
    SET filename='G:\LongRunningQueries.xet', metadatafile='G:\LongRunningQueries.xem')
    WITH (MAX_MEMORY = 4096KB, EVENT_RETENTION_MODE = ALLOW_MULTIPLE_EVENT_LOSS, MAX_DISPATCH_LATENCY = 300 SECONDS, MAX_EVENT_SIZE = 0KB, MEMORY_PARTITION_MODE = NONE, TRACK_CAUSALITY = ON, STARTUP_STATE = ON)
    ALTER EVENT SESSION [LongRunningQueries] ON SERVER STATE = START
    I90Runner

    Hello,
    Please read the following resource.
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/d6d51f6e-c01b-4880-abb2-4f0cfd1f4531/extended-event-trace-on-event-rpccompleted-not-capturing-sqltext-action-unable-to-retrieve-sql?forum=sqldatabaseengine
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to capture user name and date in the database

    How to capture the person name who edits the application and the date of edit in the database...
    Pallavi

    Hi
    There are substitution strings you can use for this purpose.
    1.APP_USER ------is the current user running the application
    2.SYSDATE --------represents the current date on the database server
    APP_USER Syntax
    Bind variable------ :APP_USER
    PL/SQL------- V('APP_USER')
    Substitution string---------- &APP_USER.
    SYSDATE_YYYYMMDD Syntax
    Bind variable------- :SYSDATE_YYYYMMDD
    Direct PL/SQL------- APEX_APPLICATION.G_SYSDATE (DATE DATATYPE)
    PL/SQL-------- V('SYSDATE_YYYYMMDD')
    Your application will be based on a table with primary key column. You create a 'before update trigger' on that table and add columns 'UPDATED_ON' and 'UPDATED_BY' to that table. Add the following to that trigger:
    :NEW.UPDATED_ON := SYSDATE;
    SELECT V('APP_USER') INTO :NEW.UPDATED_BY FROM DUAL;
    -Priyanka

  • Extending a hidden wireless network with airport extreme

    For some reason, I'm unable to get my second AEBS to extend the network of my primary AEBS.
    Network Topology:
    Internet =>
    AEBS #1:  Gen5 (tower) AEBS running v7.7.3 as my primary AP  =>
    => Linksys 8-port Hub  =>
    LAN Devices
    => AEBS #2:  Gen4 (flat) AEBS running v7.6.4 intended to extend the above network
    Current Settings:
    The AEBS #1 is configured as follows:
    Create a wireless network
    Do not broadcast the network name for either 2.4 GHz or 5GHz
    Timed Access set with all MAC addresses established in the table including both AEBS's and both their frequencies
    WPA2 Personal set
    Router Mode: DHCP & NAT
    The AEBS #2 is configured as follows:
    Extend a wireless network
    Do not broadcast the network name for either 2.4 GHz or 5GHz
    Timed Access set with all MAC addresses established in the table including both AEBS's and both their frequencies
    WPA2 Personal set
    Router Mode: Off (Bridge Mode)
    At this point, AEBS #2 cannot find the network I entered and suggests I select a network from the drop down.  Of course, when I click the drop down, there is no network listed because AEBS #1 isn't broadcasting its network name.
    So my question is this... will AEBS #2 actually extend the network of AEBS #1 under these circumstances or am I relegated to setting up AEBS #2 as creating another network with the same name, hidden but in bridge mode as above?  The reason I would like to extend the network and not have two networks under the same name is because I believe its affecting device connectivity and performance.
    Thanks...

    Try unhide the name of the network on AEBS 1
    Then, configure AEBS 2 to extend the network
    Then, go back and hide the network on AEBS 1, then AEBS 2
    The reason I would like to extend the network and not have two networks under the same name is because I believe its affecting device connectivity and performance.
    We assume that you are configuring the AEBS 2 to extend using wireless.  AEBS 2 must use the same wireless network name as AEBS 1 when it extends using a wireless connection. Not possible to use another wireless network name on AEBS 2 when it extends using wireless.
    If AEBS 2 connects using Ethernet, then you can set it up with a different wireless network name. In that case it will not be setup to "extend a wireless network".....the correct setting would be "create a wireless network".
    You must already know that there are a number of free utilities available on the Internet that will reveal a "hidden" network in seconds, and that anyone who wants to "see" your network can do so very easily. But, it's your call.

  • Personas has stopped working after Windows updates. Halp! How do I get personas to start working again?

    Personas was working just fine. A few days ago there was a Windows update (somewhere along the lines of 20 updates). Both our Vista laptop AND our 7 Desktop were updated and now personas doesn't work on either computer . . . with the exception of one user account on the desktop. <--- which is weird, huh?
    We are perplexed. When we mouse over a persona, the font color changes but the picture doesn't. When we wear a new persona again, ''only'' the font color changes but the picture doesn't. It seems to be 'stuck' on whatever our current persona is on the computer. I also tried uninstalling personas and rebooting and . . . the persona picture was still on the computer. More weirdness. I re-downloaded personas after this but the problem persists.
    I've searched and searched and can't find anything on this. My best guess is that it has something to do with one of the Windows updates as several of them were security updates ... but this is only a guess on my part.
    Any help would be greatly appreciated. Let me know what other information I can provide to try and resolve this problem.
    Oh, both machines are running the current versions of Java and Adobe flash. We are running on Firefox 3.6.17 on both laptop and desktop.

    Anyone else experiencing this problem? Anyone have any ideas/suggestions on what to look for to try and resolve this? Thx.

  • How can we import Fixed asset of the current year ?

    Hi ,
    in 1272578 note , SAP Support explain that's it's not possible to create fixed asset of the current year( example = acquisition date = 2009-02-01 )  using import , but they gave no workaround .
    does it mean that we have to manually create all assets of the current year ? or there is another way ( using DI-API for example ) ?
    Thanks

    Good day
    The fixed asset master data import functionality in SAP Business One is used to import assets of the previous year. If you are to force the importation of current year assets some of them might load but system will not be able to calculate planned depreciation for that year, which will give u problems when u try to run depreciation forcing u to post manual depreciation.
    With manual depreciation will not look good on the Fixed Asset Master since it sort of duplicate depreciation ONLY on the Master your report will be fine.
    Capturing Current year assets manually will be the safer road.
    Thanks
    Louis

  • Implementing BADI MD_ADD_COL_EZPS in extending MD04 transaction.

    Hello Experts,
    I have a query in regard to extending MD04 transaction.
    Currently MD04 is enhanced with 3 custom buttons (used buttons are: BUTTON1_EZ, BUTTON2_EZ and BUTTON3_EZ)  being displayed based on which a new column gets displyed in the table control.
    Now when I have to  add a new custom button, I try to use BUTTON1_PS in same implementation of BADI "MD_ADD_COL_EZPS" to display another column in table control.
    The problem here is that it isn't getting displayed on MD04 screen nor can I use it from path in Menu Bar:
    Settings --> User Exit Periods. Here it isn't showing in activated mode.
    Kindly provide your inputs.
    Regards,
    Ansh

    Any inputs would be of great help.
    Regards,
    Ansh

  • How to capture the entries based on filter values in oo alv..

    Hi all,
    I have a scenario in my oo alv report, when the user select the any column on report and selects the filter option. In that the user can enters required values. Based on filter values the output will be displayed. Now how can i capture currently displaying entries on report.
    Thanks,
    Ashok

    Hi Jozef,
    Is that GET_FILTERED_ENTRIES( ) reads the indexes or values from the entries..?
    Thanks,
    Ashok

  • Can I use a Bluetooth headphone/microphone for capture sound instead of normal iPhone mic when shooting video?

    Can I use a Bluetooth headphone/microphone for capture sound instead of normal iPhone mic when shooting video?
    The sound when I record video is not so good, so I'm trying to use the Bluetooth headphone/microphone to capture a person voice but not know which setting to use.

    Hi Robert
    Thanks for answering. I didn't know where to post other than the bluetooth forum which is relatively quiet and had no answers forthcoming.
    Yes the voice isn't reaching the amp although it is registering on the input bar in the Sound System Prefs, just won't "play through" as it were. I can't see how it could be done I was just hoping someone might see something I am missing.
    It seems a shame that you can't do it as iTunes on an old iBook makes a good juke box for DJ'ing and with everything becoming wireless these days it seems sensible that you could cut that one last wire.
    Mike

  • Partitioning a MyBook to use with fcp... can it be Mac Extended and FAT32?

    Hi, I'm a film student and a little while ago I just bought a MyBook 1T external hard drive (USB only).
    I'm looking into reformatting my hard drive because when capturing with fcp (straight to the hard drive) I keep getting an error at around 9 minutes.
    I did some research and found out that its because its formatted to FAT32 instead of Mac Extended.
    However, I do a lot of work with PC's and transferring files on my hard drive and I read that once formatted to Mac Extended my hard drive would not work on a PC.
    I was wondering if I partitioned my MyBook would I be able to make one part Mac Extended (for my capture scratch files) and one part FAT32 (that I could use like a regular hard drive for files between Mac and PC)?
    Also just to be clear once the hard drive is Mac Extended I can still keep other files besides capture scratch files in that portion of the hard drive, it's just I can't transfer those particular files to PC. (Some of the website forums I read made me more confused haha)
    Any help would be greatly appreciated,
    Kyle

    @ nick would that let me capture my footage to my hard drive without having to babysit
    NTFS does not have the file size limit silliness that FAT has so you should be OK in theory.
    Run a couple of test captures and see what you think.
    USB is generally not a good interface for video as it delivers data in bursts. You need a constant stream as provided by FireWire or SATA drives. If you are working with low bandwidth video codecs such as DV, you might get away with it for a while.

  • SRM Fixed Text Mapped to ERP Purchase Order for Extended Classic

    We are switching from Classic to Extended Classic.
    We currently have "Contract Riders" which are fixed text that the users can select and the header level on the ERP purchase order. 
    We need to add this functionality to the SRM purchase order.  Unfortunatly the fix text on the SRM purchase order is only 30 in length.  Can we map the fixed text codes from the SRM purchase order to the ERP purchase order so that the full text on the ERP side is selected?
    Or is there a way to allow more than 30 characters for the fixed text in the SRM purchase order?
    Regards,
    -Paul

    Answered.

Maybe you are looking for

  • Message Mappings - Object Toolbar is disabled (off)

    Hi everyone, I have installed the Process Integration 7.0, i am executing without problem. But when I create a new Message Mapping, i have one problem. In Message Mapping Editor, the "Object Toolbar" appears as disabled (off) The buttons "Map Selecte

  • I look up order number but nothing coming up!!

    I looked up the order number, checked out as a guest, {removed per forum guidelines}, email is {removed per forum guidelines}. I did not recieve confirmation nor do i know the status of this order number.

  • How to create simple online store

    Hello! If anyone could help me it would be greatly appreciated! I am looking at creating a very simple online store to sell some products on my site: www.hopeproject.co.za. Is there a very simple tutorial that can show me how to program it step by st

  • Problems with compression plugins in CS5.5

    Hey everyone, I'm having an issue using the compression plugins powered by iZotope in Audition 5.5.  The plugin seems to work but the GUI does not so I'm unable to change any of the settings.  I can hear the differences as a switch between the built

  • Shipped Qty

    hi, From delivery idoc, i get shipped quantity for some materials like matnr - a qty - 10      matnr - b qty - 3      matnr - a qty - 5 I need to cross check with PO quantity to enable GR like matnr - a qty - 10      matnr - b qty - 5      matnr - a