Add additional params into existing SP

Hello,
please, how can I add additional params: @LastName and @FirstName into existing procedure that starts:
@PIN nvarchar(13)
  AS
DECLARE @v_exist int
set @v_exist=0;
Namely, upon adding additional params:
@PIN nvarchar(13)
@LastName nvarchar(20)
@FirstName nvarchar(20)
  AS
DECLARE @v_exist int
set @v_exist=0;
and adding additional table that comprises columns FirstName and LastName into existing Select statement(referenced table that comprises all possible values of PIN) by creating corresponding relationship, the SP freezes, fails without any output....
Note: SP checks for PIN that is entered into WEB application, in certain T1. If exists, it informs user that PIN already has been entered and new one must be of different type. But, I would like the First and Last name to be checked, too, i.e., in newly
added table T2 I would like LastName and FirstName to be extracted based on entered PIN and, upon that, to have checked these couple LastName AND FirstName in T1 (because, there are rows with missing PIN and fact that result could be more then one line is
not problem because T1 comprises only cca 300 rows... ) 
Tables T1 and T2 are not changeable but reference tables...The data entered via interface goes into some other tables...

Must be because, one person with it's belonging PIN can be entered only once into e.g., T1. Evaluation in the SP checks if entered  PIN is in the T2, which comprises forbidden PINs, LastName, FirstName...etc...But, in some cases i.e., some rows, there
is missing PIN which is to say that I had to involve new table that comprises all possible values for PINs based on which I would like to extract LastName AND FirstName and check it against T2...i.e., check T3.LastName with T2.LastName AND T3.FirstName with
T2.FirstName...
But, like Mr.Sorna advised, without table scripts and sample data ...etc...my thread is too ambiguous...I am afraid...

Similar Messages

  • How to add additional field into output table for RFIDYYWT(Generic Withholding Tax Reporting)

    Hi Experts,
    How to add additional field into output table VENDORS/WH TAX TYPES AND CODES in RFIDYYWT(Generic Withholding Tax Reporting).
    I have no idea how to start with, please give some advice.
    Thanks!
    Ice

    Dear Ice,
    Use Append structure, see given link:
    https://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
    Regards,
    Abbas.

  • Add a RFC into existing RFC MODEL

    Hello Friends,
    Is it possible to add a RFC into existing RFC model, or I have to create everytime new RFC model while adding another RFC ?
    Regards,

    Hi Shah
    1) You can <b>Reimport</b> the exisitng RFC model if you want to make any changes,
    Reimporting may include, adding a new funtionality, deleting exsisting funtionality, modifying , etc.
    After reimporting your RFC <b>YOU NEED TO RESTART YOUR J2EE ENGINE</b>
    SAP stronlgy recommends that each model live within its own separate Java Package. means you can create many models ,but while creating ,create them in different packages
    Best Regards
    Chaitanya.A

  • I am unable to add Data element into existing Data Type

    Hi Experts,
    I am unable to add Data element into existing Data Type, It shows disable mode, suggest me this..
    Thanks

    Yep got it...
    Edited by: Manoj on Aug 20, 2008 1:09 AM

  • Add additional licenses into CUCM 9

    Hello,
    We already have licenses installed into ELM 9.
    We want to add 50 Enhanced licenses. We generate new licenses based on text & new PAK but when we installed the licenses, it overlaps the existing licenses.
    I gone through "Use the Add Licenses wizard to determine new licensing requirements" section from following link but couldn't add.
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/elmuserguide/9_1_1/CUCM_BK_EDEFFAEB_00_enterprise-license-manager-user-91/CUCM_BK_EDEFFAEB_00_enterprise-license-manager-user-91_chapter_011.html#CUCM_TK_A1885062_00
    Can any body help, how to add extra additional licenses into ELM 9 by keeping the existing licenses into system.
    Regards,

    Ok,
    I revised document carefully & its fixed.
    1st I create add license planning, saved it & associated it at the time of installing license file through "Full fill licenses from File"
    Cheers !!!
    Regards

  • Can not add new VMS into existing clustered server pool

    For some reason, we reinstall VMM (3.1.1-416) with existing UUID and rediscover all VMSs. The process went smooth and the whole system looks clean without dead objects any more. The guest VMs are all working fine. However, the new added VMS in unassigned servers are not displayed in the "Available Servers" when we want to add into existing clustered server pool, but it is shown when we add into unclustered server pool. Anyone has clue or possible way to debug what's wrong.
    Thanks,
    Shun-Jee Liu

    The issue is resolved. The access group in shared iSCSI is not properly configured.

  • How to add Jsp pages into existing portal (JDeveloper 9.0.4)

    I am a jsp developer. I have to add a jsp page into existing portal. I am new to portal. Could anyone help me how to develop jsp using portal classes like PortletRenderRequest,ProviderSession and others.

    Rigoberto, there should be no space between "-Xbootclasspath/p:" and the path "C:\oracle\infra\jdbc-10.1.0.4\ojdbc14.jar;C:\oracle\infra\jdbc-10.1.0.4\orai18n.jar"
    By the way, one can always take a look at the logs at
      $ORACLE_HOME/opmn/logs
    especially those files whose names start with OC4J~ if there is some wrong with oc4j processes. Those files are the default oc4j stout and sterr. If oc4j can not init, there should be some kind of error message in them.
    By the way, the following line may be deleted since no property file is specified.
      <data id="oc4j-options" value="-properties"/>
    Hope this helps.

  • Add new city into existing Network metadata

    i have one network data model in my database for delhi city i am using Oracle 10 g spatial. how to add one more city into existing network metadata?

    If the column structure is different, how did you load the Delhi data into NDM tables ?
    You have to load the shape file first and then do the required mapping to move that into the NDM tables.
    Secondly, are you using the PL/SQL api to do the network analysis ? Or are you using the Java api ?
    siva

  • Can I add more tables into existing Data Modeler

    My Data Modeler has been generated by SQL Developer, it contains 68 tables. Later I would like to add more tables into my current model. Is there any way I can add more tables into my current model without creating a new one from the scratch? Thanks for your help.
    Kevin

    Hi Kevin,
    you can add new tables using File>Import functionality - you can import from database or DDL scripts.
    Working in SQL Developer you can drag tables from SQL Dev browser and drop them on relational diagram. If Ctrl key is pressed while dropping then subordinate tables also will be added to the model.
    Here you can find tutorials http://apex.oracle.com/pls/apex/f?p=44785:2:0:FORCE_QUERY::2,RIR,CIR:P2_TAGS:Data%20Modeler
    Philip

  • How to add addition products to existing 11i installation

    Can we do the below steps to add aditional products
    1) OAM -> Site Map --> License Manager Home --> License Products > License Component Application --> select additional products
    Complete the registration process in OAM
    2) run autoconfig
    3) generate forms and reports for new product
    4) re-create APPS synonyms
    any other steps required ?

    You're welcome, John.
    After enabling the product(s), you may also need to apply the latest patchset(s) for the product(s).This is optional, but recommended.

  • Upload additional data into existing material number.

    Hi Experts,
    I want to upload an additional info about Material (valuation category and valuation type), where the material ids are already exists.
    There are 87 data which i have to upload to their corresponding material numbers from notepad.
    So please suggest what should i follow to upload BDC or LSMW and also suggest how to do ...
    Thanks,
    Deepanshu Mathur
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Jun 24, 2011 10:07 AM

    Hi,
    MANDT is always added as one of the fields to make the table client specific and it has to be a primary key.
    As rest of your fields are non-primary key fields, your table will have duplicate records for all the fields. You shall not get any error even if you enter duplicate entries.
    As a general practice, it is always good to have at least one primary key on a a table apart from MANDT. This ensures faster data access and provides uniqueness for each record.
    Also, if your table does not have at least one primary key apart from MANDT, you shall not be able to maintain the table via SM30 even if you create a Table Maintanence.
    Regards,
    Danish.

  • Add additional column in existing table

    Hello guys,
    I need to add new columns to the existing table, but when I'm trying to add, nothing happens. Checked table itself and all Rows and Column fields are read-only. Can't see any property which indicates this locking behavior. I'm using ES2 LC.
    Thanks,
    Uldis

    You can use an APPEND function.
    Append Structures (SAP Library - Tables)

  • How to add additional files into Native Installer?

    I have extra text and XML files used as configuration files I'd like to package and install into the application directory with my AIR app.  I'm trying to create a Native Install package in Flash Builder and I can't figure out how to include these extra files that will be installed.  Is there a way to do this in Flash Builder or do I have to use some other method to achieve this?

    I have discovered how to get it to work, but I'm not sure what the problem is. I can consistently duplicate it.
    If  I manually copy a file into the myapp\src folder, the file does not get  copied to the bin-debug folder and, thus does not get added to the list  of files to include.  I build my app dozens of times. This file NEVER  appears in the file list under the src folder in the Package Explorer  View.  Even if I close Flash Builder and open it again, my added file  NEVER appears in the file list.
    Only if I right click  on my project in the Package Explorer View and select Refresh, will the  file appear in the list.  Then and only then, when I go through the  Export process, the file will appear in the list and be included in the  AIR package.
    That seems like a bug to me.  Even if you  said it wouldn't detect the file being added while Flash Builder is  open, it should at least check the project folder when I open it and  update the list with any new files.
    I'd still like to  know how to get this to work without manually refreshing the project  although admittedly I won't be adding files to the project often.

  • Drag additional files into existing archive (zip/compressed folder)

    Is there a utility that will let me do this? The built-in tools don't seem to provide a way to just drag a new picture, say, on top of an archive and have it be added to the files included in that archive. Help!

    John Tracey wrote:
    Is there a utility that will let me do this? The built-in tools don't seem to provide a way to just drag a new picture, say, on top of an archive and have it be added to the files included in that archive.
    There are numerous 3rd party utilities that will allow you to do that. It isn't a common operation, so that is why Apple keeps things simple and doesn't provide an interface for it.
    You could do it from the command line with:
    zip -u
    or download one of a few dozen 3rd party utilities: http://osx.iusethis.com/search?q=zip

  • "Capture Device Offline" message when attempting to add additional clips from HDV Videocamera,in CS5

    "Capture device off line" message when attempting to add additional clips to existing project in Premiere Pro CS5.5.2.
    Previous capture was accomplished, but, then when trying to add additional clips from same device it failed.
    All 40 minutes of some 185 clips was originally captured using Sony Vegas Moviemaker Platinum 11, with no errors. The additional mt2 clips were then successfully imported into Premiere Pro after indexing and conforming the clips, and they play perfectly well and of a high quality in CS5.5.2 at 1440 x 1080i.
    Why would the Capture device be off line , when no physical alteration has been made to the equipment ?

    Hi Joe,
    Thanks for the advice but, the splitter may not help here, now Sony Vegas Movie Studio Platinum 12 which we also use for less complicated editing is now saying Canon HDV Camcorder is also "OFF LINE"
    I think it is a physical connection issue either with the cable , the output from the camera or input into the laptop, because it was working. The issue has been intermittent making it difficilt to diagnose. We use it only for back up as we are overseas and do not have access to our main computer. The tapes are good and the video is high quality so I will have to wait worse luck, and the technical back up for HDV in Belgium is non existent as they have no computers in the stores that have the Firewire or I33394 card.
    I have not changed any settings, I may have to wait till I get back to base in 10 days, I am also having an issue with a lens on the Canon 5 D  Mark II, which I know must go back to Service but, it still works and, has issues after I dropped it ??????????
    Message was edited by: Bob Dix Photographer

Maybe you are looking for

  • New Build - Looking for Tips

    So I have purchased the components listed in my Sig and getting ready to set everything up, just wanting to get some tips/advice on the best way to go about it. My biggest question is concerning RAID, as this is the first time I have set one up. Any

  • RFC to get sales orders for customers from r/3 to crm ..

    Hello, Is there already a FM (RFC) in place to get the list of sales orders from r/3 to crm. CRM middleware is not configured to get this data from r/3 to crm .. so am looking out for a r/3 FM module which i could call from crm system to get the sale

  • Purchase conditions

    Hi My client want to see the report on purchase order condition types wise. like in purchase orders we have condition tabs. In that we mention what are the conditions like Excise duty, vat etc. How can we capture those data in BW. Are there any stand

  • 11.1.0 OEM On Windows

    In oracle note 412431.1 it says that it can be run on: Platform Windows x86 OS versions      Windows Server 2008, Windows Server 2003 R2; Windows 2003 (32 bit) with SP2/R2+, Windows7 But when I look at oracle.com (http://www.oracle.com/technetwork/oe

  • I keep getting the message [Java script application] ! uninstal set, pos up constantly help

    anytime I try to do anything this message pops up in the middle of the computer screen and I have to close it before I can move on