Correct way to manipulate data form

Hi expert,
i need to ask you something about the correct way to manipulate the data in a system form.
I need to Create a New Quotation Form and to fill "CardCode" and "Project" field.
What is the correct way to do that?
Actually, I made these steps:
1) Open a New Quotation form from a button using SBO_Application.ActivateMenuItem("2049");
2) Connect to "CardCode" Item using oCardCode = (SAPbouiCOM.EditText)oQuotationForm.Items.Item("4").Specific;
3) Change the value of "CardCode" using oCardCode.Value = sCardCode;
I ask you: is possible to create an object containing this data and bind the object to the Form instead of create a Form and manipulate data from it?
Thanks for your answers.
Jonny Cortonicchi

hi.
you said that  for copying the cardcode
this is good..
oCardCode = (SAPbouiCOM.EditText)oQuotationForm.Items.Item("4").Specific;
ok u r asking for project code under Accounging
As per my knowledge no need to click account tab ..ok
exactly like this way...
oCardCode = (SAPbouiCOM.EditText)oQuotationForm.Items.Item("4").Specific;
dim project as string= "your_desird_project_code"
oform.items.item("157").specific.value= project..
plz check it...
i think currect..
just try..
if u get any problem update me..
other wise wait for expert suggestion..
maximum it will work no need to click on account tab..
if the item is not focused also does not the matter.. it will past  the value..
just try..

Similar Messages

  • Whats the best way to manipulate  data using a Form ??

    I have a few forms and basic navigation and data manipulation I find are rubbish - cos I am rubbish at making it any better.
    I have a customer form (layout style of form) and table, I set up 2 buttons (enter_query & execute_query) to retrieve specific details based on customer ID input by the user. If the specified ID is for the wrong customer I want a button or buttons that will navigate through the IDs one by one until the right customer is found. If it was a tabular form I could do it but can I manage this if the form is not ?
    Once the data is retrieved what is the best way to manipulate and save it ? Can I create a button that has PL/SQL code to UPDATE that particular record or do you guys and girls use the SAVE icon ?
    Finally, I can't work out how to get the right side of the form displayed it seems to miss off an inch or 2. The canvas editor shows the form properly, the window size is just a smidge bigger than the canvas. When the form is run, how can I make the display area for the R/H/S bigger ?
    Thanks in advance.

    Sorry - I had to read up on what a base table block was.
    I think I am. In this particular form I have one block - a customer block which has its items pulled in from the customer table, no problems there, it works fine.
    My problem is I need to make it as user friendly as possible, if the user inputs the wrong customer ID (or does not know their name) I want them to be able to scroll through the customer list using an up or down button.
    When do you have the commit_form statement run, (the OK button) after every change or after a block of changes ? Commit writes the changes to the database giving other users access to that data right ?! How often should it be used ?

  • "Correct" way to do data entry form?

    I have a situation where I want to build a page that will accept input for a number of fields. The data entered will be passed to a PL/SQL procedure that will then be sent to another application. There are no database tables being read, nor are any being updated. This is just a simple data entry screen. I created a separate HTML region for each field so that I can make them so they are not right up against each other. But I am unhappy with what I have created. Is there a "best practice" method for creating a data entry screen so that I can have data fields that I control location on the screen (or at least horiz and vert spacing between fields)? I want to put text at various places, etc.
    Most of what I have coded has been some kind of interactive report pulling data from a table. That formatting is controlled by APEX. But here I really want to do more free-form work. I know I can code the HTML itself but I need to take the data values entered and use them in a process as parameters. Maybe I am over-complicating this? Would be fine if I had a pointer to an example that I could work with.

    The data entered will be passed to a PL/SQL procedure that will then be sent to another application. There are no database tables being read, nor are any being updated.Sounds like it would best to start with a wizard-generated Form on a Procedure based on the procedure.
    Is there a "best practice" method for creating a data entry screen so that I can have data fields that I control location on the screen (or at least horiz and vert spacing between fields)?Use item attributes to control the structure of the HTML table used to layout the form, or try using the Drag and Drop Layout tool. The appearance can then be customized using CSS—such as margin and/or padding properties to provide more generous item spacing, e.g.
    .formlayout td {
      padding-bottom: 1em;
    }

  • Correct Way to Pass Data from Main VI to Sub VI

    I'm currently working on a program that consists of a main VI which passes in several inputs to numerous copies of the same subVI which are displayed in subpanels. As you may know, in order to display a subVI in a subpanel, a reference to the subVI must be passed into the "Insert VI" property node of the subpanel. However, I am unsure as to what is the proper way in which I can generate this reference from the subVI block on the block diagram of the main VI. Note that in my case, it is insufficient to simply generate a reference to the subVI by pointing to the file path of the subVI and opening an instance of it, because that instance of the subVI must also receive input from the main VI. Generating a reference in this way does not, as far as I know, allow the main VI to interface with the subVI.
    I had thought that I developed a solution to this problem by extracting a reference to the current instance of the subVI from the "Owning VI" property node of any control or display in the subVI. This works well for about 12 hours of program execution. However, after that point, the program starts highlighting the "Insert VI" property node every time the subVI is updated. Furthermore, the main VI seems to often lose the reference to the subVI and becomes unable to start, especially after the subVI has been edited. Given these two problems, this solution clearly is not a proper solution.
    Could anybody advise on how to properly generate a reference to an instance of a subVI that receives input from a main VI?
    Any suggestions would be appreciated.

    Griffon2-6 wrote:
    I've figured that out too - set the "Option" input on the "Open VI Reference" block to 0x8.  
    Great!
    Thats the way to go. Keep digging around and you will find solutions in the LabVIEW Help or on the forums for most of the things.
    When you set the open VI reference option to 0x08, you can obtain reference to different instances of the same VI, so that you can pass different data and let them run separately.
    Griffon2-6 wrote:
    However, now I've discovered that the inputs from the main VI are not being passed to the subVI instances as the program is running. Does passing control values via invoke nodes allow for real-time data transfer?
    I have one question. You said you are calling this sub VI in a sub panel? How many subpanels do you have and why are you calling the reentrant vi in differnet sub panels?
    Could you post your code?
    (If a post helped you sove the problem, mark it as solution. That will help us identify and track the solutions for different issues.)

  • Which is the correct way to reload data in a partition?

    I have a partitioned table and there's a particular partition which i need to remove the data and reload it again since we found out that parts of that partition had invalid data. Which is the best (valid) way to remove the old contents of the partition:
    1) to truncate the partition and then drop the tablespace it points into, and building again the tablespace and partition?
    or
    2) to simply delete the partition and rebuild it ?
    thanks

    A general rule of thumb that I use it to think in layers...
    --GUI {What you show the use}
    --GUI code logic {local rules and edits}
    --WEB/Network {interface for multiuser}
    --BUSINESS RULES {rules and coding to make your business work}
    --DATABASE {where do you store your durable data}
    Granted, this is a very simplistic look, but it will get you a start a thinking process for your app.

  • Correct way copying depth data or color data to opencvMat

    Hello,
    I want to collect synchronized IR data, depth data and color data from the kinect v2. Following the pattern from the sample, CoordinateMapper, I am stuck on the section below:
    if (imageFormat == ColorImageFormat_Bgra)
    hr = pColorFrame-AccessRawUnderlyingBuffer(&nColorBufferSize, reinterpret_cast<BYTE**>(&pColorBuffer));
    else if (m_pColorRGBX)
    pColorBuffer = m_pColorRGBX;
    nColorBufferSize = cColorWidth * cColorHeight * sizeof(RGBQUAD);
    hr = pColorFrame<CopyConvertedFrameDataToArray(nColorBufferSize, reinterpret_cast<BYTE*>(pColorBuffer), ColorImageFormat_Bgra);
    In particular,
    1) why is there a copy from the underlying buffer and
    2) what is m_pColorRGBX (initialization for the color image buffer perharps?)
    3) how would I copy the resulting color image to an opencv cv::Mat array in a memory safe fashion?
    Any help is greatly appreciated.

    Hi Carmine Sirignano,
    thank you for the information. 
    So, if I understand correctly, the code above says,
    if the imageFormat of the incoming frame is already in BGRA, THEN->,
    Copy the underlying buffer to the colorBuffer
    BUT if the m_pColorRGBX is initialized, THEN ->
    Initialize the color buffer, and copy into the buffer
    I understand the first condition, but I am unclear as to why we have the second condition for m_pColorRGBX. Can you explain why this is?
    Finally, I would like to copy the buffer data into a cv::Mat. Can you give any guidelines on how to do this in a safe fashion?

  • What is the correct way to transfer data from old hard drive to new Crucial SSD on a mid 2010 13" MBP

    I just bought an Crucial M550 256GB for my mid 2010 MBP. And I'm not clear on the data transfer instructions.
    1) it came with Acronis instalation kit with a blank CD and a usb cable. I'm not sure what this CD is used for?
    2) is it best to install the SSD with a fresh OSX download and then just use time machine to load all my previous settings?
    3) or do I partition the SSD before I install it in the MBP and transfer using a clone?
    Not sure what to do here...

    Well, I am not familiar with the Crucial kit you got - you might want to ask them about that blank CD...... however, I did install an SSD and this is what I did:
    I ordered a kit from OWC which included an external USB hard drive enclosure and tools. When it arrived, I first installed it in the external enclosre, hooked it to my MBP and then used CarbonCopyCloner to make a full bootable clone of my system on the new SSD after formatting it to Mac OS Extended (Journaled) and the GUID partition scheme. I then uninstalled the internal, installed the SSD in its place (following the install video availabe at OWC) and booted up - that was it. I installed the old internal drive into the external enclosure for an instantaneous bootable cbackup.

  • Is there a way to combine data from multiple responses (collected from different forms)?

    Since FormCentral (FC) doesn't support XFA-based dynamic forms (utilizing form logic), we have a long form that we may need to separate out into smaller PDF forms.  However, the data from each form needs to remain as a group. Wondering if there's a way to combine data form individual forms using FC, or maybe simple solution after-the-fact. I presume there would have to be some sort of unique identifier on each form as a reference.
    NOTE: These are PDF forms imported into FC, not web forms created in FC.

    Hi;
    There are not any methods that FormsCentral provides.  You would not be able to combine it within FormsCentral, you can experiment with exporting the data from FormsCentral to Excel and then combining in Excel.
    Thanks,
    Josh

  • Data Forms takes a lot of time to open

    Hi,
    My Data Forms are having around 24 columns and some 150 rows, with multiple currencies. I have gone through the document 779502.1 for data form design considerations. But I cant split this form, have dense dimensions in rows and columns and rest in page and POV, not many dynamic members, have static dimensions in POV and hidden, no business rule running on save, and not much data in it as its still in development so not using suppress #missing. What are other ways to have data forms open faster? its not the IE , I tried opening with other browsers too. Please suggest
    Thank You
    Edited by: 831072 on Oct 20, 2011 3:07 PM

    Hi,
    What are your hardware specs ?
    Are you working from a remote environment ? If you are, activating HTTP compression will greatly reduce the time needed to open the forms.
    endy

  • Correct way to save a string within your application?

    Hello all -
    I have been facing an issue finding out the correct way to save data (specifically text) within my application (NOT within local storage on the device in a text file). I have been getting mixed up with outdated results from WP7 and others that have just
    very much confused me.
    Details:
    I am making a Windows Phone 8.1 Runtime application and need to know how to read and save text that is entered into a textbox, example would be appreciated.
    Thanks in advanced -
    Zack Bowling

    You'll need the following namespace:
    using windows.Storage;
    Then save a string in local (or roaming) settings (replace 'local' with 'roaming' to use roaming storage - the data will roam with the user to other devices with the same app installed). Here's a bit of code that shows how to store and retrieve a string
    (works for WinRT 8.1):
    ApplicationData.Current.LocalSettings.Values["settingName"] = "stored string value";
    var msg = new MessageDialog(ApplicationData.Current.LocalSettings.Values["settingName"].ToString(),
    msg.ShowAsync();
    Visit http://blog.grogansoft.com/ for Windows development fun.

  • Hi ... Is there a way to import data from fillable form pdf to iwork numbers ???

    Can somebody tell me ., is there a way to import data from fillable form PDF to iwork numbers or do i need to write a code to do this ???

    This may help but I have never used PDF forms:
    http://helpx.adobe.com/acrobat/kb/acrobat-forms-form-data-web.html

  • Is their way to prevent a form data from being lost when a validation fails

    Is their way to prevent a form data from being lost when a validation fails?

    So I would use APEX_COLLECTION (there is some information in APEX documentation).
    Read all data you need to keep after submit and save them to your collection. Then, if validation fails, show report with data not from base, but from your collection. You have to create process, which creates collection, and you need to modify your report definition to get data not only from DB but also from collection.
    If you have any questions feel free to ask.
    Regards,
    Przemek
    Edited by: Przemek on 2009-01-10 17:47

  • Correct way to do "where " clause on date type column

    Hi,
    I am using a following query in Oracle 10.2.0.3 express edition database to retrieve the rows greater than a certain date.
    select from FLOWS_020100.WWV_FLOW_ACTIVITY_LOG1$ where TIME_STAMP > to_date('31-OCT-12');*
    This query returns all the rows including the rows with TIME_STAMP == '31-OCT-12'.
    This TIME_STAMP column is defined as below in this table:
    COLUMN_NAME     DATA_TYPE     DATA_LENGTH     NULLABLE     CONSTRAINT_TYPE      INDEX_TYPE
    TIME_STAMP     DATE      7     N     C     NORMAL
    Table has 420 rows with '31-OCT-12' being the smallest date and '16-NOV-12' being the biggest.
    Is there anything wrong in my above query?
    Why is ">" returning the rows that include primary key where-clause value also?
    Can you please guide what is the correct syntax for this date comparison?
    Thanks for your time and help.
    Best Regards.

    907882 wrote:
    Hi,
    I am using a following query in Oracle 10.2.0.3 express edition database to retrieve the rows greater than a certain date.
    select from FLOWS_020100.WWV_FLOW_ACTIVITY_LOG1$ where TIME_STAMP > to_date('31-OCT-12');*
    This query returns all the rows including the rows with TIME_STAMP == '31-OCT-12'.
    This TIME_STAMP column is defined as below in this table:
    COLUMN_NAME     DATA_TYPE     DATA_LENGTH     NULLABLE     CONSTRAINT_TYPE      INDEX_TYPE
    TIME_STAMP     DATE      7     N     C     NORMAL
    Table has 420 rows with '31-OCT-12' being the smallest date and '16-NOV-12' being the biggest.
    Is there anything wrong in my above query?
    Why is ">" returning the rows that include primary key where-clause value also?
    Can you please guide what is the correct syntax for this date comparison?
    Thanks for your time and help.
    Best Regards.Remember that a date column also contains a time part. Therefore your query would pick up
    rows with a time_stamp of 31-Oct-12 13:40:09, for example. Now that is greater than 31-Oct-12
    (which is really 31-Oct-12 00:00:00), so it is picked up.
    You probably want >= to_date('1-Nov-2012', 'dd-mon-yyyy')
    Note: always use a format mask in a to_date, otherwise if the default format mask changes, your code will break.
    BTW: please mark your threads as answered, if they have been:
    >
    Handle:      907882
    Status Level:      Newbie
    Registered:      Jan 13, 2012
    Total Posts:      9
    Total Questions:      6 (5 unresolved)
    >
    Edited by: Paul Horth on Nov 27, 2012 9:30 AM

  • Get cell value in Planning Data form and using it in a business rule

    Hi Everybody,
    if i set the data type of an Account Member as text, is there a way to get the value inserted by the user in a dataform, turning it as dimensional member and using it in a business rule?
    So, if the user insert the value "USA" in a cell, can i use any functions to tell essbase that "USA" is a dimensional member and then using it in a business rule, for example in a cross-dimension like Period1->FY12->USA?
    I tried to use the function @Member and it doesn't work, but i'm wondering if there is a way that can let me get the value inserted and use it just like a dimensional member. What are the ways that can let user input value that can be used in a business rule? I think one is by using SmartList, is there any other ways? Maybe using variables?? As an alternative i tried to use Prompt Variable but there are too many members on which the rule must run.
    Please help me, i wanna know if i can or not let the user input the member on which the rule must run...
    Thank all guys
    Bye
    Maurizio

    Thanks EW for your answer,
    YesI could use SmartList even if i think it's very tough to handle. My experience on using SmartList in caclc script is not so good. I try to enter in details of my requirement:
    I have 500 account members.
    For each one, I have to calculate the monthly budget by sharing the amount among the months. The user wants to calculate it on the basis of the actual flow(over the months) of an unspecified account of the prior year. The unspecified account must be inserted in a data form.
    So, i could use a Smart List but it colud be of 500 elements and then i should make a rule with as many IF as how many are the accounts. Or im wrong? The only way to use smart list dynamically in a business rule is by referring its values in a IF condition. Or i'm wrong.
    I tried to use execution variable ma it seems don't work. In this case the user must pay attention to write the account correctly, otherwise as you say the rule doesn't work.
    The value in PD0A020 is "PD0A000" (that is a dimensional member). The value in PD0A000 is "hello". In PD0A040 the rule returns "PD0A000" and not "hello" as i would. The function @Member appears to be not able to catch the dimensional member by the value in PD0A000.
    {Example}="test"->"Input"->"Scenario_test"->"FY12"->"PD0A020";
    Fix("test1","Input","Scenario_test","FY12")
    "PD0A040"=@Member({Example});
    endfix
    So, my doubt is: is it possible for Essbase/Planning to use the value inserted in a data form and to turn it in a dimensional member? What are the practicable ways to let the user input/choose the member on which makes the rule run?
    Thank you Ew, thank you guys
    Maurizio

  • Issue on the Data Form - Implied Sharing

    Hello,
    We have a data form on which the user can drill down till Level 0 Customer in rows to input data. The issue is for some customers when the user is trying to input the data at Level 0 Customer it is not saving the input number but was getting overridden with the parent value automatically. If the user was inputting at parent customer it was filling the same value to the level 0 customer too.
    When I checked in the outline...I noticed that these were the Customers that had only a single child and I am guessing that this is happening because of the implied share property. I am not sure if there could be any other reason for this to happen. If I am wrong please do correct me.
    Now I know if you change the property of the parent customer to Never Share it might resolve the issue.But the problem here is - there are a lot of such customers. And every month we do get new customers that could belong to the same case. It would be tough to manually go and change the property to Never Share for all those Customers and keep a track of it. It might be a maintenance issue.
    So are there any other solutions? Can we somehow resolve it? Please let me know your suggestions or ideas on what you think would be the best way to get this fixed.
    Any ideas are appreciated.
    Thank you !
    ~ Adella

    Thanks a lot Robb for your suggestions.
    Yes you are right since both the parent and the children are set to store in our outline more blocks are being created.
    Taking the parent off the data form might not be the best solution as there are many such customers and in that case they might have to keep a track to not include such parents on the dataform specially while designing it..and also then its like some of the customers will show parent and children both and some only children in rows. I think they wouldnt like it and it might hurt consistency. But yes I will surely check on the option of turning on the Implied Sharing in the Essbase.cfg
    Thanks once again !
    ~ Adella

Maybe you are looking for

  • Campo vAFRMM para transporte Marítimo - NFE 3.10

    Olá Pessoal, Para NFE 3.10, é exigida a tag vAFRMM quando há transporte marítimo. AFRMM = Adicional de Frete para Renovação da Marinha Mercante. O problema é que nas transações de NFe, esse campo aparece como cabeçalho e no XML aparece como item. O v

  • Welcome to the MPLS over ATM Discussion

    Welcome to the Cisco Networking Professionals Connection Service Provider Forum. This conversation will provide you the opportunity to discuss issues surrounding MPLS over ATM. We encourage everyone to share their knowledge and start conversations on

  • Error in TOC when merged

    Dear Members, I had imported the Winhelp files to .chm files. Those files when merged with the main chm produces an invalid TOC with word document name as the book and topic title as pages. But when it is not merged it works fine. I had created TOC m

  • Drag Drop based Report Builder

    Hello to all I want to create a report builder that will create report with drag drop operation. Can any one give me an idea or example that will help me a lot. With Regards Preet Edited by: socmag_Java_developer on Apr 17, 2009 3:27 AM

  • List by "Purchased by"

    Can I get a list of the iTunes songs by who purchased them? My kids have friends who have iPods, but whose parents don't allow them to purchase songs. They come to our house and do this (I've just found this out). I want to get rid of all of their so