Doubt in type p

Dear experts,
I have declared the variable as
Data betrg type p decimal 3.
But for this it is showing the wrong ouput
e.g:-
1/30 = 0.033333333333
but it is taking only 0.033
so afer multipication value is decresing from the orginl value
similaily
8/30 = 0.26666666666666666
but it is taking as .267
and i m not getting the actual value.
What type of declaration I will do to get the actual value.
Regards
Ansuman Parhi

hi anshumaan,
as u told that ur query is giving wrong output. it is due to the declaration part where u are declaring the data type as BETRG TYPE P DECIMAL 3. since u have put 3 after DECIMAL so it will give the value upto 3 decimal places with rounding off the last digit. So if u want to increase the accuracy u will have to do like
BETRG TYPE P DECIMAL 10 as much places u want upto but still it will round off.
thanx
nitesh

Similar Messages

  • Service order config doubts (TA Type IUSO)

    Dear experts.
    Can any one share thier experience in  configuring service  orders in SAP CRM .
    Here is what i  did  with my novice experience
    STEP1 :
    In the following node Maintain Parameters for Service Orders and Service Notifications i have maintained the order types and the planning  plant
    E.g Technical objecty type : Connection object
          Order code :                  RN01
          Planning plant:               8000
    Step 2:
    I have considered the TA type for ISU Service order IUSO...
    I included the TA type in the Business transaction profile and selected service  (Categorisation is enabled)
    Then included the Bus Transaction type to the role via function profile
    Also i subject profile and assigned it to the TA type IUSO....
    The schema created is now in release mode too...
    But  still when i click the the service order work center i  am not  able to see any  categories in my  service order screen...
    Doubt :
    my  question here is does ISU service roders are configured via catgeory modeller or in any other manner...pls advice me
    Thanks
    Raj

    Only table Entry will be populated in Quality and Production for service order types which doesn't exist.
    No Impact!

  • Doubt in type conversions

    Hi gurus,
    I retrive the vbelv and vbeln values from VBFA table into my internal table.
    In that some vbeln values are equal to tanum values in LTAP table.
    for this i wrote the select query like below.
      if gt_vbfa is not initial.
        select 
                    tanum
                    nistm
                   from ltap
                   into table gt_ltap
                  for all entries in gt_vbfa
                   where tanum =  gt_vbfa-vbeln.
    But is shows error, Why because, the type of the TANUM field is NUMC and the type of the VBELN field is CHAR.
    But the values of vbeln are equal to tanum.
       How can i retrive tanum values for corresponding vbeln values.
    Please can any one suggest me on this issue.
      Thanks in Advance.
    Thanks and Regards
    Siri...

    Hi siri,
    You do one thing declare the another field in your internal table
    with refer to  ltap-tanum
    like as follows.
    data : begin of itab occurs 0,
              f1,
              f2,
              v_tanum like ltap-tanum,
             end of itab.
    loop at itab.
    itab-v_tanum = itab-vbeln.
    modify itab trnsporting v_tanum.
    clear itab.
    endloop.
    then go for the selection....
    if gt_vbfa-v_tanum is not initial.
    select
    tanum
    nistm
    from ltap
    into table gt_ltap
    for all entries in gt_vbfa
    where tanum = gt_vbfa-v_tanum.
    endif.
    Hope your problem will be solved.
    Regards,
    Madan.

  • Doubt in type of project

    Hi Gurus
    I am in training period.They said it is a rollout project. But ni ow they are creating a new company code. Then can i think it as a implementation project.
    Because as far as i know for rollout project the company code will not be created only plant will be created.
    Iam i right.?
    If not please give your valuable suggestions.
    Regards,
    Kartik

    Hi Kartik,
    the number ranges for equipment categories are not plant specific, they are valid for the whole client.
    Regarding your question with the already defined external number range:
    It depends now on following - if you want to use internal numbering only for the data migration of the equipments within your rollout project OR if you want to have the internal numbering also active for running business after the rollout project. In later case, you have a problem - other plants want external numbering (as it's defined currently) and your rollout plant wants to have internal numbering.
    If you want to use the internal numbering only for data migration, then you could temporarily switch the number range in customizing to internal numbering (with assignment to the number range interval you'd like to have) and after migration you switch back to external numbering.
    Hope this explanations helps you!
    Kind regards,
    Patrick

  • Trace level="1" type="T" -no interface action for sender or receiver found

    Hi Experts,
    I try to integrate PI and abap 7.0 using XI adapter (feel doubts about type).
    RWB and SXMB_MONI at PI side show that test message was successfully sent. But I cant see it in DQ
    http://cnh.com/XI/SDIIOC01/RCVR</Trace>
      <Trace level="1" type="T">--no interface action for sender or receiver found</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE" />
      <Trace level="1" type
    What could be the problem which I'm facing and how could I fix this
    regards
    nagendra

    i understood its ur SAP XI to inbound proxy scenario?
    Do the message in MONI of XI is showing correctly?
    R u getting an error message in R3 moni?
    Did u configure ur scenario correctly both at Xi n R3 using sproxy tcode.
    chirag

  • Event type in ALV

    Hi
    i have one doubt in type slis_t_event_exit. Why do we use this?
    i have seen some demo programs in sap techical where this type is used to refresh the records.
    In debugging i put a comment for passing the table object "it_eventexit" which is of type "slis_t_event_exit" to alv Fm "euse_alv_grid_display" then the callback fm is not getting executed and functionality of refresh function code is not executed and only when i passing the table object "it_eventexit": its being executed.
    Now i have one doubt :- Is this only related to refresh Func code ?
    1) If not so then do i need to fill the values in that table object it_evetexit for all the other functions like     for ex displaying only ten records if click the 
    button AHMED which is having the function code &AHMED.
    2) if so then why only to refresh button.
    Can anybody please clarify my doubts.
    Thanks,
    Ahmed.

    Hi
    Please refer to the given below link, May be useful for u....
    http://abap4.tripod.com/download/alvstub.txt

  • How can I finish the last step in the 2 Day Plus Appl Express Developer

    Hi,
    I try to follow doing the steps the Chapter 8 How to Upload and Download Files in an Application of the 2 Day Plus Application Express Developer, after I had finished
    the input to Oracel XE (all steps in this chapter and the procedure in 'Downloading Documents from the Custom Table'), I open the "run Page 1 icon" , the procedure seems no running and cause the error 'Page cannot be found'.
    I doubt the type is wrong or correct "#OWNER#.download_my_file?p_file=#ID#".
    Are there any one can tell me ?
    Regards,
    Simon Wong
    Message was edited by:
    user505611

    Simon,
    here is the full example. Please follow the steps closely. Input exactly what is written in bold characters (without the line numbers though).
    Here we go (in a dos command box):
    C:\WINDOWS\system32>sqlplus system@xe
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Aug 13 12:48:24 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    *** Show more detailed error information in the browser ***
    SQL> exec dbms_epg.set_dad_attribute('APEX', 'error-style', 'DebugStyle');
    PL/SQL procedure successfully completed.Now try to run the following url in the browser: http://127.0.0.1:8080/apex/hr.hello_world
    This will give you the following error message:
    hr.hello_world: PROCEDURE DOESN'T EXIST
      DAD name: apex
      PROCEDURE  : hr.hello_world
      URL        : http://XDB HTTP Server:8080/apex/hr.hello_world
      PARAMETERS :
      ===========Now continue with the sqlplus - session :
    *** Switch session to user HR to create procedure hello world ***
    SQL> alter session set current_schema=HR;
    Session altered.
    SQL> CREATE OR REPLACE procedure hello_world
    2 is
    3 begin
    4 htp.p('hello world');
    5 end;
    6 /
    Procedure created.
    *** check to see whether the procedure was created properly ***
    SQL>   desc hr.hello_world;
    PROCEDURE hr.hello_world
    *** grant execute on procedure to account ANONYMOUS ***
    SQL> begin
    2 execute immediate 'grant execute on hello_world to anonymous';
    3 end;
    4 /
    PL/SQL procedure successfully completed.
    *** Switch to user FLOWS_020100 ***
    SQL> alter session set current_schema=FLOWS_020100;
    Session altered.
    *** for testing, disable the security mechanism ***
    SQL> CREATE OR REPLACE function wwv_flow_epg_include_mod_local(
    2 procedure_name in varchar2)
    3 return boolean
    4 is
    5 begin
    6 return true;
    7 end;
    8 /
    Function created.Running the url again should work now, the security mechanism is disabled.
    If this works, we can enable the security mechanism again:
    *** now create the function again, checking for the proper procedure name ***
    SQL> CREATE OR REPLACE function wwv_flow_epg_include_mod_local(
    2 procedure_name in varchar2)
    3 return boolean
    4 is
    5 begin
    6 if upper(procedure_name) in ('HR.HELLO_WORLD') then
    7 return true;
    8 else
    9 return false;
    10 end if;
    11 end;
    12 /
    Function created.
    *** remove the debugging information ***
    SQL> exec dbms_epg.delete_dad_attribute('APEX', 'error-style')
    PL/SQL procedure successfully completed.You don't need to restart any services inbetween the outlined steps and you shouldn't have to change any security settings in your browser. It is all done in the database.
    If it still doesn't work, please post your error messages from the browser here.
    Regards,
    ~Dietmar.

  • SXMB_MONI: no interface action for sender or receiver found

    Hi Experts,
    I try to integrate PI and BI 7.0 using XI adapter (feel doubts about type).
    I used 2 giudes: "How to Push Data into BW from XI" and "How to Send XML Data to BW".
    SLD check is ok. Proxy is active at BW side. Quality of Service - Exactly Once.
    RWB and SXMB_MONI at PI side show that test message was successfully sent. But I cant see it in DQ (RSA7).
    xml from SXMB_MONI at PI and reciever part:
      <Trace level="1" type="T">--start determination of sender interface action</Trace>
      <Trace level="1" type="T">select interface</Trace>
      <Trace level="1" type="T">select interface namespace</Trace>
      <Trace level="1" type="T">--start determination of receiver interface action</Trace>
      <Trace level="1" type="T">Loop 0000000001</Trace>
      <Trace level="1" type="T">select interface data_tobw</Trace>
      <Trace level="1" type="T">select interface namespace http://integrate/xi/bw</Trace>
      <Trace level="1" type="T"><b>--no interface action for sender or receiver found</b></Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
    Help me to send xml to BW please.
    Thanx in advance,
    Alex

    >
    Alexander Rychkov wrote:
    > Hi Experts,
    > I try to integrate PI and BI 7.0 using XI adapter (feel doubts about type).
    > I used 2 giudes: "How to Push Data into BW from XI" and "How to Send XML Data to BW".
    > SLD check is ok. Proxy is active at BW side. Quality of Service - Exactly Once.
    >
    > RWB and SXMB_MONI at PI side show that test message was successfully sent. But I cant see it in DQ (RSA7).
    >
    > xml from SXMB_MONI at PI and reciever part:
    >   <Trace level="1" type="T">--start determination of sender interface action</Trace>
    >   <Trace level="1" type="T">select interface</Trace>
    >   <Trace level="1" type="T">select interface namespace</Trace>
    >   <Trace level="1" type="T">--start determination of receiver interface action</Trace>
    >   <Trace level="1" type="T">Loop 0000000001</Trace>
    >   <Trace level="1" type="T">select interface data_tobw</Trace>
    >   <Trace level="1" type="T">select interface namespace http://integrate/xi/bw</Trace>
    >   <Trace level="1" type="T"><b>--no interface action for sender or receiver found</b></Trace>
    >   <Trace level="1" type="T">Hence set action to DEL</Trace>
    >
    > Help me to send xml to BW please.
    >
    > Thanx in advance,
    > Alex
    confirm if interface data_tobw with namespace http://integrate/xi/bw is present in IR and also if it is activated.
    Also do a cache refresh from sxi_cache

  • Confirmation date - Strategy grp 50

    Hi, can anyone advise why when we use strategy grp 50 'Planning without final assembly' for MTO scenario, the confirmed date/lead time in the SO is based on the inhouse production time only?
    When i use strategy group 20 'Make-to-order production', the confirmed date/lead time in SO is based on inhouse production time + GR processing time.
    Can i know why the difference in th delivery scheduling?
    Thanks
    Peter

    Hi PP,
    The following links may help to clarify your doubt:
    [Strategy type|http://help.sap.com/saphelp_46c/helpdata/en/e0/71bb169c9f11d191920000e8a5f6e6/frameset.htm]
    [Availability check|http://help.sap.com/saphelp_46c/helpdata/en/cf/70124adf2d11d1b55e0000e82de178/content.htm]
    Regards,
    Abhee.

  • Jco connection creation for plan modeler on BI 7.0

    If I open plan modeler RSPLAN on BI 7.0 I am getting u201CJco connection not availableu201D message so I tried to create the connection from webdynpro content administrator.from there I could see all the connections in red colour
    BI_MODELDATA
    BI_METADATA
    WD_ALV_MODELDATA_DEST
    WD_ALV_METADATA_DEST
                                 So I have chosen u201Ccreate u201Coption of the above connections to establish Jc0 .please let me know what parameters to be given for each settings.
    For example we take BI_METADATA ,
    General data:
    Name : BI_METADATA
    Client u2013 xxx ( should we have to give BI client no here ,by default it shows 000)
    J2ee cluster :
    Default :hostname ( no doubt)
    Connection type:
    Dictionary melta data( chosen by default u2013 no doubt)
    Application data:
    Message server :SID hostname (no doubt)
    System name
    Logon group:
    User authentication :\
    Username : **** ( should I have to give the user name of BI client)
    Password
    Confirm password :
      Please carify the above doubts and help me out to resolve the issue Plan modeler
    Once I set the connection of each should I have to restart JAVA engine,
       I would appreciate all your help and suggestion

    Take the Basis help to troubleshoot it
    919850 Problems with the planning modeler and the planning wizard
    901022 Integrated planning: RSPLS321 (J2EE engine not found)
    947376 Troubleshooting JCo and AdaptiveRFC in Web Dynpro for Java
    One more thing is to check if the SLD is maintained properly or not:
    Hope it Helps
    Chetan
    @CP..

  • Best practices for a multi-language application

    Hi,
    I'm planning to develop an application to work in two different countries and I'm hopping to get some feedback from this community on the best practices to follow when building the application. The application will run in two different languages (English and French) and in two different timezones;
    My doubts:
    - Wich type format is more appropriated to my table date fields?
    - I will build the application on english language. Since APEX has the french language for the admin frontend, how can I install it and can I reuse the translation to my applications? The interactive reports region are somewhere translated into french, how can I access that translation and use it in my application?
    Thank you

    Hello Cao,
    >> The application will run in two different languages (English and French) and in two different timezones …. It would be very helpful if I could access at least the translation of the IRR regions.
    As you mentioned, French is one of the native supported languages by the Application Builder. As such, all the internal APEX engine messages (including those for IR) were translated to French. In order to enjoy it you need to upload the French language into your Application Builder. The following shows you how to do that:
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21673/otn_install.htm#BEHJICEB
    In your case, the relevant directory is *…/apex/builder/fr/ *. Please pay attention to the need to set properly the NLS_LANG parameter.
    >> Wich type format is more appropriated to my table date fields?
    I’m not sure exactly what you mean by that. Date fields are saved in the database format free and it’s up to you to determine how to display them, usually by using the to_char() function.
    As you mentioned that you are going to work with two different time zones, it’s possible that the date format for these two zones are different. In this case, you can use the APEX Globalization Application Date Time Format item. As the help for this item shows, you can use a substitution string as the item value, and you can set the value of the substitution string according to the current language and its corresponding date format.
    You should also set the Automatic Time Zone field to yes. It will make your life a bit easier.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Joins in innfosets

    Morning dudes,
    I am familiar with infosets but i have some doubts on types of joins which we use in infosets.
    can anyone give me some information on types of joins and how can know what type of join we have to use for a particular infoset if possible with suitable examples please.
    Thanks in advance

    Hi,
    Check these links:
    InfoSet describes data sources that are defined as a rule as joins of DataStore objects, standard InfoCubes  and/or InfoObjects (characteristics with master data). If one of the InfoObjects contained in the join is a time-dependent characteristic, the join is a time-dependent or temporal join.
    An InfoSet is a semantic layer over the data sources.
    http://help.sap.com/saphelp_nw04s/helpdata/en/ed/084e3ce0f9fe3fe10000000a114084/frameset.htm
    different types of joins in infoset?
    Joins on Infosets in BI 2004s
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2f5aa43f-0c01-0010-a990-9641d3d4eef7
    http://help.sap.com/saphelp_nw04s/helpdata/en/ab/7a877cba29144b85d07f26f1f50cd8/frameset.htm
    Assign points if these are helpful..........
    Rgs,
    I.R.K

  • Sort all records except one

    I have a mysql table with three attributes.
    att1 | att2 | att3
    1 | 0.1 | 0.2
    2 | 0.4 | 0.3
    3 | 0.2 | 0.1
    4 | 0.3 | 0.5
    Now through my program, I select one record according to attribute 2. Suppose in this case I select the value 0.2(from att2) and get the index. Now what I want to do is: sort descending(here is want to exclude index 3 since it has already been identified by the first part of the program) according to the rest values in att3. I want the corresponding index of of these values too.
    Can anyone help plz.... I have tried to make the problem clear...In case of doubt please ask me..
    Thanks in advance
    Rakesh

    hai,
    be too specific. dont think that ur ques has to be short. type more about ur question and make us clear to clear ur doubt. please type how the record will be before ur program get executed and how the answer has to be after ur program has to be executed. that is show them as u showed the records before.
    by
    bvrk.

  • Creating Pricing Formula

    Hi All,
                 I need to create a pricing formula ( through txn VOFM ) but i have a doubt regarding type of formula that i should use. In txn VOFM there are following type of conditions based upon which we can create a formula:
    1) Scale Base
    2) Condition Base Value
    3) Condition Value
    4) Structure of Grp Key
    5) Rounding Rules
    Can you please provide some documentation or explanation on these five types so that i can choose according to my requirement.
    It's Urgent.
    Thanks in Advance
    ~Jasmeet

    closing this thread

  • Sort JTable columns except one.

    Hi.
    I want make a sortable JTable, but I need to avoid the sorting by first column.
    There is an easy way to do it ??
    Thanks in advance
    Is solved. Thanks anyway.
    Message was edited by:
    DiegoJ

    hai,
    be too specific. dont think that ur ques has to be short. type more about ur question and make us clear to clear ur doubt. please type how the record will be before ur program get executed and how the answer has to be after ur program has to be executed. that is show them as u showed the records before.
    by
    bvrk.

Maybe you are looking for

  • Invoice payment due date.

    Dear all, I would like to display the invoice payment due date in my SAPscript. I've heard about the FI_TERMS_OF_PAYMENT_PROPOSE function module and thought that it could feet my need. But I'm wondering if there is no other way to proceed since I can

  • Getting error while deploying (.WSP) file

    HI ,     I developed timer through VS 2010.When i try to deploy that WSP file in production server through Stsadm/Powershell commands ,I am getting below error. The solution cannot be deployed.  Directory "NewsofTheweekMemoTimerJob_Feature1"  associa

  • HOW TO FIND LAST DOCUMENT DATE BASED ON MATERIAL NUMBER

    Hi,        I want to know how to find the last document details based on material number. Is there any Functional modulle or BAPI programe? i,e, I want know last goods receipt details (MIGO)  based on material number. Can u please anybody tell me. Th

  • Cs4 color management?

    Does Fireworks CS4 support color management? IE, does it assume all colors are sRGB and use the monitor profile to correctly show sRBG colors? I'm hoping it has the same Color Settings as other adobe products or at least will use the monitor ICC prof

  • R/3 46c  delvry03 - PI 7.0 - SNC  5.1

    Hi All, I am working on the above mentioned scenario.We are using the pre-delivered content for SNC. In the XSLT mapping for DELVRY03 to SNC despatched delivery message interface to map the target quantity field , source field ./ORMNG is used. But in