Understanding the TextLoc.offset property

I am working on a script that, among other things, converts autonumber strings in a structured document into regular text.
One thing that has been surprisingly unintuitive is setting up the TextLoc object that is passed to the AddText() function in order to get the new text to appear in the correct place in the document's structure.
Through trial and error I've determined that for some elements I need an .offset value of 1, and for others this same value results in the text appearing before the target element. For these other elements, an .offset of 2 results in correct placement. I tried calculating the offset based on the length of the autonumber sting, but this didn't produce good results (esp. for longer strings), I just turn off the autonumbering before inserting the text.
The value that works seems pretty consistent on a per-element type basis, so I'm able to get the script working by passing the appropriate value as an argument, but I'm wondering if anyone can explain the reason for this variation, and/or a consistent method for determining the correct value other than by trial and error. If there's a pattern, I'm not seeing it.
This is the function I'm currently using:
function hardCodeNum(thisDoc, tLoc, offSet) // Converts autonumber at a given text location into regular text
// thisDoc = app.ActiveDoc
// tLoc =  this TextLoc object is initially the beg object from a TextRange returned by a Find() function.
// offSet = either 1 or 2, as explained in post
     var autoNumber = tLoc.obj.PgfNumber;
     tLoc.offset = offSet;
     tLoc.obj.PgfIsAutoNum = false;
     thisDoc.AddText(tLoc, autoNumber);
    return; 

Oliver,
FrameMaker’s paragraph objects are very powerful structures, as they contains a lot of information apart from the obvious text content. Each format change (aka character formatting), each line break, each start (and/or end) of special objects like cross-references, markers etc. are stored there. In structured documents on top of all of this come element begin and element end as well as element prefix start/end or element suffix strat/end in case they are applied by the EDD formatting rules. Some of those items consume offset positions and some don’t. Element start/end items do consume each 1 offset position. Think of you document as shown with elements as brackets – each bracket is like a character and consumes one offset position; other wise you would not be able to position the cursor exactly between two element start items to add a new firct child element.
All tis power is hidden in the GetText{} method, which can be use on many objects, it is described in the framemaker_10_scripting.pdf on page 452 (paper) resp. 460 (PDF).
Because of the intricacies with autonumbering and or prefix/suffix rules your best bet to get the first location where you can add text is to look for the first text item of type FTI_String and use its offset.
HTH,
- Michael

Similar Messages

  • Daqmx write offset property

    Hi all,
    Been stuck at trying to figure out how to write/output at specific locations in an analog out buffer (seems like a simple task). I've set up a very simple test VI to play a sound file made up of consecutive 0.1s chunks of 500Hz and 5000Hz. The daqmx write offset option should be able to point to where the writing should take place so as to play just the 500Hz or 5000Hz tone.
    The ultimate aim is to be able to control two analog outputs. Since the two outputs cannot be controlled independently in Labview hardware, our main VI will produce a trigger that will specify the offset locations to write from. We'll have a stereo wave file such that if we want to produce a sound in one analog out channel, the other channel will just play zeros in the 2nd column of the wave file (play nothing). The offset pointer will allow us to do the reverse (sound in one channel, zeros in another) when the wavefile is played from another offset.
    Appreciate any help and comments on how exactly to place the daqmx write offset property. I'm using the PCIe 6251 board that should be able to set this offset property when task is running.
    Thanks.
    FA
    Attachments:
    test buffer for v2009.zip ‏39 KB

    Hi h_Baker,
    Happy Labor Day!
    Really appreciate the help, but I think it wasn’t clear what I was hoping to do. I’ll be more concrete now. I have a VI that samples the singing of two birds independently. It’s done very quickly with input buffer of 5ms. I would then give each bird a white noise jam depending on whether its pitch within the 5ms buffer was below or above a threshold. The VI works fine on 1 bird and my task is now to scale it up to monitor two birds in parallel within one VI.
    The issue I’m encountering is to output noise jam in one analog out channel for example for bird 1, while the other output channel for bird 2 does not do anything. But I understand that labview’s hardware cannot do this. The other channel for bird 2 cannot remain ‘silent’, but must instead play a waveform of zeros to create silence in the other channel, so that the other bird does not hear anything. Another issue is that the while loop to monitor the bird’s song and to produce a Boolean true for my counter is very quick (5ms), so my tasks to produce the white noise jam are placed outside the while loop (I tried placing the task inside; the VI runs but will just freeze and not do anything not even sample the inputs).
    I’ve been trying to solve this problem for weeks without much success, and would appreciate your help. I tried implementing your case selector idea for a task (“white noise jam”) with two analog output channels. The idea is that I have 3 different stereo sound files. One stereo file has all zeros (all silence) as default when no bird is to be jammed. The second file has column 1 with white noise and column 2 with zeros (silence). When bird 1 should get jammed, I will use this waveform so that AO0 will play the white noise, while AO1 plays zeros. The third file is reversed: has zeros (silence) in column 1 for AO0, and white noise in column 2 for AO1, and should be played when bird 2 should get jammed.
    I’m attaching the VI for any advice. The while loop has lots of stuff to monitor the song, but if you do a ctrl+f for COMMENT, I’ve placed comments where necessary to solve this output issue. The problem I am having is that the correct jamming on the correct channels depends on the initial value of variable “trigger”. If I set it to 1 when I start the VI, all jamming output from both bird’s singing will be to AO0, and if I set if to 2 when I stat the VI, all the outputs will instead be from AO1. I am not sure what’s going on. I suspect it’s due to the fact that my jamming task is outside the while loop and the initialization affects the output channel set?
    Thanks.
    FA
    Attachments:
    case selector.vi ‏123 KB

  • Trying to Understand the PostSyncCleanup parameter

    I've got a problem with running my application on the Australian version of Windows. We have a "test" application built around SQL Server Compact Merge Replication Library (thanks ErikEJ) and that works but our application doesn't.
    One of the main differences with our application code is that we do not set the PostSyncCleanup value to anything and the library sets it to 2 per this link:
    http blogs.msdn.com/b/sqlblog/archive/2009/04/15/sql-compact-performance-postsynccleanup-to-turn-off-updatestatistics-during-initial-download-of-sql-compact-replication.aspx (put the :// back to get the link)
     I'm trying to understand the impact of making that our "production" configuration since we haven't been using it.  The description looks harmless enough but I don't really understand what statistics I'm turning off and what the impact
    would be and what even the default setting is.  Anything that could enlighten me would be appreciated along with a guess as to why that might be causing a problem on the Australian version of Windows would be appreciated.

    So we've been running with the default value (0) and have not really had any "problems".  I haven't done any testing but I'm ok with faster, like everyone would be, but am also a bit risk averse so want to know what exactly I'm turning off.
    I also saw this advice from Rob Tiffany:
    Use the appropriate x64, x86 or ARM version of SQL Server Compact 3.5 SP2 to take advantage of the
    PostSyncCleanup property of the SqlCeReplication object that can reduce the time it takes to perform an initial synchronization. Set the
    PostSyncCleanup property equal to 3 where neither
    UpdateStats nor CleanByRetention are performed.
    Here: http  robtiffany.com/microsoft-sql-server-compact-3-5-sp2-has-arrived/
    So, is the best advice to use that parameter and set the value to 3 or 2
    I don't really know what I'm losing to "not performing" UpdateStats or CleanByRetention and does making that change need I need to do something else on the server or client to "clear out" or "clean up" something that this is
    doing.

  • UNDERSTAND THE NEW DATE AND TIME DATA TYPES IN ORACLE 9I

    제품 : SQL*PLUS
    작성날짜 : 2001-08-01
    UNDERSTAND THE NEW DATE AND TIME DATA TYPES IN ORACLE 9I
    ========================================================
    PURPOSE
    Oracle 9i 에서 소개되는 새로운 datetime data type 에 대해 소개한다.
    Explanation
    Example
    1. Datetime Datatypes
    1) TIMESTAMP
    : YEAR/MONTH/DAY/HOUR/MINUTE/SECOND
    2) TIMESTAMP WITH TIME ZONE
    : YEAR/MONTH/DAY/HOUR/MINUTE/SECOND/
    TIMEZONE_HOUR/TIMEZONE_MINUTE( +09:00 )
    or TIMEZONE_REGION( Asia/Seoul )
    3) TIMESTAMP WITH LOCAL TIME ZONE
    : YEAR/MONTH/DAY/HOUR/MINUTE/SECOND
    4) TIME WITH TIME ZONE
    : HOUR/MINUTE/SECOND/TIMEZONE_HOUR/TIMEZONE_MINUTE
    2. Datetime Fields
    1) YEAR/MONTH/DAY/HOUR/MINUTE
    2) SECOND(00 to 59.9(N) is precision) : Range 0 to 9, default is 6
    3) TIMEZONE_HOUR : -12 to 13
    4) TIMEZONE_MINUTE : 00 to 59
    5) TIMEZONE_REGION : Listed in v$timezone_names
    3. DATE 와 TIMESTAMP 와의 차이점
    SQL> select hiredate from emp;
    HIREDATE
    17-DEC-80
    20-FEB-81
    SQL> alter table employees modify hiredate timestamp;
    SQL> select hiredate from employees;
    HIREDATE
    17-DEC-80 12.00.00.000000 AM
    20-FEB-81 12.00.00.000000 AM
    단, 해당 Column 에 Data 가 있다면 DATE/TIMESTAMP -> TIMESTAMP WITH
    TIME ZONE 으로 Convert 할 수 없다.
    SQL> alter table employees modify hiredate timestamp with time zone;
    alter table employees modify hiredate timestamp with time zone
    ERROR at line 1:
    ORA-01439: column to be modified must be empty to change datatype
    4. TIMESTAMP WITH TIME ZONE Datatype
    TIMESTAMP '2001-05-24 10:00:00 +09:00'
    TIMESTAMP '2001-05-24 10:00:00 Asia/Seoul'
    TIMESTAMP '2001-05-24 10:00:00 KST'
    5. TIMESTAMP WITH LOCAL TIME ZONE Datatype
    SQL> create table date_tab (date_col TIMESTAMP WITH LOCAL TIME ZONE);
    SQL> insert into date_tab values ('15-NOV-00 09:34:28 AM');
    SQL> select * from date_tab;
    DATE_COL
    15-NOV-00 09.34.28.000000 AM
    SQL> alter session set TIME_ZONE = 'EUROPE/LONDON';
    SQL> select * from date_tab;
    DATE_COL
    15-NOV-00 12.34.28.000000 AM
    6. INTERVAL Datatypes
    1) INTERVAL YEAR(year_precision) TO MONTH
    : YEAR/MONTH
    : Year_precision default value is 2
    SQL> create table orders (warranty interval year to month);
    SQL> insert into orders values ('2-6');
    SQL> select warranty from orders;
    WARRANTY
    +02-06
    2) INTERVAL DAY (day_precision) TO SECOND (fractional_seconds_precision)
    : DAY/HOUR/MINUTE/SECOND
    : Logon time 확인시 주로 사용
    : day_precision range 0 to 9, default is 2
    SQL> create table orders (warranty interval day(2) to second);
    SQL> insert into orders values ('90 00:00:00');
    SQL> select warranty from orders;
    WARRANTY
    +90 00:00:00.000000
    7. Interval Fields
    - YEAR : Any positive or negative integer
    - MONTH : 00 to 11
    - DAY : Any positive or negative integer
    - HOUR : 00 to 23
    - MINUTE : 00 to 59
    - SECOND : 00 to 59.9(N) where 9(N) is precision
    8. Using Time Zones
    1) Database operation
    - Defined at CREATE DATABASE
    - Can be altered with ALTER DATABASE
    - Current value given by DBTIMEZONE
    2) Session operation
    - Defined with environment variable ORA_SDTZ
    - Can be altered with ALTER SESSION SET TIME_ZONE
    - Current value given by SESSIONTIMEZONE
    3) TIMESTAMP WITH LOCAL TIMEZONE
    - TIME_ZONE Session parameter
    : O/S Local Time Zone
    Alter session set time_zone = '-05:00';
    : An absolute offset
    Alter session set time_zone = dbtimezone;
    : Database time zone
    Alter session set time_zone = local;
    : A named region
    Alter session set time_zone = 'America/New_York';
    Reference Document
    ------------------

    Hi ,
    I am facing the same problem and my scenario is also same (BAPI's).
    So can you please tell me how you overcome this problem .
    Thanks,
    Rahul

  • Get the 'Subclass information' property

    Dear members,
    Is there a way to read the 'subclass information' property of a block ?
    Get_block_property doesn't have this feature.
    Many thanks,

    Well, I can understand that changing the subclass information at runtime might be quite tricky, but all I wanted was to read it, and that didn't seem so difficult !
    I just wanted to make the difference between a master block and a detail block...

  • Understanding the Router product line

    I'm in the process of doing a comparison between the newer 2800 (2811 to be exact) vs. a 3725. I am finding (or atleast it appears) that it is apples to oranges. I noticed that I can find things like "packets per second" for the 3725, but the 2800 series talks about lots of slots and abilities for things like VoIP. Can someone help me to understand the difference between what they are calling an Access Router (3725 etc) and a Multi-Service Router (2800 etc..)? I consult for a wireless ISP and which has currently a 45Mbps 802.11A backbone. Right now is is a switched backbone with 2611XM's doing InterVLAN routing. We are moving to a routed network and feel we need to upgrade the routers.
    Thanks

    Have you looked at the Cisco Product Quick Reference Guide (QRG)? The QRG is a good place to start for comparison of the various products and product lines. See http://www.cisco.com/warp/public/752/qrg/ for access.
    Generally the 2811 would be good for a T-1 or two on the WAN side and the 3725 can accommodate higher speed WAN interfaces along with higher density port cards.
    The 3725 will generally have more CPU horsepower but the AIM modules available on the 2800 series may offset that advantage depnding on what services you see your environment needing to use.
    The 3700 series is also more expandable via a wider selection of interface cards.
    Hope this helps - please rate the post if it does.

  • Where Is the MAINMENU Defined in the "Menu Module" Property of MAINFORM

    Hello Ya'll Gurus,
    I am trying to locate both the MainMenu.mmx and it's source MainMenu.mmb files that is being executed in the application run time, but so far with no luck. I am desperately in need of your help, and the pressure is on...
    I have found the following information in our environment and hopefully it will help in resolving my problem:
    The following is the command that runs our application:
    c:\orant\BIN\ifrun60.EXE C:\MMS\Production\mainform.fmx <userid>/<psswd>@mms
    The following are the images of the property palettes for the MainForm and MainMenu forms:
    Image for the mainform.fmb property palette:
    !http://dot.state.ak.us/nreg/jtomasic/MainForm_Property_Palette.GIF!
    Image for the mainmenu.mmb property palette:
    !http://dot.state.ak.us/nreg/jtomasic/MainMenu_Property_Palette.GIF!
    Please help me with the following questions:
    Q1: Since "C:\MMS\Production\mainform.fmx" is included in the command line that runs our application and the "Menu Module" property of the "mainform.fmb" form is "MAINMENU", does it mean the "MAINMENU.mmx" is being executed through mainform.fmx when the application starts running?
    Q2: If the answer to the above (Q1) question is yes, the 'MMS' defined in the Menu Filename is then not being used at all, correct? and where can I find the "MAINMENU" file specified in the "Menu Module" property of the "mainform.fmb" form?
    Q3: The attached Libraries for the MAINFORM include HMMSHELP, MAINLIBR and MENULIBR. Are these libraries loaded to the MAINFORM dynamically or statically? BTW, the MENULIBR.pll is also attached to MAINLIBR.pll and what does that mean?
    Q4: The 'Main Menu" property in the mainmenu.mmb form is defined as "MAIN_MENU" which ties the "MAINMENU" specified in the Menu Module property of the "mainform.fmb" form, correct?
    Thanks in advance for any/all the help on this.

    Q2: If the answer to the above (Q1) question is yes, the 'MMS' defined in the Menu Filename is then not being used at all, correct? and where can I find the "MAINMENU" file specified in the >"Menu Module" property of the "mainform.fmb" form?Looking at the onlinehelp, the property "Menu filename" may be used if the menu is stored in the database. As far as i know this is not possible since forms 6i (but i may be wrong here). If i'm right, the property is no longer important.
    About finding the MAINMENU. I don't know where you find it. If you get no error it seems that it is somewhere on your machine. I would look into the directory C:\MMS\Production first. If its not where, check the FORMS60_PATH-variable and search in the directories listed in that variable.
    Q1: Since "C:\MMS\Production\mainform.fmx" is included in the command line that runs our application and the "Menu Module" property of the "mainform.fmb" form is "MAINMENU", does it >mean the "MAINMENU.mmx" is being executed through mainform.fmx when the application starts running?If i'm right about Q2, the answer is Yes.
    Q3: The attached Libraries for the MAINFORM include HMMSHELP, MAINLIBR and MENULIBR. Are these libraries loaded to the MAINFORM dynamically or statically? BTW, the MENULIBR.pll is >also attached to MAINLIBR.pll and what does that mean?What do you mean with dynamically or statically?
    Q4: The 'Main Menu" property in the mainmenu.mmb form is defined as "MAIN_MENU" which ties the "MAINMENU" specified in the Menu Module property of the "mainform.fmb" form, >correct?I don't understand your question. Forms searches the menu-module which is specified in the property "Menu Module" and "starts showing" the menu which is defined as the "main menu"

  • Understanding the correct use of FromOrderComponets and ToOrderComponents

    Hi all
    Someone could help me understand the difference, and in what case I must use fromOrderComponets and in what case i must use toOrderComponents.
    In the Decomposition Rules.
    I've done multiple orchestrations to own cartridges, by multiple products, and I've never needed to use the expression toOrderComponents, because we've always used FromOrdercomponents.
    any explanation is helpful,
    Best Regards
    David A Leon H

    Hi Leon,
    In the Design Studio Help, please refer to "Working with Decomposition Rules" inorder to understand Decomposition Rules.
    Property Correlation is used while setting a dependency in the Product Specification. This is where FromOrderComponent & ToOrderComponent both are extensively used. For more information, please refer help section for the following.
    1)About Order Item Dependencies
    2)Orchestration Dependency Editor Order Item Dependencies Tab
    Thanks,
    Naveen Jabade

  • Could not understand the Explode option in "Copy/Merge Forecast" program

    Hi All,
    These are the part of period dates of the organization calendar.
    5/26/2011     6/27/2011
    6/27/2011     7/25/2011
    7/25/2011     8/22/2011
    We are trying to copy a forecast from another forecast from the same organization. The forecast consists only end items. We are trying to explode the forecast values from end item forecast to new forecast. I could not understand how the explosion of the forecast happens.
    Scenario 1:
    When the start date of the Copy/Merge forecast was entered as 26th July 2011. I see all the items of exploded forecast starting from 27 June 2011.
    Scenario 2:
    When the start date of the Copy/Merge forecast was entered as 30th June 2011. I see all the items of exploded forecast starting from 26 May 2011.
    I would like to understand on what basis the forecast explosion happens, does it considers any of the lead times such as manufacturing lead time, cumulative manufacturing lead time and offset the forecast backwards ?
    We are expecting the forecast date to appear post start date given during the submission of program, since the explode option is set as Yes, we are seeing past due forecast for exploded items, request your help here in understanding the forecast explosion during copy/merge forecast program.
    Thanks,
    Vignesh

    Hi Sandeep,
    The calendar dates are:
    1/24/2011     2/21/2011
    2/21/2011     3/28/2011
    3/28/2011     4/25/2011
    4/25/2011     5/26/2011
    5/26/2011     6/27/2011
    6/27/2011     7/25/2011
    7/25/2011     8/22/2011
    8/22/2011     9/26/2011
    9/26/2011     10/24/2011
    10/24/2011     11/21/2011
    11/21/2011     12/27/2011
    12/27/2011     1/23/2012
    Issue is when the start date is entered as 30th June 2011. When the forecast explosion happens, the exploded forecast date starts from 26th May 2011. Which becomes a past due forecast. We would like to understand why the exploded items goes to periods in the past. Some forecasts go back two periods. We are not able to find the pattern and it is not following the leadtime defined.
    I am not sure of the business reason for the forecast explosion to be done here instead in ASCP/MRP plan.
    Thanks,
    Vignesh

  • [svn:fx-trunk] 7891: Fixed bug in effects  that was fallout from renaming offsets property to postLayoutTransformOffsets .

    Revision: 7891
    Author:   [email protected]
    Date:     2009-06-16 13:38:37 -0700 (Tue, 16 Jun 2009)
    Log Message:
    Fixed bug in effects  that was fallout from renaming offsets property to postLayoutTransformOffsets.
    QE Notes: none
    Doc Notes: None
    Bugs: SDK-21839
    Reviewer: Evtim
    Tests: checkintests
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21839
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransfor mInstance.as

    Lots to be excited about. BUT...Just updated to 8.1 on one of my computers to test it out...
    Sadly, the following issue is NOT fixed for me. Is it with new projects only?  I haven't started a new project on 8.1 I've only opened an old project but the issue that I'm referring to which involves also a delay/freeze of anywhere from a few seconds to a MINUTE while the render bar goes from yellow to red and then back to yellow is still there. Boo.
    On the list above...
    Switching between sequences can turn the render bar red.
    This issue is incredibly easy to replicate. I really do hope it gets fixed. Here are the steps:
    1) Create two sequences with multiple short clips (the more clips the better)
    2) Make sure GPU acceleration is enabled.
    3) Add warp stabilizer to the clips in both sequences. Again, the more clips the longer the delay/freeze will be as the render bar goes from YELLOW to RED and then eventually back to YELLOW again.
    4) Hit SAVE.
    5) Now, toggle between sequences. You'll hit a short delay with a few clips stabilized and a LONG delay with lots stabilized. In my case this delay is around a full minute. The render bar will go from YELLOW to RED and then back to yellow...eventually.
    6) Toggle back to the original sequence and the delay occurs again.
    7) Once you've toggled between sequences and have gone through this delay, that's it, there is no longer a delay...UNTIL...(and here's the big kicker)...until the project is SAVED again. After that the issue returns when you toggle between sequences. Both saving manually and AUTOSAVING cause this issue. No way around it except not editing with GPU acceleration.
    Not sure what the issue is...caching issue when saving maybe? Either way, it stinks and it's still there in 8.1. Big bummer.
    Again, lots to be excited about with this release but I really was hopefully this specific issue was resolved.
    Sigh.

  • Quiestion on understanding the @ in powershell and needing confirmation

    I came across the following script:
    Get-ADUser -Filter * -SearchScope Subtree -SearchBase "ou=East,ou=SalesRegion,dc=Nutex,dc=com" | Set-AdUser -Replace @{title="Account Executive"}
    I did not really understand the why the @ is used I did some searches on it
    http://stackoverflow.com/questions/363884/what-does-the-symbol-do-in-powershell
    they spoke about this being used to denote arrays.   However, they said if a value is comma separated its seen as an array anyway.  They did go on to say this is required for
    Associative arrays.   I looked up associative arrays and got the following:
    Associative arrays. Thus, you can access each property by entering the name of the property as a string into this array. Such an arrayassociates
    each key with a value (in this case the key Home is associated with the value normal).
    This tells me I think that the script I was looking at after the pipe had an associative array as we entered the name of the property "title"  and then it was associated
    with the value "=Account Executive".
    So when I see something like that I am seeing what is called a associative array, and these are vehicles that can be used to change or work with properties?  Its an array because
    it can be dealing with multiple (or single depending on how many) objects.  In this case the object was the title property in AD.
    Thats kind of how I am seeing this but its complex ideas and I am trying to break it down to simple thinking in my head.
    Anyway before I commit this theory in my thinking I was just wanted some with more experience to let me know if I am on the correct path.

    Thanks Fred!
    that helps clear up things.  
    coming to this forum really helps me in my learning, and also my peace of mind.  It always feels
    good to be able to file something in your brain with enough data on it to feel comfortable.
    quick question by "separate lines" what do you mean I am probably over thinking this but
    when i think of separate line I think of hitting enter and having a new line but I don't think that's what you meant was it?    Or did you just mean when you use a semi colon that it created a new seperate line.  (lots of small info in your
    last post there that was helpful, I am a real newbie at powershell, I just tackle some advanced topics because its in some script or cmdlet I see in my studies and I get curious, and want answers lol)

  • Error Posting IDOC: need help in understanding the following error

    Hi ALL
    Can you please, help me understand the following error encountered while the message was trying to post a IDOC.
    where SAP_050 is the RFC destination created to post IDOCs
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>FM NLS_GET_LANGU_CP_TAB: Could not determine code page with SAP_050 Operation successfully executed FM NLS_GET_LANGU_CP_TAB</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error: FM NLS_GET_LANGU_CP_TAB: Could not determine code page with SAP_050 Operation successfully executed FM NLS_GET_LANGU_CP_TAB</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Your help is greatly appreciated.............Thank you!

    Hi Patrick,
      Check the authorizations assigned to the user which you used in the RFC destinations, If there is no enough authorizations then it is not possible to post the idocs.
    Also Refer this Note 747322
    Regards,
    Prakash

  • Understanding the way to connect a MDD to BlackMagic Decklink Extreme card

    Hi,
    I require some help in the following:
    I recently bought myself a Blackmagic DeckLink Extreme™ with 10bit SDI/analog video and audio capture card.
    Looking at the specs, http://www.blackmagic-design.com/products/sd/specs/, can someone give me directions as to the best setup I can do from the following sources and what other equipment I may require to achieve it.
    - mono stereo audio VHS -> has 1 video/audio in and 1 video/audio out (composite connections)
    - stereo audio video camera -> has 1 8 pin S-Video out port to composite connections (Hi8 tape type)
    - DVD player -> has composite 2 x 2ch stereo audio out, 1 x 5.1ch stereo audio out, 2 x video out, 1x component video out, 2 x S-video out, 2 x digital audio out; 1 x RCA/OPT
    - 2 x 23" monitors connected by ADC and DVI connections to a Apple MDD G4, may relay to 60" Plasma for video monitoring from video card prior to creating DVD final piece for playback.
    Basically, I wanted to have multiple source inputs and outputs, but I'm having difficulty in understanding the setup. Please refer to http://www.blackmagic-design.com/downloads/connections/decklinkdiagram.pdf page 5/6.
    I purchased the following from JayCar
    - 6 x PA3655 ADPT PLG RCA:
    https://secure4.vivid-design.com.au/jaycar2005/productView.asp?ID=PA3655&CATID=& keywords=PA3655&SPECIAL=&form=KEYWORD&ProdCodeOnly=&Keyword1=&Keyword2=&pageNumb er=&priceMin=&priceMax=&SUBCATID=
    - 1 x AC1668 SWITCH AV 3WAY:
    https://secure4.vivid-design.com.au/jaycar2005/productView.asp?ID=AC1668&CATID=& keywords=AC1668&SPECIAL=&form=KEYWORD&ProdCodeOnly=&Keyword1=&Keyword2=&pageNumb er=&priceMin=&priceMax=&SUBCATID=
    What other devices do I need to set up the equipment in the following way:
    <pre>
    Computer ------- Video In + Stereo In -----------> 3WAY SWITCH BOARD
    | | ^ ^ ^
    | | | | |
    Bigpond |---- OUT ---> TV --------|-----|-----|
    (Satellite Internet) | | | |
    FOXTEL DVD VCR V/CAM
    (Satellite TV)
    </pre>
    Currently I have not succeeded.
    I have just done a simple test like so:
    <pre>
    Computer ------- Video In + Stereo In ---------> DVD (*)
    |
    Bigpond
    </pre>
    (*) Tested using the following:
    <pre>
    From Decklink -- Y IN (from deck) --> DVD Y port
    -- B-Y IN (from deck) --> DVD Pb port
    -- R-Y IN (from deck) --> DVD Pr port
    -- SDI IN (from deck) ---> DVD Digital audio out
    ASWELL AS
    From Decklink -- Y OUT (from deck) --> DVD Y port
    -- B-Y OUT (from deck) --> DVD Pb port
    -- R-Y OUT (from deck) --> DVD Pr port
    -- SDI OUT (from deck) ---> DVD Digital audio out
    </pre>
    Not one has seemed to work. What am I missing here?
    Thanks
    Tiberius
    PPC MDD Dual Boot/Dual 1.25GHz   Mac OS 9.2.x   2 x 23" Apple HD Display, 2GB RAM, 2x150GB + 1x1TB HD

    pomme4moi wrote:
    I want to buy a hard disk (not a NAS device) and plug it into my Airport Extreme in order to share data between two Mac computers, and to stream iTunes content to my Apple TV.
    One option is to purchase a hard drive (say, a 2TB Hitachi G-Technology drive) and connect it to the USB port on the back of the Apple Extreme. The other option is to purchase a drive with an ethernet connection (say, a 2TB Lacie drive) and connect it to an ethernet port on the Apple Extreme.
    In the second case what you'd have actually is a NAS. Apple's AirPort routers aren't known for fast file sharing. The NAS option might be faster.
    Is either option better for streaming movies from the hard drive to my Apple TV?
    I could be wrong, but an AppleTV may not be able to access content directly from a network drive. It may require that a Mac serve as an intermediary.

  • Not Understanding the filter in Explain Plan - filter(NULL IS NOT NULL)

    Hi All,
    Request your help in understanding the below scenario. (I am not aware of teh application and table details. Just trying to help my friend)
    SQL> conn
    Enter user-name: [email protected]
    Enter password:
    Connected.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for Linux: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    --Checking the count in PO_LINES
    SQL> select count(*) from po_lines;
      COUNT(*)
             0
    --PO_LINES is a synonym
    SQL> select object_type,owner from dba_objects where object_name = 'PO_LINES';
    OBJECT_TYPE         OWNER
    SYNONYM             APPS
    --The synonym is pointing to PO.PO_LINES_ALL
    SQL> select * from user_synonyms where synonym_name = 'PO_LINES';
    SYNONYM_NAME                   TABLE_OWNER                    TABLE_NAME                     DB_LINK
    PO_LINES                       PO                             PO_LINES_ALL
    --But when counting PO.PO_LINES_ALL I am getting different result
    SQL> select count(*) c from po.po_lines_all;
             C
          8828
    --Explain plan of teh original query is
    SQL> explain plan for
      2  select
      3  * from po_lines;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    | Id  | Operation          | Name         | Rows  | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT   |              |     1 |   252 |     0   (0)|
    |*  1 |  FILTER            |              |       |       |            |
    |   2 |   TABLE ACCESS FULL| PO_LINES_ALL |  8796 |  2164K|   106   (4)|
    Predicate Information (identified by operation id):
       1 - filter(NULL IS NOT NULL)
    --Now the object PO.PO_LINES_ALL is TABLE, not an mview.
    SQL> select object_type,owner from dba_objects where object_name = 'PO_LINES_ALL';
    OBJECT_TYPE         OWNER
    TABLE               POSeek your help in understanding what is happening here.
    Thanks in Advance,
    jeneesh

    Next time, prefix with APPS. when you show us the explain plan:
    SQL> explain plan for
      2  select
      3  * from apps.po_lines;  -- added the prefix of owner.Just like you prefixed with PO. when you showed us the query on PO_LINES_ALL. It ensures that you are using the synonym which you showed us.
    Btw. PO_LINES_ALL, could still be a VIEW given your overview of the situation.
    Anyway a filter "NULL IS NOT NULL" is indicative that the optimizer performed something called semantic query optimization (SQO).
    SQO is the process of deducing new predicates based upon a) existing predicates in your query (which there is none), b) added predicates to your query (eg. by a VPD policy function), and c) declared constraints on the tables invovled in your query.
    A typical example of when a "NOT is NOT NULL" predicate will show up is when for instance in the EMP table there is a declared constraint on EMPNO like this:
    check(EMPNO > 0)And your query would hold a predicate that is inconsistent with the constraint, for instance like this:
    select *
    from EMP
    where EMPNO <= 0Oracle will deduce that EMPNO cannot be both greater than zero (constraint) as well as smaller than or equal to zero (your query predicate), and will transform the query into:
    select *
    from EMP
    where EMPNO <= 0
      and NULL is NOT NULLThus preventing accessing the EMP table all together, and immediately returning this query with no data found.
    Edited by: Toon Koppelaars on Mar 15, 2010 7:17 AM

  • Can you help me understand the use of the word POSITION in TR and CFM?

    Hi,
    I am trying to have a view of typical BI reports in TR and TM/CFM so through my research I came to the following link:.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/62/08193c38f98e1ce10000000a11405a/frameset.htm
    My problem on this link and other postings on this site seem to be the same. Can you help me understand the use of the word POSITIONS in these context:
    1. Our client has asked for financial transaction reports in BW, such as position of Borrowings, Investments and Hedge Operations (TM data).
    2. I have a requirement on, some reports related to Money Market (Fixed Term Deposits, Deposits at Notice) something on FSCM-Treasury and Risk Manager. These reports will be similar to that of Loans, i.e. Position statement, flow statement, etc.
    3. The set of position values for a single position or a limited amount of positions can be reported by transactions TPM12 and TPM13 in R3.
    4. 0CFM_C10 (Financial Positions Cube)
    Do you have some simple report outputs to help clarify how the word POSITION is used in such environments?
    Thanks
    Edited by: AmandaBaah on Feb 15, 2010 4:39 PM

    If I future buy 10 shares in company at £1 per share - at the end of the day my potential value is £10
    The next day the shares drop tp £0.9 per share - I have a negative position - my shares are only worth £9
    I haven;t bought them yet - but I have a negative position - ie if things stayed as they are - I am going to realise (ie end up with)  a loss
    Now you can use this for loans and foreign exchange banks as well...

Maybe you are looking for

  • Recover data from CD RW

    Just yesterday I upgraded my OS to tiger 10.4.8 from 10.2.8 I did the erase and install option so as to remove OS9 from my hard drive since I have no OS9 software. Prior to the upgrade I saved all my important files to CD RW. (this took 3 CDs, so the

  • Correct way to process expediting fee on PO?

    Hi, We have users that want to add an expediting fee from a vendor as a separate line on a purchase order, but then we can not perform goods receipt because there is no material associated with the line. Can anyone help with correct process for this?

  • Stable, Free VPN service that works on iphone 4?

    I have tried Itshidden.com and hotspotshield and neither of those seem to work.  "Can't find server"  or something to that effect?  Anyone have any luck with these or can recommend a VPN service which actually works.  Thx

  • Applying widescreen matte to still photos in motion

    I shot some footage for a documentary using my Canon XL2, 16:9 format. I'm adding some still photos using motion. Is it possible to apply the Widescreen matte effect so the photos match the widescreen look of my footage? I can't figure out how.

  • Setting Custom HTTP headers

    Hi, is there a way to set custom http headers at server or webapplication level on weblogic 60, instead of programmatically setting them on each page? If so how. Thanks.