Updating database thru DS control

Hello,
I created a Data service against a single RDBMS table. I tested the service for both read and insert. I've created the DS control and then created the Web Service based on this control.
When I run this WS from the workshop, I'm able to retrieve the results from the DS. But while trying to insert a new record or update with the SUBMIT functionality, I'm getting the return as "null" for the SUBMIT method and nothing is getting inserted to the database. I attached the screenshot of the TestBrowser.
I do not see any exceptions. I'm kind of stuck and not sure how to proceed from here. Any help is greatly appreciated.

Please search the ALDSP edocs for Web Service Client and pay close attention to all the steps. You might also look at http://dev2dev.bea.com/wiki/bin/view/CodeShare/StaticWebServiceClients which is perhaps a better example.
If you want to use the JWS test page to do updates, you must hand-craft (or otherwise create) a DataGraph for your insert. Rather than becoming intimate with the SDO specification, your time would likely be better spent creating a Java client.

Similar Messages

  • Update database table through table control

    Dear friends
    i have to update entered data in table control to data base table please suggest some modification in my coding for the same
    following is my coding
    report  zrb_ins_data.
    data wa_tmp_rebset type zrb_hed.
    data wa_tmp_rebset1 type zrebate_items.
    types:begin of st_hdr,
              bukrs            type zrb_hed-bukrs,
              sch_typ          type  zrb_hed-sch_typ,
              sch_desc         type  zrb_hed-sch_desc,
              sch_no           type  zrb_hed-sch_no,
              vtweg            type  zrb_hed-vtweg,
              vkorg                type  zrb_hed-vkorg,
              vkbur            type  zrb_hed-vkbur,
              vkgrp                type  zrb_hed-vkgrp,
              spart            type  zrb_hed-spart,
              regio            type  zrb_hed-regio,
              ort02            type  zrb_hed-ort02,
              ort01            type  zrb_hed-ort01,
              kunnr                type  zrb_hed-kunnr,
              konzs            type  zrb_hed-konzs,
              matkl            type  zrb_hed-matkl,
              matnr            type  zrb_hed-matnr,
              lifsk            type  zrb_hed-lifsk,
              shtyp            type  zrb_hed-shtyp,
              from_date        type  zrb_hed-from_date,
              to_date          type  zrb_hed-to_date,
              hkont            type  zrb_hed-hkont,
              aufnr            type  zrb_hed-aufnr,
    end of st_hdr.
    types : begin of st_itm,
              item_id          type zrebate_items-sch_no,
              sch_no           type zrebate_items-sch_no,
              from_dat         type zrebate_items-from_dat,
              to_dat           type zrebate_items-to_dat,
              type             type zrebate_items-type,
              qty_per_rate     type zrebate_items-qty_per_rate,
              key1             type zrebate_items-key1,
              curr_com         type zrebate_items-curr_com,
              key2             type zrebate_items-key2,
              qty_per_rate1    type zrebate_items-qty_per_rate1,
              curr_com1        type zrebate_items-curr_com1,
            end of st_itm.
    data:it_hdr type table of st_hdr with header line,
         wa_hdr type st_hdr,
         it_itm  type table of st_itm with header line,
         wa_itm type st_itm.
    controls ztbl type tableview using screen 1000.
    *CALL SCREEN 1000.
    *&      Module  STATUS_1000  OUTPUT
          text
    module status_1000 output.
      set pf-status 'SYMBOL'.
      set titlebar 'xxx'.
    endmodule.                 " STATUS_1000  OUTPUT
    *&      Module  USER_COMMAND_1000  INPUT
          text
    *module USER_COMMAND_1000 input.
    *&      Module  get_data  OUTPUT
          text
    *&      Module  user_command_1000  INPUT
          text
    module user_command_1000 input.
      case sy-ucomm.
        when 'EXEC'.
    perform get_data.
    endcase.
    endmodule
    *&      Form  GET_DATA
          text
    -->  p1        text
    <--  p2        text
    form get_data .
      move-corresponding wa_hdr to wa_tmp_rebset.
          modify zrb_hed  from wa_tmp_rebset.
      move-corresponding wa_itm to wa_tmp_rebset1.
      wa_tmp_rebset1-item_id = 'TS1234'.
      wa_tmp_rebset1-sch_no =   wa_hdr-sch_no.
      wa_tmp_rebset1-from_dat = wa_itm-from_dat.
      wa_tmp_rebset1-to_dat = wa_itm-to_dat.
      append wa_itm to it_itm.
    modify zrebate_items from wa_tmp_rebset1.
    endform.

    hi,
    Refer to this link...you'll get the idea..
    how to update dbtab from table control?
    Re: How to update a DB from a table control.
    Edited by: avinash kodarapu on Dec 27, 2008 12:36 PM

  • Unable to Update Database.

    Hi All,
    I was trying to load data thru load files and got the following message.
    Unable to update database while in readonly mode for backup
    Unexpected Essbase error 1013231I tried looking at Information Help Menu.
    I could not find the error number.
    Could anyone help.
    Thanks in advance.
    Bal.

    Hi Atul,
    Thanks for the help.
    The Readonly error got resolved.
    But still the following error is displayed when I am loading data thru load rule.
    To Brief you up, I had done a database corrupt check using validate command because of the following error. The information map asks you to do the same since the other parameters are in the affirmative ie sufficient disk space, not using addsin, File is present.
    *Unable to Read Information From [C:\Hyperion\essbase\app\SMC\PL\PL-BS-LD.rul]*
    Unexpected Essbase error 1019003
    I used the VALIDATE <error.txt> command and found that the database is not corrupt.
    I also used the export command to see if everything goes well. That also works well.
    Note: I do not have any data in the Cube. I had cleared all data.
    Can you please help ?
    Regards
    Bal.
    Edited by: user11091956 on Apr 12, 2010 11:26 PM

  • Resolution to error - Unable to update Database Statistics

    OK, If there's one thing i hate most about SAP, its the dreaded installation, I am always so paranoid, as to something will definitely go wrong,
    Lately i realized that it aint my mind , but the damn installation itself is pretty damn stupid. Why cant SAP leave the installation packaging to professionals like installshield...
    Unfortunately SAP doesnt think of it as a better idea, so until then lets try to resolve as many errors as possible thru these forums..
    Here's one error resolution ,i am pretty sure, many are checking for..
    Use the following procedure to resolve error
    <b>Warning - "loading of sql client library oci.dll failed"
    Error - Unable to update Database Statistics, Check BRCONNECT.log</b>
    The problem seems to be with the SAP Patch Collection InstallMaster disc Material No.(<b>51032143_13</b>).
    To resolve the problem, here's what needs to be done,
    1)Install DB Instance as usual.Then after the installation errors out due to loading of sql
    client library oci.dll ..
    2)I unsar the downloaded DBATOOLS.sar (Thanks for the Link Andreaz!!!)
    log into sapnet (eg. service.sap.com) with your user-id/pwd:
    -> downloads -> support packages and patches -> entry by application group -> additional
    components -> sap kernel -> now chose either 32 or 64 bit; either unicode or non-unicode ->
    sap kernel 6.40 -> windows server -> oracle -> download the package DBATOOLS Package for
    Oracle 9.2.x ... brconnect is part of that package...
    3)Copy the files in the Unsar'd package, as follows
         overwrite br*.exe to S:\usr\sap\R31\SYS\exe\run
         overwrite initSID.sap to S:\usr\sap\R31\SYS\exe\run & 
    S:\usr\sap\R31\SYS\exe\nuc\NTI386
         overwrite libsbt.dll to S:\usr\sap\R31\SYS\exe\run &
    S:\usr\sap\R31\SYS\exe\nuc\NTI386
         overwrite sapdba_role.sql to S:\usr\sap\R31\SYS\exe\run &
    S:\usr\sap\R31\SYS\exe\nuc\NTI386
    4) Retry the installation again & Guess what!! it works....
    Warning-: I initially tried a shortcut by replacing DBATOOLS.sar on the installmaster disc, rather than following above steps, but that doesnt seem to work, the installation fails as as soon as Tablespace creation starts. So the shortcut aint a good one..

    Well, it looks like you resolved your problem yourself.
    you can send feedback to SAP directly instead of posting this here in a forum.

  • I'm unable to connect to database thru cold fusion

    I'm unable to connect to database thru cold fusion. it
    sometiems give me an error that your uname is undefined , soemtimes
    it gives ur index page not found so i created index page also but
    still im unable to connect to database n update my records..plz
    help me out..im a fresher in cold fusion

    I am having a similar problem having CFMX 7.02 verify my SQL
    Server 2005 Data Sources.
    I am using the sa account for CF to access the db's. But i
    get the following error:
    Connection verification failed for data source: myDatabase
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver]Error establishing socket.
    Connection refused: connect
    Every role in SQL Server has the sa grantor Grant enabled. I
    can also login to SQL Server with the sa account w/o a hitch.
    I don't know what else to do. The server information is set
    to the ServerName port 1433, datasource name and database name are
    the same as the database name in sql server, and the username and
    password are set for the sa account.
    Thanks!

  • Erro in writing in Oracle database thru ODBC

    Hi Iam getting a error in writing the oracle database thru ODBC using VB, but I can able to read the data. Can anyone tell me what could be the problem and how to solve it.
    Thanks, Nasir
    null

    Sorry I forgot to attach the code.
    Below is the VB 6.0 Code for the stated problem
    Dim DB As Database
    Dim RS As Recordset
    Private Sub Command1_Click()
    Text1.Text = ""
    RS.AddNew
    End Sub
    Private Sub Command2_Click()
    Unload Me
    End Sub
    Private Sub Command3_Click()
    If RS.EditMode = RSEDITNEW Then
    RS.Fields("NAME") = Text1.Text
    RS.Fields("No") = Text2.Text
    End If
    RS.Update
    End Sub
    Private Sub Form_Load()
    Set DB = OpenDatabase("ODATA", False, False, "ODBC;DSN=ODBC;Uid=SCOTT;PWD=TIGER")
    Set RS = DB.OpenRecordset("SELECT * FROM test")
    RS.MoveFirst
    moveFields
    End Sub
    Public Sub moveFields()
    Text2.Text = RS.Fields("No")
    Text1.Text = RS.Fields("NAME")
    End Sub

  • Error: 1013231 Unable to update database while in readonly mode for backup

    Hi all,
    Wen im deleting the members for dimendsion , its giving error (hyperion 11.1 aso)
    Error: 1013231 Unable to update database while in readonly mode for backup , how can i solve this problem ,plz can any one help on this
    Thanks

    Has somebody set the database ready for archiving, maybe some maxl has been run and the db has not been returned from read only mode.
    Try running the following Maxl (change app.db to match your app/db)
    alter database app.db end archive;
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • I have iTunes open in Windows XP and get an error 45048 message when I try to update apps thru the store. How can I fix this? I have reinstalled iTunes twice.

    I have iTunes, latest version, open in Windows XP and get an error 45048 message when I try to update apps thru the store. How can I fix this? I have reinstalled iTunes twice but problem continues.

    Try contacting iTunes via email to check if there is an issue with the account. go to apple.com/support/itunes
    Click on iTunes Store account and billing and select inquiries. On the right side click on "email us".
    Before doing that trying viewing your account information first. Open the iTunes on you mac, look at the menu and select store and select view my account. Try removing the card (this is only applicable if you don't have a pending charges with iTunes) and hit done. Sign out, quit iTunes and sign back in and try updating the apps again.

  • Update database table

    I have 1 million records in application server and I want to update database table from that.
    Is UPDATE statement the best technique to do it.
    Just wanted to know if there is any other better tehcniques.
    Also i want to write the errors to job log. How can we do that?
    Regards,
    DNP

    If they are all new records or all changes, it would be best to use INSERT or UPDATE. You will also want to do mass inserts/changes using an internal table. Since you have so many records, you will probably have to do this in chunks in order to avoid dumping on the rollback area.
    Rob

  • After updating to iOS 6.1.2, neither my iPhone or iPad will update apps thru App Store. Any suggestions?

    After updating to iOS 6.1.2, neither my iPhone or iPad will update apps thru App Store. Any suggestions?

    What happens when you try?
    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • Potential Windows Update database error detected 0x80070490

    This is the response I get when I run the Windows update troubleshooter from the Windows 8.1 Action Center.  If I click next it reports the errors have been fixed.  However if I run it again it reports exactly the same errors.
    After searching the Internet I have found that several users have reported having this issue.  As result of the aforementioned search I have tried the following:
    1) Run the Fixit tool for Windows 8.1 located at:
    http://support.microsoft.com/kb/971058/en-us.
    2) Run the System Update Readiness commands: DISM.exe /Online /Cleanup-image /Scanhealth and DISM.exe /Online /Cleanup-image /Restorehealth located at:
    http://support.microsoft.com/kb/947821/en-us.
    3) Saved contents of C:\Windows\System32\catroot2 to a temp folder and then deleted contents of C:\Windows\System32\catroot2.
    4)Renamed C:\Windows\SoftwareDistribution to C:\Windows\SoftwareDistribution.old
    5) Restarted Windows 8.1.
    6) Verified that C:\Windows\System32\catroot2 and that C:Windows\SoftwareDistribution folders had been rebuilt.
    7) I then ran the Windows update troubleshooter from the Window 8.1 Action Center again and got the same response as listed above. The errors still exist and are not fixed.
    8) Finally, I downloaded Windows 8.1 Enterprise Evaluation and I did a completely new clean install of Windows 8.1 and without installing anything else (no updates, no software, no antivirus) the above errors appeared within minutes after connecting
    to the internet.  I checked using the Windows update troubleshooter several times before connecting to the Internet and each time no problems were found, but shortly after I connected the above errors are shown to exists.
    Any suggestions that will help fix this issue will be of great help.

    Did anyone ever find an actual fix for this problem?  I have a very similar problem.  I have gone through the same steps for fixing my issues with getting a message of problems found every time I run the Windows Update troubleshooter.  It
    continually finds what it says are Potential Windows Update Database error detected 0x800700D and says they are fixed, along with another message saying Windows Update components must be repaired and it says they are fixed as well.  However, each time
    I run the troubleshooter it finds the same issues.  I have no problems running Windows Update under Windows 8.1 and them all installing without issue, yet I can't download or update ANY apps within the MS store and like the problem above, when it looks
    for my apps it says it's having problems finding them and to try later.  If I try to download even a free app, I get an error message that something happened and your purchase can't be completed. Error code: 0x80096004.
    I have dug through everything I can find on this error message and tried changing my sign in on my laptop to a local account, created a new MS account to access the store and continue to get the same error message.  I have tried it with my Kaspersky
    Internet Security 2015 turned completely off.  I've also ran SFC scannow and there are no errors and have ran DISM which found a problem but says it was fixed.  After running it again, there were no errors.  I have no other problems with anything
    else (that I know of on my machine).  It is an Asus Q400A and came with Windows 8.0.  I ran all the updates and then upgraded to 8.1 through the MS store without issue.  I have installed all updates since upgrading to 8.1 and have absolutely
    no problem running ANY updates, but can't seem to access the store no matter what I try.
    If anyone has found a solution to this I'd appreciate your input.  Hard to believe MS would put out a product that has such a basic problem that has affected so many users and can't seem to come up with some resolution that doesn't require registry
    editing, running commands from elevated command prompts, and a CS degree to resolve--there are soooo many issues online regarding this kind of error and others related to running SFC and DISM...most ending up in their ultimate default answer....renew or reinstall
    Windows and all the updates....which still doesn't resolve the problem for many!  I've always been a PC guy, but I'm starting to like the MacBook Pro I picked for work related reasons with great hesitation.  I've wasted more time chasing this issue
    down than I all the time I've spent actually using the Mac without even a hitch!
    Thx in advance for any feedback....please no MAC blasting....at this point, it would be not well received!!

  • Error when update Database

    I want to install PeopleSoft HRCS database and the database type is system. The version of peopletools is 8.49 and the HRCS is 9.0. After I create the database and import the data, I do the task of Updating Database to Latest PeopleTools Release. I do it step by step, when I do task7B-4-8, I can’t open data mover by PS. The error is the user PS has no create session privilege. So I grant the privilege to PS, it can open data mover. However before I do the task of update database, I can open the data mover by PS, I don’t know which step makes the mistake. When I do task7B-4-9, the error is :
    D:\pt\bin\client\winx86>psae.exe -CD PSDB -CT ORACLE -CO PS -CP PS -R INSTALL -A
    I VERSION
    LoadLibraryA() in pscompat.dll failed for 'PSORA.dll': reason=126
    Message Set Number: 200
    Message Number: 0
    Message Reason: Missing or invalid version of SQL library PSORA (200,0)
    Message Set Number: 0
    Message Number: 0
    Message Reason: Invalid User ID and password for signon. (0,0)
    Error in sign on
    How can I resolve it? Does anybody have the more detail document about this task? I have installed PeopleSoft HRCS demo database before install PeopleSoft HRCS system database. I didn’t get these errors.
    Edited by: hzg on Jun 28, 2009 9:12 AM

    hzg wrote:
    ...I can’t open data mover by PS. The error is the user PS has no create session privilege. So I grant the privilege to PS...PS, as a database user should not have any right to open a session, is is designed like that. In no case you should modify it.
    The task 7B-4-8 requires a bootstrap mode connection, you should connect to DataMover with the database owner of the Peoplesoft objects (i.e. SYSADM) :
    To update PeopleTools system data:
    +1. Invoke Data Mover by running <PS_HOME>\bin\client\winx86\psdmt.exe.+
    The PeopleSoft Logon window appears.
    +2. Log on using the access ID you specified when you created your Data Mover scripts with the Database Setup program.+
    +This will start Data Mover in bootstrap mode.+
    Furthermore, before launching psae, you should be sure the user people has all the necessary grant by running grant.sql script, and check the Configuration Manager settings.
    Nicolas.

  • Insert,  Delete and Update options in Table control

    Experts,
    I have writen code for Insert,  Delete and Update options in Table control. They are not working properly...
    can any one send the code for the above please...
    Thanks in advance..

    Hi,
    Following steps will help you.
    1.TOP-INCLUDE
    DATA: ITAB1 LIKE KNA1 OCCURS 0 WITH HEADER LINE.
    DATA: ITAB2 LIKE KNA1 OCCURS 0 WITH HEADER LINE.
    DATA: WA LIKE KNA1.
    DATA: ANT TYPE I,CUR TYPE I.
    DATA: OK_CODE TYPE SY-UCOMM.
    CONTROLS: TABCTRL TYPE TABLEVIEW USING SCREEN 100.
    IN FLOWLOGIC
    PROCESS BEFORE OUTPUT.
    LOOP AT ITAB1 CURSOR CUR WITH CONTROL TABCTRL.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE CLEAR_DATA.
    LOOP AT ITAB1.
    MODULE MOVE_DATA.
    ENDLOOP.
    ADD “OK_CODE” IN ELEMENT LIST. CLICK ON LAYOUT AND  ADD TABLE CONTROL(name it as TABCTRL) AND PUSHBUTTONS AS FOLLOWS.
    SELECT THE FIELDS FROM PROGRAM. SAVE CHECK AND ACTIVATE.
    CLICK ON FLOWLOGIC EDITOR FROM APPLICATION TOOL BAR.
    DOUBLE CLICK ON MODULE “CLEAR_DATA”.
    write the in this module as below.
    CLEAR ITAB2. REFRESH ITAB2.
    DOUBLE CLICK ON MODULE “MOVE_DATA”.
    write the code in this module as below.
    APPEND ITAB1 TO ITAB2.
    ACTIVATE PAI AND WRITE THE CODE AS BELOW.
    CASE OK_CODE.
    WHEN 'FETCH'.
    SELECT * FROM KNA1 INTO TABLE ITAB1 UP TO 20 ROWS.
    TABCTRL-LINES = SY-DBCNT.
    WHEN 'ADD'.
    GET CURSOR LINE CNT.
    CNT = TABCTRL-TOP_LINE + CNT - 1.
    CLEAR WA.
    INSERT WA INTO ITAB1 INDEX CNT.
    WHEN 'MODIFY'.
    GET CURSOR LINE CNT.
    READ TABLE ITAB2 INDEX CNT.
    LOOP AT ITAB2.
    MODIFY KNA1 FROM ITAB2.
    ENDLOOP.
    SELECT * FROM KNA1 INTO TABLE ITAB1.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    ENDCASE.
    SAVE,CHECK AND ACTIVATE ALL.
    CREATE TCODE AND EXECUTE.
    contact if u hv any issues regarding this code.
    reward points,if it is useful.
    Thanks,
    Chandu.

  • Function in SQL: PRAGMA used, but '..does not guarantee not to update database'- WHY?

    I use function in SQL statement. It is a dynamicaly build SQL, therefore I need overload functions. These funcs defined in package. The package has PRAGMA Restrict_References (.., WNDS). So all functions should be restricted to update database.
    But Oracle returns an error:
    Function NVL_ does not guarantee not to update database
    This is my build SQL:
    ----- the execution string is: ---------------
    Begin
    INSERT INTO TEST_TBL_BS (MILL_ORDER, CLM1, CLM2, CLM3, NOTES, INIT_DATE )
    VALUES (NV.NVL_(Arc_Utl.TEST_TBL_dltd.MILL_ORDER),
    NV.NVL_(Arc_Utl.TEST_TBL_dltd.CLM1),
    NV.NVL_(Arc_Utl.TEST_TBL_dltd.CLM2),
    NV.NVL_(Arc_Utl.TEST_TBL_dltd.CLM3),
    NV.NVL_(Arc_Utl.TEST_TBL_dltd.NOTES),
    Arch.Init_Time );
    End;
    This is NV package:
    PACKAGE NV IS
    PRAGMA Restrict_References ( NV, WNDS );
    NULL_date DATE := TO_DATE ('01/01/1001', 'mm/dd/yyyy');
    NULL_numb NUMBER := 0;
    NULL_str VARCHAR2 (10)
    := '?';
    -- overloaded NULL_Val function returns NULL_<type> value (defined early)
    -- depend on received variable type
    FUNCTION NULL_Val ( val_in IN DATE )
    RETURN DATE ;
    FUNCTION NULL_Val ( val_in IN NUMBER )
    RETURN NUMBER ;
    FUNCTION NULL_Val ( val_in IN VARCHAR2 )
    RETURN VARCHAR2 ;
    -- PRAGMA Restrict_References ( NULL_Val, WNDS ); -- can be used in SQLs
    -- these pretends to cover hole of the SYS.NVL that do not have posibility
    -- to return default NULL value for every given type
    FUNCTION NVL_ ( val_in IN DATE )
    RETURN DATE ;
    FUNCTION NVL_ ( val_in IN NUMBER )
    RETURN NUMBER ;
    FUNCTION NVL_ ( val_in IN VARCHAR2 )
    RETURN VARCHAR2 ;
    -- PRAGMA Restrict_References ( NVL_, WNDS ); -- can be used in SQLs
    END NV;
    CREATE OR REPLACE PACKAGE BODY NV AS
    -- NULL_Val set of overloaded functions - returns appropriate NULL value
    FUNCTION NULL_Val ( val_in IN DATE )
    RETURN DATE IS
    BEGIN RETURN NULL_date;
    END NULL_Val; -- for date
    FUNCTION NULL_Val ( val_in IN NUMBER )
    RETURN NUMBER IS
    BEGIN RETURN NULL_numb;
    END NULL_Val; -- for NUMBER
    FUNCTION NULL_Val ( val_in IN VARCHAR2 )
    RETURN VARCHAR2 IS
    BEGIN RETURN NULL_str;
    END NULL_Val; -- for VARCHAR2
    -- set NVL_ function to return default NULL value if received variable
    -- is NULL or the received variable if it is not NULL
    FUNCTION NVL_ ( val_in IN DATE )
    RETURN DATE IS
    BEGIN RETURN NVL( val_in, NULL_Val ( val_in )); END NVL_;
    FUNCTION NVL_ ( val_in IN NUMBER )
    RETURN NUMBER IS
    BEGIN RETURN NVL( val_in, NULL_Val ( val_in )); END NVL_;
    FUNCTION NVL_ ( val_in IN VARCHAR2 )
    RETURN VARCHAR2 IS
    BEGIN RETURN NVL( val_in, NULL_Val ( val_in )); END NVL_;
    END NV;
    Can anybody help : where is a problem and what I can do in my case?
    I work in Oracle 7.3
    Thank you,
    Alex

    Hi Alex,
    I've found that on the RDBS docs:
    If you specify DEFAULT instead of a function name, the pragma applies to all functions in the package spec or object type spec (including, in the latter case, the
    system-defined constructor). You can still declare the pragma for individual functions. Such pragmas override the default pragma.
    Try using that and let me know.
    The docs says also that the declaration of the pragma for an overloaded function applies to the nearest one. You may also try to insert several declaration, one after every function declaration.
    Bye Max

  • CO down payment update is active in controlling area , How to Deactivate?

    Q1) CO down payment update is active in controlling area , How to Deactivate the same?
    I am trying to post,vendor Downpayment in F-48, it is aking for Maintain default cost element in controlling area .
    Is that required?

    Hi,
    Generally, SAP makes that the down payments are always updated in CO. To maintain the default cost elements, you could use OKEP transaction. However, it's possible to deactivate this function by implementing note 388843.
    Regards,
    Eli

Maybe you are looking for

  • How do you incorporate an ArrayList inside a ComboBox (GUI Project Help)?

    Basically, I created a project around NBA Greats of Our Past. There is around 76 players so rather than typing all of them up in JCreator, how can you use an Arraylist to make things easier. I already created the spreadsheet on Excel with all the nam

  • Create standard sap "SAVE" button along with ALV grid buttons

    I need to create a standard SAP "Save" button  in my ALV GRID display in the application tool bard I copied the PF-Status 'standard' from a SAP program and assinged it here. When i try to add the SAP save buttion by using this standard pf-status , it

  • Adding a custom button to the Builtin Button Group of an MVToolbar object.

    I suspect this is not possible, however, I would like to add a custom button to the built-in button group of an MVToolBar object. I have attempted to do this with the following code: // Create an array of the built-in buttons I require var toolArry =

  • My questions have disappeared

    Hi, I was modifying the header of the View Responses part (In fact I deleted the header) when suddenly I saw that all my questions in the design part had disappeared. Only my questions, not the horizontal lines or whatever, just my questions. How can

  • Photoshop CS6 CC liquify just has blank grey screen.

    hi i am currently on a trial for CS6 CC version on Windows 8 but every time i try to liquify an image all that happens is a blank grey screen. The weird thing is i can click and edit the area of the grey screen and if i click OK to finish the liquify