How to truncate currency part from total field in SAP B1?

Hi All,
Is there any way to truncate the currency part (for exp USD 23.45 should give 23.45) from total columns while fetching its value thru DI API (without left-trailing the varchar part)?
many thanks in advance..
regards,
Binita

i can only give you some hints for your function
make some globals like (to now the sap separator)
        oRecordSet.DoQuery("SELECT DecSep, ThousSep, MainCurncy FROM OADM");
        if (oRecordSet.RecordCount > 0)
            globals.SBODecSep = Convert.ToString(oRecordSet.Fields.Item("DecSep").Value);
            globals.SBOThousSep = Convert.ToString(oRecordSet.Fields.Item("ThousSep").Value);
            globals.SBOMainCurncy = Convert.ToString(oRecordSet.Fields.Item("MainCurncy").Value);
and define a system global (to set the windows separator)
public static string SysDecSep = ",";
the problem is that the windows country settings are also important.
regards
David

Similar Messages

  • How  to remove the check from ShpmntCostsRel. (field VTTK-    FRKRL)

    Hi Experts,
    Can you please tell me to how  to remove the check from ShpmntCostsRel. (field VTTK-    FRKRL) when saving of the shipment document.

    shipment cost calculation only on the Leg level and not on header level. Currently a lot of confusion happened after creating the shipment cost document and found that the status is u201CBu201D.
    now we intend to define detailed specifications to how to create this new user exit to update the shipment cost relevancy at shipment header.
    The main functionality of the user exit  to be created is to remove the check from ShpmntCostsRel. (field VTTK-    FRKRL).can u pls tell how to do this.

  • How to export single part from (IGES, STEP) assembly

    Hello,
    I would like ask, how to export single part from assembly. If I open any assembly (from step or iges), how I export only one part from that assembly to for example X_T (parasolid). Then the name of that part will by corresponding to name in the component tree of assembly?
    Thanks in advance

    Hello,
    Import your sample CAD file into A3DReviewer, select a single part then right click " Isolate "
    The single part is isolated, now go to File/export select the extension file needed and press ok.
    Only the isolated part is exported.
    Hope it helps
    Best Regards
    William Gallego
    A3D QE Team

  • How to change the lenth of existing field in sap standard table

    Hi all,
    can anybody help,my requirement is, how to change the length of existing field in sap standard table....
    thanks in advance..

    Which field are you thinking of in particular?  Are you wanting to increase or decrease the length?
    Some fields are used so extensively that a change to their length will mean adjusting many tables, some of them potentially very large, and hence taking a long time to adjust.
    Some standard SAP programs expect certain fields to be of specific lengths and won't work if the length is changed.
    Some screens could cease to work.
    If you decrease length, then you could lose data.
    matt

  • How to take the data from sage system to sap r/3

    hi expects,
              how to take the data from sage system to sap r/3? which adapter is to be used?what is the format of data in sage system?how the scenarios will work ? please help me in solving this problem?

    hi rohit,
    the data transfer can be done by using SOAP adapter
    do chk this link
    http://www.sage.org/lists/sage-members-archive/2001/msg01718.html
    http://www.sage.org/lists/sage-members-archive/2001/msg01739.html
    thanx
    Sampath

  • How to extract rpt file from .b1px file in SAP B1

    How to extract rpt file from .b1px file in SAP B1

    Hi Trupti,
    You will not be able to export .b1px file without importing in SAP B1.
    Please import .b1px file in SAP B1 and then export .rpt file from SAP B1 one by one.
    Hope this helps
    Regards::::
    Atul Chakraborty

  • How to import a logo from flat file to SAP in SMARTFORM.

    how to import a logo from flat file to SAP in SMARTFORM. i need to know whether TIFF format is used and also the full steps.
    Thanks,

    Hi,
    You can not directly use a logo from a file into a Smart form. First you will have to upload it to SAP. This has to be done only once. Once it is imported into SAP then you can use it in smart form. To import a logo to SAP, goto SE78. Open the tree under GRAPHICS. Select the file type and click on the Import (first button on the toolbar, just before delete button). Select the logo file and give it some appropriate name along with description. Select appropriate type of the image and click Continue. Your logo will be uploaded into SAP from a file. Now in your smartform, Create a Graphic Node, give the name of the logo along with other properties. In this way you can import a logo from a flat file into SAP and consequently in a smart form.
    Reward points if the answer is helpful.
    Regards,
    Mukul

  • How to Transfer the Data from ORACLE APPS to SAP

    Hi Gurus,
    Here are my couple of quieries regarding Data Migration from Legacy(Oracle Apps) to SAP.
    1. How to link between Legacy system(ORACLE APPS) and SAP ?
    2. How to migrate the data from Oracle tables to SAP directly, instead of loading the flat files(.txt, .xls) ?
    Please respond to my queries ASAP.
    Thanks,
    SAPSURE.
    Edited by: sapsure on Sep 9, 2010 11:39 AM
    Edited by: sapsure on Sep 10, 2010 2:32 PM

    1. How to link between Legacy system(ORACLE APPS) and SAP ?
            If you have SAP PI in place then you can interact with oracle database tables directly from PI and then data can be posted to SAP transactions through IDocs/BAPIs.
            If you did not have SAP PI still you can do JDBC connection directly from ABAP program. Not sure about the exact steps check in forum.
    2. How to migrate the data from Oracle tables to SAP directly, instead of loading the flat files(.txt, .xls) ?
            If you want to directly post the data SAP transactions (I hope not directly to SAP tables) then connection needs to establish through ABAP program or Via. PI.
    Regards,

  • How to truncate the values from the table

    Hi All,
    I am working on an issue..where we are first deleting all the records from the table and then based on few conditions we are putting the records back in that table...when we tried to run this program along with few others those who are doing almost the same stuff we are having issues...we tried to schedule few jobs related to these programs only...but after a ceratin amount of time couple of jobs got canceled...I was talking to my basis guy and he said the problem is ratehr then truncating the records from the table we are deleting the records and it's taking lots and lots of space to execute...so we need to truncate the records from the table insted of deleting it...we are using the following the statement right now:
        DELETE FROM ZTUS_PG.
        COMMIT WORK.
    So can you please tell me how can we truncate the values from this table instead of just deleting them and what would be effect of this.
    Thanks,
    Rajeev Gupta

    I don't think basis is saying you should delete all the records from the table. They are saying remove the table and it's contents (a much faster thing to do). I'm not sure this the right thing to do, but you can have a look at:
    http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.apdv.sample.doc/doc/admin_scripts/s-truncate-db2.htm
    Something like:
    EXEC SQL.
      TRUNCATE TABLE ZTUS_PG REUSE STORAGE
    ENDEXEC.
    COMMIT WORK.                      "Empty table is committed here
    Rob
    Edited by: Rob Burbank on Dec 1, 2008 4:06 PM

  • How to read Email address from TO field

    Hi,
    I am try to read email from outlook using JACOB api. now i can able to read all email from outlook.
    my problem is while i am read TO field for Mail , its return the display name instead of email address.
    please any one tell me how to read email address from TO,CC and BCC field.
    Thanks in advance,
    With Regards,
    Ganesh Kumar.L

    Hi all,
    I am solved my problem,
    First i am getting the Recipients object from mail item object,
    and recipient object i can get all my required details.
    Thanks,
    by
    ganesh

  • How to extract local part from email address

    Hello, dear Colleagues.
    Please, help to extract local part from email address.
    Input string: "From: [email protected]"
    Need to get output string between "space" and "@": "C.Norris"
    Thanks.

    Thanks you, mjolinor.
    It works. 
    Could you show me please how to do the same with regular expression?
    Using -replace:
    $InputString = "From: [email protected]"
    $InputString -replace 'From: (.+?)@.+','$1'
    C.Norris
    Using -match:
    $InputString -match 'From: (.+?)@.+' > $null
    $Matches[1]
    C.Norris
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • How to use spare part from damaged equipment to a new equipment in SAP

    Hello Gurus,
    Sometimes we use a spare part from a discarded equipment to make the present equipment functional. How would this be documented in SAP?
    Thanks & Regards
    Raghuvarun

    Hi Raghuvarun,
    There will be several methods depending upon the your final objectives of such requirement.
    In case you want to just maintain the spare part and the Equipment from which it has been removed, then use Catalog Codes. In the Object part Catalog maintain the Spare part in the Code part and the Equipment number in Item Text.
    This method is hassle free.
    In case the requirement's like physically identifying the spare-part etc., then the process would be very complex. You need to opt for not only Material Codes but also the Serialization of all these spare parts.
    So you need to first consolidate your objectives of the requirement you have asked for. Then post a Query in detail explaining the objectives.
    In most of the cases such requirements are satisfied with ideas like the 1st case I proposed, i.e., Catalogs & Codes.
    Jogeswara Rao K

  • How to create child part from Parent Item - BLOW UP Master - Automatically

    Hi to All,
    Have any one defined this process?
    To create child part from Parent Item - BLOW UP Master - Automatically ie. we receive FG from customer which we need to blow up to its child part. In that case, FG should be consumed & child parts should be generated in stock.
    We tried with recursive, but the stock of FG was again generating with recursive.
    Ex. FG after receiving from customer in stock 1
    Child parts (with offtake 1) X1, X2, X3 in stock zero.
    After processing, FG stock should be zero & X1, X2, X3 = 1.
    Regards
    Nitin

    Create a BOM for one of the "child" parts that has the "FG from customer" as a component and all the other child parts are negative quantity components (by products).
    To make it simple have all the components backflushed and auto goods receipt the child in the BOM header.  Create a production order, then process the confirmation (this will auto goods receipt the 1st child, consume by backflush the "FG from customer" and put the other child parts into stock as by products.
    You will need to get your material prices correct first so that there is minimal variance in the production order.

  • IP: How to hide currency/unit from input-ready query headers?

    Hi,
    Is there a way to hide currency/unit from input-ready BEx web query headers? I've used NODIM-concept for read-only reports, but with input-ready it won't work since formulas cannot be input-ready. Is there a setting somewhere or workaround? The web query is published by WAD.
    Thanks!
    Aki

    Hi Aki,
      If you wanna do this in input-ready query, there is only one scenario: you restrict 0UNIT and 0CURRENCY as one certain constant value for the 'Characteristic Restrictions' in the 'Filter', and DON'T set the according 'Can Be Changed at Execution' selected. Then the 0UNIT and 0CURRENCY can be put into 'Free Characteristics', no neccessary moving them to data area.
      If there're multiple value for 0UNIT or 0CURRENCY for your planning, you can't hide them in data area of INPUT-READY query, since they belong the dimension 'U'.
    Hope this will help.
    Gerald

  • How to upload  schedule line from flat files to sap file

    dear all,
    i want to upload the schedule lines from flat files to sap schedulle lines
    but the flat files have 15 schedule lines and the data is as per date
    so how to upload that and the fields available in flat files are more than the sap screen
    we are having more than 6 items
    and 15scedule lines its abt 90data to be upload
    for one customer in every 15 day
    so how to do this
    is there any direct use in functional side
    with out the help of any abap
    but my user will do it
    so he need a permanent solution
    with regards
    subrat

    Hi Subrat ,
    u can upload the data either ( Master /Transaction) data with the help of lsmw. for that all u need to do is go through the lsmw and do it. in that u can go Batch input recording/ BAPI/ IDOC any of that. here i am sending the LSMW Notes go through it and do the work.
    once u create the LSMW project then u can ask the data from user or u can explain the user about the program and can run the flat file to upload the data.
    if u require LSMW material Just send me blank mail from u. my mail id is [email protected]
    Reward if Helpful.
    Regards,
    Praveen Kumar.D

Maybe you are looking for

  • How do I tell if my Firewire is 4 pin or 6 pin

    How do I tell if my iMac has a 4 pin or a 6 pin firewire connection. I'm looking at buying a external DVD drive using firewire and there seems to be two platforms 4 pin and 6 pin. I have used the System profiler and all it tells me is transfer rate.

  • My HDD died and my Time Machine won't mount, what can I do?

    My late 2011 MBP lost its drive due to some mystery physical damage, so I popped it out and replaced it with a Crucial SSD. I thought it was weird that I couldn't reboot from my time machine backup on a WD My Book 3TB external, I had to get a friend

  • Roll out of PC suite with SMS 3.0

    Hello, Our company wants to roll out Nokia PC Suite 6.82.22 thru SMS 3.0. When we do that the ContentCopier backup is placed in the Default User profile. Rebooting or logging in as another user after install doesn't change that. When we install the M

  • How to view parental/content ratings in iTunes???

    I have checked the box in Parental Preferences to "Show content ratings in library". Yet, I'm not seeing those ratings anywhere - only the popularity-type ratings. Where should I be looking to see the parental content ratings of my iTunes items???

  • Internet sharing from my macbook pro to my iPhone 5

    I have changed the MAC address on my macbook pro. This was successful and i continue to use the internet using the internal router also to provide wifi internet to my iPhone. However, since changing the MAC address, i am prompted to put my password i