Table not getting populated

hi
i tried this
[code]
DECLARE
v_Counter number := 1019381;
BEGIN
WHILE v_Counter <= 969 LOOP
INSERT INTO tdn3 (PCVR_SYS_ID,pcvr_pol_sys_id,pcvr_code,PCVR_SI_CURR_CODE) VALUES (v_Counter,1,6007,001);
v_Counter := v_Counter + 1;
END LOOP;
END;
COMMIT
[/code]
could anybody guide me as to why the table tdn35 isnt getting populated.
thanking in advance

hi
i had that figured out   after posting but almost at the same time got another issue
DECLARE
v_Counter number := 1019381;
BEGIN
WHILE v_Counter <= 1020350 LOOP
INSERT INTO tdn3 (PCVR_SYS_ID,pcvr_pol_sys_id,pcvr_code,PCVR_SI_CURR_CODE) VALUES (v_Counter,1,6007,'001');
v_Counter := v_Counter + 1;
END LOOP;
END;
COMMIT
i want to populate the column pcvr_pol_sys_id of table tdn3 with data of column pcvr_pol_sys_id of table dn3
only here tdn3.pcvr_code=6007
i tried
update tdn3 s
   set s.PCVR_POL_SYS_ID = (select e.PCVR_POL_SYS_ID
                  from dn3 e
                  where
                    e.pcvr_si_curr_code = s.pcvr_si_curr_code
                    and rownum < 2
where s.pcvr_code in (6007)
tdn3 structure
pcvr_pol_sys_id    pcvr_code
      1                     6007
      1                     6007
      1                     6007
      45465               6001
     6789                 6001
      6868                6001
   table dn3  
pcvr_pol_sys_id                pcvr_code
    45465                            6001
    6789                              6001
   6868                               6001
kindly guide
thanking in advance
cheers
Lincy

Similar Messages

  • Users details not getting populated in the portal tables..

    Hi,
    We have implemented single sign on (SSO) and we do not create users in the portal as user/pwd come from OID.
    Now becoz of this the portal tables are not getting populated.I require that all the users of the OID to be populated in the portal tables. How can I do it.I depserately require it.

    You can use the function wwsec_api.activate_portal_user to create the shadow records in the portal repository.
    Ref. : http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/wwsec_api.html

  • XREF3 field not getting populated in BSEG table while posting MIRO

    Hi,
         I have one query in MIRO tcode.I have activated xref3 field in MIRO tcode using enhancement LMR1MF6Q.Now when i try to post document with some values in xref3 field on screen ,value is not getting populated in BSEG table.Please tell me what else needs to be done to achieve this ?
    any hint on this?
    Thanks & Regards,
    Soniya S.

    Hi,
    1.- According to SAP Note 904652 - MIRO: Different from FB60
    https://service.sap.com/sap/support/notes/904652
    MIRO is an independent Materials Management (MM) transaction that does not
    claim to be the same as the accounting transactions (such as FB60 or FB01).
    MIRO was developed to allow users to process vendor invoices within the
    context of the MM procurement processes as simply as possible.
    For this reason, among other differences, the field selection was limited
    to the absolutely necessary. For example, the following fields from the
    accounting document are not available in Transaction MIRO (this list is not
    complete):
    Reference key (BSEG-XREF1, -XREF 2, -XREF 3)
    2.- SAP Note 1156325 - BAdIs in the Logistics Invoice Verification environment
    https://service.sap.com/sap/support/notes/1156325
    Have a look at badi MRM_ITEM_CUSTFIELDS.
    This badi will create a new tab at item level in order to display the new fields.
    I haven´t used this badi so i cannot talk from experience here.
    Think twice before deciding.
    Best regards.

  • Table PPFTTRIGG not getting populated

    Hi,
    I am in the process of solving an issue where some of service confirmations are locked. Some of the service confirmations are not getting sent from CRM to ECC system. If we run the program RSPPFPROCESS, it picks up the actions from table PPFTTRIGG and sends it. However all this works only if the table PPFTTRIGG gets populated with the actions. How does this table get populated? I have not found anything in the where used list of the table or in the BADIs.. Does the configuration in SPPFCADM have anything to do with it? Please help me.
    Edited by: NeenaJ on Dec 26, 2011 12:52 PM

    Hi,
       You are trying to pass too many fields for the structure (wwt_fields) .
       Look at the FM 'RFC_READ_TABLE' for 'RAISE DATA_BUFFER_EXCEEDED' you'll have an idea.
    Regards,
    Srini.

  • Field in ALV not getting populated

    Hi all,
               I need some help. I am displaying an ALV with fields.
        GROUP     G/L ACCOUNT     Local currency       USD     Period
           100              10                       5                       5           12
           100               11                      6                       4            12
      now i have added an extra field TXT20 in the as last field of structure
        GROUP     G/L ACCOUNT     Local currency       USD     Period      TXT
           100              10                       5                       5           12          aa
           100               11                      6                       4            12         ab
    TXT should come as 3rd coloumn in the output.
    EXAMPLE:
         GROUP     G/L ACCOUNT       TXT      Local currency  USD     Period     
           100              10                      aa                  5              5           12         
           100               11                     ab                   6             4            12        
    I have changed the coloumn positions in the field catalog accordingly and I have not written or changed any select queries from earlier output.
    now my problem is PERIOD field is not getting populated in the ALv,the data is visible in the IT_FINAL which I am passing to Reuse_alv_grid_display. the field catalog is also getting build properly.
    so plz suggest some changes so that I can move ahead.

    Hi
      I don't know what's the reason and now I have no environment to test it, but you can try other way:
      1. define your fieldcate one by one as the sequence of your output like
          GROUP         G/L ACCOUNT          TXT           Local currency         USD          Period
          In this situation, you needn't use component -- position of fieldcate structure. Pay attention to
          fieldname in upper case.
       2. If only doing step1 has no effect, then adjust your structure of internal table. Sequence your
           component of IT_FINAL as the output field like step1.
       If still no effect, please let me know.

  • IS Retail - Inventory - Retail price BWGV0 is not getting populated

    Hi ,
    We have activated IS retail industry specific indicator in SBIW. Fo some reason when I do RSA3 in '2LIS_03_BF' , all the stock movements are displayed but the retial price field BWGV0 is not getting populated. Do you guys have come across this situation ? Please let me know.
    Thanks
    Hareesh

    Some documents below might worth taking look..
    Process key logic for MM inventory can be found in OSS note 492828
    Logic for MM purchasing can be found in note 684465
    Activating the process key logic in R/3 for MM should be as simple as setting the correct industry in MCB_ (also found under SBIW), but if it doesn't work look at OSS note 353042. In the end haveto use trans BF11 to add an entry to a table, even though the plugin is 2003.1 on R/3 4.6C.
    352344
    492828 Determining the transaction key for 2LIS_03_BF + 2LIS_03_UM
    Hope it Helps
    Chetan
    @CP..
    Hope it Helps
    Chetan
    @CP..

  • OVS value not getting populated in field

    Hi Experts,
    Kindly suggest me a solution for the below given issue.
    I have added three custom fileds to an already existing WD Coponent.
    And also added OVS help as an input help method to these fields.
    If I right click on the WD application and TEST, the application opens in browser and I am able to select the value from OVS list.
    If I run the application by copying the URL and paste it in the browser, or clicking on Portal link, if we select the value from OVS list that value is not getting populated in the field.
    Below is the logic I have written.
    method ON_OVS_PAYMENT .
    TYPES:   BEGIN OF ty_payment,
                 payment TYPE char4,
                 desc    TYPE char30,
               END OF ty_payment.
    * declare data structures for the fields to be displayed and
    * for the table columns of the selection list, if necessary
      types:
        begin of lty_stru_input,
    *   add fields for the display of your search input here
          payment type char4,
    *      desc    type string,
        end of lty_stru_input.
      types:
        begin of lty_stru_list,
    *   add fields for the selection list here
          payment type char4,
          desc    type char30,
        end of lty_stru_list.
      data: ls_search_input  type lty_stru_input,
            lt_select_list   type standard table of lty_stru_list,
            ls_text          type wdr_name_value,
            lt_label_texts   type wdr_name_value_list,
            lt_column_texts  type wdr_name_value_list,
            lv_window_title  type string,
            lv_group_header  type string,
            lv_payment       type string,
            lt_payment       TYPE TABLE OF ty_payment,
            ls_payment       TYPE ty_payment,
            lv_short         TYPE string,
            lv_table_header  type string.
      field-symbols: <ls_query_params> type lty_stru_input,
                     <ls_selection>    type lty_stru_list.
      case ovs_callback_object->phase_indicator.
        when if_wd_ovs=>co_phase_0.  "configuration phase, may be omitted
    *   in this phase you have the possibility to define the texts,
    *   if you do not want to use the defaults (DDIC-texts)
          ls_text-name = `PAYMENT`.  "must match a field name of search
          ls_text-value = `Terms of payment`. "wd_assist->get_text( `001` ).
          insert ls_text into table lt_label_texts.
          ls_text-name = `PAYMENT`.  "must match a field in list structure
          ls_text-value = `Terms of Payment`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ls_text-name = `DESC`.  "must match a field in list structure
          ls_text-value = `Description`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ovs_callback_object->set_configuration(
                    label_texts  = lt_label_texts
                    column_texts = lt_column_texts
                    group_header = lv_group_header
                    window_title = lv_window_title
                    table_header = lv_table_header
                    col_count    = 2
                    row_count    = 20 ).
        when if_wd_ovs=>co_phase_1.
          ovs_callback_object->context_element->get_static_attributes(
              importing static_attributes = ls_search_input ).
    *     pass the values to the OVS component
          ovs_callback_object->set_input_structure(
              input = ls_search_input ).
        when if_wd_ovs=>co_phase_2.
          if ovs_callback_object->query_parameters is not bound.
    ******** TODO exception handling
          endif.
          assign ovs_callback_object->query_parameters->*
                                  to <ls_query_params>.
          if not <ls_query_params> is assigned.
    ******** TODO exception handling
          endif.
    *     call business logic for a table of possible values
    *     lt_select_list = ???
          lv_short = <ls_query_params>-payment.
          CALL FUNCTION 'ZSIILESD001' DESTINATION 'LOGICALE22'
          EXPORTING
          i_payment             = lv_short
          TABLES
          ET_PAYMENT            = lt_payment.
        lt_select_list[] = lt_payment[].
          ovs_callback_object->set_output_table( output = lt_select_list ).
        when if_wd_ovs=>co_phase_3.
    *   apply result
          if ovs_callback_object->selection is not bound.
    ******** TODO exception handling
          endif.
          assign ovs_callback_object->selection->* to <ls_selection>.
          if <ls_selection> is assigned.
            ovs_callback_object->context_element->set_attribute(
                                   name  = `PAYMENT`
                                   value = <ls_selection>-payment ).
          endif.
      endcase.
    endmethod.

    Hi Pradeep,
    I don't think it really make any difference to the application run if we run from SE80 or run via application url.
    Try to set the external break point in OVS PHASE3 for your user. Check if the break point is reached and data is set after selection from OVS.
    Regards,
    Rama

  • Values not getting populated in the o/p

    Hi,
    I have a requirement,where in which I have to add MRP Controller(marc-dispo) and production scheduler(marc-fevor) fields in the selection screen and the same should be added in the o/p.These fields are not getting populated in the o/p,even if I give some values for these fields in the selection-screen.What would be the reason for this?
    Regards,
    Hema

    Dear Hema,
    Could you please tell me how many internal tables you are using to store the data for display.
    I observerd that you have lt_stock and lt_mat2 declared in the part of the program
    >DATA: lv_stock TYPE lty_stock.
    >DATA: ltmat2 TYPE TABLE OF lty_mat.
    you have displayed above, however you are also using ls_stock and lv_stock .
    >IF p_ztotal = ' '. "line
    >WRITE 18 ls_stock-matnr.
    >WRITE 38 lv_stock-strgr.
    >
    >ELSEIF ztotal = 'S'.                             "subtotal
        >WRITE: 15 ls_stock-nrmit.
        >WRITE 32 lv_stock-dispo.                    
        >WRITE 43 lv_stock-fevor.                      
      >ELSE.                                            "total
        >WRITE: 15 'TOTAL'(016), ls_stock-prgrp.
    >
      >ENDIF.
    Are those for displaying some other information?
    Also the problem of display you are facing can also be because there are no records to be displayed which satisfies the selection criteria.
    Best Regards,
    Rajesh.
    Please reward points if found helpful.

  • Search Help for Vendor Feild not getting populated in the Screen Element

    Hi Everyone,
    In transaction Miro, I get a POP-UP for Invoicing Party i.e. Vendor and Users required a custom search help.
    The Search help for Vendor(LIFNR) is KRED_C and i appended a Z search help under this.
    Now that the search help exists and I can drill down the values too but when i select/choose any value,  that value is not getting populated in Screen feild.
    is there any validation I need to do for this.
    Please suggest me... I checked SDN there are many things but i couldn't figure out wat i need to do and where I need to modify.
    Regards,
    Raj

    Dear Hema,
    Could you please tell me how many internal tables you are using to store the data for display.
    I observerd that you have lt_stock and lt_mat2 declared in the part of the program
    >DATA: lv_stock TYPE lty_stock.
    >DATA: ltmat2 TYPE TABLE OF lty_mat.
    you have displayed above, however you are also using ls_stock and lv_stock .
    >IF p_ztotal = ' '. "line
    >WRITE 18 ls_stock-matnr.
    >WRITE 38 lv_stock-strgr.
    >
    >ELSEIF ztotal = 'S'.                             "subtotal
        >WRITE: 15 ls_stock-nrmit.
        >WRITE 32 lv_stock-dispo.                    
        >WRITE 43 lv_stock-fevor.                      
      >ELSE.                                            "total
        >WRITE: 15 'TOTAL'(016), ls_stock-prgrp.
    >
      >ENDIF.
    Are those for displaying some other information?
    Also the problem of display you are facing can also be because there are no records to be displayed which satisfies the selection criteria.
    Best Regards,
    Rajesh.
    Please reward points if found helpful.

  • Currency Field - KOMK-WAERK not getting populated

    Dear All,
    In my infoset, i am reading the value from KONV table. But when i generate the infoset, system prompts a Warning Message saying:
    Currency Field KOMK-WAERK will not be filled. Affected currency amount fields: (& it gives out the list of fields).
    In my data section when i put TABLES KOMK, then the message does not appear, but the currency field still does not get populated when i execute the query.
    Any suggestions as to how i can make the currency field populate in my output?
    Await inputs.
    Anyone to help?
    Edited by: Vivek on Feb 9, 2008 8:51 PM

    Is not KOMK a structure, you need to fill this structure. Try to map required fields as following :
    CLEAR KOMK.
    KOMK-MANDT = SY-MANDT.
    KOMK-KALSM = VBDKR-KALSM.
    KOMK-FKART = VBDKR-FKART.
    KOMK-KAPPL = 'V'.
    IF VBDKR-KAPPL NE SPACE.
    KOMK-KAPPL = VBDKR-KAPPL.
    ENDIF.
    KOMK-WAERK = VBDKR-WAERK.
    KOMK-KNUMV = VBDKR-KNUMV.
    KOMK-VBTYP = VBDKR-VBTYP.
    KOMK-BUKRS = VBDKR-BUKRS.
    KOMK-BELNR = VBDKR-VBELN.
    Regards

  • Values not getting populated in the SMOPCCAPRO

    Hi,
    We had added a new field to CPGProduct in component CPGOE_ABLOCKS. But the extension field was not included to the BOL structure automatically.
    So ,we had used the SAP note 1472567 to add the include structure INCL_EEW_MKTPL_PRD to structure CRMS_MKTPL_CPG_PROD which inturn would rectify our BOL  structure CRMS_MKTPL_IB_CPG_PROD.
    The field which we had added using AET was added in tables CRMD_MKTPL_PROD and SMOPCCAPRO. But we are facing an issue that the values are not getting populated in the SMOPCCAPRO table on save.The values are gettign populated in the CRM table.
    Do we need to implement any other SAP note on the midleware side too to rectify this issue as i infer some interface structure would be missing this field which results in the truncation of value from being passed to the CDB table . Any pointers in this regard would be helpful.
    Thanks
    Swapna.

    Hi Swapna,
    as the CDB table has been extended with the new field I assume that you have enabled the mobile flag for the enhancement.
    Then it will also extend the mobile BDOC and the data should be transfered automatically.
    If this does not happen there's an error somewhere. Either the middleware is not set up properly or the mapping routine does not transfer the fields properly.
    I recommend to raise an OSS message for this.
    Best regards
    Matthias

  • Master table, detail table, detail table not getting refreshed selection

    i have a page where i am displaying data as master table and detail table. both table VOs are based on SQL queries which use bind variables.
    i have a view link between vos of type 1:M
    i created master table detail table page by dropping detail iterator from data control panel under master and selecting master table detail table
    on my page i see detail table records getting populated only for first record of parent table.
    on changing parent record, child table shows same records and does not refresh
    i am using partial triggers on both tables to be populated on a button click as i need to pass some bind variables to VOs which are taken as input from users
    how can i show corresponding rows in detail table when parent record in table changes
    will i have to use table selection listener
    is it possible declaratively to have master detail table view when both VOs have bind variables
    jdev 11 1 1 5

    these are the SQLs used
    Parent SQL Based VO Query
    SELECT to_char(d.status_date,'yyyymmddhh24') TIME123, count(DISTINCT d.c4)
    FROM t1 d,
    t2 w
    WHERE w.c1 = nvl(:ou, w.c1)
    AND UPPER(w.c2) = UPPER(nvl(:tt, w.c2))
    AND d.c3 >= :startTime AND :startTime IS NOT NULL
    AND d.c3 <= :endTime AND :endTime IS NOT NULL
    AND d.c4 = w.c4
    AND UPPER(d.status) = 'CLOSED'
    GROUP BY to_char(status_date,'yyyymmddhh24') ORDER BY to_char(status_date,'yyyymmddhh24') DESC
    Child SQL Based VO Query
    SELECT w.c1,
    w.c5 - w.c6 processing_time,
    w.c3,
    w.c6,
    w.c7,
    w.c8,
    to_char(d.status_date,'yyyymmddhh24') TIME123 FROM t1 d,
    t2 w
    WHERE w.c2 = nvl(:ou, w.c2)
    AND UPPER(w.c3) = UPPER(nvl(:tt, w.c3))
    AND d.c4 >= :startTime AND :startTime IS NOT NULL
    AND d.c4 <= :endTime AND :endTime IS NOT NULL
    AND d.c1 = w.c1
    AND UPPER(d.status) = 'CLOSED' ORDER BY to_char(status_date,'yyyymmddhh24') DESC
    view link is based on column TIME123

  • JCDS table not getting updated

    Hi,
    After creating a Service Order, I find Object Number OBJNR in Table JEST. But the same is not getting populated in Table JCDS. What could be the possible reasons ?
    Thanks.
    Raj

    Hello Manish,
    I executed the said report and getting the following result:-
    Repair: Status for PM/CS Orders
    UPDATE MODE
    Header
    Operations
    Components
    No orders found            with missing status information
    END OF PROGRAM
    What is the inference ? Have I missed out any config ?
    Thanks.
    Raj

  • Salesrep LOV not getting populated

    salesrep LOV is not getting populated at Customer master, Sales order, Service Contract or at ny other level.
    only no sales credit value is seen.
    dose any one have fix for this issue

    select * from jtf_rs_salesreps
    Did you see data from this table? Did you import the resources with the proper roles and groups? Please check the Importing Resources process.

  • Sales data not getting populated for Material master by LSMW.

    Hi,
      When I am trying to create material manual for sales view material is getting created and the table MVKE(Sales Data for Material) is getting populated with the sales data. But when i Am trying with LSMW METHOD
    Object          :     0020  
    Method          :     0000               
    Program Name    :     RMDATIND           
    Program Type    :     D(Direct Input)
        materials are geeting created but the sales data is not getting populated in the table MVKE(Sales Data for Material) and LSMW program also not showing any error.
    Can any one tell me what is teh problem here.
    Thanks,
    Naren.

    Hi,
    along with VKORG, VTWEG in <b>BMM00</b> are you mapping the below one's also.
    BMM00-XEIV1 = 'X'. "sales 1 view
    BMM00-XEIV2 = 'X'. "sales 2 view
    this will enable the sales(1/2) view.
    Check it once..
    Regards
    vijay

Maybe you are looking for

  • Noisy display on Startup (iMac Intel 20")

    Hello to all, Saturday 4 feb, I've brought a new iMac 20" IntelDuo, and on startup, when is showed the grey Apple logo and the loading icon, the image is noisy. After the screen become blue and the system starts normally. This problem happen when the

  • Date Format in dd-mm-yy in system preferences

    Hi, I am new to Mac - I was trying to change the system date as dd-mm-yy. Unfortunately not, I've changed the system preferences to my local language - but that didn't work. Kindly note that I need this for all my applications viz. Excel, Outlook etc

  • How to send Service Ticket from CRM to Solution Manager.

    Hi all, at present we are creating service tickets relevant to SAP operations in our CRM instance and we plan to continue to do so. We also would like to forward these created service tickets to the Solution Manager Service Desk. There is functionali

  • Can't run some programs after system restore to remove virus

    Hi, My duaghter's Toshiba had a nasty virus that pretended to be an antivirus software product, that snuck in, between the time her default Norton service expired and I had the time to install Trend. Could not remove it using Trend, so upon advice fr

  • Functionnel need

    Hi, I am a beginner in abap developement. I have started my final project study that aims to make flexible the booking process and transfer of raw materials and semi-finished. Now I'm a little lost in my functional needs entitled as follows: -managem