Trigger "Partial Refresh" from custom javascript

Hi All,
I have a requirement where, I have two components
One Output text which loads the text from a bean.
One Button when clicked the "output text" above has to be refresehed.
I understand that using partial trigger I can achive this. But the twist here is , The Button has to trigger some custom javascript for validation. If the validation is successfull only then the Output text must be refreshed.
So I need to invoke the "Partial Refresh" from my custom javascript.
Could some one throw some light on this, how we can achieve this.
I am using JDev 11.1.1.3.

You can try using the javascript ADF API http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e12046/oracle/adf/view/js/base/AdfPage.html
AdfPage has a method addPartialTarget(...) which should you the trick.
Timo

Similar Messages

  • PCA-Partial payment from customer profit center split

    Dear all,
    Problems encountered.
    1) Partial payment from customer whereby the profit center not split accordance to the reference invoice.
    Eg. Received incoming invoice.
    Dr. Customer            RM1000
      Cr. Revenue  (PC:1000)         RM300
      Cr. Revenue  (PC:2000)         RM700
    After running Tcode: F.5D (Display the doc. goto Environment--->Balance Sheet Adjustmt)
    Dr. Customer   (PC:1000)         RM300
    Dr. Customer   (PC:2000)         RM700
      Cr. Revenue     (PC:1000)                 RM300
      Cr. Revenue     (PC:2000)                 RM700
    Received incoming partial payment RM100 with reference to the above document, the result as follows after running Tcode F.5D
    (Display the doc. goto Environment--->Balance Sheet Adjustmt)
    Dr.  Bank     (PC:Dummy)       RM100
      Cr.  Customer   (PC:Dummy)   RM100  (As per SAP Help EC-PCA Example: Direct Revenue Posting in FI, Partial payments are distributed according to the original receivable i.e. RM30 to PC1000 & RM70 to PC2000)
    Additional configuration made:
    Bank Account is in 3KEH table with default PC:1460
    2) Run Tcode F.5D for the second time in the same month, the result of the payment as follows:
    (Display the doc. goto Environment--->Balance Sheet Adjustmt)
    Dr.  Bank     (PC:1460)       RM100
      Cr.  Customer   (PC:1460)   RM100 
    Questions:
    1) Why partial payments are not distributed according to the original receivables?
    2) Why the Profit center change to the default PC1460 for the second run? Why such inconsistency happened?
    Anyone can answer the above quesstions?
    Thanks & regards,
    -Alice-

    Hi Alice,
    Check if you are actually using the tab 'Partial payment' while posting payment to the customer. If you are doing so and activating some invoice, then your customer payment credit line should have 'ivoice reference' field activated. Pl. check this. If this is activated, SAP will get the profit center from original invoice at the time of F.5D. But if you are just posting payment to customer account unapplied (without selecting any particular invoice), SAP can not get profit center from invoice and it will get profit center from the Bank account which is happening in your case.
    Hope this helps. We also have similar situation in case of unapplied payments which go to Dummy profit center. I am considering following options:
    1) To enter correct profit center in bank account where ever possible
    or
    2) To post a correction entry in PCA at month end to transfer receivables from dummy to other profit centers on some basis and reverse this entry next month.
    How are you handling this dummy profit center situation?
    Thanks,
    Pinky

  • How to trigger a refresh from SAP

    I have setup a web dynpro to display information from a function module in SAP. The function module executes abap programs in the backend SAP system and returns a result to a table in SAP. The information in this table is read by the function model that is bound to the web dynpro. I would like to know whether it is possible to trigger a refresh of the information displayed by the web dynpro once the abap in SAP has finished running. How do I go about implementing this in Developer Studio?
    Thanks
    Seb

    Hi Seb,
    the only solution is to use the TimedTriggerUI to get your browser doing a refresh. Even if you would have a thread running which polls yours backend, the server has no possibility to send this to your http client (browser).
    With the timed trigger your browser refreshes (connects) in intervals to the java app server. This events can be used to poll changes.
    Best regards,
    Christian

  • To trigger ADOBE form from Custom Infotype

    hello,
    I hae create d ADOBE form and want to trigger it on "Save" record from Custom Infotype....
    I need this form to be displied as User my do some changes and save it again...
    I have used following code to trigger this from module pool...
    Data : lv_fm_name type rs38l_fnam.
    Data : gs_sfpoutputparams type SFPOUTPUTPARAMS,
           gs_sfpdocparams TYPE sfpdocparams,
           gs_formoutput TYPE fpformoutput.
    Set output parameters and open spool job
      gs_sfpoutputparams-nodialog = 'X'. " suppress printer dialog popup
      gs_sfpoutputparams-GETPDF = 'X'. " launch print preview
      call function 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = gs_sfpoutputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          others          = 5.
    First get name of the generated function module
      call function 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = 'Z_ISR_FORM_Z017'
        IMPORTING
          e_funcname = lv_fm_name.
       EXCEPTION
       CX_FP_API_REPOSITORY = 1
       CX_FP_API_USAGE      = 2
       CX_FP_API_INTERNAL   = 3.
    Set form language and country (->form locale)
      gs_sfpdocparams-langu = 'E'.
    gs_sfpdocparams-country = SY-LANGU.
      gs_sfpdocparams-FILLABLE = 'X'.
    Now call the generated function module
      call function lv_fm_name
        EXPORTING
          /1bcdwb/docparams  = gs_sfpdocparams
       IMPORTING
         /1BCDWB/FORMOUTPUT = gs_formoutput
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          others             = 4.
    Close spool job
      call function 'FP_JOB_CLOSE'
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          others         = 4.
    But still I'm unable to get form on "Save"..
    Please help me.
    Regards,
    Yogesh

    Hi Yogesh,
       Just to test ... can you place your code in a report and call the report with submit ... return in your module pool? For the data tables in the interface, you may export them and import them.. this will ensure that everything is good with your code and the place where you call the code from. I believe the issue is Module Pool rather than anything else. But that's just a doubt and we need to do this to confirm it.
    Best Regards,
    Abd-Al-Aleem

  • Run a Business Rule from Custom Javascript

    Hi,
    I would like to know whether it is possible to call a business rule from the custom javascript, ValidateData.jsp. If it is ok, any simple example?
    Thanks

    I'd say try running individual rules from Planning and see if they fail individually.
    If that works, then start by adding one rule in the sequence and try running it.
    Try finding out if the issue is specific to the sequence or if a new sequence with a rule that you know runs from Planning.
    When you say there's nothing in the Application log, somehow seems the rule isn't hitting Essbase at all. The error comes before that.
    Cheers,
    Abhishek

  • Partial Refresh from column link

    Hello,
    I am working on a page with two classic reports.
    Report A is always displayed and has a column link which sets item Z with a value from a column in report A and then redirects the page to itself.
    Report B uses item Z in his where clause and is only shown when Z is filled. This all works fine.
    However I want to use Partial Page Refresh to only reload Report B instead of the whole page.
    Because report A is a heavy report it can't and it won't get lighter.
    So my question is how does this partial page refresh stuff work and does it improve preformance?
    I think it would help if Ii don't have to load report A everytime I reload Report B.
    I have found this:
    Link
    But it uses a selectlist and I use a hidden item and a column link. The column link does not set session state so it won't work...
    Hope someone could help me out.

    Robert Hantink
    Robert Hantink wrote:
    Yes, thank you that was what i was looking for!!!
    2. Report B is only shown when item Z is filled. But we use javascript:$S('Z',#column#) tot set is and thus the condition stays false.Report B has to be rendered on page load.
    Play with the show and hide dynamic action to show report B to the user at the appropriate time.
    Use CSS to hide the report on page load. Using the hide dynamic action will show the report before the dynamic action is fired. Causing a slight flicker.
    As for
    1. The title of the region is based on the value of item Z. Now that the session state is not updated and &Z. remains null it show null.You'll need some javascript for that. I have seen a forum post before of someone doing used that. So have a look around
    Nicolette

  • Handling Custom JavaScript Events from HtmlLoader Class

    Hey guys, just a quick question, Is it possible to handle custom javascript events just the way standard events like locationchange and DOMInitialized are handled. Say for example a HTML5 slide application that dispatches custom events when the user moves from one slide to another. I know there is an option to use ExternalInterface to talk to AS3 but for this project of mine, this is not an oiption as this HTML5 Presentation doesnt have any swf content to bridge with.
    Its just a thought since the HTMLloader has access to the javascript window object(or am i wrong). Would it be possible to access a custom function as a prototyped property of the window Object.
    Any form of tip/clarification will be appreciated.
    thanks!

    Use the HTMLHost class. You create a subclass of HTMLHost and override certain methods that are called in response to certain JavaScript behaviors. Then you assign an instance of your HTMLHost to the HTMLLoader's htmlHost property. (Since you're using the Flex HTML component, you would assign your HTMLHost subclass instance to the HTML control's htmlHost property.)

  • How to do a partial refresh of a form and report on the same page?

    Hi all,
    im trying to make a page where you have a report on top and when you click the link instead going to the form page, the form page is on the bottom of the report. lets say im trying to send an id from the report to the item below so that i could fetch the rest of the item. however when i pass,other items would still refer to this one as null.
    if im not mistaken this could be done with submit,but i want it to be partial refresh..
    i tried steps here but this only worked when the lower part is a also a report:
    https://forums.oracle.com/thread/2345863
    i also tried this,but this actually submits a page..
    Grassroots Oracle: Apex Tutorial - Form & Report sharing the same page
    would it be possible to get a form and report in one page as partial refresh?
    Message was edited by: T101_cyberdyne

    If so, you need to create a dynamic action with a javascript action to set the id of the report row in the id form field, and a subsequent pl/sql action to fetch the record based on the id. You can use this record to set the other form field items.
    For the example in the above link the code looks as follows.
    the javascript action:
    var empno = $(this.triggeringElement).find('td[headers="EMPNO"]').text()
    $s('P26_EMPNO',empno)
    the PL/SQL action:
    declare
    cursor c_emp is
    select * from emp
    where empno = :p26_EMPNO;
    BEGIN
    for r_emp in c_emp loop
      APEX_UTIL.SET_SESSION_STATE('P26_ENAME',r_emp.ename);
      APEX_UTIL.SET_SESSION_STATE('P26_JOB',r_emp.job);
      APEX_UTIL.SET_SESSION_STATE('P26_MGR',r_emp.mgr);
      APEX_UTIL.SET_SESSION_STATE('P26_HIREDATE',to_char(r_emp.hiredate,'dd-mon-yyyy'));
      APEX_UTIL.SET_SESSION_STATE('P26_SAL',r_emp.sal);
      APEX_UTIL.SET_SESSION_STATE('P26_COMM',r_emp.comm);
      APEX_UTIL.SET_SESSION_STATE('P26_DEPTNO',r_emp.deptno);
      APEX_UTIL.SET_SESSION_STATE('P26_ORDNO',r_emp.ordno);
    end loop;
    END;
    Hi Vincent,
    Yes! im looking for something similar. This looks interesting. I did look into apex_util.set_session_state yesterday but didnt know how to apply. perhaps i was doing it wrong.
    Question though, so basically first use the javascript to send the EMPNO from top report to the EMPNO in the form fields below.
    Then based on the EMPNO received in the form, do a loop to get the rest and put it into session. Correct?
    if i'm not mistaken i did something similar,but when i tried to set session for the rest,it refers to to the p26_EMPNO still as null..does the javascript sets the id of report to the id of the form or does it just send over?
    i'll try it out.
    Thanks.

  • Component refresh from region

    Hi All,
    I am using JDeveloper 11.1.1.6.0.
    I have created my ADF page having panelTabbed component (it is not a template). in each tabs, i have dragged other task flows as regions. I have a outputText on the page, which should be refreshing from a button click inside the region.
    How do i achieve that?
    below is the code
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
       <af:pageTemplate viewId="/OverviewTemplate.jspx" id="OverviewTemplate">
          <f:facet name="userOverview">
             <af:panelStretchLayout id="psl1" styleClass="AFStretchWidth">
                <f:facet name="center">
                   <af:panelTabbed id="pannelTabbedOverview"
                                   binding="#{userBean.panelTabbed}">
                      <af:showDetailItem text="Overview" id="showDetailItem1"
                                         stretchChildren="first"
                                         binding="#{userBean.overviewTab}">
                         <af:panelStretchLayout id="overviewtabPSL" topHeight="25px">
                            <f:facet name="center">
                               <af:region value="#{bindings.overviewtaskflow1.regionModel}" id="r1"/>
                            </f:facet>
                         </af:panelStretchLayout>
                      </af:showDetailItem>
                   </af:panelTabbed>
                </f:facet>
                <f:facet name="top">
                   <af:panelBox text="PanelBox1" id="pt_pb1" styleClass="AFStretchWidth">
                            <af:outputFormatted value="#{bindings.userStatus.inputValue}" id="pt_of1"/>
                   </af:panelBox>
                </f:facet>
             </af:panelStretchLayout>
          </f:facet>
       </af:pageTemplate>
    </jsp:root>Here i want to refresh the userStatus value from a button which is inside overflowtaskflow1 region. Please help me out.
    regards,
    Rajan

    set partial triggers to your outputFormatted component as similar to below example...
    partialTriggers="r1:<btn-id>"Since some of the ADF components are naming-container (while generating IDs for child, their presence is considered by appending ID) ... so select r1 from Jdev's partial trigger selection window...and rest of the string you can get from the jsff page in your TF and append both with ":"
    1. Say Jdev shows r1 reference as ":::r1"
    2. Your btn reference inside TF from top component is "pt1:t1:btn1"
    so your partial trigger would become 1+":"+2 = ":::r1:pt1:t1:btn1"
    This is just an example, you might have to compute your strings for ppr.

  • JQuery problem after ADF partial refresh

    Hi,
    I am using JDeveloper 10.1.3, and am trying to spice things up a little with some jQuery. However some of this code does not work as I expect after a partial refresh. In a simple page for testing purposes I have:
    bq. &lt;afh:script text=" \\     $(document).ready(function() { \\         oldBackgroundColor = $('#outputText').css( 'background-color' ); \\         $('#outputText').css( 'background-color', 'red' ); \\         newBackgroundColor = $('#outputText').css( 'background-color' ); \\         alert('background color was ' + oldBackgroundColor + ', now ' + newBackgroundColor); \\     }); \\ "/&gt;
    and
    bq. &lt;af:outputText partialTriggers="button" id="outputText" value="some text whose background color changes"/&gt; \\ &lt;af:commandButton partialSubmit="true" immediate="true" id="button" text="partial submit button"/&gt;
    When the page is initally loaded, the background color of the text is changed to red, and the alert is displayed saying something like 'background color was transparent, now red' (browser dependent).
    When the button is pushed, the background reverts to transparent (as expected as it is being loaded again). The alert is also displayed with the same message (indicating the color has been changed), but the background on the screen does not change.
    Is this what anyone would expect, and should it be possible? My javascript knowledge is pretty basic so I haven't got very far looking through the code trying to figure it out. Any ideas would be much appreciated.
    I am using version 1.2.6 of jQuery from [http://docs.jquery.com/Downloading_jQuery]
    The full source of the jspx is:
    &lt;?xml version='1.0' encoding='windows-1252'?&gt;
    &lt;jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"&gt;
    &lt;jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/&gt;
    &lt;jsp:directive.page contentType="text/html;charset=windows-1252"/&gt;
    &lt;f:view&gt;
    &lt;afh:html&gt;
    &lt;afh:head title="List"&gt;
    &lt;meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/&gt;
    &lt;afh:script source="/javascript/jquery-1.2.6.js"/&gt;
    &lt;afh:script text="
    $(document).ready(function() {
    oldBackgroundColor = $('#outputText').css( 'background-color' );
    $('#outputText').css( 'background-color', 'red' );
    newBackgroundColor = $('#outputText').css( 'background-color' );
    alert('background color was ' + oldBackgroundColor + ', now ' + newBackgroundColor);
    "/&gt;
    &lt;/afh:head&gt;
    &lt;afh:body&gt;
    &lt;af:form&gt;
    &lt;af:outputText partialTriggers="button" id="outputText"
    value="some text whose background color changes"/&gt;
    &lt;af:commandButton partialSubmit="true" immediate="true" id="button"
    text="partial submit button"/&gt;
    &lt;/af:form&gt;
    &lt;/afh:body&gt;
    &lt;/afh:html&gt;
    &lt;/f:view&gt;
    &lt;/jsp:root&gt;

    I don't have 10g release in my computer right now.
    But I have tried the same in 11 + build of JDeveloper
    Done little changes and it worked
    below is the code
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" title="My Test JQuery Page">
    <af:resource type="javascript" source="/js/jquery-1.4.4.min.js"/>
    <af:resource type="javascript">
    $(document).ready(function () {
    $("#outputText").css("background-color", "red");
    function changeColor() {
    $("#outputText").css("background-color", "yellow");
    </af:resource>
    <af:form id="f1">
    <af:outputLabel id="outputText"
    value="some text whose background color changes"/>
    <af:commandButton id="button" partialSubmit="true"
    clientComponent="true" text="partial submit button">
    <af:clientListener method="changeColor" type="action"/>
    </af:commandButton>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

  • Is there any way to trigger BSP Page from ITS..

    Hi,
      is there any way to trigger BSP Page from ITS?
      say for example i have a its service, when i click my its service i want to call BSP Page instead of calling module pool screen.
    thanks,
    Abhay.

    do you want to have a link the ITS page which calls a BSP page or do want a simple call the ITS url should redirect you to BSP page?
    for your explanation i understand that calling a ITS service should automatically redirect to BSP page -  in such a case you can just use url redirection by using meta tag or reidrect using javascript.
    <META HTTP-EQUIV="Refresh"
          CONTENT="5; URL=<BSP page>.htm">
    But i dont understand the reason why you would want to do this.
    Regards
    Raja

  • How can I call a custom javascript function when clicking on cfgrid cell.

    I would like to call a custom javascript function when
    clicking on a cell in an cfgrid (of html format). The closest thing
    I can find is to use the HREF="" attribute, but it doesn't seem to
    work with javascript inside it.
    Simple example:
    <cfgridcolumn name="Foo" header="Foo"
    href="javascript:customFunction(#ID#);">
    Do I need to tap into the underlying Ext JS funtionality? If
    so, where can I start?
    Thanks!

    Hi,
    According to your post, my understanding is that you want to hide/show list columns based on specify the permission for Users, SharePoint Groups or Active Directory Groups.
    Here is a solution from CodePlex for your reference:
    SharePoint 2013 Column & View Permission
    https://sp2013columnpermission.codeplex.com/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • QAS Refresh from PRD

    Dear Bhudev/Guest,
    I am Planning to refresh my Quality system from Production's Offline Database Backup. I have seen you a lot posts.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    Refresh from Offline backup (AQC from APC)
    Let's say AQC is quality and APC is production.
    Pre-processing Activity:
    Verifications:
    1. Verify the last offline backup in the source system /oracle//sapbackup/back.log
    2. Verify that both the source and target systems are at the same Oracle level (which is already the case between APC and AQC)
    3. It is recommended that an off-line backup be taken of the target system before starting this process, in case of fall back.
    4. Confirm there is enough space in the target (AQC) file systems to contain the data from the source system this is required as we may have to copy the files from Production to quality. /oracle/SID/sapdata* folders should be having little more space as compared to the source filesystem.
    5. Check access to SAP* for APC (000 and 400) and also for AQC (000 and 400)
    6. Check other passwords such as adm and ora
    7. Server : User : ora > sqlplus u201C/ as sysdbau201D > alter database backup controlfile to trace > exit In /oracle/SID/saptrace/usertrace, the last trace (check the time) is the script for recreating the control file. You will need to edit it. Please rename the trace file to ld.sql and send the file to the target system /oracle/SID Edit the Script: vi ld.sql Delete or comment out all lines at the beginning of the file before STARTUP NOMOUNT which is kept. Change old controlfile creation statement at the beginnig of the controlfile: Old line: create controlfile reuse database NOresetlogs archivelog; change to New line: create controlfile set database resetlogs archivelog; replace all occurences of string by in each line where appears :g / / s / / /g example: :g/P10/s/P10/T21/g Delete the following lines a the end of the script: ; RECOVER DATABASE; ALTER SYSTEM ARCHIVE LOG ALL; ALTER DATABASE OPEN;
    8. Get from the Prod system (APC) the .aff and backDPR.log and copy them on AQC. (/oracle//sapbackup) Copy the files to /instkits/SID/. And after we can go on target source server and copy them from /instkits/SID to the /oracle/SID/sapbackup/. With the good owner and permission
    9. Lock all the users in client 400 except Basis and post system message. Target system data collection (On AQC -400):
    1. SM59 Expand all the trees, print by choosing: ->System ->List ->Print i) Compare list to R/3 connections on source system. Record details for any that will need to be recreated on target system.
    2. SCC4 Record all client settings. -> Tableview ->Print ->Standard List -> List -> Print Make sure you understand the columnsu2026
    3. SE06 Record system change options
    4. RZ10 Record the instance profile settings for: rdisp/wp-no-btc and rdisp/max_wprun_time
    5. STMS Record current transport routes. ->Overview -> Transport Routes -> manually expand all trees -> system ->list ->print
    6. Request customer to provide u201Ccatch-upu201D list of transports to be applied to system after refresh (QA and Sandbox systems).
    7. RZ04 Record current work process set-up. Highlight each operation mode and click instances/op modes button. i) Print with ->System ->List ->Print
    8. SAP License Ensure the SAP license information is available. If not on-hand, logon target system as adm and enter command: saplicense u2013show. This information is also available on OSS.
    9. TSM Nodename View /usr/tivoli/tsm/client/api/bin64/dsm.sys on source and target system. Record the nodename entries. These will be SAP or server names.
    11. Take printer Export through SPAD and save it locally to desktop->SPAD
    12. Take Export of User Master from the client 400 through SCC8 target system is AQC , so that it may be re-imported through STMS. Note the Transport number here also verify the transport exist in the queue. DB Restore from offline backup from APC:
    1. Stop SAP on AQC -> Login as aqcadm -> stopsap
    2. Change the TSM node on AQC-> cd /usr/tivoli/tsm/client/api/bin64 ls -lrt vi /usr/tivoli/tsm/client/api/bin64/dsm.sys Change it to point to APC, comment the AQC Node. Post Restore Acitivity:
    1. Stop Database Delete Old controlfile rm /oracle/AQC/sapdata1/system_1/cntrl/* rm /oracle/AQC/saparch/cntrl/* rm /oracle/AQC/origlogA/cntrl/*
    2. Re-create the controlfile and then after that start the database User : ora > cd > sqlplus u201C/ as sysdbau201D > @ld.sql > alter database open resetlogs;
    3. Change the sapr3 password Server : User : ora Temporarily, we have to change the sapr3 password to the default password. With SAPBA, change this user password to pass.
    4. Test the connection: Server : User : adm > R3trans u2013d It should have a return code of 0000
    5. Reasign tempfile alter tablespace psaptemp add tempfile '/oracle/AQC/sapdata1/temp_1/temp.data1' size 6020M reuse autoextend on next 20971520 maxsize 10000M; alter database rename global_name to AQC.WORLD; drop user OPS$APCADM cascade; drop user OPS$ORAAPC; create user OPS$ORAAQC identified externally default tablespace psapdnausr temporary tablespace psaptemp; grant connect, unlimited tablespace, SAPDBA to OPS$ORAAQC; grant connect, unlimited tablespace, SAPDBA to OPS$AQCADM;
    7. Change the instance profile to stop all the background processing To be sure that no production batch are executing, set rdisp/wp_no_btc to 0 posprocessing:
    8. Startsap
    9. Run Transaction SICK (as sap*)
    10. Installing license through the tcode: slicense While logged in as 000/sap/using password of APC system Get the License from service.sap.com and download it to local machine Log in 000 client using SAP and run the Tcode slicense import printers, run BDLS for logical system name conversions se06 posprocessing stms usermaster import import profiles for QAS
    thanks
    Bhudev
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    Hi Pranav
    why the SIDs of production and QAS are same, did you do refresh of QAS from PRD ?
    If yes, then you should have done control file creation and change of SIDs, after the datbase restore...
    however, if you want to create the new control file and change the SID then try to consider the following steps:
    1. Login as orasid
    2. connect to sqlplus
    3. run query: alter database PRD backup controlfile to trace;
    4. It will create a control file as a latest trace file (.trc) in the directory /oracle/PRD/saptrace/usertrace
    note: logout of sqlplus
    5. Rename that .trc file into ldQAS.sql
    6. copy this file into /oracle/SID ie. /oracle/QAS directory
    7. edit the .sql file as below
    8. CREATE CONTROLFILE SET DATABASE u201CQASu201D RESETLOGS ARCHIVELOGS;
    add above statement replacing the below:
    CREATE CONTROLFILE REUSE DATABASE u201CQASu201D NORESETLOGS ARCHIVELOGS;
    9. Replace all occurences of string <PRD_SAPsid> by <QAS_SAPsid> in each line where <source_SAPsid> appears
    :g/PRD/s/PRD/QAS/g
    10. login in sqlplus, stop database
    11. as oraqas, delete old control files:
    rm /oracle/SID/sapdata1/system_1/cntrl/*
    rm /oracle/sid/saparch/cntrl/*
    rm /oracle/SID/origlogA/cntrl/*
    12. again login into sqlplus (as sysdba always)
    13. run this .sql : @ldQAS.sql
    note: it should give a message that control file creaated.
    14. Open the database using: alter database open resetlogs;
    15. alter database rename global_name to QAS.WORLD;
    16. drop user OPS$PRDADM cascade;
    17. drop user OPS$ORAPRD;
    18. create user OPS$ORAQAS identified externally default tablespace <tablespacename>
    temporary tablespace psaptemp;
    19. grant connect, unlimited tablespace, SAPDBA to OPS$ORAQAS;
    grant connect, unlimited tablespace, SAPDBA to OPS$QASADM;
    at SAP level:
    1. you can run BDLS to convert logicalsystems from PRD to QAS SID
    Bhudev
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    In both post, There is some difference specially like User droping.
    Whether I have to run BDLS or Drop usr and create or both activity have to be done?????
    Regards
    Dharmendra

    Please explain step by step:-
    7. Server : User : ora > sqlplus u201C/ as sysdbau201D > alter database backup controlfile to trace > exit
    In /oracle/SID/saptrace/usertrace, the last trace (check the time) is the script for recreating the control file.
    You will need to edit it. Please rename the trace file to ld.sql and send the file to the target system /oracle/SID
    Edit the Script: vi ld.sql Delete or comment out all lines at the beginning of the file before STARTUP NOMOUNT which is kept.
    Change old controlfile creation statement at the beginnig of the controlfile: Old line: create controlfile reuse database NOresetlogs archivelog; change to New line: create controlfile set database resetlogs archivelog; replace all occurences of string by in each line where appears :g / / s / / /g example: :g/P10/s/P10/T21/g Delete the following lines a the end of the script: ; RECOVER DATABASE; ALTER SYSTEM ARCHIVE LOG ALL; ALTER DATABASE OPEN;
    8. Get from the Prod system (APC) the .aff and backDPR.log and copy them on AQC. (/oracle//sapbackup) Copy the files to /instkits/SID/. And after we can go on target source server and copy them from /instkits/SID to the /oracle/SID/sapbackup/. With the good owner and permission
    Break into steps and explain. It looks confusing to me because I am new to ECC with Oracle.
    Regards
    Dharmendra

  • Text from customer master to delivery header

    Hi Experts,
    Here we have a requirement, Text what we maintain in the customer master (like Shipping point address) text need to be trigger at Delivery header,
    1) Is it possible in standard text determinaction or we need to go for any user exits?
    2) If we want to use user exits what are the user exits we have to copy the data from customer master to delivery header.
    NOTE: Client doesnt want to use the text from sales order or scheduling agrements.
    Please help me to fill the requirement .
    best regards,
    chiranjeevi

    Hi Chiranjeevi,
    It is possible to achieve this with standard text determination procedure itself.
    Goto transaction VOTXN and in the "Delivery --> Header" create a new access sequence with the Customer Master Text IDs (like the ID which contains the Shipping Point address) from which the text is to be selected. Once done, create or make use of an existing text determination procedure available under Delivery Header and then assign the access sequence to the Delivery Header Text ID into which the Customer Master text is to be copied. Maintain additional settings as necessary. This will ensure that the text from customer master is directly copied over to the delivery header.
    There are many documents already available (search in Google) to explain the text determination process if you need help with the same.
    Regards,
    Som

  • Payment terms based on specific dist.channel, division and Plant but not from customer master.

    Dear All
    I have a requirement,
    Generally payments terms from customer master will flow to sales order. but here my requirement is to get a different payment terms based on specific distribution channel, division, customer  and plant those are there in sales order but not from customer master. is there any user exit or functional module to fulfill this requirement, or any other suggestion appreciated.
    Thanks,
    Reddy

    This Problem you can solve without user exit too.
    The Customer master data itself can solve the problem.
    You can maitain diffrent Payment Term as per the sales area (Dist.Ch+Div+S.org) of customer master.
    and each sales are wise u can change the plant also.
    You just need to set your logic with the combination of sales are and plant. And need to assign which payment term should determine to sales order.
    If you are rasing sales order with X sales area relavent to that payment term will trigger.
    Hope above logic will work, otherwise you can go with user exit.

Maybe you are looking for