Need Assistance to write a procedure for the below requirements!!!

Hi Forum,
Could some body give me a hand in writing an oracle procedure to pull the results as per the below requirement
A JOBNUM is transfered from the first JSP page to second JSP page and based on that JOBNUM I have to write a procedure to populate the second page
I need to pull these feilds from the respective tables
QM_JOB_NUM, QM_JOB_STATUS from QMI which matches the value of the JOBNUM from the first JSPpage
QN_JOB_GPH_FILE, QN_COMMENTS from QNI where QM_JOB_NUM = QN_JOB_NUM
VM_NAME concertnate with VM_SURNAME from VMI where QM_PROFILE = VM_PROFILE
QF_NARRATIVE_1,QF_NARRATIVE_2,QF_NARRATIVE_3( if these feilds has any values in DB then only pull them, if not dont pull them.so, we need to put a IF condition) where QF_JOB_NUM = QM_JOb_NUM
JI_DESC from JII where QM_USER_STATUS = JII_STATUS _CODE
RR_NAME from RRI where QM_REP = RR_REP
and
a case condition to match the QM_JOB_STATUS to the string value ( LIVE, PENDING , CLOSED ) as the QM_JOB_STATUS stores in the database as the numerical values 1,2,3 and while displaying on to the web page I need to match to the correspond string value and display it
if ( QM_JOB_STATUS ) = 1 then print to the webform LIVE
if ( QM_JOB_STATUS ) = 2 then print to the webform PENDING
if ( QM_JOB_STATUS ) = 3 then print to the webform CLOSED
Thanks for your assistance.
Cheers,
Krishna.

First off, you need to turn the requirement into a sql statement. If I followed things correctly, that would be something like:
SELECT qmi.qm_job_num,
       DECODE(qmi.qm_job_status, 1, 'LIVE',
                                 2, 'PENDING',
                                 3, 'CLOSED') qm_job_status,
       qni.qn_job_gph_file,
       qni.qn_comments, vmi.vm_name||' '||vmi.vm_surname name,
       qfi.qf_narrative_1, qfi.qf_narrative_2, qfi.qf_narrative_3,
       jii.ji_desc, rri.rr_name
FROM qmi
   JOIN qni ON qmi.qm_job_num = qni.qn_job_num
   JOIN vmi ON qmi.qm_profile = vmi.vm_profile
   LEFT JOIN qfi ON qmi.qm_job_num = qfi.qf_job_num
   JOIN jii ON qmi.qm_user_status = jii.jii_status_code
   JOIN rri ON qmi.qm_rep = rri.rr_rep
WHERE  qmi.qm_job_num = p_jobnumP_jobnum in the query is the parameter you will pass to your stored proc.
Next, you need to decide how many rows will be returned for a particular job number. If there will be more than one row, then you will probably need to return a ref cursor. If there will be only one row, then you could return either a set of variables, one for each column in the resultset, or a record type with a field for each column.
If you are returning a ref cursor or a record type, then you probably want to build the stored proc as a function, if you are returning multiple variables, then you will need to build it as a procedure.
So, to return a ref cursor, the signature of the function would look something like:
CREATE FUNCTION get_page2 (p_jobnum IN qmi.qm_job_num%TYPE)
   RETURN sys_refcursor ASReturning a record type would be similar except that you would RETURN the record type you defined in the database.
To return several variables in a procedure, the signature would look something like:
CREATE PROCEDURE get_page2 (p_jobnum     IN  qmi.qm_job_num%TYPE,
                            p_status     OUT VARCHAR2,
                            p_gph_file   OUT VARCHAR2,
                            p_comment    OUT VARCHAR2,
                            p_name       OUT VARCHAR2,
                            p_narrative1 OUT VARCHAR2,
                            p_narrative2 OUT VARCHAR2,
                            p_narrative3 OUT VARCHAR2,
                            p_desc       OUT VARCHAR2,
                            p_rrname     OUT VARCHAR2) ASHTH
John

Similar Messages

  • Need to find a BAPI for the below requirement

    Hi All,
    Need to find a BAPI for the below requirement.
    We are assigning roles to users using SU01 T-Code and we are in the process of automating this and since we need a BAPI which can do this. Apart from assigning roles to users, SU01 T-code is doing many functionalities, but if we can get a BAPI which can perform assigning roles to users will suffice the requirement.
    Thanks in advance,
    Srilakshmi.

    Hi SreeLakshmi
    see the list of BAPIs given below.
    1065 Business Object Employee
    BAPI_JOBROLE_CLONE Create a User Role in Another System By Copying
    BAPI_BUPA_ROLES_GET SAP BP, BAPI: Determine All Roles
    BAPI_BUPA_ROLE_ADD SAP BP, BAPI: Add Role
    BAPI_BUPA_ROLE_EXISTENCE_CHECK SAP BP, BAPI: Check Existence of Role
    BAPI_BUPA_SET_ROLE SAP BP: Set Object Part / Roles
    BAPI_GET_EVENTTYPE_FOR_ROLE Determine Business Event Types Using Standard Role
    BAPI_EMPLOYEET_CHANGEPASSWORD Change employee password
    BAPI_EMPLOYEET_CHECKPASSWORD Check employee password
    BAPI_EMPLOYEET_CREATE_PW_REG Create entry for employee password
    BAPI_EMPLOYEET_DELETE_PW_REG Delete entry for employee password
    BAPI_EMPLOYEET_DEQUEUE Unlock employee
    BAPI_EMPLOYEET_ENQUEUE Lock employee
    BAPI_EMPLOYEET_GET_PW_REG Read entry for employee password
    BAPI_EMPLOYEET_INITPASSWORD Initialize employee password
    Reward if helpful
    Regards
    Lakshman

  • How to write selection Query for the following requirment.

    Hi All,
    I am new to ABAP, I need a help ,
    I need to select all plants(WERKS) from MARC at Plant/Material level,
    then I need to take all sales organozation(VKORG) from T001w,
    then I need the company code(BUKRS) from TVKO based on VKORG,
    then I need the currency key(WAERS) from T001 based on BUKRS,
    Can any one help me in writing selection Query for the same?
    Thanks All,
    Debrup.

    Hi,
    Its easy for you if you learn SELECT with JOIN to complete your task. So SEARCH the forum with SELECT statement and you will get a lot of examples using which you can write your own.
    If you struck up anywhere revert back.
    Regards
    Karthik D

  • Query needed for the below requirement

    Hi,
    I have three tables structures like below.
    tableA - LINE_ID, VENDOR_ID,DEAL_SITE_ID
    tableB - LINE_ID, DEAL_SITE_ID
    tableC - DEAL_ID,VERSION, DEAL_SITE_ID
    Now the requirement is I have to fetch all distinct VENDOR_ID from tableA with some given DEAL_ID (100001) and VERSION (1), only Problem is in tableA the rows which have LINE_ID will not have DEAL_SITE_ID and vice versa. I've used the below query for this purpose but wanted to know if there is any better solution.
    select distinct VENDOR_ID from tableA where deal_site_id in
    (select deal_site_id from tableC where deal_id = 100001 and snapshot_ver = 1)
    UNION
    select distinct VENDOR_ID from tableA where line_id in
    (select line_id from tableB where deal_site_id in
    (select deal_site_id from tableC where deal_id = 100001 and snapshot_ver = 1))
    Regards,
    Subhadeep
    Edited by: sumajumd on Jul 17, 2012 2:33 AM

    Try regular joins (assuming column version should be snapshot_ver).
    Like this (untested):
    select tablea.vendor_id
    from   tablea
      inner join tablec on (tablea.deal_site_id = tablec.deal_site_id)
    where  tablec.deal_id      = 100001
    and    tablec.snapshot_ver = 1
    union
    select tablea.vendor_id
    from   tablea
      inner join tableb on (tableb.line_id      = tablea.line_id)
      inner join tablec on (tableb.deal_site_id = tablec.deal_site_id)
    where  tablec.deal_id      = 100001
    and    tablec.snapshot_ver = 1

  • Shall u please build a query for the below requirement

    Existing:
    policy  endmt     type         CR      CCR
    101      0         CEED          10      4       
    101      1         CEED           2       6        
    101      2         NONCEED     1      14        
    101      3         CEED          11      3        
    101      4         CEED           6       1
    101      5         NONCEED     7       2
    101      6         NONCEED    10      3
    101      7         CEED           9       4Required Output:
    policy  endmt     type         CR      CCR  OUTPUT
    101      0         CEED          10      4         10
    101      1         CEED           2       6          6
    101      2         NONCEED     1      14         -2
    101      3         CEED          11      3          11
    101      4         CEED           6       1           1
    101      5         NONCEED     7       2          -6
    101      7         CEED           9       4           9Explanation:
    CASE1:For a policy if starting endorsement is 'CEED' then 'CR' Value should consider.
    CASE2:IF for the policy previous endorsement is 'CEED' and curent endorsement is 'CEED' then 'CCR' value
    CASE3: :IF for the policy previous endordement is 'CEED' and curent endorment is 'NONCEED' then
    Previous endorsement 'CR' *-1  value.
    CASE4::IF for the policy previous endordement is 'NONCEED' and curent endorment is 'NONCEED' then
    eliminate the current endorsement row
    CASE5:IF for the policy previous endorsement is 'NONCEED' and curent endorsement is 'CEED' then 'CR'
    Shall u please help in resolving it?
    Thanks
    Edited by: BluShadow on 15-Oct-2012 14:21
    added {noformat}{noformat} tags to help readability (though there's no helping poorly pasted data).  Please read {message:id=9360002} and learn to paste your code/data correctly.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    886380 wrote:
    Thanks ,but
    endorsement number may not be in sequence ,same endorsement number can repeat for a policy.
    Then that scenario it wont work.On what basis you will ORDE, if you have same endorsement number ?
    Something like this can be done (If you can find out some unique combination to ORDER. Here I am using "order by policy,endmt,type"
    SQL> WITH t AS
      2  (SELECT 101 policy, 0 endmt, 'CEED' type, 10 cr, 4 ccr FROM dual UNION
      3   SELECT 101 policy, 1 endmt, 'CEED' type, 2 cr, 6 ccr FROM dual UNION
      4   SELECT 101 policy, 2 endmt, 'NONCEED' type, 1 cr, 14 ccr FROM dual UNION
      5   SELECT 101 policy, 3 endmt, 'CEED' type, 11 cr, 3 ccr FROM dual UNION
      6   SELECT 101 policy, 4 endmt, 'CEED' type, 6 cr, 1 ccr FROM dual UNION
      7   SELECT 101 policy, 4 endmt, 'NONCEED' type, 7 cr, 2 ccr FROM dual UNION
      8   SELECT 101 policy, 6 endmt, 'NONCEED' type, 10 cr, 3 ccr FROM dual UNION
      9   SELECT 101 policy, 7 endmt, 'CEED' type, 9 cr, 4 ccr FROM dual)
    10  SELECT   t1.policy,
    11           t1.endmt,
    12           t1.cr,
    13           t1.ccr,
    14           CASE
    15           WHEN t1.type = 'CEED' THEN
    16             CASE
    17             WHEN t2.type = 'CEED' THEN t1.ccr
    18             ELSE t1.cr
    19             END
    20           WHEN t1.type = 'NONCEED' THEN
    21             CASE
    22             WHEN t2.type = 'CEED' THEN -t2.cr
    23             ELSE NULL
    24             END
    25           END output
    26  FROM     (select t.*,rownum rn
    27       from (select * from t order by   policy,endmt,type) t
    28           )
    29           t1 LEFT OUTER JOIN
    30     (select t.*,rownum rn
    31       from (select * from t order by   policy,endmt,type) t
    32           ) t2
    33           ON (t1.policy = t2.policy
    34               AND t1.rn -1 = t2.rn)
    35  WHERE   (t1.type = 'CEED'
    36  OR      (t1.type = 'NONCEED'
    37  AND      t2.type = 'CEED'))
    38  ORDER BY t1.policy,
    39           t1.endmt,t1.type;
        POLICY      ENDMT         CR        CCR     OUTPUT
           101          0         10          4         10
           101          1          2          6          6
           101          2          1         14         -2
           101          3         11          3         11
           101          4          6          1          1
           101          4          7          2         -6
           101          7          9          4          9
    7 rows selected.Edited by: jeneesh on Oct 17, 2012 12:10 PM

  • I need assistance. I signed up for The Novel Network and now Firefox will not allow me access. I'm a computer dolt and don't know what to do next

    Firefox will not allow me to access the area of this site to allow me
    to finish the process to download books.

    Thank you!
    Here are my answers, as best I know how to present them:
    1.  I can see a big red "f".  It's not flashing or moving or anything.  Does that count as animation?
         There is also an empty box with an X in the corner, as if a pop-up is blocked, or something.
    2.  I see 2 things under Adobe, called Adobe PDF Reader Link Helper and Adobe PDF Link Helper, both enabled.
    3.  I see Flash10m.ocx; FlashUtil10m_ActiveX; Get Flash; swflash; FlashInstall; FlashUtil10m_ActiveX.dll; and install.
    (#2 and #3 took me to places I'd never been before. ha ha)

  • Can any one suggest me a function module or BAPI for the below requirement.

    Hi all,
    I have a requirement in which i need to send an IDoc for each item of  the delivery document linked to the shipment document.
    previously i have called the function module in a BADI, but now the requirement has changed.No BADI or USEREXIT has to be used.Instead i need to create a custom program and call the function module in a form in the program.My doubt is how can i get the tables needed in the function module from the program? previously i got the tables as online parameters in the BADI.
    the function module will be trigerred at the time of saving of the document.
    I understand that i need to pass the tables in the program, but is there any way (function module or a BAPI) that can be used to directly get the data of the BADI?
    please help me as soon as possible.

    hi,
    my transaction is VL02N change outbound delivery.

  • Variable Exit Code for the below requirement, Pls Urgent

    I have a WorkDate and Finish Date coming in the cube. I have created 2 fields InfoObject High and InfoObject Low.
    1. The InfoObject High should output "Gigh" if the current date (or date entered into the selection criteria) is after the workdate and the finish date is blank. 
    2. The InfoObject Low should output "Low" if the Finish Date has a value and it's greater than the WorkDate.

    Hi Raj,
    In ver 3.5 this can be done using virtual logic in transaction CMOD.  Please note you will need to key your infoobject names below.
    You will need to implement the following code within ZXRSRZZZ.
    FORM USER_<i>cubetobesepecified</i>
    FORM USER_<i>cubetobespecified</i> USING I_S_RKB1D TYPE RSR_S_RKB1D
                        CHANGING C_S_DATA TYPE ANY.
      ASSIGN COMPONENT G_POS_<i>cube_dateobjectusedforuserinput</i>
        OF STRUCTURE C_S_DATA TO <l_datekeyed>.
      ASSIGN COMPONENT G_POS_<i>cube_intoobjecthigh</i>
        OF STRUCTURE C_S_DATA TO <l_highlow>.
      ASSIGN COMPONENT G_POS_<i>cube_workdateojbect</i>
      OF STRUCTURE C_S_DATA TO <l_workdat>.
      ASSIGN COMPONENT G_POS_<i>cube_finishdateobject</i>
      OF STRUCTURE C_S_DATA TO <l_finishdat>.
      IF <l_finishdate> IS INITIAL
        AND <l_datekeyed> > <l_workdat>.
        <l_highlow> = 'High'.
      ELSEIF NOT <l_finishdate> IS INITIAL
        AND <l_datekeyed> < <l_workdat>.
        <l_highlow> = 'Low'.
      ENDIF.
    ENDFORM.
    After this is complete you will need to implement the following code in ZXRSRU02.
        l_s_chanm-chanm = '<i>dateobjectusedforuserinput<i>'.
        l_s_chanm-mode = rrke_c_mode-read.
        append l_s_chanm to e_t_chanm.
      l_s_chanm-chanm = '<i> intoobjecthigh</i> '.
      l_s_chanm-mode = rrke_c_mode-no_selection.
      append l_s_chanm to e_t_chanm.
        l_s_chanm-chanm = '<i>workdateobject<i>'.
        l_s_chanm-mode = rrke_c_mode-read.
        append l_s_chanm to e_t_chanm.
        l_s_chanm-chanm = '<i>finishdateobject<i>'.
        l_s_chanm-mode = rrke_c_mode-read.
        append l_s_chanm to e_t_chanm.
    Lastly under your Global data declarations, you will need to implement this code.
    G_POS_<i>cube_dateobjectusedforuserinput</i>,
    G_POS_<i>cube_intoobjecthigh</i>,
    G_POS_<i>cube_workdateojbect</i>,
    G_POS_<i>cube_finishdateobject</i>.
    I hope this helps.
    Kind Regards,
    Larry

  • Pricing procedure for the calculation of VAT

    Dear all,
    We require one new tax structure.
    Assessable value + service tax & VAT for the sum of Assessable value + service tax.
    Kindly give us the pricing procedure for the above requirement.
    Regards
    Mahalingam sarathi

    >
    Mahalingam Sarathi wrote:
    > Dear all,
    >
    > We require one new tax structure.
    >
    > Assessable value + service tax & VAT for the sum of Assessable value + service tax.
    >
    > Kindly give us the pricing procedure for the above requirement.
    >
    > Regards
    >
    > Mahalingam sarathi
    Let me try to fit in this requirement for you (with a small demonstration, you will also have to use the appropriate accounting keys)
    400           assessable value  350 390 
    410 JSRT  Service tax            400
    420 JEC3  ECEss on Srv tax   410
    430 JSE3  Secess on SrvTax 410
    440           ***. val + Srv Tax 400  430
    450 JIVP   VAT                        440

  • Need procedure for the function

    Hi
    Can any one create a procedure
    for the following
    Following is a function i need a procedure
    which basically Converts the values in the a Column to no of rows
    Example : Column Name: USA; Canada; Japan;
    in to 3 rows : USA
    Canada
    Japan
    create
    or replace function f_get_row_vals(V_column_value VARCHAR2)
    return T_LIST_OF_VALS PIPELINED
    as
    n_str_length NUMBER := 0;
    N_START_CHAR NUMBER := 1;
    N_END_CHAR NUMBER := 0;
    n_counter NUMBER := 1;
    v_value VARCHAR2(50) := NULL;
    begin
    IF V_column_value IS NULL
    THEN
    RETURN;
    END IF;
    n_str_length := LENGTH(V_column_value);
    LOOP
    N_END_CHAR := INSTR(V_column_value,';',1,n_counter);
    IF N_END_CHAR = 0
    THEN
    v_value := SUBSTR(V_column_value, N_START_CHAR, n_str_length - N_START_CHAR + 1);
    ELSE
    v_value := SUBSTR(V_column_value, N_START_CHAR, N_END_CHAR-N_START_CHAR);
    END IF;
    n_counter := n_counter + 1;
    N_START_CHAR := N_END_CHAR + 1;
    pipe row(v_value);
    EXIT WHEN N_END_CHAR = 0 ;
    END LOOP;
    RETURN;
    END;
    Thanks

    This is the procedure they are using previously.
    This procedure is calling the above function. I need like this
    CREATE
    OR REPLACE PROCEDURE P_EXPAND_USER_ACCESS_REV_MART
    IS
    rec_ODS_USER_ACCESS_REV_MART ODS.ODS_USER_ACCESS_REV_MART%ROWTYPE;
    CURSOR c_getrows
    IS
    select * from ODS.ODS_USER_ACCESS_REV_MART;
    BEGIN
    OPEN c_getrows;
    LOOP
    FETCH c_getrows INTO rec_ODS_USER_ACCESS_REV_MART;
    EXIT WHEN c_getrows%NOTFOUND;
    DBMS_OUTPUT.put_line(rec_ODS_USER_ACCESS_REV_MART.wwfo_area);
    DBMS_OUTPUT.put_line(rec_ODS_USER_ACCESS_REV_MART.soln_division);
    INSERT INTO DW_USER_ACCESS_REV_MART
    user_id,
    wwfo_area,
    soln_division
    SELECT rec_ODS_USER_ACCESS_REV_MART.user_id,
    area_tab.column_vaLue,
    soln_tab.column_value
    FROM TABLE(CAST(f_get_row_vals(rec_ODS_USER_ACCESS_REV_MART.wwfo_area)AS T_LIST_OF_VALS) ) area_tab,
    TABLE(CAST(f_get_row_vals(rec_ODS_USER_ACCESS_REV_MART.soln_division)AS T_LIST_OF_VALS)) soln_tab
    END LOOP;
    CLOSE c_getrows;
    COMMIT;
    END;

  • I need to find a working file for the Adobe Download assistant?

    i need to find a working file for the Adobe Download assistant?

    I was going to recommend Brother becasue they held OS9 support longer than just about anyone, but their current printers are now supported back to Mac OS10.3 to 10.4, depending on printer model.
    If you can do with a b/w laser, the recently discontinued HL5250DN is very nice and OS9 drivers are still up on Brother support site (just checked). We have that model networked at home and its happily serving five Macs plus any visitors who bring their own computer.
    This printer has been absolutely reliable and trouble-free. It has both USB and ethernet connectivity (I prefer the latter), does duplex (two-sided) printing, and 1200 dpi res. If you Google the model HL5250DN, you should turn up some of the model still in stock someplace.
    If you need color, I'm at a loss for a recommendation there.

  • Need clarification to write transformation routine for my requirement

    Hi all,
    I have a requirement as mentioned below...
    I have a keyfigure amount which will hold the amount value..now i have been asked to add amount_2000 key figure...it has been done..
    But the real problem is that
    They will give a filter value in DTP selection for the field "area".
    now if they give area as 1000 then the amount field should populat with the respective amount value
    but whereas amount_2000 should populate with only the amount of the area 2000 irrespective of the filter condition given...
    i need to write the routine in the transformation...But the problem is that when we give the filter value in DTP i coudnt get value for amount_2000 as only it gets the value for 1000.
    I hope the requirement is clear...
    can any one help me in this.
    Thanks & Regards,
    Hari.

    Write a routine for the InfoObject amount_2000.
    Use amount and area as source fields.
    Now the coding should look like:
    IF source_fields-area = '2000'.
      RESULT = source_fields-amount.
    ELSE.
      RESULT = 0.
    ENDIF.
    This is independent of the filter values in the DTP.
    Best regards
    Dirk

  • If I need to buy 15 Final Cut for the university.

    If I need to buy 15 Final Cut for the university. Do I have to do all the process 15 times?

    Disclaimer - For me the Apple Support Communities are an international user to user technical support forum. As a man from Mexico my first language is Spanish. I do not speak English, however I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture very different from that found in most 1st world nations, such as that in the two dominant North American countries. Written language has no tone. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    Final Cut Pro is an app for Macs and not an iOS app for an iPhone or iPad. You will need the link for Apple software volume licensing for education. That information and the phone number to call is available on this webpage;
    http://www.apple.com/mac/volume-licensing/

  • My ipod won't show up on my computer. I have another ipod touch, that works fine. What should I do? Do I need a different ipo usb cord for the nano?

    my ipod won't show up on my computer. I have another ipod touch, that works fine. What should I do? Do I need a different ipo usb cord for the nano?

    iTunes never displays the iPod in the left pane?
    iTunes is shipped with a "helper application" called the "iPod Service" that runs and is used by iTunes to communicate with the iPod device. This service may be disabled.
    If your system is Microsoft Windows XP and you are logged in as an Administrator:
    1. Quit iTunes and, if your iPod is currently connected to your computer, safely remove it using the system tray application to manage removable devices.
    2. Right click on "My Computer"
    3. Select "Manage"
    4. In the "Computer Management" window, left pane (tree view), follow this path:
    +Computer Management (local) > Services and Applications > Services+.
    5. In the right pane, scroll down to "iPod Service" and double click it.
    6. If the service is listed as "Disabled" and "Stopped," change to "Manual" and "Start" it. ("Manual" will cause it to start when iTunes starts and "Start" starts the service right now.)
    7. Close "Computer Management"
    8. Restart iTunes and wait for it to completely come up.
    9. Reconnect your iPod.
    Does your iPod show up in iTunes?

  • 2 pricing procedures for the same sales area

    Hi Gurus.,
                  My client requirement is the client requires 2 pricing procedures for the combination of Same sales areaDEocument Pricing procedurecustomer pricing procedure in OVKK
    He doesnt want to use new sales area or new document pricing procedure or new customer pricing procedure,I know that in standard SAP it is not possible.
    Can any of the gurus throw some light on this.Some work around is required here,So can u please say the required changes in Standard functionality.
    Thanks & Regards
    Narayana
    Message was edited by:
            manam narayana
    Message was edited by:
            manam narayana
    Message was edited by:
            manam narayana

    Hi Gurus.,
                   First of all thank you very much for giving me so tremendous response, But my client requirement is,
                  He has one customer and for that customer when raising an order ,for some orders Tax shouldnot caliculate and for some orders Tax should be caliculated,
            For example :  If he gives price 100,Then the base price should be 100,For some orders he  gives price as 130 rs which is inclusive of tax like 110 should be the base price and 20 rs tax should get caliculated
               So i have tried in the pricing procedures and we have standard pricing procedure RVAA01 & RVAB01 ,In which RVAB01 is the price inclusive of tax procedure,We can assighn different pricing procedures if any of the combination in OVKK is changed,But he dont want to change the combination in OVKK.
            So client asks now when he raise an order he decides how the price should be caliculated, i.e the price may be he give price or price inclusive tax,of which the pricing procedure should automatically split the tax and price accordingly,He is asking in the way like when we raise a sales order we should do like a pop up box should appear asking which pricing procedure should be selected,So on selecting the pricing procedure the order should caliculate based on the selected pricing procedure
    Thanks & Regards
    Narayana

Maybe you are looking for