Error in the price determination procedure in the Delivey NL

Hi Gurus,
I'm working in a project and the customer wants the delivery note with value. Then I have activated the Price determination procedure for the delivery NL ( deliveries to transport material between plants ) and the determination doesn't work correctly, The conditions doesn't appears but if you push "analisys" and you check the conditions PR02 and MWST,  the condtions record are determined but not printed in the document.
It print the following message:This message tells you that the condition record exists, but has not been set in the document...
Some ideas?? thanks in advance for your help
Francisco Javier Fernandez

Hello,
Solved, in the customizing, you need check if the price determination procedure for the item category NLN is active, how?? spro>sales>basic functions>pricing>pricing control>define pricing by itgem category.
Check if your item category NLN have "x" Active price determination procedure.
Is nothing related with the reference to a PO, or copy rules...
Best regards,
Francisco Javier Fernandez

Similar Messages

  • Text Determination Procedure not valuated

    Hi Experts,
    While working on the standard opportunity transactions, we are getting the error that reads "Text Determination Procedure not valuated". We are unable to understand the issue behind this. Could you please share your views on this?
    Any help will be highly appreciated.
    Thanks,
    Neeraj Sharma

    Hi Neeraj,
    See this post.
    Opportunity Competitor Text
    Hope this helps.
    rgrds,
    Randhir

  • Error message: the appropriate pricing procedure could not be determined

    Hi SAP friends,
    What does this error message means please?
    The appropriate pricing procedure could not be determined because no entry with keys 'M100 20 P1' 'A' '1' exists in table 683V.
    Tcode: VA01 (sales order).  
    Regards,
    Bahia.

    Hi Bahia,
                    This error means the pricing procedure has not been done.To assign your pricing procedure to sales area go to the transaction "OVKK" and specify sales org/dist channel/div/document pricing procedure/customer pricing procedure and the defualt condition type. This would solve your problem.
    Regards
    Ram Pedarla

  • The Condition for service price determination incomplete

    Dear experts,
    I run the System with EC&O Best Practice. Howerver, I can not enter Services on tab Service of Sales Order: Short text of Service, Quantity, UOM, Gross Price. the error "Condition for service price determination incomplete" occours when I press Enter key.
    Conditions for service price determination incomplete
    Message no. SE477
    Diagnosis
    Either the calculation schema for services does not exist or the condition types have not been defined correctly.
    Procedure
    Please check your Customizing settings for service conditions.
    If you have not yet defined any conditions for services, you can adopt the standard SAP settings from client 0.
    Please help me check this issue on the attached file.
    Thank you very much.
    Thanks,
    Binh Tran
    <Personal details shared by OP is removed by Moderator. >
    Message was edited by: Jyoti Prakash

    Hi All,
    Thank you very much for your inputs.
    I checked all the notes, 25357, 27024  and 1383066. Everything is ok in the system. and these notes explained more on the MM part not on the SD- BOS. However, still i am not able to complete the Inquiry, same error exists.
    This error is in SD not in MM, while i am creating the inquiry BOS.
    If any one come across it and solved it, please let me know.
    Regards,
    Suresh

  • Event ID: 5014, 5004 The DFS Replication Service is stopping communication with partner / Error 1726 (The remote procedure call failed.)

    I'm replicating between two servers in two sites (Server A - Server 2012 R2 STD, Server B - Server 2008 R2) over a VPN (Sonicwall Firewall).  Though the initial replication seems to be
    happening it is very slow (the folder in question is less than 3GB).  I'm seeing these in the event viewer every few minutes:
    The DFS Replication service is stopping communication with partner PPIFTC for replication group FTC due to an error. The service will retry the connection periodically.
    Additional Information:
    Error: 1726 (The remote procedure call failed.)
    and then....
    The DFS Replication service successfully established an inbound connection with partner PPIFTC for replication group FTC.
    Here are all my troubleshooting steps (keep in mind that our VPN is going through a SonicWall <--I increased the TCP timeout to 24 hours):
    -Increased TCP Timeout to 24 hours 
    -Added the following values on both sending and receiving members and rebooted server
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    Value =DisableTaskOffload
    Type = DWORD
    Data = 1
    Value =EnableTCPChimney
    Type = DWORD
    Data = 0
    Value =EnableTCPA
    Type = DWORD
    Data = 0
    Value =EnableRSS
    Type = DWORD
    Data = 0
    ---------------------------------more troubleshooting--------------------------
    -Disabled AntiVirus on both members
    -Made sure DFSR TCP ports 135 & 5722 are open
    -Installed all hotfixes for 2008 R2 (http://support.microsoft.com/kb/968429) and rebooted
    -Ran NETSTAT –ANOBP TCP and the DFS executable results are listed below:
    Sending Member:
    [DFSRs.exe]
      TCP    10.x.x.x:53            0.0.0.0:0             
    LISTENING       1692
    [DFSRs.exe]
      TCP    10.x.x.x:54669        
    10.x.x.x:5722          TIME_WAIT       0
      TCP    10.x.x.x:54673        
    10.x.x.x:5722          ESTABLISHED     1656
     [DFSRs.exe]
      TCP    10.x.x.x:64773        
    10.x.x.x:389           ESTABLISHED     1692
    [DFSRs.exe]
      TCP    10.x.x.x:64787        
    10.x.x.x:389           ESTABLISHED     1656
     [DFSRs.exe]
      TCP    10.x.x.x:64795        
    10.x.x.x:389           ESTABLISHED     2104
    Receiving Member:
    [DFSRs.exe]
      TCP    10.x.x.x:56683        
    10.x.x.x:389           ESTABLISHED     7472
     [DFSRs.exe]
      TCP    10.x.x.x:57625        
    10.x.x.x:54886         ESTABLISHED     2808
    [DFSRs.exe]
      TCP    10.x.x.x:61759        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61760        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61763        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61764        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61770        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61771        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61774        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61775        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61776        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61777        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61778        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61779        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61784        
    10.x.x.x:52757         ESTABLISHED     7472
    [DFSRs.exe]
      TCP    10.x.x.x:63661        
    10.x.x.x:63781         ESTABLISHED     4880
    ------------------------------more troubleshooting--------------------------
    -Increased Staging to 32GB
    -Opened the ADSIedit.msc console to verify the "Authenticated Users" is set with the default READ permission on the following object:
    a. The computer object of the DFS server
    b. The DFSR-LocalSettings object under the DFS server computer object
    -Ran
    ping <var>10.x.x.x</var> -f -l 1472 and got replies back from both servers
    -AD replication is successful on all partners
    -Nslookup is working so DNS is working
    -Updated NIC drivers on both servers
    - I ran the following to set the Primary Member:
    dfsradmin Membership Set /RGName:<replication group name> /RFName:<replicated folder name> /MemName:<primary member> /IsPrimary:True
    Then Dfsrdiag Pollad /Member:<member name>
    I'm seeing these errors in the dfsr logs:
    20141014 19:28:17.746 9116 SRTR   957 [WARN] SERVER_EstablishSession Failed to establish a replicated folder session. connId:{45C8C309-4EDD-459A-A0BB-4C5FACD97D44} csId:{7AC7917F-F96F-411B-A4D8-6BB303B3C813}
    Error:
    + [Error:9051(0x235b) UpstreamTransport::EstablishSession upstreamtransport.cpp:808 9116 C The content set is not ready]
    + [Error:9051(0x235b) OutConnection::EstablishSession outconnection.cpp:532 9116 C The content set is not ready]
    + [Error:9051(0x235b) OutConnection::EstablishSession outconnection.cpp:471 9116 C The content set is not ready]
    ---------------------------------------more troubleshooting-----------------------------
    I've done a lot of research on the Internet and most of it is pointing to the same stuff I've tried.  Does anyone have any other suggestions?  Maybe I need to look somewhere
    else on the server side or firewall side? 
    I tried replicating from a 2012 R2 server to another 2012 server and am getting the same events in the event log so maybe it's not a server issue. 
    Some other things I'm wondering:
    -Could it be the speed of the NICs?  Server A is a 2012 Server that has Hyper-V installed.  NIC teaming was initially setup and since Hyper-V is installed the NIC is a "vEthernet
    (Microsoft Network Adapter Multiplexor Driver Virtual Switch) running at a speed of 10.0Gbps whereas Server B is running a single NIC at 1.0Gbps
    -Could occasional ping timeout's cause the issue?  From time to time I get a timeout but it's not as often as the events I'm seeing.  I'm getting 53ms pings.  The folder
    is only 3 GB so it shouldn't take that long to replicate but it's been days.  The schedule I have set for replication is mostly all day except for our backup times which start at 11pm-5am.  Throughout the rest of the time I have it set anywhere from
    4Mbps to 64 Kbps.  Server A is on a 5mb circuit and Server B is on a 10mb circuit. 

    I'm seeing the same errors, all servers are running 2008 R2 x64. Across multiple sites, VPN is steady and reliably.
    185 events from 12:28:21 to 12:49:25
    Events are for all five servers (one per office, five total offices, no two in the same city, across three states).
    Events are not limited to one replication group. I have quite a few replication groups, so I don't know for sure but I'm running under the reasonable assumption that none are spared.
    Reminder from original post (and also, yes, same for me), the error is: Error: 1726 (The remote procedure call failed.)
    Some way to figure out what code triggers an Event ID 5014, and what code therein specifies an Error 1726, would extremely helpful. Trying random command line/registry changes on live servers is exceptionally unappealing.
    Side note, 1726 is referenced here:
    https://support.microsoft.com/kb/976442?wa=wsignin1.0
    But it says, "This RPC connection problem may be caused by an unstable WAN connection." I don't believe this is the case for my system.
    It also says...
    For most RPC connection problems, the DFS Replication service will try to obtain the files again without logging a warning or an error in the DFS Replication log. You can capture the network trace to determine whether the cause of the problem is at the network
    layer. To examine the TCP ports that the DFS Replication service is using on replication partners, run the following command in a
    Command Prompt window:
    NETSTAT –ANOBP TCP
    This returns all open TCP connections. The connections in question are "DFSRs.exe", which the command won't let you filter for.
    Instead, I used the NETSTAT command as advertised, dumping output to info.txt:
    NETSTAT -ANOBP TCP >> X:\info.txt
    Then I opened Excel and manually opened the .TXT for the open wizard. I chose fixed-width fields based on the first row for each result, and then added a column:
    =IF(A3="Can not", "Can not obtain ownership information", IF(LEFT(A3,1) = "[", A3&B3&C3, ""))
    Dragging this down through the entire file let me see that row (Row F) as the file name. Some anomalies were present but none impacted DFSrs.exe results.
    Finally, you can sort/filter (I sorted because I like being able to see everything, should I choose to) to get just the results you need, with the partial rows removed from the result set, or bumped to the end.
    My server had 125 connections open.
    That is a staggering number of connections to review, and I feel like I'm looking for a needle in a haystack.
    I'll see if I can find anything useful out, but a better solution would be most wonderful.

  • Error in the procedure while tried to increment the seq

    Hello ,
    I tried the following but giving the errors..
    Plz help me in this..
    CREATE OR REPLACE PROCEDURE Seq_inc AS
       vmaxarrec number(10);
       vseq number(10);
          select max(recid) into vmaxarrec from acc_rec;
          select SEQ_ACC_REC.currval into vseq from dual;
        BEGIN
          FOR i IN vseq .. vmaxarrec  LOOP
            select SEQ_ACC_REC.nextval  from dual;
          END LOOP;
        END ;And giving the following errors...
    LINE/COL ERROR
    4/7 PLS-00103: Encountered the symbol "SELECT" when expecting one of
    the following:
    begin function package pragma procedure subtype type use
    <an identifier> <a double-quoted delimited-identifier> form
    current cursor
    The symbol "begin" was substituted for "SELECT" to continue.
    11/9 PLS-00103: Encountered the symbol "end-of-file" when expecting
    one of the following:
    begin case declare end exception exit for goto if loop mod
    null pragma raise return select update while with
    LINE/COL ERROR
    <an identifier> <a double-quoted delimited-identifier>
    <a bind variable> << close current delete fetch lock insert
    open rollback savepoint set sql execute commit forall merge
    Thanks

    smile wrote:
    SQL> CREATE OR REPLACE PROCEDURE Seq_inc AS
    2     vmaxarrec number(10);
    3     vseq number(10);
    4       
    5      BEGIN   
    6      select max(recid) into vmaxarrec from acc_rec;
    7      select SEQ_ACC_REC.currval into vseq from dual;
    8       
    9        FOR i IN vseq .. vmaxarrec  LOOP
    10          select SEQ_ACC_REC.nextval  from dual;
    11        END LOOP;
    12   
    13      END ;
    14  /
    Warning: Procedure created with compilation errors.
    SQL> sho err
    Errors for PROCEDURE SEQ_INC:
    LINE/COL ERROR
    10/9     PLS-00428: an INTO clause is expected in this SELECT statementI tried with the above correction ..and still errorsIt looks to me like you're trying to reset the sequence number to a new starting value. In reality there's very little point in doing this, though I've come across a few test scenarios where it's good to start with the same sequence number each time.
    The logic for changing a sequence to a particular value is along the lines of:
    SQL> select test.nextval from dual;
       NEXTVAL
           125
    SQL> var v_inc number;
    SQL> var v_resetno number;
    SQL> exec :v_resetno := 50;
    PL/SQL procedure successfully completed.
    SQL> exec execute immediate 'select -(test.nextval-:x)-1 from dual' into :v_inc using :v_resetno;
    PL/SQL procedure successfully completed.
    SQL> exec execute immediate 'alter sequence test increment by '||:v_inc;
    PL/SQL procedure successfully completed.
    SQL> select test.nextval from dual;
       NEXTVAL
            49
    SQL> alter sequence test increment by 1;
    Sequence altered.
    SQL> select test.nextval from dual;
       NEXTVAL
            50
    SQL> select test.nextval from dual;
       NEXTVAL
            51
    SQL>Note: In your code you are reading the currval of the sequence before you know that you've read the nextval. That will give an error, because the currval is only known within the current session after a nextval has been obtained.
    So, as a procedure, you want something like:
    CREATE OR REPLACE PROCEDURE Seq_inc AS
      v_maxarrec number;
      v_inc      number;
      v_seq      number;
    BEGIN   
      select max(recid)+1 into v_maxarrec from acc_rec; -- get the required sequence value
      select -(seq_acc_rec.nextval-v_maxarrec)-1 into v_inc from dual; -- determine the difference
      execute immediate 'alter sequence seq_acc_rec increment by '||v_inc; -- alter the sequence
      select seq_acc_rec.nextval into v_seq from dual; -- query the sequence to reset it
      execute immediate 'alter sequence seq_acc_rec increment by 1'; -- alter the sequence to increment by 1 again
    END ;(+untested+)

  • CO88-Error :Perform the planned price change for material

    Hi Experts,
    While running CO88 i get this error. "Perform the planned price change for material ". My material is manage at S and it doesn't have any marked cost. The status is FR and no other status on cost etimate for the article are active. what i shoul do? why if i run the PP order with KO88 i don't have any error?
    Please help i'm facing the closing period.

    Hi,
    If dynamic price change is active in your system the first posting in the new period of this material tries to
    - release a future cost estimate of that period OR
    - change the price to the future price in accounting view
       (if the future price date is reached)
    Unfortunately this dynamic price change does not work in order settlement. Therefore you are asked to perform the price change first by t-code CKME (or CK24).
    If you are using price determination control 3, any price change or release should always be the first transaction in a new period to avoid any inconsistencies.
    The dynamic price release will only release the price with transactions which involve material movement and this is not the case by posting invoices and order settlements.
    if you are in period 12/2009 then a settlement in 12/2009 does not require the release cost estimate of 01/2010.
    But if you are already in 01/2010 therefore settlement in 12/2009 is a posting into the previous period. This will change also data of the current period. Therefore the cost estimate has to be released first.
    Another option, if you don't want to receive this message, would be to change this message from Error to Warning (check note 434752).
    Please follow the following steps:
    T-CD:OMRM
    Message M8 394
    =>you set the message type to '-' for error message M8394, that means no message is to be issued.
    regards
    Waman

  • How the Purchase Price determination process works in sap-mm?

    Hi,
    Can anybody tell in detail or have step by step document on  Purchase Price determination process?
    Thanks,
    Pradip

    Hi,
    You can go for pricing manually or automatic. If you need pricing automatic you have to go for use of Access Sequences and Schema Group of Vendor. You can customize your pricing procedure according to your requirement such as like Domestic, Import and Stock transport.
    For the above individually you have to configure Pricing Procedure and the following steps are:
    SPRO->MM->Purchasing->Conditions->Define Price determination process
    1. Define Condition Table:
    2.Define Access Sequence,
    3.Define Condition Type,
    4.Define Calculating Schema,
    5.Assign Calculation Schema, Access Sequence and Condition Type,
    6.Define Schema Group Of Vendor,
    7. Define Schema Group Of Purchasing Organization,
    8.Assign Schema Group Of Vendor to Purchasing Organization,
    9.Assignment of Schema Group Of Vendor ,Schema Group Purchasing Organization and Calculation Schema.
    10. Assign Vendor to Schema Group of Vendor (XK02)
    11.Maintain Condition record (MEK1)
    after above steps, you can go for create PO in ME21N.
    In the case of Import PO, you have to activate Import PO.
    SPRO->Materials Management -> Purchasing -> Foreign Trade/Customs ->Control Foreign Trade Data in MM and SD Documents -
    Regards,
    Biju K

  • How to change price determination form blank to 2 on the material master?

    Hi expert,
    I had a difficult problem:
    Material ledger is active in our company Normally, in material master data accounting view 1, we always set price determination 2 and price control V. Price determination 2 is set default if creating a material master by entering no price determination.
    Today, my Key user came accross a prblem: In our company, for batch processing of material master, we made a mistake that  price determination were set blank (neither 2 or 3, In MBEW table, field MLAST is blank) when inputting material master. all data were imported without error warnings. But ,acturally, all materials' price determination in accounting view 1 was set Blank! This is a big problem that we can not release standard price or do any other price changing~~~.
    I have used CKMM to try to change price determination. But it failed: it can not identify this situation because old price determination must be set a word rather than blank in CKMM.
    I don't know any other solutions to change price determination from Blank into 2.
    Hope you can help me out. Very thankful!

    Hello,
    I have the same problem with a type material, the material ledger is active but the price determination were set blank.
    I already checked the OMX1 transaction... and all configurations of ML and type material and apparently is ok.
    Has anyone knows the solution?
    (maybe with applying a program or SAP note).
    Please help.
    Regards,
    Eliana

  • None of the derived determination procedures is of category 02

    Hi
    Small doubt in Limit Management.
    I have done most of the configuration.  In fact, I tested well in Development without any problem.
    When I moved my transport requests and started testing in Quality system, I got problem 'None of the derived determination procedures is of category 02' problem.
    If anybody come across this problem previously, can help me easily out
    Thanks a lot in advance for your support.
    Regards
    Rag.

    Hi Manisha,
    This error comes with the difference of the type of the risk default risk rule and determination procedure may handle.
    With my previous experiences, I would like to think the following:
    1) This is a spot, most probably forex, deal.
    2) The default risk definition has settlement risk checked.
    3) The determination procedures to which it has been linked are of type credit risk only.
    If that is the case, then you need to link a determination procedure of type settlement risk to the default risk rule as well.
    Regards,
    Jitesh

  • After installing a new version of Firefox, I get the error message "The procedure entry point JS_GetOperationLimit could not be located in the dynamic link library js3250.dll" when I try to start firefox. Elsewhere in the forum a complete reinstall is su

    After installing a new version of Firefox, I get the error message "The procedure entry point JS_GetOperationLimit could not be located in the dynamic link library js3250.dll" when I try to start firefox. Elsewhere in the forum a complete reinstall is suggested; however, I can't do that because of my company's IT policies. Is there any way to solve this problem WITHOUT a complete reinstall? Thank you!
    == This happened ==
    Every time Firefox opened
    == I installed a new version ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)

    If you can't reinstall Firefox yourself then you need to contact your IT department and ask them to check the Firefox installation.
    It is possible that some files got broken with the latest update.

  • 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 downloaded the latest version of itunes.  Now I cannot open iTunes.  I receive this error message: The procedure entry point AVCFAssetCreateWithByteStreamAndOptions could not be located in the dynamic link library AVfoundationCF.dll.  Thoughts?

    I downloaded the latest version of iTunes on my PC.  Now I cannot open iTunes.  I receive the following error message: "The procedure entry point AVCFAssetCreateWithByteStreamAndOptions could not be located in the dynamic link library AVfoundationCF.dll"  After pressing the "OK" button I receive a second error message: 'iTunes not installed correctly.  Please reinstall iTunes.  Error 7 (Windows error 127)".  I've uninstalled iTunes and reinstalled to no avail.  I've also eliminated the temp files (per suggestions on the trouble-shooting page) and no luck.  I also tried system restore and that did not fix the problem.  Any thougths on a repair?   

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. Head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (Although the procedure is for Vista and 7 and you've got XP, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever since I did that my itunes won't open any more.  Itunes starts but before anything loads a

  • Error in the procedure

    please find the error in the procedure
    CREATE OR REPLACE PROCEDURE MIS_TEST_3 AS
    CURSOR C2 IS SELECT EMP_PAY,EMP_GRD_PAY,EMP_BASIC FROM EMP_VIEW WHERE EMP_PAY_MONTH='FEB' AND EMP_PAY_YEAR='2011' AND EMP_CAT=5 ORDER BY EMP_NO;
    V_PAY NUMBER(12);
    V_GRD_PAY NUMBER(12);
    V_BASIC NUMBER(12);
    V_PAY_PAGE NUMBER(20);
    V_GRD_PAY_PAGE NUMBER(20);
    V_BASIC_PAGE NUMBER(20);
    V_PAY_LAST NUMBER(20);
    V_GRD_PAY_LAST NUMBER(20);
    V_BASIC_LAST NUMBER(20);
    I INTEGER;
    PAGE INTEGER;
    BEGIN
    OPEN C2;
    I:=0;
    V_PAY:=0;
    V_GRD_PAY:=0;
    V_BASIC:=0;
    V_PAY_PAGE:=0;
    V_GRD_PAY_PAGE:=0;
    V_BASIC_PAGE:=0;
    V_PAY_LAST:=0;
    V_GRD_PAY_LAST:=0;
    V_BASIC_LAST:=0;
    PAGE:=1;
    LOOP
    EXIT WHEN C2%NOTFOUND;
    FETCH C2 INTO V_PAY,V_GRD_PAY,V_BASIC ;
    DBMS_OUTPUT.PUT_LINE(LPAD(V_PAY,15,' '),LPAD(V_GRD_PAY,15,' '),LPAD(V_BASIC,15,' '));
    I:=I+1;
    V_PAY_PAGE:=V_PAY_PAGE+V_PAY;
    V_GRD_PAY_PAGE:=V_GRD_PAY_PAGE+V_GRD_PAY;
    V_BASIC_PAGE:=V_BASIC_PAGE+V_BASIC;
    V_PAY_LAST:=V_PAY_LAST+V_PAY;
    V_GRD_PAY_LAST:=V_GRD_PAY_LAST+V_GRD_PAY;
    V_BASIC_LAST:=V_BASIC_LAST+V_BASIC;
    IF MOD (I,10)=0 THEN
    DBMS_OUTPUT.PUT_LINE('------------------------------------------------------------------------------------------------------------------------------------------------------');
    DBMS_OUTPUT.PUT_LINE('SUB TOTAL PAGE '||PAGE||' '||LPAD(V_PAY_PAGE,15,' '),LPAD(V_GRD_PAY_PAGE,15,' '),LPAD(V_BASIC_PAGE,15,' '));
    DBMS_OUTPUT.PUT_LINE('-------------------------------------------------------------------------------------------------------------------------------------------------------');
    PAGE:=PAGE+1;
    V_PAY_PAGE:=0;
    V_GRD_PAY_PAGE:=0;
    V_BASIC_PAGE:=0;
    END IF;
    END LOOP;
    DBMS_OUTPUT.PUT_LINE('-----------------------------------------------------------------------------------------------------------------------------------------------------');
    DBMS_OUTPUT.PUT_LINE('SUB TOTAL PAGE '||PAGE||' '||LPAD(V_PAY_PAGE,15,' '),LPAD(V_GRD_PAY_PAGE,15,' '),LPAD(V_BASIC_PAGE,15,' '));
    DBMS_OUTPUT.PUT_LINE('---------------------------------------------------------------------------------------------------------------------------------------------------');
    DBMS_OUTPUT.PUT_LINE('GRAND TOTAL '|| LPAD(V_PAY_LAST,15,' '),LPAD(V_GRD_PAY_LAST,15,' '),LPAD(V_BASIC_LAST,15,' '));
    DBMS_OUTPUT.PUT_LINE('---------------------------------------------------------------------------------------------------------------------------------------------------');
    END ;

    user9950484 wrote:
    please find the error in the procedure
    CREATE OR REPLACE PROCEDURE MIS_TEST_3 AS
    CURSOR C2 IS SELECT EMP_PAY,EMP_GRD_PAY,EMP_BASIC FROM EMP_VIEW WHERE EMP_PAY_MONTH='FEB' AND EMP_PAY_YEAR='2011' AND EMP_CAT=5 ORDER BY EMP_NO;
    V_PAY NUMBER(12);
    V_GRD_PAY NUMBER(12);
    V_BASIC NUMBER(12);
    V_PAY_PAGE NUMBER(20);
    V_GRD_PAY_PAGE NUMBER(20);
    V_BASIC_PAGE NUMBER(20);
    V_PAY_LAST NUMBER(20);
    V_GRD_PAY_LAST NUMBER(20);
    V_BASIC_LAST NUMBER(20);
    I INTEGER;
    PAGE INTEGER;
    BEGIN
    OPEN C2;
    I:=0;
    V_PAY:=0;
    V_GRD_PAY:=0;
    V_BASIC:=0;
    V_PAY_PAGE:=0;
    V_GRD_PAY_PAGE:=0;
    V_BASIC_PAGE:=0;
    V_PAY_LAST:=0;
    V_GRD_PAY_LAST:=0;
    V_BASIC_LAST:=0;
    PAGE:=1;
    LOOP
    EXIT WHEN C2%NOTFOUND;
    FETCH C2 INTO V_PAY,V_GRD_PAY,V_BASIC ;
    DBMS_OUTPUT.PUT_LINE(LPAD(V_PAY,15,' '),LPAD(V_GRD_PAY,15,' '),LPAD(V_BASIC,15,' '));
    I:=I+1;
    V_PAY_PAGE:=V_PAY_PAGE+V_PAY;
    V_GRD_PAY_PAGE:=V_GRD_PAY_PAGE+V_GRD_PAY;
    V_BASIC_PAGE:=V_BASIC_PAGE+V_BASIC;
    V_PAY_LAST:=V_PAY_LAST+V_PAY;
    V_GRD_PAY_LAST:=V_GRD_PAY_LAST+V_GRD_PAY;
    V_BASIC_LAST:=V_BASIC_LAST+V_BASIC;
    IF MOD (I,10)=0 THEN
    DBMS_OUTPUT.PUT_LINE('------------------------------------------------------------------------------------------------------------------------------------------------------');
    DBMS_OUTPUT.PUT_LINE('SUB TOTAL PAGE '||PAGE||' '||LPAD(V_PAY_PAGE,15,' '),LPAD(V_GRD_PAY_PAGE,15,' '),LPAD(V_BASIC_PAGE,15,' '));
    DBMS_OUTPUT.PUT_LINE('-------------------------------------------------------------------------------------------------------------------------------------------------------');
    PAGE:=PAGE+1;
    V_PAY_PAGE:=0;
    V_GRD_PAY_PAGE:=0;
    V_BASIC_PAGE:=0;
    END IF;
    END LOOP;
    DBMS_OUTPUT.PUT_LINE('-----------------------------------------------------------------------------------------------------------------------------------------------------');
    DBMS_OUTPUT.PUT_LINE('SUB TOTAL PAGE '||PAGE||' '||LPAD(V_PAY_PAGE,15,' '),LPAD(V_GRD_PAY_PAGE,15,' '),LPAD(V_BASIC_PAGE,15,' '));
    DBMS_OUTPUT.PUT_LINE('---------------------------------------------------------------------------------------------------------------------------------------------------');
    DBMS_OUTPUT.PUT_LINE('GRAND TOTAL '|| LPAD(V_PAY_LAST,15,' '),LPAD(V_GRD_PAY_LAST,15,' '),LPAD(V_BASIC_LAST,15,' '));
    DBMS_OUTPUT.PUT_LINE('---------------------------------------------------------------------------------------------------------------------------------------------------');
    END ;Hi,
    Have you executed above procedure?? If so ,then please post the error what you are getting??
    Regards,
    Achyut

  • Updating the Price Determination Field in the Material Master (MBEW-MLAST)

    I'm doing a material conversion into an existing SAP system and the program to load the materials didn't load a value in the price determination field (MBEW-MLAST).  Normally this field is required but because the conversion BAPI doesn't do as much validation as MM01 it was possible to create the record without a value.  The field is not open to input when I use MM02, and even though it appears to work, when I do MM17 mass change the field is also not updated.  Finally I tried transaction CKMM - Change Material Price Determination for Material Ledger but it required an entry in the Old Price Determination field and it won't let me enter blank. 
    We've since corrected the program but my problem is that I've converted about 5000 materials without a value in the field meaning the FI guys can't release cost estimates which is causing a bunch of problems for the testing that we want to do in this system.   We've taken about 3 weeks to do this conversion so going back and doing it again is a terrible option.  Does anybody know a way to get a value into this field other than what I've mentioned above (MM02, MM17, CKMM)?
    Suggestions please.

    have a look into OSS Note 1491364 - BAdI CKML_SET_VPRSV: Price determination cannot be changed

Maybe you are looking for