Error in creation Procedure..help required

Hai all
I have two views
1. v_production_info
2. v_production_scope
The first view contains the date,area,processname,acheived value.
eg.
DATE AREA process achieved
29/03/04 A TC 100
29/03/04 A TR 100
29/03/04 A FQ 100
29/03/04 B FQ 100
The Second view contains
AREA planned
A 700
B 900
I want the output like this and it should be inserted into the new table and the format i want is
Table:
DATE AREA planned TC TR FQ
29/03/04 A 700 14.3 14.3 14.3
i.e. I need to transpose the rows to columns and i need to calculate the percentage of completion..
I have created a procedure like this..
CREATE OR REPLACE PROCEDURE "P_Y_PROGRESS" (lDate IN
DATE) IS
SP VARCHAR2(50);
P_SCOPE NUMBER(8,2);
P_VALUE NUMBER(8,2);
TC_VALUE NUMBER(8,2);
TR_VALUE NUMBER(8,2);
P3_VALUE NUMBER(8,2);
FQA_VALUE NUMBER(8,2);
CURSOR CUR_SPNO IS
          SELECT DISTINCT SPNO FROM V_PRODUCTION_INFO;
BEGIN
OPEN CUR_SPNO;
LOOP
FETCH CUR_SPNO INTO SP;
EXIT WHEN CUR_SPNO%NOTFOUND;
     SELECT SCOPE INTO P_SCOPE FROM V_PRODUCTION_SCOPE WHERE SPNO = SP;
     IF P_SCOPE <> '' THEN
          SELECT ROUND(SUM(ACHIEVED) / NVL(P_SCOPE)) * 100,2) INTO P_VALUE FROM V_PRODUCTION_INFO WHERE SPNO = SP AND STAGE = 'PP' AND TO_CHAR(ACT_DATE,'DD-MON-YYYY') <= ldate;
          SELECT ROUND(SUM(ACHIEVED) / NVL(P_SCOPE)) * 100,2) INTO TC_VALUE FROM V_PRODUCTION_INFO WHERE SPNO = SP AND STAGE = 'TC' AND TO_CHAR(ACT_DATE,'DD-MON-YYYY') <= ldate;
          SELECT ROUND(SUM(ACHIEVED) / NVL(P_SCOPE)) * 100,2) INTO TR_VALUE FROM V_PRODUCTION_INFO WHERE SPNO = SP AND STAGE = 'Trasse' AND TO_CHAR(ACT_DATE,'DD-MON-YYYY') <= ldate;
          SELECT ROUND(SUM(ACHIEVED) / NVL(P_SCOPE)) * 100,2) INTO P3_VALUE FROM V_PRODUCTION_INFO WHERE SPNO = SP AND STAGE = 'Phase III' AND TO_CHAR(ACT_DATE,'DD-MON-YYYY') <= ldate;
          SELECT ROUND(SUM(ACHIEVED) / NVL(P_SCOPE)) * 100,2) INTO FQA_VALUE FROM V_PRODUCTION_INFO WHERE SPNO = SP AND STAGE = 'FQA' AND TO_CHAR(ACT_DATE,'DD-MON-YYYY') <= ldate;
     ELSE
          P_VALUE := 0;
          TC_VALUE := 0;
          TR_VALUE := 0;
          P3_VALUE := 0;
          FQA_VALUE := 0;
     END IF;
     INSERT INTO PRODN_DATE,PRODN_SCOPE,PREPRODN_STATUS,TEMPPRODN_STATUS,TRASSEPRODN_STATUS,PIIIPRODN_STATUS,FQAPRODN_STATUS,DUE_DATE)
     VALUES(ldate,P_SCOPE,P_VALUE,TC_VALUE,TR_VALUE,P3_VALUE,FQA_VALUE,(SELECT PLANNED_DATE FROM SP_COMPLETION_DATE WHERE SPNO = SP));
COMMIT;     
END LOOP;
CLOSE CUR_SPNO;
END P_Y_PROGRESS;
But it is telling as it contains compilation errors..
can any one help to achieve this
Thanks
Gay3

Hi,
Change
ROUND(SUM(ACHIEVED) / NVL(P_SCOPE)) * 100,2)
to
ROUND(SUM(ACHIEVED) / NVL(P_SCOPE,1) * 100,2)
For NVL you have to give some default value, here i have defaulted it to 1. Change it to any value you want to default it to.
Also in INSERT INTO statement TABLE_NAME is missing. Give the table name as
INSERT INTO table_name (col_list)
VALUES (values_list).
Sunil.

Similar Messages

  • Calc procedure help require

    hi all,
    i m using oracle 9i and oracle developer suite 6i for building reports
    i have written a procedure that will do the calculation
    PROCEDURE calc IS
    TALLOW NUMBER;
    TTAKEN NUMBER;
    TPROFIT NUMBER;
    TLOSS NUMBER;
    BEGIN
         SELECT TIMEALLOWED,TIMETAKEN INTO TALLOW,TTAKEN FROM PRTEMPINCENT;
         TPROFIT:=ROUND((GREATEST((ROUND(TALLOW,2) - ROUND(TTAKEN,2)),0)/ROUND(TTAKEN,2)) * 100,2);
         TLOSS:=ROUND((ABS(LEAST((ROUND(TALLOW,2) - ROUND(TTAKEN,2)),0))/ROUND(TTAKEN,2)) * 100,2);
         INSERT INTO PRTEMPINCPL(CARDCODE,JOBCARDNO,SHOP,TIMEALLOWEDHRS,TIMETAKENHRS,
                              TIMESAVED,TIMELOST,PROFIT,LOSS,REMARKS)
                              SELECT '5',JOBCARDNO,SHOP,TIMEALLOWED,TIMETAKEN,TIMESAVED,TIMELOST,TPROFIT,TLOSS
           DECODE(SIGN(TIMEALLOWED - TIMETAKEN),1,'ABN.PRFT',-1,'LOSS')
    FROM PRTEMPINCENT
    WHERE ((PAYPERIOD= :P_1
    AND  (TIMETAKEN )>( TIMEALLOWED ))
    OR((TIMEALLOWED )>(TIMETAKEN )AND(((TIMEALLOWED )  -  
    (TIMETAKEN )  )
    /(TIMETAKEN)*100)>50));
    END;this code fetch the timeallowed and timetaken from the prtempincent table, does the calculation and then i want to insert them to another table and show them in report
    i call this procedure in after paramenter function of report
    but i gives me error ora-1422 extract fetch more then require number of rows
    wht modification should i do in the following procedure that i fetch record on by one and then insert in the other table
    Regards
    Abhi

    HI Manu,
    thanks for your reply
    well i just modified my procedure to my need
    PROCEDURE calc IS
    TALLOWHRS NUMBER;
    TTAKENHRS NUMBER;
    TTAKENMINS NUMBER;
    TALLOWMINS NUMBER;
    TCLOCKHRS NUMBER;
    TCLOCKMINS NUMBER;
    TALLOW NUMBER;
    TTAKEN NUMBER;
    TSAVED NUMBER;
    TLOST NUMBER;
    BTTAKEN NUMBER;
    CURSOR Cur_Cursor IS SELECT C.TIMEALLOWEDHRS,C.TIMEALLOWEDMINS,C.TIMETAKENHRS,C.TIMETAKENMINS,A.TIMECLOCKEDHRS,A.TIMECLOCKEDMINS,B.TIMETAKEN
    FROM PRTRINCH C,PRTRINCG A,PRTRINCE B;
    BEGIN
         OPEN Cur_Cursor;
          FETCH Cur_Cursor INTO TALLOWHRS,TALLOWMINS,TTAKENHRS,TTAKENMINS,TCLOCKHRS,TCLOCKMINS,BTTAKEN;
          CLOSE Cur_Cursor;
    TALLOW:=TO_NUMBER ( FLOOR ((((TALLOWHRS*60+TALLOWMINS)/(TTAKENHRS*60+TTAKENMINS))*
    (TCLOCKHRS*60+TCLOCKMINS)) / 60)) || ':'|| TO_NUMBER ( MOD ((((TALLOWHRS*60+TALLOWMINS)/(TALLOWHRS*60+TALLOWMINS))*
    (TCLOCKHRS*60+TCLOCKMINS)), 60), 'FM00');     
    TTAKEN:=TO_CHAR( FLOOR (BTTAKEN / 60)) || ':'|| TO_CHAR ( MOD (BTTAKEN, 60), 'FM00');
    TSAVED:=      greatest(TO_NUMBER ( FLOOR (((((TALLOWHRS*60+TALLOWMINS)/(TTAKENHRS*60+TTAKENMINS))*(TCLOCKHRS*60+TCLOCKMINS))-
       (TCLOCKHRS*60+TCLOCKMINS))/ 60)) || ':'||
       TO_NUMBER ( MOD (((((TALLOWHRS*60+TALLOWMINS)/(TTAKENHRS*60+TTAKENMINS))*(TCLOCKHRS*60+TCLOCKMINS))-
       (TCLOCKHRS*60+TCLOCKMINS)), 60), 'FM00'),0);
    TLOST:=  greatest(TO_NUMBER ( FLOOR (((TCLOCKHRS*60+TCLOCKMINS)-(((TALLOWHRS*60+TALLOWMINS)/(TTAKENHRS*60+TTAKENMINS))*
    (TCLOCKHRS*60+TCLOCKMINS)))  / 60)) || ':'
                            || TO_NUMBER ( MOD (((TCLOCKHRS*60+TCLOCKMINS)-(((TALLOWHRS*60+TALLOWMINS)/(TTAKENHRS*60+TTAKENMINS))*
    (TCLOCKHRS*60+TCLOCKMINS))) , 60), 'FM00'),0);
    INSERT INTO PRTEMPINCENT(JOBCARDNO,CARDCODE,SHOP,TICKETNO,TIMEALLOWED,TIMETAKEN,TIMESAVED,TIMEWORKED,ALLOCATION,TIMELOST,PAYPERIOD)
                    (select distinct b.jobcardno,'5',b.SHOP,a.TICKETNO,TALLOW,TTAKEN,TSAVED,0,C.WORKORDERNO,TLOST,:P_1
                                             from prtrincg a,prtrince b,prtrinch c
                                where b.payperiod = :P_1
                                  and b.jobcardno = a.jobcardno(+)
                                  and b.shop = a.shop(+)
                                 --and b.ticketno = a.ticketno(+)
                                  and c.jobcardno = b.jobcardno(+)
                                  and c.shop = b.shop(+)
                                  and a.empno=b.empno
                                  and b.filename = 'PRTRINCG');
    END;kindly see it and tell me is it ok?? when i m running my report its giving me ora-6502 error pl/sql numeric or value error
    can u say me wht i m doing wrong??
    Regards
    Abhi

  • Storing the values from a procedure - help required

    Hi All,
    I am having a package which consists of two procedures.
    Both the procedures need to calculate 6 averages of some of my fields based on unique number.
    (These two procedures process different unique numbers).
    Now, as same code is implemented in the two procedures for calculation,
    I want to move the logic into another procedure/function, with IN parameter as the unique number.
    Now how can I get these 6 values from the procedure.
    If I use OUT parameters, how can I get the values inside the procedure.
    Please suggest me a solution.
    Thanks in advance.
    Regards
    Raghunadh

    Example of pipelined function...
    SQL> CREATE OR REPLACE TYPE myrec AS OBJECT
      2  ( col1   VARCHAR2(10),
      3    col2   VARCHAR2(10)
      4  )
      5  /
    Type created.
    SQL>
    SQL> CREATE OR REPLACE TYPE myrectable AS TABLE OF myrec
      2  /
    Type created.
    SQL>
    SQL> CREATE OR REPLACE FUNCTION pipedata(p_str IN VARCHAR2) RETURN myrectable PIPELINED IS
      2    v_str VARCHAR2(4000) := REPLACE(REPLACE(p_str, '('),')');
      3    v_obj myrec := myrec(NULL,NULL);
      4  BEGIN
      5    LOOP
      6      EXIT WHEN v_str IS NULL;
      7      v_obj.col1 := SUBSTR(v_str,1,INSTR(v_str,',')-1);
      8      v_str := SUBSTR(v_str,INSTR(v_str,',')+1);
      9      IF INSTR(v_str,',')>0 THEN
    10        v_obj.col2 := SUBSTR(v_str,1,INSTR(v_str,',')-1);
    11        v_str := SUBSTR(v_str,INSTR(v_str,',')+1);
    12      ELSE
    13        v_obj.col2 := v_str;
    14        v_str := NULL;
    15      END IF;
    16      PIPE ROW (v_obj);
    17    END LOOP;
    18    RETURN;
    19  END;
    20  /
    Function created.
    SQL>
    SQL> create table mytab (col1 varchar2(10), col2 varchar2(10));
    Table created.
    SQL>
    SQL> insert into mytab (col1, col2) select col1, col2 from table(pipedata('(1,2),(2,3),(4,5)'));
    3 rows created.
    SQL>
    SQL> select * from mytab;
    COL1       COL2
    1          2
    2          3
    4          5Although I'm not sure you necessarily need to do it this way. Could you show us the code you are using and more details of what you are trying to do?

  • Child to Parent Node Creation, Mapping Help required

    Hi Guys,
    I need some suggestions on the following mapping problem, kindly suggest some solution if possible:
    I have a sender structure as:
    ParentNode
    ..........RecordSet  (0 to 1)
    ................ SValue1  (0 to 1)
    ................ SValue2  (0 to 1)
    .................SValue3  (0 to 1)
    For the receiver Structure I have following:
    ParentNode
    ..........RSet  (0 to unbounded)
    ............. RValue  (0 to 1)
    ..............RField    (0 to 1)
    Now my mapping conditions requires for every SValue1, SValue2, SValue3 source fields, I should generate at receiver side a new RSet and the value of SValue1/SValue2/SValue3 field(s) should be Provided into RValue, and RField should have the respective field name.
    I am trying this with PI Graphical mapping, is there any better solution for it?

    Hi,
    As source structure occurence is 0..1 in this case duplicate the target structure and use create if function with source as SValue1 ...so that for each of Svalues...a corresponding target node will get generated...
    With graphical mapping you should be able to do this...else need to go for UDF...
    HTH
    Rajesh

  • JDBC Stored procedure help required

    Hi All,
    Please let me know simple blogs how to use JDBC Stored procedure or any other method  in receiver jdbc adapter to insert or select in 2 tables
    Please  let me know simple blogs how to use JDBC Stored procedure or any other method  in sender jdbc adapter to select from 2 tables
    Thanks

    Hi,
    I am also looking for JDBC Stored procedure or any other method in sender jdbc adapter to select data from 2 tables
    Thanks

  • Mutating error in code..help required?

    hi All,
    I have applied trigger on emp as below....
    CREATE OR REPLACE TRIGGER trig_emp
    AFTER INSERT OR UPDATE OR DELETE
    ON EMP
    FOR EACH ROW
    DECLARE
         PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
         IF INSERTING THEN
                        PKG_PC.TRIG_PROC_INS;
         ELSIF DELETING THEN
              dbms_output.PUT_LINE('hye..deleting');
         ELSIF UPDATING THEN
                        PKG_PC.TRIG_PROC_UPD;
         END IF;
    EXCEPTION
              WHEN OTHERS THEN
                   dbms_output.PUT_LINE('exception occured'||SUBSTR(SQLERRM,1,100));
    END;
    pkg_pc code is as below.....
    CREATE OR REPLACE PACKAGE PKG_PC
    AS
         PROCEDURE TRIG_PROC_INS ;
         PROCEDURE TRIG_PROC_UPD ;
    END;
    CREATE OR REPLACE PACKAGE BODY PKG_PC
    AS
         PROCEDURE TRIG_PROC_INS
         AS
              curdate date;
         BEGIN
              SELECT sysdate INTO CURDATE
              FROM dual;
              -- EXECUTE IMMEDIATE 'TRUNCATE TABLE EMP_LOG';
              INSERT INTO EMP_LOG(LOG_STEP, LOG_DATE)
              VALUES('INSERT',SYSDATE );
    --          SELECT E.* ,'INSERT',SYSDATE          FROM EMP E;
              dbms_output.put_line('PROCEDURE called for inserting from trigger at-'||CURDATE);
         END;
         PROCEDURE TRIG_PROC_UPD
         AS
              curdate date;
              -- PRAGMA AUTONOMOUS_TRANSACTION;
         BEGIN
              INSERT INTO EMP_LOG --(LOG_STEP, LOG_DATE)
              -- VALUES('UPDATE',SYSDATE );
              SELECT E.* ,'UPDATE' ,SYSDATE     FROM EMP E;
              SELECT sysdate INTO CURDATE
              FROM dual;
              dbms_output.put_line('PROCEDURE called for UPDATING from trigger at-'||CURDATE);
         END;
    END;
    kindly direct why i am getting msg as below when I am running update stmnt...
    UPDATE EMP
    SET SAL=5000
    WHERE EMPNO=1;
    o/p msg -
    PROCEDURE called for UPDATING from trigger at-07-SEP-10
    exception occuredORA-06519: active autonomous transaction detected and rolled back
    rgds,
    pc

    hi
    PROCEDURE TRIG_PROC_UPD
    AS
    curdate date;
    PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
    INSERT INTO EMP_LOG (LOG_STEP, LOG_DATE)
    VALUES('UPDATE',SYSDATE );
    --SELECT E.* ,'UPDATE' ,SYSDATE FROM EMP E;
    SELECT sysdate INTO CURDATE
    FROM dual;
    dbms_output.put_line('PROCEDURE called for UPDATING from trigger at-'||CURDATE);
    commit; /**Always you should End your Transaction in Autonomous Block ***/
    END;Regards,
    Achyut

  • Simple Pricing Procedure Help Required

    I am using following for sales order pricing.
    Conditions Types:
    PR00 for base price
    HA00 for % Discount
    HB00 for Fixed Discount (Value discount)
    MWST for Sales Tax
    Formulas:
    HA00 is calculated (minus) from PR00
    HB00 is calucated (minus) from PR00
    MWST is calculated from total discounted amount (PR00 - HA00 - HB00)
    Pricing Procedure
    Step ........Ctype........desc................from.....to........reqt........bastype........acckey
    10........pr00
    20........ha00....................................10
    30........hb00....................................20
    35................discounted Amount.......20.......30
    40........MWST.................................35..................10..............16..............MWS
    Issues
    1) in sales order, the condition type hb00 has amount 15, but it shows 0 under condition value column
    2) how can i calculated the total Customer A/R Value i.e. discounted amount + MWST

    HB00 is fixed discount and in your pricing procedure you have assigned step no 20 agaist HB00 that means you are offering  fixed discount HB00 to HA00 for % Discount (because step no is HA00) and that is wrong
    A discount is offered on another discount
    Change HB00 from as step 10 from the original 20 (because step is PR00 which is base price and that deserves discount)
    It should look like this
    Pricing Procedure
    Step ........Ctype........desc................from.....to........reqt........bastype........acckey
    10........pr00
    20........ha00....................................10
    30........hb00....................................10........
    35................discounted Amount.......20.......30
    40........MWST.................................35..................10..............16..............MWS
    Make the changes and post back
    Regards
    Raja

  • Guided procedures-help required

    Hi,
    I have deployed some updated content in guided procedures. (Deleted the entire ORGINAL content even from the deleted items folder).The problem is other processes have disappeared strangely(folder names are missing the content inside the folder is present) .
    Although i did not make any changes in those folders, the folder names are not appearing strangely.
    Does the problem lie with deployment of content through SDM(i deployed all .sda files in one go) or any other issue.
    Do i need to roll back the changes?
    Please suggest.
    Regards,
    Subodh

    Hi David,
    Assuming that they are actually blocks in a process (I do not see other possibility of actually handling two different processes instead of two blocks in a process, but I will confirm with the person who brought the issues to my notice), is it possible to specify exit condition for one block that also depends on the exit condition of second block? That means even if the exit condition of one block is met, can it wait for the second block's exit condition?
    In BPM we have Fork step where I can specify parallel branches and design the process such that it runs through certain number of branches. Is anything available like this in GP? Can you please provide any documentation which explains the parallel block handling in GP?  As I mentioned in my other response, I am familiar with BPM, but never used GP.
    Thank you very much.

  • Using FileOutputStream for File Creation. Help Required!!

    Folks,
    I am using the FileOutputStream to create a file.For this I am
    saying:
    FileOutputStream fout2 = new FileOutputStream("Name.txt");
    This creates the File in the Current directory of the IDE(JBuilder 5).
    I want to create ths File in the a logs directory,taking the
    relative path.
    So I want the File to be created as ./logs/Filename.txt??
    How do I set the relative path in the FileOutputStream ??
    Can anyone please respond?

    Yes, "." does not coincide with the classes directory, especially when starting the application from an IDE.
    Take a look at the system properties for some directories:
    System.getProperties().list(System.out);
    System.putProperty("user.dir", "...");For your means I would abuse the ClassLoader, and specify a full path, and start to patch a file name from it:
    java.net.URL u = this.getClass().getResource(".../x.gif");

  • Help required in Weblogic 6 - Creation & Configuration of Web Application

    Forum Home > Enterprise JavaBeans[tm]
    Topic: Help required in Weblogic 6 - Creation & Configuration of Web Application
    Duke Dollars
    2 Duke Dollars assigned to this topic. Reward the best responses to your question
    using the icons below, or transfer additional Duke Dollars to this topic.
    Welcome moinshariff!
    Watching this topic.
    Previous Topic Next Topic
    This topic has 1 reply on 1 page (Most recent message: Jan 23, 2002 1:05 AM)
    Author: moinshariff Jan 22, 2002 4:55 AM
    Hi,
    I am using Weblogic 6. I have created a new Web
    Application called Web (I have not used the DefaultWebApp_myserver).
    And I have the following settings:
    Name : Web
    URI : Web
    and Path : C:\Web
    and placed my JSP files under c:\Web\
    I am able to access the first page, but after that I am not able to access the
    second page.
    I get "Error 404--Not Found" on the browser. Basically the class file is not getting
    created under /Web-inf/_tmp_war_myserver_myserver_Web/jsp_servlet/ folder .
    I tried a work around for this. I copied all my files under one more folder called
    web and placed this under C:\Web
    The it works. Now I have 2 copied off all the files, 1 copy under c:\web and another
    copy under c:\web\web\.
    If I have the files under DefaultWebApp_myserver and have the setting as
    Name: DefaultWebApp_myserver
    URI: DefaultWebApp_myserver
    Path: .\config\mydomain\applications
    everything works fine.
    Can any one please let me know if there is any configuration which has to be done
    so that I do not duplicate the code in 2 directories
    Thanks in advance.
    Regards,
    Moin

    Forum Home > Enterprise JavaBeans[tm]
    Topic: Help required in Weblogic 6 - Creation & Configuration of Web Application
    Duke Dollars
    2 Duke Dollars assigned to this topic. Reward the best responses to your question
    using the icons below, or transfer additional Duke Dollars to this topic.
    Welcome moinshariff!
    Watching this topic.
    Previous Topic Next Topic
    This topic has 1 reply on 1 page (Most recent message: Jan 23, 2002 1:05 AM)
    Author: moinshariff Jan 22, 2002 4:55 AM
    Hi,
    I am using Weblogic 6. I have created a new Web
    Application called Web (I have not used the DefaultWebApp_myserver).
    And I have the following settings:
    Name : Web
    URI : Web
    and Path : C:\Web
    and placed my JSP files under c:\Web\
    I am able to access the first page, but after that I am not able to access the
    second page.
    I get "Error 404--Not Found" on the browser. Basically the class file is not getting
    created under /Web-inf/_tmp_war_myserver_myserver_Web/jsp_servlet/ folder .
    I tried a work around for this. I copied all my files under one more folder called
    web and placed this under C:\Web
    The it works. Now I have 2 copied off all the files, 1 copy under c:\web and another
    copy under c:\web\web\.
    If I have the files under DefaultWebApp_myserver and have the setting as
    Name: DefaultWebApp_myserver
    URI: DefaultWebApp_myserver
    Path: .\config\mydomain\applications
    everything works fine.
    Can any one please let me know if there is any configuration which has to be done
    so that I do not duplicate the code in 2 directories
    Thanks in advance.
    Regards,
    Moin

  • Pricing Error (help required)

    Is there any routine which includes the tax value in R100 as well ,currently  the problem is that the 100% Discount condition is only including the net price
    And in the pricing procedure i m using two prices one price of tax calculation and the other is consumer price first i calculate the tax from base price then i deduct the tax from the consumer price this calculation is working fine through standard routines.
    Only problem is that when i enter NRAB and R100 at end it only includes Net Value which is calculated through Formual using condition type NTPS
    Kindly Help Required ASAP

    Hi ABAPAR,
    I m not getting the exact picture of what U desired, from your pricing procedure.
    As you r using multiple free goods condition type...anyway.
    If you wanted to make the calculated tax "amount + "as a basis for the calculation of particular condition type.you can use the functionality of subtotal.
    That mean go and assign one subtotal no. to subtotal column in your pricing procedur to all condition type to which you wanted to make as a basis for furthur calculation.(this settings allow the total of all values in one subtotal).
    And finally U can assign this subtotal no.to the "alt.cal.B.value "of pricing procedure for the calculation of particular condition type.
    If you r using any std condion type that come up with certain routine like NRAB or somthing...possibly that will not allow u to do this settings. so in this case clear your free goods requirement or use any new condition type. i.e . Z creation.
    consult your SD consultant.
    karnesh

  • My problem is on my Windows PC.  I am getting the error message, "The procedure entry point sqlite_3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.  I am told this is related to iTunes.  Any help?

    I use both a Mac and a PC.  My problem is on my Windows 7 PC.  I am getting the error message, "The procedure entry point sqlite_3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.  I am told this is related to iTunes.  Any help out there?  Thanks

    With Windows Explorer, navigate to your C:\Program Files\Common Files\Apple\Apple Application Support folder.
    Copy the SQLite3.dll that you should find there, navigate to the nearby Mobile Device Support folder, and Paste it in there also.
    Restart the programme all should be well
    In case that your OS is (64 bit)
    1. Open windows explorer, go to location C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    2. Copy file "SQLite3.dll"
    3. Now paste it in the folder  C:\Program Files (x86)\Common Files\Apple\Mobile Device Support
    4. Restart the programme, it should not display that message, it should be clear.
    Good Luck

  • I just recently did a reinstall on my mac, i tried to open itunes, but there is an error message that says itunes requires quick time 7.5.5 or later, i have tried to update quicktime, but cannot.  please help :)

    i just recently did a reinstall on my mac, i tried to open itunes, but there is an error message that says itunes requires quick time 7.5.5 or later, i have tried to update quicktime, but cannot.  please help

    Just FYI
    QuickTime 7.7 for Leopard - http://support.apple.com/kb/dl761
    http://support.apple.com/kb/DL27 <-- Quicktime 7.5.5

  • Error in creation of ARE-1

    Hi sd guru,
    while creating ARE 1 i am getting error.  <b>My error is the excise invoice is not meant for export.</b>.
    But in creation of excise invoice that is showing Exports and Bond is activated ( blue colour). So, this is export excise invoice. why i am getting this error. can any one help me for this .
    Thanks in advance,
    M.Prakash

    Thank you for ur replay,
    In my pricing procedure . there is no excies cond. types, But while i am creating excise invoice after click on utilization . i am getting excise duties. from where i am getting i don,t know.
    Give alternative sol for this,
    Thanks in advance.
    M.Prakash

  • Error during Creation of Product Group

    Hi experts
    I am getting below error during creation of Product Group MC84,
    how to solve this
    The field  is defined as a required field; it does not contain an entry
    Message no. MG144
    Procedure
    Transfer a suitable value.
    If the field is the material group or unit of weight, and the field is not ready for input, check whether the material is locked. If it is locked, you cannot extend the Purchasing view or the Sales view. If either of these views needs to be extended, the material must first be unlocked. This can be done only by a user with special authorization. Contact your system administrator.
    Note
    For information on locking and unlocking material master records, see the SAP library documentation Material Master (LO-MD-MM) ->Locking Material Master Records.

    Hi,
    Please refer the below thread,
    PRODUCT GROUP
    Regards,
    Senthilkumar

Maybe you are looking for