How to SQL to create a new field reset by new value

Table only got 1 field eg.
company_name
DELL
DELL
DELL
HP
HP
IBM
IBM
IBM
How create a SQL to create a running number field that reset for a value? Thanks.
It should look something like this :
SNO company_name
1 DELL
2 DELL
3 DELL
1 HP
2 HP
1 IBM
2 IBM
3 IBM

Hallo,
SELECT row_number() over (partition by company_name order by company_name), company_name
FROM company
Regards
Dmytro Dekhtyaryuk

Similar Messages

  • ME21N - new field added and same value posted to it for all line items

    hi all
    i have added new field under item  level in me21n screen.
    data for new filed fetched from tables with values entered in header level material number.
    For one record, it is ok
    but for multiple records, same value is fetched for all line items
    i have written coding in screen exit for 0111
    and function exits EXIT_SAPMM06E_016 and EXIT_SAPMM06E_018
    how to solve
    pl help
    regards
    senthil

    MODULE STATUS_0111 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
      if sy-tcode eq 'ME23N' or sy-tcode eq 'ME23'.
        LOOP at SCREEN.
          if screen-group1 ne 'PCS'.
            screen-input = 0.
            MODIFY SCREEN.
          endif.
        ENDLOOP.
      ENDIF.
      TYPES : BEGIN OF ty_cabn1,
             atnam TYPE cabn-atnam,
           end of ty_cabn1.
      DATA : itab_cabn1 TYPE STANDARD TABLE OF ty_cabn1 INITIAL SIZE 0,
             wa_cabn1 TYPE ty_cabn1.
      TYPES : BEGIN OF ty_cawn1,
        atinn TYPE cawn-atinn,
        atzhl TYPE cawn-atzhl,
        atwrt TYPE cawn-atwrt,
        end of ty_cawn1.
      DATA : itab_cawn1 TYPE STANDARD TABLE OF ty_cawn1 INITIAL SIZE 0,
             wa_cawn1 TYPE ty_cawn1.
      TYPES : BEGIN OF ty_cawnt1,
       pcs TYPE cawnt-atwtb,
        atinn TYPE cawnt-atinn,
        atzhl TYPE cawnt-atzhl,
        atwtb TYPE cawnt-atwtb,
          end of ty_cawnt1.
      DATA : itab_cawnt1 TYPE TABLE OF ty_cawnt1,
             wa_cawnt1 TYPE ty_cawnt1.
      TYPES : BEGIN OF ty_pcs1,
    pcs TYPE cawnt-atwtb,
      atwrt TYPE cawn-atwrt,
      atwtb TYPE cawnt-atwtb,
        end of ty_pcs1.
      DATA : itab_pcs3 TYPE TABLE OF ty_pcs1,
             itab_pcs4 TYPE TABLE OF ty_pcs1,
             wa_pcs1 TYPE ty_pcs1.
      TYPES : BEGIN OF ty_pcsn,
      matnr TYPE ausp-objek,
      ebelp TYPE dynpread-stepl,
      atwrt TYPE cawn-atwrt,
      atwtb TYPE cawnt-atwtb,
      END OF ty_pcsn.
      DATA : itab_pcsn TYPE TABLE OF ty_pcsn,
             wa_pcsn TYPE ty_pcsn.
      TYPES : BEGIN OF ty_ausp1,
         objek TYPE ausp-objek,
         atinn TYPE ausp-atinn,
         atwrt TYPE ausp-atwrt,
       END OF ty_ausp1.
      DATA : itab_ausp1 TYPE STANDARD TABLE OF ty_ausp1 INITIAL SIZE 0,
             wa_ausp1   TYPE ty_ausp1.
      DATA : param_name1(35) TYPE  c.
      DATA: progname1      TYPE sy-repid,
            dynnum1        TYPE sy-dynnr,
            dynpro_values1 TYPE TABLE OF dynpread,
            dynpro_values2 TYPE TABLE OF dynpread,
            field_value1   LIKE LINE OF dynpro_values1,
            ematn1         TYPE mara-matnr.
      if sy-tcode ne 'ME23N' and sy-tcode ne 'ME23'.  "psk
        clear : itab_cabn1,itab_cawn1,itab_cawnt1,itab_pcs3,itab_pcs4,itab_pcsn,itab_ausp1.
        clear : wa_cawn1,wa_cawnt1,wa_pcs1,wa_ausp1.
        if sy-uname eq 'IBM_ABAP'.
          param_name1 = '000000001'.
        else.
          param_name1 = '000000013'.
        endif.
        SELECT atnam
        FROM cabn
        INTO CORRESPONDING FIELDS OF TABLE itab_cabn1
        WHERE atinn  = param_name1.
        select *
        FROM cawn
        into CORRESPONDING FIELDS OF TABLE itab_cawn1
        WHERE atinn = param_name1.
        if itab_cawn1[] is NOT INITIAL.
          SELECT atinn atzhl atwtb
          FROM cawnt
          INTo CORRESPONDING FIELDS OF TABLE itab_cawnt1
          FOR ALL ENTRIES IN itab_cawn1
          WHERE atinn = itab_cawn1-atinn
          AND atzhl = itab_cawn1-atzhl.
        endif.
        if itab_cawnt1[] is NOT INITIAL.
          sort itab_cawnt1 by atinn atzhl.
          loop at itab_cawnt1 INTO wa_cawnt1.
            READ TABLE itab_cawn1 INTO wa_cawn1 with key atinn = wa_cawnt1-atinn
                                                         atzhl = wa_cawnt1-atzhl BINARY SEARCH.
            if sy-subrc eq 0.
           CONCATENATE wa_cawn-atwrt '->' wa_cawnt-atwtb INTO wa_cawnt-pcs.
           MODIFY itab_cawnt FROM wa_cawnt TRANSPORTING pcs.
           wa_pcs-pcs = wa_cawnt-pcs.
              wa_pcs1-atwrt = wa_cawn1-atwrt.
              wa_pcs1-atwtb = wa_cawnt1-atwtb.
              append wa_pcs1 to itab_pcs3.
            ENDIF.
            CLEAR : wa_cawnt1,wa_cawn1, wa_pcs1.
          ENDLOOP.
        ENDIF.
        CLEAR: dynpro_values1, field_value1.
    dynpro_values-FIELDNAME = 'MEPO1211-EMATN'.
    APPEND dynpro_values.
        field_value1-fieldname = 'MEPO1211-ematn'.
        APPEND field_value1 TO dynpro_values1.
        progname1 = 'SAPLMEGUI'.
        dynnum1 = '1211'.
        CALL FUNCTION 'DYNP_VALUES_READ'
          EXPORTING
            DYNAME                               = progname1
            DYNUMB                               = dynnum1
      TRANSLATE_TO_UPPER                   = ' '
         REQUEST                                = 'A'
      PERFORM_CONVERSION_EXITS             = ' '
      PERFORM_INPUT_CONVERSION             = ' '
      DETERMINE_LOOP_INDEX                 = ' '
      START_SEARCH_IN_CURRENT_SCREEN       = ' '
      START_SEARCH_IN_MAIN_SCREEN          = ' '
      START_SEARCH_IN_STACKED_SCREEN       = ' '
      START_SEARCH_ON_SCR_STACKPOS         = ' '
      SEARCH_OWN_SUBSCREENS_FIRST          = ' '
      SEARCHPATH_OF_SUBSCREEN_AREAS        = ' '
          TABLES
            DYNPFIELDS                           = dynpro_values1
       EXCEPTIONS
         INVALID_ABAPWORKAREA                 = 1
         INVALID_DYNPROFIELD                  = 2
         INVALID_DYNPRONAME                   = 3
         INVALID_DYNPRONUMMER                 = 4
         INVALID_REQUEST                      = 5
         NO_FIELDDESCRIPTION                  = 6
         INVALID_PARAMETER                    = 7
         UNDEFIND_ERROR                       = 8
         DOUBLE_CONVERSION                    = 9
         STEPL_NOT_FOUND                      = 10
         OTHERS                               = 11
        IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    READ TABLE dynpro_values1 INTO field_value1 with KEY fieldname = 'MEPO1211-EMATN'.
        LOOP at dynpro_values1 INTO field_value1 WHERE fieldname = 'MEPO1211-EMATN'.
          clear ematn1.
          if sy-subrc eq 0.
            ematn1 = field_value1-fieldvalue.
          endif.
          if ematn1 is not INITIAL.
            clear : wa_cawn1,wa_cawnt1,wa_pcs1,wa_ausp1.
            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
              EXPORTING
                INPUT  = ematn1
              IMPORTING
                OUTPUT = ematn1.
            select *
            FROM ausp
            INTO CORRESPONDING FIELDS OF TABLE itab_ausp1
            WHERE objek = ematn1
            and atinn = param_name1.
            CLEAR itab_pcs4.
            if itab_ausp1[] is not INITIAL.
              sort itab_ausp1 by atinn atwrt.
              sort itab_cawn1 by atinn.
              READ TABLE itab_ausp1 INTO wa_ausp1 INDEX 1.
              loop at itab_cawn1 INTO wa_cawn1 WHERE atinn = wa_ausp1-atinn AND atwrt = wa_ausp1-atwrt.
                READ TABLE itab_cawnt1 INTO wa_cawnt1 WITH KEY atinn = wa_cawn1-atinn
                                                                atzhl = wa_cawn1-atzhl.
                if sy-subrc eq 0.
                  wa_pcs1-atwrt = wa_cawn1-atwrt.
                  wa_pcs1-atwtb = wa_cawnt1-atwtb.
                  append wa_pcs1 to itab_pcs4.
                  wa_pcsn-matnr = wa_ausp1-objek.
                  wa_pcsn-ebelp = field_value1-stepl.
                  wa_pcsn-atwrt = wa_cawn1-atwrt.
                  wa_pcsn-atwtb = wa_cawnt1-atwtb.
                  APPEND wa_pcsn to itab_pcsn.
                ENDIF.
                clear : wa_ausp1,wa_cawn1,wa_cawnt1.
              ENDLOOP.
            ENDIF.
           clear wa_pcs1.
           read TABLE itab_pcs4 into wa_pcs1 index 1.
           if sy-subrc eq 0.
             EKPO_CI-ZPCS = wa_pcs1-atwrt.
           endif.
          ENDIF.
        ENDLOOP.
        CLEAR: field_value1.
        LOOP at dynpro_values1 INTO field_value1 WHERE fieldname = 'MEPO1211-EMATN'.
          clear wa_pcsn.
          if field_value1-fieldvalue is not INITIAL.
            read TABLE itab_pcsn INTO wa_pcsn with key  matnr = field_value1-fieldvalue
                                                        ebelp = field_value1-stepl.
            if sy-subrc eq 0.
              clear  EKPO_CI-ZPCS.
    *EKPO_CI-ZPCS = wa_pcs1-atwrt.
              EKPO_CI-ZPCS = wa_pcsn-atwrt.
            endif.
          endif.
        ENDLOOP.
       CLEAR: field_value1, dynpro_values1.
       progname1 = 'SAPLXM06'.
       dynnum1   = '0111'.
       field_value1-fieldname = 'EKPO_CI-ZPCS'.
       APPEND field_value1 TO dynpro_values1.
       if ematn1 is not INITIAL.
         clear wa_pcs1.
         read TABLE itab_pcs4 into wa_pcs1 index 1.
         if sy-subrc eq 0.
           EKPO_CI-ZPCS = wa_pcs1-atwrt.
         endif.
       ENDIF.
      endif.
    ENDMODULE.                 " STATUS_0111  OUTPUT
    Function exits:
    ^^^^^^^^^^^^^^^^^
    EXIT_SAPMM06E_016
    ^^^^^^^^^^^^^^^^^
    INCLUDE ZXM06U41 .
    DATA XFISTL LIKE EKPO-FISTL.
    TABLES: ADRC, T001W.
    DATA: PLANT LIKE T001W-WERKS.
    SELECT SINGLE * FROM T001W WHERE WERKS = I_EKPO-WERKS.
    SELECT SINGLE * FROM ADRC WHERE ADDRNUMBER = T001W-ADRNR.
    XFISTL = ADRC-SORT2.
    SET PARAMETER ID 'FIS' FIELD XFISTL.
    * Added For PCS 12.11.2010
    DATA : fs_ekpo type EKPO_CI.
    if sy-tcode = 'ME22N' or sy-tcode = 'ME23N'.
    *  if tekpo-zpcs is INITIAL.
    *    message e000(zmm) with 'PCS Type should be chosen'.
    *  endif.
      loop at tekpo.
        if ( tekpo-ebeln eq i_ekpo-ebeln and tekpo-ebelp eq i_ekpo-ebelp ).
          ekpo_ci-zpcs = tekpo-zpcs.
        endif.
      ENDLOOP.
    endif.
    ^^^^^^^^^^^^^^^^^
    EXIT_SAPMM06E_018
    ^^^^^^^^^^^^^^^^^
    INCLUDE ZXM06U40 .
    E_CI_EKPO-ZPCS = EKPO_CI-ZPCS.
    E_CI_UPDATE = 'X'.

  • New field DBT.app_data, new flag DB_DBT_USERCOPY

    Studying the BDB 4.5.20 header file I noticed a new field in DBT:
    void* app_data;
    as well as a new flag:
    DB_DBT_USERCOPY.
    They are not documented. Are they meant to be public?
    Karl

    No.
    The flag and field are used by the Berkeley DB Java API to optimize data copies through JNI, they aren't intended to be public.
    Regards,
    --keith
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Keith Bostic
    Oracle Corporation
    [email protected]
    keithbosticim (Yahoo IM)

  • How to make the  column red in field catalog if its value is negetive

    i am displaying 25 columns in a field catalog ,
    if the value of the cell is negative it should appear in red colour .
    for ex,
    mat.no      custno      value
    1                10             10
    <b>2                20             -10</b>
    3                 30             20
    note:
    only cell which is the intersection of second row and third column
    should appear red .
    not the whole row or column

    Hi Balaji,
    Run this code for coloring specific coloum in a row when the value of that column is negative
    REPORT zex34 .
    TYPE-POOLS: slis.
    INCLUDE <icon>.
    DATA: it_fieldcat  TYPE slis_t_fieldcat_alv,
          it_fieldcat1  TYPE slis_t_fieldcat_alv..
    DATA:  x_fieldcat  TYPE slis_fieldcat_alv,
            x_fieldcat1  TYPE slis_fieldcat_alv.
    DATA: it_events TYPE slis_t_event,
          x_events TYPE slis_alv_event,
          i_program LIKE sy-repid.
    x_events-name = 'END_OF_LIST'.
    x_events-form = 'LIST_MODIFY_OUPUT'.
    APPEND x_events TO it_events.
    data : count type i,
           calc1 type i value 1,
           calc2 type i value 1,
           TOTREC TYPE I.
    DATA: BEGIN OF it_mara OCCURS 0,
          matnr LIKE mara-matnr,
          kunnr LIKE mara-kunnr,
          value type i,
          flag(1),
         END OF it_mara.
    SELECT matnr
           kunnr
           UP TO 10 ROWS
          INTO corresponding fields of TABLE it_mara
          FROM mara.
    loop at it_mara.
         count = sy-tabix mod 2.
       if count eq 0.
         it_mara-value = calc1.
            calc1 = calc1 + 6.
         it_mara-flag = ' '.
       else.
           calc2 = calc2 - 5.
         it_mara-value = calc2.
         it_mara-flag = 'X'.
       endif.
       modify it_mara index sy-tabix.
       TOTREC = TOTREC + 1.
    ENDLOOP.
    i_program = sy-repid.
    DATA:l_pos TYPE i VALUE 1.
    CLEAR: l_pos.
    l_pos = l_pos + 1.
    x_fieldcat-seltext_m = 'MATNR'.
    x_fieldcat-fieldname = 'MATNR'.
    x_fieldcat-tabname = 'IT_MARA'.
    x_fieldcat-col_pos    = l_pos.
    x_fieldcat-outputlen = '18'.
    APPEND x_fieldcat TO it_fieldcat.
    CLEAR x_fieldcat.
    l_pos = l_pos + 1.
    x_fieldcat-seltext_m = 'KUNNR'.
    x_fieldcat-fieldname = 'KUNNR'.
    x_fieldcat-tabname = 'IT_MARA'.
    x_fieldcat-col_pos    = l_pos.
    x_fieldcat-outputlen = '10'.
    APPEND x_fieldcat TO it_fieldcat.
    CLEAR x_fieldcat.
    l_pos = l_pos + 1.
    x_fieldcat-seltext_m = 'VALUE'.
    x_fieldcat-fieldname = 'VALUE'.
    x_fieldcat-tabname = 'IT_MARA'.
    x_fieldcat-col_pos    = l_pos.
    x_fieldcat-outputlen = '10'.
    APPEND x_fieldcat TO it_fieldcat.
    CLEAR x_fieldcat.
    l_pos = l_pos + 1.
    x_fieldcat-seltext_m = 'FLAG'.
    x_fieldcat-fieldname = 'FLAG'.
    x_fieldcat-tabname = 'IT_MARA'.
    x_fieldcat-col_pos    = l_pos.
    x_fieldcat-outputlen = '1'.
    APPEND x_fieldcat TO it_fieldcat.
    CLEAR x_fieldcat.
    l_pos = l_pos + 1.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
         EXPORTING
              i_callback_program = i_program
              it_fieldcat        = it_fieldcat
              it_events          = it_events
         TABLES
              t_outtab           = it_mara
         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.
    *&      Form  LIST_MODIFY_OUPUT
          text
    FORM list_modify_ouput.
      DATA: l_matnr LIKE mara-matnr,
            l_kunnr LIKE mara-kunnr,
            l_value type i,
            l_index TYPE sy-index.
      CLEAR it_mara.
      DO 20 TIMES.
        CLEAR: l_matnr, l_kunnr , l_value.
        READ LINE sy-index INDEX sy-lsind
             FIELD VALUE it_mara-matnr INTO l_matnr
                         it_mara-kunnr INTO l_kunnr
                         it_mara-value into l_value.
    *3lines are reserved for alv headings , so i am reading it form 4th
    *line so 4th line is equal to 1st line of itab
        IF sy-subrc = 0 AND sy-index GE 4.
          l_index = sy-index - 3.
          READ TABLE it_mara INDEX l_index.
          IF sy-subrc = 0 AND it_mara-flag = 'X'.
    *-Modifying current list
            MODIFY LINE sy-index INDEX sy-lsind
                       FIELD FORMAT it_mara-VALUE COLOR 6 INVERSE.
          ENDIF.
        ENDIF.
      ENDDO.
    ENDFORM.

  • How do I create a time field that's export value is 3 hours ahead of the current time?

    I need to create a field on one of our forms that takes the current time from another field and adds 3 hours to it. The JavaScript to pull the current time is:
    var tm = this.getField("Time");
    if(tm.value == '' || tm == ' ') tm.value =
    util.printd("HH:MM tt",new Date());

    Does your posted script work as expected?
    It does not fill-in the field for me.
    Is that code to get the time from a field or set the time for a field?
    Is the field you are trying to update?
    A time string for a computation is very limited or error prone unless it includes the date. There are many locations in the world that still observe Day Light Savings Time or Summer/Winter time and the time either moves forward one hour or falls back one hour at a certain date and time as prescribed by national or local law. So if one want to add 3 hours 1 hour before the time sift for the spring that would be 11:00pm adding 3 hours would result in a time value of 3:00 am the next day and not 2:00 am the next day. The hour between 1:00 am and 2:00 am does not exist for the local time zone.

  • How do I calculate the a grandtotal field adding 3 numberic values that are calculate in the form

    Currently I am creating a form:
    Hours
    Rate
    Total
    Hours 1 (manually entered)
    Rate 1 (manually entered)
    Hours 1 * Rate1
    Hours 2 (manually entered)
    Rate 2 (manually entered)
    Hours 2 * Rate 2
    Hours 3 (manually entered)
    Rate 3 (manually entered)
    Hours 3 * Rate 3
    Total
    Grand Total of three columns above
    Currently I wrote the formcal as:
    sum (Amount_Total1, Amount_Total2, Amount_Total3)
    however when I check the form, I get an error message that says that Grand Total is unknown and Amount_Total1 is unknown however, the Amount_Total1 field does calcuate the total of hours1 X rate1.
    what am I doing wrong?
    Currently I'm using LiveCycle ES 8.2

    make sure you have the right somExpressions for the sum()

  • New field in ODS - data value does not flow after activation

    Hi,
    We have an ODS with some data in it. Now i added a new key figure to the ODS and changed the transfer and update rules accordingly.
    The value for this key figure appears in the PSA and the ODS table *40 (before activation table), but after activation the value does not flow to the activated ODS table *00.
    Any idea why this is happening?
    Pl let me know.
    Regards,
    Pradhiba

    Hi Pratibha
    I did not found anything wrong with key figure 0OI_WRBTR in BW system.
    Please check the contents of active table in *00 table using SE16 and also using tcode LISTCUBE.
    I hope you are not selecting wrong key figure while looking at active data of ODS.
    Regards
    Pradip

  • How to create customer specific fields within PC 10.0?

    Hello,
    for previous Process Controls versions 2.5 and 3.0 it was available two how-to guides to create customer specific fields. Nevertheless so far I couldn't find those versions for PC10.0.
    Does anyone have them? Or know if the 3.0 version is also valid for 10.0?
    Regards
    Andre Yuji

    Dear Johannes,
    We have a few administration transactions that you can use on back-end. For example:GRFN_STR_CHANGE -GRFN_STR_CHANGE-Change Process Control
    as well as RE_RHGRENZ4 to  Set a new end date to the objects.
    At last case, you can run the program RHRHDL00 thru SE38 Tcode.Be carefull because this program delete the object from database.
    Regards,
    Karina Atonaidan

  • How to add a new field to an existing Generic Search result list?

    Good day,
    I'm new to the concepts of the Generic Search Framework.  I'm attempting to add a new field to an existing result list, and have that new field restricted to a value of "C".  This new field will not be displayed, it is only used to ensure that Invoice Documents with a DocStatus of "C" are returned to the B2B Application.
    From the *modification\generic-searchbackend-config.xml file, the existing
    <h4><property-group name="billing_resultlist_B2B_R3">
      <property name="BILLINGDOC" columnTitle="sbt.sbs.genericsearch.billing.invoice.title" parameterType="rowkey" hyperlink="b2b/documentstatusdetailprepare.do" linkParamClass="com.sap.isa.ui.uiclass.genericsearch.GenericSearchUIDynamicContent" linkParamMethod="buildAttributesForBillingDocumentDetails" linkTargetFrameName="form_input" />
      <property name="BILL_DATE" type="date" columnTitle="status.sales.date" writeUnderProperty="BILLINGDOC" defaultSortSequence="DESCENDING" />
      <property name="NET_VALUE" type="number" columnTitle="status.billing.detail.netvalue" fieldOutputHandlerClass="com.sap.isa.ui.uiclass.genericsearch.GenericSearchUIDynamicContent" fieldOutputHandlerMethod="buildBillingNetValue" cssClassName="amount" />
      <property name="CURRENCY" type="hidden" />
      <property name="PAYER" columnTitle="gs.hd.gl.partner" linkParamClass="com.sap.isa.ui.uiclass.genericsearch.GenericSearchUIDynamicContent" linkParamMethod="buildShowPartnerLinkSales" />
      <property name="PAYERS_GUID" type="hidden" />
      <property name="SD_DOC_CAT" type="hidden" />
      <property name="OBJECTS_ORIGIN" type="hidden" />
    </property-group>
    </h4>
    I'm trying to better understand how the R/3 tables and columns are specified in the Generic Search Framework.  I know that the R/3 table and field is: VBRK.RFBSK, but in the configuration XML files, I never see this exact information specified.   How it is specified to be a part of the result set?
    After reading the section in the Development and Extension Guide, I also learned about the "allowedValue" definition, and I believe that I will use that to specify the "C" value for the Invoice Document Status field.
    I would greatly appreciate any help.
    Thanks,
    _kevin

    Hi Kevin,
    this means you are working in this section of the generic-searchbackend-config.xml
                 <property-group name="SearchCriteria_B2B_Billing"
                                 useSearchRequestMemory="true">
    Below this property
                    <property name="IRT_BDH_BILL_TYPE"                    
                              type="box"
                              entityType="BEART_BILL_TYPE"
                              tokenType="EXP"
                              requestParameterName="rc_documenttypes"
                              label="gs.att.lbl.doc.type"
                              UIJScriptOnChange="GSloadNewPageR3(this);">
                        <allowedValue value="ORDER"           description="b2b.status.shuffler.key1val2"/>                   
                        <allowedValue value="QUOTATION"       description="b2b.status.shuffler.key1val1" />
                        <allowedValue value="INQUIRY"         description="b2b.status.shuffler.key1val11" />
                        <allowedValue value="ORDERTMP"         description="b2b.status.shuffler.key1val3" />
                        <allowedValue value="CONTRACT"        description="b2b.status.shuffler.key1val4" />
                        <allowedValue value="INVOICE"         description="b2b.status.shuffler.key1val5"  default="true"/>
                        <allowedValue value="CREDITMEMO"      description="b2b.status.shuffler.key1val6" /> 
                        <allowedValue value="DOWNPAYMENT"     description="b2b.status.shuffler.key1val7" />
                        <allowedValue value="AUCTION"         description="b2b.status.shuffler.key1val9" />
                    </property>
    please try adding this new property
                    <property name="DOCUMENT_STATUS(1)"
                              entityType="CL_CRM_REPORT_SET_STATUS"
                              tokenType="RAN"
                              type="hidden"
                              requestParameterName="rc_status_head1" value="C" />
    This should do the trick. Unfortunately, I don't have a E-Commerce scenario with an ERP backend for testing purposes available to you have to test it yourself. Keep me updated with the test results !      
    Philipp Koock
    SAP CRM Web Channel Consultant
    http://www.koock.net

  • Can we add new field in standard idoc segment ?

    HI all,
    My requirement is to add new field in segment named E1EDL44  (Idoc named - DELVRY03).
    Please guide me how to proceed.
    thanks
    manish

    Hi Manish,
    You cann't add any new fields into any of the standard segments like E1EDL44 segment.
    Inorder to achieve this you need to do the following:-
    Create a new segment and with the new fields and this new segment should be added as a child segment to the E1EDL44 segment.  You need to write a piece of code to populate that new segment in the userexit.  You should create a extension for your basic type DELVRY03.  This way you can achieve this scenario.
    Thanks,
    Mahesh.

  • Add fields into a new tab page

    Hi!
       I am in cProject 4.0 and there is a functionality to add new tab pages with fields in cProject components. The IMG activity is Collaboration Projects -> Global Enhancements to Project Elements -> Show Additional Tab Page in cProjects.
       The help for this activity specified that I only need customized it to works as well. It does not specified if I have to develop some extra BSP or webdynpro to work. I tried to put a new field in a new tab page in Project Definition, but only the new tab was showed. The new tab is empty.
       I know that in cProject 3.0 it was necessary a BSP development. Is it necessary develop a BSP in 4.0 too?
    Regards,
    Rafael Soares

    Hi Vivek, how are you ?
    I hope that you can clarify my doubts !
    I created my own Web Dynpro Aplication and assigned it in the customizing from cProjects.
    My aplication use fields the others tables (Z) and fields from table DPR_PROJECT (enhance CI_DPR_PROJECT). So, the logic to read and write my Z tables is working, but my problem is How Can I update the fields from CI_DPR_PROJECT structure ?
    I imagine that I need to read the container from UI standard, but until the moment I can't resgate these values. In customizing is that if I use the fields from CI_DPR_PROJECT the update will be automatically.
    Thank you very much,
    Milena

  • IDOC - add new field in in existing segment definition

    Hi,
    For segement type say Z1MARA1 if we need to add a new field in segement definition say Z2MARA1 SAP is not allowing to add new field if we tried to cancelled the realsed 30E it not allowing since the SAP realease which we are working is 640 so only we can create new segement defination with version Z2MARA1001 with new field added but issues is that the partner Profile for outbound parameters the Segment release in IDOc Type is 31I so if we change this segment release in IDOC type to new version ie., 640 then it will pick all the new segement associated with it due to which the the format in which we pass the segements to third party will change so is there any way to use the existing segment definition which is release 30E & add addition field to it. Only one way I found is that when i try to cancel the released message is trigger so in the debug if I make it success it allows to add new field in existing segment definition but which is wrong way of doing is there any way we can used same segment definition & add new field without adding new version & new released.
    Thanks in advance.
    Rajeev

    Varma,
    I know that we can add new segement with new version my question is existing segement definition can we add a new filed because in partner profile we specified release 31i so even we create new segement type then version will be 640 so it will not pick the latest version.
    Thanks
    Rajeev

  • Giving problem after I included the new field to MCHB table.

    Hi Friends,
    I added one new field called ZZINQNUM to the MCHB table.For this field I created one new data element called ZVBELN_INQUIRY and attached domain VBELN.
    Activated and adjusted  the table.
    Now what the problem is
    I went to SE11 -> Display - > Selected the contents -> In selection screen, I double clicked the ZZINQNUM select-option and selected the equal to space option. For this I am expecting all the records from the table,because in the field ZZINQNUM is empty. But result is zero entries.
    Can any one help me out in this. Thanks in advance.
    Thanks
    Srinu

    Hello Srinivasa
    Two years ago I had the very same problem when I added a new field to an already existing and filled customer table. I debugged the maintenance view and saw that the new field contained an undefined value but not the initial value.
    You could try and use the DB utility (<b>SE14</b>) and activate the table again (of course without deleting the table entries).
    Alternatively, you could write a simple ABAP to initialize the field value, e.g.:
    DATA:
      gs_mchb   TYPE mchb,
      gt_mchb    TYPE STANDARD TABLE OF mchb.
      SELECT * INTO TABLE gt_mchb.
      gs_mchb-zvbeln_inquiry = ' '. " space
      MODIFY gt_mchb FROM gs_mchb
        TRANSPORTING zvbeln_inquiry
        WHERE ( zvbeln_inquiry ne ' ' ).
      UPDATE mchb FROM TABLE gt_mchb.
    Regards
      Uwe

  • Creating custom Metadata fields

    When I import images I need to add contact details of property owners and there's sometimes 2 or 3 owners so I've created a custom Metadata preset and used the "other" tab at the bottom of the Metadata inspector to add the fields: "Contact 2", "Contact 3" and "Cell phone", "Email" etc.
    The problem I have, is that I can add a new field in the "New Custom Metadata" box at the top of that tab, but the "+" symbol remains greyed out unless I enter characters into the Metadata value field. However, entering "placeholder" characters into the value field in order to activate the "+" symbol seems crazy because I'm creating a template, and the data will be different every time I import and I don't want to have to delete the placeholder characters when I'm importing. I just want to have custom fields and a blank box for data entry beside ready for me to fill it in when I import. Is this possible?

    A metadata field of type boolean will be a checkbox as long as there is no lookup associated with it.
    If you assign a lookup to it (either when you create the field, or in the group), then you will see it with a lookup.

  • Data not loading for new Fields InfoObjects from DSO to InfoCube

    Hi Gurus -
                   I have a DataSource that is providing data to existing DSO then to Infocube. My client asked me to added couple fields to DataSource and get the data to DSO and then DSO to InfoCube.
    Here is the Old scenarion:   DataSource -> DSO -> InfoCube.
    Here is the New Scenation:
         DataSource ( Added new fields) -> DSO (added new InfoObjects for Corresponding DataSource FIelds) -> InfoCube( Added new InfoObjects to mapped from DSO)
    I added the new fields to DataSource, added the corresponding InfoObjects to DSO and InfoCube.
    I successfully loaded data from DataSource to DSO. Data is populating for the new Fields/InfoObjects in DSO.
    But when I load data from DSO to InfoCube, I don't see any data for New Fields InfoObjects in the InfoCube.
    Data from DSO to InfoCube is loading fine for the Old InfoObjects Fields but not for the New InfoObjects I added in InfoCube.
    -Sonali

    Hi,
    Why dont u debug the load through DTP debugging and check what happens to the source field and target field once it passes through the transformation. You can easily trace back where the fields are becoming blank.
    The loads which you have mentioned earlier did it have values in Added Records/Transferred Records column for the cube.
    Regards,
    Mani

Maybe you are looking for

  • Fields Missing in Form Response File CSV Export

    I've distributed a survey designed in LiveCycle 8.2 which has been completed by a number of users and returned via email.  I then imported those submitted forms in to the repsonse file.  When I export those responses in a CSV (and pull them in to Exc

  • Dance music 'Whoosh' effect

    I have been searching online for samples of that 'white noise sweeping whoosh' effect that you hear on alot of dance music, but am having a great deal of trouble finding anything decent. It occurred to me at this point that maybe I could make one mys

  • My OS X Mavericks Download doesn't start! Why??

    hi, i want to download os x mavericks but every time i click on the button an error occurs! Can someone help?

  • How to speedup delete process.

    Hi All, In our production database(ORACLE 9.2.0.7), we are having a table of 45GB having 40crore records(this includes 60 stores items). Now they are planning to delete the items which are of not useful. So they are runniing query like DELETE FROM <T

  • Problem importing photos in Aperture

    Having problem importing pics from finder into Aperture. When I click import and follow the path to the folder holding pics, "processing" icon spins briefly but nothing appears on screen. Folder holds at most 100 pics so I don't think thats the probl