Posted by Shahid Nadeem

This section is very very great.
I have a question
What is a NULL value and What the is difference between NULL and ''(empty string)?

An empty string is a zero length string and a NULL value is a value which is not defined (does not necessarily contain zero or blank). That's why you can compare a string with '' and get TRUE but comparing two NULL values will always return FALSE.

Similar Messages

  • Abstract Method Error

    Hi All ....
    i m having problem when i call the method Connection.createStatemen(int,int). it gives the error java.lang.AbstractMethodError. i m calling from inside servlet. same error occures when i call method getRow() of ResultSet. here is all the code.
    please tell me i m wrong Or some thing else is there.
    thanks in advance
    Connection conn=pool.getConnection();
    Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
    //Statement stmt=conn.createStatement();
    sql="Select * from TblClients";
    ResultSet rs=stmt.executeQuery(sql);
    out.println("<HTML>");
    out.println("<HEAD>");
    out.println("<TITLE>All User Info</TITLE>");
    out.println("</HEAD>");
    out.println("<BODY bgcolor='white'>");
    out.println("Result Set => "+rs);
    out.println("Has Records => "+rs.next());
    //out.println("Start => "+rs.getRow() );
    out.println("<br>");
    //out.println("Moved => "+rs.absolute(3));
    out.println("<br>");
    //out.println("Moved To => "+rs.getRow());
    out.println("</BODY>");
    out.println("</HTML>");

    thanks for ur such a quick responses .....
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Shahid Faiz ([email protected]):
    Hi All ....
    i m having problem when i call the method Connection.createStatemen(int,int). it gives the error java.lang.AbstractMethodError. i m calling from inside servlet. same error occures when i call method getRow() of ResultSet. here is all the code.
    please tell me i m wrong Or some thing else is there.
    thanks in advance
    Connection conn=pool.getConnection();
    Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
    //Statement stmt=conn.createStatement();
    sql="Select * from TblClients";
    ResultSet rs=stmt.executeQuery(sql);
    out.println("<HTML>");
    out.println("<HEAD>");
    out.println("<TITLE>All User Info</TITLE>");
    out.println("</HEAD>");
    out.println("<BODY bgcolor='white'>");
    out.println("Result Set => "+rs);
    out.println("Has Records => "+rs.next());
    //out.println("Start => "+rs.getRow() );
    out.println("<br>");
    //out.println("Moved => "+rs.absolute(3));
    out.println("<br>");
    //out.println("Moved To => "+rs.getRow());
    out.println("</BODY>");
    out.println("</HTML>"); <HR></BLOCKQUOTE>
    null

  • PORTAL DOESN'T WORK (error:WWC-41439) after CHANGED DOMAIN NAME OF MACHINE.

    machine transferred to other location and domain name got changed.I did following
    1)changed the old domain to new domain name in jserv.properties file and also in the httpd.conf file.
    2)I figured out that intable PORTAL30_SSO.WWSEC_ENABLER_CONFIG_INFO$,the value of column LSNR_TOKEN is= "old doamin "
    and LS_LOGIN_URL is =
    http://old.domain:7777/pls/portal30_sso/portal30_sso.wwsso_app_admin.ls_login
    PLease let me know how I can change old domain values with new doamin in this table.I want to be sure that this change will not affect the old portal application.
    PLease try to help resolve the issue ASAP.
    Thanks

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by shahid mateen ([email protected]):
    machine transferred to other location and domain name got changed.I did following
    1)changed the old domain to new domain name in jserv.properties file and also in the httpd.conf file.
    2)I figured out that intable PORTAL30_SSO.WWSEC_ENABLER_CONFIG_INFO$,the value of column LSNR_TOKEN is= "old doamin "
    and LS_LOGIN_URL is =
    http://old.domain:7777/pls/portal30_sso/portal30_sso.wwsso_app_admin.ls_login
    PLease let me know how I can change old domain values with new doamin in this table.I want to be sure that this change will not affect the old portal application.
    PLease try to help resolve the issue ASAP.
    Thanks<HR></BLOCKQUOTE>
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>my concern is I have a portal application which was pointing to old domain and I don't want to lose this application(content area,page,style etc).If I run the ssodatan ,then it will change the content in the table wsec_enabler_config_info$.Please let me know if still it would point to old portal application.<HR></BLOCKQUOTE>

  • Post insert error

    hi all
    i have a form for sale entry. i want to insert into an another table
    when i save its contents.
    i used a post insert trigger for this.
    but the form has a detail block. and so this insert as many records as this block has.
    the form has the following blocks.
    sal_master(master block)
         sal_id
         sal_date
         cust_id
    sal_detail(detail block)
         sal_id
         qty
         price
    post insert trigger
    declare     
         a number; -- ledger no
         b number; -- customer id
         c date; -- entry date
         d number; -- credit
    begin
         -- insert into customer ledger
         select nvl(max(l_id)+1,1)
         into a
         from cust_led;
         b:= :sal_master.cust_id;
         c:= :sal_master.sal_date;
         d:= :ser_detail.total;
         insert into cust_led (l_id, cust_id, e_date, credit)
         values ( a, b, c, d);
    exception
         when no_data_found then
         raise FORM_TRIGGER_FAILURE;
    END;
    on block level and form level the result is same.
    i want to insert only one entry in the table for multiple records
    in this form.
    MUhammad Nadeem
    marda (pakistan)
    [email protected]

    move this trigger to your sal_master(master block level) . this will only insert 1 record.

  • Delivery Receipt Printing before Posting

    Hi All,
    We are facing a issue on SD Delivery Receipt which is configured in v/34 but it is printing before posting also ( I mean before Post Goods Issue ). For making it to print only after PGI I should change in program or whether it is done is the configuration part. If in Configuration please let me know the Tcode and how we can acheive the same.
    Thanks in Advance.
    Best regards,
    Shahid Malayil

    Hi Manoj,
    Thanks for the help.
    I changed it to 1 in V/36 but still it is printing before the PGI and after the PGI.
    I don't want to print it before the PGI. Please help me..
    Best regards,
    Shahid Malayil

  • Error while posting a write up for asset belonging to affiliated company

    Hi,
    I am facing an error while posting a write up for an asset which belong to an affiliated company. Error is
    Transaction type 790 not possible (posting to affiliated company)
    Message no. AA390
    I am using Transaction type 711 which is linked to 790 in custo. Kinldy let me know how to resolve this issue.
    Thanks
    Pragya

    Hi
    According to this note for document type used, we should not select the 'inter company posting' or 'enter trading partner indicator'
    but as i m doing writeup for asset belonging to affiliated company, so i need to set this indicator. the document type used is standard AA
    Is there any other way, to resolve the issue
    Thanks
    Pragya

  • Error while running a query-Input for variable 'Posting Period is invalid

    Hi All,
    NOTE: This error is only cropping up when I input 12 in the posting period variable selection. If I put in any other value from 1-11 I am not getting any errors. Any ideas why this might be happening?
    I am getting the following error when I try and run a query - "Input for variable 'Posting Period (Single entry, mandatory)' is invalid" - On further clicking on this error the message displayed is as follows -
    Diagnosis
    Variable Posting Period (Single Value Entry, Mandatory) is used as a lower limit (X) and an upper limit () in an interval selection. This limit has the value #.
    System Response
    Procedure
    Enter a different value for variable Posting Period (Single Value Entry, Mandatory). If the value of the other limit is determined by another variable, you can change its value also.
    Procedure for System Administration

    OK.
    Well, if the variable is not used in any interval selection, then I would say "something happened to it".
    I would make a copy of the query and run it to check if I get the same problem with period 12.
       -> If not, something is wrong in the original query (you can proceed as below, if changes to original are permitted).
    If so, then try removing the variable completely from the query and hardcode restriction to 12.
       -> If problem still persists, I would have to do some thinking.
    If problem is gone, then add the variable again. Check.
       -> If problem is back, then the variable "is sick". Only quick thing to do, is to build an identical variable and use that one.
    If problem also happens with the new variable, then it's time to share this experience with someone else and consider raising an OSS.
    Good luck!
    Jacob
    P.S: what fisc year variant are you using?
    Edited by: Jacob Jansen on Jan 25, 2010 8:36 PM

  • Posting the Expenses of Free Goods

    All SD Gurus
    I have some doubt in SD-Module.
    We have Trading Business, in that the Trade offers ie 100+10 Like that.... is presently posting in VPRS - Cogs (During PGI) only. But finance wants to post the values of trade offers (10 pcs) to Marketting expenses (During Bill Release to Finance), Presently during Bill release these trade offers are not considered for pricing.
    According to my Current setting Free Goods Item Category is marked as Statistically. So it not posting my PR00 Conditions in Accounts.
    Any help on this subject will be highly appriciated.
    Thanks in Advance
    Regards
    Vishal

    Thanks, I have maintained all setting for Free goods. System is not posting any values @ time of Invoice in accounts as my free goods Item category is statistical. If I remove this setting then I have to maintain the PR00 - Base Condition (Mandaotry) which will post amount in Sales Domestic G/L Account.
    Any alternative solution?
    Regards
    Vishal

  • Item cost not found for one or more items - Inventory Posting

    Good Day Mentors,
    My user has encountered an error during Inventory Posting and its "Item cost not found for one or more items".
    The specific Message ID from SAP's System Message Log is 10001287.
    I found a similar post which addresses this error here.
    But unfortunately it did not help me solve my user's problem.
    I already checked if the items had a defined "Item Cost" in the Item Master Data Inventory Tab, and they all have "Item Cost" defined.
    I'm not sure if this will help, but below is the Inventory Audit Report of one of the items that is throwing the "Item cost not found" error.
    I am not a business consultant neither am I literate in accounting, so thanks for the patience.
    SAP Version: 9.0 PL5
    Valuation Method: Moving Average
    Thanks in advance!
    Sean

    Hi Augusto and Raviraj,
    I've already verified in our production database the points you made:
    - Is the "Manage Item cost per warehouse" selected in the Basic Initialization Screen?
    YES
    - Is the "Manage Inventory by Warehouse" ticked/checked in the "Inventory Data" tab of the "Item Master Data" screen?
    YES
    * I apologize for not have been able to give this information upfront.
    Anyway, the database only has one warehouse at the moment.
    I've checked the items, like the item in the screen shot above, and it does have an item cost.
    Below is the screenshot of the sample item from my original post,
    Thanks in advance!
    Sean

  • Possible to clear vendor open item against already posted payment document?

    Hi
    Can you advise if it is possible to clear an open item against already posted payment/clearing doc? Here is the background to the scenario:
    An invoice was posted with transaction FB60. This was subsequently picked up in the payment run F110 and cleared by payment document number 200005678. The item went to the bank on the paymnet file and was paid out to the vendor. The transaction reference, which appeared on the incoming bank statemnet was the payment document number 200005678.
    Subsequently it was discovered that the original invoice should have been posted with reference to a PO using MIRO. The requirement now is to reverse the paymnet documnet 200005678 in SAP, then reverse the document that was posted using FB60. After this the invoice will be posted using MIRO. This will create an open item on the vendor account.
    This item will not be piad out again. Therefore the requirement is to try clear that open item against the previously posted payment document 200005678.
    Is there any way to clear this vendor open item against the originally posted payment document 200005678?? Or any other advice on how this scenario can be handled in SAP?
    Thank for your help.
    Mike

    Hi,
    I tried that option in our test system. I ran FBRA and entered Paymnet Documnet Number (+Clearing Doc Number), Company Code, Fiscal Year.
    Then chose menu option Clearing -> Reset Cleared Items.
    The system pops up a window asking for a reversal reason and reversal date.  I use 01 and posting date of today.
    The system now posts another cleared document. That document places the invoice as an open item on the vendor account. It does not place the Payment Document as an open item on the account.
    When I go to F-44 only the open vendor invoice is showing there. There is no open paymnet document.
    Is there perhaps some configuration setting that stops the placement of the paymnet document as an open item when reset?
    Thanks for your help again.

  • Where we have to open and close posting periods in asset accounting

    hi sap gurus
      can anybody give where we have to open and close posting periods in asset accounting
    thank you
    venkatareddy

    Hi Venkatareddy,
    You make specifications for fiscal years and posting periods in the SAP R/3 System in Customizing for Financial Accounting. This is done in the fiscal year variant in the global parameters of the company code. These settings are, in general, also binding for Asset Accounting. The depreciation periods in Asset Accounting then correspond to the posting periods in Financial Accounting.<b> It is usually not necessary to create a separate fiscal year variant for Asset Accounting.</b>
    The period control in the depreciation key determines the start and end of depreciation when asset transactions are posted . The period control determines the relationship between the calendar period in which the asset transaction is posted and the depreciation period.
    These calendar periods are independent of the posting periods in Financial Accounting. The only restriction is that the beginning of the first calendar period and the end of the last calendar period defined in a period control have to match the start date and final date of the fiscal year in Financial Accounting.
    Kindly let me know if this useful for you

  • How to Open and Close Posting Periods in MM

    Hi,
    I have opened posting periods for 10/2008 first and by mistake even 11/2008 and 12/2008 using MMPV.
    Now when I am trying to do PGI from VL02N, the system says postings are only possible for 11/2008 and 12/2008.
    How to close these two periods and default to 10/2008.
    Please kindly help me to solve this issue.
    Regards,
    Gopi Krishna
    SAP QA Lead

    It is possible to re-open a previously closed period. However, it is NOT advisable to do so because the valuation data of the previous period could be affected.
    In general, it is only safe to reopen a previously closed period when no material postings have been done after the period shifting to the new period.
    If there has already been postings after the period shifting to the new period, reverting the period back will cause database inconsistencies in the history tables.
    If you decide to proceed with this process, you can use the program RMMMINIT, but, please review the documentation of this program first!! and the check the SAP notes 487381 (for the error message that you are receiving) and the 369637 (for an explanation about the inconsistencies that will be generated.
    Steps are as below;
    Go to Transaction Code SE38
    Enter program name RMMMINIT
    Execute or press F8 function button
    Enter your company code (From and To)
    Enter relevant date: Say 01/03/2008 for Mar. 2008 month to be opened as of now
    That means, user can post for the month of Feb 2008 as well as Mar. 2008
    Refer SAP Note No. 487381 for more details.
    As per SAP Notes 487381 ( If the periods are opened in advance in mmpv to again change it to current period the following process should be follow ), Go to Tcode MMPI, then go to menu bar and select system -> user profile->owndata.In that screen , under the parameters tab enter MMPI_READ_NOTE in Parameter ID field and enter, then under short description you will get Initialise period. Next Save.
    Again go to MMPI enter company code, period and year and execute.
    XXXXXXXXXXXXXXXXXX
    Other way of doing it is follow these steps( But try this method in Sand box Only):
    1. Go to OX18, and delete the plants assigned to your CO.Cd and save.
    2. Go to OMSY and change the posting period to the one u want and save.
    3.Go to OX18 and assign the plants you have deleted in step 1.and save.
    regards,
    indranil

  • Two intervals in Open and Close Posting Period (OB52)

    What is the purpose of the two intervals (period 1 and period 2) in Open and Close Posting Periods (transaction OB52)?

    Hi,
    Financial statements cannot be prepared on the last day of the accounting period... to find out the correct profit and to determine the correct financial positing... sometimes you may require to make some adjustment  to accounting records after the closing of the accounting year... like adjustments for expenses payable, income receivable, writting off bad debts ...etc. 
    For posting those transactions....period 2 is maintained ..which are also called as special periods... to make the postings in these periods ...special authorisation is required..... 
    Period 1 is for regular postings ...
    Radha

  • Open and close specific posting periods automatically

    Hi experts,
    I need change periods for specifics posting periods at the end of the month automatically, with batch program. Nobody know a especific bapi or transaction?
    Thanks in advance,

    hi Oscar,
    as far as I know, there is no standard program / FM / BAPI for this. However it is not difficult to develop one...
    ec

  • Open and close posting periods for at ledger level

    Hello,
    We are running on ECC6 with the new ledger. We have activated two ledgers (the leading ledger and a non-leading ledger for group reporting). Our client would like to manage the posting period at ledger level.
    Example: during the month closing, the Leading ledger is closed on the previous month at Day +4, while the non-leading ledger is closed at Day +5.
    Is there a way to open/close period at ledger level only ?
    Thank you.
    Best regards,
    Steven Moulinot

    It is possible to assign a different posting period variant to company code in a non-leading ledgers (the extreme right field) in the foll. node in SPRO.
    Financial Accounting (New) -> Financial Accounting Global Settings (New) -> Ledgers -> Ledger -> Define and Activate Non-Leading Ledgers

Maybe you are looking for

  • TA48312 ipad 2 wifi password problem

    i have problem with my apple ipad 2 wifi password ...i use itunes latest and win xp 2   HELLLLLLLLLLLLLLLLLLLLLP ME

  • Ethernet plus wifi network

    I have been connecting my iMac to the internet via wifi, but to speed things up I have just patch cabled an ethernet connection to the wifi router. How should I set up the network preferences on the iMac? I have a wifi printer about 2m away and a wif

  • Missing Files Problem???

    When I open up the iWeb Application I get a window that states the following: "The following errors occurred while trying to open this document:" "Missing File PhotoGraynavbg-9.png" "Missing File PhotoGraynavbg-9.jpg" "Missing File 72767678_b-9.jpg"

  • CS2 VBA Scripts in CS5

    Hi everyone, I am using VBA via MS Excel to import data into InDesign CS2 templates. I am considering upgrading to CS5. Should my VBA scripts work in CS5, or do you suspect there would be a problem? Thanks everyone, Mike

  • Can't find my HP OfficeJet 8600 from iMac OS 10.9.2

    I can't find my 8600 from my iMac.  It was working when I first brought it home but stopped a couple days ago after printing some photos.  My iPhone has no problems finding and printing to the printer.  I have installed the latest HP software for it.