Problem in getting data form serch help .

Hi experts ,
i am using function module F4IF_FIELD_VALUE_REQUEST to ge the values in a button click .
i want to fill the values to be filled in the screen fields automatically when i click of a perticular line.
please help me out.
thanks in advance .
Naval bhatt

Hi,
DATA : v_return LIKE  ddshretval OCCURS 0 WITH HEADER LINE.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_idn1-low.
**--Value help for service provider
  PERFORM value_help_serprovider USING  c_add c_low.
FORM value_help_serprovider USING p1_field p1_text.
SELECT werks INTO TABLE i_t001w
  FROM t001w.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
         EXPORTING
              retfield        = 'WERKS'
              dynpprog        = ws_repid
              dynpnr          = sy-dynnr
              value_org       = 'S'
         TABLES
              value_tab       = i_t001w
              return_tab      = v_return
         EXCEPTIONS
              parameter_error = 1
              no_values_found = 2
              OTHERS          = 3.
    IF sy-subrc <> 0.
     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
     WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
  ENDIF.
This the  main point to get the selected line into selection screen.
    s_plant1-low = v_return-fieldval.
ENDFORM.                    " Value_Help_Serprovider

Similar Messages

  • Urgent: Problem opening a data form that uses a smart list

    Hi, we've got a problem with a data form that is quite unusual.
    The data form was working perfectly until yesterday when we put a smart list in it. The smart list is composed of 8 possible choices activated by the following member formula:
    IF (SML==1)
    ((BDG->BegBalance->&CurrYear)/12);
    ELSEIF (SML==2)
    ((INC_BDG->BegBalance)*("01A2"->ACT_FINAL));
    ELSEIF (SML==3)
    ACT_FINAL->&PreYear;
    ELSEIF (SML==4)
    (INC_ACT->&PreYear)*("01A2"->ACT_FINAL);
    ELSEIF (SML==5)
    ACT_FINAL;
    ELSEIF (SML==7)
    (INP_PER)*("01A2"->ACT_FINAL);
    ELSEIF (SML==8)
    INP_ASS;
    endif;
    Initially we tested the functioning of every different choice in the smart list and it was working properly. After a while we tried again to change the choices combination and we couldn't open the data form due to an error.
    It is quite strange because sometimes it work and sometimes it doesn't. In the data form (that is very large) there are many accounts and scenarios that are dynamic calc, in addition to the smart list formula; we tried to open the form two minutes ago converting the data storage type of a scenario from "Dynamic calc" into "Dynamic calc and Store", and it seems to work at the moment... does planning have a memory limit? Can someone suggest a solution (or help us find out the reason)?
    Bye

    Anton,
    new thread is one possibility, but the messsage box is not win message box, but SAP form, so I think you can clcik there without new thread too.
    Check this thread, hope it helps
    Re: Confirmation Dialog in my way

  • Problem in getting data into database with standard direct input program

    HI All,
    I am having problem which is not updating the records in MM01 or MM02 with standard direct input program. i have data in internal table. from that table i am trying to upload into database by using background job MRP_MATERIAL_MASTER_DATA_LOAD.
    when i execute my program it is showing message job is started. then i go into sm37 and seethe job status by executing. there also i am seeing job completed succesfully.
    but if i go to mm03 and find the materials are updated or created there i couldn't find the material numbers which are from internal table.
    So if ny one help me it wil be great.
    Thanks in Advance
    Venkat N

    Hi Anil,
    Thanks for your answer, but i am facing problem is i have material no and denominator and Actual UOM and nominator field values in the flat file.....
    by using RMDATIND direct input program with MRP_MATERIAL_UPLOAD as job name for background job while uploading data into database.
    here i am not getting data in to database, but when i execute the job in sm37 it is showing that message job processing successfully completed...this is my status..
    if u can help me in this it will be gr8ful..
    Thanks,
    Venkat N

  • Problem in getting data on button submit

    I have 3 combo boxes in a form & a button on the other html form
    when the user will change the combo box, the form will be submitted with the values of all three combo boxes.
    And when the button is pressed it will again submit the form along with all the values of comboboxes & same values in different variables. I am doing this so the new variables can be used to call the discoverer sheet & old can be used to mantain the state of the combo boxes.
    The datasheet will not be populated on change of combo boxes, but will only show the data when the button is pressed.
    The problem i am getting the user is not getting the required data on the first click of the button, but when the button is pressed for the second time, the user will get the required result.
    Follwing is the chunk of code that I am using.
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <script type="text/javascript">
    function myFunc(){
         document.forms["form1"].elements["GRP"].disabled=false;
         document.forms["form1"].elements["RGN"].disabled=false;
         var i = document.forms["form1"].elements["GRP"].value;
         var j = document.forms["form1"].elements["RGN"].value;
         var k = document.forms["form1"].elements["BR"].value;
         if(j == 0){
              submitform();
         else{
              submitform();
         if(k == 0){
              submitform();
         else{
              //makeGRPDisable();          
              //makeRGNDisable();          
              submitform();
    function submitform()
    document.form1.submit();
    function submitform2()
    document.form2.submit();
    var queryString;
    function getParameter( parameterName ) {
    queryString = window.location.search.substring(1).toLowerCase();
    //alert(queryString);
    //if (queryString.length==0) {return "null";}
    var parameters = new Array();
    parameters = queryString.split('&');
    for(var i = 0; i < parameters.length; i++) {
    //alert(parameters);
    //alert(parameters[i].indexOf(parameterName));
    if (parameters[i].indexOf(parameterName.toLowerCase())>=0) {
    //alert(parameters[i]);
    var parameterValue = new Array();
    parameterValue = parameters[i].split('=');
    return parameterValue[1];
    return null;
    var Pgid = getParameter('_pageid');
    var Gid = getParameter('GRP');
    var Rid = getParameter('RGN');
    var Bid = getParameter('BR');
    var Gid2 = getParameter('GRP2');
    var Rid2 = getParameter('RGN2');
    var Bid2 = getParameter('BR2');
    var ALid = getParameter('AL');
    </script>
    </head>
    <body>
    <table width="100%" border="1" cellpadding="0" bordercolor="#F26520" bgcolor="#FFFFFF">
    <tr>
    <td>
    <form name="form1" action="http://cdbo:7778/portal/page? method="GET">
    <oracle>
    declare
    theUser varchar2(30) := portal.WWCTX_API.get_user;
    Uid2 varchar2(30);
    begin
    htp.p('<input type="hidden" name="_pageid" value="553,142908" />');
    htp.p('<input type="hidden" name="_dad" value="portal" />');
    htp.p('<input type="hidden" name="_schema" value="PORTAL" />');
    htp.p('<input type=hidden name="AL" value=' || :v_al_id || '>');
    IF :v_al_id=0 THEN
    IF :v_group_id=0 AND :v_region_id=0 AND :v_branch_id=0 THEN
         htp.p('<select name="GRP" onChange="submitform()">');
         htp.p('<option value=0>All</option>');
         for i in (select groupcode, groupshortname from GROUPS@cdb)
         loop
              htp.p('<option value="' || i.groupcode || '">' || i.groupshortname || '</option>');
         end loop;
         htp.p('</select>');
         htp.p('<select name=RGN onChange="myFunc()">');
         htp.p('<option value=0>All</option>');
              htp.p('</select>');
         htp.p('<select name=BR onChange="submitform()">');
         htp.p('<option value=0>All</option>');
         htp.p('</select>');
    END IF;
    END IF;
    END;
    </oracle>
    </form>
    </td>
    <form name="form2" action="http://cdbo:7778/portal/page? method="GET">
    <td>
    <oracle>BEGIN
    IF :v_group_id=0 AND :v_region_id=0 AND :v_branch_id=0 THEN
         htp.p('<input type="hidden" name="_pageid" value="553,142812" />');
         htp.p('<input type="hidden" name="_dad" value="portal" />');
         htp.p('<input type="hidden" name="_schema" value="PORTAL" />');
         htp.p('<input type=hidden name="AL" value=' || :v_al_id || '>');
         htp.p('<input type=hidden name="GRP" value=' || :v_group_id || '>');
         htp.p('<input type=hidden name="RGN" value=' || :v_region_id || '>');
         htp.p('<input type=hidden name="BR" value=' || :v_branch_id || '>');
         htp.p('<input type=hidden name="GRP2" value=' || :v_group_id || '>');
         htp.p('<input type=hidden name="RGN2" value=' || :v_region_id || '>');
         htp.p('<input type=hidden name="BR2" value=' || :v_branch_id || '>');
         htp.p('<input type=button value=Submit onClick=submitform2()>');
    END IF;
    END;
    </oracle>
    </form>
    </td>
    </tr>
    </table>
    </body>
    </html>
    Regards
    AkS!

    AkS,
    I think I get it. You want the user to be able to change the combo boxes as they like, but the report is only refreshed when they click on the submit button. I don't understand why you need to refresh the screen each time a combo is selected, but I'm guessing that the values in the second and third combo boxes will vary depending on the selection made in the first.
    You could achieve this using AJAX calls, but that gets into a whole new game.
    I'm puzzled about the if ... then test to see that the fields are all set to 0 (that equates to "all" I think. If I read your code right, that means the form is only displayed if the user selects all from each combo. There's also a closing " mark missing at the end of the form action (you should't need the question mark - it will be added automatically).
    Using a GET method is good because you can see the parameters on the url, but It might be helpful to change the type of the inputs in form2 from hidden to text fields so you can see what Portal is seeing. It won't change the functionality, but it may help you see if the values are being set at the correct time.
    Finally, have you checked the cache settings for the page?
    I can't think of anything else to suggest.
    Patrick.

  • Facing problem in getting data in different field

    hi,
    i have made a report in ALV format. n the whole code is this..
    TABLES: VBAK,vbap.
    type-pools: slis.       "ALV Declarations
    SELECT-OPTIONS:
    s_sales   for    vbak-kunnr    obligatory,
    s_date    for    VBAK-audat    obligatory.
    *Data Declaration
    types: begin of s_sales,
      kunnr like vbak-kunnr,
      ernam like VBRP-ernam,
      audat like VBAK-audat,
      aufnr like VBAK-aufnr,
      KBMENG like vbap-KWMENG,
      matnr like vbap-matnr,
      matwa like vbap-matkl,
      end of s_sales.
    DATA: IT_VBAKUK TYPE STANDARD TABLE OF s_sales INITIAL SIZE 0,
          WA_sales TYPE s_sales.
    *ALV data declarations.
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
          gd_tab_group type slis_t_sp_group_alv,
          gd_layout    type slis_layout_alv,
          gd_repid     like sy-repid.
    *start-of-selection.
    START-OF-SELECTION.
      perform data_retrieval.
      perform build_fieldcatalog.
      perform build_layout.
      perform display_alv_report.
    *&      Form  build_fieldcatalog
          text
    form build_fieldcatalog.
      fieldcatalog-fieldname   = 'KUNNR'.
      fieldcatalog-seltext_m   = 'Customer Code'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'ernam'.
      fieldcatalog-seltext_m   = 'Customer Name'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'stadat'.
      fieldcatalog-seltext_m   = 'Order Date'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'aufnr'.
      fieldcatalog-seltext_m   = 'Order No'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'KWMENG'.
      fieldcatalog-seltext_m   = 'Quantity'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'matnr'.
      fieldcatalog-seltext_m   = 'Material Code'.
      fieldcatalog-col_pos     = 6.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'matkl'.
      fieldcatalog-seltext_m   = 'Material Description'.
      fieldcatalog-col_pos     = 7.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    "build_fieldcatalog
    *&      Form  build_layout
          text
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
    endform.                    "build_layout
    *&      Form  display_alv_report
          text
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = gd_repid
          is_layout          = gd_layout
          it_fieldcat        = fieldcatalog[]
          i_save             = 'X'
        TABLES
          t_outtab           = IT_VBAKUK
        EXCEPTIONS
          program_error      = 1
          others             = 2.
      if sy-subrc <> 0.
      endif.
    endform.                    " DISPLAY_ALV_REPORT
    *&      Form  data_retrieval
          text
    form data_retrieval.
      select vbakkunnr VBakernam VBAkaudat vbakaufnr vbapKWMENG vbapmatnr vbap~matkl
      up to 10 rows
        from vbak inner join vbap on vbakvbeln = vbapvbeln
        into table IT_VBAKUK.
    endform.                    "data_retrieval
    When a execute this query it get this result:
    Customer code Customer No. Order Date      *Order No. *        *Quantity *        Material code  Material Description
    0000001390     0000001390     0000001390     0000001390     0000001390     0000001390     0000001390
    0000001175     0000001175     0000001175     0000001175     0000001175     0000001175     0000001175
    0000001175     0000001175     0000001175     0000001175     0000001175     0000001175     0000001175
    0000001175     0000001175     0000001175     0000001175     0000001175     0000001175     0000001175
    0000001175     0000001175     0000001175     0000001175     0000001175     0000001175     0000001175
    0000001001     0000001001     0000001001     0000001001     0000001001     0000001001     0000001001
    0000002200     0000002200     0000002200     0000002200     0000002200     0000002200     0000002200
    0000002200     0000002200     0000002200     0000002200     0000002200     0000002200     0000002200
    0000002200     0000002200     0000002200     0000002200     0000002200     0000002200     0000002200
    0000002200     0000002200     0000002200     0000002200     0000002200     0000002200     0000002200
    You can see in all column data is repeating even tough i have given different field name...
    Kindly give me solution of this problem.
    Thanks n Regards.

    hi,
    i have these field:
    *select VBAK~KUNNR VBAK~ERNAM VBAK~AUDAT VBAK~AUFNR VBAP~KWMENG VBAP~MATNR VBAP~MATKL
      up to 10 rows
        from VBAK inner join VBAP on VBAK~VBELN = VBAP~VBELN
        into table IT_VBAKUK.
    endform.*
    I want to add these field in my parameter by using WHERE clause but don't know how to restrict these field using where clause.
    Kindly give me some example related to this.
    Regards

  • Firefox seems to hang when gmail is open. I must use task manager to exit. Frequency of hangs is increasing. Now typed characters don't always appear first time I type them. Other programs seem unaffected. Problem is getting progressively worse. Help?

    I only noticed today that Firefox works fine until I open gmail, so I'm not 100% sure of that. I usually work with gmail open, so it's hard to separate the two. Problems started before Christmas. Firefox would hang occasionally (every few days). Keyboard worked fine. Then Firefox started to hang once a day or so. Now it hangs several times a day. Every now and then, it crashes (especially if left unattended, the brat), but apparently I never sent a crash report. ( I couldn't get it to crash today -- it would rather hang. Fatal either way.) A week ago, I completely removed Firefox to the best of my ability and reloaded, hoping that would fix any hidden out-of-date or cookie issues. No joy. Keyboard issue started yesterday, so now Firefox is useless. Please save me from having to use Explorer!
    P.S. I have Vista.
    P.S.S. Oh, google calendar wouldn't load in Firefox, just now - said it's "redirected", and then Firefox crashed. Crash id is below. I did the about:crashes thing and Firefox could not find the report! (Oh Noes!)
    This sounds like malware to me, not that I know anything at all. I have current McAffee and it did not detect anything.
    Problems started around the same time that I got a new canon pixma MG8120 printer, which loaded a plugin apparently. Might be a coincidence.
    If you tell me to remove any plugins, tell me how. I think I tried that and couldn't find a way. Or maybe that was something else...

    New information and answers to the questions:
    1) I've never used dropbox on this machine, so that isn't the case
    2) I use Firefox as my browser and don't touch Safari unless it is a site that Firefox balks at. I did all the hardware scans, software scans, resetting prefs, and PRAM as well, almost every day.
    New info: I had to do a complete system format and reinstall. It actually seems to have solved the problem and corrected a few things that the recent updates hadn't resolved (the disk sound on sleep-wake didn't work until I installed the update on a new system install). I think the issue had to do with either the recent Java or Airport updates and I haven't installed them this time due to that fear. What forced me to do a complete install was the computer wouldn't hold an internet connection *at all*, even when directly plugged into the router via ethernet. System time got messed up and keychain passwords got hosed too if they related to recent internet/network connections. I wish I had more info to share but that's it. Thanks for the suggestions. I am going to keep this open for now as I am interested in seeing if anything else could explain this issue.
    I opened a bug report at the Apple Dev. site (https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/110/wo/klAiofleLooe0 XCbERCOUM/5.79.28.0.9) as well.

  • How to get data form another view

    Hello together,
    I am more or less a newby in objective-c …
    The Problem is that I have 2 different ViewControllers. I create a NSArray with a lot of Data in view1. After that I want to write this data into a UITableView which is in view2.
    But I do not know how to get the data from view1?
    If anyone has an idea I would be very thankful.
    Best wishes,
    Stephan

    Hi,
    You mean Data transfer between two components..
    To pass the value from one component to other component, you can use used component scenario.
    For example let use assume we have two comp ..
    Comp A,
    Comp B.
    now we need to pass the value from Comp A to Comp B.
    Then declare the Comp A as used component in Comp B.
    Now then you can create a node in the comp A component controller and check the interface check box there then the
    node and the attribute will be present in the interface controller also .
    and this interface controller context you can access in the component and map it to view there and display it.
    Webdynpro Application Integration..
    http://wiki.sdn.sap.com/wiki/display/WDABAP/WebdynproApplicationsIntegration
    cheers,
    Kris.

  • Problem in getting data

    Hi,
    When I give the below query at SQL prompt. Iam getting an error "ORA-00932: inconsistent datatypes: expected NUMBER got LONG".
    SqlExport=`sqlplus -s username/password@databasename << EOF
    spool test1.txt;
    set linesize 32767;
    set PAGESIZE 0 space 0 feedback off echo off verify off heading off;
    set termout off trimspool on;
    SELECT column1,column2,column3,column4,....................column14 FROM table WHERE cond1,cond2;
    exit sql.sqlcode;
    commit;
    spool off;
    EXIT;
    EOF`
    My guess is in the above query column4 is of LONG datatype contains large data. so the Sqlexport variable is not able to hold that many records. Please let me know If Iam wrong and please let me know solution for this.

    Please forgive me, but I'm a little confused now.
    You started out with
    "ORA-00932: inconsistent datatypes: expected NUMBER got LONG".followed by a pseudo query
    SELECT column1,column2,column3,column4,....................column14 FROM table WHERE cond1,cond2;Upon asked you stated:
    Iam selecting as it is. Iam not applying any sql function. and
    No. In condition Iam not using that column or any column of LONG datatype.Now, you say
    I tried using CONVERT_LONG_TO_CHAR('table','col4',col1).
    But Iam not getting desired outputAre you pulling my leg, or is this a different problem, now?
    - Perhaps you should post your actual query giving the ORA-00932
    Regards
    Peter

  • Problem in getting data in SNP Planning Area Data Source

    Hi All,
    Problem Statement: To fetch data from SNP Planning Area for reporting in SAP BW.
    Approach: Followed the standard SAP Help Document. Link:http://help.sap.com/saphelp_scm40/helpdata/en/e0/9088392b385f6be10000000a11402f/content.htm
    First Step: To create a DataSource on the Planning Area (Z9ASNP02) and Aggregate(9AMALO).
    For that
    Go to SAP Easy Access>Click on /SAPAPO/MSDP_ADMIN/ you are on S&DP Administration>Select the planning Area Z9ASNP02 double click on it
    You are on Change Planning Area Screen>Go to Extras left click>DP/SNP Data Extraction Tool-->Click on Generate Data Source, Provide the
    Data Source Name & Select the Aggregate 9AMALO and click on continue. Data Source is generated.
    But now when i go for Test Data Source-->Extractor Checker Screen and then providing the version 000 and then when i click on extraction Button
    It gives a Message "0 data records selected".
    Thanks in Advance,
    rahul

    Hi Somnath,
    Please correct me if my understanding is wrong; you are saying that, we cannot extract data from order series keyfigures. In that case how many key figures you maintain for time series, performance miight come down for planning area if you maintain huge no of keyfigures.
    Is there any way to extract data from Order series Planning area?
    Thanks & Regards,
    Jagadeesh.

  • Problem in getting data while creating public template shopping cart(urgen)

    Hi Gurus,
    I am technical guy...Could you please suggest me how to populate the purchase organisation details(be_pur_org) which is of type bbps_sc_app_item.
    The problem is while creating normal shopping cart template it is displaying the vendor and inforecord details..when I use the same data for creating the public shopping cart it is not displaying the values (vendor and inforecord details) this is due to the missing of purchase organisation field value which is populated in the field be_pur_org which is of type bbps_sc_app_item.
    Is there any badi's to populate the purchase organisation details...?
    awaiting for all your replies..points will be rewarded with lots of appreciation
    Thanks & Regards,
    Ravi Ganji

    Hi
    <u>You can use either of the BADIs depending on your requirement.</u>
    BAdI Definition Name Description                                                                               
    BBP_PGRP_ASSIGN_BADI EBP Purchasing Documents: Assign Purchasing Group(s)       
    BBP_PGRP_FIND        Shopping Cart: Determine Responsible Purchasing Group(s)                                                                               
    BBP_DOC_CHANGE_BADI
    BAdI for Changing EBP Purchasing Documents
    <b>Please read the Standard documetation available with them using SE18 transaction in SRM system.</b>
    Which SRM version you are using ?
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • Problem in getting data into the child window.

    Hi.
    problem description:
    I have a jsp(lets say parent.jsp). On click of a button in parent.jsp, a showmodal dialogue opens(say child.jsp).
    child.jsp has several fields and a 'search' button.
    On click of the 'search' button in child.jsp, data should be fetched from Database and should be populated in child.jsp, without submitting parent.jsp.
    I am able to fetch the data from DB. But unable to populate it in the same child window.
    How to achieve this?
    thanks
    Akash

    areee yaar...ajax and jsp are two different things altogther...whats harm in using ajax if most of the webapplication now deploy ajax for asynchronous call..

  • In condition records section Search help problem at one data type

    hi there,
    we are upgrading 4.6c version to ecc 6.0 past january. but in
    vk11/vk12/vk13 condition master records sections, we have a problem for
    one data type search help. when we want to join sales deal code to sales
    detarmination condition, at one tables rows type price list (data type =
    pltyp_d) does not allow f4 (search help).
    thanks your interesting.
    Sinan Alt&#305;ner
    Betek Boya ve Kimya Sanayi A.&#350;.
    SAP CONSULTANT / ABAP Developer

    Hi surya,
    I per your suggestion i did like this ,
    data : date1 like sy-datum.
    types : w_date1 type sy-datum.
    date1 = w_date1(ztable-date1). "ztable-date1 - is screen field.
    but it is giving error "The field "W_DATE1" is unknown, but there is a field with the similar name "DATE1" . . . ."
    actually that value is coming after triggering PBO event but i want that value in at time of calling F4 help at that screen filed
    suppose on screen the fields like
    date : 30.08.2008.
    matnr : ( .............F4 )  '".....on this field when i m pressing F4 that time only that above date materials should come as per my first query see my first thread.
    thanks,
    Sanket.

  • Select statement failed to get data from transparent table

    Hi Experts,
                      Please let me know why my select statement is failing to get data form transparent table REGUH. My code query is as below:
    SELECT * FROM REGUH WHERE
                              LAUFD = RUN_DATE AND
                              LAUFI = ID AND
                              LIFNR = P0009-PERNR AND
                              RZAWE = 'C'.
      MOVE REGUH-RWBTR TO CASH.
          CASH = CASH * -1.
      ENDSELECT.
    REGUH table has data for the given query but it is not retreiving the data.Please let me know what is the problem with the query
    because of which it is not fetching the data.The same query is working fine in Developement but fails in production may be because one new patch is updated.please help asap.

    Hi Ankita,
    Why you are going for select *
    Try This...
    SELECT SINGLE RWBTR
                  INTO v_RWBTR
                  WHERE LAUFD = RUN_DATE
                   AND  LAUFI = ID
                   AND  LIFNR = P0009-PERNR
                   AND  RZAWE = 'C'.
    MOVE v_RWBTR TO CASH.
    CASH = CASH * -1.
    Regards,
    Raj.

  • How get data from WebPartStorage?

    Hi, Im creating custom ToolPart. I want save and get data in WebPartStorage. Now i have problem with get data...This is what I create:
    How get data form  WebPartStorage?
    public partial class ExchangeRateWebPart : Microsoft.SharePoint.WebPartPages.WebPart
    [Browsable(true), Category("Miscellaneous"),
    DefaultValue("Site Names"),
    WebPartStorage(Storage.Shared),
    FriendlyName("URLs"), Description("Text Property")]
    public List<string> ListCurrentNames
    get;
    set;
    protected override void Render(HtmlTextWriter writer)
    base.Render(writer);
    writer.Write(ListCurrentNames);
    class ExchangeRateCustomToolPart : ToolPart
    public override void ApplyChanges()
    ExchangeRateWebPart webpart = (ExchangeRateWebPart)this.ParentToolPane.SelectedWebPart;
    webpart.ListCurrentNames = _listCurrentNames;

    Hi,
    According to your post, my understanding is that you wanted to create custom toolpart.
    WebPartStorageAttribute class specifies how a property should be stored.
    If a WebPartStorageAttribute attribute is not specified for a property, Personal is used by default.
    If a WebPartStorageAttribute attribute is specified for a property but the ControlledExport property is not
    set, the value is presumed to be set to false.
    You might have noticed that the Web Part custom property has some attributes. Each of them are described below.
    Property
    Description
    Browsable
    If false, the property is not displayed on the web part   property pane
    DefaultValue
    Default Value for the property
    WebPartStorage
    Shared, Personal and None are the enumeration members
    FriendlyName
    The name for the property for display purposes
    Description
    The tooltip about the property
    http://www.c-sharpcorner.com/UploadFile/40e97e/sharepoint-2010-web-parts-programming/
    there are some articles about custom the toolpart, you can have a look at them.
    http://www.wictorwilen.se/Post/Web-Part-Properties-part-1-introduction.aspx
    https://www.nothingbutsharepoint.com/sites/devwiki/articles/Pages/SharePoint-Creating-a-Custom-ToolPart-for-a-Custom-Web-Part.aspx
    http://microsoftsharepointdevelopment2010.blogspot.com/2012/03/creating-webpart-with-custom-toolpart.html
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Two pass logic in data forms?

    Hi all,
    I have a minor problem while creating data forms. I have a formula column and a formula row. The row formula is a percentage of two rows and column formula is an addition of two columns. My issue is for some reason, the row formula is calculated first and then the column formula which means that for the percentage, it's adding two columns that's not right.
    Here's a screenshot of what I mean - http://postimage.org/image/6ssgm51af/
    In essbase we had Two pass calc which would resolve this problem but in the dataform, I can't find anything that would do this. I use Planning 11.1.2.1 and editing using workspace. Any help will be great.

    Hi N13,
    The same two pass calculation is available in Planning too. If you are using Classic - Planning application means, please follow the below steps.
    1) From the Menu Administration ---> Dimension
    2) Select the corresponding member and Edit the member properties, it will show the two pass calculation option and refresh the planning.
    Thanks

Maybe you are looking for

  • Is this a RegExp bug??? Matching double letters inside words...

    I'm trying to match double letters inside words, excluding ones that begin or end a word.  I'm running into a problem matching \B at the end of a line. example: My RegExp is /\Bdd\B/gi String is "dda adda add add" This will match twice, the dd in the

  • J1IIN Create Factory invoice thr BDC-UserExit  J_1I7_USEREXIT_DUTY_IN_EXIT

    Hello All, Using BDC I am trying to create a factory exicse invoice as below:     PERFORM bdc_dynpro      USING 'SAPMJ1IIN' '1000'.     PERFORM bdc_field       USING 'BDC_OKCODE' '=ECRT'.     PERFORM bdc_dynpro      USING 'SAPMJ1IIN' '0150'.     PERF

  • Embedded fonts not appearing in ePub on Kindle mobi file

    I have embedded two fonts into the ePub file which are called throught the CSS using @font-face declaration. When I view the ePub in iBooks on my Macbook or convert it to .mobi to view on my Kindle reader (on mac still) I can see the fonts fine. Howe

  • Schedule line level data

    Hi, I understant that SRM could not handle schedule line level data, Can any one explain me what is schedule line level data exactly and if the current vesrion of SRM does support it?

  • Voice & Data over building to building wireless link

    We have two buildings that are currently connected via a frac-T1. Most of the traffic is data but 2 channels are voice. We want to eliminate the T1 and replace it with a wireless solution. A site survey has been done and we should be ok. The distance