Using Call_Form - want to retain data in existing calling Form

Hi All,
I would be grateful for assistance with the following scenario:
Form A calls Form B and when user presses 'SAVE' (not to commit to the database) button in Form B then customer
wants the program to return to Form A, commit current pending changes on Form A and then
return to Form B and commit changes there.
At the moment when the program goes back to Form A then understandably When New Form instance
fires and the program will retrieve records from the database however that is not what I want. I want the
records on the Form to be that which they were prior to calling Form B and as such for a commit to be applied
to these added/changed records.
Then, likewise I can call Form B but again I want the current records on Form B to then be applied to the
database.
I don't want to use EXIT_FORM in Form B to go back to Form A because the changes in Form B will be lost and
I don't want to commit changes in Form B prior to committing changes in Form A due to business reasons that the
customer has given.
So really I was just wondering if either with Call_Form or another method there was a way of retaining the data on
the calling form when calling another form?
Your help would be much appreciated.
Kind Regards

At the moment when the program goes back to Form A then understandably When New Form instance firesNo, it does not. Control goes exactly to the codeline after the CALL_FORM
But anyway, your scenario will not work the way you have it now. If you want to return from B to A you will have to do an EXIT_FORM and therefore loose all outstanding changes in Form B.
Two possible solution i can think of:
1. Merge the two forms into one and make the items of Form B appear in a different window. For the user it will look the same, but you can issue one COMMIT_FORM and both changes will be applied. I would go with this approach
2. Issue a POST in Form A before calling Form B. Then, if users saves in Form B, issue another POST and set some flag. When returning to Form A, check that flag and issue a COMMIT_FORM to make changes permanently. If Form B is left without saving you may have to do a ROLLBACK or leave the form with EXIT_FORM(ROLLBACK);

Similar Messages

  • Merge data to existing PDF form?

    Been searching for this for awhile and cant seem to get an
    example that works. I have an existing PDF form with fields
    defined. What I need to do is populate this form with data from an
    existing query. I've seen examples saying that I need to export the
    FDF and use it in CF, but for the life of me, I cant find how to
    export it.
    Any help would be greatly appreciated!
    Thanks!
    -Ron

    There's a better way than using FDF's now that CF runs off of
    java. I remember reading on Ben Forta's site about a neat CF
    wrapper he wrote for using java objects to write to form fields on
    PDFs. sounds like they're bundling it into the next CF version. I
    wish I had a url for you, but I'm sure a few searches on ben's site
    should turn something up.
    P.S. its WAY easier to deal with than the FDF file format!!
    Hope that helps.

  • Using importdata to import xml data into dynamic PDF form

    Hi again,
    Me and my colleagues have a problem using the importData service to import some xml data into an empty PDF form (represented as an XFA input variable).
    In the server log I get the error that Only XDP data is supported for XFA forms, however I only have the xml data and not the entire xdp available.
    Is this really not possible to to (like importing xml data to a form is possible in the Designer when creating forms).
    I hope the scenario is understandable
    Sincerely
    Kim Christensen
    Dafolo A/S
    Denmark
    PS: During the various projects I am working on I keep running into problems...however I am totally new to LiveCycle so I consider this very informative learning steps and appreciate all your help :-)

    Hi again,<br /><br />I have been experimenting a little with both the renderPDFForm and importData services. However I don't seem to be ble to make them work as I  need them to.<br /><br />My scenario is simple, I have one (call it a template xdp/PDF form) and lots of data in xml files (around 1000), that I need to import into the template. Therefore I have set up a "Watched Folder" to take the xml as a document (I guess this is a requirement) and then I need either the renderPDF or importData services to import the xml data into the template.<br /><br />I would like to know how I should setup the services to make this work.<br /><br />When I try to use importdata I setup the following:<br /><br />PDF document: set to be the template i need to import the xml to)<br /><br />Input data: the document variable (an xml file) that is passed to the   Watched Folder<br /><br />Data merged PDF: set to an out xfaform<br /><br />When I do this I get an Coercion error in the server log:<br /><br />2007-11-15 13:27:05,324 ERROR [com.adobe.workflow.AWS] stalling action-instance: 1506 with message: ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.<br />     at com.adobe.idp.dsc.util.CoercionUtil.toDOMDocument(CoercionUtil.java:656)<br />     at com.adobe.idp.dsc.util.CoercionUtil.toType(CoercionUtil.java:878)<br />     at com.adobe.idp.dsc.util.CoercionUtil.toType(CoercionUtil.java:803)<br />     at com.adobe.workflow.datatype.runtime.support.AbstractDataTypeRuntimeHandler.coerceFrom(Abs tractDataTypeRuntimeHandler.java:64)<br />     at com.adobe.workflow.datatype.runtime.support.AbstractComplexDataTypeRuntimeHandler.getNode (AbstractComplexDataTypeRuntimeHandler.java:47)<br />     at com.adobe.workflow.dom.VariableElement.setBoundValue(VariableElement.java:93)<br />     at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataValue(PATExecutionCo ntextImpl.java:729)<br />     at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataWithExpression(PATEx ecutionContextImpl.java:335)<br />     at com.adobe.idp.workflow.dsc.service.SetValueService.execute(SetValueService.java:46)<br />...<br />Caused by: ALC-DSC-119-000: com.adobe.idp.dsc.util.InvalidCoercionException: Cannot coerce object: <document state="passive" senderVersion="3" persistent="false" senderPersistent="true" passivated="true" senderPassivated="true" deserialized="true" senderHostId="127.0.0.1/172.16.10.125" callbackId="0" senderCallbackId="7" callbackRef="null" isLocalizable="true" isTransactionBound="false" defaultDisposalTimeout="600" disposalTimeout="600" maxInlineSize="65536" defaultMaxInlineSize="65536" inlineSize="8039" contentType="application/xml" length="-1"><cacheId/><localBackendId/><globalBackendId/><senderLocalBackendId/><senderGl obalBackendId/><inline><?xml version="1.0" encoding="UTF-8"?><br /><form1><br />  <sub_BlanketTop /><br />  <sub_SubjectTop><br />    <f...</inline><senderPullServantJndiName>adobe/idp/DocumentPullServant/adobejb_server1</s enderPullServantJndiName><attributes file="c:\NCRConvert\ProcessForm\stage\Wx450d4b32843a0b0bcb8ef99e\NCR-00564_dXAE3soH.xml"/ ></document> of type: com.adobe.idp.Document to type: interface org.w3c.dom.Document<br />     at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)<br />     at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)<br /><br />However it is possible to manually import the xml data in Acrobat Professional without any problems.<br /><br />When I use the renderPDFForm with the following settings:<br /><br />Form to render: literal value that points to the template<br /><br />Form data: document variable from watched folder (xml)<br /><br />Content Root URI: repository://<br /><br />With these settings I also get a coercion error, however it does not seem to be exactly the same.<br /><br />Sincerely<br />Kim

  • Pass date value back from called form

    I have a form that allows the user to select a date from a calendar canvas. I can call this form from another from and now want to pass the selected date on the called form back to the calling form. I'm new to multi-form applications so I'm looking for some guidence here. I am thinking a parameter list would be better than a global variable since globals only support char values. I've never done this before so any advice or examples would be helpful.
    Thanks in advance,
    Jeff

    Chander,
    Thanks for your reply. I think this is the .olb I am using. I created my calendar form using it or a similar .olb. The form runs OK, just lacks the means to pass the "date picked" to the calling form. This is where my inexperience is making things difficult. Assuming we are talking about the same olb, how do I pass the date back?
    Jeff

  • Just bought a used MacBook pro after my previous died. I want to migrate my applications, data, etc from a time machine backup of the old computer to the new. Will this affect, or overwrite the Apps., data, etc existing on the new machine?

    Just bought a used MacBook pro after my previous died. I want to migrate my applications, data, etc from a time machine backup of the old computer to the new. Will this affect, or overwrite the Apps., data, etc existing on the new machine?

    No. Only those Apps that are not installed on the new will migrate over.

  • Want create filter data  in using routine by DTP

    hi
    I  want create filter data  in using routine by DTP
    I want dowload data in my DSO, if the material exist in my infoobject 0material.
    But my code donu2019t worked:
    ===============================================================
    *&  Include           RSBC_SEL_ROUTINE_TPL
    program conversion_routine.
    Type pools used by conversion program
    type-pools: rsarc, rsarr, rssm.
    tables: rssdlrange.
    Global code used by conversion rules
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    tables :   /BIC/MATERIAL.
    DATA:
      l_s_ztable   TYPE /BIC/MATERIAL,
      l_s_range  type rssdlrange.
    $$ end of global - insert your declaration only before this line   -
        Fieldname       = ZCOSTCTR
        data type       = CHAR
        length          = 000010
    form compute_ZCOSTCTR
      tables l_t_range structure rssdlrange
      using i_r_request type ref to IF_RSBK_REQUEST_ADMINTAB_VIEW
            i_fieldnm type RSFIELDNM
      changing p_subrc like sy-subrc.
          Insert source code to current selection field
    $$ begin of routine - insert your code only below this line        -
      data: l_idx like sy-tabix.
      read table l_t_range with key
           fieldname = '/BIC/MATERIAL'.
      l_idx = sy-tabix.
      clear l_s_range.
      SELECT DISTINCT /BIC/ZCOSTCTR FROM /BIC/MATERIAL INTO l_s_ztable.
        l_s_range-iobjnm = '/BIC/MATERIAL'.
        l_s_range-fieldname = '/BIC/MATERIAL'.
        l_s_range-sign = 'I'.
        l_s_range-option = 'EQ'.
        l_s_range-low = l_s_ztable-/BIC/ZCOSTCTR.
       l_t_range-HIGH = l_s_ztable-/BIC/ZCOSTCTR.
        if l_idx <> 0.
          modify l_t_range index l_idx.
        else.
          append l_t_range.
        endif.
        p_subrc = 0.
      ENDSELECT.
    ==================================
    best regard
    francoise

    my code
    ===============================================================
    *& Include RSBC_SEL_ROUTINE_TPL
    program conversion_routine.
    Type pools used by conversion program
    type-pools: rsarc, rsarr, rssm.
    tables: rssdlrange.
    Global code used by conversion rules
    $$ begin of global - insert your declaration only below this line -
    TABLES: ...
    DATA: ...
    tables : /BIC/SMATERIAL.
    DATA:
    l_s_ztable TYPE /BIC/SMATERIAL,
    l_s_range type rssdlrange.
    $$ end of global - insert your declaration only before this line -
    Fieldname = MATERIAL
    data type = CHAR
    length = 000010
    form compute_MATERIAL
    tables l_t_range structure rssdlrange
    using i_r_request type ref to IF_RSBK_REQUEST_ADMINTAB_VIEW
    i_fieldnm type RSFIELDNM
    changing p_subrc like sy-subrc.
    Insert source code to current selection field
    $$ begin of routine - insert your code only below this line -
    data: l_idx like sy-tabix.
    read table l_t_range with key
    fieldname = '/BIC/MATERIAL'.
    l_idx = sy-tabix.
    clear l_s_range.
    SELECT DISTINCT MATERIAL FROM /BIC/SMATERIAL INTO l_s_ztable.
    l_s_range-iobjnm = '/BIC/SMATERIAL'.
    l_s_range-fieldname = '/BIC/SMATERIAL'.
    l_s_range-sign = 'I'.
    l_s_range-option = 'EQ'.
    l_s_range-low = l_s_ztable-/BIC/SMATERIAL.
    l_t_range-HIGH = l_s_ztable-/BIC/SMATERIAL.
    if l_idx 0.
    modify l_t_range index l_idx.
    else.
    append l_t_range.
    endif.
    p_subrc = 0.
    ENDSELECT.

  • I have a sync account and used to keep sync with firefox server. Now computer got re-installed and want to sync data from firefox sync server. But I am unable to setup as i dont have sync key.

    I have a sync account and used to keep sync with Firefox server. Now computer got re-installed(OS) and want to sync data from Firefox sync server. But I am unable to setup as i don't have sync key.
    I would like to just sync with Firefox Sync Server with existing account. I can not find any way out for this. please reply me on
    [email protected]

    hello, for the old sync system in firefox 28 and below you also had to sign up with a mail address and password originally - to connect firefox to the old account you would need to have all those three pieces (mail, password & recovery key) available to you unfortunately...

  • I want to transfer purchased song from mac to mac using home sharing but retain all the song modifications I have done

    I want to transfer purchased song from mac to mac using home sharing but retain all the song modifications I have done.  I am finding this very difficult

    If your intention is to copy a just documents and data (word processing files and music for example) then yes, you can use drag and drop. If you want to transfer data and applications and permissions, it would actually be easiest to connect the drive to your old computer and turn on TimeMachine. Once TM is finished, connect the drive to your new computer and restart it holding the option key to get into Recovery mode. Then you can use the restore from TM option to transfer your data and programs to the new computer.

  • I want to transfer data through the serial port in the same coding that hyperterminal uses. How can i do it?

    The serial port seems to be working, and labview seems to be sending the data, but the problem is in which format does it send the data, because in hyperterminal i just input the string "JDX" and it sends it to my device, with labview it sends something but my device does not recognize it.

    nobuto wrote:
    > I want to transfer data through the serial port in the same coding
    > that hyperterminal uses. How can i do it?
    >
    > The serial port seems to be working, and labview seems to be sending
    > the data, but the problem is in which format does it send the data,
    > because in hyperterminal i just input the string "JDX" and it sends it
    > to my device, with labview it sends something but my device does not
    > recognize it.
    Hyperterminal adds the carriage return/line feed to the string which is
    generated by the return key to send out the current line. LabVIEW simply
    sends out what you tell it, so try to set the string to "Show \ Display"
    format and add a \r or \n or \r\n to the command you want to send out.
    Assumes of course that you set the right baudr
    ate/bits/parity etc in
    LabVIEW with the VISA property node, when opening the serial port.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • I want to update date field in oracle table using database adaptor

    Hi Guys,
    I want to update date in oracle table field which is 'DATE' type , but i am getting following error.
    Pure SQL Exception.
    Pure SQL Execute of update crp3apps.IFACE_SO_DATE_CHANGES set PROCESSED_DATE=? where CTRL_ID=? failed. Caused by java.sql.SQLException: ORA-01830: date format picture ends before converting entire input string
    The Pure SQL option is for border use cases only and provides simple yet minimal functionality. Possibly try the "Perform an operation on a table" option instead.
    </summary>
    </part>
    - <part name="detail">
    <detail>
    ORA-01830: date format picture ends before converting entire input string
    </detail>
    i am formated the date using following code and assigned to one variable.
    ora:formatDate(ora:getCurrentDateTime(),'dd-MMM-yyyy hh:mm:ss ')
    this is update query
    update crp3apps.IFACE_SO_DATE_CHANGES set PROCESSED_DATE=#date where CTRL_ID=#id
    Please provide solution.
    regards
    janardhan

    The thing is that XSLT often doesn't deliver the functionality required when it comes to times.
    You suggest appening "Z" to the time but this means that the time is now in UTC time. What if the system from where the date is being converted is running in NZ using local time? Other systems that recieve the date (and correctly handle the time zone) will now have a time that is out by a number of hours.
    You often can't ignore the time zone (drop the 'Z') as if you send the time to a system it has to either assume the time is local to it (which may not be the case... the other system coudl be in a different time zone) or assume the time is UTC (I think crossfire does this by default).
    Typically can't just append a time zone (e.g. +11:00) either as many places have daylight savings so the value to appended is variable (you then need some way of determining what the value is... either Java Embedding or a Service).
    As you mention it does depend on the use case but in many circumstances using Jaba Embedding, not as suggested above but with the appropriate Java.util.Calendar classes, is the best way to handle date and time in BPEL. Even still you need to ascertain the format of times external to the system and ensure you parse them correctly.
    ANd even if you do all this you can still run into problems. I've seen a real world example where two systems which both handled time zones correctly and had previously been working together for quite a while, satrted reporting different times. It turns out that only one of them had had the most recent Java Time Zone patches applied and there had been a change in the dates for daylight savings here (Australia). Be warned!

  • Ever since the up dates... Any of my photos that I use and want to set as wall paper... The software blows the picture out of portion and no way of cropping it and keeping it at the regular size!!!! How can this be fixed!!

    Ever since the up dates... Any of my photos that I use and want to set as wall paper... The software blows the picture out of portion and no way of cropping it and keeping it at the regular size!!!! How can this be fixed!!???

    Hope this helps:
    http://ios.wonderhowto.com/how-to/fixing-ios-7-wallpaper-woes-scale-crop-align-d esign-perfect-iphone-background-0148750/
    Please reply with any further questions.

  • Using a RV180W to encrypt data passing thu an existing VLAN

    Hi,
    I have a customer with an existing VPN across 20 sites that has been implemented using ADSL lines and routers. The VPN is used to view confidential CCTV data. This VPN, which I will call the security VPN, must be upgraded to use the customer's existing IT network but must have its own security so that only authorised Security staff within the security VPN will have access to the equipment within the VPN. The existing security equipment will not be changed, but if necessary can be reconfigured. I have tried to setup the RV180W but I am doing something wrong and the RV180 is freezing. Each site has its own subnet, e.g. 10.0.x.0/255.255.255.0. The equipment at each site is setup to use the gateway 10.0.x.2. IT have provided each site with an access IP address of 10.0.x.3. What I am trying to do is to setup the RV180 with an address of 10.0.x.2 to act as a replacement gateway. This will encrypt the data and then send it 10.0.x.3. The IT internal network will then route the data to one of the other sites in our security VPN via its access IP address of 10.0.y.3 where the RV180 at this site will pick it up and route it within the target site. Any of the 20 security sites must be able to connect to any IP address at any of the other sites. The ADSL connections are obsolete and will be removed. The new infrastructure that IT will provide is based on VLANs. Is what I am trying to do  possible using the RV180 and if so how should I configure the RV180 at each site? If someone can assist me it would be greatly appreciated.

    Thank you for your reply,
    I have attached a drawing of what I need to achieve. I have omitted the old ADSL links that are now obsolete. My concern is: Is it possible, and how can I configure, a VPN or any other method of encryption over an existing VLAN or VPN whilst keeping the existing networking configurations at each site. This is required to ensure that the IT department cannot access or view sensitive security data (e.g CCTV and access profiles) that is moving between the remote sites and Central Security. The other challenge is that the Cisco router will be installed in the remote sites one at a time over 3 months. During this time sites must be able to operate with or without the upgraded security depending upon what has been installed.

  • If we want to transfer data to multiple receiver using context object, how

    If we want to transfer data to multiple receiver using context object, how many receiver determinations we need to create?

    Hi Chiru,
    Just go thro' the below links for sending data to multiple receivers:
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
    Conditions in Receiver Determination
    I hope this helps.
    Regards.
    Praveen

  • I want to write data into eeprom(93LC86) in parallel port using labview?

    I want to write data into eeprom(93LC86) in parallel port using labview? Also I want to read data from EEprom.

    Hi Mr. Mz,
    after having a look to 93LC86-Datasheet I do not see a problem. The self-timing programming cycle of this Chip avoids timing problems; the rest is only logical stuff.
    If you need more general info, how to use the parallel port, I recommend: http://[email protected]/ or
    in case you need an example of SPI-Interface in LabVIEW with paraport - then write to: [email protected]
    You are welcome
    regards
    wha

  • I want to acquire data for multiple channels using PCI 6120 that works on traditional DAQ. I cannot access more than one channel, can someone help me or if someone has data acquisition vi for PCI 6120, please send me over . Thanks

    I have PCI 6120 card and I want to acquire data for more than one channels. I'm using traditional DAQ to get it. But it does not work for more than one channels. If someone has a data acquisition vi for PCI 6120. Or some suggestion how to aquire data please let me know.
    Thanks

    Hello DSPGUY1,
    You can definetly acquire from several channels. For your convenience, I have appended below the content from help that tells you how to configure it:
    "channels specifies the set of analog input channels. The order of the channels in the scan list defines the order in which the channels are scanned during an acquisition. channels is an array of strings. You can use one channel entry per element or specify the entire scan list in a single element, or use any combination of these two methods. If x, y, and z refer to channels, you can specify a list of channels in a single element by separating the individual channels by commas, for example, x,y,z. If x refers to the first channel in a consecutive channel range and y refers to the last channel, yo
    u can specify the range by separating the first and last channels by a colon, for example, x:y."
    Hope this help.
    Serges Lemo
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Parallel activities

    hi all, I'm stuck on a workflow that has 3 branches.  I need to perform three different tasks in parallel and then come together afterwards to proceed with the rest of the workflow (perhaps using a junction).  Each of the three branches have only one

  • Playing a subsection of a video

    Say I have a video clip that is about 1 minute long.  I would like to click on a button and only play a certain subsection of the video; for example from start+10 seconds to start+20 seconds.  Does anyone have an idea on how to do this without embedd

  • ADF ViewCriteria - Nested Query issue.

    Hi, JDev 11.1.1..2.0. I have the following tables. TableMaster ---- TableDetail1 ---- TableDetail2 -----------TableDetail2.1 ------------TableDetails2,2 I have created the required viewLinks and On TableMaster I have created a ViewCriteria where I ha

  • Marc's in the club, Marc's in the club!!!

    I now have an official complaint about my MacBook. To my befuddlement I have been watching this emerge since the first day. I conditioned my battery following Apple's recommendations in the MBP owner's manual. After fully conditioning the battery, I

  • Package does not compile from 10g to 11g

    On the 10g instance I don't get any errors. When I created the package on the 11g instance, I get this : PACKAGE BODY SYSTEM.SIEBEL_ACCOUNT_MANAGEMENT On line:  102 PL/SQL: ORA-00942: Table ou vue inexistante Here's the lign 99 to 108 : BEGIN SELECT