Commit/save the data after copy in custom.pll

Hi All,
In custom.pll added code to populate data based on other fields. Its copying successfully, but not able to save the record to database.
when user goes to field, form is asking for update, correction.
Can some one please tell me how to commit data to database once it is copied?.
what built in should be use to commit data after copying?.
Thanks to all in advance...

Hi Asif,
Thanks for the reply, that didn't help me.
fields which populated are into key flexfield segments, how to save the key flexfield, this is a TAB.
I am not able to find any where on this. In form I have a block1 based on data in fields in this block1, key flexfield in a tab should be populated, here we are successful by copy built in function.
Next is how to save keyflex data in TAB after populating.
can someone help me please...

Similar Messages

  • Cannot save the configuration after zone changing.

    The customer is trying to save the configuration after a Zone changing. The error message is the following:
    # copy running-config startup-config
    2008 Oct 10 13:22:45 SW1SU %ZONE-2-ZS_INIT_FAILED: Failed to save persistent configuration
    2008 Oct 10 13:22:45 SW1SU %ZONE-2-ZS_INIT_FAILED: pss_create failure, code = 0x8048001e, URL = sync:/mnt/pss/zone_zs_active_zset_cfg
    2008 Oct 10 13:22:45 SW1SU %SYSMGR-2-CFGWRITE_ABORTED: Configuration copy aborted.
    Configuration update aborted: request was abort
    or
    #copy running-config startup-config
    2008 Oct 10 13:22:45 SW1SU %ZONE-2-ZS_INIT_FAILED: Failed to save persistent configuration
    2008 Oct 10 13:22:45 SW1SU %ZONE-2-ZS_INIT_FAILED: pss_create failure, code = 0x8048001e, URL = sync:/mnt/pss/zone_zs_active_zset_cfg
    Does someone has any idea how to solve this problem?

    The root cause is the compact flash card. There was a software fix attempted in 3.0.2 but is not 100%. If the problem shows up again, the reload will clear it, but the ultimate fix is to replace the compact flash card with a new one. In some instances, based on your service provider, this may be a complete chassis replacement. This requires license re-homing as licenses are tied to the chassis serial number. I believe it has to do with the number of writes to the CF card. At some point, the card goes into a read only state and reload is the only option to clear it.

  • Bought a new macbook air because my old computer is formatted. I want to sync my iphone to my new mac, so I can save the data on my iphone without losing data. how can I do?

    bought a new macbook air because my old computer is formatted. I want to sync my iphone to my new mac, so I can save the data on my iphone without losing data. how can I do?

    You need to copy everything form your old computer, or your backup copy of your old computer to your new one.
    The iphone is not a storage/backup device.  it simply mirrors the selected content of the computer to which it is synced.

  • How to print/save CL_GUI_ALV_GRID data using button in custom tool bar?

    Hi,
    I have a screen 9002 where I have used a CUSTOM CONTAINER and the screen 9002 is called from 9001.
    I am showing an ALV GRID in the CUSTOM CONTAINER by using CL_GUI_ALV_GRID.
    Screen 9002 also has 2 buttons (PF-STATUS): PRINT and SAVE in application tool bar. Now, I need to print the data of ALV and save the data in excel by pressing these 2 buttons respectively. Please let me know the way-out. If these functionalities can achieved by standard tool of the screen 9002, it will be also OK.
    Thanks
    Arghya

    Hi,
    Why don't you use the function "excel inplace" in the ALV?  With the ALV you have some buttons "SORT/TOTAL/FILTER... and you have PRINT and EXCEL INPLACE"?
    Do you use the method   call method g_grid->set_table_for_first_display in order to display your data alv?
    Best regards

  • Dynamically built query on execution How to save the data in Object Type

    Hi,
    In pl/sql I am building and executing a query dynamically. How can I stored the output of the query in object type. I have defined the following object type and need to store the
    output of the query in it. Here is the Object Type I have
    CREATE OR REPLACE TYPE DEMO.FIRST_RECORDTYPE AS OBJECT(
    pkid NUMBER,
    pkname VARCHAR2(100);
    pkcity VARCHAR2(100);
    pkcounty VARCHAR2(100)
    CREATE OR REPLACE TYPE DEMO.FIRST_RECORDTYPETAB AS TABLE OF FIRST_RECORDTYPE;Here is the query generated at runtime and is inside a LOOP
    --I initialize my Object Type*
    data := new FIRST_RECORDTYPETAB();
    FOR some_cursor IN c_get_ids (username)
    LOOP
    x_context_count := x_context_count + 1;
    -- here I build the query dynamically and the same query generated is
    sql_query := 'SELECT pkid as pid ,pkname as pname,pkcity as pcity, pkcounty as pcounty FROM cities WHERE passed = <this value changes on every iteration of the cursor>'
    -- and now I need to execute the above query but need to store the output
    EXECUTE IMMEDIATE sql_query
    INTO *<I need to save the out put in the Type I defined>*
    END LOOP;
    How can I save the output of the dynamically built query in the Object Type. As I am looping so the type can have several records.
    Any help is appreciated.
    Thanks

    hai ,
    solution for Dynamically built query on execution How to save the data in Object Type.
    Step 1:(Object creation)
    SQL> ED
    Wrote file afiedt.buf
    1 Create Or Replace Type contract_details As Object(
    2 contract_number Varchar2(15),
    3 contrcat_branch Varchar2(15)
    4* );
    SQL> /
    Type created.
    Step 2:(table creation with object)
    SQL> Create Table contract_dtls(Id Number,contract contract_details)
    2 /
    Table created.
    Step 3:(execution Of procedure to insert the dynamic ouput into object types):
    Declare
    LV_V_SQL_QUERY Varchar2(4000);
    LV_N_CURSOR Integer;
    LV_N_EXECUTE_CURSOR Integer;
    LV_V_CONTRACT_BR Varchar2(15) := 'TNW'; -- change the branch name by making this as input parameter for a procedure or function
    OV_V_CONTRACT_NUMBER Varchar2(15);
    LV_V_CONTRACT_BRANCH Varchar2(15);
    Begin
    LV_V_SQL_QUERY := 'SELECT CONTRACT_NUMBER,CONTRACT_BRANCH FROM CC_CONTRACT_MASTER WHERE CONTRACT_BRANCH = '''||LV_V_CONTRACT_BR||'''';
    LV_N_CURSOR := Dbms_Sql.open_Cursor;
    Dbms_Sql.parse(LV_N_CURSOR,LV_V_SQL_QUERY,2);
    Dbms_Sql.define_Column(LV_N_CURSOR,1,OV_V_CONTRACT_NUMBER,15);
    Dbms_Sql.define_Column(LV_N_CURSOR,2,LV_V_CONTRACT_BRANCH,15);
    LV_N_EXECUTE_CURSOR := Dbms_Sql.Execute(LV_N_CURSOR);
    Loop
    Exit When Dbms_Sql.fetch_Rows (LV_N_CURSOR)= 0;
    Dbms_Sql.column_Value(LV_N_CURSOR,1,OV_V_CONTRACT_NUMBER);
    Dbms_Sql.column_Value(LV_N_CURSOR,2,LV_V_CONTRACT_BRANCH);
    Dbms_Output.put_Line('CONTRACT_BRANCH--'||LV_V_CONTRACT_BRANCH);
    Dbms_Output.put_Line('CONTRACT_NUMBER--'||OV_V_CONTRACT_NUMBER);
    INSERT INTO contract_dtls VALUES(1,CONTRACT_DETAILS(OV_V_CONTRACT_NUMBER,LV_V_CONTRACT_BRANCH));
    End Loop;
    Dbms_Sql.close_Cursor (LV_N_CURSOR);
    COMMIT;
    Exception
    When Others Then
    Dbms_Output.put_Line('SQLERRM--'||Sqlerrm);
    Dbms_Output.put_Line('SQLERRM--'||Sqlcode);
    End;
    step 4:check the values are inseted in the object included table
    SELECT * FROM contract_dtls;
    Regards
    C.karukkuvel

  • How To Open PopUp for every 15 min Till User Saves The Data

    Hi all,
    I am working on an application where I need to open a popup for every 15 min till user saves the data and stop after users save the data. I am not able to get idea on how it could be done. Kindly post some views in which this could be achieved.
    Thanks in advance.

    Hi,
    one alternative is the uncommittedDataWarning property is a out of the box funcionality, but don´t have time configuration.
    https://blogs.oracle.com/shay/entry/warning_of_uncommitted_unsaved_changes
    if no you can use a af:poll in combination with a popup message

  • How to modify and save the data in the table control

    how to modify and save the data in the table control

    hi priya,
    kindly go thru the code below.
    PROCESS BEFORE OUTPUT.
      MODULE status_9010.
      LOOP WITH CONTROL tab_control.
        MODULE move_data_to_table.
      ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE user_cancel AT EXIT-COMMAND.
      LOOP WITH CONTROL tab_control.
        MODULE move_data_from_table.
      ENDLOOP.
    MODULE move_data_to_table OUTPUT.
    This is to move the data from the internal table to *the table control
    *zmpets_mode-modecode, zmpets_range-rangeid, *zmpets_servfacto-factor are field names of the table *control columns.
      READ TABLE int_factor INDEX tab_control-current_line.
      IF sy-subrc = 0.
        zmpets_mode-modecode = int_factor-modecode.
        zmpets_range-rangeid = int_factor-rangeid.
        zmpets_servfacto-factor = int_factor-factor.
      ENDIF.
    ENDMODULE.                 " move_data_to_table  OUTPUT
    **********************************************8888
    MODULE move_data_from_table INPUT.
    *To move the data from the table control to internal *table 'INT_FACTOR'.
      int_factor-chk = line.
      int_factor-modecode = zmpets_mode-modecode.
      int_factor-rangeid = zmpets_range-rangeid.
      int_factor-factor = zmpets_servfacto-factor.
       MODIFY int_factor INDEX tab_control-current_line.
        IF sy-subrc NE 0.
          APPEND int_factor.
          CLEAR int_factor.
        ENDIF.
    ENDMODULE.                 " move_data_from_table  INPUT
    if this helps , kindly award points.
    for any clarification just mail me.
    regards,
    Anversha.S
    [email protected]

  • Is there any way to save my data after i have updated my phone and backed it up first

    Is there any way to retrive or save my data after updating my phone and its locked, asking to restore to original settings in itunes.

    If there is a passcode on your iPhone, which you don't know, there is no way around it. You'll have to restore factory settings. The passport is meant to protect sensitive data, and that is, what it does.

  • Unable to Save the Data Using BexSetData

    Hi All,
    I have a issue regarding saving plan data,
    Design: I  got a Workbook with several tabs, each tab has a input ready Query and has a layout as below
    A formatted user facing worksheet containing; an area where the user enters their plan data with a BEx save data button, an input ready query and a worksheet containing the BExSetData formulas that reference the values entered on the user facing worksheet.
    Issue: When i try to enter the value in the user facing sheet, the data is shown in the BexSet Data Sheet with out any problem,
    But when i try to save the data the data is not saved into the cube.
    Can any one please give some ideas of possible cause.
    One more question is the input ready query doesn't have any references to other sheets, will this be a reason for the data not saved?
    Please through some ideas.
    Thanks
    GC

    Hello,
    I think it is problem with the buffer:
    Check the notes 1136163, 1138864, 1146957, 1179076.
    please check the below;
    Delta buffer query in RSRT for BI-IP ("<infoprovider>/!!1<infoprovider>)
    Planning query donu2019t show the current data
    Thanks.
    With regards,
    Anand Kumar

  • How can i save the data in a jpanel form to a .txt document

    how can i save the data in a jpanel form to a text file using parse function,this should happen when i click a save button .
    please help me..

    each time when i fill the form and click save button ,all the data in the form should be written to a text file and each time when i repeat it should append to the old data in the text file.the elements in the form should be seperated by pipe delimeter.
    thanks for your patience..

  • How can i save the data from the Oracle database to my local directory

    How can i save the data from the Oracle database to my local directory instead Of saving the data file to the Directory created on the Oracle Server ?
    I require to design the Procedure which will pull the data from various tables and needs to store the data in the Client's local directory.

    Since SQL*PLUS runs on the client, you can use SQL*PLUS to spool data to your local drive.
    You could also use the database to write a a specified drive where all users have access to (mapped network drive, e.g.). I wouldn't recommend doing it that way, but it is sometimes useful when the files are created in some nightly batch run.

  • One of the folders on my external hard drive has transformed into a unix executable file and I can no longer access my files. Is there any way to save the data?

    One of the folders on my external hard drive has transformed into a unix executable file and I can no longer access my files. Is there any way to save the data?

    Wow, have seen Files do that, but a whole Folder as I recall!
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

  • A string that can be displayed as both ASCII and hex in an indicator will only save the data to a file in ASCII format

    We can see the data in an indicator just fine, but when we try to write that string of hexadecimal data to a file, it will only save the data in ASCII format.  
    This sounds fairly simple, as the indicator can be selected to display the data in several different formats (VI>Properties>Appearance>Display Style: Normal, Backslash...., Hexadecimal).  However, I have been unable, as of yet, to save the data in different formats.
    Solved!
    Go to Solution.

    altenbach wrote:
    ... or you could just read the string:text.text property to get whatever is actually displayed.
    like this...
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    texttextString.PNG ‏6 KB

  • How do I save IRS pdf forms so that I can fill in and save the data

    when I downlaod a US government IRS form I am unable to fill in the form, save the data and print, I have tried saving as a pdf from the print menu and using the tools menu none of which works

    I know there is an app called PDFPen that is supposed to fill in PDF forms.  PDFPen is available in the App Store, but it is not free.
    I have no financial interest in PDFPen.  I also don't know if there is some cheaper way to fill in the forms.

  • How to save the data to sap abap using Adobe Flex

    Hi Everybody......
    I am new to Adobe flex with sap abap.
          How to save the data in sap abap using Adobe Flex coding is Action Script and using RFC web service.
    Please give me any suggisions on that.
    Thank you
    Venkatesh V

    Hi Venkatesh,
    Try with folowing coding...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
         initialize="initApp()">
         <mx:Label x="10" y="23" text="Airline" width="90" id="lblAirline"/>
         <mx:TextInput x="108" y="21" id="txtAirline"/>
         <mx:Button x="10" y="49" label="Get Data" id="btnGetData" enabled="false" click="getData()"/>
         <mx:DataGrid x="10" y="97" id="dgFlightData" dataProvider="">
         </mx:DataGrid>
           <mx:Script>
              <![CDATA[
                   import mx.collections.ArrayCollection;
                   import mx.rpc.AbstractOperation;
                   import mx.rpc.events.FaultEvent;
                   import mx.rpc.soap.LoadEvent;
                   import mx.rpc.events.ResultEvent;
                   import mx.rpc.soap.WebService;
                   [Bindable] public var flightData:ArrayCollection;
        private var flightWS:WebService;
         private function initApp():void{
              flightWS = new WebService();
              flightWS.wsdl = "http://uscib20.wdf.sap.corp:50021/sap/bc/soap/wsdl11?services=ZGTEST&sap-client=000";
            flightWS.addEventListener(FaultEvent.FAULT,onWSError);
              flightWS.addEventListener(LoadEvent.LOAD,onWSDLLoaded);
             flightWS.addEventListener(ResultEvent.RESULT,onFlightWSGotResult);
              flightWS.loadWSDL();
    private function getData():void{
              var operation:AbstractOperation = flightWS.getOperation("ZGTEST");
              var input:Object = new Object();
              input.Airline = txtAirline.text.toUpperCase();
              operation.arguments = input;
              operation.send();
         private function onWSError  (event:FaultEvent):void{
         private function onWSDLLoaded(event:LoadEvent):void{
              btnGetData.enabled = true;
         private function onFlightWSGotResult(event:ResultEvent):void{
              flightData = event.result.SFLIGHT;
              ]]>
         </mx:Script>
    </mx:Application>
    Regards,
    Vinoth

Maybe you are looking for

  • Netboot will not working, getting globe, then flashing folder with question mark.

    I just created a netboot image which went off without any problems.  I copied the two .nbi folders to my NetBootSP0 folder, and enabled them within netboot.  My OS X server which is my netboot server and dhcp server.  When I boot using N or Option N,

  • Win XP/Win 7 dual boot question and

    My replacement motherboard for my crapped out Dell one that was a replacement, crapped out the other week and it was tested with a new power supply to no avail. it was also tested in a shortcut, (connecting the two wires directly, the two that "short

  • Should we report bugs which are in the latest EA (JavaFX 8, b83)?

    Hi, I just downloaded JDK 8 b83, just to see how my application runs with it and to see the new Modena style. However I recognized a lot of bugs and my application is nearly unusable. Should I report them? Or is it just because it is beta... I mean i

  • Placing Screen Grabs in an iMac Vector?

    I have a layered vector drawing of an iMac. Sometimes I want to take a screen grab of a website I have created and place it within this vector to put on my website as part of my portfolio. To do this I use the Apple screen grab command, then I shrink

  • IMatch locks up on Ipad2 (iOS 5.1)

    I updated to 5.1, now iMatch is locking up on me once the screen goes into power saving mode. So if I start playing a song, then leave the iPad untouched for a few minutes, the screen goes dark but the song still plays. Once I wake up the machine, th