Data Manipulation within SAPscript

Hi All,
I need to change weight from Kg to Tonnes within SAP script form. Can you let me know how can it be done? Is there any command or statement in SAPscript that i can use?
Actually a standard  SAP driver program is creating the form and i am required to print weight of material in tonnes rather than in Kg which SAP driver program is giving me directly.
I am new to SAPscript so pls elucidate.
Thanks in advance,
Ananya

copy the standard form in to z form....
and change as per ur requ...........
and assign that zform to the standard print program....through NACE trancation....
if it is usefull....Plz Reward
Regards
Anbu

Similar Messages

  • What is data manipulation

    dear experts,
    i have got a requirement saying ABAP developers needed ..in that they mentioned
    Data manipulation and Scripting...
    i am assuming data manipulation as inserting, modifying ie. doing modifications in the database
    and not sure of the scripting...
    what do they really mean?
    thanks in advance.

    LSMW Scripting tools  - the referrs to data transfer or conversion from legacy system to SAP.  LSMW is a tool within R/3 that we use to do this.
    Customizations - This could be modifying standard SAP programs to conform to the business requirement and/or writing custom programs to fill the gap
    Data Conversion -  This is converting data from 3rd party or legacy systems to SAP database.
    Data Manipulation - Again, not sure, but it could be anything related to data.
    Scripting -  I think this may refer to the sapscript forms tool that I mentioned before.
    Really all of them except for the first are a little ambiguous.
    Regards,
    RIch Heilman

  • Date Manipulation

    Currently, i'm designing an application which needs to correctly insert/fetch data of type Date to/from a database.
    Unfortunately, i'm new to the java utilities for doing manipulation of Date-type data.
    I need help to design procedures to do some things:
    First, let say I have objects of type Date, (d1 = 29/April/2008, Sunday), (d2 = 4/May/2008), and (d3 = 31/April/2008, Thursday).
    1. I need to validate & verify the date. I need a procedure which can tell me that the d1 is present in the real world thus it is a valid date, and in contrast d3 is not.
    2. I need procedures to operates the date objects.
    I need a procedure which tells me that d2 - d1 is 5 days.
    I need a procedure which can create a new date object if I add some days to a date object. For example d1 + 4 produces (d4 = 3/may/2008). And d2 - 4 produces (d5 = 30/April/2008).
    3. I need a procedure which tells me the name of the day for a certain date. For example, getDayName(d1) will return "Sunday".
    I really appreciate if You know some things about the issues above.
    p.s. As for the databases, I use the MsAccess 2000 for prototyping and MySQL for the real thing.

    akkumaru wrote:
    Currently, i'm designing an application which needs to correctly insert/fetch data of type Date to/from a database.
    Unfortunately, i'm new to the java utilities for doing manipulation of Date-type data.
    I need help to design procedures to do some things:
    First, let say I have objects of type Date, (d1 = 29/April/2008, Sunday), (d2 = 4/May/2008), and (d3 = 31/April/2008, Thursday).
    1. I need to validate & verify the date. I need a procedure which can tell me that the d1 is present in the real world thus it is a valid date, and in contrast d3 is not.If it's a Date object, there's nothing to validate--it is a "real" date. You're talking about validating String objects that represent Dates, not Date objects. Use SimpleDateFormat.parse(). If you setLenient(false) it will throw an exception on dates like April 31, rather than turning them into real dates.
    2. I need procedures to operates the date objects.
    I need a procedure which tells me that d2 - d1 is 5 days.Once you have two Date objects (as opposed to the String objects you have above), you have a couple of approaches:
    * Call Date's getTime() method on the two Dates, subtract the resulting millis, and divide by the number of millis in a day. Depending on your specific rules for how to count elapsed days, and due to the fact that not all days have the same number of millis, this may or may not give you the results you need.
    * Put the Dates into a Calendar. Add one day to the earlier date repeatedly until it catches up with the later date. This is simple and guranteed to be easily adaptable to your rules for elapsed days, but may be too big a performance it if you have to to it often for dates that are far apart.
    * A variation of the above is to add 365 days to the earlier date reapeatedly until the dates are within a year of each other, and then add or subtract days as needed to get them to match. This will be quicker for dates that are several years apart, but the code is slighly more complex.
    I need a procedure which can create a new date object if I add some days to a date object. For example d1 + 4 produces (d4 = 3/may/2008). And d2 - 4 produces (d5 = 30/April/2008).Calendar has an add method that will let you do this.
    3. I need a procedure which tells me the name of the day for a certain date. For example, getDayName(d1) will return "Sunday".SimpleDateFormat.
    p.s. As for the databases, I use the MsAccess 2000 for prototyping and MySQL for the real thing.I thought you were talking about Java dates. Are the DB columns of type DATE or DATETIME? Or are they VARCHAR?

  • DATA manipulation #2

    hi everyone,
              my name is zhi. I have asked for help in privous post about data manipulation. I am still waiting for the other respond. however, i need to finish my porject within a week. So I really hope someone can help me to get the correct responds from the sensor.
    i am geting the reading from the micro-epsilon sensor , ILD-1800. however, i cannot get a proper reading. i know this is because i am no manipulating the data correctly. Since this is my first time doing it. i have no idea which way is the correct way to.  Plus, no one i our school know how to do data manipulation in Labview. please help.
    I have an screenshot , VI, and manufacture manual (please take a look at page 31) in attachment.
    thanks in advance.
    zhi
    Attachments:
    ILD1800_X9751053-C07.pdf ‏1057 KB
    trial2.vi ‏59 KB
    shot1.JPG ‏180 KB

    Hi Zhi,
    I'm guessing you're looking for the Join Numbers and the Logical Shift. 
    I'll post some screenshots that show where they are.
    Message Edited by pallen on 04-24-2008 03:46 PM
    Patrick Allen
    Attachments:
    join numbers.jpg ‏54 KB
    Logical Shift.jpg ‏53 KB

  • Can't see the ESS Additional Personal Data link within Personal Information

    Hi All,
    For some reasons, I can not see the Additional Personal Data link within the ESS Personal Information iView. I have checked the Homepage framework and the existence of the iView in the PCD and everything appears to be fine.
    Do I need to assign any additional infotype to my id or give myself specific authorisations to see this link?
    I would really appreciate if you could provide an answer to my query.
    Thanks,
    Vibhu

    Hi,
    I think mostly you have maintained the data in PA30 Transaction and had data in Info type 0105.
    After this try to check with your EA-HR patch and SAP HR patch in the services. If  both are not maintained at the same patch levels such type of problems will occur.
    Regards,
    kishore.

  • Need Date manipulation in BI Publisher report template

    Hi All,
    I need date manipulation in BI Publisher report template for e.g sysdate+4 this means i need 4 days after todays sysdate.
    That menas if today date(sysdate) is 09/01/2008 then i need (sysdate+4) i.e 13/01/2008.
    Please help me.
    Thanks
    Edited by: user562690 on Jan 9, 2009 3:21 PM

    Hi M14,
    I have doubt on similar type.I have AgreementStartDate as
    <AgreementStartDate>12/03/2008 07:24:10</AgreementStartDate> in XML format.
    I am not able to apply same formula for thsi date format in similar manipulation.
    Please help me.
    TIA
    skr

  • How to make use of adjacent data elements within the same buffer

    Hi,
             Does anyone know how to make use of adjacent data elements within the same buffer? To make my question clearly, I would like to give you an example. In my application, I set "sample to read" as 10 which means at each loop 10 data samples will be taken into a buffer. Now, what I would like to do is to do some calculations on adjacent data samples in same buffer. I tried to use "shift register" for this, but it seemed to me that it only can deal with the calculation between data from adjacent loops. In other words, it skips 9 data elements and take the 10th one for the calculation.
             Here I also attach my VI showing what I did.
        Thank you very much in advance,
                            Suksun
    Attachments:
    wheel_encoder_1.vi ‏98 KB

    Hi Suksun,
          I hope you'll forgive me for distilling your code - mainly to understand it better.  I tried to duplicate your logic exactly - which required reversing the "derivatives"-array before concatination with the current samples array.  As in your code, the last velocity is being paired with the first position.  If first velocity is really supposed to be paired with first position, just remove the "Reverse 1D Array" node.
    cheers
    Message Edited by Dynamik on 01-07-2006 03:17 AM
    Message Edited by Dynamik on 01-07-2006 03:19 AM
    When they give imbeciles handicap-parking, I won't have so far to walk!
    Attachments:
    encoder2.GIF ‏14 KB
    encoder2.vi ‏102 KB

  • Need help in FDM data manipulations

    Hi,
    I am fairly new to Hyperion FDM and still learning its features with Planning. I have following scenario.
    I need to move my data from Dept ABC to Dept XYZ when the account = '10000'. I have both the ABC and XYZ depts in my Planning system.
    Is there a way I can accomplish this in FDM? I am looking at the document, but not sure where to look at it.
    If you can provide some insight on this that will be great.
    Thanks,
    NM

    Hi NM,
    Please see my response to your question on the Network 54 forum.
    FDM is really intended to perform data loads from a source system than move data around within the cube.
    Your requirement is somewhat ambiguous and it sounds like you want to move a specific piece of data that resides within the planning cube already rather than make all future data load like this. Presuming this is a one time activity you may consider using a calc script/business rule.
    You will find that may people use both forums and posting to one is a more effective way to rely on people answering your queries.
    Regards,
    John

  • Best Practice for Package Implementation of Data Manipulation

    Hi,
    Would like to ask which is better implementation for data manipulation (insert, update, delete) stored procedure for a single table.
    To create a single procedure with input parameter for the action such as 1 for insert, 2 for update and so on
    or
    to create separate procedures for each like procedure pInsData for insert, pUpdData for update...

    Hi,
    Whenever you create a procedure it resides as a seperate object in database.
    In my opinion its better to create a single procedure which takes care of all DML concern to a table, rather than creating different procedures for each DML.
    If your number of DML are more and interrelated then its better to create a package and put all related DML procedures in the package concern to one transaction or table. This is because whenever you will call a package entire package will be placed in the memory for a particular session. So if you create different procedures for DML then you need to call the procedures each time you want it to be executed.
    Twinkle

  • Link to summary report with filtered data set within FormsCentral

    Is it possible to generate a link to a summary report with a filtered data set within FormsCentral?
    If I have 4 sales agents each using the form to submit their repsective sales (with a dropdown indicating the sales agent) is it possible to filter the data so that only Sales Agent A see a report of their sales?
    Thanks,
    D

    Try following forum:
    http://forums.adobe.com/community/formscentral?view=discussions

  • Balance Forecast As Of Date falls within an existing Absence event-

    Hi,
    when I am trying to get by Absence balance details through Self service, I got below error. Please let know.
    "Balance Forecast As Of Date falls within an existing Absence event. Please enter another As Of Date. You can navigate to the Absence Request History page and review the dates of the existing requests."
    Thanks
    Reddy
    Edited by: 884646 on Sep 13, 2011 6:29 AM

    Hi Joe,
    in this case, the search function would have been really useful.
    Searching for WWV_FLOW_PAGE_DA_A_AR_FK would have - amongst others - returned this thread:
    Re: BUG in Export causing ORA-02291 (WWV_FLOW_PAGE_DA_A_AR_FK) - Reason
    The last posting shows how to find the dynamic actions that cause the problem.
    Best regards,
    Sabine

  • What class to use for date manipulation

    To get some experience in using Java, I would like to write a small application. I want users to enter their names and birth dates, and then I want to present the number of days they have been walking around on this planet. Furthermore, I want to present the dates when the number of days will be a nice quantity ("On February 1st, 2007 your day age will be 10.000 days", or something like that).
    To calculate the number of days, I have to do some date manipulation. Now I am wondering what date-related classes I should use. Of course, there is Date, but in the API specification, I see 'deprecated' for a lot of methods. Does this mean that the use of Date is discouraged, and/or should be avoided?
    Then, there is a class Calendar, but that's an abstract class. Thus, I cannot create a Calendar object when a user has entered his birth date (in a Swing JTextField).
    The use of GregorianCalendar seems a bit far-fetched to me, but maybe I am wrong.
    In short, when a user has entered his birth date, I want to store it in some date-like object, and I want to be able to do some arithmetic based on that object.
    Can anyone give me some clues?
    Ewout

    > The use of GregorianCalendar seems a bit far-fetched
    to me, but maybe I am wrong.
    Yes, that's the way to go.

  • How to solve "error occurred in the data manipulation engine"? 64bit Windows 7

    Hi all
    I'm having quite a testing time here trying to use the new SAP PA 2.0. After installation the software launches, the Automated Analytics seems to work fine but not the Expert Analytics.
    Steps as follows:
    Launch PA
    Choose and launch Expert Analytics
    Choose Try with Samples
    Open the Dairy Wholesaler file
    Error: An error occurred in the data manipulation engine. Check the manipulation parameters. (HDB 01001)
    I also get this same error when I try to create my own New Dataset.
    I’m on 64bit Windows 7 Pro
    Is there anyone who knows how to solve this problem. I've searched the SCN and online and have tried the following:
    1. Uninstall and re-install. Doesn't help
    2. Uninstall and delete old lumira related folders on the C drive e.g. the SAPPA and SAPVI folders on the C drive, then re-install.
    Much appreciated if anyone could shed some light on this. I've previously had Lumira working with no issues. I've since uninstalled Lumira, Predictive Analytics, and Infinite Insights (as PA 2.0 is all of this combined)
    Regards
    Ria

    In case anyone has the same problem, I found the the following helpful (taken from Error after upgrading to 1.18 ). The solution is for Lumira however its the same steps for PA2
    1.  You might want to try a ‘clean’ uninstall / reinstall . After uninstalling, try deleting these folders:
    C:\Users\Public\sapvi
    C:\Users\<user>\AppData\Local\SAP\Lumira
    C:\Users\<user>\AppData\Local\Temp\sapvi
    In this step I searched for every SAP related file in AppData in the Public, User, and my own username folder under \Users\
    2.  Next, to launch the application, explicitly click "Run as Administrator" on the install file

  • Date format within smartforms printing

    Hello,
    I have an issue regarding date format.
    When I print a delivery note date format is e.g. 08.04.2011, printing an invoice it shows 04-08-2011.
    It seems that depending on the customers country the invoice printing converts to date format within country settings
    (V_T005-DATFM) while delivery form doesn't.
    If I always want to print in date format of sales company what should I do?
    Thanks a lot,
    Wolfi.

    I guess, it should work if you define
    /: SET COUNTRY &country_key&
    in the Initialization section of your smartform.
    Note: The country-dependent formatting options are stored in the T005X table.
    Regards,
    SaiRam

  • Data Manipulation using Cubes

    Dear Experts
    My question: are BI cubes all about quering and reports? can perform data manipulation process, e.g. payroll, to the cube OLAP database directly, something like stored procedures in ordinary relational databases?????
    thanks in advance

    Hi Khidir,
    According to your description, you want to know if we can manipulation data in SQL Server Analysis Services database, right.
    As Reeves said, SSAS provide Writeback feature which is used for budgeting, forecasting or any other scenario in which you need enter data into your structure. Please refer to the link below to wee how to enable/disable writeback feature for a cube.
    http://msdn.microsoft.com/en-us/library/ms178845.aspx
    However, OLAP designed for storing and retrieving large amounts of data to be used for ad-hoc reporting and analytics. And helps users to make more informed business decisions by enabling them to analyze information accumulated during a company’s day to
    day operations.
    http://www.informit.com/articles/article.aspx?p=1313996
    http://www.nenit.net/pages/ssas.aspx
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

Maybe you are looking for

  • Screen Programming(Module Pool ) using Abap Objects

    Hi gurus., I need to create a module pool program with tabstrips and tablecontrols using Abap objects...plz guide me how i can achieve this... i am very much confused.. i dont know how and where to start .. plz send me documents and sample codes rela

  • Emails in Mail OS X

    So here's the thing. i erased a few contacts from my address book and when i start typing the first few letters of the person i want to email, i notice that the person whose information i erased still appears in the To: box. This is really annoying.

  • Problem with Comparator

    I am trying to sort a class Merchant which has a MerchantKey .I need to sort merchant based on terminalId attribute in the MerchantKey class. My code looks like thispublic static Comparator BaseTerminalIDComparator = new Comparator() {               

  • How to activate debugger in sapscript?

    hi friends, i am new to sapscript. i cant see the option of 'activate debugger' in se71->utilities i am using ecc5.0 is there any other option to activate debugger? also can i write a select query in a form? thanks in advance... regards, aj

  • Still photo in FCP exported to Photoshop, not matching aspect ratio

    Hi, I made a still photo in FCP. Sent to Photoshop. Imported back in FCP. Image is squished. I am using DV NTSC 720x480. In Photoshop I also set Image Size to 720x480. For some reason I cant get it to match in FCP. Any idea how I an fix this? Thanks.