PTF: Parameterization

Hi,
While creating automation scripts in PTF, I need to assign a unique new value every time. Please help me out how can I do that.
One of the frequently used methods is to append the timestamp in the name. Is there any Keyword available in PTF that will append time stamp to the name I hardcode in the scripts?
Please suggest if there is some other way as well.
Thanks in advance.

You can use #TODAY or #DTTM.These reserved word inserts the current date and time into a field in the application.
Also see http://docs.oracle.com/cd/E28394_01/pt852pbh1/eng/psbooks/tptf/book.htm Chapter Test Language Reference paragraph Reserved Words and also have a look at chapter Incorporating Best Practices for some tips.

Similar Messages

  • SA Schedule lines for requirements within PTF

    Hello Gurus,
    I have a question that you can surely help me with.
    I have setup a scheduling agreement for a material, and with the source list setup the MRP now successfully generates schedule lines for all requirements that are outside of the planning time fence. However, if I put a requirement inside the planning time fence, then MRP does not create a schedule line just outside the PTF to cover that requirement, instead it creates a planned order just outside the PTF (or a purchase requisition if I change the "Create Purch. req." MRP control parameter).
    Why does it not create a delivery schedule line? The validity of agreement is set to 1st of april, so it is defined will in the past. The target quantity on the scheduling agreement is well above the current scheduled quantity.
    Thank you for any suggestions on this issue. I am sure it is just me who is being an MRP ignorant.

    Check the validity date of your Source List. It may be that it is outside the time frame of your requirements.
    Try setting it up to say, January 1st of this year, see what happens.
    Award points if useful.

  • How to copy E-business Parameterization from an environment to another

    Hi to everybody,
    I'm new to the world of Oracle Applications and I'm starting a new project. My concern is related to change management.
    I intend to have :
    - an environment where developpers will parameterize the E-business suite (screen/folder field modification, workflows, LOV,...),
    - another environment where users will validate the application,
    - a third environment dedicated to production,
    Is there any tools, or "tips" that allows to move defined parameters from one environment to other ? Should I need to Key in all parameters every time I need to install a new release of my application?
    Tanks for your help.
    If you have any question I'm reachable at [email protected]

    Another simple alternative, according to AskTom (http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:454220160386)
    ---------------- getcode.sql ----------------------------
    set feedback off
    set heading off
    set termout off
    set linesize 1000
    set trimspool on
    set verify off
    spool &1..sql
    prompt set define off
    select decode( type||'-'||to_char(line,'fm99999'),
    'PACKAGE BODY-1', '/'||chr(10),
    null) ||
    decode(line,1,'create or replace ', '' ) ||
    text text
    from user_source
    where name = upper('&&1')
    order by type, line;
    prompt /
    prompt set define on
    spool off
    set feedback on
    set heading on
    set termout on
    set linesize 100
    ------------------- eof --------------------------------
    it extracts one procedure, function or package to a file. Thats it. If you
    wanted to get all of the procedures in a schema extracted to the current working
    directory, you would run a script:
    --------------- getallcode ---------------------------
    set termout off
    set heading off
    set feedback off
    set linesize 50
    spool xtmpx.sql
    select '@getcode ' || object_name
    from user_objects
    where object_type in ( 'PROCEDURE', 'FUNCTION', 'PACKAGE' )
    spool off
    spool getallcode_INSTALL.sql
    select '@' || object_name
    from user_objects
    where object_type in ( 'PROCEDURE', 'FUNCTION', 'PACKAGE' )
    spool off
    set heading on
    set feedback on
    set linesize 130
    set termout on
    @xtmpx.sql
    ---------------- eof ---------------------------------
    You can see how to filter on that one by adding to the where clause if you want.
    Just run @getallcode_INSTALL to run all of the scripts...

  • How to parameterize the schema name in APEX

    Hi,
    How to parameterize the schema name in APEX , in order to access different tables from the respective schema.
    For example:-
    select NAME display_value, CODE return_value
    from paramSchema.DESC_LIST WHERE SELECTION_FLG = 'Y'
    order by 1
    in the above code, paramSchema will be replaced with the actual schema name duing runtime. I tried doing so by some hidden fields on page, but it didn't worked out.
    I took the schema name from the respective server as per the IPof the server.
    stored in a hidden field named as schema.
    And replaced the same in place of schema name. But no luck.
    select NAME display_value, CODE return_value
    from :schema.DESC_LIST WHERE SELECTION_FLG = 'Y'
    order by 1
    Please help me in shorting it out.
    Thanks,
    Anuradha

    Hi
    In order to do that, you would need to use dynamic SQL by changing the report type to PL/SQL Function Body Returning SQL Query and have code along the lines of
    DECLARE
    l_sql VARCHAR2(32767);
    BEGIN
    l_sql := 'select NAME display_value, CODE return_value
    from '||:schema||'.DESC_LIST WHERE SELECTION_FLG = 'Y'
    order by 1';
    RETURN l_sql;
    END;However, by doing this, you lose alot of flexibility. The other options would be...
    To have seperate report regions that are conditional on the value of the variable.
    To use a WITH clause at the tope of the query like...
    WITH src_data AS
    (SELECT * FROM schema1.my_table
    WHERE :schema = 'schema1'
    UNION ALL
    SELECT * FROM schema2.my_table
    WHERE :schema = 'schema2')
    SELECT *
    FROM src_dataOther than that you could look at using synonyms and doing something similar.
    Hope this helps.
    Cheers
    Ben

  • PTF check status is not updated

    Dear Experts,
    Recenetly, as per the suggestion of SAP we have updated the PTF of the OS.
    After the updation when I check the PTF Check in DBACOCKPIT it still show the staus in red color where as if I check the same PTF's at OS level it shows installed and shows the different patch level.
    Can someone please help me how to get the same status in SAP also.....i.e., the PTF which are installed recently should be reflected with status green color in SAP.
    Highly appreciate the help.....
    Thanks and Regards,
    Sharath Babu M

    Hi,
    check  Note 144149 - AS/400: Comparing PTF level with IBM Information APAR
    regards,
    kaushal

  • How to parameterize the emp_key in connect by pior query

    Hi Gurus,
    I am developed following query to create a report to who is reporting to who in organization with static value, could you please help me to parameterize the emp_key in the query.
    SELECT lpad(' ',8*(LEVEL-1)) || emp_last_name, manager_id, mgr_last_name, mgr_first_name, empid, emp_last_name, emp_first_name, LEVEL
    FROM cmp_ppl1
    START WITH emp_key = 37487
    CONNECT BY PRIOR emp_key = manager_key;
    Thanks & Regards
    Vikram

    In SQL*plus, you can just accept the empkey as a parameter using '&'
    SELECT lpad(' ',   8 *(LEVEL -1)) || emp_last_name,
      manager_id,
      mgr_last_name,
      mgr_first_name,
      empid,
      emp_last_name,
      emp_first_name,
      LEVEL
    FROM cmp_ppl1
    START WITH emp_key = &emp_key
    CONNECT BY PRIOR emp_key = manager_key;In Discoverer, you may have to add a parameter or bind variable...

  • Create a role with everything except parameterization option

    Hello,
    We need to create a new role with all object except parameterization
    option.
    How we can create it?
    Best regards,
    Julene González

    I had no idea that we had discussed SPRO that often...
    As you can see from the thread Alex pointed out ( [this one|https://forums.sdn.sap.com/click.jspa?searchID=19779873&messageID=6581648] ) it is also usefull to know which system in the landscape this role is destined for.
    Assuming this is for the QAS system, why don't you identify all the business roles for the production system (those which do not permit customizing in production either, nor user admin and other "basis" tasks, nor development work...etc...) and assign them all to the users (I assume these are support users).
    They should be in QAS already, and if your client settings are correct (T), you will experience the same or a very similar result.
    Of course they won't have "SAP_ALL minus SPRO", but they will have what you are actually using for the "real users"... in production (except it will be in QAS).
    That way they have also have a more realistic testing experience with the correct roles (only).
    Just a thought,
    Julius

  • Parameterize schema name in AMDP for accesing different SLT replicated schemas

    Hi All,
    We need to create an AMDP for accessing tables from different schemas with SLT replicas of different ERP instances.
    Does someone know if it's possible to parameterize schema name on AMDP so it's possible to use the same stored procedure for accessing the same tables on differen schemas on the same HANA DB instance?
    Best regards
    Fernando Alvarez

    Dear Fernando Alvarez,
    Does your use case require access to multiple schemas during the same call to the AMDP method at runtime or is it the case that during a method call you would access only one specific schema?
    If later is the case you might want to check the possibility of using secondary database connections from AMDP. From NW AS ABAP 7.4 SP08 onwards AMDP methods support the usage of secondary database connections(maintained from DBACOCKPIT). 
    You can find more information from this help documentation.
    Additionally you can refer to the following blog as well.
    Please let us know if this information is helpful to identify the right solution for your use case.
    Best regards
    Sundar

  • Parameterization in Oracle B2B

    Hi All,
    Is there any way to parameterize certain values in Oracle B2B as we have in Oracle SOA?????
    Thanks in advance..
    Monica

    Hi Monica,
    No, Oracle B2B does not support such use of preferences and parameterization as of now however an alternative is to create meta-data through Self-Service. Advanced B2B users can create self-service XML to specify the configuration data and then use ant to generate B2B metadata (export) and then use ant to import the same into B2B.
    Following are the parameters which are used in Self-Service XML -
    http://docs.oracle.com/cd/E17904_01/integration.1111/e10229/app_selfservice.htm#BABFCIAJ
    Also refer section "19.11 Creating Oracle B2B Metadata Based on selfservice.xsd" at -
    http://docs.oracle.com/cd/E17904_01/integration.1111/e10229/scrpt_imp_exp_dep.htm#CEGBIGAF
    Regards,
    Anuj

  • OS V6R1M0 cume package C8190610, ptf SF99354

    Hi Team,
    I would like share the issues that we encounted after applying the OS V6R1M0 cume package C8190610.
    The SAP Systems were not coming up and there were several issues after that
    1) netstat option 3, and it was displaying garbage data
    We had apply group ptf SF99354 to fix the above problem. Even after this the SAP Systems were not coming up as the WP's were dieing immediately.
    2) We had applied the PTF SI32608,  which resolves a low level machine error regarding "pointer settings" based on an OS  message id MCH3601.
    So folks, if you are planning on applying the OS V6R1M0 cume package C8190610, do not forget to apply group ptf SF99354  and  PTF SI32608 or else your SAP systems won't come up and IBM and SAP does not have any information updated in any of their Notes.
    Good Luck
    Thank You
    Reg,
    Kishore

    Hallo again Kishore.
        I contacted IBM in the meantime and got the following information. The general *** includes the PTF SI32608: please see [this link|http://www-912.ibm.com/s_dir/sline003.NSF/3a8f58452f9800bc862562900059e09e/59cd6799f6f4d82886257408005db281?OpenDocument] for details. This *** should also include the PTF for the netstat problem, according to my contact. He suggested that there may have been a problem with the application of the ***, as you should not have needed to apply either PTF if everything had worked properly. He therefore recommends that you reapply the general *** package to ensure that nothing else is missing.
    Regards,
       Sally Power
       Dev. Support for SAP on IBM i

  • How to automate SQL packages deletion prior to IPL to apply PTF's ?

    Hi,
    When PTF's need to be applied to the system to avoid trouble it is recommended to delete the SQL packages. The only way to do this that I know of is by using the R3MAIN menu to access the option to delete the SQL packages. As we have two instances on our system this is (to much) time consuming.
    For this reason I would like to schedule a STOP of both SAP instances. Followed by some method to check if the SAP instance is down. If the SAP instance is down I would like to Delete the SQL packages and when this task completes I would like to send myself an e-mail confirming this deletion.
    The pieces of the puzzle I am missing to achieve all this are:
    1. How to check if SAP is done ?
    2. How to delete the SQL packages for both instances in a program ?
    Of course it would be perfect if it is possible to check for any active SAP users from a program also. I think I have the CL programming skills to write such a program and of course I want to share that information once the program has been tested and approved by me
    Regards, Rudi van Helvoirt

    Hi Rudi,
    I would do it in QSTRUP after IPL, but that's a minor difference.
    with an *ALLOBJ user:
    CALL R3sid400/R3INLPGM
    DLTR3PKG sid
    As this sometimes fails, I would code the DLTR3PKG 3-5 times into the CL - the second and more ones are done within a second - so no problem )
    You do this for each SID and should be happy - as you do not want this with every IPL I guess, you might want to use a DTAARA in order to control this.
    Regards
    Volker Gueldenpfennig, consolut.gmbh
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • Intelligent Controller Parameterization

    Attempting to use Intelligent Controller Parameterization but I am recieving a licensing error.  The software seems to not be able to identify the ssdivd.lic license, and asks me for the directory location of the file.  After searching my computer and local server it appear I dont have the license.  I have contacted the company now multiple time with no reply...  Any suggestions on where i may be able to find/Purchase the appropriate licensing.  -Thanks 

    Since this is not a LabVIEW question, you should contact the company directly for this third-party add-on.
    Look at the overview tab here for contact information
    LabVIEW Champion . Do more with less code and in less time .

  • Enabling "Forced Parameterization" on a sql 2008 DB.....

    We have a relatively high re-compilation rate of several Adhoc queries for a given DB. It has been suggested that we enable the DB "Forced Parameterization"  option for that DB. Supposedly, then, even if the Adhoc queries specify different
    values the execution plans will not
    be recompiled.
    Has anyone used this option?  If it is that good, why isn't Enabled the default setting? (worried about the possible downsides.)
    TIA
    edm2

    You need to test it as it may hurt the over all performance as well. Do you see CPU went  down? Do the users start complain about the performance?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • EVMBR parameterization

    Hi Experts,
    I have the following problem. I am working with EVMBR function at Excel. If I hardcode the parameters, it works well. For example,
    EVMBR("PROJECT";"SLES069";"NIVELPROY=SLES")
    But when I try to parameterize the function, for example
    EVMBR("PROJECT";"SLES069";$A$45)
    after first execution, the parameterization disappears and the formula changes by itself
    EVMBR("PROJECT";"SLES069";"NIVELPROY=SLES")
    and I need it to be parameterized, not harcoded.
    Some ideas?
    Best Regards
    Albert

    Hi,
    It looks like an error. Please raise a message to SAP.
    thanks,
    Raju

  • Dynamic Parameterization

    Hi,
    I have a chart and I want 2 dropdowns with possible variable values.  Then a button will be pushed to execute the filter.  The dropdowns are being configured with Data Binding "Char/Structure Mbr" so no submit button appears and the execution doesnt occur right away, but only when the button is pushed.
    I'd like a dropdown box to show with possible values of variables that are in my query.  I've looked into Dynamic Parameterization, but can't seem to get it to work.  Is this because the variables don't have any default values?
    Thanks, Ken Murray

    Project has been removed from queue

Maybe you are looking for