My VScrollBar applied on List ignores my custom Skin

I'm trying to customize the skin of a List. The code looks like this:
<s:List id="selector" x="670" height="327" itemRenderer="components.GalleryThumbnailRenderer" borderVisible="false" contentBackgroundAlpha="0" focusAlpha="0" horizontalScrollPolicy="off">
      <s:layout>
          <s:TileLayout requestedColumnCount="2" horizontalGap="1" verticalGap="1"  />
     </s:layout>
     <s:scroller>
          <s:Scroller>
               <s:verticalScrollBar>
                    <s:VScrollBar skinClass="components.VScrollSkin" />
               </s:verticalScrollBar>
          </s:Scroller>
     </s:scroller>
</s:List>
I've generated the components.VScrollSkin with Flash Builder using spark.components.VScrollBar as host component and created as a copy of spark.skins.spark.VScrollBarSkin
Whatever I change and do in components.VScrollSkin isn't applied when I build the app. Always the default Skin is shown. I've but a trace in components.VScrollSkin to see if it's actually being loaded or not. But it is being used.
What am I doing wrong????

Thank you Frank for your response.....
I have used the stand alone skineditor version:
Skin Editor Version 11.1.2.0.0
Build JDEVADF_11.1.2.0.0_GENERIC_110531.1615.6017
I followed the following steps:
- From the skin editor - I created a new application with target application release 11.1.1.4
-- Created a new skin
--- Changed af|selectonechoice background color to maroon....
---- Created deployment profile - adf library jar file with all standard option (i didn't make any changes)
----- created jar file using newly creately deployment profile
Open Jdev Studio Edition Version 11.1.1.4.0
- Opened Web application project properties
-- Under libraries and classpath --> added new library --> added skin jar file and fusion-simple-skin.jar file
--- Open trinidad-config.xml file and changed content to :
<trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
<skin-family>skin1</skin-family>
</trinidad-config>
Now in Jdev design mode I see all dropdown fields background changed to Maroon.....
But wHen I run the page from Jdev. I don't see those dropdown background changed to Maroon. But it looks like it is using some new skin.... because all fonts of label are little bigger than usual...... on the running page....

Similar Messages

  • Mouse events ignored in custom skin

    I created a custom skin for my spinner. While I managed to get the layout this time, it seems that all mouse click events are ignored.
    package ch.sahits.game.javafx.control.skin;
    import java.io.InputStream;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.collections.ObservableList;
    import javafx.event.EventHandler;
    import javafx.geometry.Dimension2D;
    import javafx.scene.Group;
    import javafx.scene.control.TextField;
    import javafx.scene.image.Image;
    import javafx.scene.image.ImageView;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.HBox;
    import javafx.scene.layout.VBox;
    import ch.sahits.game.javafx.control.OpenPatricianSpinner;
    import ch.sahits.game.javafx.control.TextSizingUtility;
    import com.sun.javafx.scene.control.skin.SkinBase;
    public class OpenPatricianSpinnerSkin extends
            SkinBase<OpenPatricianSpinner, OpenPatricianSpinnerBehavior> {
        private TextSizingUtility sizing = new TextSizingUtility();
        public OpenPatricianSpinnerSkin(final OpenPatricianSpinner spinner) {
            super(spinner, new OpenPatricianSpinnerBehavior(spinner));
            Dimension2D dim4heigth = sizing.calculate(1, spinner.getFont());
            double width = 0;
            for (String word : spinner.getOptions()) {
                Dimension2D dim4width = sizing.calculate(word, spinner.getFont());
                if (dim4width.getWidth() > width) {
                    width = dim4width.getWidth();
            Dimension2D dim = new Dimension2D(width, dim4heigth.getHeight());
            String firstValue = "";
            if (!spinner.getOptions().isEmpty()) {
                firstValue = spinner.getOptions().get(0);
                spinner.selectedIndexProperty().set(0);
            HBox hbox = new HBox();
            final TextField textField = new TextField(firstValue);
            textField.getStyleClass().add("openPatricianSpinner");
            textField.setMaxSize(dim.getWidth(), dim.getHeight());
            textField.setEditable(false);
            InputStream is = getClass().getResourceAsStream("SlabUp.png");
            Image img = new Image(is);
            double imgWidth = img.getWidth();
            final ImageView imgViewUp = new ImageView(img);
            is = getClass().getResourceAsStream("SlabDown.png");
            img = new Image(is);
            final ImageView imgViewDown = new ImageView(img);
            double additionalWidth = Math.max(img.getWidth(), imgWidth);
            is = getClass().getResourceAsStream("InputPlank.jpg");
            img = new Image(is,dim.getWidth()+additionalWidth, dim.getHeight(), false, true);
            final ImageView imgViewPlank = new ImageView(img);
            imgViewPlank.onMouseReleasedProperty().addListener(new ChangeListener<EventHandler<? super MouseEvent>>(){
                @Override
                public void changed(ObservableValue<? extends EventHandler<? super MouseEvent>> ov,
                        EventHandler<? super MouseEvent> oldValue,
                        EventHandler<? super MouseEvent> newValue) {
                    System.out.println("Clicked on plank");
            Group textGroup = new Group(textField);
            VBox vbox = new VBox();
            vbox.getChildren().addAll(imgViewUp, imgViewDown);
            hbox.getChildren().addAll(textGroup, vbox);
            Group background = new Group(imgViewPlank,hbox);
            imgViewUp.onMouseReleasedProperty().addListener(new ChangeListener<EventHandler<? super MouseEvent>>(){
                @Override
                public void changed(ObservableValue<? extends EventHandler<? super MouseEvent>> ov,
                        EventHandler<? super MouseEvent> oldValue,
                        EventHandler<? super MouseEvent> newValue) {
                    ObservableList<String> options = spinner.getOptions();
    System.out.println("Clicked on slabUp");
                    if (!options.isEmpty()) {
                        if (spinner.getSelectedIndex() > 0) {
                            spinner.selectedIndexProperty().subtract(1);
                            String newDisplayValue = options.get(spinner.getSelectedIndex());
                            textField.setText(newDisplayValue);
                        } else {
                            System.out.println("Selected index <= 0");
                    } else {
                        System.out.println("Empty options list");
            }); // end up change listener
            imgViewDown.onMouseReleasedProperty().addListener(new ChangeListener<EventHandler<? super MouseEvent>>(){
                @Override
                public void changed(ObservableValue<? extends EventHandler<? super MouseEvent>> ov,
                        EventHandler<? super MouseEvent> oldValue,
                        EventHandler<? super MouseEvent> newValue) {
                    ObservableList<String> options = spinner.getOptions();
    System.out.println("Clicked on slabDown");
                    if (!options.isEmpty()) {
                        if (spinner.getSelectedIndex() < options.size()) {
                            spinner.selectedIndexProperty().add(1);
                            String newDisplayValue = options.get(spinner.getSelectedIndex());
                            textField.setText(newDisplayValue);
                        } else {
                            System.out.println("Selected index >= options.length");
                    } else {
                        System.out.println("Empty options list");
            }); // end up change listener
            onMouseReleasedProperty().addListener(new ChangeListener<EventHandler<? super MouseEvent>>(){
                @Override
                public void changed(ObservableValue<? extends EventHandler<? super MouseEvent>> ov,
                        EventHandler<? super MouseEvent> oldValue,
                        EventHandler<? super MouseEvent> newValue) {
                    System.out.println("Clicked on Skin");
            getChildren().add(background);
    I would at least expect to see the line 134 printed out. I call this spinner from a simple test application, without any event listeners added there.
    Has anyone an idea what might happen here?

    Hello, you don't register an event handler, you register a listener on the event handler property. So you don't listen for clicks, you listen for changing the registered click handler. You need to register the handler like this:
    imgViewDown.setOnMouseReleased(new EventHandler<MouseEvent>() {
         @Override public void handle(MouseEvent event) {
              // your handler
    This way you set the mouse release event handler which will be called on click. This code, by the way, would fire your listeners (the onMouseReleased property has changed).

  • Using ms project 2007 and vba macro to list all the custom fields used in the project?

    Hi,Using ms project 2007 vba macro, I would like to be able to list all the custom fields used in the project and their corresponding field names. e.g. let us say I create a calculated duration field and name it "expected duration" and the name
    of the field I select is Duration1.
    I am trying to write a macro that will list all the used custom fields such as the result would look like:
    Duration1 ---> "expected duration"
    Text1       ---> "anything"
    Flag1        ---> "....."
    Number1  ---> "..............."
    Can anyone provide me with the solution?
    Regards,
    Chuck

    John,
    I found this module, which provides the the list of custom fields used in the project but does not provide the name given to the field. Here below is the module and hope you could help me achieve this by modifying the macro to list the renamed field.
    ' MSP Checks all Custom Task Fields
    Sub checkfields2()
    'This macro will check and report out which custom task fields are used
    'It requires Project 2002 and above as it relies on the GetField
    'and FieldNameToFieldConstant methods which were not introduced until
    '2002.
    'It does not include resource fields, however it is a simple matter to
    'do it by replacing the pjTask constant with pjResource.
    'Copyright Jack Dahlgren, Oct. 2004
    Dim mycheck As Boolean
    Dim myType, usedfields As String
    Dim t As Task
    Dim ts As Tasks
    Dim i, it As Integer
    Set ts = ActiveProject.Tasks
    usedfields = "Custom Fields used in this file" & vbCrLf
    myType = "Text"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 30
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)) <> "" Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    myType = "Number"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 20
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)) <> 0 Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    myType = "Duration"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 10
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If Left(ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)), 2) <> "0 " Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    myType = "Cost"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 10
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)) <> 0 Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    myType = "Start"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 10
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)) <> "NA" Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    myType = "Finish"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 10
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)) <> "NA" Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    MsgBox usedfields
    End Sub
    This is what the module gives me. But I would like to have beside Text 1 the name that is shown as below. e.g Text1 is "Test".
    Would you mind helping me achieve this?
    Thanks in advance.
    Chuck

  • How to map a custom enum list to a custom form property in an extended incident class

    Hi,
    I'm struggeling to understand how to map a custom enum list to a custom form property in an extended incident class.
    Here's what i want to have happen:
    I am going to publish a request offering on my SMPortal for allowing users to submit basic IT incidents. I want the form to include "Whom does this problem affect" (answers(This is the custom enum list): Me, Multiple Users, Whole department or Whole
    company), "What is the problem about", "Description" and "Attachments".
    Here's what i've done:
    In the authoring tool i created a MP for the custom enum list and put only the list in it. I sealed the MP and imported it.
    I created another unsealed MP called TST.Incident.Library for storing incident library customizations and extended the incident class to add an extension class i called ClassExtension_Affected scope with a custom property i called AffectedScope. Then i am trying
    to set the datatype of this property to "list". In the "select a list" dialog i cannot chose my previously sealed MP with the custom enum list in it. Why?
    - Do i need to scratch the sealed MP and put the custom enum list in the latter TST.Incident.Library MP instead?
    - If so, can i do that and keep this MP unsealed, or will i get an error on import saying "Unsealed management packs should not contain type definitions"
    - Should i create one sealed MP for both the custom enum list and the extension class + custom property?

    Hi,
    Authoring Tool simply isn't informed about your list. Open the sealed management pack where you define the root of the list in the Authoring Tool and in the same time open TST.Incident.Library. You will have two opened MPs in the Authoring
    Tool and be able to add a custom list for your custom field.
    Cheers,
    Marat
    Site: www.scutils.com  Twitter:
      LinkedIn:
      Facebook:

  • Failed to fetch a list of all custom record types

    Hi,
    I tried to fetch a list of all custom record types. I tried with below piece of code, but failed with below error message. Can anybody help me to resolve this issue:
    CustomRecordTypeReadAll_Input cusRecTypeAllIn = new CustomRecordTypeReadAll_Input();
    CustomRecordTypeServiceProxy proxy = new CustomRecordTypeServiceProxy(endpoint);
                   CustomRecordTypeReadAll_Output out = proxy.customRecordTypeReadAll(cusRecTypeAllIn);
    Detail error message:
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (400)Bad Request
    faultActor:
    faultNode:
    faultDetail:
         {}:return code: 400
    &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;&lt;soap:Body&gt;&lt;soap:Fault&gt;&lt;faultcode&gt;soap:Client&lt;/faultcode&gt;&lt;faultstring&gt;Client&lt;/faultstring&gt;&lt;detail&gt;&lt;ErrorCode&gt;SBL-ODU-01007&lt;/ErrorCode&gt;&lt;ErrorMessage&gt;The HTTP request did not contain a valid SOAPAction header. The value of the header was &amp;quot;document/urn:crmondemand/ws/odesabs/CustomRecordType/:CustomRecordTypeReadAll&amp;quot;&lt;/ErrorMessage&gt;&lt;/detail&gt;&lt;/soap:Fault&gt;&lt;/soap:Body&gt;&lt;/soap:Envelope&gt;
         {http://xml.apache.org/axis/}HttpErrorCode:400
    (400)Bad Request
    //////////////////////////////////////////////////////////////////////////////////

    Thank you very much for valuable reply.
    I am now using WS-Security to include credentials in request. I have also ensured that "Customization - Customize Application" setting is enable for my OCOD account. But now, i am getting following exception:
    java.lang.IllegalArgumentException: faultCode argument for createFault was passed NULL at com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl.createFault(SOAPFactory1_1Impl.java:55)
         at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:169)
         at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111)
         at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
         at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
         at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
         at $Proxy28.customRecordTypeRead(Unknown Source)
         at Main.main(Main.java:75)
    I have also tried customRecordTypeReadAll API butgetting the same exception.
    Can you please suggest me what can be the reason behind above exception?
    For reference: The complete SOAP request message:
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" S:mustUnderstand="1">
    <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-1298986875153522346527">
    <wsse:Username>myusername</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">mypassword</wsse:Password>
    <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">pRkWQ9ZcOrJngcGijmok0skB</wsse:Nonce><wsu:Created>2011-03-01T13:43:19.669Z</wsu:Created></wsse:UsernameToken></wsse:Security></S:Header><S:Body><ns2:CustomRecordTypeRead_Input xmlns="urn:/crmondemand/xml/customrecordtype/data" xmlns:ns2="urn:crmondemand/ws/odesabs/customrecordtype/" xmlns:ns3="urn:/crmondemand/xml/customrecordtype/query">
    <ns3:CustomRecordType>
    <ns3:Name>Custom Object 01</ns3:Name>
    <ns3:SingularName>TestCustom</ns3:SingularName>
    <ns3:PluralName>TestCustom</ns3:PluralName>
    <ns3:ShortName>TestCustom</ns3:ShortName>
    </ns3:CustomRecordType>
    </ns2:CustomRecordTypeRead_Input>
    </S:Body>
    </S:Envelope>
    Thanks
    Ravish
    Edited by: 833189 on Mar 1, 2011 6:02 AM

  • Query - Price list report by Customer

    Hi,
    Can I please be advised on Query to obtain result = when reporting on a specific BP customer and to list items with applicable price (as per assigned price list).
    eg. Customer A (assigned to Pricelist 1)
    - item X  $100.00
    - Item Y $150.00
    (above prices display only pricelist 1 item pricing)
    thks and I appreciate any assistance given.
    regards
    Kelly

    Hi, Kelly
    You can display item description within result and set parameter option to choose BP. But there is no method to limit the option to Customer only for now.
    Just refer the following query.
    SELECT T2.[CardCode], T2.[CardName], T1.[ItemCode],T3.[ItemName],  T0.[ListName], T1.[Price] FROM OPLN T0  INNER JOIN ITM1 T1 ON T0.ListNum = T1.PriceList INNER JOIN OCRD T2 ON T0.ListNum = T2.ListNum INNER JOIN OITM T3 ON T1.ItemCode = T3.ItemCode WHERE T2.[CardCode] =[%0]

  • Bapi for invoice lists for a customer

    Can some one tell me the bapi which can be used to view all the invoice lists for a customer for date range.

    Hello
    I am not sure if there is such a BAPI available. However, you could try a two-step-approach:
    (1) Read sales orders of customer using BAPI_SALESORDER_GETLIST
    (2) Feed selected sales orders into REFDOCRANGE of BAPI_BILLINGDOC_GETLIST
    Regards
      Uwe

  • Global list of all custom/developed objects

    Hi all!
    We need to get a list of all custom objects of a SAP systems.
    First time we think accessing TADIR to get all repository objects of the system and after this access, get all atributes for any of the retrieved objects.
    Example:
      To a report, access TADIR and TRDIR dictionary tables. in TADIR use class of development custom or in TRDIR any of the user that don't belongs to SAP.
    But this solution to the problem is very effort and we should access so too many tables for the objects to get their attributes.
    Second time, we think filtering the objects using their namespace with FM TR_CHECK_NAME_CLASS, but this option jumps some objects, like VOFM generated objects or customer exits form VA01 transaction.
    Do any of you know the way of extracting a list of all Custom/developed objects for a System?

    Hi,
    Just check if this suffices.
    REPORT  zobjects no standard page heading
    TABLES:TADIR,TSTC,V_USERNAME,VRSD.
    TYPE-POOLS:slis,VRM.
    TYPES: BEGIN OF ittemp,
           object    LIKE tadir-object,
           obj_name  LIKE tadir-obj_name,
           text      LIKE trdirt-text,
           author    LIKE tadir-author,
           devclass  like tadir-devclass,
           name_text LIKE v_username-name_text,
           tcode like tstc-tcode,
           korrnum like vrsd-korrnum,
           END OF ittemp.
    DATA: itfinal TYPE STANDARD TABLE OF ittemp WITH HEADER LINE,
          wafinal   TYPE ittemp.
    DATA : name  TYPE vrm_id,
          list  TYPE vrm_values,
          value LIKE LINE OF list.
    DATA:itfieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA:itrepid TYPE sy-repid.
    itrepid = sy-repid.
    DATA:itevent TYPE slis_t_event.
    DATA:itlistheader TYPE slis_t_listheader.
    DATA:walistheader LIKE LINE OF itlistheader.
    DATA:itlayout TYPE slis_layout_alv.
    DATA:top TYPE slis_formname.
    DATA:itsort TYPE slis_t_sortinfo_alv WITH HEADER LINE.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER: PACKAGE LIKE TADIR-DEVCLASS.
    SELECTION-SCREEN END OF BLOCK B1.
    START-OF-SELECTION.
    PERFORM getdata.
    PERFORM alv.
    *&      Form  GETDATA
          text
    FORM getdata.
    read the repository object table and link with username if found
    SELECT tadir~object
            tadir~obj_name
            trdirt~text
            tadir~author
            tadir~devclass
            v_username~name_text
            INTO TABLE itfinal
            FROM tadir
            LEFT JOIN v_username
            ON tadirauthor = v_usernamebname
            LEFT JOIN trdirt
            ON tadirobj_name = trdirtname
            WHERE tadir~devclass = PACKAGE
            "'$TMP'
            AND ( tadirobj_name LIKE 'Z%' OR tadirobj_name LIKE 'Y%' ).
    CHECK sy-subrc EQ 0.
    loop at itfinal.
    *TCODE FROM TSTC
    select single tcode from tstc into (itfinal-tcode) where pgmna =
    itfinal-obj_name.
    *LATEST TRANSPORT REQUEST NUMBER FROM VRSD
    select single korrnum from vrsd into (itfinal-korrnum) where objname =
    itfinal-obj_name.
    modify itfinal.
    endloop.
    delete itfinal where korrnum is INITIAL.
    SORT itfinal BY author object.
    ENDFORM.                    "GETDATA
    *&      Form  ALV
          text
    FORM alv.
    IF itfinal[] IS INITIAL.
        MESSAGE 'No Values exist for the Selection.' TYPE 'S'.
        STOP.
      ENDIF.
      DEFINE m_fieldcat.
        itfieldcat-fieldname = &1.
        itfieldcat-col_pos = &2.
        itfieldcat-seltext_l = &3.
        itfieldcat-do_sum = &4.
        itfieldcat-outputlen = &5.
        append itfieldcat to itfieldcat.
        clear itfieldcat.
      END-OF-DEFINITION.
      m_fieldcat 'OBJECT' ''   'OBJECT' ''       04  .
      m_fieldcat 'OBJ_NAME' '' 'PROGRAM NAME' '' 40 .
      m_fieldcat 'TCODE' ''    'TCODE' ''        20 .
      m_fieldcat 'TEXT' ''     'DESCRIPTION' ''  70 .
      m_fieldcat 'AUTHOR' ''   'AUTHOR' ''       80 .
      m_fieldcat 'DEVCLASS' '' 'PACKAGE' ''      30 .
      m_fieldcat 'KORRNUM' ''  'LATEST TRANSPORT REQUEST' '' 20 .
    itlayout-zebra = 'X'.
    itlayout-colwidth_optimize = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program      = sy-repid
            is_layout               = itlayout
           i_callback_user_command =  'LIST1'
            i_callback_top_of_page  = 'TOP'
            it_fieldcat             = itfieldcat[]
            i_save                  = 'A'
         is_variant              = ITVARIANT
            it_events               = itevent[]
         is_print                = ITPRINTPARAMS
            it_sort                 = itsort[]
          TABLES
            t_outtab                = itfinal
            EXCEPTIONS
            program_error           = 1
            OTHERS                  = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    "ALV
    *&      Form  TOP
        Top of page for ALV Report
    FORM top.
    DATA:STRING1(70),
         STRING2(70),
         title1(100),
         title2(100),
         count(10).
    describe table itfinal lines count.
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
         EXPORTING
            i_list_type           = 0
         IMPORTING
            et_events             = itevent
    EXCEPTIONS
      LIST_TYPE_WRONG       = 1
      OTHERS                = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    string1 = 'List of Objects in Development Class'.
    concatenate string1 ':' itfinal-devclass into title1.
    walistheader-typ = 'H'.
    walistheader-info = title1.
    APPEND walistheader TO itlistheader.
    string2 = 'Total No.of Objects'.
    concatenate string2 ':' count into title2.
    walistheader-typ = 'H'.
    walistheader-info = title2.
    APPEND walistheader TO itlistheader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary      = itlistheader
        I_LOGO                   = ''.
        I_END_OF_LIST_GRID       =
       ENDIF.
      CLEAR itlistheader.
    ENDIF.
    ENDFORM.                    "TOP
    *&      Form  list1
          ALV Interactive-
         -->R_UCOMM    text
         -->RS_SELFIELDtext
    FORM list1 USING r_ucomm LIKE sy-ucomm rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
        WHEN '&IC1'.
          IF rs_selfield-fieldname = 'OBJ_NAME'.
            READ TABLE itfinal INDEX rs_selfield-tabindex.
            SET PARAMETER ID 'RID' FIELD itfinal-OBJ_NAME.
            CALL TRANSACTION 'SE38' AND SKIP FIRST SCREEN.
          ELSEIF rs_selfield-fieldname = 'TCODE'.
            READ TABLE itfinal INDEX rs_selfield-tabindex.
            SET PARAMETER ID 'TCD' FIELD itfinal-TCODE.
            CALL TRANSACTION 'SESSION_MANAGER' AND SKIP FIRST SCREEN.
         ENDIF.
      ENDCASE.
    ENDFORM.
    K.Kiran.

  • ViewMenuItem do not appear when applying custom skin on ViewNavigatorApplication

    ViewMenuItems works fine when I don't apply skinClass fo ViewNavigatorApplication, but when I apply custom skin to ViewNavigator, ViewMenuItems doesn't appear.
    Here is my main file
    <?xml version="1.0" encoding="utf-8"?>
    <s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.DriveSafeHomeView" applicationDPI="160"
                                 initialize="applyRuntimeStyleSheet()" skinClass="skins.CustomApplicationSkin" >
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                public function applyRuntimeStyleSheet():void {
                    styleManager.loadStyleDeclarations("css/Styles.swf")
                        // skinClass="skins.CustomApplicationSkin"
            ]]>
        </fx:Script>  
    </s:ViewNavigatorApplication>
    Code for CustomApplicationSkin.mxml is
    <?xml version="1.0" encoding="utf-8"?>
    <s:Skin name="CustomApplicationSkin"
                    xmlns:fx="http://ns.adobe.com/mxml/2009"
                             xmlns:s="library://ns.adobe.com/flex/spark"
                                       >
            <fx:Metadata>
                        <![CDATA[
                        [HostComponent("DriveSafe")]
                        ]]>
                    </fx:Metadata>
            <s:states>
                        <s:State name="normal" />
                         <s:State name="disabled" />
                     </s:states>
            <s:BitmapImage width="100%" height="100%" source="@Embed('/assets/background.jpg')"/>
            <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0" />
            <s:ViewNavigator id="navigator" width="100%" height="100%" />
    </s:Skin>

    If you create a new custom field you have to wait for the analytics refresh before you can use it in reporting & analytics. The frequency of the refresh differs per environment. You can put VALUEOF(LAST_REFRESH_DT) in a column formula to see when the last refresh has been performed.
    Regards, Tim

  • Site Definition with Custom List Intance with Custom fields

    How to create VS 2012 > Site Definition with Custom List Instance with Custom fields?
    <site>
    <list>
    <field>

    Hi Sunil,
    it is the same way we create in VS 2010.
    Add a new empty SP project in VS2012 and then add, site, list and fields as per your requirement.
    Here are few references-
    Creating SharePoint 2010 Site Definitions in Visual Studio 2010
    http://msdn.microsoft.com/en-us/library/gg276356(v=office.14).aspx
    Creating SharePoint 2010 List Definitions in Visual Studio 2010
    http://msdn.microsoft.com/en-us/library/gg276355(v=office.14).aspx
    Walkthrough: Create a Basic Site Definition Project
    http://msdn.microsoft.com/en-us/library/ee231583.aspx
    and  I normally create a blank site with all required configuration and then create, import the template to hand craft the list and fields. this would minimize errors.
    see the below blog on this topic
    http://blogs.msdn.com/b/sambetts/archive/2013/10/17/creating-a-clean-visual-studio-solution-from-a-sharepoint-2013-site-template.aspx
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if the reply helps you

  • Emailing packing list to the customer contact

    Hi,
    Our business process needs emailing of packing list to the customer.
    The packing list output form has been developed using SMARTFORM to print bar codes on it.
    We would like to utilize contact person functionality, which is available in the customer master, to store the email id of the packing list recipient.
    Can you provide the details of how to send the packing list output to the customer contact using SAP email functionality? Should I need to create a separate output condition type for it?
    Thanks in advance.
    Regards,
    Shiva

    Hi Shiva,
                 Is this through the SMARTFORM print program.
    If so...
    After calling a SMARTFORM function module. get the spool number from sy-spono.
    SMARTFORM output would be in OTF format. then convert this OTF Spool to pdf format using call  fm CONVERT_OTFSPOOLJOB_2_PDF or
    CONVERT_OTF_2_PDF (Check the fm, I am not sure which one is best).
    Output from this fm would be PDF table type tline
    Send this pdf file to  customer email id using fm 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
    Let me know if u need further help.
    Reward points.
    Thanks
    Sampath.

  • E-mailing packing list to the customer

    Hi,
    Our business process needs emailing of packing list to the customer.
    The packing list output form has been developed using SMARTFORM to print bar codes on it.
    We would like to utilize contact person functionality, which is available in the customer master, to store the email id of the packing list recipient.
    Can you provide the details of how to send the packing list output to the customer contact using SAP email functionality? Should I need to create a separate output condition type for it?
    Thanks in advance.
    Regards,
    Shiva

    Hi,
    You can use the following code to send the smartform output to email.
    *********Variable Declarations *****************************
    DATA: gv_form_name TYPE rs38l_fnam,   " Used to store the function module generated by Smartform
          gv_bin_filesize TYPE i,         " Store the file size
          gv_pos TYPE i,
          gv_len TYPE i,
          gv_tab_lines TYPE i.
    ********Constants *******************************************
    Data : gc_text(11) type c value 'Form Output',
           gc_tst(3) type c value 'TST',
           gc_testing(7) type c value 'Testing'.
    *********Work Area Declarations *****************************
    DATA: gs_docdata TYPE sodocchgi1,     " Data of an object which can be changed
          gs_ctrlop TYPE ssfctrlop,       " Smart Forms: Control structure
          gs_outopt TYPE ssfcompop,       " SAP Smart Forms: Smart Composer (transfer) options
          gs_otfdata TYPE ssfcrescl,      " Smart Forms: Return value at end of form printing
          gs_reclist TYPE somlreci1,      " SAPoffice: Structure of the API Recipient List
          gs_pdf_tab TYPE tline,          " Workarea for SAP Script Text Lines
          gs_objbin TYPE solisti1,        " SAPoffice: Single List with Column Length 255
          gs_objpack TYPE sopcklsti1.     " SAPoffice: Description of Imported Object Components
    *********Internal tables Declarations *****************************
    DATA: gt_reclist TYPE TABLE OF somlreci1,      " SAPoffice: Structure of the API Recipient List
          gt_pdf_tab TYPE TABLE OF tline,          " SAPscript: Text Lines
          gt_otf TYPE TABLE OF itcoo,              " OTF Structure
          gt_objbin TYPE TABLE OF solisti1,        " SAPoffice: Single List with Column Length 255
          gt_objpack TYPE TABLE OF sopcklsti1.     " SAPoffice: Description of Imported Object Components
    CLEAR : gv_form_name,
            gs_ctrlop,
            gs_outopt,
            gs_otfdata,
            gv_bin_filesize,
            gv_pos,
            gv_len,
            gv_tab_lines.
    START-OF-SELECTION.
    Generate Function Module name
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'ZPDF_G'
        IMPORTING
          fm_name            = gv_form_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Assigning values to Form Control Structure and Form Composer
      gs_ctrlop-getotf = 'X'.
      gs_ctrlop-no_dialog = 'X'.
      gs_outopt-tdnoprev = 'X'.
    Getting the OTFDATA
      CALL FUNCTION gv_form_name
        EXPORTING
          control_parameters = gs_ctrlop
          output_options     = gs_outopt
          user_settings      = 'X'
        IMPORTING
          job_output_info    = gs_otfdata
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Assigning the OTFDATA to OTF Structure table
      CLEAR gt_otf.
      gt_otf[] = gs_otfdata-otfdata[].
    Convert the OTF DATA to SAP Script Text lines
      CLEAR gt_pdf_tab.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = gv_bin_filesize
        TABLES
          otf                   = gt_otf
          lines                 = gt_pdf_tab
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Assigning the Description of the object sent in the mail
      CLEAR gs_docdata.
      gs_docdata-obj_name = gc_tst.
      gs_docdata-obj_descr = gc_testing.
    Assigning the email id to Structure of the API Recipient List table
      CLEAR : gt_reclist, gs_reclist.
      gs_reclist-receiver = '[email protected]'.
      gs_reclist-rec_type = 'U'.
      APPEND gs_reclist TO gt_reclist.
    Passing the SAP Script text lines to SAPoffice: Single List with Column Length 255 table
      CLEAR : gs_objbin, gs_pdf_tab.
      LOOP AT gt_pdf_tab INTO gs_pdf_tab.
        gv_pos = 255 - gv_len.
        IF gv_pos > 134. "length of pdf_table
          gv_pos = 134.
        ENDIF.
        gs_objbin+gv_len = gs_pdf_tab(gv_pos).
        gv_len = gv_len + gv_pos.
        IF gv_len = 255. "length of out (contents_bin)
          APPEND gs_objbin TO gt_objbin.
          CLEAR: gs_objbin, gv_len.
          IF gv_pos < 134.
            gs_objbin = gs_pdf_tab+gv_pos.
            gv_len = 134 - gv_pos.
          ENDIF.
        ENDIF.
      ENDLOOP.
      IF gv_len > 0.
        APPEND gs_objbin TO gt_objbin.
      ENDIF.
    Filling the details in SAPoffice: Description of Imported Object Components table
      DESCRIBE TABLE gt_objbin LINES gv_tab_lines.
      CLEAR gs_objbin.
      READ TABLE gt_objbin INTO gs_objbin INDEX gv_tab_lines.
      IF sy-subrc = 0.
        gs_objpack-doc_size = ( gv_tab_lines - 1 ) * 255 + STRLEN( gs_objbin ).
        gs_objpack-transf_bin = 'X'.
        gs_objpack-head_start = 1.
        gs_objpack-head_num = 0.
        gs_objpack-body_start = 1.
        gs_objpack-body_num = gv_tab_lines.
        gs_objpack-doc_type = 'PDF'.
        gs_objpack-obj_name = 'ATTACHMENT'.
        gs_objpack-obj_descr = 'test'.
        APPEND gs_objpack TO gt_objpack.
      ENDIF.
    Sending the Form Output in the PDF format to email
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data                    = gs_docdata
         put_in_outbox                    = 'X'
         commit_work                      = 'X'
        TABLES
          packing_list                     = gt_objpack
          contents_bin                     = gt_objbin
          receivers                        = gt_reclist
       EXCEPTIONS
         too_many_receivers               = 1
         document_not_sent                = 2
         document_type_not_exist          = 3
         operation_no_authorization       = 4
         parameter_error                  = 5
         x_error                          = 6
         enqueue_error                    = 7
         OTHERS                           = 8
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        WRITE 'Sent Successfully'.
      ENDIF.
      SUBMIT rsconn01
      WITH mode EQ 'INT'
      AND RETURN.
    END-OF-SELECTION.
    Reward if useful.........

  • How to ignore the customer with delete stamp when customer identification

    Hi Expert,
       In customer identification of the call center, SAP standard does not ignore the customer which has delete stamp. From our biz, we don't want to catch them when corresponding customer call. And we will create a new customer with the phone number. How can I ignore and create the new customer?
    BRs
    Liu Bo

    Hi,
    open in transaction BSP_WD_CMPWB the component ICCMP_BP_SEARCH.
    Go to View BuPaSelectCustomer
    Go to the IMPL class.
    Redefine method DO_PREPARE_OUTPUT to filter out the customers you don´t want which means delete them from the BOL collection.
    Kind regards
    Manfred

  • Can we create roles/permission list based on custom table

    I wanted to create Roles and Permission list based on custom table (which holds Business Logic),like if column value is 3 then certain roles and 2 then certain............ is it possible in PS?
    Thanks

    Are you looking at restricting the data that is shown or access to pages? Please elaborate your requirements so that a solution can be provided.

  • I am trying to integrate my mailing list with a custom form to create an e ticket for my membership

    I am trying to integrate my mailing list with a custom form, in order to create an E ticket for my membership.
    Is there a way of doing this with the Adobe Custom Forms? Thank you NAK

    Integration of a mailing list is not a supported function of Formscentral. Additionally it might be difficult to authenticate and properly transmit e-tickets to your groups using Formscentral alone. For this type of transaction workflow I would suggest you look to our Livecycle product for a solution.
    Andrew

Maybe you are looking for

  • Comments and questions from a new Entourage switcher

    When Leopard came out, I decided to take the plunge and move from 7 years of Entourage-ing over to the whole Mail/Address Book/iCal/.mac combo. It's been a challenge, and one I'm glad I'm making. I really see the future lies here, especially with all

  • Help with running elements 11

    I bought elements 11 and it wont work on my computer.  I Installed it all correctly and I get a system error everytime i try to run the program. "The program can't start because DCIMAN32.dll is missing from your computer.  Try reinstalling the progra

  • How to pass page parameter to report portlet ?

    Portal: 9.0.4 RDBMS: 9.0.1.5.0 OS: Windows REF: How to pass page parameter to report portlet ? Hi, I create a Oracle Report as a Portlet in Portal (create Report Definition File Access and check on the option "Publish As Portlet" in the on the last s

  • Xdkload requires weird argument on dbver for installing properly on DB 9.0.1

    Hi all: After many combination of xdkload of XDK version 9.2.0.1.0 with no success upload into an Oracle 9.0.1 on Solaris, I noticed that xsu12.jar requires xdb_g.jar to resolve it properly. Then checking the xdkload script I figure out that passing

  • [HELP] Error Prompt after installing BLACKBERRY APP WORD 2.1 on my OS4.5....

    I have problem on my Blackkberry Pearl 8100 (OS4.5) bcuz after succesfull installed my BLACKBERRY APP WORLD 2.1 and ERROR PROMPT happened... The ERROR PROMPT says: (Uncaught exception: java.lang.OutOfMemoryError) Plz. help me how to reslove this prob