How variables are populated in APD

Hello Experts,
Currently my requirement is to pull data from virtual Infoprovider and keep it in flat file.
For this we are using APD option and is working fine
But in order to pull data from this infoprovider we need to give mandata values in filers like System status: 000 and APO Plant: XYZ
Now our requirement is we want to keep a variable on Plant selection. And every time this APD is executed it plant selection shoudle be calculated by doing a look up in /SAPAPO//MATKEY and pull all the active plants and then upload the data to Flat file for all those plant from /SAPAPO/MATKEY.
we do have a variable called 9_MATNR showing in filteres selection Tab on APO Plant Infoobject.
But now I need to understand how do I populate this variable 9_MATNR  with updated values from  /SAPAPO/MATKEY every time APD is executed.
Regards,
Sachin Dehey,

Hi All.
The solution will be create the query on virtual provider and create a variable on Infoobject 9amatnr.
Create a customer exit variable on this infobject and populate it VIA i_step = 2 then include this query in APD.
Its done now automaticaaly the variable will be populated dynamically when ever query is called.
Regards,
Sachin Dehey

Similar Messages

  • Web Variables are being displayed and they shouldn't be

    Hi, Our web template is configured to not present the variable screen when the variables are populated. For some reason after I added the dynamic tab functionality using the SAP_BW_URL command our variables screens are appearing after selecting a tab.  When the screen appears all of the variables are populated and some of the variables are not melted.  The only thing our SAP_BW_URL command does is reset a dataprovider.
    <i><A href="<SAP_BW_URL DATA_PROVIDER='DP1' CMD='RESET_DATA_PROVIDER' INFOCUBE='ZMPASDPL' QUERY='ZGZMPASDPL_SR21_AREA_DASH_01' CMD_1='ITEM=NAV_BRAND&HIDDEN=X' CMD_2='ITEM=CON_BRAND&HIDDEN=X'>">Sales Area</A></i>
    We have set our template to "Reset Variables to Default" and "display same variable only once".
    Anyone know why I am seeing the variable screens after I select a tab even though I have the correct settings and the variables values are all prepopulated?
    I will give full points from now until eternity for this to any kind soul helping me solve this one.
    Thanks!
    Message was edited by: Kenneth Murray

    Hi Kenneth,
    this is a tricky situation:
    just assume the following scenario (this is what I have seen when I had a glimpse  on your original post)
    - In your template you have 2 DataProvider DP1 and DP2
    - DP1 is assigned to a table item and points initially to some query (A)
    - DP2 is not assigned to a web item and points initially to some query (B)
    - Query B has some mandatory variable
    - Now when you call your web template the variable screen will be displayed (Variable for DP2 (query B))
    - You enter a value and submit the variable screen
    - Now you reset DP1 to another query (ok it's query B (which you already used as DP, but the system won't check this while resetting the variable screen). Now the (new) query has a unfilled variable. The system needs to bring up the variable screen.
    - As we have now 2 variables (one already filled (during start of your template) and one still initiall. They have different default values and won't be melted.
    - You get a variable screen with 2 variables
    - And they just have the same value, because the system remembers the last entered value and already writes it in the input field.
    The parameter reset variables to default is only relevant for views (mainly during first initialization of template). With your command you didn't change DP2.
    =================================================
    Solution: In BW 3.5 there's a possbility to pass filters and variables to another Query with the command RESET_DATA_PROVIDER (parameter rri=X)
    in BW < 3.5 I would recommend to not use RESET_DATA_PROVIDER, but creating different table items, which are initially hidden and just hide/unhide the correct tables ...
    Heike

  • How FND_PRIMARY_KEYS table populated

    Hello All,<br><br>
    I would like to know how FND_PRIMARY_KEYS are populated. In our application, as per Apps guidelines, we dont have primary key defined on tables. We have indexes. But for Audit Trial we need primary keys. So i would like to know how we can populate the FND_PRIMARY_KEYS table with relevant information ? What information we need to provide and how ?
    <br><br>
    Any pointers are welcome
    <br><br>
    Thanks<br>
    Sindhu

    Is the application, Oracle Applications, or some other vendor's application? Is there a version number?
    I would think that the columns that make up the unique index on a table, providing it has only one unique index, would be the columns that would make up the PK if it were definded. See DBA_IND_COLUMNS. For tables with multiple unique indexes one would likely be the PK and the others UK constraints.
    HTH -- Mark D Powell --

  • How the "Java System Properties" are populated in "About this Page"

    Hi Gurus,
    We are facing a very intriguing issue and want to find out the way self service pages shows information in tab "Java System Properties" on clicking "About This Page" link ( bottom left corner of any EBSO selef service page)
    Thanks,
    Ajay

    Hi Peddi,
    Thanks but let me give some more details on our problem.
    It is a EBSO environment.
    On Private MT we do not have any proxies set in context file or any other configuration files.
    <proxyhost oa_var="s_proxyhost"> </proxyhost>
    <proxyport oa_var="s_proxyport"> </proxyport>
    The standard all standard OAF pages ( no customization or personalization ) show via link I mentioned before show these variables set
    http.proxyHost
    http.proxyPort
    http.proxySet
    Any idea how these get populated ?
    Are these values fetched dynamically via some DB table?
    Thanks,
    Ajay

  • How can I get past the error message "Variables are not compatible DMB00"?

    Hello,
    I'm working in Desktop Intelligence XI and I'm using an Excel data provider and a universe data provider. I've linked the two providers on the common field "Cost_Code". The Excel data provider also has a "Cost_Code_Descr_xls" field so I've created a new variable that makes this description field a detail object associated with the "Cost_Code" dimension. This allows me to use both objects in the report.
    Some of the cost codes in my universe data provider are not found in my cost_code Excel provider so I'm trying to create a simple formula to deal with these null values:
    = if isnull(<Cost_Code_Descr_xls>) then "Unclassified" else <Cost_Code_Descr_xls>
    This is where I get the "Variables are not compatible" error.
    Any ideas on how to get around this error?
    Thanks!
    David

    Hi David,
    I might have been a bit to quick with just saying that the only thing you needed to do was replacing the object with the variable you created.
    The variable is only compatible with 'Cost Code' dimension, but not with any of the other dimensions in the report. Your header probably only contains the 'Cost Code' dimension and as such the formula isn't giving any problems. But your details contain ohter incompatible dimensions.
    What you need to do is also create detail variables for the other dimensions and relate those to the 'Cost Code' dimension. Use those newly created detail variables  in your report.
    Regards,
    Harry

  • Qry:How to get different price for each price list (variable area) in order

    1-How to get different price for each price list (variable area) in order for sale. for the opportunity to display and select multiple prices.
    2- I add a location store from a table in line item and I want to see this area in order,.
    I 'm created 2 field location(item line and order), 1 table location
    I tried this for exemple : select $ [userfieldlocation.OITW]

    Thanks Suda for your answer,
    the Formatted Search for prices is OK, but for the Item locations in warehouse this is not so simple,     
    I must have several (at least 2) locations for the item in the Warehouse and a track of this location and search possibilities.
    read carefully and imagine how (Management warehouse locations)
    I added a user table '@Location' who linked to a user field 'U_Location in Item master data --> lnventory data  line and an ather user field 'U_Location' in sales order
    I met the value of location in the table (list of locations for any warehouse), I select the location of each item while receiving merchandise in the user field of inventory data line (Item M data) and this value appears in the sales order 'U_Location' user field ( only the location value in the default warehouse for this Item)
    or
    create an user field 'location' in Good receipt PO to fill it while receiving merchandise that appears in the sales order to give possibility to find/select the location of the item at this order and in Item master data
    I think we will use all these tables
    @LOCATION
    PDN1
    OITM
    OITW
    OWHS
    RDR1
    Juste a another question : where you found this and What is: ' 38.1.0 '
    Is it in document (System information):Item=38 Pane=1 ??
    Thanks,
    Ouchen

  • How Can You Tell if the URLRequest Variables Are Posted?

    Hi,
    This sounds really odd, because I happen to have three variables I am supposed to pass to an httpservice and have the results output to my Flex app.
    The problem is, I don't know how I can tell if a variable has been posted or not, because no matter what I do, it looks like my trace statement is accurate, but there is nothing shown on the screen.
    I tried changing it to GET, and then I get this IO Event Handler error, because my variables are so long.
    var loader:URLLoader = new URLLoader();
            var url:String = "http://localhost/generic.php";
            var variables:URLVariables = new URLVariables();
                variables.from= from_string;
                variables.state_colors = state_colors_string;
                variables.change = change_string;                       
            var encode:String= encodeURI(url);
            var pattern:RegExp = /#/g;
            var decode:String = encode.replace(pattern,"%23");
            var request:URLRequest = new URLRequest(decode);           
            request.method = URLRequestMethod.POST;          
    I am wondering if my variables have been passed correctly. Is there some other way other than using trace statements?
    Thanks for your help.

    Hi,
    Thanks for the tip, and I have just done that with my php code end. It turns out that the file was generated, and the file is blank after the code has finalized execution.
      So, I guess that my POST variables is definitely not posted.
    By the way, I have added a couple of lines for security and IO checks, like you suggested, and here is the almost complete code:
    public function changeMap():void{                        
            var url:String = "http://localhost/generic.php";
            var variables:URLVariables = new URLVariables();
                variables.from= from_string;
                variables.state_colors = state_colors_string;
                variables.change = change_string;
            var encode:String= encodeURI(url);
            var pattern:RegExp = /#/g;
            var decode:String = encode.replace(pattern,"%23");
            var request:URLRequest = new URLRequest(decode);           
            request.method = URLRequestMethod.POST;       
            var loader:URLLoader = new URLLoader();
            loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onSecurityError);
            loader.addEventListener(IOErrorEvent.IO_ERROR, onIOError);
            loader.addEventListener(Event.COMPLETE, onLoadComplete);   
            loader.load(request);                    
             private function onSecurityError(event:SecurityErrorEvent):void {
                trace("securityErrorHandler: " + event);
             private function onIOError(event:IOErrorEvent):void {
                trace("ioErrorHandler: " + event);
            public function onLoadComplete(event:Event):void {             //event output                             
    From the console, the error events returned nothing from the addEventListeners.
    When I used GET before, they worked with two passing variables, but since my variables are now more than 512 characters, I cannot put this on the url, which is why I am insisting on using POST here.
    Have I done anything else wrong here?
    Thanks for your help.

  • How to order the variable screen if some variables are in differnet Queries

    Hi,
    i have a workbook in Bex Analyzer (BI 7.0) which contains 4 Queries (A,B,C,D). In the variable selection screen are 15 variables. One variable is used only in one Query (C). 6 variables are used in 2 Queries(1xA,B; 2xB,C; 3xA,D) and 8 variables are used in 3 Queries(A,B,C).
    If I open the variable screen in the workbook the 15 variables are in a confusing order.
    How can I change the order of these variables?
    I tried to order the variables in the Query Designer (Variable Sequence) for every Query but it didn't work.
    Best Regards.

    Hi Jordan,
           There is a best practice when using the variables in a the queries...Make the most used ones in"Personalise variables" option available in the pop up screen for the variable selection....
         Also,in order to have a correct sequence of variables ,,just arrange them in order u want using "query properties"....
        Hope this helps you..and assign the points if ts needful
    Regards,
    Venkat.

  • Text Variables are not being Displayed in the Output of the Query

    Hi All ,
    We have some column headings , which are populated through the Text Vaiables , But in the Query Ouptput only the tech names of the Text variables are being displayed . can anyone tell me why its happening like this . I want to debug the Query , please guide me in this regard
    Thanks in Advance.. Pls reply me as soon as possible

    Hi Nagarjuna reddy,
    Click on the properties of the infoobject enter the name of the description and next to that you can see the X/? buttion click on the this button and select the field/if the proper field is not there then create a field descriton and select. i hope this is works and correct me if i am wrong. for debuggin the query use a transaction code- RSRT.
    regs,
    Vachan

  • Bind variables are not used in select statement

    Hello all of you,
    I have two parameters in Report 6i.
    1) Department
    2) Section
    There are many section in a single department. Both parameters are selected from list. The list for department name is as follows -
    select deptname from department_master order by deptname
    It works very well. The value is stored in :p_dept_name.
    I want to display section of selected department only using following code :-
    select sectname from section_master a, department_master b where a.deptcode = b.deptcode and b.deptname = :p_dept_name
    The value is stored in :p_sect_name.
    But it does not work. bind variables are not allowed in select statement, then how can I do this???
    Please suggest me.
    Thanx,
    Regards,

    Vikas,
    the forum is full of threads about that.
    Dependent Parameters in Reports are possible out-of-the-box in Reports.
    If you're running your report on the web, have a look at Metalink Note:185951.1
    Regards
    Rainer

  • How to achieve populating of price for regular purchases in PO

    When using Purchasing module ( without/shared Inventory ) , i understand we can't create Item codes, my question is How to achieve populating of price for regular purchases.
    Ex : If user requests Laptop for the same model more than one time in a year, i want the price to auto populate in PO and make buyer/requester life easy.

    I don't think you can do this.
    However, if you are creating a requisition, you may be able to use the "Catalog" button to refer to old purchase orders.

  • How to auto populating the field in MS crm

    How to auto populating the field in MS crm

    Hi,
    To populate URL of account based on account name please refer this link.
    If you are asking about the address auto populate/complete refer this link
    To Retrieve from other entity and populate the fields, for example on entering the account name in opportunity form the fields from account form like Sector, Region can be retrieved and can be auto populated in opportunity form using Odata as follows.
    Call the function getAccountDetails in onchange event of Companyname. Do not forget to add Jquery and Json in libraries.
    function getAccountDetails() {
        var companyName = Xrm.Page.getAttribute("customerid").getValue();
        if ((companyName != null)) {
            var companyNameValue = companyName[0].name;
            var companyNameID = companyName[0].id;
            var serverUrl = Xrm.Page.context.getServerUrl();
            //The XRM OData end-point
            var ODATA_ENDPOINT = "/XRMServices/2011/OrganizationData.svc";
            var odataSetName = "AccountSet";
            var odataSelect = serverUrl + ODATA_ENDPOINT + "/" + odataSetName + "(guid'" + companyNameID + "')";
            //alert(odataSelect);
            $.ajax({
                type: "GET",
                contentType: "application/json; charset=utf-8",
                datatype: "json",
                url: odataSelect,
                beforeSend: function (XMLHttpRequest) { XMLHttpRequest.setRequestHeader("Accept", "application/json"); },
                success: function (data, textStatus, XmlHttpRequest) {
                    var result_account = data.d;
                    var name;
                    var Id;
                    var entityType;
                    //replace the fields with the fields on your entity
                    Xrm.Page.getAttribute("new_sector").setValue(result_account.new_Sector.Value);
                    Xrm.Page.getAttribute("new_region").setValue(result_account.new_Region.Value);                     
                error: function (XmlHttpRequest, textStatus, errorThrown) { alert('OData Select Failed: ' + odataSelect); }
    Also as another option if you donot wat the java script then you can go for a workflow to poplate, please refer this link:  https://www.powerobjects.com/blog/2013/11/25/retrieving-data-from-a-related-entity-crm-2013/
    Regards, Rekha.J

  • OLAP Variable not populated

    Hi All,
    I have created an OLAP variable which is being used in an infopak. In development, when i go into the infopak and display the result of the variable, i get what am expecting.
    However, after I have transported this to QA, when I go into the infopak and try to display the result of the variable i get the following error;
    BEx variable YVC00060 could not be evaluated - No
    error message.
    I have checked the user exit in cmod and the code is there and it is active. Have searched the usual places but cannot find any answers.
    thanks Geoff.

    Hi Geoffrey,
    Could you please explain a little bit more.
    How you are using a Bex variable (YVC00060) in Infopack?
    Anyway, one thing I could think of is that the Function Module's (EXIT_SAPLRSS0_001) assignment may have become inactive.
    Please check the assignment in CMOD.
    Regards,
    Vikrant.

  • Authorization variables are used by each query

    Hi,
    I am working with BW 3.5. I need to check how many authorization variables are used by each query.
    Is the any table which shows this?
    I know in RSZGLOBV i can display all the Auth. Variable at the system but i don't have such relation with the queries...
    Thanks in advance,
    F

    Hi,
    Get the UID of your query from the query designer (select query in the properties window, goto Advanced tab).
    Pass it to table RSZELTXREF (pass query UID to field SELTUID and 'VAR' to field LAYTP). This gives the list of variables used in the query. Now got to table RSZGLOBV, pass all the variable IDs (field values for TELTUID from table RSZELTXREF) to the field VARUNIID and restrict VPROCTP to '6'. This gives a list of all the auth variables used in a query.
    Regards,
    Murali.

  • Table name where Broadcaster precalculation variables are saved

    Please help me with the table name where Broadcaster precalculation variables are saved. Thanks.

    Hello Jinal
    Please go to transaction SE11 and there search  in database table for tables starting with
              /BIC/OB*
    My table for example is named as following /it is the first precalculated value set:
    Transparent table -> /BIC/OB00000001
    description           -> Calculate with Broadcast Setting Z_CCUSTOMER_PRECALC_01
    However table class is L, where so I don't knwo how to see the data..
    In case you know please let me know
    Best regards
    Christian

Maybe you are looking for

  • I have a 160GB iPod classic. How do I get my HD movies from itunes to this iPod?

    I have a 160GB iPod classic. I have HD and 1080P HD movies purchased through itunes. How do I get them to my iPod classic? It has plenty of storage. It gives me errors that make no sense to me. If making an error message, why can't they be more speci

  • How to print the value if a condition is satisfied

    Hi, Please suggest me how to print a text as 'Do not print' when a field in the selection screen is entered. If in the selection screen (s_field1) we have  entered a value as ZESM then the value filed of wa_vbak-auart should check the the values in s

  • Bridged router doesn't pass DHCP request

    (I've posted this request on other networking boards. Hoping the Macmaniacs can help!) I have three wireless routers configured using the same SSID. Two of the routers are bridged off the main one and act simply as wireless access points. This allows

  • How to display full screen in landing page

    Hi, I'd like to create a landing page with own menu bar above, and open the iView in the frame. any idea how to do this ? ex. menu  My Company My Customer iView column 1                   iView column 1 invoices                                  order

  • Cannot upgrade to itunes 10

    when i try to download itunes 10 it looks like it will load, but nothing happens. When i called support they told me to uninstall 9.2, but my system says "The windows installer could not be accessed. This can occur if you are running windows in safe