Define Jobname of a BI request

Hello,
starting an Info Package in SAP BW creates a corresponding extraction job in the SAP R/3 system with
jobname "BIREQU_....". The request number of the info package is part of the jobname.
We are looking for a possibility to set the jobname by program, bapi or function module.
Any ideas? Thank you for your help.
Best regards
Lothar

Hi,
thanks for your reply.
Unfortunately BAPI_IPAK_START changes only the job description in the SAP BW system, e.g. to "BI_BTCHHELLO".
in the job log entries you will find
"InfoPackage ZPAK_7AWVZOKWJJ26YAA2PR2IPCPVY created request REQU_7W85H06U9CGWE03OUC5R4L5HQ"
and in the SAP R/3 System the extraction job
"BIREQU_7W85H06U9CGWE03OUC5R4L5HQ".
We need the following: if we start an InfoPackage, e.g. named "Hello xyz", that the corresponding extraction job in SAP R/3 has the job name "...hello xyz".

Similar Messages

  • How to retrieve user defined attributes in Prepopulating a request dataset

    Hi,
    I have created couple of user defined attributes in user profile.
    And I am tryting to develop a prepopulate adapter in a request dataset for a resource. I need to prepopulate request dataset based on the values of above said user defined attributes.
    I tried to use tcResultSet result=UserOppsIntf.getSelfProfile(); in my pre-populate adapter but it is giving me only the following attributes and it is not giving any of my user defined attributes.
    Users.Manager Key
    Users.Manager Login
    Users.Manager First Name
    Users.Manager Last Name
    Users.Password Warning Date
    usr_locale
    Users.Key
    Users.Password Expired
    Users.Middle Name
    Users.User ID
    Users.Password Expiration Date
    Users.Status
    Users.Password Warned
    Users.Email
    Telephone Number
    Users.Display Name
    usr_timezone
    Users.Lock User
    Users.Last Name
    Users.First Name
    MEMBERTYPE
    If I use the code userData = usrService.getDetails("User Login", RequesterID, null); then I am getting only the following.
    Display Name:
    act_key:
    Full Name:
    usr_key:
    User Login:
    Last Name:
    First Name:
    Please let me know how to retrieve all of user defined attribute values in prepopulate adapter for a request dataset.

    Use below code to get all attributes in user profile including UDF.
    OIMInternalClient objOimInternalClient = null;
    User user = null;
              UserManager usrService = null;
    objOimInternalClient = new OIMInternalClient();
              if (objOimInternalClient != null) {
                        try {
                             objOimInternalClient.loginAsAdmin();
                             usrService = objOimInternalClient
                                       .getService(UserManager.class);
                             user = usrService.getDetails("usr_key", strUserKey, null);
                             endDate = (Date) user.getAttribute("End Date");
                        } catch (Exception e) {
                             e.printStackTrace();
                        } finally {
                             if (objOimInternalClient != null)
                                  objOimInternalClient.logout();
                             if (user != null)
                                  user = null;
                             if (usrService != null)
                                  usrService = null;
    In order to see all UDF's in User profile, please create Authorization Policy.

  • Con. Req. 'Receiving Transaction Manager' Inactive/No Manager : This request is an unconstrained request. (queue_method_code = I) , No concurrent manager is defined to process this request, so it cannot be processed.

    Hi Gurus,
    I need your help on a concurrent request ( Receiving Transaction Manager ) showing as Inactive/No Manager.
    EBS: R12.1.2 on Linux
    Database: 11.2.0.3 on HP UX Itanium
    A user is submitting the concurrent request - "Receiving Transaction Manager" (It is a concurrent program not a concurrent manager).  The request ends up as Inactive/No Manager. When I click on the diagnostics button this is what it shows -
    "No concurrent manager is defined to process this request, so it cannot be processed.
    Contact your system administrator to define a concurrent manager to process this request or to verify that existing concurrent managers have the correct specialization rules."
    I ran analyzereq.sql and the analysis is
    Analysis:
    Request 1427025 is in phase "Pending" with status " Normal".
                               (phase_code = P)   (status_code = I)
    This request is an unconstrained request. (queue_method_code = I)
    It is in a "Pending/Normal" status, ready
    to be run by the next available manager.
    Checking managers available to run this request...
    There is no manager defined that can run this request
    This should show on the form as Inactive/No Manager
    Check the specialization rules for each
    manager to make sure they are defined correctly.
    Additional information (from apps.FND_CONC.DIAGNOSE):
    No concurrent manager is defined to process this request, so it cannot be processed.
    Contact your system administrator to define a concurrent manager to process this  request or to verify that existing concurrent managers have the correct specialization rules.
    I ran another SQL to find out which manager runs the program :
    select CONTROLLING_MANAGER,request_id
    from fnd_concurrent_requests
    where request_id=1427025;
    It returned blank (or) NULL for controlling Manager.
    select b.USER_CONCURRENT_QUEUE_NAME from fnd_concurrent_processes a,
    fnd_concurrent_queues_vl b, fnd_concurrent_requests c
    where  a.CONCURRENT_QUEUE_ID = b.CONCURRENT_QUEUE_ID
    and    a.CONCURRENT_PROCESS_ID = c.controlling_manager
    and    c.request_id = 1427025;
    Returned Nothing.
    I thought that for a concurrent program when no specific manager is defined, Standard Manager is the default. Is my understanding wrong ?? Have anyone of you faced this issue? How did you fix it ?
    I did check the profile - Concurrent: Conflict Domain for the responsibility and it is blank.
    Appreciate any help.
    Thanks
    Cherrish Vaidiyan

    Was this working before? If yes, any changes been done recently?
    Your understanding is correct, unless this concurrent program is excluded from being processed by standard manager.
    If the request was not processed then the no rows output is an expected behavior -- (Doc ID 344011.1)
    Have you tried the solution in (Doc ID 1303315.1)?
    Thanks,
    Hussein

  • Down Payment Request - Special G/L Indicator F

    Dear all,
    While posting Vendor Down Payment Request (tcode: F-47), I encountered the following error message:
    Special G/L indicator F is not defined for down payments
    Message no. F5053
    Diagnosis
    The specified special G/L indicator is not classified as "down payment" or not listed in the list of the target special G/L indicators for indicator "F".
    I have performed the following configuration for Special GL indicator F:
    Tcode: OBYR or FBKP
    Account type = K, Special G/L Indicator = F. I have set the recon account from vendor master into the list of the account, also the Planning Level = FF.
    I click on the Properties button, and following is the setup of the Properties:
    Noted Items  select this check box.
    Target Special GL Indicator: AF
    Special G/L Transaction Types: select Down Payment/Down Payment Request.
    Can you please kindly share how to solve this issue? Thank you very much in advance.
    Kind Rgds,
    Dahlia

    Hi Dahlia,
    There are 2-3 things that you have to take care while posting Down Payment request.
    1. Define F as Down Payment request ( this is std. provided by SAP)
    2. Check box Noted items.
    3. In target Spl GL, enter A..this is very important as this is the place where you are linking F to A
    4. In spl GL transaction types, select the radio button Down payment/Down Payment Request.
    5. Now in Spl GL A, take care that In spl GL transaction types, the radio button Down payment/Down Payment Request is selected.
    Regards,
    SAPFICO

  • Wsdl validation fails for request message payload from custom schema

    Hello. I am having a problem which I cannot seem to work around. I have defined a schema to serve as a template for the request message payload of a bpel process. The schema is very simple:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:logininfo="http://sru/logininfo" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sru="http://sru/profile" targetNamespace="http://sru/logininfo" elementFormDefault="qualified" attributeFormDefault="unqualified">
         <xs:import namespace="http://sru/profile" schemaLocation="http://sru/profile.xsd"/>
         <xs:element name="logininfo" type="logininfo:logininfoType">
              <xs:annotation>
                   <xs:documentation>Needed information for SRU Login</xs:documentation>
              </xs:annotation>
         </xs:element>
         <xs:complexType name="logininfoType">
              <xs:all>
                   <xs:element name="email" type="sru:emailType"/>
                   <xs:element name="password">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="32"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="product" type="xs:string"/>
                   <xs:element name="ip" type="sru:ipType"/>
                   <xs:element name="timestamp" type="xs:dateTime"/>
                   <xs:element name="xpath" type="xs:string"/>
              </xs:all>
         </xs:complexType>
    </xs:schema>
    (The schema depends on another, which I have placed at the end of this message).
    I import it into the bpel process designer with no problems.
    Upon defining the payload of the request message type to be the {http://sru/logininfo}logininfoType, the WSDL file does not validate anymore:
    Validating WSDL...
    Validating E:\OraBPELPM_1\integration\jdev\jdev\mywork\SRU\BPELProcess5\BPELProcess5.wsdl
    Schema type not found: QName(http://sru/logininfo, logininfoType)
    Validate WSDL: has errors.
    Any ideas?
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns="http://sru/profile" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sru="http://sru" xmlns:xdb="http://xmlns.oracle.com/xdb" targetNamespace="http://sru/profile" elementFormDefault="qualified" attributeFormDefault="unqualified" xdb:schemaURL="http://sru/profile.xsd">
         <xs:annotation>
              <xs:documentation>Joel Salmerón Viver</xs:documentation>
              <xs:documentation xml:lang="en">General purpose internet profile schema</xs:documentation>
         </xs:annotation>
         <xs:simpleType name="emailType">
              <xs:restriction base="xs:string">
                   <xs:maxLength value="255"/>
                   <xs:pattern value="[a-z0-9]([a-z0-9\._][a-z0-9]+)*@[a-z0-9]([a-z0-9\.\-][a-z0-9]+)*\.[a-z]{2,6}"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:simpleType name="ipType">
              <xs:restriction base="xs:string">
                   <xs:pattern value="((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.){3}(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:simpleType name="labelType">
              <xs:restriction base="xs:string">
                   <xs:maxLength value="32"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:complexType name="addressType" xdb:SQLType="ADDRESSTYPE" xdb:SQLSchema="SRU">
              <xs:all>
                   <xs:element name="lines" type="linesType" minOccurs="0" xdb:SQLName="lines" xdb:SQLType="LINESTYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true">
                        <xs:key name="linesKey">
                             <xs:selector xpath="line"/>
                             <xs:field xpath="@num"/>
                        </xs:key>
                   </xs:element>
                   <xs:element name="city" xdb:SQLName="city" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="64"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="postalcode" xdb:SQLName="postalcode" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="16"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="countrycode" xdb:SQLName="countrycode" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:length value="2"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
              </xs:all>
              <xs:attribute name="label" type="labelType" use="required" xdb:SQLName="label" xdb:SQLType="VARCHAR2"/>
              <xs:attribute name="verified" type="xs:boolean" use="required" xdb:SQLName="verified" xdb:SQLType="RAW"/>
         </xs:complexType>
         <xs:complexType name="lineType" xdb:SQLType="LINETYPE" xdb:SQLSchema="SRU">
              <xs:simpleContent>
                   <xs:extension base="xs:string">
                        <xs:attribute name="num" type="xs:positiveInteger" use="required" xdb:SQLName="num" xdb:SQLType="NUMBER"/>
                   </xs:extension>
              </xs:simpleContent>
         </xs:complexType>
         <xs:complexType name="loginType" xdb:SQLType="LOGINTYPE" xdb:SQLSchema="SRU">
              <xs:all>
                   <xs:element name="registered_date" type="xs:dateTime" xdb:SQLType="TIMESTAMP WITH TIME ZONE" xdb:SQLName="registered_date" xdb:SQLInline="true"/>
                   <xs:element name="lastlogin_date" type="xs:dateTime" xdb:SQLType="TIMESTAMP WITH TIME ZONE" xdb:SQLName="lastlogin_date" xdb:SQLInline="true"/>
                   <xs:element name="lastlogin_ip" type="ipType" minOccurs="0" xdb:SQLName="lastlogin_ip" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
                   <xs:element name="lastlogin_time" type="xs:time" minOccurs="0" xdb:SQLType="TIMESTAMP WITH TIME ZONE" xdb:SQLName="lastlogin_time" xdb:SQLInline="true"/>
              </xs:all>
              <xs:attribute name="product" use="required" xdb:SQLName="product" xdb:SQLType="VARCHAR2">
                   <xs:simpleType>
                        <xs:restriction base="xs:string">
                             <xs:maxLength value="32"/>
                        </xs:restriction>
                   </xs:simpleType>
              </xs:attribute>
              <xs:attribute name="status" type="xs:integer" use="required" xdb:SQLName="status" xdb:SQLType="NUMBER"/>
         </xs:complexType>
         <xs:complexType name="addressesType" xdb:SQLType="ADDRESSESTYPE" xdb:SQLSchema="SRU">
              <xs:sequence>
                   <xs:element name="address" maxOccurs="unbounded" xdb:defaultTable="PROFILE_ADDRESSES" xdb:SQLName="address" xdb:SQLSchema="SRU" xdb:SQLInline="true" xdb:defaultTableSchema="SRU" xdb:SQLCollType="address360_COLL" xdb:SQLCollSchema="SRU" xdb:maintainOrder="false">
                        <xs:complexType xdb:SQLType="address358_T" xdb:SQLSchema="SRU">
                             <xs:complexContent>
                                  <xs:extension base="addressType"/>
                             </xs:complexContent>
                        </xs:complexType>
                   </xs:element>
              </xs:sequence>
              <xs:attribute name="main" type="labelType" use="required" xdb:SQLName="main" xdb:SQLType="VARCHAR2"/>
         </xs:complexType>
         <xs:complexType name="phonesType" xdb:SQLType="PHONESTYPE" xdb:SQLSchema="SRU">
              <xs:sequence>
                   <xs:element name="phone" type="phoneType" maxOccurs="unbounded" xdb:SQLName="phone" xdb:SQLType="PHONETYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true" xdb:SQLCollType="phone363_COLL" xdb:SQLCollSchema="SRU" xdb:maintainOrder="false"/>
              </xs:sequence>
              <xs:attribute name="main" type="labelType" use="required" xdb:SQLName="main" xdb:SQLType="VARCHAR2"/>
         </xs:complexType>
         <xs:complexType name="loginsType" xdb:SQLType="LOGINSTYPE" xdb:SQLSchema="SRU">
              <xs:sequence>
                   <xs:element name="login" type="loginType" maxOccurs="unbounded" xdb:SQLName="login" xdb:SQLType="LOGINTYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true" xdb:SQLCollType="login366_COLL" xdb:SQLCollSchema="SRU" xdb:maintainOrder="false">
                        <xs:key name="loginKey">
                             <xs:selector xpath="."/>
                             <xs:field xpath="@product"/>
                        </xs:key>
                   </xs:element>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="phoneType" xdb:SQLType="PHONETYPE" xdb:SQLSchema="SRU">
              <xs:simpleContent>
                   <xs:extension base="phonenumberType"/>
              </xs:simpleContent>
         </xs:complexType>
         <xs:complexType name="profileType" xdb:SQLType="PROFILETYPE" xdb:SQLSchema="SRU">
              <xs:all>
                   <xs:element name="firstname" xdb:SQLName="firstname" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="64"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="surname1" xdb:SQLName="surname1" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="64"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="surname2" minOccurs="0" xdb:SQLName="surname2" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="64"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="gender">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:length value="1"/>
                                  <xs:enumeration value="M"/>
                                  <xs:enumeration value="F"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="alt_email" type="emailType" minOccurs="0" xdb:SQLName="alt_email" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
                   <xs:element name="addresses" type="addressesType" minOccurs="0" xdb:SQLName="addresses" xdb:SQLType="ADDRESSESTYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true">
                        <xs:key name="addressesKey">
                             <xs:selector xpath="address"/>
                             <xs:field xpath="@label"/>
                        </xs:key>
                        <xs:keyref name="addressRef" refer="addressesKey">
                             <xs:selector xpath="."/>
                             <xs:field xpath="@main"/>
                        </xs:keyref>
                   </xs:element>
                   <xs:element name="phones" type="phonesType" minOccurs="0" xdb:SQLName="phones" xdb:SQLType="PHONESTYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true">
                        <xs:key name="phoneKey">
                             <xs:selector xpath="phone"/>
                             <xs:field xpath="@label"/>
                        </xs:key>
                        <xs:keyref name="phoneRef" refer="phoneKey">
                             <xs:selector xpath="."/>
                             <xs:field xpath="@main"/>
                        </xs:keyref>
                   </xs:element>
                   <xs:element name="language" type="xs:language" xdb:SQLName="language" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
                   <xs:element name="logins" type="loginsType" minOccurs="0" xdb:SQLName="logins" xdb:SQLType="LOGINSTYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true">
                        <xs:key name="loginsKey">
                             <xs:selector xpath="login"/>
                             <xs:field xpath="@product"/>
                        </xs:key>
                   </xs:element>
                   <xs:element name="origin" minOccurs="0" xdb:SQLName="origin" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:annotation>
                             <xs:documentation>iso3166 a2 country code</xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:length value="2"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="creation_date" type="xs:dateTime" xdb:SQLType="TIMESTAMP WITH TIME ZONE" xdb:SQLName="creation_date" xdb:SQLInline="true"/>
                   <xs:element name="modified_date" type="xs:dateTime" xdb:SQLType="TIMESTAMP WITH TIME ZONE" xdb:SQLName="modified_date" xdb:SQLInline="true"/>
                   <xs:element name="password" xdb:SQLName="password" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="32"/>
                                  <xs:pattern value="[a-zA-Z0-9]+"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="hint" minOccurs="0" xdb:SQLName="hint" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="32"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="additional" type="xs:anyType" minOccurs="0">
                        <xs:annotation>
                             <xs:documentation>future expansion</xs:documentation>
                        </xs:annotation>
                   </xs:element>
              </xs:all>
              <xs:attribute name="email" type="emailType" use="required" xdb:SQLName="email" xdb:SQLType="VARCHAR2"/>
              <xs:attribute name="active" type="xs:boolean" use="required"/>
         </xs:complexType>
         <xs:complexType name="phonenumberType" xdb:SQLType="PHONENUMBERTYPE" xdb:SQLSchema="SRU">
              <xs:simpleContent>
                   <xs:extension base="xs:string">
                        <xs:attribute name="label" type="labelType" use="required" xdb:SQLName="label" xdb:SQLType="VARCHAR2"/>
                   </xs:extension>
              </xs:simpleContent>
         </xs:complexType>
         <xs:element name="profile" type="profileType" xdb:defaultTable="PROFILES" xdb:SQLName="profile" xdb:SQLType="PROFILETYPE" xdb:SQLSchema="SRU" xdb:defaultTableSchema="SRU"/>
         <xs:complexType name="linesType" xdb:SQLType="LINESTYPE" xdb:SQLSchema="SRU">
              <xs:sequence>
                   <xs:element name="line" type="lineType" maxOccurs="unbounded" xdb:SQLName="line" xdb:SQLType="LINETYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true" xdb:SQLCollType="line354_COLL" xdb:SQLCollSchema="SRU" xdb:maintainOrder="false"/>
              </xs:sequence>
         </xs:complexType>
    </xs:schema>

    IT would help if the people that are working this issue would post the resolve of their problems. Every post I see with this problem someone from oracle replies with needing the source project to replicate the issue and the thread dies....

  • Cannot open in Dreamweaver, to edit maybe because of this line " ?php defined('SYSPATH') or die('No direct access allowed.');"

    Because of  this line "<?php defined('SYSPATH') or die('No direct access allowed.');" at the onset of my php script I can not open my site in dreamweaver. How do I define the "syspath" for dreamweaver so it can be opened?
    Please assist me if possible to open my site in dreamweaver. I contacted tech support who were unable to assist me and referred me to the forums. If anyone know how to resolve this please let me know. Thanks

    Now that I have found the "index.php" file and uploaded it to wamp/www, I am not quite sure how to proceed to successfully integrate it in my localserver files for use in dreamweaver.   For quick reference the syspath definition is:
    // Define the absolute paths for configured directories
    define('APPPATH', realpath($application).DIRECTORY_SEPARATOR);
    define('KOMODPATH', realpath($komodules).DIRECTORY_SEPARATOR);
    define('MODPATH', realpath($modules).DIRECTORY_SEPARATOR);
    define('COMMONPATH', realpath($common).DIRECTORY_SEPARATOR);
    define('SYSPATH', realpath($system).DIRECTORY_SEPARATOR);
    Please advise. Thank you.
    Below I have pasted the full "index.php" script.
    <?php
    * Debug variable used in Bootstrap, this will setup the Kohana::$environment =  Kohana::DEVELOPMENT;
    * Seted to TRUE:
    *  - disables the cache, 
    *  - enable the profiler in the bottom of the page
    *  - Enable logs for anything (false=only ERRORs)
    *  - Displays the full error stack instead of friendly page
    define('OC_DEBUG', FALSE);
    * Where the application for Open Classifieds is installed.
    $application = '/oc';
    * The directory in which your external modules are located.
    $modules = $application.'/modules';
    * The directory in which the Kohana resources are located. The system
    * directory must contain the classes/kohana.php file.
    * @see  http://kohanaframework.org/guide/about.install#system
    $system = $application.'/kohana/system';
    * The directory in which KO modules are located.
    * @see  http://kohanaframework.org/guide/about.install#modules
    $komodules = $application.'/kohana/modules';
    * The directory where common Open Classifieds files are
    * @see https://github.com/open-classifieds/common
    * @see https://github.com/open-classifieds/openclassifieds2/blob/master/CONTRIBUTING.md
    $common = $application.'/common';
    * The default extension of resource files. If you change this, all resources
    * must be renamed to use the new extension.
    * @see  http://kohanaframework.org/guide/about.install#ext
    define('EXT', '.php');
    * Set the PHP error reporting level. If you set this in php.ini, you remove this.
    * @see  http://php.net/error_reporting
    * When developing your application, it is highly recommended to enable notices
    * and strict warnings. Enable them by using: E_ALL | E_STRICT
    * In a production environment, it is safe to ignore notices and strict warnings.
    * Disable them by using: E_ALL ^ E_NOTICE
    * When using a legacy application with PHP >= 5.3, it is recommended to disable
    * deprecated notices. Disable with: E_ALL & ~E_DEPRECATED
    ini_set('display_errors', 'On');
    # Error reporting may look like this but E_ALL is only what we need
    error_reporting(E_ALL & ~E_DEPRECATED);
    * End of standard configuration! Changing any of the code below should only be
    * attempted by those with a working knowledge of Kohana internals.
    * @see  http://kohanaframework.org/guide/using.configuration
    // Set the full path to the docroot
    define('DOCROOT', realpath(dirname(__FILE__)).DIRECTORY_SEPARATOR);
    // Make the application relative to the docroot, for symlink'd index.php
    if ( ! is_dir($application) AND is_dir(DOCROOT.$application))
        $application = DOCROOT.$application;
    // Make the modules relative to the docroot, for symlink'd index.php
    if ( ! is_dir($modules) AND is_dir(DOCROOT.$modules))
        $modules = DOCROOT.$modules;
    // Make the modules relative to the docroot, for symlink'd index.php
    if ( ! is_dir($komodules) AND is_dir(DOCROOT.$komodules))
        $komodules = DOCROOT.$komodules;
    // Make the common module relative to the docroot, for symlink'd index.php
    if ( ! is_dir($common) AND is_dir(DOCROOT.$common))
        $common = DOCROOT.$common;
    // Make the system relative to the docroot, for symlink'd index.php
    if ( ! is_dir($system) AND is_dir(DOCROOT.$system))
        $system = DOCROOT.$system;
    // Define the absolute paths for configured directories
    define('APPPATH', realpath($application).DIRECTORY_SEPARATOR);
    define('KOMODPATH', realpath($komodules).DIRECTORY_SEPARATOR);
    define('MODPATH', realpath($modules).DIRECTORY_SEPARATOR);
    define('COMMONPATH', realpath($common).DIRECTORY_SEPARATOR);
    define('SYSPATH', realpath($system).DIRECTORY_SEPARATOR);
    // Clean up the configuration vars
    unset($application, $modules, $komodules,$common, $system);
    // OC install
    if (file_exists(DOCROOT.'install/install.lock'))
        // Load the installation check
        return include DOCROOT.'install/index'.EXT;
    * Define the start time of the application, used for profiling.
    if ( ! defined('KOHANA_START_TIME'))
        define('KOHANA_START_TIME', microtime(TRUE));
    * Define the memory usage at the start of the application, used for profiling.
    if ( ! defined('KOHANA_START_MEMORY'))
        define('KOHANA_START_MEMORY', memory_get_usage());
    // Bootstrap the application
    require APPPATH.'bootstrap'.EXT;
    if ( ! defined('SUPPRESS_REQUEST'))
         * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].
         * If no source is specified, the URI will be automatically detected.
        echo Request::factory()
            ->execute()
            ->send_headers()
            ->body();

  • How to define a report manager ?

    Hello Friends,
    I'm a newbie to Oracle Apps R12. I have created a user TEST and have assigned responsibilities : General Ledger User, General Ledger Super User, Financial Management, Report Manager, Report Manager Public Reports.
    But when i try to run the report 'Chart of Accounts - Account Hierarchy', i get the following error.
    Phase : Inactive
    Status : No Manager
    Request ID : 4348352
    Diagnostics : This request will not be processed because there are currently no managers running that can process it. This is an error condition. There are one or more managers defined that can process this request that should be running at this time, but do not appear to be running. Contact your system administrator and/or check the manager log files for errors.
    I guess i need to have a report manager. And i read the following somewhere,
    " The Report Manager seeded functions need to be assigned manually by the System administrators to appropriate responsibilities based on the types of reports a user submits and publishes in their job. For example, a system administrator might assign the Financial Report Template Editor and Financial Report Submission functions to an existing General Ledger responsibility already used for submitting Financial Reports by General Ledger users."
    But my question is how do i add functions to a existing responsibility.
    For starters, i need to be able to run an existing report.
    Pls guide me.
    Thanks,
    Amol
    Message was edited by:
    OraMol

    The Standard manager and the Conflict Resolution manager and most of other managers have now started. It was only that the Node value was not defined for these managers. I updated it and they were activated.
    Please excuse me as being a beginner, my questions may seem silly.
    Now, how do i view a report output after submitting a report request ?
    Will the output appear as a link and where? If i can specify it, where do i specify it ?
    What Responsibility do i need to assign to the user to be able to view the output?
    I am reading the Oracle Report Managers User Guide, its just that i'm not being able to map the theory and practical that accurately (lack of screenshots in the docs). So, a few practical operational tips will surely help me a lot in this regard.
    In the documentation its said that "The system administrator assigns Report Manager menu items to various responsibilities. Following are the available menu items:
    • Financial Report Submission... etc "
    But i could not assign the Financial Report Submission responsibility to my Test user in Sysadmin login. The said Report Manager responsibilities were not available in the LOV.
    Thanks.
    Message was edited by:
    OraMol

  • CJ718 - Currency in requesting company code must be company code currency

    Hi Colleagues,
        I need to define in the WBS element "Requesting cost center field" in (CJ20N tcode) the cost center with different currency and controlling area, howerver the system does not allow and the follow message was showed "CJ718 - Currency in requesting company code must be company code currency".
        I would like to know,  is this possible? How can I do it?
    Kind Regards,
    Lima, Vanderlin.

    I dont think this is possible. Read this Note 201049 - Different company code currencies in WBS element , This note doesnt solve your purpose it is to correct if system allows you to assign different company code currencies and it clearly says that if you have different company code currency in a WBSE then you will have problem in settlement, so this is not allowed.

  • OSB question : passing a user defined transport header to a proxy service

    Hi All,
    I have a proxy service that calls another proxy service. The protocol for the "called proxy service" is set to local. The calling proxy service has a "transport header" action to add a user defined header to the outbound request.
    I log the outbound request in the calling proxy service before publishing/calling the other proxy service. It does have header set as expected. But the called proxy service does not get this header.
    As a note in the "transport" tab "get all headers" is set to true.
    Please suggest
    Here is the outbound xml gets printed just before calling the proxy service
    <con:endpoint name="BusinessService$userProvisioning$businessService$HttpMessageSender" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service/>
    <con:transport>
    <con:uri>http://localhost:8064/ProvisioningService/</con:uri>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:user-header name="JMS_BEA_RedeliveryLimit" value="1"/>
    <tran:user-header name="JMSDeliveryMode" value="2"/>
    <tran:user-header name="JMSExpiration" value="0"/>
    <tran:user-header name="JMSMessageID" value="ID:&lt;914937.1294164899050.0>"/>
    <tran:user-header name="JMSPriority" value="4"/>
    <tran:user-header name="JMSRedelivered" value="false"/>
    <tran:user-header name="JMSTimestamp" value="1294164899050"/>
    <tran:user-header name="JMSXDeliveryCount" value="1"/>
    *<tran:user-header name="reResolvedAddress" value="http://LPF004689:8080/axis2/services/provisioning/"/>*
    *<tran:user-header name="reResolvedRegion" value="MB"/>*
    <http:Content-Type>application/soap+xml; charset=utf-8</http:Content-Type>
    </tran:headers>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    </con:transport>
    <con:security>
    <con:doOutboundWss>false</con:doOutboundWss>
    </con:security>
    </con:endpoint>>
    And here is the inbound xml getting printed inside the called proxy service
    inbound="<con:endpoint name="ProxyService$userProvisioning$proxyService$LocalSoapListener" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service/>
    <con:transport>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="loc:LocalRequestMetaData" xmlns:loc="http://www.bea.com/wli/sb/transports/local" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="loc:LocalRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports"/>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="loc:LocalResponseMetaData" xmlns:loc="http://www.bea.com/wli/sb/transports/local" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="loc:LocalResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports"/>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:transportClient>
    <con:username>&lt;anonymous></con:username>
    </con:transportClient>
    </con:security>
    </con:endpoint>"

    Hi,
    We are using OSB 11g for sending message to external client.
    we are setting Headers "JMSType" in set Transport Header. but Client is not able to recieve the JMSType header at there side.
    we have read many forums for the same and turned on
    Pass all Headers through Pipeline
    Get All Headers
    then I put one publish action and keep my "Set Transport Header" inside that. still client is not able to find the same
    In out outbound request we can see the header as following.
    $outbound = <con:endpoint name="BusinessService$Notification$BusinessService$external$BUSINESSSERVICE:con="http://www.bea.com/wli/sb/context">
    <con:service/>
    <con:transport>
    <con:uri></con:uri>
    <con:mode>request</con:mode>
    <con:qualityOfService>exactly-once</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:user-header name="JMSType" value="XXXXXXX">
    <http:Content-Type>text/plain; charset=utf-8</http:Content-Type>
    </tran:headers>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:user-header name="content-description" value="SOAP"/>
    <tran:user-header name="content-disposition" value="attachment;filename=&quot;[email protected]&quot;"/>
    <tran:user-header name="content-id" value="&lt;[email protected]>"/>
    <http:Cache-Control>proxy-revalidate</http:Cache-Control>
    <http:Connection>Keep-Alive</http:Connection>
    <http:Content-Length>112</http:Content-Length>
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    <http:Date>Sun, 02 Sep 2012 04:06:43 GMT</http:Date>
    <http:Server>XXXXXXXXXerver>
    <http:Set-Cookie><![CDATA[<cookie-values xmlns="http://www.bea.com/wli/sb/transports/http">
    <value>JSESSIONID=m2RvGs2_Lvk_AZgyVJIv_e2-vSiFOQFi_mIA_SAPULGAKriCp_hbBD8uC0e8pEXt; Version=1; Path=/</value>
    <value>saplb_*=(spspiq_PIQ_00)6487650; Version=1; Path=/</value>
    </cookie-values>]]></http:Set-Cookie>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    <tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">OK</tran:response-message>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    <http:http-response-code>200</http:http-response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:doOutboundWss>false</con:doOutboundWss>
    </con:security>
    </con:endpoint>

  • Allow Incompatibility in Request Sets

    Hi,
    We have a requirement to allow incompatibility between two request sets A and B in our R12 instances.
    I checked the checkbox using SYSADMIN responsibility in DEV instances, defined the incompatibility in the request set concurrent programs. It's working fine in DEV instance. But, when I download these ldts and apply them in PROD instance (i don't have SYSADMIN access there), the incompatibility is failing.
    Please let me know the reason for this and How to overcome this issue?
    Regards
    Bhushan

    Thanks Everyone for Help
    Yes, the upload mode and custom mode were used same as suggested Hussein. The Incompatibility was set in the conc programs as well, for setting the Incompatibility in Request Sets i had referred to this link -
    http://docs.oracle.com/cd/A60725_05/html/comnls/us/fnd/repset03.htm
    Finally, I just re downloaded the ldts from DEV and re-applied to the Test instance. Got the CMs bounced as suggested by Srini and it worked. Just need to take care that, we FTP the LDTs in ASCII mode instead of binary(default) mode.
    Regards
    Bhushan

  • Request full request

    Hi Gurus,
    could you please give some details on repare full request.
    what are the precautions we have to take.
    and it should be on existing infopackage or not?
    and it is again on full infopackage or delta infopackage.
    Please it is very urgent for me ,I have to do repair full request .....and iam very new to this topic.
    please respond it asap..
    Thanks in advance..
    Regards.
    Surya.

    Hi,
    Check it,
    Repair full request
    you can delete the full request from the infopackage by selecting data target tabin the infocube column you can find the do not delete push button there you define the deletion of your request by selecting deleting exiting requestthen check box full or initial data load.
    this is the correct way of deleting the previous request from infocube.
    Delta loading not possible if FULL requests already available in ODS from same datasource & souce system combination, In order to delta's FULL requests should be changed to Repair FULL full requests. Then system allows Deltas.
    Repair Full Request
    Assign points if it help's
    Thanks
    santosh

  • I have to create an external defination which can refer the ED of IDOC .

    Hi Expert ,
    I have a scenario in which the source side is idoc and target side is mesaage header + idoc strucure .then we have to send the IDOC XML along with the header field to target .I am facing the problem in creation the target structure . My target strucure is :
    ED_CommonMessage
        <Header>
             <field1>
             < field2>
         <field n>
    </Header>
    <payload>
    <idoc str...>
    </Payload>
    I have created the XSD for header and in that under payload I am refering the IDOC XSD . I have also icluded the IDOC XSD . In Altova its coming fine .   In IR (external defination) i am exporting both the XSD (the IDOC and the Main one) . Again on IDOC ED source I am writng the main ED name also Moreover in the Main ED External Referneces the name of IDOC ED is also coming . But when in message mapping  I am opening the Main ED then the idoc structure is not coming there .only the idoc name is coming other details are missing.
    PFA the XSD which I am importing as Main ED.
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mns="marksspencer.com/is/2009/schemas/envelope/" targetNamespace="marksspencer.com/is/2009/schemas/envelope/" elementFormDefault="qualified" attributeFormDefault="unqualified">
         <xs:include schemaLocation="BLAORD_BLAORD03_ZMDE_BLAORDEXT01.xsd"/>
         <xs:element name="MnSDocument">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="mns:Header"/>
                        <xs:element ref="mns:Payload"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Header" type="mns:HeaderType">
              <xs:annotation>
                   <xs:documentation/>
              </xs:annotation>
         </xs:element>
         <xs:complexType name="HeaderType">
              <xs:sequence>
                   <xs:element name="MessageId" type="xs:string">
                        <xs:annotation>
                             <xs:documentation>A unique identifier of the message provided by source application and should be of format.  Format should be "SourceSystemName-SystemDefinedUID"</xs:documentation>
                        </xs:annotation>
                   </xs:element>
                   <xs:element name="CorrelationId" type="xs:string" minOccurs="0">
                        <xs:annotation>
                             <xs:documentation>Application defined correlation id - used for request response interfaces only</xs:documentation>
                        </xs:annotation>
                   </xs:element>
                   <xs:element name="CreatedTimestamp" type="xs:dateTime">
                        <xs:annotation>
                             <xs:documentation>The timestamp of when the message was created</xs:documentation>
                        </xs:annotation>
                   </xs:element>
                   <xs:element name="SourceApplicationName" type="xs:string">
                        <xs:annotation>
                             <xs:documentation>Name of the sending application</xs:documentation>
                        </xs:annotation>
                   </xs:element>
                   <xs:element name="InterfaceId" type="xs:string">
                        <xs:annotation>
                             <xs:documentation>Reference to the RICEF IRI value assigned to the interface</xs:documentation>
                        </xs:annotation>
                   </xs:element>
                   <xs:element name="InterfaceName" type="xs:string">
                        <xs:annotation>
                             <xs:documentation>Reference to the name assigned to the interface in the RICEF.</xs:documentation>
                        </xs:annotation>
                   </xs:element>
                   <xs:element name="PayloadName" type="xs:string">
                        <xs:annotation>
                             <xs:documentation>Name of the payload type present in the message.</xs:documentation>
                        </xs:annotation>
                   </xs:element>
                   <xs:element name="BatchMessageCount" type="xs:int">
                        <xs:annotation>
                             <xs:documentation>Number of GBOu2019s or Common Data Models present within the message.</xs:documentation>
                        </xs:annotation>
                   </xs:element>
                   <xs:element name="BatchRecordCount" type="xs:int">
                        <xs:annotation>
                             <xs:documentation>number of individual business records within the batch e.g. total number of purchase orders.</xs:documentation>
                        </xs:annotation>
                   </xs:element>
                   <xs:element ref="mns:IntegrationExtension" minOccurs="0">
                        <xs:annotation>
                             <xs:documentation>extension area for the integration processing only</xs:documentation>
                        </xs:annotation>
                   </xs:element>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="IntegrationExtension" type="mns:IntegrationExtensionType">
              <xs:annotation>
                   <xs:documentation/>
              </xs:annotation>
         </xs:element>
         <xs:complexType name="IntegrationExtensionType">
              <xs:sequence>
                   <xs:any minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="Payload" type="mns:PayloadType">
              <xs:annotation>
                   <xs:documentation/>
              </xs:annotation>
         </xs:element>
         <xs:complexType name="PayloadType">
              <xs:sequence>
                   <xs:element ref="mns:ZMDE_BLAORDEXT01" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
         </xs:complexType>
    </xs:schema>
    Regards.
    Saurabh Sharma

    Hi Saurabh,
    What is your target sytem?
    And how you fill up the below header fields in target structure, I mean will they have fixed values or dynamic.....
    <Header>
    <field1>
    < field2>
    <field n>
    </Header>
    Regds,
    - Gujjeti.
    Edited by: Praveen Gujjeti on Mar 19, 2009 3:25 PM

  • KF defaulting to multiple sources, both defined at more granular planning levels

    Hello Experts,
    I hope this will be an easy one for you Personally, I have been trying to figuring out how to overcome this issue and I must admit that I am short of solution.
    So here is the situation:
    I have two sets of data for my actual sales :
    - First one is loaded at planning level @ Period | Product | National Group | Point of Sales(POS)
    - The other is loaded @ Period | Product | National Group | Ship-To Party
    To get a valid portrait of my actual sales, I must compare these two sets of data at a common planning level (i.e. @ Period | Product | National Group).
    Then, the adjusted result must be "re"disaggregated @ Period | Product | National Group | Point of Sales, the base planning level used to forecast. 
    Based on what I could understand from SAP2 model, I created the following key figures:
    ActualsQtyPOS : Stored at base planning level @PERPRODNATPOS and calculated @PERPRODNAT. Here are the 2 calculation definitions I used:
    ActualsQtyPOS@REQUEST = SUM ("ActualsQtyPOS@ERPRODNATPOS")
    ActualsQtyPOS@PERPRODNAT = SUM ("ActualsQtyPOS@ERPRODNATPOS")
    ActualsQtyShipTo : Stored at base planning level @PERPRODNATSHIPTO and calculated @PERPRODNAT. Defined with this calculation:
    ActualsQtyShipTo@REQUEST = SUM ("ActualsQtyShipTo@PERPRODNATPOS")
    ActualsQtyShipTo@PERPRODNAT = SUM ("ActualsQtyShipTo@PERPRODNATPOS")
    AdjustedActualsQty : Created at base planning level @PERPRODNAT. This KF must be stored and editable. The value must be defaulted to ActualsQtyPOS@PERPRODNAT, unless no data exist (then, default to ActualsQtyShipTo@PERPRODNAT).
    AdjustedActualsQty@REQUEST=SUM ("AdjustedActualsQty@PERPRODNAT")
    AdjustedActualsQty@PERPRODNAT=IF(ISNULL("AdjustedActualsQty@PERPRODNAT"),IF(ISNULL("ActualsQtyPOS@PERPRODNAT"),"ActualsQtyShipTo@PERPRODNAT","ActualsQtyPOS@PERPRODNAT"),"AdjustedActualsQty@PERPRODNAT").
    My issue : I tried several (and I mean several!) configuration possibilities. So far, the best result that I got was to default the good value in AdjustedActualsQty based on the calculation rule above. But my core problem persists: I am not able to edit manually the defaulting value and save the new value in the database.
    Based on my comprehension, the problem would be related to ActualsQtyPOS and ActualsQtyShipTo Key Figures. Both are stored at a more granular planning level, and then calculated @PERPRODNAT level. In addition to storing them at their base planning level, would it be possible to store the aggregated results at a higher level (@PERPRODNAT)? This way, I would be able to use them as stored input in AdjustedActualsQty@PERPRODNAT calculation and duplicate the AdjustedActualsQty KF used in SAP2.
    Any help would be greatly appreciate.
    (I tried to summarize the best I can, don't hesitate if you need more details on some points.)
    Best regards

    Hi Philippe
    you dont  need access to HANA, it is pure config
    Go to Configuration -> Miscellanious --> Manage Planning Operator
    If not existing yet, create a new type by clicking on teh white "sheet" symbole "create new" on the right side.
    In the popup enter the EXACT name COPY (not more than one possible):
    Provide info for "Add Job Procedure" and "Schedule Procedure":
    Add Job Procedure = "SAP_SFND"."sap.sop.sopfnd.catalogue::SOPAPI_OPERATOR_SCHEDULER_JOB_ADD"
    Schedule Procedure = "SAP_SFND"."sap.sop.sopfnd.catalogue::SOPAPI_EXECUTE_SCHEDULER_COPY_JOB"
    Than add you operator lines by clicking on the plus symbol
    with the following parameter:
    DURATION
    PERIOD_OFFSET
    SOURCE_KFID1
    SOURCE_KFID2
    DURATION: e.g. 24 if you want to copy 24 months
    PERIOD_OFFSET: e.g. 0 when you want to copy starting current months, or -1 if you want to start previous months
    SOURCE_KFID1: starting keyfigure FROM which you copy. MUST NOT have any UoM or currency conversion
    TARGET_KFID1: your target keyfigure. UoM or currency conversion in here is allowed
    You could have SOURCE_KFID2 and TARGET_KFID2 as well. And you can have more than just one line.
    Flag the batch and filter mode flags, but not interactive (not supported yet)
    Provide a useful DESCRIPTION as that is seen by the users
    Make sure that not too many users get the authoriozation for it as if you execute that withiout a filter accidentially it does not only change all values, but if you run more than one at a time that migt get to conflicts. Like normal batch jobs: You usually give admins or power users access
    It copies on the very lowest possible level. You cannot tell the system as in APO-DP to copy on an aggregated level. PLus, source and target kf must have the same planning level. So you may copy from a calculated kf that does the calculation on the level of the target kf
    Dont have any docu, sorry. Hope that helps
    Yours
    Irmi

  • Request against is running?

    Hi,
    I am using the following SQL to determine whether a program is runniing or not:
      select  count(*)
      into    l_Cnt
      from    FND_Concurrent_Programs     fcp
             ,FND_Concurrent_Requests     fcr
      where   fcp.Application_ID          = 20003
      and     fcr.Concurrent_Program_ID   = fcp.Concurrent_Program_ID
      and     fcr.Argument1               = cp_sob_id
      and     fcr.Phase_Code              in ('R', 'P') -- 'P' refers to "PENDING" and 'R' to "RUNNING"
      and     fcp.Concurrent_Program_Name = 'GLLEZL' ;How can I determine if a request set is running or not?

    thx for the help Hussein,
    I have a much more complex problem now, and I'm hoping you can shed some light on the matter!!
    I think the SQL that I need is something like this:
    select  count(*)
      into    l_Cnt
      from    FND_Run_Requests            frr
             ,FND_Concurrent_Requests     fcr
             ,fnd_request_sets            frs
      where   frs.request_set_name        ='RBSGLIMPJNLSSOB'
      and     frs.Request_Set_ID          = fcr.Request_Set_ID
      and     frr.Parent_Request_ID       = fcr.Parent_Request_ID
      and     fcr.Argument1               = cp_sob_id
      and     fcr.Phase_Code              in ('R', 'P')However, the request set, which I created using the code in Appendix A below, is made up of two spawned programs, GLLEZL & GLPPOS, both of which require the "Set of Books ID" (SOB ID) as a parameter. GLLEZL takes SOB ID as the 2nd argument whilst GLPPOS takes SOB ID as the 1st argument.
    I am aware one can setup a shared parameter within a request set using the following built in proc;
    fnd_set.program_parameter (program                in varchar2
                              ,program_application    in varchar2
                              ,request_set            in varchar2
                              ,set_application        in varchar2
                              ,stage                  in varchar2
                              ,program_sequence       in number
                              ,parameter              in varchar2
                              ,display                in varchar2 default 'y'
                              ,modify                 in varchar2 default 'y'
                              ,shared_parameter       in varchar2 default null
                              ,default_type           in varchar2 default null
                              ,default_value          in varchar2 default null);
    The questions I have are;
    1. How will the SQL above change if I create two such shared parameters? Bear in mind I would like to check if a request set is running against a specific SOB ID
    2. How will the two calls to FND_SUBMIT.SIBMIT_PROGRAM, listed in APPENDIX B, change if I introduce a shared parameter ?
    3. I do not fully understand the following Oracle documentation on FND_SUBMIT.PROGRAM_PARAMETER
    >
    This procedure registers shared parameter information and
    the request set level overrides of program parameter
    attributes.
    >
    I realise that I have posted a lot of code, and I hope it does not seem too overwhelming. The purpose of what of I am attempting is to run the import/post from the backend in parallel per each SOB ID, hence I have created a request set.
    Any help would be much appreciated!
    P;
    APPENDIX A
    set serveroutput on
    declare
      l_App                 varchar2(10) := 'SQLGL';
      l_Req_Set_Name        varchar2(20) := 'RBSGL_AUTO_IMP_POST';
      l_Req_Set_Short_Name  varchar2(20) := 'RBSGL_AUTO_IP';
      l_Imp_Prg             varchar2(20) := 'GLLEZL';
      l_Post_Prg            varchar2(20) := 'GLPPOS';
      l_Continue            boolean := true;
    begin
      dbms_output.put_line('----------------------------------------------------------------------- ');
      -- CREATE SET FIRST
      begin
        fnd_set.delete_set(request_set => l_Req_Set_Short_Name
                          ,application => l_App);
        dbms_output.put_line(' Request set, ' || l_Req_Set_Name || ', deleted');
        commit;
        exception
          when others then
            dbms_output.put_line(' Request set, ' || l_Req_Set_Name || ', does not exist');
      end;
      begin
        fnd_set.create_set        (name                       => l_Req_Set_Name
                                  ,short_name                 => l_Req_Set_Short_Name
                                  ,application                => l_App
                                  ,description                => 'RBSGL Automatic Import and Posting'
                                  ,owner                      => null --
                                  ,start_date                 => sysdate
                                  ,end_date                   => null
                                  ,print_together             => 'N' -- printing specific parameter, which is irrelevant in this context
                                  ,incompatibilities_allowed  => 'N'
                                  ,language_code              => 'US');
        dbms_output.put_line('Request Set, ' || l_Req_Set_Name || ', created sucessfully ');
        commit;
        exception
          when others then
            l_Continue := false;
            dbms_output.put_line('Request Set, ' || l_Req_Set_Name || ', could not be created; ' || sqlerrm);
      end;
      -- CREATE FIRST STAGE
      dbms_output.put_line('----------------------------------------------------------------------- ');
      if (l_Continue) then
        begin
          fnd_set.remove_stage(request_set      => l_Req_Set_Short_Name
                              ,set_application  => l_App
                              ,stage            => 'STAGE10_IMPORT');
          commit;
          dbms_output.put_line('Stage, STAGE10_IMPORT, removed sucessfully from set, ' || l_Req_Set_Name);
          exception
            when others then
              dbms_output.put_line('Stage, STAGE10_IMPORT, removed sucessfully from set, ' || l_Req_Set_Name);
        end;
        begin
          fnd_set.add_stage         (name                       => 'STAGE10_IMPORT'
                                    ,request_set                => l_Req_Set_Short_Name
                                    ,set_application            => l_App
                                    ,short_name                 => 'STAGE10_IMPORT'
                                    ,description                => 'RBSGL Import Stage '
                                    ,display_sequence           => 1
                                    ,function_short_name        => 'FNDRSSTE' -- This is a standard string that needs to be supplied
                                    ,function_application       => 'FND' -- This is a standard string that needs to be supplied
                                    ,critical                   => 'Y'
                                    ,incompatibilities_allowed  => 'Y'
                                    ,start_stage                => 'Y'
                                    ,language_code              => 'US');
          dbms_output.put_line('Stage, STAGE10_IMPORT, sucessfully added');
          commit;
          exception
            when others then
              l_Continue := false;
              dbms_output.put_line('Stage, STAGE10_IMPORT, could not be added to request set, ' || sqlerrm);
        end;
      end if;
      if (l_Continue) then
        begin
          fnd_set.add_program       (program                    => l_Imp_Prg
                                    ,program_application        => l_App
                                    ,request_set                => l_Req_Set_Short_Name
                                    ,set_application            => l_App
                                    ,stage                      => 'STAGE10_IMPORT'
                                    ,program_sequence           => 1
                                    ,critical                   => 'Y'
                                    ,number_of_copies           => 0
                                    ,save_output                => 'Y');
          dbms_output.put_line('Program, ' || l_Imp_Prg || ', added sucessfully to request set, ' || l_Req_Set_Name );
          commit;
          exception
            when others then
              l_Continue := false;
              dbms_output.put_line('Program, ' || l_Imp_Prg || ', could not be added to request set, ' || l_Req_Set_Name || ' ' || sqlerrm );
        end;
      end if;
      -- No need to add parameters, since parameters are defined against the program using fnd_program.add_parameter
      -- Only shared parameters are specified
      -- CREATE SECOND STAGE
      if (l_Continue) then
        dbms_output.put_line('----------------------------------------------------------------------- ');
        begin
          fnd_set.remove_stage(request_set      => l_Req_Set_Short_Name
                              ,set_application  => l_App
                              ,stage            => 'STAGE20_POST');
          commit;
          dbms_output.put_line('Stage, STAGE20_POST, removed sucessfully from request set, ' || l_Req_Set_Name);
          exception
            when others then
              dbms_output.put_line('Stage, STAGE20_POST, removed sucessfully from request set, ' || l_Req_Set_Name);
        end;
        begin
          fnd_set.add_stage         (name                       => 'STAGE20_POST'
                                    ,request_set                => l_Req_Set_Short_Name
                                    ,set_application            => l_App
                                    ,short_name                 => 'STAGE20_POST'
                                    ,description                => 'RBSGL Post Stage '
                                    ,display_sequence           => 2
                                    ,function_short_name        => 'FNDRSSTE' -- This is a standard string that needs to be supplied
                                    ,function_application       => 'FND' -- This is a standard string that needs to be supplied
                                    ,critical                   => 'Y'
                                    ,incompatibilities_allowed  => 'Y'
                                    ,start_stage                => 'Y'
                                    ,language_code              => 'US');
          commit;
          dbms_output.put_line('Stage, STAGE20_POST, sucessfully added');
          exception
            when others then
              l_Continue := false;
              dbms_output.put_line('Stage, STAGE20_POST, could not be added to request set, ' || sqlerrm);
        end;
      end if;
      if (l_Continue) then
        begin
          fnd_set.add_program       (program                    => l_Post_Prg
                                    ,program_application        => l_App
                                    ,request_set                => l_Req_Set_Short_Name
                                    ,set_application            => l_App
                                    ,stage                      => 'STAGE20_POST'
                                    ,program_sequence           => 2
                                    ,critical                   => 'N'
                                    ,number_of_copies           => 0
                                    ,save_output                => 'Y');
          commit;
          dbms_output.put_line('Program, ' || l_Post_Prg || ', added sucessfully to request set, ' || l_Req_Set_Name );
          exception
            when others then
              dbms_output.put_line('Program, ' || l_Post_Prg || ', could not be added to request set, ' || l_Req_Set_Name || ' ' || sqlerrm );
              l_Continue := false;
        end;
      end if;
      if (l_Continue) then
        dbms_output.put_line('----------------------------------------------------------------------- ');
        begin
          fnd_set.link_stages(request_set                     => l_Req_Set_Short_Name
                             ,set_application                 => l_App
                             ,from_stage                      => 'STAGE10_IMPORT'
                             ,to_stage                        => 'STAGE20_POST'
                             ,success                         => 'Y'
                             ,warning                         => 'Y');
          commit;
          dbms_output.put_line('Stages for requested set, ' || l_Req_Set_Name || ', linked sucessfully');
          exception
            when others then
              dbms_output.put_line('Stages for requested set, ' || l_Req_Set_Name || ', could not be linked. ' || sqlerrm );
        end;
      end if;
      if (l_Continue) then
        dbms_output.put_line('----------------------------------------------------------------------- ');
        begin
          fnd_set.remove_set_from_group(l_Req_Set_Short_Name, l_App, 'GL Concurrent Program Group', l_App);
          dbms_output.put_line('Request set, ' || l_Req_Set_Name || ' removed from group "GL Concurrent_Group" in ' || l_App);
          commit;
          exception
            when others then
              dbms_output.put_line('Request set, ' || l_Req_Set_Name || ' does not exist within group "GL Concurrent_Group" in ' || l_App);
        end;
        begin
          fnd_set.add_set_to_group(l_Req_Set_Short_Name
                                 , l_App
                                 , 'GL Concurrent Program Group' -- Request Group Name
                                 , l_App); -- Report Group Application
          commit;
          dbms_output.put_line('Request set, ' || l_Req_Set_Name || ' sucessfully added to group "GL Concurrent_Group" in ' || l_App);
          exception
            when others then
              l_Continue := false;
              dbms_output.put_line('Request set, '|| l_Req_Set_Name || ', could not be added to group "GL Concurrent_Group", ' || sqlerrm );
        end;
      end if;
      dbms_output.put_line('----------------------------------------------------------------------- ');
      if (l_Continue) then
        dbms_output.put_line('Set Created sucessfully ');
      else
        dbms_output.put_line('Set was not created sucessfully ');
      end if;
      exception
        when others then
          dbms_output.put_line('Unknown error: ' || sqlerrm);
    end;
    APPENDIX B
    drop type tb_gli
    create or replace type ty_gli as object
    (SOB_id           number
    ,Group_ID         number
    ,Source_Name      varchar2(25)
    ,Interface_Run_ID number
    ,Autopost_ID      number
    ,Req_Set_ID       number
    ,Error_Msg        varchar2(200))
    create or replace type tb_gli as table of ty_gli
    -- Extract of code, not full listing!
      update GL_Interface gli
      set    gli.Group_ID  =  Gl_Interface_Control_S.nextval
      where  nvl(gli.Currency_Conversion_Date, gli.Accounting_Date) <= l_Max_Rate_Date
      and    gli.Set_of_Books_ID                                     = v_Set_Of_Books_ID
      returning ty_GLI (gli.Set_Of_Books_ID
                       ,gli.Group_ID
                       ,gli.User_JE_Source_Name
                       ,pkg_GL_Imp_Post.Get_Interface_Run_ID -- function defined within pkg above
                       ,pkg_GL_Imp_Post.Get_Autopost_ID(gli.User_JE_Source_Name) -- function defined within pkg above
                       ,0 -- request ID
                       ,null)
      bulk collect into l_GLI_Tab;
      insert into GL_Interface_Control ( Status
                                        ,JE_Source_Name
                                        ,Group_ID
                                        ,Set_Of_Books_ID
                                        ,Interface_Run_ID)
                             (select    'S' -- no need for an index hint, since data is now in memory
                                        ,gli.Source_Name
                                        ,gli.Group_ID
                                        ,gli.SOB_ID
                                        ,gli.Interface_Run_ID -- obtained from the function pkg_GL_Imp_Post.Get_Interface_Run_ID during the update
                              from       table(l_GLI_Tab) gli);
      r_ISet := Get_Init_Set(v_User, v_Resp);
      fnd_global.apps_initialize(r_ISet.n_User_ID, r_ISet.n_Resp_ID, r_ISet.n_App_ID);
      dbms_session.set_nls(param => 'nls_language'
                          ,value => v_Language);
      -- (1)
      b_Set_NLS := fnd_submit.set_nls_options(v_Language);
      b_Set_Mode := fnd_submit.set_mode (false); -- (2)
    -- (3) submit a request against the set
      b_Req_Set := fnd_submit.set_request_set (v_App_Name, v_Set_Code);
      if (b_Req_Set) and (b_Set_Mode) then
        for i in 1..l_GLI_Tab.count loop
         -- submit each stage/prg individually
          b_Run_Stg_Prg := fnd_submit.submit_program(v_App_Name
                                                    ,v_Stage1_P1 -- "GLLEZL"
                                                    ,v_Stage1_Code
                                                    ,l_GLI_Tab(i).Interface_Run_ID
                                                    ,l_GLI_Tab(i).SOB_ID
                                                    ,'N'
                                                    ,null
                                                    ,null
                                                    ,'N'
                                                    ,'O');
          -- Determine if the submission of the program was sucessful
          if (not b_Run_Stg_Prg) then
            v_Stg_Prg := v_Stage1_P1;
            raise SET_PRG_EXC;
          end if;
          b_Run_Stg_Prg := fnd_submit.submit_program(v_App_Name
                                                    ,v_Stage2_P1  -- "GLPPOS"
                                                    ,v_Stage2_Code
                                                    ,l_GLI_Tab(i).SOB_ID
                                                    ,l_GLI_Tab(i).Autopost_ID);
          -- Determine if the submission of the program was sucessful
          if (not b_Run_Stg_Prg) then
            v_Stg_Prg := v_Stage2_P1;
            raise SET_PRG_EXC;
          end if;
          -- Now the Set can be submitted
          n_Submit_Set := fnd_submit.submit_set;
          l_GLI_Tab(i).Req_Set_ID := n_Submit_Set; -- Update the iteration with
        end loop;
      else
        v_Stg_Prg := 'SET_REQUEST_EXC';
        raise SET_PRG_EXC;
      end if;
      -- check further using the WAIT_FOR_REQUEST, code not included!Edited by: bluefrog on Feb 3, 2010 10:21 AM

  • Send Get request from a servlet.

    Is it possible to send parameters from one servlet to another by using get? I don't want to use Post because the servlet recieving the parameters already has the post method doing something else. Any ideas?

    May you can use the RequestDispatcher for your use.
    Doc:
    public interface RequestDispatcher
    Defines an object that receives requests from the
    client and sends them to any resource (such as a servlet, HTML file, or JSP file) on the server.
    The servlet container creates the RequestDispatcher
    object, which is used as a wrapper around a server
    resource located at a particular path or given by a
    particular name.
    This interface is intended to wrap servlets, but a
    servlet container can create RequestDispatcher objects
    to wrap any type of resource.
    It send the requset with the same methode to an other resource. You don't have care about the parameter.
    Your code could look like this:
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException
            RequestDispatcher dispatcher = getServletConfig().getServletContext().getRequestDispatcher("/next");
            dispatcher.forward(request, response);
        }Dietmar

Maybe you are looking for