Is it possible to enhance the dynamic search with Option field with custom

Hi All,
is it possible to enhance dynamic search with OPTION parameter like Equals to , Between etc, instead of these are we able to add our own? If yes, then which are steps need to perform.
Thanking you.
Regards,
VjMHyd

Just to test is this possible i wrote a sample program
data: lr_dquery type REF TO cl_crm_bol_dquery_service.
data: lv_status TYPE CRMT_PROCESS_DESCRIPTION.
data: mv_bol_core type REF TO cl_crm_bol_core,
        lr_result_obj type ref to if_bol_bo_col,
        lv_opp_id type string,
        lr_entity type ref to cl_crm_bol_entity.
MV_BOL_CORE = CL_CRM_BOL_CORE=>GET_INSTANCE( ).
MV_BOL_CORE->START_UP( 'BT' ).
*data: lv_opp_id type string.
lr_dquery = cl_crm_bol_dquery_service=>GET_INSTANCE( 'BTQOpp'  ).
if lr_dquery is bound.
*   prepare the selection paramters
  lr_dquery->add_selection_param(
    exporting
      iv_attr_name =  'OBJECT_ID'   " Component name
      iv_sign      =   'I'  " Inclusion/exclusion criterion SIGN for range tables
      iv_option    =   'PI'  " Selection operator OPTION for range tables
      iv_low       =   lv_opp_id
*   Get the dynamic result object and read the opportunity status from there
  lr_result_obj ?= lr_dquery->get_query_result( ).
  lr_entity ?= lr_result_obj->get_first( ).
  if lr_entity is bound.
    lr_entity->get_property_as_value( exporting iv_attr_name = 'STATUS'
                                importing ev_result = lv_status ).
  endif.
endif.
BREAK-POINT.
No syntax error but junk values returned as I had not written the logic for retrieval based on this operator. This means that if you add the selection_param to the dynamic query and then handle that same thing in the GENIL class for the component then you would be able to retrieve the values based on this.
On the UI , you would be retrieving all the operators for the parameters. There for that particular field you have to add the new operator for your case. And this would be send to the Dquery class and added as a selection param. When the query is executed, if the genil class has been updated to handle this parameter, you should be able to retrieve the results.
Regards
Kavindra
Edited by: joshi_kavindra on Jan 19, 2012 2:45 PM
Edited by: joshi_kavindra on Jan 19, 2012 2:53 PM

Similar Messages

  • How to enhance the standard search with custom field?

    Hi all,
    I would like to know the general optimal procedure to enhance the standard searches like Opportunity search or Lead search.
    I've gone through some of the threads here. Some suggest, to add the new field using AET and copy the IMPL class of the search and then code the custom logic. Some say, append the new field to the structure of the search object and then implement the BADI.
    I'm actually a bit confused to understand the correct procedure.
    Can someone please help me with a generic procedure to enhance the standard search with a custom field?
    Thanks in advance.

    Hi Maren,
    Once I have got the same development. I have followed the below steps, please check with this. Let me know for further inputs.
      Add new field using Append structure of type ‘XXX’ in search
      Create BADI implementation for Enhancement spot ‘ES_CRM_RF_Q1O_SEARCH’ and include filter ‘BTQOPP’
      Put your logic in BADI implementation – SEARCH method
      Add it in WebUI configuration
      Remove the operator if required
    Regards,
    Swadini Sujanaranjan

  • How to enhance the Opportunities search help in UI

    Hi all
    I have a requirement wherein I need to enhance the Standard Search help of  Opportunities in UI.
    The requirement is, we have few custom fields and few fields from 'Milestone' tab .These fields needs to show it in the initial screen of 'Opportunities' to search the different opportunities.
    Ex:1.We have a custome field called 'Direct  Margin%' and this should appear in the drop down of Opportunity search help in UI
            and if the user enters a value against this then system should filter all the opportunities and should display the oportunities which are having the value entered by the user for ''Direct  Margin%' (similar to standard search).
    2. We have a field called Contract Start Date*' and this should appear in the drop down of Opportunity search help in UI
         and if the user enters a date against this then system should filter all the opportunities and should display the oportunities
         with the date entered.
    Hope!! the requirement is clear to all.
    Can you please let me know the detailed steps to acheive this requirement.
    Regards
    Anil

    Hi,
    Put the break point and check  in GET_DYNAMIC_QUERY_RESULT of CL_CRM_QOPP_RUN_BTIL at line no 133, inside the get_result_values method at line 4 get_result_guids will be called, within this method the above mentioned Enhancement spot will be called.
    following is the sample code:
    **********Reading the Values from the Fields in the UI************************************
      READ TABLE IT_MULTIVALUES INTO LW_MULTI_VAL
                  WITH KEY FIELDNAME = 'ZXXX'.
        LT_BSP_RANGE = LW_MULTI_VAL-SEARCHVALUES.
        READ TABLE LT_BSP_RANGE INTO LW_BSP_RANGE INDEX 1.
        LV_PART = LW_BSP_RANGE-LOW.
    ************Calling standard search for all fields except ZXXX partner function********************
        CALL FUNCTION 'CRM_BSP_OIC_1O_SEARCH_FROM_RF'
               EXPORTING
                 IT_SEARCH_TAB             = IT_SEARCH_TAB
                 IT_MULTIVALUES            = IT_MULTIVALUES
                   IV_NUMBER                 = IV_NUMBER
                 IV_EXTERN_CALL            = 'X'
                 IV_SELECT_FOR_HEADERLEVEL = 'X'
               IMPORTING
                 ET_GUIDLIST               = ET_GUIDLIST
                 ET_RETURN                 = ET_RETURN
               EXCEPTIONS
                 DATE_NOT_CORRECT          = 1
                 NO_CARD_TYPE              = 2
                 NO_CARD_NO                = 3
                 NO_PROGRAM_ID             = 4.
        LV_MAXHITS = IV_NUMBER.
    ******Function called to change partner number in the required format *********
        CALL FUNCTION 'BUPA_SEARCH_2'
          EXPORTING
            IV_PARTNER       = LV_PART
          TABLES
            ET_SEARCH_RESULT = RESULT
            ET_RETURN        = RETURN.
        CLEAR LV_PARTNER.
        READ TABLE RESULT INTO WA_RESULT INDEX 1.
        IF SY-SUBRC EQ 0.
          LV_PARTNER = WA_RESULT-PARTNER.
        ENDIF.
        IF LV_PARTNER IS NOT INITIAL.
    ************Calling Search for field ZXXX partner function**********************************
          SELECT HEADER FROM CRMD_ORDER_INDEX
                    INTO TABLE LI_GUID
                  WHERE PARTNER_NO EQ LV_PARTNER
                  AND  OBJECT_TYPE EQ 'BUS2000111'.
    ********LOOP will filter the guids according to the partner function  **********************
          LOOP AT LI_GUID INTO WA_GUID.
            SELECT SINGLE GUID_HI FROM CRMV_LINKPARTNER
                      INTO LV_GUID
                      WHERE GUID_HI EQ WA_GUID-LV_GUID
                      AND PARTNER_FCT = C_PFT .
            IF SY-SUBRC EQ 0.
              LV_OBJECT_KEY = LV_GUID.
              APPEND LV_OBJECT_KEY TO ET_GUIDLIST_PFT.
            ENDIF.
          ENDLOOP.
    ********Search guids by standard search function called ***************************
          LI_GUID_KEY = ET_GUIDLIST.
    *******Guids on partner number search******************************************************
          LI_GUID_KEY2 = ET_GUIDLIST_PFT.
    **Comparison of the results from the standard field search and the results got from Z field search**
          LOOP AT LI_GUID_KEY INTO WA_GUID_KEY.
            READ TABLE LI_GUID_KEY2 INTO WA_GUID_KEY2
                 WITH KEY LV_KEY2 = WA_GUID_KEY-LV_KEY.
            IF SY-SUBRC EQ 0.
              LV_COUNT = LV_COUNT + 1.
              IF LV_COUNT LE LV_MAXHITS.
                APPEND WA_GUID_KEY2 TO LI_RESULT_ETGUID.
              ENDIF.
            ENDIF.
          ENDLOOP.
          IF LV_COUNT GT LV_MAXHITS.
            WA_RETURN-TYPE = C_MESSGTYPE.
            WA_RETURN-ID   = C_MESSGCLASS .
            WA_RETURN-NUMBER = C_NUM.
            WA_RETURN-MESSAGE_V1 = LV_MAXHITS.
            APPEND WA_RETURN TO LT_RETURN.
            ET_RETURN = LT_RETURN.
          ENDIF.
          CLEAR ET_GUIDLIST.
          ET_GUIDLIST = LI_RESULT_ETGUID.
    *****************Partner Number Entered in ZXXX not Found*******************************************
        ELSE.
          CLEAR ET_GUIDLIST.
        ENDIF.
    ENDMETHOD.
    Regards,
    S Reddy

  • Is possible to enhance the resolution of a FLV

    I have downloaded some FLV videos from many sources like Youtube, Vimeo and Daily Motion.
    Is it possible to enhance the resolution of this videos to be watched in a HD television?
    I have tried the video conversion using flv converter to pass from flv to formats like avi, but the quality is not good.
    I think that maybe if i mantain the video fromat is it possible to enhance the resolution and get a better image.
    Is there a tool or a flash player that can enhance the resolution of a video downloaded from the web?
    Thanks
    Joan
    http://clipyoutube.blogspot.com/

    Without the original FLA file or video (AVI, WMV etc.) it was created from the answer is... to put it bluntly... no.
    One drawback of YouTube downloaders is they are WYSIWYG. They download videos in a FLV format with whatever resolution they are on the site, which is, to keep from taxing bandwidth, low res, and small size. 460 x 320 usually at the most.
    Blowing those up to the size of a TV screen blurs them terribly.
    By example:
    A standard def DVD is 4.3 gigs
    An HD DVD is around 7.6 gigs
    A "ripped" DVD (AVI) as anywhere from 700Mb to over a gig and a quarter.
    A high quality MPEG is about 100MB per minute.
    The average FLV downloaded through a YouTube downloader is about 4Mb.
    1 Mb per minute vs 100.
    The compression that goes into making a video suitable for a site that has billions of views of millions of videos hourly, degrades the qualtiy tremendously to accomodate streaming bandwidth. They have to be made for a 5 inch by 3 inch viewer.

  • Is it possible to change the VBAP-ADRNR item address field value?

    Hi,
    Is it possible to update the VBAP-ADRNR item record field value?
    I am trying to update this field value from BAPI_SALESORDER_CHANGE but it is not changing the value.
    I am only able to change the corresponding address for that address number.
    But I need to change the address number( I want to replace with header address number) itself.
    If any ideas please let me know.
    Thanks,
    Mohan.

    ajitabap wrote:
    Hi
    >
    > Schedule Lines related Data USING BAPISDORDER_GETDETAILEDLIST Then Pass them to BAPI_SALESORDER_CHANGE Then It work and update the field.
    >
    > Regards
    > AJIT
    eh????
    What's the relevance of schedule lines and ADRNR?
    @OP: Don't. There is a reason why SAP gives out a new ADRNR. And manually changing the value of a primary/foreign key is never a good thing to do.

  • Create search helps for fields of custom tables

    Hi,
    Could any one please provide me the step by step process to create search helps for fields in custom tables?
    Thanks in advance,
    Nobin.

    Hello Nobin
    There is basically no difference between a search help for standard vs. customer tables.
    An important choise is the selection method for your search help:
    Either you use your custom table, a view or a search help user-exit if you need to implement very specific requirements.
    Assuming that you can use your DB table as selection method the further implementation of the search help is quite straightforward:
    (1) Define the parameters you would like to have a selection criteria (SPos = SPos) and which should appear on the result list (= LPos).
    (2) Define the parameters that can be used as input for the selection (flag IMP) and are returned by the search help (flag EXP)
    Regards
      Uwe

  • Enhancing BtQact Dynamic Search

    Hi All,
    I want to know the class name for BTQAct which is triggered while getting the query result.
    Also it will be needful if the database table name I can get from where all the Business Object and corresponding Implementation class names are maintained.
    Thanks in Adv.

    Hello there.
    Let me explain how to trace the same.
    1. Lets take an example of dynamic search object in the model used in your component. BTQAct.
      Select the name of Model used in your component say ABC( Can be found in Runtime repository browser of Component in Models)
    2. Go To SPRO-> SAP Reference IMG-> CRM-> Cross Applicatiaon components-> Generic Interaction Layer->Basic Settings
    3. Select the option of Component Set definition and search for ABC here found in Step1.
    4. In this check the name of Components assigned responsible for Activities.
    5. Check in the same customizing the Component name thus picked in Step4 and then you will find three entries corresponding one component.
    Object Table   : Defines all objects in a component with their type ( eg search, root,child etc)
    Model Table: Defines relationship table --All relationships available amongst the objects of the component with the possible cardinality.
    IL class: This class will have all basic methods which gets called whenever any operation is performed on WEB UI of even on GENIL_BOL_BROWSER.
    I think this class name is the class you are looking for.
    Please reply if this helps.
    Best Regards,
    Vinamra.

  • Is it possible to override the built-in PDF format handler with a custom IFilter for PDF?

    Hi,
    SharePoint 2013 comes with a built-in "format handler" for PDF now, so it can index PDF files out of the box. This is great for most users, as it now no longer is necessary to install a third-party IFilter for crawling PDF documents.
    My question is, is it possible to override the built-in format handler for PDF with a custom IFilter for PDF? I played with the Set-SPEnterpriseSearchFileFormatState and Remove-SPEnterpriseSearchFileFormat cmdlets. While it is possible to deactivate
    the built-in format handler, I was not able to remove it and to create a new one that activates a custom IFilter for PDF files.
    Background of the question: While the new built-in format handler for PDF will probably be sufficient for many SharePoint users, some need additional capabilities regarding indexing if PDF documents, e.g. extraction of custom metadata from PDF's document
    information dictionary and embedded XMP metadata. PDFlib GmbH, the company I work form, sells an IFilter for PDF, and of course we would like to continue to offer this for SharePoint 2013.
    Thanks
    Stephan

    You should be able to replace it with any ifilter you want, this is the procedure for installing it:
    Install PDF iFilter 9.0 (64 bit) from
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025 (http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025)
    Download PDF icon picture from Adobe web site
    http://www.adobe.com/misc/linking.html (http://www.adobe.com/misc/linking.html)  and copy to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\IMAGES\
    Add the following entry in docIcon.xml file, which can be found at: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\XML
    <Mapping Key="pdf" Value="pdficon_small.png" />
    Add pdf file type on the File Type page under Search Service Application
    Open regedit
    Navigate to the following location:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\15.0\Search\Setup\ContentIndexCommon\Filters\Extension
    Right-click > Click New > Key to create a new key for .pdf
    Add the following GUID in the default value
    {E8978DA6-047F-4E3D-9C78-CDBE46041603}
    •Restart the SharePoint Server Search 15
    •Reboot the SharePoint servers in Farm
    •Create a Test site (with any out-of-box site template) and create a document library upload any sample PDF document(s).
    •Perform FULL Crawl to get search result.
    Once the crawl is completed we will get search results.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Is it possible to replace the iTunes (Mac) 10 band EQ with Apple's 31 band EQ?

    Apple supplies a very nice 31 band graphic equalizer as part of its Audio Units. This is the same Audio Unit as the 10 band graphic EQ. You choose to use 10 octave bands or 31 1/3 octave bands from within the module. So I guess it should be possible to use the 31 band EQ from inside iTunes Mac. Anybody figured out how?.
    Why do I need it?. My current stereo music palyback system is comprised by a MacBook Pro, a PreSonus FireBox D/A converter and a pair of Meridian M2 active speakers, which, good as they are, have an annoying, narrow 3 dB peak at 3 kHz. The nearest bands on the iTunes 10 band EQ fall exactly to each side of this peak (2 & 4 kHz), so to attenuate the 3 kHz peak I need to push down the 2 & 4 kHz bands a bit, but the resulting filter is far too broad and the outcome is never pleasing. I tried with Apple's AU's 31 Band Graphic and the Parametric EQs from within Fidelia and the result is quite good. But I don´t like Fidelia's interface and limited library management capabilities, so I prefer to use iTunes as the main music player.
    I tried running the iTunes audio through AU Lab using SoundFlower, and it does work when using the Mac's Buit-in output, but when I choose the FireBox output AU Lab stops receiving any audio. Switching back the AU Lab output to built-in audio resumes the audio input to the AU Lab document. I tried all sorts of combinations with no luck. Maybe this is because the FireBox is also an audio input interface?. Anybody knows how to fix this issue?.
    But all this fuss would be saved, and a lot of people around the world would have a much better life using iTunes in their Macs, if Apple allowed choosing to use the 31 band graphic EQ from within iTunes, which has the narrow 3.1 kHz band that I need to flatten out the frequency response of my speakers. Many other users mught also benefit from the finer control to correct loudspeaker or room acoustics defficiencies.
    Any ideas?. Would Apple please allow users to choose the rpeferred EQ: 10 or 31 band?. Thanks in advance!

    This is perfect: https://www.rogueamoeba.com/audiohijackpro/
    Even in trial mode, it allows you to insert every AU plugins you want, configuring each application with a specific audio chain you desire.
    I'm currently using it for music (Itunes or Spotify, 31 band Eq as you said), but for watching movies could be a good choice as well.
    I find it particularly useful when I watch movies at night. In order not to **** off the neighbors, I put a compressor at the beginning of the audio chain to reduce the dynamics, allowing me not to have crazy volume jumps.
    Best,
    Luca

  • Populate data into the dynamic table ie using field symbols

    Dear All,
    I need to convert the XML data into internal table. I did this using the guidelines in the forum. Using all those i can get my data
    in the format of
    Cname Cvalue
    id          1
    name    XX
    id          2
    name    YY
    But i need the values in the format of int_tab like,
    ID      Name
    1       XX
    2       YY
    I used the below code to create the dynamic table strucure.
    call method cl_alv_table_create=>create_dynamic_table
                   exporting
                      it_fieldcatalog = ifc
                   importing
                      ep_table        = dy_table.
    assign dy_table->* to <itab>.
    * Create dynamic work area and assign to FS
      create data dy_line like line of <itab>.
      assign dy_line->* to <wa>.
    So now my strucure will be like ID Name.
    I strucked in the place of populating the data into this like 1,XX,2,YY into the dynamic table.
    If you come across with this scenario, can anyone suggest me on this.
    Regards,
    Anita Vizhi Arasi B

    Hi Anita,
    Try to understand below given code. It works same as you want. But I used Function module not any method.
    TYPES: BEGIN OF ty_xml,
              raw(255) TYPE x,
             END OF ty_xml.
      DATA: lv_file_name TYPE                   rlgrap-filename,
            lit_hdr      TYPE TABLE OF          ty_hdr,
            ls_hdr       TYPE                   ty_hdr,
            lv_file      TYPE                   string,
            wa_xml       TYPE                   ty_xml,
            lit_xml      TYPE STANDARD TABLE OF ty_xml,
            lv_filename  TYPE                   string ,
            ls_xmldata   TYPE                   xstring ,
            lit_result   TYPE STANDARD TABLE OF smum_xmltb,
            ls_result    TYPE                   smum_xmltb,
            lit_return   TYPE STANDARD TABLE OF bapiret2,
            lv_size      TYPE                   i,
            lv_count     TYPE                   i.
      CONSTANTS: line_size TYPE i VALUE 255.
      REFRESH lit_hdr.
    *~ File selected from Local System
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          program_name  = syst-repid
          dynpro_number = syst-dynnr
        CHANGING
          file_name     = lv_file_name
        EXCEPTIONS
          mask_too_long = 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.
      lv_file = lv_file_name.
    *~ Upload for Data Provider
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename            = lv_file
          filetype            = 'BIN'
          has_field_separator = ' '
          header_length       = 0
        IMPORTING
          filelength          = lv_size
        TABLES
          data_tab            = lit_xml
        EXCEPTIONS
          OTHERS              = 1.
    *~ Convert from Binary to String
      CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
        EXPORTING
          input_length = lv_size
        IMPORTING
          buffer       = ls_xmldata
        TABLES
          binary_tab   = lit_xml
        EXCEPTIONS
          failed       = 1
          OTHERS       = 2.
    *~ Parse XML docment into a table structure
      CALL FUNCTION 'SMUM_XML_PARSE'
        EXPORTING
          xml_input = ls_xmldata                  " Buffered data
        TABLES
          xml_table = lit_result                  " final internal table which contain records
          return    = lit_return.
      LOOP AT lit_result INTO ls_result.
        IF ls_result-hier = '3'.
          IF ls_result-type = 'V'.
            CASE ls_result-cname.
              WHEN 'intno'.                       "Internal Number
                ls_hdr-intno = ls_result-cvalue.
              WHEN 'acode'.                       "Article Code
                ls_hdr-matnr = ls_result-cvalue.
              WHEN 'adesc'.                       "Article Description
                ls_hdr-maktx = ls_result-cvalue.
              WHEN 'idesc'.                       "Item Description
                ls_hdr-itmds = ls_result-cvalue.
              WHEN 'sdesc'.                       "Standard Description
                ls_hdr-stdds = ls_result-cvalue.
              WHEN 'at'.                          "Article Type
                ls_hdr-mtart = ls_result-cvalue.
              WHEN 'mc'.                          "Merchandise Category
                ls_hdr-matkl = ls_result-cvalue.
              WHEN 'cp'.                          "Characteristic Profile
                ls_hdr-charp = ls_result-cvalue.
                CONDENSE ls_hdr-charp.
              WHEN 'c1'.
                ls_hdr-col01 = ls_result-cvalue.
              WHEN 'c2'.
                ls_hdr-col02 = ls_result-cvalue.
              WHEN 'c3'.
                ls_hdr-col03 = ls_result-cvalue.
              WHEN 'c4'.
                ls_hdr-col04 = ls_result-cvalue.
              WHEN 'c5'.
                ls_hdr-col05 = ls_result-cvalue.
              WHEN 'c6'.
                ls_hdr-col06 = ls_result-cvalue.
              WHEN 'tc'.                          "Tax Classification
                ls_hdr-taklv = ls_result-cvalue.
              WHEN 's'.                           "Season
                ls_hdr-saiso = ls_result-cvalue.
              WHEN 'sy'.                          "Season Year
                ls_hdr-saisj = ls_result-cvalue.
              WHEN 'fg'.                          "Fashion Grade
                ls_hdr-fashg = ls_result-cvalue.
              WHEN 'rm'.                          "Reference Material
                ls_hdr-rfmat = ls_result-cvalue.
              WHEN 'fcv'.                         "Free Character Value
                ls_hdr-frecv = ls_result-cvalue.
              WHEN 'uom'.                         "Unit of Measure
                ls_hdr-uom = ls_result-cvalue.
              WHEN 'pou'.                         "PO Unit
                ls_hdr-pount = ls_result-cvalue.
              WHEN 'v'.                           "Vendor
                ls_hdr-lifnr = ls_result-cvalue.
              WHEN 'b'.                           "Vendor
                ls_hdr-brand = ls_result-cvalue.
              WHEN 'pg'.                          "Purchasing Group
                ls_hdr-wekgr = ls_result-cvalue.
              WHEN 'rv'.                          "Regular Vendor
                ls_hdr-rlifn = ls_result-cvalue.
              WHEN 'pp'.                          "Pricing Profile
                ls_hdr-sprof = ls_result-cvalue.
              WHEN 'sp'.                          "Sales Price
                ls_hdr-spric = ls_result-cvalue.
              WHEN 'm'.                           "Margin
                ls_hdr-margn = ls_result-cvalue.
              WHEN 'c'.                           "Calculate
                ls_hdr-pcalc = ls_result-cvalue.
              WHEN 'purp'.                        "Purchase Price
                ls_hdr-ppric = ls_result-cvalue.
              WHEN 'a'.                            "Assortment
                ls_hdr-asort = ls_result-cvalue.
              WHEN 'bm'.                           "Batch Management
                ls_hdr-batch = ls_result-cvalue.
              WHEN 'mrl'.                          "Min. Remaining Life
                ls_hdr-minrl = ls_result-cvalue.
              WHEN 'aag'.                          "Account Assignment Group
                ls_hdr-acass = ls_result-cvalue.
              WHEN 'vc'.                           "Valuation Class
                ls_hdr-valcl = ls_result-cvalue.
              WHEN 'eancat'.                       "EAN Category
                ls_hdr-eanct = ls_result-cvalue.
              WHEN 'ean11'.
                ls_hdr-ean11 = ls_result-cvalue.
            ENDCASE.
            AT END OF hier.
              APPEND ls_hdr TO lit_hdr.
            ENDAT.
          ENDIF.
        ENDIF.
      ENDLOOP.
      APPEND LINES OF lit_hdr TO git_hdr.
      DELETE git_hdr  WHERE maktx IS INITIAL            "Article Description
                          AND mtart IS INITIAL          "Article Type
                          AND matkl IS INITIAL          "Merchandise Category
                          AND charp IS INITIAL          "Characteristic Profile
                          AND taklv IS INITIAL          "Tax Classification
                          AND uom   IS INITIAL          "Unit of Measure
                          AND pount IS INITIAL          "PO Unit
                          AND lifnr IS INITIAL          "Vendor
                          AND brand IS INITIAL          "Brand
                          AND wekgr IS INITIAL          "Purchasing Group
                          AND ppric IS INITIAL          "Purchasing Price
                          AND spric IS INITIAL          "Sales Price
                          AND acass IS INITIAL          "A/c Assign. Grp.
                          AND valcl IS INITIAL          "Valuation Class
                          AND saiso IS INITIAL          "Season
                          AND saisj IS INITIAL.         "Season Year
      IF git_hdr[] IS NOT INITIAL.
        CLEAR: lv_count.
        LOOP AT git_hdr INTO ls_hdr.
          lv_count  = lv_count + 1.
          ls_hdr-intno = lv_count.
          MODIFY git_hdr FROM ls_hdr TRANSPORTING intno.
          CLEAR: ls_hdr.
        ENDLOOP.
      ENDIF.
    Code written is part of my program. Try to understand it. I hope it will help you out.
    Regards,
    Narendra

  • Is it possible to find the serial number of a device with which I signed into my Apple ID, but which was not registered?

    I bought an iPad2 about 2 years ago. It was stolen around 5 months ago, but since I had never registered it with apple, I gave it up for lost. Now I find it is possible to track based on serial number. Is it possible to find the serial number of my iPad without having registered it, since it has been signed into my Apple ID?

    Hi PinkNoiseChick,
    If you have ever sync'd with iTunes, follow Randers4 recommendation in this link:
    https://discussions.apple.com/thread/5832788
    Cheers,
    GB

  • Is it possible to remove the "All My Files" option from the Go menu in the Finder?

    Is it possible to modify the Go menu in the Finder to remove items like "All My FIles"?

    No. :)

  • Is it possible to have the background colour of a field change based on the entry?

    I previously obtained help from a user here to create a script that autopopulates a field based on options selected in two sets of radio buttons:
    var consequence = this.getField("Consequence").valueAsString; 
    var likelihood = this.getField("Likelihood").valueAsString; 
    if (consequence=="Insignificant" && likelihood=="Rare") event.value = "Low"; 
    else if (consequence=="Insignificant" && likelihood=="Unlikely") event.value = "Low";
    else if (consequence=="Insignificant" && likelihood=="Moderate") event.value = "Low";
    else if (consequence=="Insignificant" && likelihood=="Likely") event.value = "Low";
    else if (consequence=="Insignificant" && likelihood=="Almost Certain") event.value = "Moderate"; 
    else if (consequence=="Minor" && likelihood=="Rare") event.value = "Low"; 
    else if (consequence=="Minor" && likelihood=="Unlikely") event.value = "Low";
    else if (consequence=="Minor" && likelihood=="Moderate") event.value = "Moderate";
    else if (consequence=="Minor" && likelihood=="Likely") event.value = "Moderate";
    else if (consequence=="Minor" && likelihood=="Almost Certain") event.value = "High"; 
    else if (consequence=="Moderate" && likelihood=="Rare") event.value = "Low"; 
    else if (consequence=="Moderate" && likelihood=="Unlikely") event.value = "Moderate";
    else if (consequence=="Moderate" && likelihood=="Moderate") event.value = "High";
    else if (consequence=="Moderate" && likelihood=="Likely") event.value = "High";
    else if (consequence=="Moderate" && likelihood=="Almost Certain") event.value = "Critical"; 
    else if (consequence=="Major" && likelihood=="Rare") event.value = "Low"; 
    else if (consequence=="Major" && likelihood=="Unlikely") event.value = "Moderate";
    else if (consequence=="Major" && likelihood=="Moderate") event.value = "High";
    else if (consequence=="Major" && likelihood=="Likely") event.value = "Critical";
    else if (consequence=="Major" && likelihood=="Almost Certain") event.value = "Extreme"; 
    else if (consequence=="Catastrophic" && likelihood=="Rare") event.value = "Moderate"; 
    else if (consequence=="Catastrophic" && likelihood=="Unlikely") event.value = "High";
    else if (consequence=="Catastrophic" && likelihood=="Moderate") event.value = "Critical";
    else if (consequence=="Catastrophic" && likelihood=="Likely") event.value = "Extreme";
    else if (consequence=="Catastrophic" && likelihood=="Almost Certain") event.value = "Extreme";
    // etc. 
    else event.value = ""; 
    I'm wondering if its possible to have the colour of the field that uses the above script, change based on the entry. E.g. If the answer is Low; make the background colour Green; if its Moderate, make it orange etc.?
    I know its a big ask but thought I would check.
    Thanks in advance.

    One approach would be to have access to a Mac that can run the classic environment or has a pre OS X native installation. These should be able to read the files for dates of creation/modification. There is also SheepShaver that runs on OS X machines.
    https://www.macupdate.com/app/mac/20615/sheepshaver
    http://en.wikipedia.org/wiki/Classic_Environment
    http://www.everymac.com/systems/by_capability/macs-that-support-macos-9-classic. html
    https://discussions.apple.com/message/22597899#22597899

  • Is it possible to extend the range of one airport express with a second airport express?

    Hi,
    We have a Time Warner router and have it hardwired to an Airport Express. Is it possible to extend the range of that one airport express with a second airport express?

    ... The new AirPort Express that I have is an 802.11n version, but the second one is an older model and I don't know which version it might be. Also, the system recently updated so I'm using the AirPort Utility 6.1.
    If you are using Mountain Lion, AirPort Utility 6.1 is the version installed by default. It will not be able to administer "older" AirPort base stations.
    For them, use AirPort Utility 5.6 which contains the features you need. It can administer your older Express as well as current production base stations.
    AU 5.6 is compatible with Lion as well as Mountain Lion, however, the installer app will refuse to install it on Mountain Lion.
    This dilemma is easily solved though. You simply need to extract the app from the installer package using a package extractor like Pacifist.
    Download Pacifist here: http://www.charlessoft.com/
    Download AirPort Utility 5.6 here: http://support.apple.com/kb/DL1482
    If you happen to have an archived copy of the AU 5.6 app somewhere, such as a Time Machine backup or equivalent, you can simply restore it or drag the app to your Mountain Lion system's Utilities folder. It will run without complaint. It is only the package installer that is the problem.
    Mountain Lion will not allow you to delete its existing version of AirPort Utility. Just ignore it. It and the older version (which will bear the unique name "AirPort Utility 5.6") can peacefully coexist.
    Note: For those with Leopard or Snow Leopard systems you need AirPort Utility 5.6.1 (this is confusing - a later AirPort Utility version for an earlier OS X version - but it is correct).
    Download AirPort Utility 5.6.1 here: http://support.apple.com/kb/DL1536

  • I sthere any way to complete uninstall the "manage search bar" option from the right side?

    I found this option very annoying. I want to uninstall the "manage search bar"utility completely from my Firefox.

    My version of Firefox Mozilla, 3.6.3, for Windows XP SP2, shows on the "Navigational Toolbar", back and forward buttons, reload, cancel and home buttons, followed by the address bar, where you can writer web addresses, and on the right side, I have this utility, "Manage Search Engines", that looks like another address bar. I want to uninstall it completely. I don't see how I can do that. I mean, keep all the buttons intact, the address bar intact, and get rid of this tool. Thanks again.

Maybe you are looking for