Update code in procedure

Hi  I've the folloiwng requirement where i need to update the table .
Can you please  hint me the better way to the folloiwng update statement instead of using  FOR LOOP;
create or replace procedure upd_emp( s_id number ) as
v_flag char(1);
v_set_id org_hist.set_id%type;
v_val emp_hist.val%type;
rd varchar2(100);
begin
  for i in  (select id ,nm,sal,rowid rd from emp where seq_id = s_id   ) loop
     select flg   INTO v_flag
              from emp_hist  e
            where  exists (
                 select 1 
                  from dept_hist d , org_hist s
                where e.d_id = d.d_id
                   and f.nam = e.nm
                   and s.e_ID = d.e_ID
                   and e.d_date =s.d_Date
                   and s.SET_ID = i.id )
                   and e.VAL = i.sal ;
update emp  set  Date_TIME = null , seq_sd_flag = v_flag
                 where rowid = rd ;
end loop;              
  commit;
exception when others then
   log_proc( -----) ;
end upd_emp; 

I think we can achieve the whole thing as single SQL :
Update (Select emp.id,emp.nm, emp.sal,emp.rowid rd, Date_Time, seq_sd_flag, flg
from emp, emp_hist e where seq_id = s_id
and exists (select 1  from dept_hist d , org_hist s
where e.d_id = d.d_id and f.nam = e.nm and s.e_ID = d.e_ID and e.d_date =s.d_Date and s.SET_ID = i.id )
and e.VAL = emp.sal)
set  Date_TIME = null , seq_sd_flag = flg;

Similar Messages

  • Tax Code in procedure TAXINN is invalid

    Dear Sir,
    Tax Code in procedure TAXINN is invalid
    When from SD module our sales person is trying to release billing document to accounts through FV02 they are geting the above referred error message and the accounting document doesn't get generated and/or released.
    They says that the error is in FI module but I am unable to resolve the issue.
    Kindly guide
    Thanks in anticipation and Regards
    Chirag Shah

    Hi,
    in first Step check Condition record for your TAX code for the time period in which you want to use. Tcode FV11
    Use proper Account key (OBCN)for the tax code in TAX procedure(OBQ3) TAXINN and use the appropiate Account which allows the tax code to be posted in GL using Account key(OB40).
    Also check the nature of Condition Type(OBQ1) in Tax procedure.
    Assign the Tax code to country also, follow the path .
    SPROu2192logistics general u2192 tax on goods movementu2192 Indiau2192 Basic settingsu2192determination of excise dutyu2192condition based excise determinationu2192 Assign tax code to company code.
    Regards
    Arun

  • Value Field in COPA doesn't updated in Pricing Procedure

    Dear SAP Experts,
    I have a problem about Value Field in COPA.
    Why the Value Field in COPA that have been assigned to Transfer of Billing Document for Statistical Condition Type doesn't updated in Pricing Procedure (SD) when Billing Posting?
    Any suggestion will be appreciated.
    Thank You
    Regards,
    Kursteilnehmer

    HI
    in pricing procedure SD consultant are creating the pricing condition rules wher these keys are purley belongs to revenue keys .the conditions wich are taken consideration these are all belongs to finding profit margin.
    coming to CO-PA the main objective of copa is analysig the profitability of particular segment .wher as in  CO-PA the most happend flow from sd saide . so wat ever conditions are taking in pricing procedure its compulsary add co-pa valu fields .to take the reports.
    even though in FI-SD interface levele this pricing is taking greater place to flow the values with the help accounting keys.
    coming to stastical condistion co-pa is real cost object

  • TS1559 Genius bar guy tells me that iOS update and this procedure fried my wifi antenae

    Have done this procedure several times after updating to 7.0.2. due to greyed out wifi.  Genius bar says wifi is dead... because the iOS update and this procedure fried/overheated the wifi antenae.  So I have to buy a new phone because I followed Apple's instructions?  Not cool, and in my opinion Apple should replace the phone.  Of course my warranty period is over, but when a manufacturer releases an update and a bug fix that you follow, which results in a fried phone... should they not take some responsibility?
    This is a well documented problem, and many others have had phones replaced. 

    they usually only charge $19 if they need to do troubleshooting on a device and if they dont fix ur issue they refund it back. and even then they give exceptions to the fee left and right. plus, if u just want to talk to customer service or a senior advisor they WILL transfer u to them no matter what.

  • Update code not working

    ok.. i have a vacancies page, each vacancy has a link next to
    it called "edit" when you click on the link it does this:
    <a href="vacancyedit.cfm?ID=#ID#">
    on vacancyedit.cfm there is a form. the fields on the form
    are populated with this query:
    <cfquery name="edit_vacancy"
    datasource="allieddatabase">
    SELECT *
    FROM new_vacancy_table1
    WHERE ID = #ID#
    ORDER BY ID DESC
    </cfquery>
    the form looks like this:
    <form
    action="<cfoutput>#CurrentPage#</cfoutput>"
    method="POST" name="edit_vacancy_form">
    <label for="textfield">Auto ID</label>
    <input
    value="<cfoutput>#edit_vacancy.ID#</cfoutput>"
    type="text" name="id" id="id">
    <label for="label">Area</label>
    <input
    value="<cfoutput>#edit_vacancy.area#</cfoutput>"
    type="text" name="textfield2" id="label">
    <label for="label2">Pattern</label>
    <input
    value="<cfoutput>#edit_vacancy.pattern#</cfoutput>"
    type="text" name="textfield3" id="label2">
    <label for="label3">Hours</label>
    <input
    value="<cfoutput>#edit_vacancy.hrs#</cfoutput>"
    type="text" name="textfield4" id="label3">
    <label for="label4">Rate</label>
    <input
    value="<cfoutput>#edit_vacancy.rate#</cfoutput>"
    type="text" name="textfield5" id="label4">
    <label for="textarea">Description</label>
    <textarea name="textarea"
    class="text_entry"><cfoutput>#edit_vacancy.description#</cfoutput></textarea>
    <br>
    <input type="submit" name="Submit" value="Submit"
    id="submit_button">
    <input type="hidden" name="MM_UpdateRecord"
    value="edit_vacancy_form">
    </form>
    so i make the alterations to the queried data as required
    then click submit. this is the update code:
    <cfset CurrentPage=GetFileFromPath(GetTemplatePath())>
    <cfif IsDefined("FORM.MM_UpdateRecord") AND
    FORM.MM_UpdateRecord EQ "edit_vacancy_form">
    <cfquery datasource="allieddatabase">
    UPDATE new_vacancy_table1
    SET area=
    <cfif IsDefined("FORM.textfield2") AND #FORM.textfield2#
    NEQ "">
    <cfqueryparam value="#FORM.textfield2#"
    cfsqltype="cf_sql_clob" maxlength="50">
    <cfelse>
    </cfif>
    , pattern=
    <cfif IsDefined("FORM.textfield3") AND #FORM.textfield3#
    NEQ "">
    <cfqueryparam value="#FORM.textfield3#"
    cfsqltype="cf_sql_clob" maxlength="50">
    <cfelse>
    </cfif>
    , hrs=
    <cfif IsDefined("FORM.textfield4") AND #FORM.textfield4#
    NEQ "">
    <cfqueryparam value="#FORM.textfield4#"
    cfsqltype="cf_sql_clob" maxlength="50">
    <cfelse>
    </cfif>
    , rate=
    <cfif IsDefined("FORM.textfield5") AND #FORM.textfield5#
    NEQ "">
    <cfqueryparam value="#FORM.textfield5#"
    cfsqltype="cf_sql_clob" maxlength="50">
    <cfelse>
    </cfif>
    , "description"=
    <cfif IsDefined("FORM.textarea") AND #FORM.textarea# NEQ
    "">
    <cfqueryparam value="#FORM.textarea#"
    cfsqltype="cf_sql_clob">
    <cfelse>
    </cfif>
    WHERE ID=<cfqueryparam value="#FORM.id#"
    cfsqltype="cf_sql_numeric">
    </cfquery>
    <cflocation url="vacancyadmin.cfm">
    </cfif>
    this should then update my changes and take me back to
    vacancyadmin.cfm. however all i get is the following error message:
    Error Executing Database Query.
    Parameter ?_5 has no default value.
    The error occurred in
    F:\data\webdesigns\wwwroot\CFIDE\Allied\vacancyedit.cfm: line 35
    33 : ''
    34 : </cfif>
    35 : WHERE ID=<cfqueryparam value="#FORM.id#"
    cfsqltype="cf_sql_clob" maxlength="10">
    36 : </cfquery>
    37 : <cflocation url="vacancyadmin.cfm">
    SQL UPDATE new_vacancy_table1 SET area= (param 1) , pattern=
    (param 2) , hrs= (param 3) , rate= '' , "description"= (param 4)
    WHERE ID= (param 5)
    DATASOURCE allieddatabase
    VENDORERRORCODE 3088
    SQLSTATE  
    Resources:
    * Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    * Search the Knowledge Base to find a solution to your
    problem.
    Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
    rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
    Remote Address 10.0.0.201
    Referrer
    http://allied-srv-03/CFS/vacancyedit.cfm?ID=14
    Date/Time 07-Apr-07 12:56 PM
    Stack Trace
    at
    cfvacancyedit2ecfm242791332.runPage(F:\data\webdesigns\wwwroot\CFIDE\Allied\vacancyedit.c fm:35)
    at
    cfvacancyedit2ecfm242791332.runPage(F:\data\webdesigns\wwwroot\CFIDE\Allied\vacancyedit.c fm:35)
    com.inzoom.adojni.ComException: Parameter ?_5 has no default
    value. in Microsoft JET Database Engine code=3088 Type=1
    at com.inzoom.ado.Command.jniExecute(Native Method)
    at com.inzoom.ado.Command.execute(Command.java:40)
    at com.inzoom.jdbcado.Statement.exec(Statement.java:34)
    at
    com.inzoom.jdbcado.PreparedStatement.execute(PreparedStatement.java:201)
    at
    coldfusion.server.j2ee.sql.JRunPreparedStatement.execute(JRunPreparedStatement.java:87)
    at coldfusion.sql.Executive.executeQuery(Executive.java:756)
    at coldfusion.sql.Executive.executeQuery(Executive.java:675)
    at coldfusion.sql.Executive.executeQuery(Executive.java:636)
    at coldfusion.sql.SqlImpl.execute(SqlImpl.java:236)
    at
    coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:500)
    at
    cfvacancyedit2ecfm242791332.runPage(F:\data\webdesigns\wwwroot\CFIDE\Allied\vacancyedit.c fm:35)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
    at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    at
    coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at
    coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
    at coldfusion.CfmServlet.service(CfmServlet.java:107)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    sorry its such a long post but i thought it best to post all
    the info. can anyone see what the problem is with my code?
    thanks in advance
    zac

    Zac,
    You really shouldn't make the Primary Key for the table
    editable.
    Try removing this from the form:
    <label for="textfield">Auto ID</label>
    <input
    value="<cfoutput>#edit_vacancy.ID#</cfoutput>"
    type="text" name="id" id="id">
    And make it a hidden input like this:
    <input
    value="<cfoutput>#edit_vacancy.ID#</cfoutput>"
    type="hidden" name="id" id="id">
    Ken Ford
    Adobe Community Expert
    Fordwebs, LLC
    http://www.fordwebs.com
    "zac1234" <[email protected]> wrote in
    message news:[email protected]...
    > ok.. i have a vacancies page, each vacancy has a link
    next to it called "edit"
    > when you click on the link it does this:
    >
    > <a href="vacancyedit.cfm?ID=#ID#">
    >
    > on vacancyedit.cfm there is a form. the fields on the
    form are populated with
    > this query:
    >
    > <cfquery name="edit_vacancy"
    datasource="allieddatabase">
    > SELECT *
    > FROM new_vacancy_table1
    > WHERE ID = #ID#
    > ORDER BY ID DESC
    > </cfquery>
    >
    > the form looks like this:
    >
    > <form
    action="<cfoutput>#CurrentPage#</cfoutput>"
    method="POST"
    > name="edit_vacancy_form">
    >
    > <label for="textfield">Auto ID</label>
    > <input
    value="<cfoutput>#edit_vacancy.ID#</cfoutput>"
    type="text" name="id"
    > id="id">
    >
    > <label for="label">Area</label>
    > <input
    value="<cfoutput>#edit_vacancy.area#</cfoutput>"
    type="text"
    > name="textfield2" id="label">
    > <label for="label2">Pattern</label>
    > <input
    value="<cfoutput>#edit_vacancy.pattern#</cfoutput>"
    type="text"
    > name="textfield3" id="label2">
    > <label for="label3">Hours</label>
    > <input
    value="<cfoutput>#edit_vacancy.hrs#</cfoutput>"
    type="text"
    > name="textfield4" id="label3">
    > <label for="label4">Rate</label>
    > <input
    value="<cfoutput>#edit_vacancy.rate#</cfoutput>"
    type="text"
    > name="textfield5" id="label4">
    > <label for="textarea">Description</label>
    > <textarea name="textarea"
    >
    class="text_entry"><cfoutput>#edit_vacancy.description#</cfoutput></textarea>
    > <br>
    > <input type="submit" name="Submit" value="Submit"
    id="submit_button">
    > <input type="hidden" name="MM_UpdateRecord"
    value="edit_vacancy_form">
    > </form>
    >
    > so i make the alterations to the queried data as
    required then click submit.
    > this is the update code:
    >
    > <cfset
    CurrentPage=GetFileFromPath(GetTemplatePath())>
    > <cfif IsDefined("FORM.MM_UpdateRecord") AND
    FORM.MM_UpdateRecord EQ
    > "edit_vacancy_form">
    > <cfquery datasource="allieddatabase">
    > UPDATE new_vacancy_table1
    > SET area=
    > <cfif IsDefined("FORM.textfield2") AND
    #FORM.textfield2# NEQ "">
    > <cfqueryparam value="#FORM.textfield2#"
    cfsqltype="cf_sql_clob"
    > maxlength="50">
    > <cfelse>
    > ''
    > </cfif>
    > , pattern=
    > <cfif IsDefined("FORM.textfield3") AND
    #FORM.textfield3# NEQ "">
    > <cfqueryparam value="#FORM.textfield3#"
    cfsqltype="cf_sql_clob"
    > maxlength="50">
    > <cfelse>
    > ''
    > </cfif>
    > , hrs=
    > <cfif IsDefined("FORM.textfield4") AND
    #FORM.textfield4# NEQ "">
    > <cfqueryparam value="#FORM.textfield4#"
    cfsqltype="cf_sql_clob"
    > maxlength="50">
    > <cfelse>
    > ''
    > </cfif>
    > , rate=
    > <cfif IsDefined("FORM.textfield5") AND
    #FORM.textfield5# NEQ "">
    > <cfqueryparam value="#FORM.textfield5#"
    cfsqltype="cf_sql_clob"
    > maxlength="50">
    > <cfelse>
    > ''
    > </cfif>
    > , "description"=
    > <cfif IsDefined("FORM.textarea") AND #FORM.textarea#
    NEQ "">
    > <cfqueryparam value="#FORM.textarea#"
    cfsqltype="cf_sql_clob">
    > <cfelse>
    > ''
    > </cfif>
    > WHERE ID=<cfqueryparam value="#FORM.id#"
    cfsqltype="cf_sql_numeric">
    > </cfquery>
    > <cflocation url="vacancyadmin.cfm">
    > </cfif>
    >
    > this should then update my changes and take me back to
    vacancyadmin.cfm.
    > however all i get is the following error message:
    >
    > Error Executing Database Query.
    > Parameter ?_5 has no default value.
    >
    > The error occurred in
    F:\data\webdesigns\wwwroot\CFIDE\Allied\vacancyedit.cfm:
    > line 35
    >
    > 33 : ''
    > 34 : </cfif>
    > 35 : WHERE ID=<cfqueryparam value="#FORM.id#"
    cfsqltype="cf_sql_clob"
    > maxlength="10">
    > 36 : </cfquery>
    > 37 : <cflocation url="vacancyadmin.cfm">
    >
    > SQL UPDATE new_vacancy_table1 SET area= (param 1) ,
    pattern= (param 2) ,
    > hrs= (param 3) , rate= '' , "description"= (param 4)
    WHERE ID= (param 5)
    > DATASOURCE allieddatabase
    > VENDORERRORCODE 3088
    > SQLSTATE  
    > Resources:
    >
    > * Check the ColdFusion documentation to verify that you
    are using the
    > correct syntax.
    > * Search the Knowledge Base to find a solution to your
    problem.
    >
    > Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
    rv:1.8.1.3)
    > Gecko/20070309 Firefox/2.0.0.3
    > Remote Address 10.0.0.201
    > Referrer
    http://allied-srv-03/CFS/vacancyedit.cfm?ID=14
    > Date/Time 07-Apr-07 12:56 PM
    > Stack Trace
    > at
    >
    cfvacancyedit2ecfm242791332.runPage(F:\data\webdesigns\wwwroot\CFIDE\Allied\vaca
    > ncyedit.cfm:35) at
    >
    cfvacancyedit2ecfm242791332.runPage(F:\data\webdesigns\wwwroot\CFIDE\Allied\vaca
    > ncyedit.cfm:35)
    >
    > com.inzoom.adojni.ComException: Parameter ?_5 has no
    default value. in
    > Microsoft JET Database Engine code=3088 Type=1
    > at com.inzoom.ado.Command.jniExecute(Native Method)
    > at com.inzoom.ado.Command.execute(Command.java:40)
    > at com.inzoom.jdbcado.Statement.exec(Statement.java:34)
    > at
    com.inzoom.jdbcado.PreparedStatement.execute(PreparedStatement.java:201)
    > at
    >
    coldfusion.server.j2ee.sql.JRunPreparedStatement.execute(JRunPreparedStatement.j
    > ava:87)
    > at
    coldfusion.sql.Executive.executeQuery(Executive.java:756)
    > at
    coldfusion.sql.Executive.executeQuery(Executive.java:675)
    > at
    coldfusion.sql.Executive.executeQuery(Executive.java:636)
    > at coldfusion.sql.SqlImpl.execute(SqlImpl.java:236)
    > at
    coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:500)
    > at
    >
    cfvacancyedit2ecfm242791332.runPage(F:\data\webdesigns\wwwroot\CFIDE\Allied\vaca
    > ncyedit.cfm:35)
    > at
    coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
    > at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
    > at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    > at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    > at
    coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
    > at
    coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    > at
    coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
    > at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    > at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
    > at
    >
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilt
    > er.java:28)
    > at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    > at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    > at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    > at
    >
    coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
    > at coldfusion.CfmServlet.service(CfmServlet.java:107)
    > at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    > at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    > at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    > at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    > at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    > at
    >
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    > at
    >
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
    > at
    >
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
    > at
    >
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
    > at
    jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    >
    >
    >
    > sorry its such a long post but i thought it best to post
    all the info. can
    > anyone see what the problem is with my code?
    >
    > thanks in advance
    >
    > zac
    >
    >

  • Tax code  in procedure TAXSG is invalid

    Hi SD Experts
    When the billing doc release to accounting getting error "Tax code  in procedure TAXSG is invalid".
    Material has MWST as tax condition, used sales order also MWST.
    But the TAXSG procedure does not have this MWST, is this the issue?
    Checked in FTXP for the tax code there is no MWST maintained for the TAXSG.
    Condition record is maintained by VK11 but not FV11
    Provide the soluion in detail
    Thanks/karthik

    Hi Karthik
    Firstly , make sure that Tax Code has been created in the TAXSG tax procedure. Also make sure that the TAXSG procedure is assigned to the country.
    Secondly also make sure , that the TAXSG procedure has MWST condition type.
    Also check in CMR data that which country has been assigned to the customer.So make sure that the country that has been  maintained in CMR data and the tax code is also be created in same country. Also make sure that the tax procedure TAXSG is also assigned to the same country
    Regards
    Srinath

  • Reg. Tax code  in procedure TAXINJ is invalid

    Dear Friends
    discournt related condition type is working and the Billing also release but if I use  addition related condition the billing is saved but do not get release.
    the following error occured
    Tax code  in procedure TAXINJ is invalid
    Message no. FICORE704
    Diagnosis
    The tax code entered is not defined in the country for this company code.
    System Response
    Procedure
    Check and, if necessary, correct the entry.
    Procedure for System Administration
    If it is not an input error, check and possibly change the system settings.
    To do this, choose Maintain entries (F5).
    1. Check whether the required tax determination procedure is assigned to the relevant country. the Procedure field is in the detail screen.
    2. Create a new tax code if required.  ""
    for discount I didn't create any tax code and condition in VK11 but working the same way I using positive type condition, it is not working that is unable to release, no accounting document created.
    Pls advice
    Rajakumar.K

    Hi,
    Please check the following configuration :-
    1. Check the Tax code Assigned in the Condition Record of New Condition Type.
    2. IMG > Financial Accounting (New) > Tax on Sales/Purchases > > Basic Settings > Assign Country to Calculation Procedure.
    3. In FTXP , check the Tax Code assigned to the Country.
    Best Regards,
    Ankur

  • Tax code  in procedure TAXINJ is invalid

    Hi Users
    User try to print u2018Delivery Chalanu2019- 291 movt is used to return materials to vendor. Fyi.  ZM001 is the  Tcode- user getting a error message  (Tax code  in procedure TAXINJ is invalid) pl help asap.
    Thanks & Regards,
    Siva

    Dear,
    Just check FTXP -> Enter Country code IN
    See if there are any tax codes crated.
    There are two tax procedures
    TAXINN
    TAXINJ
    If somebody deleted the tax codes.....
    Also check in SPRO, whether the Tax procedure has been assigned to Country IN
    Thanks

  • Reg. Tax code  in procedure TAXINJ is invalid during Billing release in VF0

    dear friends
    when I release the billing in VF02  I am getting the bellow error
    ""   Tax code  in procedure TAXINJ is invalid
    Message no. FICORE704
    Diagnosis
    The tax code entered is not defined in the country for this company code.
    System Response
    Procedure
    Check and, if necessary, correct the entry.
    Procedure for System Administration
    If it is not an input error, check and possibly change the system settings.
    To do this, choose Maintain entries (F5).
    1. Check whether the required tax determination procedure is assigned to the relevant country. the Procedure field is in the detail screen.
    2. Create a new tax code if required.""
    and my procedure is
    100     0     PR00     Price                       ERL
    350     0     ZMRP     MRP Price                       ERL
    400     0     ZMRD     Discount % from MRP     350          MWS
    450     0     ZBED     Basic Excise Duty     400            EXD
    500     0     ZECE     Education Cess     450            EXD
    550     0     ZSHE     Sec.Higher Edu.Cess     450            EXD
    555     0          CR Price          100 
    650     0          Sub total          450     550
    700     0     ZCST     IN A/R CST          555     650      MWS
    725     0     ZVAT     IN A/R VAT          555     650     MWS
    750     0          Total          555     725
    800     0          Sales Revenue     750     
    if there is any logi problem pls advice me.
    we enter manualy the MRP Price and doing discount 45% from that.
    Thanks in advance
    Rajakumar.k

    Hi
    There are couple of things you need to check.
    1. In FTXP, if rates have been maintained against the AR Condition Types correctly
    2. In VK11, you have maintained the settings for condition type UTXJ, which is important for TAXINJ
    3. In Customer master, you have assigned the Tax Classification Key in Customer Sales Area data
    Regards
    Sanil Bhandari

  • Reg. Jurisdiction code for procedure TAXINJ should be 9 characters long

    Dear Experts
    I am getting the follwing error when I create purchase order.
    " Jurisdiction code for procedure TAXINJ should be 9 characters long
    Message no. FC279
    Diagnosis
    The tax jurisdiction code you have entered does not correspond to the predefined length for this calculation procedure.
    System Response
    Error message
    Procedure
    1st possibility
    Enter the tax jurisdiction code in the predefined length.
    2nd possibility
    Change the predefined length for the structure of the tax jurisdiction code."
    Pls help me.
    Thanks
    Rajakumar.K

    Hi
    For that you can solve through this way
    Go through this T.code OBCO
    There you can change the length of the Jurisdiction code
    May be this information is useful to you
    If you have any doubt feel free to ask
    Regards
    Surya

  • How to put source code into procedure ?

    let's suppose that we have a source code for store Schema like this schema that you can download it from follow Link :-
    http://www.zshare.net/download/1322967884dcdbab/
    and now I want to wrap it ,until get the plb file , and then no one can know the content of the schema source code , and as I know the ( procedure , function and package ) only could wrapped , so I tried to embed the source code in procedure , but the process failed Sad
    Is there anyway to embed the source code schema into procedure until wrap the procedure later to get the plb file ?!

    1* select * from v$version
    SQL> /
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    I'm working in Windows XP SP2 , I use Oracle 10gr2 , I use forms6i
    All what I want to know is :-
    How we make normal Procedure like this style :-
    CREATE OR REPLACE PROCEDURE proc_name
    IS
    BEGIN
    EXECUTE IMMEDIATE ' here we will put the schema creation script , download it from that like ( http://www.zshare.net/download/1322967884dcdbab/ ) ' ;
    end proc_name;
    don't worry about the wrap operation , I will adjust it ..... but the important here .... how we embed the "schema creation script" after EXECUTE IMMEDIATE like in previous procedure ?

  • Want to updated sales pricing procedure through quotation

    Hello Friends,
    In general scenario: we update any condition type in vk11 tcode and tht is reflected in quotation pricing.
    my requirement : while creating quotation if the user changes any price for any condition tht should automatically get updated in pricing procedure for tht particular condition type.
    pls suggest how it is possible??
    Regards,
    Sunny

    Hi Sunny,
    you can write exit in VA21 to update the sales pricing .
    Thanks & Regards,
    Devalla T Kumar

  • Are templates able to update code above html tag?

    Is it possible to use templates to update code preceding the
    doctype declaration and/or the html tag? I am trying to insert php
    code (relating to sessions) and have tried (I believe) all possible
    variants of codeOutsideHTMLIsLocked="false" or "true", combined
    with trying to insert an editable region at the top, etc. I am not
    able to find a solution that works. I may trick DW to insert the
    code site wide, but then it will not update the code nor delete it.
    colin

    Cole.Mountain please try the steps listed in Error "Failed to Install" Creative Cloud Desktop application - http://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html to install the updated version of the Creative Cloud Desktop application.

  • HT1349 Redeem Mountain Lion App Store update code

    I sent my Mountain Lion App Store update code to the wrong e-mail address and can't recover it, but registered the serial number to my newly purchased MacBook Pro. Can I have my code resent to an e-mail I actually use to redeem it and download the new OS?

    http://support.apple.com/kb/DL1581 and supplemental http://support.apple.com/kb/DL1600

  • I have recently bought my Mac mini ( July 12) and have already requested my free update code for mountain lion, got a reference nr, but I still haven't received a code via email to update? Its been 12 days. Any advice?

    I have recently bought my Mac mini ( July 12) and have already requested my free update code for mountain lion, got a reference nr, but I still haven't received a code via email to update with? Its been 12 days. Any advice?

    I am still in the return window but i really do not want to return my mac as i know it has the ability to do what i want, my problem is just finding the software that will work as i know there has been a lot of complications with OS X Mountain Lion with softwares that caim to be compatible but then later turn out not to be.
    I have been a windows user for years and this is really my first mac but apart from the hole software issue i find the mac 10x better than any windows computer i have ever used. For example i bought a HP laptop 4 weeks ago and has nothing but problems. At first the fans stopped working and making weird noises and then it began switching off when ever it felt like it and freezing like mad when i was trying to access the smallest program. I have found that now a days you dont get what you pay for with Windows especially since Windows 8 was released. Also Laptops such as HP now are just crammed with cheap parts, they dont take pride in their systems like they once used to unlike Apple. I know i will get more than a year or 2 out my mac (hopefully a lot more) but with windows systems it just seems to break all the time costing more money on extending warrantys. Also i like mac because i dont need to send it away if i ever get a problem, i can just take it into the apple shop half a mile down the road and they will fix it in store. Where as with windows i am waiting 2 weeks+ to just hear back from them.

Maybe you are looking for

  • No manual signature in Form16

    Team, End-User team is not interested in manual sign in Form16. Is there any way to avoid this in Form 16 ? Is the computerized sign is acceptable by Indian Govt? Is there Any company Processing Form 16 without manual sign. Please let us know.Answers

  • Soa suite v11.1.1.4.0 supports soap 1.2?

    Hi, I am using following environment. SOA Version: v11.1.1.4.0 - 11.1.1.4.0_110106.1932.5682 WebLogic Server 10.3.4.0 Does this soa suite(using bpel and owsm policies) version supports soap 1.2 ? This is very urgent. Please provide the inputs. Thanks

  • How to create a FieldObject by RunningTotalField

    I'm trying create FieldObject by RunningTotalField,but When an exception is thrown "no error",please help me.thanks!   // "{#RUN_CoCode}" is existing fields    RunningTotalField runTotalObj = (RunningTotalField)boReportClientDocument.DataDefControlle

  • Import keyboard

    package bill_of_sale; import cs1.Keyboard; import java.text.DecimalFormat; public class BillOfSaleClass     static final double PC_PRICE = 999;     static final double PRINTER_PRICE = 199, TAX_PRICE = .075;     static final double MONITOR_PRICE=399,

  • Problem with ni9505

    When i use NI9505 to control step motor, use example code(closed loop), motor can run, but can not stop. for example, i want run  1000 steps, motor run and the encoder value may be a value close to 1000, but can not stop, why?