Immediate help required with decode statement in scheduling jobs

Hi
Iam trying to change a job that runs my procedure using dbms_job.. Here is the output I got.
Can someone help me why this is giving me errors.
<code>
SQL> exec dbms_job.next_date(395,decode(sign(substr(to_char(sysdate,'dd/mm/yy hh24:mi'),10,2)-17),-1,'trunc(sysdate) +18.5/24',1,'trunc(sysdate)+1+6.5/24'));
BEGIN dbms_job.next_date(395,decode(sign(substr(to_char(sysdate,'dd/mm/yy hh24:mi'),10,2)-17),-1,'trunc(sysdate) +18.5/24',1,'trunc(sysdate)+1+6.5/24')); END;
ERROR at line 1:
ORA-06550: line 1, column 30:
PLS-00204: function or pseudo-column 'DECODE' may be used inside a SQL
statement only
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
</code>
Thanks in advance

A possible solution:
declare
v_next_varchar varchar2(30);
v_next_date date;
begin
select decode(sign(substr(to_char(sysdate,'dd/mm/yy hh24:mi'),10,2)-17),
                          -1,'trunc(sysdate) +18.5/24',
                             1,'trunc(sysdate) +1+6.5/24'
into v_next_varchar
from dual;
execute immediate 'select ' || v_next_varchar || ' from dual ' into v_next_date;
dbms_job.next_date(22, v_next_date);
commit;
end;Bye, Aron

Similar Messages

  • Immediate help required with this job scheduling scenario

    I have a job that needs to run a procedure hourly but not between 6:00 AM to 8:00 AM and 6:00 PM to 8:00 PM.
    Can anyone help me with how to schedule this job.

    If you use a window the job would only execute if the window opens. If for some reason the window did not open then the job would not execute.
    Windows should be used to specify which resource plan should be active for the time interval.
    In this case you are better off using FREQ=DAILY; BYHOUR=; and specify the hours.

  • Immediate help required with this update statement

    update holds set area = (select newarea from stagesteps)
    where holds.stage= stagesteps.stagename and holds.step = stagesteps.STEPNAME and holds.area is not null
    When I do this, it says stagesteps.stepame is an invalid name..
    Any helps on this highly appreciated.. btw Advance thanx for your help.

    update holds h
       set area = (select ss.newarea
                     from stagesteps ss
                    where ss.stagename = h.stage
                      and ss.stepname = h.step)
    where area is not null
       and exists (select null
                     from ss.newarea
                     from stagesteps ss
                    where ss.stagename = h.stage
                      and ss.stepname = h.step);You can leave off the EXISTS clause if there will be a guaranteed matching row in stagesteps for each row in holds, or if you don't care if area is set to null if there is no match.

  • Basic Help needed with Hyperion 9.3 Scheduling jobs

    Hi!
    Is there anyone who would be willing to help a novice understand the Scheduling features in Hyperion 9.3? We are converting from Brio 6.6 where we used the "Broadcast Server". We don't yet have many jobs - so I'm not migrating them. But, the documentation with Hyperion is not helping me really understand how to set a job to actually do anything. I don't yet know how to add cycles and direct specific output to specific places. The jobs "run" and I've created events ...
    If you would have some time to talk me through the process, I would be very grateful.
    Jeanne Loehnis
    [email protected]
    920-832-6613

    I agree about the documentation. It's not always easy to understand how to do something if your situation doesn't exactly match the examples. I had to use a lot of trial and error to finally get some jobs running.
    The first misunderstanding I had was that if I want to schedule a document, I have to import my .bqy file as a job from the filesystem. You can't take an Interactive Reporting document from Workspace and use it as the basis of a job. So if you're using the web-based client and working on documents stored in Workspace you have to export the document to your filesystem and then import it as a job. You're probably beyond that point.
    The second misunderstanding (and I wonder if this is your problem) is that you must set the job to allow users to create their own cycles for it. If you don't you're stuck with the default cycle set, and you cannot change it. This is where the documentation falls short -- it mentions the attribute, but doesn't go far enough to tell you what happens if you don't check it off -- that even you, as the owner-and-most-likely-also-administrator won't even be able to maninpulate the cycles. What's more, if you don't set this attribute on import, you can't set it later. There's no way to reach the dialog with Properties. I can't vouch for the Batch Scheduler, we don't license that (if it even applies). Maybe it's a bug, maybe I'm missing something, but this is the only way I can get the full functionality to work.
    You will find this attribute on Step 3 of the import dialog "Interactive Reporting Job Properties". Check the box labeled "Users running this job can define their own cycles and actions". Once you finish and schedule the job, you can go to Manage Job Schedules and modify the schedule properties. Go to the Select Job Parameters tab, and create or use an existing parameter set (using the Go button).
    This takes you to the Job Parameter dialog box, and that is where you set up your cycles and actions. You can set them up, save them as your own personal sets, or as public sets so your team can use them for other jobs. You should be able to make some headway here, the documentation becomes more useful again at this point.
    Hope this helps
    --Julie
    Julie Johnson
    University Computing
    Western Connecticut State University

  • Help required with (soundcard) connection / settings, thanks in advan

    Help required with connection / settings between a Creative Sound Blaster Audigy Platinum EX (soundcard) and a Creative DTT3500 Digital (5. speakers).
    The problem
    No sound from any of the speakers. (Exception can plug in headphones at front)
    Background
    My computer has been recently upgraded at my local computer shop and all programs re-installed (including driver update from Creative's website). However after reconnecting speakers and restoring the original settings I?m getting no sound from any of the speakers. I?ve followed all the available advice/instructions I can find on this website and manuals to no avail.
    Set-up
    Physical
    (Digital DIN) Speakers/decoder amplifier (DTT3500) connected to the (digital out) soundcard (Audigy Platinum EX) using minijack to DIN cable. (As per instruction manual)
    Software
    Creative Audio Consul ? setting as per instructions, however have tried variations in vain. (Note: above tabs there is a select device box with SB Audigy [A0000] in it ? only option. Just wondering what [A0000] means?)
    Your advice please. A simple step by step guide would be appreciated, many thanks in advance, Jon

    "My computer has been recently upgraded at my local computer shop and all programs re-installed (including driver update from Creative's website). "
    Do you have the original installation disk?
    If so, try installing THOSE drivers, ESPECIALLY if it worked before. Be sure to uninstall what is there now, first.
    Its natural for most people to want the 'latest' drivers for their hardware. However:
    After experiencing some difficulties with some CL 'updates' for certain products, I now avoid them UNLESS I am having a PROBLEM with the existing drivers.

  • Problem with DECODE statement while migrating forms to 6i

    Hi,
    I'm migrating a form from 5 to 6i. When I compiled the form, I got this error witha decode statement.
    The error is
    Error 307 at line 15 column 7
    too many declarations of "DECODE" match this call
    The trigger has this code:
    IF :PRUN_RECS_INSERTED = 'Y' THEN
          RETURN ;
       END IF ;
       INSERT INTO GJBPRUN
        ( GJBPRUN_JOB,
          GJBPRUN_ONE_UP_NO,
          GJBPRUN_NUMBER,
          GJBPRUN_ACTIVITY_DATE,
          GJBPRUN_VALUE )
       SELECT :KEYBLCK_JOB,
              :ONE_UP_NO,
               GJBPDFT_NUMBER,
               SYSDATE,
          DECODE(GJBPDFT_VALUE, 'SYSDATE',
                          DECODE(GJBPDEF_LENGTH,'11',TO_CHAR(SYSDATE,'DD-MON-YYYY'), SYSDATE),
                          GJBPDFT_VALUE)
       FROM   GJBPDFT G, GJBPDEFEdited by: Charan on Mar 16, 2011 9:15 AM

    Hi Charan
    i think it's all about using both CHARACTER and DATE values at the same time in a DECODE statment u should either use char or date datatype.
    DECODE compares expr to each search value one by one. If expr is equal to a search, then Oracle Database returns the corresponding result. If no match is found, then Oracle returns default. If default is omitted, then Oracle returns null.
    e.g.
    If expr and search are character data, then Oracle compares them using nonpadded comparison semantics.
    expr, search, and result can be any of the datatypes CHAR, VARCHAR2, NCHAR, or NVARCHAR2.
    The string returned is of VARCHAR2 datatype and is in the same character set as the first result parameter.
    for more pls have a look here
    Hope this helps,
    Regards,
    Abdetu...

  • Help required with Photoshop Elements 4.0 this has been installed on my new Toshiba laptop with windows 8.1 for some 18 months and operating well. Now it will not open, message pops up saying "attempt to access invalid address" then "application not respo

    Help required with Photoshop Elements 4.0 this has been installed on my new Toshiba laptop with windows 8.1 for some 18 months and operating well. Now it will not open, message pops up saying “attempt to access invalid address” then “application not responding” Suggestions how to access would be much appreciated. Tks. Stuart

    What is the size of your hard disk?  PSE 4 is a very old program and I suspect it is not able to access the entire hard disk on your machine.  Just a thought here.

  • Help require with installing Adobe Acrobat onto my Macbook Pro Retina.

    Help require with installing Adobe Acrobat onto my Macbook Pro Retina.
    I have successfully installed all of my creative cloud apps with the exception being acrobat.
    I cannot print from Indesign to PDF.
    I have unistalled, reinstalled and still no Adobe Acrobat.
    I now have to go back to Windows 8 and create the PDF's there.
    Any one know how to get around this issue?
    Thanks in advance
    Kelvin

    OSX has effectively killed the ability to print to pdf, (print to pdf eliminates most of the "Rich features" of current pdf).
    Export from InDesign, always, excpet for the 1% of the time where you know why print to pdf would produce a better result.

  • Problem with Decode statement

    Hi
    I am trying to achieve the following in my report:
    If an employee has a surname of . (dot) or a first name of . (dot), the report should not display a dot. An employee's name is made up of surname, first name and middle name which should all be concatenated together. To try to achieve this, I have the following statement in my report:
    decode(e.Surname, '.', ( LTRIM(RTRIM((INITCAP(e.FIRST_NAME)))||' '||INITCAP(e.MIDDLE_NAME)) ) ,
    e.FIRST_NAME, '.', ( LTRIM(RTRIM((INITCAP(e.Surname)))||' '||INITCAP(e.MIDDLE_NAME)) ) ,
    ( LTRIM(RTRIM((INITCAP(e.SURNAME )))||', '||INITCAP(e.FIRST_NAME)||' '||INITCAP(e.MIDDLE_NAME)) ) ) as emp_name
    FROM Employee e
    Problem: The above statement is only working for those employees with surname of . (dot). It's not working for first names of dot. How can I use the decode statement OR is there any other way of doing it without using the CASE statement?
    It seems my decode statement doesn't work with 2 different fields (surname, firstname) being tested within one decode statement.Thanks.

    Thank you so much InoL . I have used the ltrim with Replace but now have a new problem.
    Because I am joining Surname, First name and middle name together and put a comma after the Surname, the name now appears as follows:
    , Maria Ane (if Surname is a dot)
    Boiler, (if first name is a dot)
    I would like to get rid of a comma and only have comma when surname or first name does not have a dot, i.e. for those people with full names e.g. Blake, Anna Marie.
    InoL, how can I achieve this? Thanks.

  • Help required with URL class

    Hi,
    I am writing a small webcrawler in java.I am searching the webpage for a particular hyperlink(based ont he text).Can i get the text associated with the hyperlink using the URL class?.I am able to get the url the hyperlink is pointing to , but not the text displayed.
    For example..
    If there is a hyperlink on the word "Login" in a page. I want to fetch the text "Login".
    Any immediate help would be highly appreciated.
    Thanks!!

    do not need all the "hyperlinks" in the page but only the hyperlinks which
    match my text.. For ex:only the hyperlink with the word "Login" in my example..
    How do i do that?It took you a grand total of 7 minutes from the time I posted the suggestion until you posted your reply. You obviously didn't take any time to think about a possible solution on your own.
    If you can parse the link out of an HTML page do you think there might be a way to parse out the text related to that link? I'll let you read the API and try to figure out a solution. You learn by trying and making mistakes.
    You don't learn anything by asking people

  • Please help me with this statement

    Hi gurus, glad to be back!
    Please help me with this XML processing statement. The XMl I get is like this,
    <EnumerationValue description="Motor Carriers-Operate w/o Certificate or Permit"
    effectiveDate="1859-01-01">
              <Text>26</Text>
              <AssociatedValue type="SeverityLevelText" code="MSD">
                   <Text>Misdemeanor</Text>
              </AssociatedValue>
              <AssociatedValue type="SeverityLevelText" code="PMD">
                   <Text>Petty Misdemeanor</Text>
              </AssociatedValue>
              <AssociatedValue type="StatuteOrdinanceRuleCite">
                   <Text>221.291.4</Text>
              </AssociatedValue>
    I need to get the number value from <Text>26</Text>, the attribute description and the text value of <Text>221.291.4</Text> inside one of those AssociatedValue node. The following is what I have, though I get the 26, I do not get the description and I get the Misdemeanor, Petty Misdemeanor concatenated with the text value of <Text>221.291.4</Text>. The output I get is this,
    26
    MisdemeanorPetty Misdemeanor221.291.4MisdemeanorPe
    4
    MisdemeanorPetty Misdemeanor221.291.4MisdemeanorPe
    My Code:
    declare
         v_xml sys.xmltype;
         v_sid     number;
         v_SText     varchar2(50);
    begin
         v_xml := sys.xmltype('<SimpleTypeCompanion>
              <EnumerationValue description="Motor Carriers-Operate w/o Certificate or Permit" effectiveDate="1859-01-01">
              <Text>26</Text>
              <AssociatedValue type="SeverityLevelText" code="MSD">
                   <Text>Misdemeanor</Text>
              </AssociatedValue>
              <AssociatedValue type="SeverityLevelText" code="PMD">
                   <Text>Petty Misdemeanor</Text>
              </AssociatedValue>
              <AssociatedValue type="StatuteOrdinanceRuleCite">
                   <Text>221.291.4</Text>
              </AssociatedValue>
         </EnumerationValue>
         <EnumerationValue description="Police Communication Equipment-Possession, Use-First Offense-M" effectiveDate="1859-01-01">
         <Text>4</Text>
         <AssociatedValue type="SeverityLevelText" code="MSD">
              <Text>Misdemeanor</Text>
         </AssociatedValue>
         <AssociatedValue type="SeverityLevelText" code="PMD">
              <Text>Petty Misdemeanor</Text>
         </AssociatedValue>
         <AssociatedValue type="StatuteOrdinanceRuleCite">
              <Text>299C.37.1(b)</Text>
         </AssociatedValue>
         </EnumerationValue>
         </SimpleTypeCompanion>');
         ---dbms_output.put_line(v_xml.getStringVal());
         declare
              cursor c_statutes is
              select ms.* from
              xmltable('for $s in /SimpleTypeCompanion/EnumerationValue/Text
                   let $sa := /SimpleTypeCompanion/EnumerationValue/AssociatedValue
                   let $sd := /SimpleTypeCompanion/EnumerationValue/@description
                   where $sa/@type = "StatuteOrdinanceRuleCite"
                   return
                        <MyStatutes>
                             <TextID>{$s}</TextID>
                             <SDesc>{$sd/@description}</SDesc>
                             <StatuteNumber>{$sa/Text}</StatuteNumber>
                        </MyStatutes>'
                   passing v_xml
                   columns
                   myTextID     number path '/MyStatutes/TextID',
                   mySDesc          varchar2(150) path '/MyStatutes/SDesc',     
                   myStatute     varchar2(50)     path '/MyStatutes/StatuteNumber'
              ) ms;
         begin
              for v_s in c_statutes loop
                   dbms_output.put_line(v_s.myTextID);
                   dbms_output.put_line(v_s.MySDesc);
                   dbms_output.put_line(v_s.myStatute);
              end loop;
         end;
    end;
    Please show me the correct way to get the result I want.
    Thanks a lot!
    Ben

    SQL>  var xmltext varchar2(4000)
    SQL> --
    SQL> begin
      2    :xmltext :=
      3  '<SimpleTypeCompanion>
      4     <EnumerationValue description="Motor Carriers-Operate w/o Certificate or Permit" effectiveDate="1859-01-01">
      5             <Text>26</Text>
      6             <AssociatedValue type="SeverityLevelText" code="MSD">
      7                     <Text>Misdemeanor</Text>
      8             </AssociatedValue>
      9             <AssociatedValue type="SeverityLevelText" code="PMD">
    10                     <Text>Petty Misdemeanor</Text>
    11             </AssociatedValue>
    12             <AssociatedValue type="StatuteOrdinanceRuleCite">
    13                     <Text>221.291.4</Text>
    14             </AssociatedValue>
    15     </EnumerationValue>
    16     <EnumerationValue description="Police Communication Equipment-Possession, Use-First Offense-M" effectiveDate="1859-01-01">
    17             <Text>4</Text>
    18             <AssociatedValue type="SeverityLevelText" code="MSD">
    19                     <Text>Misdemeanor</Text>
    20             </AssociatedValue>
    21             <AssociatedValue type="SeverityLevelText" code="PMD">
    22                     <Text>Petty Misdemeanor</Text>
    23             </AssociatedValue>
    24             <AssociatedValue type="StatuteOrdinanceRuleCite">
    25                     <Text>299C.37.1(b)</Text>
    26             </AssociatedValue>
    27     </EnumerationValue>
    28  </SimpleTypeCompanion>';
    29  end;
    30  /
    PL/SQL procedure successfully completed.
    SQL> set lines 150
    SQL> --
    SQL> select ms.*
      2    from xmltable
      3         (
      4           '/SimpleTypeCompanion/EnumerationValue'
      5           passing xmltype(:xmltext)
      6           columns
      7           DESCRIPTION            varchar2(32) path '@description',
      8           STATUTE_ID             number(2) path 'Text/text()',
      9           STATUTE_RULE_CITE      varchar2(16) path 'AssociatedValue[@type="StatuteOrdinanceRuleCite"]/Text/text()',
    10           MSD_TEXT               varchar2(10) path 'AssociatedValue[@code="MSD"]/Text/text()',
    11           PMD_TEXT               varchar2(10) path 'AssociatedValue[@code="PMD"]/Text/text()'
    12        ) ms
    13  /
    DESCRIPTION                      STATUTE_ID STATUTE_RULE_CIT MSD_TEXT   PMD_TEXT
    Motor Carriers-Operate w/o Certi         26 221.291.4        Misdemeano Petty Misd
    Police Communication Equipment-P          4 299C.37.1(b)     Misdemeano Petty Misd
    SQL>
    SQL>

  • Help required with Select statment..... ASAP pls

    HI All,
    Let me desc my table first .
    01                             NOT NULL VARCHAR2(5)                                                                                                                                                                                  
    02                             NOT NULL VARCHAR2(5)                                                                                                                                                                                  
    03                             NOT NULL VARCHAR2(5)                                                                                                                                                                                  
    04                             NOT NULL VARCHAR2(5)
    31                                                    This is how table has been created(Note:not by me)
    select name from  od_shift  where year=2011 and month='Feb' and  "02"='W"{code}-->no doubt this is working fine
    My problem is ...here rather putting the number directly ("01","02","03"....."31") 
    I need to take it from the first two digits of date('01-feb-2011') 
    like {code}
      select name from  od_shift  where year=2011 and month='Feb' and  to_char(to_date('01-feb-2011','dd-mon-yyyy'),'dd')='W" but this is not working
    kindly help me with this .
    Edited by: Basva on Mar 8, 2011 4:53 AM

    Pleiadian wrote:
    You could do a case statement. It's not elegant, but it works
    Edit: smon's solution is better if pl/sql is an optionI disagree, it's quite elegant given the cirumstances of that sick table. And it definitely beats a dynamic SQL solution.
    @Basva - when will you realize that your table is no good, and needs to be normalized into a more traditional relational table?
    Regards
    Peter

  • Help required with User exit logic

    Hi gurus,
    Please help me with the logic I wrote for the user exit for a PP Work Center View extract structure. Here is the details of the add on fields: VGW01, VGW02, VGW03, STEUS(from table PLPO); DataSource: 2LIS_04_P_ARBPL,
    data: l_s_pp1 like MC04P_0ARB(extract structure of 2LIS_04_P_ARBPL),
    l_tabix like sy-tabix,
    lv_VGW01 like PLPO-VGW01.
    lv_VGW02 like PLPO-VGW02.
    lv_VGW03 like PLPO-VGW03.
    lv_STEUS like PLPO-STEUS.
    tables : PLPO.
    case i_datasource.
    when '2LIS_04_P_ARBPL'.
    loop at c_t_data into l_s_pp1.
    select single vgw01into lv_vgw01
    from PLPO
    where field = l_s_pp1-field.
    if sy-subrc = 0.
    l_s_pp-zzvgw01 = lv_vgw01.
    l_s_pp-zzvgw02 = lv_vgw02.
    l_s_pp-zzvgw03 = lv_vgw03.
    l_s_pp-zzsteus  = lv_steus.
    endif.
    modify c_t_data from l_s_pp1 index l_tabix.
    endloop.
    Any additional comments welcome. Thanks in advance.

    Hi,
    Try coding as per the below code
    case i_datasource.
      When '2LIS_04_P_ARBPL'.
      DATA: lt_data TYPE TABLE OF MC04P_0ARB.
      FIELD-SYMBOLS: <ls_data> TYPE MC04P_0ARB.
    Internal table for
      TYPES:
            BEGIN OF ty_tbl1,
                     lv_VGW01 TYPE PLPO-VGW01,
                     lv_VGW02 TYPE PLPO-VGW02,
                     lv_VGW03 TYPE PLPO-VGW03,
                     l_bmsch  TYPE XXXX-XXXX,
                     l_plnnr  TYPE XXXX-XXXX
                     l_datuv  TYPE XXXX-XXXX
                     l_aennr  TYPE XXXX-XXXX
                     l_plnkn  TYPE XXXX-XXXX
                     l_plnal  TYPE XXXX-XXXX
            END OF ty_tbl1.
      DATA:
             lt_tb1 type standard table of ty_tbq,
             ls_tb1 type ty_tb1.
      lt_data[] = c_t_data[].
    Read data into internal memory using jOins
      select aVGW01 aVGW02 aVGW02 aVGW02 bbmsch bplnnr bdatuv baennr bplnkn bplnal into into  CORRESPONDING FIELDS OF TABLE
      lt_tb1 from PLPO as a innerjoin XXXX as b where aXXXX=bXXXX.        
    use the internal table to get the data to the enhaced fileds
    LOOP AT lt_data ASSIGNING <ls_data>.
        read table lt_tb1 into ls_tb1
             with key XXXXX = <ls_data>-XXXX .
        if sy-subrc eq 0.
          <ls_data>-lV_VGW01 = ls_tb1-lv_VGW01,
          <ls_data>-lV_VGW02 = ls_tb1-lv_VGW02,
          <ls_data>-lV_VGW03 = ls_tb1-lv_VGW03,
          <ls_data>-bmsch    = ls_tb1-bmsch,
          <ls_data>-plnnr    = ls_tb1-plnnr,
          <ls_data>-datuv    = ls_tb1-datuv,
          <ls_data>-aennr    = ls_tb1-aennr,
          <ls_data>-plnkn    = ls_tb1-plnkn,
          <ls_data>-pln1l    = ls_tb1-plnal.
          MODIFY lt_data FROM <ls_data>.
        endif.
      ENDLOOP.
      REFRESH c_t_data.
      c_t_data[] = lt_data[].
    Note that the code is not written with the exact fields. Change the fields where necessary(also i have joined only 2 tables if needs to be joind form more than 2  table change the join statement accordingly).
    Thanks,
    Nagarjuna
    Edited by: Nagarjuna Reddy on Oct 20, 2011 3:39 AM

  • Help required with an image

    Hi all,
    I wonder if someone can help me with the following issue.
    If you see the attached image in the top left hand corner their is a square box which is a different shade to the rest of the header.
    I need to rectify this and blend it in with the rest on the header colour; however, I do not know how to do this and would appreciate some assistance in doing this.
    I'm a noobie to photoshop so any help is much appreciated.

    It seems you've copied another portion of the texture to overlay something you didn't want seen...
    As opposed to copy/paste of a rectangular region, this is almost a textbook use for Content Aware Fill, which should (assuming it works properly) match the pattern and blend the colors.
    Try selecting just the blemish or whatever you're trying to cover, then expand the selection a few pixels, then Edit - Fill - Content Aware.
    -Noel

  • Query- Personnel Cost Planning-Immediate Help required

    Hi,
    I have a query.
    I am trying to Assign Percentage to Cost Item ( Personnel cost Planning)- Bonus which is a dependent cost item to Direct Cost Item-Base Salary but when I run the
    T. Code:- PHCPADMN the Bonus Percentage is not getting reflected and if I run the report-Plan data it is not showing any calculation of percentage.
    Kindly any immediate help is highly appreciable as I need to resolve it ASAP.
    Regards,
    Happy

    Hi Soniya
    I think you should look into following links:
    help.sap.com/printdocu/core/Print46c/en/data/pdf/PACMCP/PACMCP.pdf
    help.sap.com/saphelp_46c/helpdata/en/fd/45a4f79d6411d189b60000e829fbbd/content.htm
    Thanks
    Yash

Maybe you are looking for