Read Z set type values of a component / equipment(object id)

Hi Experts,
I want to read the values of the attributes of a particular Z set type. I have the ibase component, object id, object family. How do I get values in the component details.
Warm Regards,
Abdullah Ismail

Hi Experts,
I want to read the values of the attributes of a particular Z set type. I have the ibase component, object id, object family. How do I get values in the component details.
Warm Regards,
Abdullah Ismail

Similar Messages

  • Input Ready Query, Variable read mode setting Only Values for InfoProvider

    Hi,
    I have a problem with Selection Variable for a BEx Query :
    - I'm working with SAP BI 7.0 support package 15
    - My query is an input ready query built for an "aggregation level" based on "real time infocube" (Planning);
    - Characteristic, I want to filter with variable, has query property Advanced->Query Execution for Filter Value Selection = Only Values in InfoProvider
    - Characteristic (info-object) has set the property: Business Explorer tab--> Query Def. Filter Value Selection as Only Values in the info-provider...
    My problem is:
    when I execute a query,
    the Select Values for Variables screen appears
    I push on the Select from List button
    and Select Values For MyCharacteristic appears...
    but it shows me all values in master data table of my characteristic instead of only values in the infoprovider!!!
    If I build a query for the Real Time Cube it works correctly, but if the query is built for the aggregation level it doesn't work!
    Could someone explain me why it doesn't work correctly?
    Thanks in advanced
    Fede

    Thanks to  Mariana Lazar
    30.03.2009 - 12:30:36 CET - Risposta by SAP     
    Dear Fede,
    Regarding the query built on aggregation level please note the following
    the aggregation level is always a Virtual Provider built other
    InfoProvider and hence it does not have the dimension table and hence
    the F4 mode D is not supported.
    Therefore when aggregation level is used in a query, F4 does not supportD-mode: 'Only Values in InfoProvider' and all master data values are
    displayed in the value list.
    Reference from the note
    984229 F4 modes for input help as of SAP NetWeaver 2004s BI
    4. Since other InfoProviders do not have a dimension table, the system
    displays only posted values if you select "Only Posted Values for
    Navigation". Otherwise, it displays the values from the master data
    table.
    Hope this should clarify your doubts. Please let me know if you have
    questions else please confirm the message at your earliest convenience.
    Thank you for your cooperation and kind regards,
    @KR@ Mariana Lazar
    Senior Support Consultant
    SAP Active Global Support
    Netweaver Business Warehouse

  • Set a value to Input component without binding

    Hi all,
    I have an ADF form used to add a new row to a table. There is an input field that has to get its value from a tag I put it on processScope. When I edit the value property of the input to #{processScope.PersonID} that will override the old binding written value which cause an error that this field is not included in Insert Statement.
    Is there anyway that I can refere to include this input value without leaving the old binding value, and put the value I want??

    Hi!
    1. Create variable binding, and set it's default value to #{processScope.something}
    2. set attribute binding to this variable from 1.
    3. bind your input component to att binding from 2.
    Maybe you can use InitialValue on attribute binding, but I have not suceeded with it. Maybe someone form ADF Team may tall us how to use InitialValue if it is intended for such purpose?

  • How to set a value into a component visibility with expression builder?

    Hello,
    I want to set true/false value into a adf component visibility according to a bean object's value. if the object value is null then visibility value will be false, else visibility is true.
    How can I do that without an extra variable definition in the backing bean?
    Thanks, Ali

    I think, "visibility = false" is a rendered element, which is not display to the user (like a HiddenField). You should find the element in your HTML-code of your browser. A "rendered = false" element should be not rendered into HTML and not to find in the HTML-code.
    Regards
    Majo

  • How to read and set Pane value for new adding folder

    Hi Experts,
    I tried to add a new folder in to a system form as below
    Itm = form.Items.Add("UserFolder"), SAPbouiCOM.BoFormItemTypes.it_FOLDER)
    form.DataSources.UserDataSources.Add("F_new", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
    Dim oFolder As SAPbouiCOM.Folder
    oFolder.DataBind.SetBound(True, "", "F_new")
    oFolder.GroupWith("138")
    My quester is what is the panelevel for this new folder? And how to set value to panelevel for this folder.
    If we design a folder from Screen Painter, we can set the pane value manually, can we do this from code?
    Thanks a lot
    Tim

    Hello,
    You do not have to set any panelevel for your folder, if you would like to display it all the panelevels. (Let's see an example on Item Master data form).
    Sales, Purchase, Inventory etc tabs (folders) are always visible, there is no panelevel set for them.
    To change between panelevels, you can trigger et item pressed event, and  before_action = false, then you may change the panelevel of the form poperly.
    For initially you may use the Folder.Select() command to show the default panelevel
    >The problem is here, it looks like oFrom.Panelevel property can only accept integer value, so how can I know what's the pane level number for my folder?
    Do not set panelevel for your folders, you should drive your form's panelevel based on a selection tree:
    To see clear, please check the following code in the help sample: CompexForm
    C:Program FilesSAPMásolat - SAP Business One SDKSamplesCOM UIVB.NET07.ComplexForm2003
    to make it clear:
            '// Adding Folder items
            For i = 1 To 2
                oItem = oForm.Items.Add("Folder" & i, SAPbouiCOM.BoFormItemTypes.it_FOLDER)
                oItem.Left = (i - 1) * 100
                oItem.Width = 100
                oItem.Top = 6
                oItem.Height = 19
                oFolder = oItem.Specific
                '// set the caption
                oFolder.Caption = "Folder" & i
                oFolder.DataBind.SetBound(True, "", "FolderDS")
                If i = 1 Then
                    oFolder.Select()
                Else
                    oFolder.GroupWith(("Folder" & i - 1))
                End If
            Next i
    This code add 2 folders to the form: and the first (i = 1) is selected.
    IN itemevent, the panelevel property of the form is depending from the item you have clicked:
    Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
                        '// Check if the event was raised by one of the Folder items
                        '// and change the form's pane level
                        If pVal.ItemUID = "Folder1" Then
                            oForm.PaneLevel = 1
                        End If
                        If pVal.ItemUID = "Folder2" Then
                            oForm.PaneLevel = 2
                        End If
    Regards
    János

  • Variable "read mode setting" Only Values for InfoProvider

    Hi,
    I have a problem with Selection Variable for a BEx Query:
    - I'm working with SAP BI 7.0 support package 15
    - My query is an input ready query;
    - Characteristic, I want to filter with variable, has query property Advanced->Query Execution for Filter Value Selection = Only Values in InfoProvider
    My problem is:
    when I execute a query,
    the Select Values for Variables screen appears
    I push on the Select from List button
    and Select Values For MyCharacteristic appears...
    but it shows me all values in master data table of my characteristic instead of only values in the infoprovider!!!
    Could someone explain me why it doesn't work correctly?
    Thank in advanced
    Fede

    Thanks to  Mariana Lazar
    30.03.2009 - 12:30:36 CET - Risposta by SAP     
    Dear Fede,
    Regarding the query built on aggregation level please note the following
    the aggregation level is always a Virtual Provider built other
    InfoProvider and hence it does not have the dimension table and hence
    the F4 mode D is not supported.
    Therefore when aggregation level is used in a query, F4 does not supportD-mode: 'Only Values in InfoProvider' and all master data values are
    displayed in the value list.
    Reference from the note
    984229 F4 modes for input help as of SAP NetWeaver 2004s BI
    4. Since other InfoProviders do not have a dimension table, the system
    displays only posted values if you select "Only Posted Values for
    Navigation". Otherwise, it displays the values from the master data
    table.
    Hope this should clarify your doubts. Please let me know if you have
    questions else please confirm the message at your earliest convenience.
    Thank you for your cooperation and kind regards,
    @KR@ Mariana Lazar
    Senior Support Consultant
    SAP Active Global Support
    Netweaver Business Warehouse

  • How to set the value of RichSelectOneChoice

    I have RichSelectOneChoice in a managed bean and I want to set the value of this component. I tried this one but it's using it's index instead of actual value:
    RichSelectOneChoice comp = (RichSelectOneChoice) agencyListComponent;
    comp.setValuePassThru(true);
    comp.setValue(agencyId);
    where agencyListComponent is of type UIXComponent.

    The list is attached to model
    The select list code is:
    <af:selectOneChoice value="#{bindings.AGENCYID.inputValue}"
    label="#{bindings.AGENCYID.label}"
    required="#{bindings.AGENCYID.hints.mandatory}"
    showRequired="#{bindings.AGENCYID.hints.mandatory}"
    shortDesc="#{bindings.AGENCYID.hints.tooltip}"
    id="soc1" valuePassThru="true"
    partialTriggers="pw1"
    binding="#{backingBeanScope.AgencyBean.agencyListComponent}">
    <af:selectItem value="" id="emtOpt"/>
    <f:selectItems value="#{bindings.AGENCYID.items}"
    id="si1"/>
    </af:selectOneChoice>

  • Set the value of a CWNumEdit Control from within the code

    I am trying to update a CWNumEdit Control with data created during program execution.  I am using the set_Text function but it does not seem to be working.  I was wondering if there is something that I am missing to get this functionality to work.  Please help.
    I am developing a VS .NET 2003 WinForm GUI and am Using Measurement Studio 8.1.1.

    Hello mtd32610,
    I noticed this question was already posted on this forum.  We like to
    keep all questions related to a single issue confined to one forum, so
    please direct all future replies to one post or the other.
    As Jervin_J mentioned in the previous post, the standard method for
    updating a CWNumEdit control is to set the Value property of the
    CNiNumEdit object that is associated with this control.  You do not
    need to call the set_Text function, in fact I am not familiar with any
    set_Text function, so I think you may be calling this method on the
    wrong class altogether.
    You should have an object associated with your CWNumEdit control that
    you can set the Value property for.  As mentioned in the reply from
    Jervin_J, the normal way to populate the control is to use:
    <control>.Value = <numeric_value>;
    Regards,
    Marty H.
    National Instruments

  • Setting default value read from user session, for an LOV in Query component

    I want to set the default value of a field in VO that participates in a named view criteria and thereby in Query component. That field is configured with an LOV by mean of a view accessor. The values are Y and N and the corresponding display strings obtained from view accessor are true and false respectively.
    I am able to set the default value by setting the value of the criteria item corresponding to that field in view criteria. I am setting the value as either Y or N and I am able to corresponding display string as per the view accessor, on the query component when it is rendered.
    I want to read the defauilt value from the ADF BC user session and set it as default value. I tried setting the values as "adf.userSession.userData.usageFlag". Iam ensuring that the attribute usageFlag is set before the view activity that has the query component is invoked. But this is ending up showing no default value in the Query component when rendered.
    Can any one let me know how to go about with this?

    I made up your table since you didn't provide some example, but I'm sure this will give you the picture:
    SQL> var run_type varchar2(1)
    SQL> exec :run_type := 'A'
    PL/SQL procedure successfully completed.
    SQL> create table my_cycles as select level cycle_id
      2                            ,      level cycle_status
      3                            from   dual connect by level <= 5;
    Table created.
    SQL> select cycle_id
      2  from   my_cycles
      3  where  case
      4           when :run_type = 'D' and cycle_status  = 1 then 1
      5           when :run_type != 'D' and cycle_status  in ( 2, 3 ) then 1
      6         end = 1;
      CYCLE_ID
             2
             3
    2 rows selected.
    SQL> exec :run_type := 'D';
    PL/SQL procedure successfully completed.
    SQL> /
      CYCLE_ID
             1
    1 row selected.
    SQL>

  • Error while reading UcdContext [trying to read / set application values for users]

    Hi,
    I am trying to write a program to store user selected values on NW7.3 Portal using "User Content Directory". I can see and read some code snippets on how to set and read the context but I am getting one error after another.
    The error message I am getting is
    "com.sapportals.portal.pcd.gl.PcdGlContext:service:[email protected]entClassLoader@84507ed@alive incompatible with interface com.sapportals.portal.pcd.gl.IPcdContext:sap.com/[email protected]der@f46d103@alive ". Code snippet is as given below at the end of the message.
    1) I tried different ways to have a lookup and always gave message as "look up not found" and for pcd:portal_content came up with above error.
    2) Once I read the UCD context, I would like to store some values based on user selection and store them. User may change the values whenever they like and I will be using the values for other purposes in another application.
    3) Has any one successful in setting and reading UCD Context in NW 7.3. Will it be possible to share such sample code as the code snippets at http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4a/8e1bce28e24dd8abd9f4de05e5587d/content.htm are not much of use unless I am able to read the UCD.
    Thanks for your help!
    Regards,
    Raju
    TestingUCD is my test application and the following is code snippet
    InitialContext initialContext = null;
    IPcdContext pcdCtx;
    Hashtable env = new Hashtable();
    env.put(UCD_INITIAL_CONTEXT_FACTORY, UCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, request.getUser());
    env.put(Constants.REQUESTED_ASPECT, IPcdAttribute.PERSISTENCY_ASPECT);
    try{
    initialContext = new InitialContext(env);
    //response.write("Before pcdCtx lookup");
    try {
    pcdCtx = (com.sapportals.portal.pcd.gl.PcdGlContext) initialContext.lookup("pcd:portal_content");
    } catch(Exception e){
    response.write("Some problem with lookup" + e.getMessage());

    Hi,
    There are quite few differences in the standard code snippet given by SAP Help on UCD and the once that you put above in the question.
    Below is standard snippet.
    Hashtable<Object, Object> env = new Hashtable<Object, Object>();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    IPcdContext.UCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, user);
    InitialContext ctx = new InitialContext(env);
    pcdCtx =  (IPcdContext) ctx.lookup("");
    ============================
    Check the ones highlighted in BOLD and compare them in your code. In your code when ur doing initial lookup you are not using the Correct class type cast for the returned lookup object!
    Your code shows as below:
    pcdCtx = (com.sapportals.portal.pcd.gl.PcdGlContext) initialContext.lookup("pcd:portal_content");
    But may be it shd have been something like below:
    pcdCtx = (IPcdContext) initialContext.lookup("pcd:portal_content");
    Pls verify and hopefully this resolves your issues around look up.
    Thanks,
    Swapna Priya.

  • Exception on read or set UDF document lines value

    Hi All,
    have a big problem...
    I'm creating invoice documents from many and many delivery documents via DI API.
    In some cases, my addon gives an exception reading or setting UDF line fields.
    Here is the exception message:
    System.Runtime.InteropServices.COMException (0x80010105): The server has rise an exception. (Eccezione da HRESULT: 0x80010105(RPC_E_SERVERFAULT))
    in SAPbobsCOM.FieldClass.get_Value() in Morato.CreaDocFatturazioneMassiva.CopyUDFLineFields(String)
    or
    System.Runtime.InteropServices.COMException (0x80010105): The server has rise an exception. (Eccezione da HRESULT: 0x80010105(RPC_E_SERVERFAULT))
    in SAPbobsCOM.FieldClass.set_Value() in Morato.CreaDocFatturazioneMassiva.CopyUDFLineFields(String)
    The strange thing is that if I create an invoices from a little quantity of deliveries, there is no problem. The error seems to rise when I create an invoice from a huge quantity of deliveries.
    The code is:
    Private Function CopyUDFLineFields(ByVal oLineNum As String) As Boolean
            Dim i As Integer
            oDocFrom.Lines.SetCurrentLine(oLineNum)
            Try
                With oDocFrom.Lines.UserFields
                    For i = 0 To .Fields.Count - 1
                        Select Case .Fields.Item(i).Type
                            Case SAPbobsCOM.BoFieldTypes.db_Date
                                '// campi di tipo data
                                Select Case .Fields.Item(i).SubType
                                    Case SAPbobsCOM.BoFldSubTypes.st_Time
                                        '// campi di tipo ora
                                        If Hour(.Fields.Item(i).Value) <> "0" Or Minute(.Fields.Item(i).Value) <> "0" Then
                                            oDocTo.Lines.UserFields.Fields.Item(i).Value = .Fields.Item(i).Value
                                        End If
                                    Case Else
                                        If Year(oDocFrom.Lines.UserFields.Fields.Item(i).Value) <> "1899" And Year(.Fields.Item(i).Value) <> "1999" Then
                                            oDocTo.Lines.UserFields.Fields.Item(i).Value = .Fields.Item(i).Value
                                        End If
                                End Select
                            Case SAPbobsCOM.BoFieldTypes.db_Float
                                '// campi di tipo unità e totale
                                If .Fields.Item(i).SubType = SAPbobsCOM.BoFldSubTypes.st_Measurement Or .Fields.Item(i).SubType = SAPbobsCOM.BoFldSubTypes.st_Percentage Or .Fields.Item(i).SubType = SAPbobsCOM.BoFldSubTypes.st_Price Or .Fields.Item(i).SubType = SAPbobsCOM.BoFldSubTypes.st_Quantity Then
                                    oDocTo.Lines.UserFields.Fields.Item(i).Value = CDbl(.Fields.Item(i).Value)
                                End If
                            Case SAPbobsCOM.BoFieldTypes.db_Alpha
                                '// campi di tipo stringa
                                If Not String.IsNullOrEmpty(oDocFrom.Lines.UserFields.Fields.Item(i).Value) Then
                                    oDocTo.Lines.UserFields.Fields.Item(i).Value = .Fields.Item(i).Value.ToString
                                End If
                            Case SAPbobsCOM.BoFieldTypes.db_Numeric
                                oDocTo.Lines.UserFields.Fields.Item(i).Value = Val(.Fields.Item(i).Value)
                            Case SAPbobsCOM.BoFieldTypes.db_Memo
                                oDocTo.Lines.UserFields.Fields.Item(i).Value = .Fields.Item(i).Value.ToString
                            Case Else
                                '// altri tipi stringa
                                If Not String.IsNullOrEmpty(oDocFrom.Lines.UserFields.Fields.Item(i).Value) Then
                                    oDocTo.Lines.UserFields.Fields.Item(i).Value = .Fields.Item(i).Value.ToString
                                End If
                        End Select
                    Next i
                End With
                Return True
            Catch ex As Exception
                SBO_Application.MessageBox(ex.ToString & " - " & oDocFrom.Lines.UserFields.Fields.Item(i).Name.ToString)
                Return False
            End Try
        End Function
    Anyone have experienced something similar?
    Kind Regards,
    Paolo Caricasole.
    Edited by: Rui Pereira on Dec 23, 2008 4:26 PM

    Please refer to note#1235603
    SAP Notes: [http://service.sap.com/notes|http://service.sap.com/notes]
    Replace:
    oDocTo.Lines.UserFields.Fields.Item(i).Value
    with:
    Document_Lines oLines = oDocTo.Lines
    oLines.UserFields.Fields.Item(i).Value
    Regards, Yatsea

  • How to set the value of something in a component from the main application?

    Hi,
    Maybe I've been working on this too long, but I can't figure
    out how to set the value of the text property of a text input field
    in a component from my main application in an mx:Script block. I
    have a component called Login in the components folder, and I need
    to set the text value of empNum. In my mxml declaration at that the
    top, I've declared these components as xmlns:c="components.*" So
    logically, the property I'm trying to set is c.Login.empNum.text. I
    can't figure out the correct syntax to get this to work, and I've
    tried everything I can think of. Does anyone have any suggestions?
    I'm thinking this should be an easy one, and I'm just missing
    something.
    Thanks!
    Holli

    Did you try giving it an id ?
    <c:MyLogin id="loginScreen" /c>
    So later you can do loginScreen .empNum.text = "my text"
    Laurent,

  • Set default value for product type

    I want to set default value in product type drop  down box
    in component PRD01QR.
    view  SearchHelp.
    I tried with setter and getter , but not working
    they are using query string.

    Hi,
    You can achieve this by redefining the method GET_VH_PRODUCT_TYPE() in IMPL class of searchHelp view. Just copy paste the implementation of this method from super class and now control the internal table as per your requirement like
    comment out the line       APPEND INITIAL LINE TO lt_ddlb. (line no: 47)
    as it will add an empty line at the starting of internal of product type values which you dont want. In you case there should be some default value for product type field, so arrange the inetrnal table values according to you requirement and what ever value you want to default for product type that should be the first value in the drop down without empty line and add an empty line at the end of the internal table.
    No need to call super->GET_VH_PRODUCT_TYPE() in your implementation as you have written all the required code in your implemenation itself.
    Hope this would help you!
    Regards,
    Ajay

  • Error: Set type Z contains multiple-value attributes

    Hi forum,
    I have a problem when i try to assign a set type with the same value but diferent name on another set type to the same product category.
    This is the detail of the error but i dont know where i have to set this indicator:
    If you set this indicator for a particular hierarchy, all categories and set types in this hierarchy are created in the PME.
    This gives you the following extended maintenance options at category level:
    You can assign set types with multiple-value attributes
    You can restrict value ranges and maintain default values for attributes of customer set types.
    Any sugerence about this?
    Regards and thanks in advance,
    Mon

    Hi Nelson,
    I create two set types, the description is not the problem. I have discover that when i try to assign these attributes in the same set type or in other appears this error.
    The set types have the same values. For example:
    zcountry1. Values: sp - spain. fr - france.
    zcountry2. Values: sp - spain. fr - france.
    When i try to configurate the comm_hierarchy in my category appears this error:
    Set type zcountry2 contains multiple-value attributes.
    Diagnosis
    The set type ZGAME5 contains multiple-value attributes. It cannot be assigned to the category as extended maintenance has not been activated.
    Procedure
    Multiple-value attributes are stored in the PME. If you want to use the set type ZGAME5, you must set the Extended Maintenance Options indicator for the hierarchy.
    Extended Maintenance Is Possible for the Hierarchy
    Definition
    If you set this indicator for a particular hierarchy, all categories and set types in this hierarchy are created in the PME.
    This gives you the following extended maintenance options at category level:
    You can assign set types with multiple-value attributes
    You can restrict value ranges and maintain default values for attributes of customer set types.
    Where is this indicator¿? in R3?
    So, these are the steps...can anybody help to me?
    Regards and thanks in advance.

  • Error while setting a value into an UDF of type date

    Hello,
    i get the following error while trying to set a value to an udf with the type "date":
    Exception from Server: RPC_E_SERVERFAULT
    This code is used:
    objDate = CDate(objLineRecordSet.Fields.Item("U_TESTDATE").Value)
    objDocument.Lines.UserFields.Fields.Item("U_ACTDATE").Value = objDate '### Here comes the error
    The application is in PL 29

    Christian,
    If you search this forum on "date UDF" you will find many posts that may assist you such as this one ...
    Format of string passed to Date/Time Hour UDF
    HTH,
    Eddy

Maybe you are looking for

  • How to create a group of e-mail addresses

    Hi, I need to create a group of recipients (mailing list) using a list of e-mail addresses. I guess I need to use the Address Book, but I could not find the correct way to copy/paste the entire block of addresses. The only way I found was to insert e

  • Calligraphy will not open in FCP 5.1.2

    I tried some of the solutions posted, with no luck. I then emailed a plee to Boris. Gentlemen, After crossgrading to 5.1 I have lost Calligraphy. I have read the fixes on the Apple user site and tried them all. I had to resort to an old Final Cut Exp

  • Macros in Flexible SOP

    Hi, I am trying to copy the macros in SOPDIS to planning type created for custom developed infostructure. But it is adding the lines in macro in between the lines for macro ZLAG, Can you Please any bofy let me know how to resolve this?

  • Could not complete your request because a required text resources file is missing.

    When choose the type tool in CS6 on my mac I get an error message "Could not complete your request because a required text resources file is missing." Any help to get it all back to normal would be great:)

  • When I strike keyboard it doesn't output what is suppose to be

    the keyboard works fine in console environment, but when it goes to GUI, strange thing happens, for example, if I want to push "R" key, it outputs " T ", if I push "G", it outputs "H", exactly one letter shift. I don't know what's wrong at beginning