Creating a form with WebDB - how should I start ?

Hi,
Since I am a beginner in this area and nobody can help me at the office (but deadline is very close:) I hope somebody can help me at this forum..
So my problem is the followng:
I have a table 'Entity' with columns:
- ID// Name// Version// PreVersion and so on...
There is already implemented a form for Defining new entity. That form introduces Version = '1.1-0' (by default) and PreVersion = 'N/A' (by default), and of course Name and others are introduced by end user.
Now I have to implement a form for creating a new version from a specific Name and from an existing version (of course at the beginning there will exist only versions 1.1-0)
So I don't have idea at the moment which kind of form should I start with: forms on stored procedures or forms on tables/views or other type ?
The form should work in the following way:
when user executes it, he/she must give the Name and Version (from which new version must be created) and then a new row must be inserted with values copied from previous row (or if it's easier with NULL values); BUT Version of the new row must be a value entered by end user and PreVersion of new row must be the value of Version of the modified (previous) row.
For me it's difficult to imagine how can I solve a kind of parametrization in the form. I mean let say I have two columns in the form definition: Ent_name and Version where user gives the searching criteria i.e. Version and Name value of the row which must be modified, but how can I refference them in a SQL code let say added for example in 'Advanced PL/SQL Code' menu of form definition ?
I would appreciate any good idea just to give me a kick in what way sould I start ...
Br.
Szilard

Hi,
You can reference the columns in the additional plsql code using session variables. All the columns are referred with 'A_' prefixed to the name of the column. You can make use of p_session.get_value_as_<datatype> to get values and p_session.set_value to assign values to these columns.
Here is an example
declare
flightno number;
ticketno varchar2(30);
tdate date;
persons number;
blk varchar2(10) := 'DEFAULT';
begin
flightno := p_session.get_value_as_varchar2(
p_block_name => blk,
p_attribute_name => 'A_FLIGHT_NO');
ticketno := p_session.get_value_as_varchar2(
p_block_name => blk,
p_attribute_name => 'A_TICKET_NO');
tdate := p_session.get_value_as_date(
p_block_name => blk,
p_attribute_name => 'A_TRAVEL_DATE');
persons := p_session.get_value_as_number(
p_block_name => blk,
p_attribute_name => 'A_NOF_PERSONS');
p_session.set_value(
p_block_name => blk,
p_attribute_name => 'A_FLIGHTNO',
p_value => to_char(NULL)
p_session.set_value(
p_block_name => blk,
p_attribute_name => 'A_TICKETNO',
p_value => to_char(NULL)
p_session.set_value(
p_block_name => blk,
p_attribute_name => 'A_TRAVEL_DATE',
p_value => to_char(NULL)
Hope this helps.
Thanks,
Sharmila

Similar Messages

  • I created a form with Single Choice fields, 4 days with times listed. But, I want the user to only be able to choose one time, and the time chosen to be unavailable for other users. How do I do this?

    I created a form with Single Choice fields, 4 days with times listed. But, I want the user to only be able to choose one time, and the time chosen to be unavailable for other users. How do I do this? I have 4 blocks of Single Choice fields in order for the summary page to give me each day in the final report. But, I need the user to be able to make a selection of any day and time and that apointment to no longer be available to future users when they log in. Plus, when the user clicks on the time, they are unable to change their mind and choose another time. Here's the link if you want to see what I'm talking about: 2015-2016 Workload Apportionment Review

    I'm afraid not.    It's not rocket science but you need to do some coding. 
    You'll need to find a script (php) and save it to your local site folder.  Then reference the script in your form's action attribute like so.
         <form action="path/form-to-email-script.php" >
    The input fields in your HTML form need to exactly match the script variables. 
    I'm  assuming you're hosted on a Linux server which uses PHP code.  Linux servers are also case sensitive, so upper case names are not the same as lower case names.  It's usually best to use all lower case names in your form and script to avoid confusion.
    Related Links:
    Formm@ailer PHP from DB Masters
    http://dbmasters.net/index.php?id=4
    Tectite
    http://www.tectite.com/formmailpage.php
    If this is all a bit beyond your skill set, look at:
    Wufoo.com (on-line form service)
    http://wufoo.com/
    Nancy O.

  • How to create a form with two column headings

    I have a business request to create a data form to handle multi year data by month. This will require creating a form with two column headings - with the first row be Year and second row be month, and data entry will begin in the third row and down.
    I can do multiple row headings in the layout design, but somehow can not get it to work for multiple column headings.
    Thanks in advance

    If you're in the "Layout" tab, simply pull the "Years" dimension and the "Period" dimension into the Column section. Planning can be a little picky about where you "drop" the dimension as you're dragging and dropping it. Drop it in the cell directly under the letter name of the column. Other than that, there's not much to it.
    Hopefully this helped,
    - Jake

  • How to create a form with DW CS3?

    Hi all,
    I want to create a form to gather email, address information on a website. Question, can I do that using
    DW CS3? and what else do I need in order to do that? I know there is more to it than just creating a form
    with fields, that there is programing behind it. I use 1 and 1.com for my hosting.
    Any help would be greatly appreciated.

    You'll need a form to email processing script.  Ask your host if they provide one you can use.  If not and your server supports PHP, I highly recommend this one from DB Masters.  It is safe, secure and with good spam prevention built in.
    http://dbmasters.net/index.php?id=4
    Other options:
    Forms to Go from BeboSoft
    Wufoo
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Troubles creating a form with Acrobat

    I have created a form with Acrobat 9 Pro. However, when it is brought up with Acrobat Reader, the following message appears:
    Sending data files by email: Please note, this form contains an email submit button. Clicking this button will email a data file... However, the form itself will not be sent. Remember you cannot save a complete file of this form with Adobe Reader 9.
    When the submit button is clicked, the following message is posted on a popup window.
    Operation not permitted.
    Here's the link to a form I am trying to get to work. It works fine if I use the Pro version, but the Reader version doesn't want to allow the form to be sent. http://www.drugfreedekalbcounty.info/pdf/interventionscholarshipform.pdf
    Any help would be appreciated. Thanks.

    It may have been improved with AA9, but at least up through AA8, Acrobat required the use of MAPI on the machine to deal with e-mail. If that has changed, then the other recommendation to use extended rights might meet your need. There is a 500 use limitation for the extended rights (more requires negotiation with Adobe). This may be a limitation that changed with AA9 Pro Extended.
    The rights are not needed if the data file is sent and not the whole PDF. There is no need for the whole PDF since the data file can be opened in the original form document - giving the same result. Your observation that it works in AA9 for e-mail is making the assumption that everyone uses AA9. That is a dangerous assumption if you are developing a general use form. You should assume folks have back to AA7, or even AA5 (like I have on this machine). There are still a few that check in here on occasions with AA4. I have not seen an AA3 question for several years. Thus backward compatibility may be an issue, depending on your client base.
    The cleanest way to work with forms is to submit to a web script. Then there is no question about the end result. The use of web scripts is even recommended for online html forms for much the same reasons. I was giving a heads up so that you have considered possible users that do not have the newest and best, assuming that the latter resolves the e-mail issue.

  • I'VE CREATED A FORM WITH IMAGES. WHEN I OPEN THE FILE IN ACROBAT READER, THE IMAGES ARE BALCK BOXES!

    I'VE CREATED A FORM WITH IMAGES. WHEN I OPEN THE FILE IN ACROBAT READER THE IMAGES ARE BLACK BOXES.
    THE FORM HAs (extend features to acrobat reader). THE FORM WAS DISTRIBUTED.
    NON OF MY EMPOYEES CAN SEE THE IMAGES. WHAT'S WRONG? CAN YOU HELP?

    However, the view large images is an issue for a form that is being distributed. Either a note needs to be added to the PDF to tell how to enable the view or the images need to be changed so that the enabling is not needed.

  • I want to create a form with a manager completing one section and a staff member another. Both sections protected by different passwords.

    I want to create a form with a manager completing one section and a staff member another. Neither should be able to edit the others. Can different sections be password protected by different passwords? I'm thinking there might be an "official use only" function.

    You can use 2 forms in one portfolio.

  • Creating PDF Forms with InDesign CS6 | CS6 & Creative Cloud Feature Tour for Design | Adobe TV

    Adobe Design Evangelist, Terry White, shows how to create PDF forms with InDesign CS6
    http://adobe.ly/I5cRJm

    Hi
    Is there any method for having text fields align the inputted text to the centre?

  • Is it possible to create a form with multiple form fields on a single line?

    Is it possible to create a form with multiple form fields on a single line?  I can't find anything in the documentation or a template that does this.
    I am trying to create a "documents received" checklist with a check box on the left margin, a date-received field to the right of the check box and and a description of the document (Formatted Text) on the far right.
    In the past I have entered the Fixed Text with a word processor, published it to a PDF file, then added the check box and date fields with the Acrobat Forms editor.  I would prefer to use FormsCentral if it is possible.

    We now support multiple fields on one line. This post provides a brief overview.
    Give it a try and send us your feedback.
    Sorry it took so long.
    Randy

  • Creating a Form with Report based on View

    Hi All,
    I wanted to create a form with report based on two tables so:
    1. I created a view (called COMBO) based on two tables
    2. I then created a form with report based on the view
    Everything seemed fine thus far until I tried to edit existing records - I got the error:
    ORA-20505: Error in DML: p_rowid=2002082600001172, p_alt_rowid=REPATRIATION_ID, p_rowid2=, p_alt_rowid2=. ORA-01776: cannot modify more than one base table through a join view
    Unable to process row of table COMBO.NB: REPATRIATION_ID is the primary key of the Repatriation table. The other table is Applicant.
    & when I tried to create a new record - I got the error:
    ORA-01776: cannot modify more than one base table through a join view
    Unable to process row of table COMBO.Someone please enlighten me!
    Kind Regards
    Kamo
    Edited by: Kamo on 2009/03/12 2:33 AM

    Hello Kamo,
    You need to create an 'instead of' (update/insert/delete) trigger on your view to process the inserts etc into the 'real' tables.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Can we create a form with dreamweaver for muse

    Hello,
    I need help because please because I want to create a form with choices and I can't do it with muse. I would like to know if someone can tell me if i can do it with dreamweaver and insert into muse after.
    Thank you for your help.

    Hi creatike,
    Why not use Adobe muse itself for forms?
    Configuring forms (and more) in Adobe Muse
    Thanks,
    Preran

  • How should i start with web dyn pro abap

    Hi,
    I have been working on webdynpro java now i would like to start working on webdynpro abap
    could any one tel me how should i start with it.. pdfs, blogs would surely help??
    i do have sufficient knowledge of abap too..
    some brief idea about what is "web dynpro for abap" would surely help me
    Thank u in advance...

    hi,
    please do a search before posting for basic questions, i searched the same and got around 700 hit.
    any ways check these links.
    As the name suggests Web Dynpro for ABAP uses exactly the same meta model as its cousin Web Dynpro for Java. A Web Dynpro component, a Web Dynpro view, a Web Dynpro model, a Web Dynpro controller have the same semantics both for ABAP and Java. The main difference is the designtime environment, the development infrastructure and the runtime environment.
    The designtime environment is properly embedded in the ABAP Workbench where Web Dynpro artifacts are simply a new category like BSP applications or classical dynpro based applications before. Also no surprises regarding the development infrastructure. The correction and transport system keeps track on all changes that are done, versions them and helps to propagate the Web Dynpro application from development to production like you would do with ordinary BSP or dynpro-based applications.
    Last not least the execution platform is the ABAP server that produces application content ready to be integrated in the NetWeaver Portal seamlessly. Features like portal eventing can be used between applications written in ABAP or applications developed with Java.
    The following r excellent websites containing PDF & PPT docs on ABAP Web Dynpro:
    Web Dynpro for ABAP in SDN
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/512040e1-0901-0010-769c-c238c6ca35d9
    Developing ABAP Applications Using Web Dynpro
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/d41b25d2216babe10000000a1553f6/frameset.htm
    Web Dynpro ABAP: Development in Detail
    http://help.sap.com/saphelp_nw2004s/helpdata/en/03/0048413e466e24e10000000a155106/frameset.htm
    WDA Sample programs & tutorials
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Web Dynpro ABAP Demonstration Videos
    Web Dynpro ABAP Demonstration Videos
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11
    SAP Web Dynpro Overview
    http://wendtstud1.hpi.uni-potsdam.de/sysmod-seminar/SS2005/presentations/12-WebDynpro-Overview.ppt
    Web Dynpro General Concepts
    https://admin.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/30ea953b-8e57-2910-4e85-f7be60b00407
    Web Dynpro
    http://help.sap.com/saphelp_nw2004s/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
    Web Dynpro for ABAP: Tutorials for Beginners
    Web Dynpro for ABAP: Tutorials for Beginners
    Developing ABAP applications using Web Dynpro Configuration Scenario
    http://www50.sap.com/businessmaps/8729920B31E343F099B71340B15F06DB.htm
    Web Dynpro for ABAP
    http://www.vnsg.nl/temp/508773747/A1-WDA_Themadag.pdf
    Yogesh N

  • Creating a form with a skip pattern (skip logic)

    Hello - Using LifeCycle Designer 7.0
    I am creating a form with a simple: Yes/No radio button for one field(quesiton).  I would like to have the form skip to a later field(question) if they answer 'No'.  Can this be coded somehow in FormCalc?
    Is there a way to easily put skip logic (not tab) in a form (Survey).
    Thanks for your time/help.

    You can use the setFocus methos to move the cursor to the field that you want..
    Place it in the click event of the radiobutton.
    In FormCalc:
    if(radioButton1.rawValue == 1) then
         $host.setFocus("<FIELDNAME>");
    endif
    In Java Script:
    if(radioButton1.rawValue == 1)
         xfa.host.setFocus("<FIELDNAME>");
    Thanks
    Srini

  • How should I start with EJB programming?

    I have more than one year's programming experience in developing complicated data-driven web applications.
    Now I decide to use EJB to build new web applications, how should I start?
    Should I take a professional training class or just read several EJB books? I have Ed Roman's EJB book, it is great.
    Thanks for your reply in advance.
    James

    I think you start of by reading the EJB book by Ed Roman.It's free and availaible at www.theserverside.com.
    Read the first few chapters.
    Another good book is Richard-Monson Haefel's EJB published by Orielly.
    Start of by coding a few examples of stateless session beans on an easily deployable server like the J2EE server, available from this website.
    Your next aim should be to understand Entity beans and the issues surrounding container managed persistance and bean managed persistance.
    Voila in no time you wil be a champ.

  • How should i  start

    Hi Experts,
    i joined a company which has SAP implementation, it went live in other modules  except HR. so all SD,MM is running thru sap but no HR. so i joined as HR consultant and i am a fresher.
    so please guide me how should i start .i read the business process, BBP, and other configurations.In HR there are OM,PA,TM and PY has configured.but there are some problems in config in all submodules like payroll has not run properly, time dat aproblem, absence - attendance quotas problem and so on.
    please guide me how to strat and how to check.
    i will update everyday this thread every time to let u know the status.
    Thanks in Advance

    thnks sikindar for immd reply.
    actaully i errors are many in time and payroll.
    so thats the reason the bussiness people are no tusing the sap for their hR activities.
    the compnay went live in SAP in last year, there after they are not using the sap for HR activities.
    i received some problems like
    payroll is running for 45 days
    if a person got terminated his time sheet is coming with no time events
    if a person joined on 23 rd feb, his payslip is coming with all sundays and remaining days.........
    like this many.
    so to solve this puzzle how should i start.
    shall i start the configuration from scrach or how ??
    i am the only person here in HR. its a challenging task  for me.
    i require your help.

Maybe you are looking for

  • Merge replication and Snapshot replication monitoring

    Hi All, I have mere publication with 56 subscriptions. I need to monitor their synchronization status twice in a day. I want to do it using TSQL. Like i will create a table for that and i will schedule a job, which inserts the replication status reco

  • OBIEE 10g How ADD new report and use outer join

    Hi, I have to add a new report that use a new view...(just created in db) I'm new in OBIEE.. can you explain how can i do it? Actually: 1. I opened administrator tool and import new view (and created an alias) in physical 2. I built a logical table i

  • Fonts in Italics

    Hey, I'm having a problem with most of my fonts in FCP. The ones I use most often (Arial, Century Gothic, etc.) are permanently in Italics whenever I try to use them. If I click the Italics tab, they skew a little more to the right. All my fonts work

  • Deleting of future price in accouning 1 View from material master.

    Hi, During month end process of CKMLCP, we have done the marking activity. so that the system updated the future price for all materails under specified plants. this is valid from 31.03.2008. by this time the system was not released the price automat

  • Edge Commons - Interactive Svg Map

    Hi folks! I've watched the extraordinary video tutorial of the very talented guys from EdgeDocks (http://edgedocks.com) about how to build an Interactive Svg Graphic with Adobe Illustrator and Adobe Edge Animate: http://www.youtube.com/watch?v=4UEB6g