Problem with CURR type field?

Hi all,
I have one ztable in which there is one field of type CURR of length 13.when i trying to read the value of this field through select statement the problem is as follows:
SELECT SINGLE USR06 FROM PRPS INTO GV_SITE_CASH_LIMIT
WHERE POSID = GV_SITE.
this will give output of 10,000.
but when i am doing it as follows:
SELECT SINGLE USR06 FROM PRPS INTO CORRESPONDING FIELDS OF PRPS  WHERE POSID = GV_SITE.
this will give output of 1,00,000.
the actual output is 1,00,000.but when i am fetching it in another variable it is 10,000.
Regards

Hi,
I assumed that GV_SITE_CASH_LIMIT is a variable which is of type CURR and length 13.
It is better when you are selecting currency fields from database , declare a variable
of type as it is in the database (in your case variable is GV_SITE_CASH_LIMIT it is not type as Database).
I had seen in the SE11 the field which you are selecting ( USR06 ) has type CURR of 13 and 3 Decimals.
So During conversion it may Problem because you declared a variable of length 13.
so Declared a variable(GV_SITE_CASH_LIMIT) of type PRPS-USR06.
after getting into this variable copy to your Z structure
It may solve your problem.
Regards,
Raghava Channooru

Similar Messages

  • Generic Delta Update using Function Module........ problem with CURR  type

    Hi Experts,
    I try to create a generic data source using the transaction RSO2. I got the following error message
    " Das Einheitenfeld CURR des Feldes ZPKZA1 der DataSource ZBWN_DS_POLPOSP ist ausgeblendet"
    "The unit field CURR of the field ZPKZA1 of the DATA SOURCE ZBWN_DS_POLPOSP is not visible/ stopped/ hide".
    How shall i handle this issue..........any suggestions please........
    thanks in advance
    Cheers
    Jaya

    Hi Jaya ,
    The error msg which is coming as...
    "The unit field CURR of the field ZPKZA1 of the DATA SOURCE ZBWN_DS_POLPOSP is not visible/ stopped/ hide" may be due to the currency field made hidden at the data source lavel. Also check weather you have included it in your structure (code).
    So, to check it and make it unhide go to "Display Field List (F7)" in RSO2.
    Hope it helps.

  • Problem with a Dynpro field (type numc)

    hi everybody.
    I'm developping a ModulPool application in wich i have 2 RadioButtons with 2 textbox fields.
    What i pretend to do is, when the user clicks a radiobutton and strikes Intro, enable the corresponding textbox field and disable the other one.
    My code runs fine, but i have a little problem. When I loop the screen table, to set the appropiate value to the 'input' property, in this case, when i try to disable it (input = '0'), I get a zero character in that field. This field has NUMC type, i'm sure this is the problem
    'cos i've got no problem with the other field (type char). But i can't solve it.
    Anybody's got an idea?
    Thanks

    What you are seeing is the normal behavior of a numeric field represented by the SAPgui.  This is how all numeric fields are displayed via SAPgui.  If you don't want to see the 0,  then you just change the field type to CHAR and handle accordingly.
    Regards,
    Rich Heilman

  • Problems with letter type

    Problems with letter type homepage www.JO-qigong.nl When I want to make another type it changes the whole page? Why?

    Thank you for responding. I am sure that I selected the text. I don't do anything different than I did many times before. But if I change a text know, for exemple in the color Red, than other text, that I didn't selected, get a different text: bigger text or other color. In iWeb everything is OK, but when I publish it, than there are those grazy changes. I use iWeb for 3 years now and had no problems till now.
    Is it because the software is not supported anymore by Apple, because you can not update the software anymore. It is a pitty, because I like iWeb. It is easy to work with.

  • Problem with the quantity field

    hi every one
    i am facing a problem with the quantity field (vbap-kwmeng)
    as per my requirement i need to display this quantity field along with some other item fields from VBAP in an alv grid.
    among all the fields displayed in the alv grid only this quantity field is editable(end user can change this quantity)
    once end user changes this quantity and press save button i need to capture this new quantity in my internaltable.
    problem is input of length of quantity is 15 and the output length is 19
    so when i am pressing save
    say my quantity is 50 when i am pressing save '0.050' is coming because of the length difference
    how can i capture the original changed value.
    vamsi

    what about define two fields in  you inner table ,one as char and the other as vbap-kwmeng, you can show the char one in the ALV gird , when user input value and press SAVE ,you can move the value to vbap-kwmeng.
    you can test it,mybe some one has one better idea.

  • Problem with adding new field to the mass change screen in FBL5N

    Hi,
    We have a problem with adding the field XREF3 to the mass change screen. We followed steps described in the SAP Note 640908, but the result is that when we try to mass change some documents in FBL5N and enter some values in the mass change screen, a message appears: "Please enter at least one new value" and nothing is changed.
    If you have faced with such a problem, we would be grateful if you give us some tips.
    Regards,
    Miłosz Włodarczyk

    The problem has been resolved: we didn't activate a code in SE80.

  • Problem with mime type in web.xml file

    Hi everybody,
    I actually got a problem with mime types on Weblogic 6.0 under Linux.
    I read the documentation so I added the next lines in the web.xml file in
    the WEB-INF directory of my server :
    <mime-mapping>
    <extension>
    doc
    </extension>
    <mime-type>
    application/msword
    </mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>
    ppt
    </extension>
    <mime-type>
    application/vnd.ms-powerpoint
    </mime-type>
    </mime-mapping>
    Why can't I retrieve a .doc or .ppt files with an internet browser correctly
    ? I get only text/plain ...
    Can someone help me ?
    Regards,
    Alexis Berger

    I am having the same problem with doc and xsl. I have added this
    <mime-mapping>
    <extension>xls</extension>
    <mime-type>application/vnd.ms-excel</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    to my web.xml. I even restarted the server. I still see doc and xsl in binary.
    Is there some other setting that needs to take place?
    I am using WL6.1 with fixpack 1.
    I can see the doc and excel files in the browser if I don't go through the weblogic
    server. That just confirms it's not my browser.
    Kumar Allamraju <[email protected]> wrote:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    It works fine for me in 6.1 SP1.
    <br><br>
    If the following doesn't work , can you
    <br>try application/winword instead of application/msword?
    <p>--
    <br>Kumar
    <p>Siming Mu wrote:
    <blockquote TYPE=CITE>Hi,
    <p>I setup in my web.xml a mime mapping as follows,
    <p><mime-mapping>
    <br><extension>doc</extension><mime-type>application/msword</mime-type>
    <br></mime-mapping>
    <p>When I specify a test.doc url, the doc file appears in my browser
    as
    binary data
    <br>instead of download.
    <p>Please reference change request 055002, which decribes this problem. 
    According
    <br>to edocs, it has been fixed in wls6.1sp1.
    <p>But I am seeing it fixed.  Am I doing anything wrong? Thanks.
    <p>Siming</blockquote>
    </html>

  • How do fix problem with iPages - type does not enter - ?

    How do I fix this problem with Pages - type from keyboard does not enter ?  If I need to re-install, How do I do that?

    Hello DonAndNorma,
    You may need to uninstall, then reinstall the Pages application. Steps for doing so can be found in the article linked below.
    OS X Mavericks: Install, update, and uninstall apps
    http://support.apple.com/kb/PH14299
    Cheers,
    Allen

  • Problem with non currency field calculations to become curr

    Hi guys,
    Is there a problem if I have a QUAN field and DEC field forming to become a CURR field? I mean a have this computation below:
    v_var1 = v_var2 * v_var3.
    where v_var1 type QUAN, v_var2 type DEC and v_var3 type CURR...
    would it incur any problem with the calculations?
    Thanks!

    Hi,
    Did you try ?
    Worked for me flawlessly
    tables bseg.
    parameters : qty like bseg-menge,
                       amt like bseg-dmbtr.
    data : result like bseg-dmbtr.
    result = qty * amt.
                write result.
    The only issue is that the result will be rounded upto 2 decimals.
    But if you declare result as
    data : result(13) type p decimals 3.
    Then there will be no issues.
    regards,
    Advait
    Edited by: Advait Gode on Oct 3, 2008 3:59 PM

  • Problem with a signature field available in Adobe acrobat and absent in READER

    Hello
    i just created a couple of pdf forms with adobe acrobat 9 standard and authorize the people who will fill in these forms to sign them. My properties are correctly done and i can clearly see that signing is allowed from adobe acrobat. I tried to sign it and it worked.
    I asked someone to fill in the doc and sign it with adobe reader and although he could filled it in. no option were available to sign on his end. It clearly stated in the security properties that signing is not allowed.
    i ask my colleague to follow the procedure but it didn't work. http://tv.adobe.com/watch/acrobat-x/how-to-digitally-sign-a-document-with-adobe-reader/
    Do you any suggestion for me knowing that these docs need to go public very soon.
    Thanks in advance.
    V

    if it is enable
    What is the version of Reader, and what happens if you
    - try to click in a form field => nothing it is like a scan document. no highlighted boxes
    - try to type in a form field?
    if it is not
    What is the version of Reader, and what happens if you
    - try to click in a form field => it is highlighted, no problem
    - try to type in a form field? => i can add text but can't save the document once it is filled in.

  • Problem with numeric types in Abap Proxy

    Hello,
    We are having problems with some abap proxy calls. When a numeric type is filled with 0 the node it´s automatically removed and no value it's recived in XI. The only way I have found to avoid this problem it's to define the field with type string or change the cardinality to 1..1 instead of 0..1. It's there any way to maintain the type and the cardinality?? Maybe with a pattern??
    Regards,
    Alberto Pla.

    Hi Alberto
    I had this problem, and I decided to use xsd:string instead of xsd:integer. This will solve the issue.
    Anyway.. check this note:
    [Note 1242795 - Mapping of XSD default values by ABAP Proxy Generation|https://service.sap.com/sap/support/notes/1242795]
    Regards
    Francesco

  • Problem with SAPbouiCOM.EditText field

    Hey Everyone,
    I am experiencing a problem with an edit text box on a form that I created. For some reason when I go into the add mode on the form and type into the field the text disappears as soon as I go to another one of the controls on the form.
    If i leave the cursor in that text box the text stays. Has anyone experienced this problem before?
    Thanks in advance.

    Laura,
    I had this problem and the reason was about the datasource.
    If you item is linked to a UserDataSource, there is no problem.
    If you item is linked to a dbdatasource, you have to ensure the datasource contains at least one record.
    Can you show us the part of xml file, or VB code that you use to create your item on you form.
    the event that you can catch would be et_validate. But I think it's fired when your text box is linked to datasource
    HTH
    Sebastien

  • Data loading problem with Movement types

    Hi Friends,
            I extarcted data using the data source General Ledger : Line itemdata (0fi_gl_4) to BW side.
        Problem is Movement Types for some documents missing.
    But i checked in rsa3 that time showing correctly.
    i restricted the data in bw side infopackage level only particular document that time data loading perfecly.
    this data source having 53,460 records.among all the records 400 records doc type 'we' movement types are missing.
    please give me solution for this how to loading the data with movement types.
    i checked particular document of 50000313 in RSA3 it is showing movement types. then i loaded data in bw side that time that movement types are not comming to be side. then i gave the particular doc 50000313 in infopackage level loading the data that time movement types are loading correctly. this extaractor having 55000 records.
    this is very urgent problem.Please give me reply urgenty. i am waiting for your's replys.
    Thanks & Regards,
    Guna.
    Edited by: gunasekhar raya on May 8, 2008 9:40 AM

    Hi,
    we enhanced Mvement type field(MSEG-BWART) General ledger (0FI_GL_4) extractor.
    this field populated with data all the ACC. Doc . number.
    Only 50000295 to 50000615  in this range we are not getting the movement types values.
    we didn't write any routines in transfer and update rules level.
    just we mapped to BWART field 0MOVETYPE info object.
    we restrict the particular doc no 50000313 infopackage level that time loading the the data into cube with movement types.
    but we remove the restriction infopackage level then loading the data that time we missing the movement types data of particular doc no 50000295 to 50000615.
    Please give mesolution for this. i need to solve this very urgently.
    i am witing for your reply.
    Thanks,
    Guna.

  • Contract - problem with attachements (empty field in LOIO_OBJID)

    Hi Guys,
    We are using extended classic scenario of SRM 4.0 (SRM Server 500) and our latest support package is SAPKIBKS12. We have the following problem with contracts.
    Sometimes when an attachment is added to a contract the system does not fill the following fields in tabel BBP_PDATT.
    LOIO_CLASS: Normally filled with BBP_L_DOC
    LOIO_OBJID: Normaly filled with a GUID size datastring
    Whenever this happens and later on the contract is changed and released the system will raise an abort. We tried the following notes but no good result.
    891293,919467,932602,964065. Some other notes that might be possible are 1042826/1085700/1083063 but we also don't have good experience with these ones.
    Can anyone give us advice about two things.
    1) Is there a way to fill the empty fields in BBP_PDATT so that existing contract will work properly again?
    2) Does anyone know why this problem occurs and how to fix it for new contracts?
    Hope to hear from you,
    Arie

    Thankyou for the reply. I have made following changes but still not working. I am creating the inquiry and customer material is not getting populated. Please guide in resolving the issue.
    DATA : W_ENQUIRY_ITEM_INX LIKE BAPISDITMX OCCURS 0 WITH HEADER LINE.
    W_ENQUIRY_ITEM_INX-ITM_NUMBER  = THEAD-ITEMNO.
          W_ENQUIRY_ITEM_INX-UPDATEFLAG  = 'X'.
          W_ENQUIRY_ITEM_INX-CUST_MAT22 = 'X'.
    APPEND W_ENQUIRY_ITEM_INX.
    CALL FUNCTION 'BAPI_INQUIRY_CREATEFROMDATA2'
       EXPORTING
       SALESDOCUMENTIN               =
         INQUIRY_HEADER_IN             =  W_ENQUIRY_THEAD
      IMPORTING
        SALESDOCUMENT                 = W_NUMBER
       TABLES
        RETURN                        = W_RETURN
        INQUIRY_ITEMS_IN              =  W_ENQUIRY_ITEM
        INQUIRY_ITEMS_INX             =  W_ENQUIRY_ITEM_INX
         INQUIRY_PARTNERS              = T_INQUIRY_PARTNERS

  • A record selection problem with a string field when UNICODE database

    We used report files made by Crystal Reports 9 which access string fields
    (char / varchar2 type) of NON-UNICODE database tables.
    Now, our new product needs to deal with UNICODE database, therefore,
    we created another database schema changing table definition as below.
    (The table name and column name are not changed.)
        char type -> nchar type
        varchar2 type -> nvarchar2 type
    When we tried to access the above table, and output a report,
    the SQL statement created from the report seemed to be wrong.
    We confirmed the SQL statement using Oracle trace function.
        SELECT (abbr.) WHERE "XXXVIEW"."YYY"='123'.
    We think the above '123' should be N'123' because UNICODE string
    is stored in nchar / nvarchar2 type field.
    Question:
    How can we obtain the correct SQL statement in this case?
    Is there any option setting?
    FYI:
    The environment are as follows.
        Oracle version: 11.2.0
        ODBC version: 11.2.0.1
        National character set: AL16UTF16

    With further investigating, we found patterns that worked well.
    Worked well patters:
        Oracle version: 11.2.0
        ODBC version: 11.2.0.1
        National character set: AL16UTF16
        Report file made by Crystal Reports 2011
        Crystal Reports XI
    Not worked patters:
        Oracle version: 11.2.0 (same above)
        ODBC version: 11.2.0.1 (same above)
        National character set: AL16UTF16 (same above)
        Report file made by Crystal Reports 2011 (same above)
        Crystal Reports 2008 / 2011
    We think this phenomenon is degraded behavior of Crystal Reports 2008 / 2011.
    But we have to use the not worked patters.
    Anything wrong with us? Pls help.
    -Nobuhiko

Maybe you are looking for