FDM Import: create 4 fields from single chartfield in source file

Hi Experts ,
In my requirement, i have single member in Source file which i have to split into 4 filds (Target dimension)
ex "1234 44 55555 456" , this string should be "1234" "44" "55555" "456" to represent 4 dimension members in Essbase.
I tried puttig following FDM code in a import script through import format for one of the target field but after i import that column is showing "required field missing" error. Any suggestion please ?
'Declare local variables
Dim lngStartPositionMid
Dim lngCharCountMid
Dim strValueMid
'Get Mid N Characters
lngStartPositionMid = 9
lngCharCountMid = 5
'Get the string
strValueMid = Mid(strField, lngStartPositionMid, lngCharCountMid)
End Function
Thanks

This is done.
I am new to FDM and VB so realised it later that actually , Script name is the VB Functiona name and thats where Value should be returned.
If my scrip tname is Entity
Entity = Mid( strField,9,5)
Thanks
Vivek

Similar Messages

  • Downloading fields from a View to a file

    Hi,
       I want to download certain fields from a View to a file.
    Is there an example on SDN which shows how this can be done or is there any way to do this?
    Thanks & Regards,
    Yogeshwari Agashe.

    Hi Yogeshwari,
        Yes you can definitely do it. If I understand your problem properly, You want to save some of the entries made in an inputfield to a file?? Am I right?
    If yes, then you would have bound the input field to a context value attribute. You can read the value in the context value attribute and then using the java io APIs you can write it to the file..
    Regards,
    Vishnu Prasad Hegde

  • Create Business Partner from XMl String not a file

    Hi,
    Is it possible to create a BP from an XML string. 
    I know about GetBusinessPartnerFromXml(string FileName, int index)
    but I dont want to save the string in a file before creating a BP from it
    Hope there's a method to do that

    Marc,
    This looks like it is a duplicate of this post, so I am closing this thread as it looks like you answered your own question!
    Create Business Partner from XMl String not a file
    Eddy

  • How to extract data from legacy system to source file

    Hi can anyone tell me the procedute to copy data from legacy system to source files....this data needs to be moved to base tables
    can any one tell me the procedure and any sample code i,e any example
    Thanks & Regards
    Krish

    You should post your thread to ...:
    http://forums.oracle.com/forums/forum.jspa?forumID=183
    providing all necessary info......!!!!
    Greetings...
    Sim

  • How to empty XE database and re-create tables/fields from scratch?

    Hi,
    I've installed XE database to port my VB6/Access application to it, and I know that XE is limited to one single database, so far so good. But I want to erase everything from inside this default database to create my own tables/fields from scratch. How can I do that?
    I just want to have one single database file with some tables/fields inside it, and nothing else. The rest will be done through VB straight.
    And what is the name of the default XE database file? Where is it stored? If I make a backup of this file, can I restore it after a crash in the future by overwriting the corrupted file? Is that this simple as Access is?
    Sorry about those many questions and thanks for reading!
    Roger.

    If you want to erase everything, one solution is to uninstall Oracle XE and just to reinstall it.
    Under Windows to avoid any issue, see http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#CIHDDHJD.
    If your application is owned by a single Oracle user account, you can also run (where <schema> is the Oracle user account name):
    drop user <schema> cascade;To reinstall your application you would need to recreate the user account <schema> with the right privileges (CREATE USER ... and GRANT ...).

  • How to create af:tree from single database Table

    Hi,
    i want to create tree Like this: and also we can add node anywhere.
    Parent01
    ----|parent01-child01
    --------|parent01-child01-child01
    --------|parent01-child01-child02
    -------------|parent01-child01-child02-child01
    Parent02
    ----|parent02-child01
    ----|parent02-child02
    --------|parent02-child02-child01
    and for this i have created Table like this :
    Table name Treetable
    NODEID     NUMBER(38,0) --> Primary Key
    NODENAME     VARCHAR2(50 BYTE) --> This is the name will display as a node
    DESCRIPTION     VARCHAR2(255 BYTE)     
    ROOTIND     CHAR(1 BYTE) --> to decide root node
    SEQUENCENO     NUMBER(38,0)     --> order to display node
    PARENTKEY     NUMBER(38,0) -->FK (refering to NODEID(PK) of this table)
    But when i am creating tree, its showing root node for each row in the table. but my requirement is: The Row marked as ROOTIND='Y' , show that row only as Root (Example in above tree:Parent01 & Parent02 )
    any help highly appreciated :)
    Thanks
    Pratap Rudra
    Edited by: 995114 on Apr 30, 2013 2:50 PM

    Hi,
    check this http://www.oracle.com/technetwork/developer-tools/adf/learnmore/32-tree-table-from-single-vo-169174.pdf
    Frank

  • Create Height field from 3D point cloud

    Hello,
    There is a VI called: Create Height Field.vi to craete surface to 3D picture control.
    "Converts a 2D array of values to a 3D height field and applies the height field to a 3D object that appears in a 3D scene."
    This should be perfect for me ( this function interpolates the whole surface) but, I have 3D  [x,y,z] point cloud, where the coordinates are not equally spaced. As I understad this VI can display point cloud with equidistant coordinates. How can I use this tool to display my data?
    I have tried the Create Mesh.vi to display my point cloud, but I really need the interpolated surface also. Could you give me some guide points where and how to do now?
    Thanks in advance,
    +++ In God we believe, in Trance we Trust +++
    [Hungary]
    Solved!
    Go to Solution.

    Hi D60!
    Sorry for the late reply.
    Is your problem still unsolved?
    If yes, I searched for some examples that use the Create Height Field VI.
    I only found one example code on Community: https://decibel.ni.com/content/docs/DOC-4765
    If your data points are not sampled on the same rate, you could use interpolation, to reach the same length.
    I guess the easiest way is to use the Mathscript node for this, like in this eaxmple: http://zone.ni.com/reference/en-XX/help/371361F-01/lvtextmath/msfunc_interpolate/
    Or this VI could be used for the same purpose: http://zone.ni.com/reference/en-XX/help/371361J-01/gmath/interpolate_2d/
    Please let me know, if my suggestions helped. If you have any questions, please don't hesitate to post them.
    Best Regards,
    Balazs Nagy

  • How to create a blu-ray disc with multiple source files

    Hello,
    How is it possible to create a blu-ray disc, AVCHD recordable DVD with multiple source files from Final Cut Pro 10. Is it possible to create a menu with several chapters corresponding to the sequences (source files)?
    Thank you in advance for your support.

    Assume you're talking about using the Create Blu-Ray batch template. It's not possible to do with multiple source filles. But if I understand your objectives, you could pretty much get what you think want – discrete movie segments on a single disk with navigation.
    The way I'd approach it is by making multiple projects in FCP and then copying the finished versions into a new project, separated by gaps. (You could also use compound clips but I'm not a fan except for very short sequences, which is why I'm suggesting the copy route.) Then export and bring into Compressor.
    In Compressor mark your chapters at the gaps between your individual sequences. Then choose the AVCHD option in job actions.
    Bear in mind that you'll have to keep the recording time under roughly 30-35 minutes @a5 Mbts/sec
    Good luck.
    Russ

  • Calling javascript from swf (which is source file of frame) - problems with OPERA

    hey,
    right now i have the swf-file as the source file for a frame,
    because i want the swf-width depend on the browser-size.
    it looks kinda like this:
    <frameset cols="10,*,10">
    <frame src="border.htm" name="leftFrame">
    <frame src="file.swf" name="mainFrame">
    <frame src="border.htm" name="rightFrame">
    </frameset>
    from the swf i call a javascript-code that is located in the
    'border.htm'
    file.
    the javascript simply opens a popup window.
    function open_popup() {
    MM_openBrWindow('popup.htm','pop','toolbar=no,location=no,status=no,menubar=no,scrollbars =no,resizable=no,width=400,height=500');}everything
    works fine ine firefox, ie, netscape (at least in another tab),but
    when it comes to the opera browser (and apparently also safari)i
    don't get any reaction at all ...i told opera to allow
    popup-windows, so that shouldnt be the reason.now i am thinking
    maybe some browsers have a problem with callingjavascripts from
    within swfs that are not located in that specifichtml-file?maybe
    some of you encountered the same problem ...would be grateful for
    any advices ...thanx,eva

    hey,
    right now i have the swf-file as the source file for a frame,
    because i want the swf-width depend on the browser-size.
    it looks kinda like this:
    <frameset cols="10,*,10">
    <frame src="border.htm" name="leftFrame">
    <frame src="file.swf" name="mainFrame">
    <frame src="border.htm" name="rightFrame">
    </frameset>
    from the swf i call a javascript-code that is located in the
    'border.htm'
    file.
    the javascript simply opens a popup window.
    function open_popup() {
    MM_openBrWindow('popup.htm','pop','toolbar=no,location=no,status=no,menubar=no,scrollbars =no,resizable=no,width=400,height=500');}everything
    works fine ine firefox, ie, netscape (at least in another tab),but
    when it comes to the opera browser (and apparently also safari)i
    don't get any reaction at all ...i told opera to allow
    popup-windows, so that shouldnt be the reason.now i am thinking
    maybe some browsers have a problem with callingjavascripts from
    within swfs that are not located in that specifichtml-file?maybe
    some of you encountered the same problem ...would be grateful for
    any advices ...thanx,eva

  • Multiple report fields from single physical column.

    Hi Experts,
    I have a physical table like below. Multiple records for a single customer id. The no of Address_type may increase in future.
    Customer_id     Address_Type         Address
    101                  Primary                   abcdefgh
    101                  Secondary               234oij3mb4
    101                  Billing                      mdmnweoij4
    102................etc.
    My Requirement on OBIEE is to display report as below.
    Customer_ID, Primary_Address, Secondary_Address, Billing_Address.
    101                 abcdefgh            234oij3mb4               mdmnweoij4
    Multiple report fields ( Primary_Address, Secondary_Address, Billing_Address ) are derived from same physical column ADDRESS.
    I tried to duplicate the Address column on the report thrice and added conditions like Address_Type = Primary/Secondary/Billing for those three fields respectively.
    But only of the field is getting correct data and rest of duplicate columns are null.
    Tried FILTER function on OBI Answers, but the function fails saying it should be used only on measures.
    Thought the alternative would be to define multiple logical columns at BMM layer. Created multiple alias for same table at physical layer and correspondingly created LTS for each on a single logical table. Defined Fragmentation/Where conditions.
    LTS1 - Address_Type = PRIMARY
    LTS2 - Address_Type - SECONDARY
    LTS3 - Address_Type - BILLING
    Created multiple logical columns from each LTS like Primary_Address, Secondary_Address, Billing_Address from LTS1, LTS2, LTS3 respectively.
    This time, am getting data for all the fields on the report but getting cartesian result.
    Can someone guide me whether my approach is correct or any other alternate best approach to achieve the desired result.
    Note: I have the data Address on multiple physical rows for a customer, rather Not in a single row. which is causing me problem.
    Thanks...
    Ramchand.

    Hi Srini VEERAVALLI,
    I have lot many other fields in the same report coming from other tables.
    Does the Pivot table option for above mentioned Address fields affect other columns?
    If Yes, Can there be any other alternative? Am thinking of Opaque View at Physical layer to bring all Addresses on a single row.
    Thanks...
    Ramchand.

  • I need to Import Descriptive Flex Field from EBS to OBIA

    Hi
    we implemented OBIA 7.9.6.3 as Procurement and Spend Analytics
    there is some Descriptive Flex Fields i want to import
    for example :
         we have DFF on PO_HEADERS carries some information on the POs i need to import it into OBIA Datawarehouse and RPD
    So , anyone have an idea to help me in this ?
    Thanks
    Ahmed

    Ahmed,
    if you dont want to edit any mapping, then you can populate the data into some un-used column in the ETL and change the name of the column in RPD.
    Though this is not a good approach, but you can try this.
    Mark if helpful.

  • How can I import Related name fields from contacts?

    I am using the drag and drop function to get contacts into a table in Numbers. However, it does not seem to work for related names (no headers for those appear). Anyone experiencing the same?

    Hi aarild,
    The other columns are there, but hidden.
    In this screen shot, column labels jump from J to S (also jump from C to J). Click in the table to get Column labels to show.
    Unhide all Columns.
    Regards,
    Ian.

  • Importing / Creating an attachment from SWIA

    Experts,
         I need to attach a document to an existing workflow that is at a waiting for event step.  in SWIA  technical workitem display there is a
    menu item that has "Workitem->Attachments->Create" but it is grayed out. Any Idea on how I can attach a document to an existing workflow via swia?

    Hi Jim,
    Hmm, I suppose there is some way of loading the attachment into a SOFM object but I don't know it.
    If it was a Decision step you could forward it to yourself (temporarily) and add an attachment. Is there a Decision step further downstream in that workflow?
    regards
    Rick

  • Create one pdf from excel, word, and pdf files

    I'm trying to create a single document to distribute (digitally and printable) for a meeting.
    And I'm an Acrobat Pro beginner. :-(
    The files to be included are in pdf, MS Word and MS Excel.
    What is the best way to do this?
    I don't know if I use Portfolio which I tried but then each file apparently needs to be Extracted to be viewed. Not what I want. I want series of files separated by a heading.
    Maybe I need to convert all files first to pdf and then combine in one pdf file but maybe there is a simpler way.
    Appreciate any tips from the experts.
    Thank you.

    I'm trying to create a single document to distribute (digitally and printable) for a meeting.
    And I'm an Acrobat Pro beginner. :-(
    The files to be included are in pdf, MS Word and MS Excel.
    What is the best way to do this?
    I don't know if I use Portfolio which I tried but then each file apparently needs to be Extracted to be viewed. Not what I want. I want series of files separated by a heading.
    Maybe I need to convert all files first to pdf and then combine in one pdf file but maybe there is a simpler way.
    Appreciate any tips from the experts.
    Thank you.

  • Creating Master Data from a transactional text source

    hi experts, my internal bw expert is still out and I need help again.
    We have a table in bw whose values we are going to push into a DSO so that we can create some reporting on it.  However, some of the characteristics on this table exist only as text (for example, end_user).  In order to make the reporting meaningful I need to
    1) Put the unique values into an infoobject.
    2) Create a routine that when I load the transactional values from the table to perform an abap lookup on the master data to find the right "key" value.
    Can anyone point me to a guide that can help me out with these tasks?

    I will first note that best practices are to not put descriptions into DSO's.   That said, this is how you can do it.
    Things to change... you'll want to go against the Text table instead of the attribute table which can be found on the Master Data tab of the InfoObject.  Obviously change the name of the fields and variables....
    GLOBAL Section of Start Routine / Transformation
        TYPES : BEGIN OF typ_compcode,
                      comp_code TYPE /bi0/pcomp_code-comp_code,
                      country   TYPE /bi0/pcomp_code-country,
               END OF typ_compcode.
        DATA :
               lt_compcode  TYPE HASHED TABLE OF typ_compcode WITH UNIQUE KEY comp_code,
               lwa_compcode TYPE typ_compcode.
    START ROUTINE
          SELECT  COMP_CODE
              COUNTRY
          FROM /BI0/PCOMP_CODE INTO TABLE lt_compcode
         FOR ALL ENTRIES IN SOURCE_PACKAGE
          WHERE COMP_CODE      = SOURCE_PACKAGE-COMP_CODE
    AND language = 'EN' if language dependant and  date if time dependant.
    Transformation Rule
    READ TABLE LT_COMPCODE INTO LWA_COMPCODE
                  WITH TABLE KEY COMP_CODE = SOURCE_FIELD-COMP_CODE.
    RESULT = LWA_COMPCODE-country.

Maybe you are looking for

  • Report of cancelled Delivery Document, Billing Document & Shipment Document

    Hi, How can I get list of cancelled Delivery Document, Billing Document & Shipment Document. Regards, VK

  • HP Officejet Pro X476dw ink cartridge failure

    I have a new HP Officejet Pro X476dw . It gives me Ink Failure for the four cartridges when I shut it down and turn it on the next day it starts to print but after a while it gives the same message . and so on I check the cartridge when it is working

  • HPE 170f very slow

    HP Pavillion HPE 170f running Windows 7 (home premium) rebooted last night after a windows update. Now it crawls along at a snail's pace. I am trying to restore the last backup, but it is taking foreever. Any know issues with the latest Windows updat

  • How to remove the Payment Draft

    Hi, Would I know how to remove the Incoming/outgoing payment draft by DI commands? i try to use oInPay.remove but it doest work. Thanks! Edited by: Bowie Ho on May 27, 2010 4:52 AM

  • Can't redirect to the servlet when with submit botton?

    What have I put in the form action="?" field? I puted the name of the servlet like in the web.xml file so action"/servlet1", but when I lick on the button nothing happend. Is there an error of the name of the servlet in the "action" field? This is my