Transaction based on query

Hello,
I've created a query in Customizing environment via SQVI, and then created the program "AQA0SYSTQV000012PEDIDOS=======". After that, went to SE93 and also created the transaction based on this program, which generated a request. When I transported this request to DEV 300, the transaction worked perfectly, but when transported to QAS did not work. Maybe the request was carrying only the transaction and not the program...?
Any ideas are welcome.
Regards,
Adriano Cardoso

Again create SQVI in Test(QAS). I think it asked you the TR for creating the new t-code using SE93 and NOT FOR SQVI. So create a new query (SQVI) and create the t-code... it will work.
Reward if helpful..
Regards,
Srib
Edited by: SriB K on Jun 13, 2008 9:24 PM

Similar Messages

  • Print layout designer for develop report based on query

    Dear Experts/Gurus,
    I am amazing about the manage previous reconciliation report. When I opened it using print layout designer, it looks like the report is not built using query, but I am not sure yet. This is very confusing. I created query similar with manage previous reconciliation (MPR), but when I link the query to print layout and try to make similar format/appearance with MPR report (reconciliation management (system)), it is not success.
    Isn't the MPR report built not based on query ? I appreciate your answer. TIA
    Rgds,

    Hi,
    I am not sure I understand what's the problem:
    Is it the layout that is different or the data?
    Regarding the data you can use SQL Profiler (maybe you did?) to find out what queries are fired, but please note that there are some stored procedures in the DB that are used for some specific functions - not sure whether the "MPR" uses any of these.
    Then you must include some non-default filter in SQL Profiler...
    ...but you can also use the logging functionality in B1 for that purpose:
    Just activate the logging (see the "log" folder in the B1 subdirectory) in the corresponding config file: choose the option to have the SQLs logged in conjunction with the logging being triggered in all cases (not just error).
    Thus you will get all the SQLs - just plain - from the B1 application, but note that it will obviously slow it down!
    HTH,
    Frank

  • Problem with call transaction and a query

    Hi,
    Whe have a query that has its own Z tcode, we are working with this "EXIT_SAPLCORF_103"  within the tcode CO11N. Inside the include "ZXCOFU13" we call the query Tcode and it is displayed on screen but with no data.
    The table "itbdcdata" record well the data of the inputs in the query recording so you can see with the WERKS and the number of reserve (3994) in the recording.
    Why the call transaction display the query screen with no data...? and how can i pass the inputs to the query screen so it be executed.
    Thanks on advance.
    David Fúnez
    Tegucigalpa, Honduras.
    This is the recording:
    AQZZZ_USER_GRMA=Z_QUERY_PP_003     1000X                                                                                BDC_CURSOR     SP$00002-LOW
                                                                BDC_OKCODE     =CRET
                                                                S_WERKS-LOW     1202
                                                                SP$00002-LOW           3994
                                                                %ALV     X
    this is the code in the INCLUDE
    *&  Include           ZXCOFU13
    DATA: itbdcdata TYPE bdcdata    OCCURS 0 WITH HEADER LINE,
          optoption TYPE ctu_params.
    REFRESH itbdcdata.
    CLEAR   itbdcdata.
    itbdcdata-program  = 'AQZZZ_USER_GRMA=Z_QUERY_PP_003'.
    itbdcdata-dynpro   = '1000'.
    itbdcdata-dynbegin = 'X'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'BDC_CURSOR'.
    itbdcdata-fval = 'SP$00002-LOW'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'BDC_OKCODE'.
    itbdcdata-fval = '=CRET'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'S_WERKS-LOW'.
    itbdcdata-fval = '1202'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'SP$00002-LOW'.
    itbdcdata-fval = caufvd_imp-rsnum.
    APPEND itbdcdata.
    itbdcdata-fnam = '%ALV'.
    itbdcdata-fval = 'X'.
    APPEND itbdcdata.
    CLEAR optoption.
    optoption-dismode = 'A'. "A is visible
    optoption-updmode = 'S'.
    CALL TRANSACTION 'ZRESV' USING itbdcdata OPTIONS FROM optoption.

    problem solved.

  • Transaction based control for GL Master in FI

    Hi:
    I request for config. steps for transaction based control of GL master date. e.g. If data is entered in GL master a/c in currency or sort key field, and if after entry the field is to changed to display mode, only for this particular account, how this can be done.
    Thanking you.
    Ajay

    Hi
    Th evalidation should be at the source is the Purchase Order. I beleive it is standard SAP Config to put the validation there. So once the PO has been created with the correct account assignments the GR and IR will be correct.

  • Adding a custom meta data field which lists out content id based on query

    How can we add a custom meta data filed which lists out content id based on query like dDocType <matches> `AssociatedProduct`?
    Or other alternative would be to have a custom metadata field such that it allows selection of content id using link wizard which we typically use in site studio. It would be preferable to have this second option as it is user friendly. Can we do this on a check-in screen?
    -Pratap

    Thanks for the reply Deepak.
    We got it resolved. We did following changes in /ucm/custom/SiteStudio/resources/ss_custom_field_resources.htm file and it worked cleanly.
    Added following section at the end before body tag
    ===================================================================================================
    <@dynamichtml ss_parent_definition_field_entry@>
         <$include super.std_edit_entry$>
         <$if isQuery and isTrue(isQuery)$></td><td><$endif$>
         <$include ss_contributor_base_scripts$>
         <script type="text/javascript" src="<$HttpRelativeWebRoot$>resources/<$SSContributorSourceDir$>/sitestudio/wcm.contentserver.popup.js"></script>
         <script language="JavaScript">
         function OnSelectParentId()
              var selectParentIdOptions = {};
              selectParentIdOptions.httpCgiPath = '<$HttpCgiPath$>';
              selectParentIdOptions.queryText = 'dDocType <matches> `Country`';
              selectParentIdOptions.coreContentOnly = '<$if coreContentOnly and isTrue(coreContentOnly)$>1<$else$>0<$endif$>';
              selectParentIdOptions.callback = function( returnParams )
                   returnParams = returnParams || {};
                   if( returnParams && returnParams['dDocName'] && ( returnParams.dDocName.length > 0 ) )
                        // Set the actual metadata value
                        <$if isQuery AND isTrue(isQuery)$>
                             for (var i=0; i < document.<$formName$>.elements.length; i++)
                                  var elt=document.<$formName$>.elements;
                                  if (elt.name=="<$fieldName$>")
                                       elt.value = returnParams.dDocName;
                        <$else$>
                             document.<$formName$>.<$fieldName$>.value = returnParams.dDocName;
                        <$endif$>
              WCM.ContentServerPopup.ChooseManagedDocument(selectParentIdOptions);
         </script>
         <input type="button" value="<$lc("wwBrowse")$>..." onclick="OnSelectParentId();">
    <@end@>
    ======================================================================================
    Then modified the section which show xWebsiteSection, xRegionDefinition etc to include my custom meta data defitnion as well ('xParentContentType')
    ===================================================================
    <@dynamichtml std_edit_entry@>
         <$if fieldName and ( fieldName like "xWebsites|xDontShowInListsForWebsites" )$>
              <$include ss_website_query_text_field$>
         <$elseif fieldName and strEquals( fieldName, "xWebsiteSection" )$>
              <$include ss_website_section_field_entry$>
         <$elseif fieldName and strEquals( fieldName, "xRegionDefinition" )$>
              <$include ss_region_definition_field_entry$>
         <$elseif fieldName and strEquals( fieldName, "xParentContentType" )$>
              <$include ss_parent_definition_field_entry$>
         <$else$>
              <$include super.std_edit_entry$>
         <$endif$>
    <@end@>
    ====================================================================
    This worked fine.
    Regards,
    Pratap

  • About cost center accounting  (Transaction based posting with CO assignment

    Hi,
    I m working on cost center accounting ,and i m stuck in transaction based  posting ,i m post transaction through FB50,
    i m given concern G/L account Dr 8000 and credit to bank account with account assignment cost center 10100.after i simulate this transaction the system accepts and i m enable to see the transacion after simulation,but after that i m going for save it at this time system geting error ,and error is like ---
    Not possible to derive owner from account assignment/bank details
    Message no. REEXFI054
    Diagnosis
    In the condominium owner company code, the system attempts to determine a unique condominium owner for each document.
    To make this determination, the system analyzes:
    The profit centers in the document. Usually the system derives the profit centers from the account assignment objects in the individual line items. In the condominium owner company code, the system determines the profit center for real estate objects from the condominium management contract for the rental object.
    The house bank data in the document. Therefore, the affected bank account has to be entered uniquely in each bank line item.  You can enter the house bank and the account ID in FI posting transactions by choosing Additional Data. The system then searches for the condominium management contract that has these bank details.
    In the current case, the system is not able to determine a unique owner.
    System Response
    The system cannot post the document.
    Procedure
    Check the account assignment data and bank details.
    So plz guide me about this ,
    Regards,
    Pramod Kulkarni

    Hello again,
    First off all thank you both for your answers.
    Dirk,
    When I said enhancing I was not thinking of developing the hole thing. That seems to be a hugely complex task and I do not have the time for that in the project were I am presently working. What I meant was: Is there a SAP Enhancement available? A function exit? A Customer Include? Something that is half way done?
    If this is not the case the solutions I thougth were:
    i) Replicate my infocube's data into a ODS. Develop a report on the R/3 side that reads that data via a RFC and uses Batch Input (Call transaction) to update the data on the R/3 side;
    ii) Develop a function module (similar to the standard one) on the BW side to use in a planning function of type exit which would update a Z database table on the R/3 side and, afterwards, develop a report (also on the R/3 side) which would read that database table and update transactional tables via Batch Input (or Call Transaction with a developed log transaction).
    From the point of view of performance I believe the solution involving the ODS is better because we are talking about 300 000 materials.
    As for your proposed solutions 1) and 2) althougth they seem very nice and elegant I would like to avoid changing the R/3 customizing. Regarding your proposed solution 3) I am going to take a look at the function group you mentioned and the respective note.
    Once again thanks a lot for your answer. You have been very helpfull.
    Best Regards,
    Vasco

  • Transaction based security vs. Authorization based security

    Hi All just a general question does any one know any pro's and con's about implementing transaction based security vs. authorization object based
    Thanks Mike

    Well, the Tcode goes into an authoruization object as well, namely S_TCODE, so it always boils down to authorization objects. When properly configured, PFCG will propose all necessary authorization objects once you put a transaction in the role menu. On a new system, have a look at SU25 and it's documentation to setup PFCG.
    In my opinion putting the relevant transactions in the roles first and fine tuning the authorization values afterwards is the right way to go. Tracing may help but is no substitute for testing.

  • Can I Control Follow Up Transactions based on the Status ?

    Hi,
    I have created follow-up transaction (Quote) for main transaction Opportunity (this is custom defined transaction). I am able to create the follow-up transaction alright. However, now I would want to restrict the creation of follow up transaction based on the status of Opportunity. E.g if the Opportunity status is "Open" then I should not be able to create the follow-up transaction, wheras if the Opportunity status is "Won" then I should be able to create the follow-up transaction.
    Any help will be highly appreciated.
    Regards,
    Diptendu

    Write this restricting condition in COPY or OPPORT_H method of CRM_COPY_BADI. Raise an error message when status is not as desired which will stop the creation of follow up document. Do not forget to filter for transaction type i.e. process type. Also to make it exclusive for creation of follow up document (not code for copy control also), put some other condition checking docflow or something.

  • ADF dynamic ViewObject based on query. how to get attributes?

    hi.
    i have an read-only view object based on query like this:
    SELECT :func(:paramm) as EMP_SAL from dual
    and set :func & :paramm parameter by vo.setNamedWhereClauseParam(..) function.
    but i couldn`t get EMP_SAL attribute after executeQuery command.
    in another case i would set new whole Query by vo.setQuery(..) but the problem exists.
    please help me. how to get attribute in such vo objects!
    thanks!
    Morena!

    thanks to Quick reply!
    i seek into code and found a uninitialized Parameter in view object. error has gone after correct the problem!
    and now could get the attribute value.
    thanks so much!
    /\/\ o r e n a!

  • Approval Procedure based on query

    Dear All,
    I'd like to make approval procedure based on query.  The condition is when the AP Invoice document created based on GRPO and there's a different Amount (AP Amount <> GR Amount) then it should trigger the approval procedure.
    Do you have any idea about the query structure?
    Thanks

    shobah,
    try this below query like this
    Select TRUE From OPCH Where DocTotal > 25000
    Jeyakanthan

  • How to embed chart/grafic into bex report (workbook) based on query result?

    Hi friends,
    Since I have never embedded any Charts/Grafic based on query report, I am wondering if you could share your knowledge?
    Thanks for your help in advance!
    Regards,
    Sally

    Hi Sally,
    You can create chart into workbook based on the query data.
    Execute the query it will show result in excel sheet. In the tool bar of the sheet you find 'Chart wizard' icon . Select the icon, it will ask for the type of the graph. After select the ranges of the data from result. It will display the graph. Then you can save the workbook.
    Graphs can be embedded in different sheets.
    Hope it helps.
    Regards,
    Aditya

  • Are there any standar iview that works with transaction Ad-hoc Query?

    Are there any standar iview that works with transaction Ad-hoc Query?
    So, I want the same iview for the various querys.
    Are there any iview how this?

    I am working with Portal and HR.
    Now, we are looking for to make a query, get the generated code, and insert it in a rfc. So, i could make a java web dynpro and call the rfc. But this is not the best solution.
    My question is about are there any standard iview for this scenario.
    Do you know?

  • Different Web Template selection based on query selection values entered

    Dear Experts,
    We have a very unique requirement in our BI7 system.
    There is a web report which comprises of multiple queries and query views embedded in web templates. There are 2 selection parameters F1 and F2 that appear on executing the report.
    Our requirement is to display a unique web template to the user based upon his selections. If user enters values for both the fields F1 and F2 then we want to display report output from query views in web template T1.
    If user enters value for only field F1 and keeps F2 value blank, then we want to display report output from query views in web template T2.
    The problem we are facing is to decide the appropriate place where this type of condition could be coded. We do not think user exit would do the job here.
    Please help if you can.
    Regards
    XX

    Hi Pravin,
    Thanks for the reply.
    Let me please clarify my problem further.
    Web Template T1 --> Query Views V1, V2, V3.
    (All query views V1, V2, V3 have variables on fields F1 and F2).
    Web Template T2 --> Same Query Views V1, V2, V3.
    (All query views V1, V2, V3 have variables on fields F1 and F2 but this time variables would be having different values than above).
    If user enters values for both fields F1 and F2, then we want to display Template T1 with F1 variable = "value by user" and F2 variable = "value by user".
    If user enters value for only field F1, then we want to display Template T2 with F1 variable = "value by user" and F2 variable = "all values for which transaction data exist".
    Thus, we want to display a unique web template based on whether the value of F2 is entered by user or not.
    Please let me know if you need any further clarification.
    Thanks

  • Executing BLS Transaction through Xacute query template?

    Hi Experts,
    Am having a SQL query template for which am passing value from web page after user input and i have added this SQL in my BLS transaction in illumSQL action block. I have created Xacute query template and display template(iGrid) for displaying output from transaction.
    Problem am facing is that am not able to execute my transaction after passing values to SQL query. How to get this working?
    Regards,
    Ravi Shankar

    Hi som sarkar,
    Let me explain my problem this way, let say am having SQL Fixed query and am doing some field selection based on the parameter which is been passed to the query template.
    -Checked the query template returning values, working good.
    created one Display template to display whatever been fetched by query template(iGrid).
    -Generated applet working good.
    Now if i pass the parameters from webpage to SQL query(parametes are mapped in query template) and update the grid, it should work right but its not...
    Thats what i was trying to ask you so far.
    Regards,
    Ravi Shankar

  • Fields on single-row Form based on Query

    We are implementing a front-end for Oracle Reports using HTMLDB. We have all of our reports and their parameters set up in tables, along with the specification for where to obtain the values to display for the parameters. The tables also specify the display order for the params.
    In HTMLDB we need to have the "parameter screen" display when the user selects a report from the tree based on report_id. I created a report based on a query referencing the :p_rpt_id from the tree which lists the parameters for the selected report.
    So far no problem. Now, then next step is to implement conditional lists of values on the parameters based on the definitions in the parameters tables.
    Some parameters have an unconditional source for values, some have onchange requirement (ie, when you pick a region in p_region the values available in p_customer would include only those in p_region). Each parameter in our table also includes an attribute to specify the type of htmldb_item to render (select list, popup, checkbox etc).
    I can get the parameter "report" setup to render the lov's based on the correct sources, but I cannot see where to incorporate the onchange trigger for the "parent" parameters (p_region in the example), or how to get the value from p_region when rendering the lov for p_customer.
    Any tips on how to get around this problem?

    I think I've managed to work thru the previously stated issues except for one remaining stumbling block:
    Test Case:
    Report ID: 36
    Parameters:
    1 Year FISCAL_YR_V
    2 Month/Qtr MTH_QTR_V
    3 Month FISCAL_MONTH_V
    4 Chain ADDR_CHAIN_V
    etc.
    Params 1,2,4 are generated with htmldb_item.select_list_from_query and htmldb_item.popup_from_query depending on the LOV type specified for the parameter.
    Param 3 is also generated by htmldb_item.select_list_from query but its query parameter includes a WHERE clause referencing the value set by param 2 when the onchange event fired.
    The problem is the generated lov for param 3 returns no values. Depending on the selection of param 2 (M or Q) the values for param 3 would be 1-12 or 1-4 (respectively). I've tried both of the following in the query for the dependent lov:
    where reference_id = :P10_F02
    where reference_id = v('P10_F02')
    Neither returns any values. I've verified that the correct value for param 2 (M or Q) is being set in the session state by the onchange event on that parameter.
    Is there something I'm not setting to cause the query for the dependent lov to bind the new value of P10_F02 when the onchange event fires?

Maybe you are looking for

  • How to write a requirement for sales order outbound iDOC

    i need to write the requirement for sales order IDOC Please help

  • ITunes Store Movie Purchase Play Immediately ?

    I bought a movie from the iTunes Store and it said it was going to take about an hour to download. After 10 minutes I tried and could play it in iTunes on my computer but I could not get it to show up on Apple TV until the whole movie had been downlo

  • Genmissing error when executing java on database

    Hi, I have a java program that concatenate several PDFs in one. When I execute the program on my computer everything works fine. However when I upload the java code in the database I have an error that I do not understand. The line where the error is

  • Windows My Music folder MIA

    Hello everyone. I have a small problem on my hands here. On my work computer, the latest version on itunes was installed and working properly until the network guys came in to do some routine maintenence on everyones computer. After those guys were h

  • Life cycle manager setup

    Hi, I have just installed the Enterprise 4.0 platform and want to get started using the Life Cycle Manager. I have read the manual but still I wonder if it is possible to make sure that you can only transport objects from Development --> Test --> Pro