Adding additional Records in TransformationRoutine.

Hi,
I'm trying to add additional record to the RESULT_PACKAGE in "End Routine" based on some conditions and trying to add it to the infocube.
I'm doing this by assigning some values to the work_area and appending it to the RESULT_PACKAGE. But at the time of running the "Data Transfer Process" i'm getting error. (Message: Error while writing it to the fact table). If I don't append any records then it is working fine. But I have a requirement to do that. How can I achieve that? Can anybody help me please?
Best Regards,
Anbu.

HI,
You will find a HowTo guide here : https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e73bfc19-0e01-0010-23bc-ef0ad53f2fab
Hope that helps.
Dieu

Similar Messages

  • Isuue in adding additional records to hashed table

    Hi,
    I want to add records to a hashed table.
    my code is:
    data: ipn_pc_zoba type hashed table of tpn_pc_zoba with unique key vbeln,
    wpn_pc_zoba like line of ipn_pc_zoba.
    loop at izoba into wzoba.
    clear wpn_pc_zoba .
    read table ipn_pc_zoba into wpn_pc_zoba with key vbeln = wzoba-LS_KDAUF.
    if sy-subrc ne 0.
    wpn_pc_zoba-vbeln = wzoba-LS_KDAUF.
    append wpn_pc_zoba to ipn_pc_zoba.
    endif.
    endloop.
    The Error is : You cannot use explicit or implicit index operations on tables with types "HASHED TABLE" or "ANY TABLE". "IPN_PC_ZOBA" has the type "HASHED TABLE". It is possible that .
    How to solve this?
    Please reply ASAP.
    Regards,
    SRI

    Hi,
    use
    insert wpn_pc_zoba into table ipn_pc_zoba.
    to insert the new record into the hashed table.
    Regards,
    Thomas Langen

  • Hi Guys,  I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out

    Hi Guys,
    I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out as this web-site has been payed for by my client.
    Alex

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • How to create a batch by adding a record to any Z Table

    Hi Experts,
    I am doing online billing info system. I need to quey the NAST table for unprocessed entries. One of the  requirement is to create a  batch  What is meant by creating a batch by adding a record to a Z Table?
    If anyone is aware, please tell me how to do it.
    Thanks
    Dan

    I think this is a question you should ask the person that gave you the specs.
    Rob

  • Problem with return table(adding extra record)

    Hi,gurus,
      I am facing a probelm with return table, i.e it is adding body record and workarea record also to the data target. so, it is adding the actual record to data target including the workarea record to with the key figure and year values as zeros and spaces. It's quite strange.
    Please help me out, thanks a lot.

    Hi,
       I have an ODS with the keys fields(ZPS_TXMID,ZPS_NODE,ZPS_NODE) and data fields(ZAU_C108,ZAU_C109,0PROJECT). I have to split one record from datasource to 6 records into my ODS. I'm updating ZAU_C109 with a routine with return table. Here is the code, please check it for me:
    <i> data: prj like /BIC/PZPS_TXMID-PROJECT.
    data: ls_icube_value like ICUBE_VALUES.
    clear ls_icube_value.
    select single PROJECT into prj from /BIC/PZPS_TXMID
            where /BIC/ZPS_TXMID = COMM_STRUCTURE-/BIC/ZPS_TXMID.
    ls_icube_value-/BIC/ZPS_TXMID = COMM_STRUCTURE-/BIC/ZPS_TXMID.
    ls_icube_value-/BIC/ZAU_C108 = COMM_STRUCTURE-/BIC/ZAU_C108.
    ls_icube_value-/BIC/ZPS_NODE = '1'.
    ls_icube_value-/BIC/ZPS_SNODE = '0'.
    ls_icube_value-PROJECT = prj.
    ls_icube_value-/BIC/ZAU_C109 = COMM_STRUCTURE-/BIC/ZPS_HJHSJ.
    APPEND ls_icube_value TO RESULT_TABLE.
    ls_icube_value-/BIC/ZPS_NODE = '1'.
    ls_icube_value-/BIC/ZPS_SNODE = '1'.
    ls_icube_value-PROJECT = prj.
    ls_icube_value-/BIC/ZAU_C109 = COMM_STRUCTURE-/BIC/ZPS_HPSJ.
    APPEND ls_icube_value TO RESULT_TABLE.
    ls_icube_value-/BIC/ZPS_NODE = '1'.
    ls_icube_value-/BIC/ZPS_SNODE = '2'.
    ls_icube_value-PROJECT = prj.
    ls_icube_value-/BIC/ZAU_C109 = COMM_STRUCTURE-/BIC/ZAU_C101.
    APPEND ls_icube_value TO RESULT_TABLE.
    ls_icube_value-/BIC/ZPS_NODE = '2'.
    ls_icube_value-/BIC/ZPS_SNODE = '0'.
    ls_icube_value-PROJECT = prj.
    ls_icube_value-/BIC/ZAU_C109 = COMM_STRUCTURE-/BIC/ZPS_TJHSJ.
    APPEND ls_icube_value TO RESULT_TABLE.
    ls_icube_value-/BIC/ZPS_NODE = '2'.
    ls_icube_value-/BIC/ZPS_SNODE = '1'.
    ls_icube_value-PROJECT = prj.
    ls_icube_value-/BIC/ZAU_C109 = COMM_STRUCTURE-/BIC/ZPS_TDSJ.
    APPEND ls_icube_value TO RESULT_TABLE.
    ls_icube_value-/BIC/ZPS_NODE = '2'.
    ls_icube_value-/BIC/ZPS_SNODE = '2'.
    ls_icube_value-PROJECT = prj.
    ls_icube_value-/BIC/ZAU_C109 = COMM_STRUCTURE-/BIC/ZAU_C102.
    APPEND ls_icube_value TO RESULT_TABLE.
    ABORT = 0.</i>
       After loading, I checked the contents of ODS, there are 6 records(0project, ZAU_C108 are blank, other fields are correct) + 1 more record(ZPS_TXMID,0project, ZAU_C108 are correct, other fields are blank), what I expect is only 6 records with all fields being filled properly, no blanks, no extra records. Is it strange? or am I doing sth. wrong?
      Your help is appreciated.

  • Adding additional j2ee node

    Hello,
    we are running BI 7 - abap+java stacks with 16 GB ram (recently added)
    i would like to know what is the thumb rule for adding additional j2ee node?
    when is it neccassary to add additional j2ee node?
    Regards,
    Moshe

    Hi,
    The JLaunch starts a Java program. It loads the JVM into its own address space and then represents the required cluster element. The program can receive notification from the JControl process via named pipes to stop the cluster element, and terminates, if the JControl stops running (fork emulation under Windows).
    So Jlaunch consuming high CPU time means that server, dispatcher or bootstrap process consume it. If there are not enough system or application threads avaliable means that the engine must buffering requests for web application or system processes. Things to check in this case are:
    SAP NOTE 1016241 - J2EE Engine hangs because of unsufficient system threads
    SAP note: 716604  and upgrade JDK.
    SAP note: 723909 -> set correct VM parameters
    and if issue persists, then you will need to analyse the application causing teh leak...
    SAP note: 1259465: Memory analyser.
    Regards,
    Hemanth

  • Adding a record in a table from a workflow process

    Hi all,
    I need to add a recod in a table using a workflow. Here the scenario:
    A user add a record into table A, when done MDM trigger the workflow in Visio. The workflow has to add a record in table B coping some values of table A.
    Thank in advance for your help.
    Vito

    Hi Vito,
    I am really doubt that MDM has the feature of adding a record to an table thru workflow process, rather workflow process can be triggered as you said while creating a record.
    thanks
    Alexander

  • Adding a record in a database using the jbutton

    hi i'm a newbie of jdeveloper.. i just wannna ask how to code adding a record in a database POSTGRESQL using the jbutton.. i already connected in the database but in the model form it has already navigation buttons.. but i want to learn how to code the jbutton in a form without using navigation buttons. THANKS..

    I guess you are talking about swing JButton.
    If I remember it correctly you need to have a listener to the JButton something like this:-
    http://www.javaworld.com/jw-03-2001/print/listing5.txt
    Where on the cick of the button you will call a method that fetches the records from your Table

  • Adding Additional Columns in LOV,That column capturing values from function

    My requirement:
    Adding Additional Columns in LOV,That column values capturing values returned by function.....
    Give me the ides to achieve this...

    Hi Subramaniam,
    If your requirement is to call a Database function then please make use of the below code ,
    import java.sql.CallableStatement;
    import java.sql.SQLException;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    OADBTransactionImpl txn = (OADBTransactionImpl)oaapplicationmodule.getOADBTransaction();
    CallableStatement cs = txn.createCallableStatement ("begin :1 := xxpackageName.xxfunctionname(:2,:3); end;",-1);//Replace your function Name
    try
    cs.registerOutParameter(1, Types.VARCHAR);
    cs.setString(2,InputParam1); // InputParam1 is the name of variable captured from the OAF page and passed into function as input parameter
    cs.setString(3,InputParam2); //InputParam2 is the name of variable captured from the OAF page and passed into function as input parameter
    String outParamValue = null; // outParamValue will capture the value returned by function .
    cs.execute();
    outParamValue = cs.getString(1);
    catch(SQLException sqle)
    throw new RuntimeException(sqle);
    finally
    cs.close();
    Let me know if its not clear .
    Keerthi
    Edited by: keerthioaf on Nov 23, 2012 5:17 AM

  • FBL5N : Adding additional field PERNR  to layout

    Hi experts,
    I had added additional field PERNR - personnel number in FBL5N layout for displaying in output.
    I had added pernr- personnel number by following the path
    SPRO -> Financial accounting ( new ) -> accounts receivable and accounts payable-> customer accounts ->line items -> display line items -> define additional fields for line item dispaly
    here i added bseg - pernr
    after adding , in FBL5N layout the field is appearing , but it is displaying blank in output  .
    Is there any thing needs to be done to display additional field in output of FBL5N.
    kindly give me any suggestions.
    thanks & tregards,
    Raghul
    Edited by: Raghul Gandhi on Mar 23, 2010 9:30 AM

    Hi,
    FBL5N: customer line item display.
    BSEG-PERNR: personnel number.
    Under which circumstances should BSEG-PERNR contain a value if you create customer related postings?
    If there is no personnel number given during posting (why should it?)  the field added to the FBL5N-layout will be empty.
    Best regards, Christian

  • How do I view additional records in Work orders in SSM?

    How do I view additional records in work orders section? I want to view 100 records instead of the present 100 records? What would be the navigation to view more records ?

    Am going to close this one and replace with simpler question

  • Adding Multiple Records with Express

    Hello All,
    We have a CRUD application written in Express 2.0 that allows users to
    enter part numbers and associated information. Our part numbers are
    structured as a prefix, alpha, suffix and 'M' or 'P' number variations :
    1 AB 2 P3 for example. We have provided functionality to allow the
    user to enter multiple P or M variations all at once, say 1 AB 2 P1 thru
    P100,
    using a dialog box where they enter the starting number, ending number
    and step.
    The problem comes in the AddRecordsToSave method.
    This method correctly builds the array of BusinessClass needed to be
    passed to the Save method, however, the Save method adds only the
    initial record (the one from the original Express data entry screen)
    to the database.
    I have traced the problem to the BusinessClient.Update method called
    from
    Save. I believe I am missing some query information that should be
    built into
    AddRecordsToSave, but I am completely unsure of how to provide this.
    As you can see in the attached code, we are using the LogAttr method to
    post
    changes. Apparently this is not enough. What am I missing here?
    The InstanceStatus key of the added records is set to ST_EMPTY by
    default....
    I have tried forcing this to ST_UPDATE, only to receive an error that it
    should
    be ST_EMPTY......?? I am confused. If anyone can shed some light on this
    for me,
    I would appreciate it. Thanks for any help.
    Scott Guman E-mail: [email protected]
    IRM Analyst II Phone: (610) 709-2144
    Mack Trucks, Inc. Fax: (610) 709-4713
    Allentown, PA 18105

    Hi There,
    If attr is not specified in your LogAttr() call, the
    BusinessClass
    will be put in the update state but not attributes will
    be logged.
    That may be the reason why only the displayed record(
    fetched from
    the DB ) is getting logged, but not the new records.
    I think you should use ATTR_SIMPLE with LogAttr. This
    will cause
    all the attributes to be logged and a proper query to
    be built
    to insert the newly created record. I am no Express
    Guru,
    but it works fine for me. Also, try not to modify
    InstanceStatus directly.
    Sometimes it might lead to inconsistencies. The online
    help
    The Add Records to Save example really helps.
    Good luck!
    Ajith Kallambella. M.
    Forte Systems Engineer,
    International Business Corporation
    -----Original Message-----
    From: Scott Guman [SMTP:[email protected]]
    Sent: Wednesday, September 16, 1998 9:34 AM
    To: 'Forte Users'
    Subject: Adding Multiple Records with Express
    Hello All,
    We have a CRUD application written in Express 2.0 that
    allows users to
    enter part numbers and associated information. Our
    part numbers are
    structured as a prefix, alpha, suffix and 'M' or 'P'
    number variations :
    1 AB 2 P3 for example. We have provided functionality
    to allow the
    user to enter multiple P or M variations all at once,
    say 1 AB 2 P1 thru
    P100,
    using a dialog box where they enter the starting
    number, ending number
    and step.
    The problem comes in the AddRecordsToSave method.
    This method correctly builds the array of BusinessClass
    needed to be
    passed to the Save method, however, the Save method
    adds only the
    initial record (the one from the original Express
    data entry screen)
    to the database.
    I have traced the problem to the BusinessClient.Update
    method called
    from
    Save. I believe I am missing some query information
    that should be
    built into
    AddRecordsToSave, but I am completely unsure of how to
    provide this.
    As you can see in the attached code, we are using the
    LogAttr method to
    post
    changes. Apparently this is not enough. What am I
    missing here?
    The InstanceStatus key of the added records is set to
    ST_EMPTY by
    default....
    I have tried forcing this to ST_UPDATE, only to receive
    an error that it
    should
    be ST_EMPTY......?? I am confused. If anyone can shed
    some light on this
    for me,
    I would appreciate it. Thanks for any help.
    Scott Guman E-mail:
    [email protected]
    IRM Analyst II Phone: (610) 709-2144
    Mack Trucks, Inc. Fax: (610) 709-4713
    Allentown, PA 18105
    << File: AddRecordsToSave.txt >>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Adding additional tables to the extractor configuration

    Hi Experts,
    Can you please help me adding additional tables to the SAP extractor and to configure the field data in the orgstructure to show a flag against the position.
    Luke - I have tried using the option said by you from Application-wide Settings-->Data Centre --> Read SAP Table, it has properly save the added table, but not able to see it from SAP extractor configruation and not able to extract any data. Also, can you please guide me how to use the fields from this table (HRP1010) to write a small piece of logic to show a flag for a particualr position based on data.
    Thanks in advance,
    Purandhar

    Hi Purandhar,
    I have tried using the option said by you from Application-wide Settings-->Data Centre
    --> Read SAP Table, it has properly save the added table, but not able to see it from
    SAP extractor configruation and not able to extract any data.
    This has probably added a data element - I would check in the dataelementconfiguration folder in your build's .delta folder. IF so then you have the first step completed. Now you need to add the necessary configurations to use the data that comes through this data element.
    Go to your orgchart/hierarchy and navigate to Views. Here select your view (or your first view if this needs to be done for more than one view - if so you'll need to repeate these steps but not the step you already did in the Data Centre), and then click the + icon next to Design Details. Here you can add a new linked detail to your view detail. Simply give it a name, select the detail to link it to (usually the top level detail which is in blue), select a link field and then select your data element that was created in the Data Centre.
    Now if you try to add a section to your view inside the Design Details view designer you will see your new detail added. You can then select it and add fields from this detail.
    Also, can you please guide me how to use the fields from this table (HRP1010) to write
    a small piece of logic to show a flag for a particualr position based on data.
    Once you have been able to add the data in the views designer you will probably need to do some XML and XSL editing because you cannot edit XSL files in the AdminConsole and you will need to do this to get your icon/flag to show.
    First of all you need to create a new XSL file and put it into a folder in your .delta\root folder. For example, My_XSL_files. Here you need to write the code to render your flag based on your variable. You can find plenty of examples in all of the pre-existing XSL files. Then you need to copy PresentationResources.xml to .delta\root\XML and add the reference to your new XSL file.
    Go to your build's .delta folder and go to detailconfiguration. Find the detail you just created and open it. You'll find a section in their that you just added with a reference to an XSL file (e.g. if you added a Simple Caption section it will probably be something like SimpleCaptionXSL). Change this to the reference in the PresentationResources.xml.
    Load your build in the AdminConsole and hit Publish. Once done you should see your icon. Sometimes if your XSL is invalid or the code doesn't work you won't see anything. This is not unusual as the whole process can be quite tricky - even for us with lots of experience!
    Good luck!
    Luke

  • Adding additional sld

    Hello,
    we have 1 sld  - configured on the portal dev -
    i would like to add additional sld - configure it on the portal production - all the production systems will be added to this sld, and all the qa and dev systems will remain on the sld opn the portal dev
    what are the specific pahses in adding additional sld , updating it if neccasary, and moving the relevent systems
    Regards,
    Moshe

    Hi
    The task could be done like this:
    1) Activate the SLD in the EP prod and configure post-processing accord. to SLD guide
    2) Ensure that the DEV-SLD and new PRD-SLD has the same CIM model version and SAP_CR version
    3) Export the content from DEV-SLD (export line ALL)
    4) Import this export into PRD-SLD
    5) Configure all production systems "SLD data provider" to send technical data to PRD-SLD
    6) Configure all production systems "SLD client role" to work with PRD-SLD
    ...now the DEV-SLD will only get technical data from the non-productions systems. If you want both SLD's to have a full view of alle systems then ALL systems could use PRD-SLD as target for their data suppliers and a sync from PRD-SLD to DEV-SLD can be set up... You maybe also need to supplement this strategy with manuel export/import of SLD content.
    BR
    Tom Bo

  • Adding additional dimensions in HFM

    Hi Experts,
    Need your advice.
    Present scenario: we have an HFM application which is pulling data from Peoplesoft transactional system. for the current application we have created 4 custom dimension and based on it all the mappings were done.
    Required:there is a requirement for adding additional custom dimension.
    i just want to know if it is possible to add additional custom dimension in the present application without affecting the previous data within the application.
    please advice the steps and the precautions to be taken.
    will such addition affect the previous period data?
    Thanks in advance.

    What version of HFM are you running?
    If you are at 11.1.2.2 (or higher I would imagine), then following link seems to provide some basic instructions on this process:
    http://blog.topdownconsulting.com/2015/01/adding-custom-dimensions-hfm/
    I would think about:
    (1) Is an additional dimension necessary - could you possibly split up an existing custom dimension (in the past, when only 4 custom dims were allowed, many times a dimension would serve dual purposes),
    (2) If you do decide to add a new dimension, this would be a major change that would effect all aspects of the application (data loading, reporting, historical data, consolidation rules, forms, grids, etc) - so, do you have a test system you could experiment with?  At the very least you would want to make a copy of the current app and convert the copy as a test,
    (3) probably you would want to do a thorough analysis of your consolidation rules before hand to see what the implications are of adding the new dim.

Maybe you are looking for