Lookup on values (parent member) of other model

Hi everybody,
I have to get a value from one model within my application to save it in another model.
I tried to use the Lookup functionility of BPC but this doesn't work. I'm allways getting Zeros when I run the script.
Here is the code I used:
*LOOKUP MODELA
*DIM DATASRC = DS.TOTAL //Parent member
*DIM COMPANY = CO.2000 //Basemember
*DIM CURRENCY = USD //Basemember
*DIM MAC: A_ACCOUNT = A.N001  //Parent member
*ENDLOOKUP
*LOOKUP MODELB
*DIM MBC: COMPANY = CO.2000 //Basemember
*DIM MBC: CURRENCY = USD //Basemember
*DIM MBC: DATASRC = DS.TOTAL //Parent member
*DIM MBC: B_ACCOUNT = B.N001 //Parent member
*DIM MBC: RANK = RA.N001 //Parent member
*DIM MBC: NATIONALITY = NA.N001 //Parent member
*ENDLOOKUP
*SELECT(%CPTLF%,ID,CATEGORY,RUN_LOGIC = Y AND CALC = N)
*SELECT(%CPTPC%,ID,PROFIT_CENTRE,CALC = N)
*SELECT(%CPTFC%,ID,TIME,ACT_FOR = F AND LEVEL = MONTH AND CALC = N)
*XDIM_MEMBERSET A_ACCOUNT = A.1M406 //Specific Account
*XDIM_MEMBERSET PROFIT_CENTRE = %CPTPC%
*XDIM_MEMBERSET CATEGORY = %CPTLF%
*XDIM_MEMBERSET TIME = %CPTFC%
*XDIM_MEMBERSET COMPANY = CO.NA
*XDIM_MEMBERSET CURRENCY = USD
*XDIM_MEMBERSET DATASRC = CALC
*WHEN A_ACCOUNT
*IS A.1M406
*BEGIN
*REC(FACTOR = -(LOOKUP(MAC)+LOOKUP(MBC)),
DATASRC = CALC,A_ACCOUNT = A.10002,COMPANY = CO.2000)
*END
*ENDWHEN
When I run this script out of Model A everything seems to be working. But the Problem is that the lookup values for Model B are allways Zero. The strange thing is that this code worked last year correctly. This year the script doesn't calculates correctly. The difference is that we did a patch Level upgrade.
Regards
Derk

Hi Derk,
Now it's clear!
First of all - you script is executed in OPERATIONS - then first LOOKUP is better to replace with tuples! Like:
*LOOKUP MANNING
*DIM CPT: COMPANY = CO.2700
*DIM CPT: CURRENCY = USD
*DIM CPT: DATASRC = DS.TOTAL
*DIM CPT: MA_ACCOUNT = MA.N001
*DIM CPT: RANK = RA.N001
*DIM CPT: NATIONALITY = NA.N001
*ENDLOOKUP
*SELECT(%CPTLF%,ID,CATEGORY,RUN_LOGIC = Y AND CALC = N)
*SELECT(%CPTPC%,ID,PROFIT_CENTRE,CALC = N)
*SELECT(%CPTFC%,ID,TIME,ACT_FOR = F AND LEVEL = MONTH AND CALC = N)
*XDIM_MEMBERSET OP_ACCOUNT = OP.1M406 //Cost Pass Thru Income Type
*XDIM_MEMBERSET PROFIT_CENTRE = %CPTPC%
*XDIM_MEMBERSET CATEGORY = %CPTLF%
*XDIM_MEMBERSET TIME = %CPTFC%
*XDIM_MEMBERSET COMPANY = CO.NA
*XDIM_MEMBERSET CURRENCY = USD
*XDIM_MEMBERSET DATASRC = CALC
*WHEN OP_ACCOUNT
*IS *    //already scoped to OP.1M406
*REC(FACTOR = -(([OP_ACCOUNT].[OP.N006],[COMPANY].[CO.2700],[DATASRC].[DS.TOTAL])+([OP_ACCOUNT].[OP.N011],[COMPANY].[CO.2700],[DATASRC].[DS.TOTAL])+([OP_ACCOUNT].[OP.N014],[COMPANY].[CO.2700],[DATASRC].[DS.TOTAL])+([OP_ACCOUNT].[OP.N034],[COMPANY].[CO.2700],[DATASRC].[DS.TOTAL])+([OP_ACCOUNT].[OP.N035],[COMPANY].[CO.2700],[DATASRC].[DS.TOTAL])+LOOKUP(CPT)),DATASRC = CALC,OP_ACCOUNT = OP.10002,COMPANY = CO.2700)
*ENDWHEN
Also it's necessary to understand which values can be missing in the cube... then different logic may be required!
Vadim

Similar Messages

  • Copy level zero value member to other level zero members under a parent

    Hi,
    I am entering data against a dummy costcentre. I will need allocate the value to other costcentres which sit under a parent. I tried @relative("parent member",0) = '"dummy costcentre". I have this within a fix statement.
    I have tried datacopy but it doesn't like the @relative. I looked at set and calc but no solution jumps out. I am sure this is possible. I would appreciate any suggestions.
    I could hard code each CC i.e. dummy = CC but this would require a script update everytime a new CC was added or one removed.
    Thanks,
    nathan
    Edited by: Acts4:12 on 06-Oct-2010 02:51

    Hi,
    it would help to see your FIX statement, but I would calc it in the following way (using another dimension, e.g. the scenario):
    FIX (@relative("parent menber",0))
    "scenario1"
    "scenario1"="scenario1"->"dummy costcentre"
    ENDFIX

  • Validation Rule Error :Invalid Member Name In Lookup ({|0|}) value

    We defined fdm validation rule as follows.
    |Actual, April, 2010, YTD, ENTITY CURRENCY, Mumbai, TotalAssets, [NONE], [NONE], [NONE], [NONE], [NONE]|-|Actual, April, 2010, YTD, ENTITY CURRENCY, Mumbai, TotalLiabilities, [NONE], [NONE], [NONE], [NONE], [NONE]|= 0
    After testing the above rule definition, it gives below error message.
    Err = Invalid Member Name In Lookup ({|0|}) value in ID indicates invalid member)
    Scenario: ACTUAL [1]
    Year: 2010 [2010]
    Period: APRIL [83886080]
    View: YTD [2]
    Entity: MUMBAI [7]
    Parent Entity: MUMBAI [7]
    Value: ENTITY CURRENCY [-1]
    Account: TOTALASSETS [150]
    ICP: [NONE] [-1]
    C1: [MISSING_VALUE] [-1]
    C2: [NONE] [0]
    C3: [NONE] [0]
    C4: [NONE] [0]
    Lookup Error (2)
    Err = Invalid Member Name In Lookup ({|0|}) value in ID indicates invalid member)
    Scenario: ACTUAL [1]
    Year: 2010 [2010]
    Period: APRIL [83886080]
    View: YTD [2]
    Entity: MUMBAI [7]
    Parent Entity: MUMBAI [7]
    Value: ENTITY CURRENCY [-1]
    Account: TOTALLIABILITIES [-1]
    ICP: [NONE] [-1]
    C1: [MISSING_VALUE] [-1]
    C2: [NONE] [0]
    C3: [NONE] [0]
    C4: [NONE] [0]
    Also we could see in the Expression after lookup substitution (scratch pad): we are getting 0-0=0.
    Please provide you inputs.

    I have not looked closely, but C1 is showing as "Missing Value". Have you checked to see if [None] is a valid member for the account you have selected (TotalLiabilities)?

  • Parent member values in Fact tables

    Hello,
    I want to understand something, as far as I know, we can only send data to base level members, right ?
    Then how come we find rows of data that have parent member values in the Fact tables ? (assuming we do not play manually with the database of course), I thought that this can be due to an import with the data manager, can this be right ?

    nilanjan chatterjee wrote:
    Hi,
    >
    > The data for the parent members should be available in the SQL tables.
    > For example, 2011.TOTAL is parent member. You should not have any data for this member in your database. If it is there, it might have come somehow (may be an import). But this is not right. You might want to remove these records. But be sure that you dont delete the records for the base level members.
    >
    > Hope this helps.
    I guess you meant should not, right ?

  • Copy values from one Parent node to other Parent Node

    Hi all,
    I have a 2 Parent node each having 3 child nodes. I want to copy the values of all the attributes of all the child nodes of one Parent Node to corresponding other node.
    Both the Parent Nodes as well as their Child Nodes have different name but their attributes have same name.For ex:
    Parent Node -A
    Child Nodes - a, b,c
    Child Node "a" has attributes "x" and "y"
    Parent Node -B
    Child Nodes - d,e,f
    Child Node "d" has attributes "x" and "y" .
    Now I want to copy the values od attributes "x" and "y" from one Parent Node to other Parent node.
    Please help me out.
    Helpful answers will be rewarded.
    Thanxs in advance...

    Hi Jin,
    To use copy service API, u need to satisfy 2 condition for the attributes of source node and target node:
    1. The name of the attribute should be same (including the case of the name)- Abc is different from ABC
    2. Type of the attribute should also be the same.
    copy elements works for copying values from Model node to context and does not work vice-versa. To enable the copying of context node to model node, use copycorresponding API.
    Eg:
    int contextNodeSize = wdContext().node<contextNodeName>().size();
    for(int i = 0; i < contextNodeSize; i++)
         <modelNodeName> modelObject = new <modelNodeName>();
         <contextNodeName>Element contextObject = wdContext().node<contextNodeName>().get<contextNodeName>ElementAt(i);
         WDCopyService.copyCorresponding(contextObject, modelObject);
    This will copy the values from Context Node to Model Node.
    Hope this helps you.
    Regards,
    Poojith MV

  • Bug while deleting values in form and it's parent member is dynamic calc

    Hi,
    I'm having a problem that seems to be a bug. I am trying to delete the values of member A11 in the following hierarchy, in a Planning Form:
    A (Dynamic Calc)
    |_A1 (Dynamic Calc)
    |__A11 (Store)
    |_A2(Dynamic Calc)
    !_A21 (Store)
    However when I save the form that has IDescendants(A) in rows, values aren't deleted and it's replaced with the value in A1. I'm not sure whats going on but if I place Ilvl0Descendants(A) in form, it works without problems.
    Anyone had this problem before? Thank you

    Hi, have a read of http://docs.oracle.com/cd/E17236_01/epm.1112/hp_admin_11122/ch02s04.html
    to understand what's happened and why

  • How can I create a dimension member formulas involving parent member?

    Hi everyone,
    I'm trying to learn BPC- Planning and I've got the following issue:
    Behind each key figure is a calculated formula which will not be calculated in the aggregated parent member ( Energie Kosten). It's a IF formula based on percentage. As far as I understood it's not possible in BPC NW 10.  to store values at parent level and parent member doesn't aggreagte child values that are calculated members. What can I do to solve the problem? The only solution will be the logic scripts?
    Any input is appreciated.
    Thank you!

    Hi Vadim,
    thank your for your answear.
    Here it's my formula:
    IIF([KENNZAHL].[S_PSTROM] = 0 , [KENNZAHL].[E_PSTROM] ,[KENNZAHL].[S_PSTROM] * ([KENNZAHL].[BELGES] *[KENNZAHL].[TAGEMON] ))
    where: S_PSTROM = percentage key figure
             E_PSTROM =  manual input key figure
             BELGES = allocation
             TAGEMON= days per month
    The formula is used to calculate the energy. If there are adjustments used then will be calculated using the percentage if there are no adjustment needed that should take automatically the manually entered values.
    It's used only a hierarchy- PARENTH1. And only the dimension without calculated members are calculated in nodes.
    Thank you a lot!

  • How to write parent member (TOTAL) to basemember?

    Hi experts!
    This code doesn't work. Why? Task is - write "TOTAL" member to another member.
    *XDIM_MEMBERSET CATEGORY=ACTUAL
    *XDIM_MEMBERSET MEASURES=PERIODIC
    *XDIM_MEMBERSET RPTCURRENCY=USD
    //KBO1000000 is parent node,ZCX1000000 is basemember
    *XDIM_MEMBERSET KB_ACCT=KBO1000000,ZCX1000000
    //TOTAL MEMBERS G100,E100 are parent nodes,EMPTY are basemembers which not included to G100 or E100
    *XDIM_MEMBERSET P_CC=BAS(G100),EMPTY
    *XDIM_MEMBERSET P_ENTITY=BAS(E100),EMPTY
    *XDIM_MEMBERSET P_TIME=2010.JAN.01
    *WHEN P_TIME
    *IS 2010.JAN.01
    *WHEN CATEGORY
    *IS ACTUAL
    *WHEN P_ENTITY
    *IS E100
    *WHEN P_CC
    *IS G100
    *WHEN KB_ACCT
    *IS KBO1000000
    *REC(EXPRESSION=%value%,KB_ACCT=ZCX1000000,P_TIME=2010.JAN.01,P_ENTITY=EMPTY,P_CC=EMPTY)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *COMMIT

    Tuple expression is used to write parent member to base member. try below code.
    *XDIM_MEMBERSET CATEGORY=ACTUAL
    *XDIM_MEMBERSET MEASURES=PERIODIC
    *XDIM_MEMBERSET RPTCURRENCY=USD
    //KBO1000000 is parent node,ZCX1000000 is basemember
    //*XDIM_MEMBERSET KB_ACCT=KBO1000000,ZCX1000000
    *XDIM_MEMBERSET KB_ACCT=ZCX1000000
    //TOTAL MEMBERS G100,E100 are parent nodes,EMPTY are basemembers which not included to G100 or E100
    //*XDIM_MEMBERSET P_CC=BAS(G100),EMPTY
    //*XDIM_MEMBERSET P_ENTITY=BAS(E100),EMPTY
    *XDIM_MEMBERSET P_CC=EMPTY
    *XDIM_MEMBERSET P_ENTITY=EMPTY
    *XDIM_MEMBERSET P_TIME=2010.JAN.01
    *WHEN_REF_DATA=MASTER_DATA
    *WHEN KB_ACCT
    *IS ZCX1000000
    *REC(EXPRESSION= ([KB_ACCT].[KBO1000000],[P_ENTITY].[E100],[P_CC].[G100]),P_ENTITY=EMPTY,P_CC=EMPTY)
    *ENDWHEN
    *COMMIT

  • GET 1 parent member

    Hi expert,
    in my script:
    *XDim_Memberset Product = <ALL>
    This will scan all of my children product only when i use  WHEN/ENDWHEN...
    but now i want include 1 parent member call : PD_SHEET  only one !!
    I dunt want use: *CALC_DUMMY_ORG Product=PARENTH1
    because this will make my system scan all the parent member ..and i have 100++ parent member..
    is there any idea??

    Hi Chiam,
      Since you're quite certain you only wanted to grab the value of 1 particular parent, i.e. PD_SHEET, i suggest that you hardcode the filtering of the PD_SHEET's children. I assume the necessary *SELECT and *XDIM_MEMBERSET statements have been done accordingly.
      For example, assuming the children of PD_SHEET are:
    1. PD_SHEET_Child1
    2. PD_SHEET_Child2
    3. PD_SHEET_Child3
      Then in your script logic, you can do the following:
    *WHEN PD_SHEET.ID
    *IS "PD_SHEET_CHILD1","PD_SHEET_CHILD2","PD_SHEET_CHILD3"
      *REC(EXPRESSION=%VALUE%  ......)
    *ENDWHEN
      I believed you can also do the following:
    *WHEN PRODUCT.PARENTH1
    *IS "PD_SHEET"
      *REC(EXPRESSION+%VALUE%......)
    *ENDWHEN
      You'll have to experiment with the last one, since the property PARENTH1 doesn't work with in some aspects of BPC, for example "Insert Member" in BPC Excel the last i checked, but in anycase the first logic though appearing clumsier, should work.
    Cheers,
    Lip Chean

  • Retrieving lookup field values from a main table using MDM JAVA APIs

    Hi all,
    am trying to retrieve the main table data...., i could able to retrieve all the data except lookup field values..., iam facing some runtime exceptions and i dont know why exactly it is throwing this exception..., i pasted piece of code where exactly the error is and the exception also.
    in the below sode i set some result set definitions and passing them to retrieveLimitedRecordsCommand. it is showing some exception at retrieveLimitedRecordsCommand.execute(); command.
    //*** Code  ***//
      supportingMainResultDefinitions = new ResultDefinition[] { rdQual ,rdFlat, rdqFlat  };
                                            retrieveLimitedRecordsCommand.setResultDefinition(rd);
                                            retrieveLimitedRecordsCommand.setSearch(new Search(tableId));
                                            retrieveLimitedRecordsCommand.setSession(sessionId);
                                            retrieveLimitedRecordsCommand.setSupportingResultDefinitions(supportingMainResultDefinitions);
                                            try {
                                            retrieveLimitedRecordsCommand.execute();
                                                    PrintRecords.toConsole(retrieveLimitedRecordsCommand.getRecords());
                                                    } catch (CommandException e) {
                                                    e.printStackTrace();
    //***  Below is the Exception raised ***//
    java.lang.UnsupportedOperationException: Unexpected field type -1
            at com.sap.mdm.internal.schema.PropertiesHelper.createField(PropertiesHelper.java:274)
            at com.sap.mdm.internal.schema.PropertiesHelper.convertFrom(PropertiesHelper.java:281)
            at com.sap.mdm.internal.data.RecordMetadata.<init>(Unknown Source)
            at com.sap.mdm.internal.data.RecordsLoader.<init>(Unknown Source)
            at com.sap.mdm.internal.data.RecordsLoader.<init>(Unknown Source)
            at com.sap.mdm.internal.data.RecordResultSetHelper.convertFrom(Unknown Source)
            at com.sap.mdm.data.commands.RetrieveLimitedRecordsCommand.execute(Unknown Source)
            at com.sap.mdm.apitutorial.lesson2.RecordsDisplay.getDisplayRecords(RecordsDisplay.java:303)
            at org.apache.jsp.Sample_jsp._jspService(Sample_jsp.java:190)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
            at java.lang.Thread.run(Thread.java:534)
    If anyonw worked on this concept..., please provide me the solution
    Regards
    Praveen k

    Which version are you using?  Can you please try and narrow down to the offending field?  You can do this by limiting the fields you provide to ResultDefinition.

  • Lookup Code value switch automatically in case of same decode value

    Hi,
    We have create a simple Lookup type UDF on OIM user profile. The lookup value contains the different code value for same decode value like 1-->Project Manager, 2-->Project Manager, 3-->Project Manager. Now the issue is that if someone goes form the web console and edit the user (just click on edit and then save it back without making any change), this lookup field value switch to default code value for 'Project Manager'. Let's say if OIM internally assume 2 as default code value for 'Project Manager' (not sure how OIM maintains it internally), If we follow the edit process for a user who has '3' as code value then after save the value in the database change to '2'. The same happens for user with '1' as code value as well. Now mapping multiple code values to same decode is very common where you need to integrate OIM with legacy systems where multiple key values assigned to the Job title/positions with same description. Has anyone came across this scenerio in past and found any solution. Please help. We tried by using lookup querry as well but no luck. We are using 9102 BP02 OIM. Thanks

    First thing first
    Why do you need 3 entries in the lookup for the same vaule? It's only a confusion to the end-user to select which one.
    Now....
    In case you have some compelling situation, just try to have some differentiation for the decode value; like 1~Project Manager, 2~Project Manager, 3~Project Manager. This way confusion may be obviated and so as the issue.

  • How to aggregate until parent member?

    Hello all,<BR><BR>How to calculate the parent member of the current member?<BR><BR>Background: I want to offer users a limited dimension aggregation option. This to reduce the calculation time. Users are most interested in calculation of the level just above the input level. Therefore, I want to create the possibility to calculate the parent of the current member which is given with a prompt in Business Rules. <BR><BR>I have been exploring the possibility of @PARENT or @ANCESTOR but I could not find a possibility (since I can not use them in a Fix statement).<BR><BR>Do you see a possibility here?<BR><BR>Philip Hulsebosch<BR>Trexco<BR><BR><BR>

    We perform YTD calculations via member formulas in our Period (time) dimension as follows.
    P01YTD
    "P01";
    P02YTD
    IF(@ISDESC("Headcount") OR @ISMBR("Exchange Rate"))
    @AVG(SKIPNONE,"P01":"P02");
    ELSEIF(@ISACCTYPE(FIRST))
    "P01";
    ELSEIF(@ISACCTYPE(LAST))
    "P02";
    ELSE
    @SUM("P01":"P02");
    ENDIF
    (same logic used for P03YTD thru P11YTD)
    and finally, P12YTD is simply
    "Full Year";
    Retrieve performance isn't great on monster spreadsheets, but otherwise it works reasonably well.
    Hope this helps.

  • How to export data from Elimination Value dimension member by HAL HFM adapter?

    Good day!<BR><BR>Is it possible to export HFM 4.0.5 data with HAL from the <Elimination> Value dimension member?<BR><BR>In 3.* versions it wasn't and there is Known Issue in the "HFM 3.* Adapter Read Me" file: "The Hyperion Financial Management Adapter exports data using the <entity currency> Value dimension member. The documentation erroneously states that there is a port available for the Value dimension"<BR>But there is not such point in the same file for HFM 4.0.5 AND there is Value port in the HFM 4.0.5. Adapter.<BR><BR>Thanks!<BR><BR>Regards,<BR>Georgy<BR>

    In the first approch, try to change the exporting parameter type REF TO DATA.
    Try like:
    CLASS lcl_test DEFINITION.
      PUBLIC SECTION.
        DATA: t_mara TYPE HASHED TABLE OF mara WITH UNIQUE KEY matnr.
        METHODS:
          constructor,
          get
            IMPORTING
              if_matnr TYPE matnr
            EXPORTING
              ea_mara  TYPE REF TO data.
    ENDCLASS.                    "lcl_test DEFINITION
    START-OF-SELECTION.
      DATA: lo_test TYPE REF TO lcl_test,
            lr_data TYPE REF TO data.
      FIELD-SYMBOLS: <fa_mara> TYPE ANY,
                     <f_field> TYPE ANY.
      CREATE OBJECT lo_test.
      lo_test->get(
        EXPORTING
          if_matnr = '000000000077000000'   " << Replace Your Material
        IMPORTING
          ea_mara  = lr_data ).
      ASSIGN lr_data->* TO <fa_mara>.
      ASSIGN COMPONENT 'ERSDA' OF STRUCTURE <fa_mara> TO <f_field>.
      <f_field> = space.
      WRITE: 'Done'.
    CLASS lcl_test IMPLEMENTATION.
      METHOD constructor.
        SELECT * INTO TABLE t_mara
               FROM mara
               UP TO 10 ROWS.
      ENDMETHOD.                    "constructor
      METHOD get.
        FIELD-SYMBOLS: <lfs_mara> LIKE LINE OF me->t_mara.
        READ TABLE me->t_mara ASSIGNING <lfs_mara> WITH KEY matnr = if_matnr.
        GET REFERENCE OF <lfs_mara> INTO ea_mara.
      ENDMETHOD.                    "get
    ENDCLASS.                    "lcl_test IMPLEMENTATION
    Regards,
    Naimesh Patel

  • Change the value of a SharePoint List lookup control value using javascript

    hi,
    could you please help in changing the value of a SharePoint List lookup control value using javascript.
    Please note that i have to change the lookup value which is in the form of a drop down from the infopath form.
    Thanks

    https://stackoverflow.com/questions/5678210/select-dropdown-menu-option-with-javascript
    Does that help?

  • Sending controller context value attributes to web service model

    Hi,
    I have put some parameters (value Attributes) in controller context and mapped to different views. Is there any way by which i can send the values to the web service model , each time the web service is called? like through header or some thing like that??

    Hi Sujesh,
    Read those value attributes in your controller using following code:
    wdcontext.currentContextElement().get<attribute>();
    and then set these value in your web service model.
    <model name> model = new <model name>();
    model.set<attribute>(<value>);
    wdcontext.node<nodename of your web service model>().bind(model);
    wdcontext.current<nodename of your web service model>element().modelobject().execute();
    Regards,
    Bhavik

Maybe you are looking for

  • How to install a bigger hard drive???

    I've purchased a Seagate Momentus XT hybrid 500gb drive, I can't find a good set of instructions for making this change? Is there a logical way of transferring the data from the original HD to the new drive? Is this something I should have the genius

  • Can't remove Acrobat 7.0 when Installing Acrobat 9.0

    I must have uninstalled Acrobat 7.0 Pro improperly and so now when I go to install Acrobat 9.0 Standard the installation wizard tells me I must remove Acrobat 7.0 before installing 9.0.  As it is trying to uninstall the rest of 7.0 during the 9.0 ins

  • Random Error in Batch Processing

    Hi All, I have a batch process that reads records from DB, pass them to Mediator which calls a BPEL process. During a huge batch processing of 10000 records, we are getting errors in random fashion as under. This error is not specific to a particular

  • Get Connection from connection pooling

    Hi, I am aware of the fact that to get connection from a connection pool we need to add JNDI name in context.xml of apache tomcat and use it in our application to get connection. I have tested this and it works fine. Now, we have 12 servers having fr

  • RightFax w/BrookTrout won't place outgoing FAX

    Hello, I have a RightFax server w/Brooktrout T1 card we are going to integrate into a CCM system. The fax server is connected to a 2811 gateway (G2) via T1 ISDN. There is a another 2811 gateway (G1) w/PRI connected to the PSTN. Both gateways are setu