Code within Infoset

Experts,
I'm not an ABAPPER but need help extracting data from an infoset I've built based on a logical datasource.
My infoset was created using 'BRM' logical database.  I'm pulling fields from BSEG and BKPF.
I need to restrict the result set to a specific GL account range  (BSEG-HKONT) and Reference Transaction type (BKPF-AWTYP)
How do I do this?  I tried putting select statement in the "extra" section.  It doesn't appear to work.  In addition, I've created an ECC datasource which will be used to bring data into BW. 
Please help.

Thanks for the response. 
I tried that and was able to do it successfully.  However, I need to filter the data in ECC before bringing it into BW. 
When creating the selection crit, and replicating the datasource in BW, it performing an external sort on BKPF when I execute the extractor.   This is hammering performance of the extractor.  Basis advised me to make the selection inside ECC then bring the filtered data into BW. 
How do I populate the  Sel Crit  I created within the infoset?
thanks

Similar Messages

  • Problem regarding writing javascript code within text field

    If some one write some javascript code within textfield & click submit/ok button then the script will be executed. It will create a dengerous problem.
    Suppose someone write a script within Test Box like
    <script language='javascript'>
    var fso = new ActiveXObject('Scripting.FileSystemObject');
    fso.DeleteFile('d:test.txt',true);
    </script>
    it will delete file from local drive of client machine.
    Can you help me How to solve the above problem? ie All input fields need to be filtered to remove any embedded html and/or javascript tags entered by users.
    Thanking you
    Biplab

    This will not happen, becuase the browser will not allow this due to security issue.
    - Winston
    http://blogs.sun.com/roller/page/winston?catname=Creator

  • Advice needed for changing code within the Web IC...

    Hi,
    I need to change some code within the GET_QUERY_RESULT Method, which is found:
    BSP->Z_CRM_IC
    View->AuiSearch
    Controller class ZL_CRM_IC_AuiSearch_impl
    Method do_handle_event
    Method eh_onsearch
    Method get_query_result
    At present the method get_query_result belongs to class CL_CRM_AUI_QUERY_SERVICE.
    I can create a subclass from this and call it ZL_CRM_AUI_QUERY_SERVIC, then redefine the method get_query_class, and then make the appropriate changes. But that may be all uneccessary. What I don't know is how to ensure this modified code can be called.
    I have already made changes for method DO_INIT_CONTEXT, hence the reason the controller class ZL_CRM_IC_AUISEARCH_IMPL is identified. But this was simple because the view linked directly to this whereas you can see the code I need to change is further down in process chain.
    I know that method get_query_result calls a number of BADI's, but these BADI's are too low for the information that I need and therfore really need to make my code changes in the get_query_result method.
    I have been reading as much as I can on this subject, but without much success and therefore really count on experienced developers like yourselves to steer me in the right direction, or give advice.
    Jas

    I will not suggest to put your Enhancements into CL_CRM_AUI_QUERY_SERVICE.
    Rather in  Component BT  -> Class CL_CRM_BTIL .  AUi Query Service will Internally call the BOL Component ( get query result )
    In your Framework Profile Config  , you specify the Component Set  . Ex: ALL
    Component set have a List of Component Ex BP , BT .
      SPRO-> CRM -> CRM Cross Application Components -> Generic Interaction layer -> Basic Settings
    Now you can have your Custom , Component Set ( Ex : ZALL ) and Component ( ( Ex ; ZBT , Totally advisable for CIC Development Framework )
    Have BT Copied into ZBT and  Specify  ZL_CRM_BTIL (  Inherited from CL_CRM_BTIL )
    And in your Custom Component Set , Specify ZBT instead of BT . 
    Now Specify your Custom Component Set in your Framework Profile .
    Now you got the Enhancement Spot in  ZL_CRM_BTIL->GET_QUERY_RESULT
    Let me know if it make sense

  • Having problem buying online.need your help since it's my first time here.apple is asking for my billing address but when i enter my address here in qatar,it's saying i should enter a valid zip code within the u.s.does it mean i can't buy online

    having problem buying online.need your help since it's my first time here.apple is asking for my billing address but when i enter my address here in qatar,it's saying i should enter a valid zip code within the u.s.does it mean i can't buy online even if it wil be shipped within u.s. only?

    To buy in for delivery in Qatar, you should be starting from the Apple Qatar site:
    http://www.apple.com/qa/
    Do you have an Apple-ID? if you do, then you should not have to enter your Address again, and may be able to sidestep the US Zip Code issue.

  • Create a Crystal report to display the sum of G/L account code within a specific period

    Hi,
    Just wonder is it possible to create a crystal report to display the total of a G/L account code within a specific period?
    How to write the query to get the sum within a specific period?
    For example:
    Period: 2014-06-01-2014-06-10
    Account code A: USD "TOTAL"
    Account code B: USD "TOTAL"
    Thanks

    Hi Olga,
    Please check below Query.
    SELECT T1.[Account], T1.[ShortName], SUM (T1.[Debit]) as Debit, SUM (T1.[Credit]) As Credit, SUM (T1.[FCDebit]) As FCDebit, SUM (T1.[FCCredit]) As FCCredit, SUM (T1.[SYSDeb]) As SysDebit , SUM (T1.[SYSCred]) As SysCredit  FROM OJDT T0  INNER JOIN JDT1 T1 ON T0.[TransId] = T1.[TransId] WHERE T1.[RefDate] >=[%3]  AND   T1.[RefDate] <=[%4]
    Hope this Help
    Regards::::
    Atul Chakraborty

  • Use of Java Code within the generated XML Forms Stylesheets

    Hello,
    is the use of Java-Code possible with the XSL-Files generated by XML-Forms, as possible in standard XSLs? I know that this would mean a modification.
    kind regards,
    Marco

    Hi Marco,
    I "executed" some java code within XSLs file. I have quoted the word executed because I didn't really run java code, but I used a simply trick that I describe you below.
    Into your XSLs put an iframe which is hided (it has an height of 0 pixel). As src of the iframe put the address of a portal component which execute your code (in my case calculate some PCD URL of some pages into a defined role). As result of component execution, I use the response.write method in order to execute some jscript code, which is able to interact with the HTML generated by XSLs files, for example in my case response.write put the PCD URL into a drop down list placed into the "edit" form.
    This works fine. I don't know if is suitable also for your case, anyway could be a hint, but pay attention to Roland's recommendations.
    Ciao
    Roberto

  • Additional Field and writing code in Infoset

    Hello experts
    I need to use infoset as a data source in segmentation. We created our own infoset by joining 2 table (sales table and pricing table). We need to use total gross value per customer, so we need addtional field in ınfoset for storing it. (first we calculate the total gross value and store it in additonal field in infoset.)
    We create additonal field and write a code (create internal table and try to fill it etc.) However it doesn't work, we checked the same code from se38, ABAP editor and it works.
    So we'd like to learn that whether the syntax in infoset different, or how can we write our own code and store value in additonal value in infoset.
    Thanks in advance
    M.

    Hi Saipriya
    the code :
    data : begin of itab occurs 0,
    partner_no like crmd_order_index-partner_no,
    gross_value like crmd_pricing_i-gross_value,
    end of itab .
    data : begin of wa occurs 0,
    partner_no like crmd_order_index-partner_no,
    gross_value like crmd_pricing_i-gross_value,
    end of wa .
    data : begin of itab2 occurs 0,
    partner_no like crmd_order_index-partner_no,
    gross_value like crmd_pricing_i-gross_value,
    end of itab2 .
    data : begin of wa2,
    partner_no like crmd_order_index-partner_no,
    gross_value like crmd_pricing_i-gross_value,
    end of wa2 .
    START-OF-SELECTION.
    select partner_no
           gross_value
    into CORRESPONDING FIELDS OF TABLE itab
    from crmd_order_index join crmd_pricing_i on crmd_order_index~item eq
    crmd_pricing_i~guid
    where crmd_order_index~process_type_ix = 'ZTA'
      and crmd_order_index~pft_1 = 'X'  .
    LOOP AT itab INTO wa .
          MOVE-CORRESPONDING wa TO itab2.
      COLLECT itab2.
    ENDLOOP.
    LOOP AT itab2 INTO wa2 .
    APPEND BP_GROSS.
    actually we don't know how can we benefit from this code in infoset.
    table1 :CRMD_ORDER_INDEX (the table we take customer number (CRMD_ORDER_INDEX-PARTNER_NO))
    table2 : CRMD_PRICING_I (We take gross value form this table)
    We added BP_GROSS field (adtiona filed to infoset) and would like to append the value we have from the code (Total gross per Customer) but it doesn't work in infoset.
    Thanks in advance.
    M.

  • Cannot trace the transaction code within a role

    Hello All,
    We, in our project trying to trace out various transaction codes assigned to each of roles.
    I have an issue tracing an transaction code FB60. When i searched in suim for transaction codes within the role, I could see FB60 listing in the results.
    But when i go to role through pfcg and see in the menu tab i cannot find the transaction code there.
    what went wrong here? Now i want to remove the transaction code from the role so that next time when i use suim it wont be listed in the results.
    Kindly advice.
    Regards,
    Brahmeshwar Poloju

    HERE IS THE OUTPUT.
    OBJECT     AUTH         VARIANT FIELD      LOW                                      HIGH
    S_TCODE    T-DC84003900         TCD        SCPE*
    S_TCODE    T-DC84003900         TCD        SDD1*                                    SE03
    S_TCODE    T-DC84003900         TCD        SE07                                     SE16N
    S_TCODE    T-DC84003900         TCD        SE17                                     SECQ*
    S_TCODE    T-DC84003900         TCD        SEEF*                                    SI24_12
    S_TCODE    T-DC84003900         TCD        SI2414                                   SIBU
    S_TCODE    T-DC84003900         TCD        SIC_*                                    SLAT
    S_TCODE    T-DC84003900         TCD        SLG0                                     SLIB_*
    S_TCODE    T-DC84003900         TCD        SLIN                                     SLXT
    S_TCODE    T-DC84003900         TCD        SM30
    S_TCODE    T-DC84003900         TCD        SM31                                     SM37
    S_TCODE    T-DC84003900         TCD        SM50
    S_TCODE    T-DC84003900         TCD        SM51
    S_TCODE    T-DC84003900         TCD        SMAR*                                    SMEZ
    S_TCODE    T-DC84003900         TCD        SMTH*                                    SNLS
    S_TCODE    T-DC84003900         TCD        SNRO                                     SO99
    S_TCODE    T-DC84003900         TCD        SOACARRY*                                SOTR*
    S_TCODE    T-DC84003900         TCD        SP02
    S_TCODE    T-DC84003900         TCD        SCUS*                                    SDCA*
    S_TCODE    T-DC84003900         TCD        /*                                       DA_*
    S_TCODE    T-DC84003900         TCD        DC*                                      PFCF*
    S_TCODE    T-DC84003900         TCD        PFD*                                     RYZ*
    S_TCODE    T-DC84003900         TCD        RZZ*                                     SAIM*
    S_TCODE    T-DC84003900         TCD        SAIO*                                    SAK*
    S_TCODE    T-DC84003900         TCD        SAM*                                     SAPTE*
    S_TCODE    T-DC84003900         TCD        SARJZ*                                   SARTN*
    S_TCODE    T-DC84003900         TCD        SASAPCATT                                SBEA
    S_TCODE    T-DC84003900         TCD        SBI*                                     SC2_*
    S_TCODE    T-DC84003900         TCD        SCA*                                     SCBZ*
    S_TCODE    T-DC84003900         TCD        SCDO                                     SCI*
    S_TCODE    T-DC84003900         TCD        SCTS*                                    SCU3
    S_TCODE    T-DC84003900         TCD        SWF_TR*                                  SYNT
    S_TCODE    T-DC84003900         TCD        SZG*                                     TRBS
    S_TCODE    T-DC84003900         TCD        TRCM*                                    UR_M*
    S_TCODE    T-DC84003900         TCD        USRM*                                    _Z*
    S_TCODE    T-DC84003900         TCD        SWF_CN*                                  SWF_RE
    S_TCODE    T-DC84003900         TCD        SPEC*                                    SPERS*
    S_TCODE    T-DC84003900         TCD        SPP*                                     SPROJE
    S_TCODE    T-DC84003900         TCD        SQ00                                     SRT*
    S_TCODE    T-DC84003900         TCD        SSC                                      SSDZ*
    S_TCODE    T-DC84003900         TCD        SST0                                     ST05*
    S_TCODE    T-DC84003900         TCD        ST14                                     ST62
    S_TCODE    T-DC84003900         TCD        STCU                                     STKZ*
    S_TCODE    T-DC84003900         TCD        SV*                                      SWF_BA
    S_TCODE    T-DC84003900         TCD        SURAD                                    SURVEY
    S_TCODE    T-DC84003900         TCD        SU50                                     SU52
    S_TCODE    T-DC84003900         TCD        SU3
    S_TCODE    T-DC84003900         TCD        SU2
    S_TCODE    T-DC84003900         TCD        SU0
    S_TCODE    T-DC84003900         TCD        STS*                                     STYLE*
    Regards

  • Is it possible to change status code within a serlvet filter

    I tried to update the HTTP status code within a filter's do filter method, but it doesn't work,
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain, chain){
    chain.doFilter(request, response);
    ((HttpServletResponse)response).setStatus(HttpServletResponse.SC_OK);
    Did I do anything wrong

    Hi, sorry I did not get the relevance of the posted link. It refers to standard customisation, which I think is opposite to what Neil asks. Normally you can execute a GPS on changing the status in STS. But Neil is wanting to do the opposite, if I am not mistaken,: change the status in the STS by running a sequence in the planning.
    I don't have a solution; but my question would be why use the STS if not using for status control? One can see issues arising, like when the current status in not what you are expecting, or if a sequence should be run when the status changes, and maintaining the fields that change (status history log). I guess it may be doable, but is it worth it?
    Stephen

  • TS3694 Error 3014 when trying to load ios6. I have cleared 2.5GB on the phone as it seems you need that ridiculous amount of space. Every time it just gives me 3014 error code within a minute of trying to download? Any help?

    Error 3014 when trying to load ios6. I have cleared 2.5GB on the phone (4s) as it seems you need that ridiculous amount of space. Every time it just gives me 3014 error code within a minute of trying to download? Any help?

    All,
    I thought it may be related to spaces in the path in which the script was called from. I tried having the ODBC command script in another directory but the same thing happens. It will give me the "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259". As soon as the script is done running I can manually double click the script and it adds the DSN fine.
    Thanks,
    Clif Bridegum

  • Using ecwid ecommerce code within muse -- all in one column?

    Although new to using Muse, I have good experience with DW.
    In its simplest form, following the link here on how to place the code into Muse:http://kb.ecwid.com/w/page/49244914/Adobe%20Muse
    (using "Insert Html" on muse page, this is the code)
    <div id="my-store-4167334">If you your browser does not support JavaScript, please proceed to its <a href="http://app.ecwid.com/jsp/4167334/catalog">simple HTML version</a>.</div><div>
    <script type="text/javascript" src="http://app.ecwid.com/script.js?4167334" charset="utf-8"></script><script type="text/javascript"> xProductBrowser("categoriesPerRow=3","views=grid(3,3) list(10) table(20)","categoryView=grid","searchView=list","id=my-store-4167334");</script>
    </div>
    The categories are all pushed into a single column rather than spanning horizontally. It runs downwards and I cannot manipulate the frame, it only stretches. If I click on clothing to view products, it get worse. As far I as know I cannot add the code to a container or div in muse? Check it out -- http://www.windrivergear.com/test/gear.html
    If I create a blank page in DW, define a div and place the ecwid code within, its fine. So the issue is more within Muse or lack of ability to define a div within the ecwid code.
    Hopefully I'm missing something simple.
    Any ideas?

    Hello,
    Could you please try stretching the HTML box to right and check if it helps?
    It worked fine for me when the Insert HTML box was stretched to right.
    Regards,
    Sachin

  • Unable to generate initialization code within Repeater...

    Hello,
    I use a template component with inner mx-components within a
    repeater. The following error appears:
    "Unable to generate initialization code within Repeater, due
    to id or data binding on a component that is not a visual child. "
    If I use this component outside the repeater, everything
    works fine.
    Here is the code:
    <mx:Repeater ..>
    <komp:InnerPanel....>
    <komp:topContent>
    <mx:ComboBox dataProvider="{getUtils().monthNames}"/>
    <--- ERROR
    </komp:topContent>
    </komp:InnerPanel>
    </mx:Repeater>
    topContent is a UIComponent variable which is added to "this"
    of my template component.
    Can someone please explain to me, how to prevent this error?
    Edit: The innerPanel-template-component looks like this:
    <mx:Canvas creationComplete="initApp()" xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    import mx.core.UIComponent;
    public var topContent:UIComponent;
    public function initApp() : void {
    if (topContent != null) {
    innerPanel.addChild(topContent);
    ]]>
    </mx:Script>
    <mx:Panel id="innerPanel" />
    </mx:Canvas>

    Did you find an answer to your question? I am having the same
    problem....
    Thanks....
    Brad

  • "Unable to generate initialization code within Repeater, due to id or data binding on a component that is not a visual child. "

    Error:
    "Unable to generate initialization code within Repeater, due to id or data binding on a component that is not a visual child. "
    Code snippet:
    <mx:Repeater  
    width="100%" height="100%" id="rpp" dataProvider="{loginDataseriesData.series}" >
    <mx:Panel width="100%" title="{rpp.currentItem.@name}">   
    <mx:DataGrid width="100%" dataProvider="{rpp.currentItem.data}" id="loginDataDG" itemClick="loginDataDGClickevent)" sortableColumns="false" draggableColumns="false">   
    <mx:columns>
    <mx:DataGridColumn headerText="Age Group" dataField="@periodValue"/>   
    <mx:DataGridColumn headerText="Year" dataField="@timePeriod"/>   
    <mx:DataGridColumn headerText="Value" dataField="@dataValue"/>   
    <mx:DataGridColumn headerText="User Name" dataField="@userName" editable="false"/>   
    <mx:DataGridColumn headerText="Notes" dataField="@notes"/> 
    </mx:columns>
    </mx:DataGrid>
    Thanks

    <mx:DataGrid
    width="100%" dataProvider="{rpp.currentItem.data}"
    DataGrid indeed not a visual child of your Repeater, since it's visual child is Panel not a Grid

  • Variable code within code

    I was wondering how you can make variable code within code, for example, normally, you can use this["blabla"+variable]; to make the code say blablavariable.
    But now i want to make new variables by using this code, within a for loop [using teller1 as the increasing value]
    this["var ringsegment_mc:Ring_"+teller1+"=new [Ring_"+teller1+"]()"];
    which i basically want to have say:
    var ringsegment_mc:Ring_1=new Ring_1();
    but this doesnt work, it doesnt make a variable called ringsegment_mc.
    why I want to do this, is because i need to make an add child which makes 16 parts, from 16 different movieclips.
    here is the code for that for loop:
    for(var teller1=0; teller1<16; teller1++) {
        kernplaats += Number(Math.random()*200+300);
        this["var ringsegment_mc:Ring_"+teller1+"=new [Ring_"+teller1+"]()"];
        ringsegment_mc.x=xco[teller1]+kernplaats;
        ringsegment_mc.y=yco[teller1]+kernplaats;
        ringsegment_mc.geklikt = Number(0);
        ringsegment_mc.score = Number(ringscore);
        ringsegment_mc.speedmodded = Number(0);
        ringsegment_mc.kerngroep = Number(1);
        ringsegment_mc.addEventListener(Event.ENTER_FRAME,vernietig);
        addChild(ringsegment_mc);

    Hmm, i already fixed it, though im still not really sure why it happened:
    i have a for loop adding the addchilds 16 times, using a different movieclip for each instance
    loading the x and y coordinates from an array, containing 16 values [which ive changed to 17 now, to make it work]
    the arrays:
    var xco:Array = [121,180,233,271,292,292,270,231,179,124,74,34,11,9,30,70,121];
    var yco:Array = [11,11,33,73,124,181,232,270,290,291,271,234,183,125,72,33,11];
    the part of the for loop and positioning:
    for(var teller1=1; teller1<17; teller1++) {
        //var ringsegment_mc:Ring_1=new Ring_1();
        var ClassReference:Class = getDefinitionByName("Ring_"+teller1) as Class;
        var ringsegment_mc:MovieClip=new ClassReference();
        ringsegment_mc.x=xco[teller1]+kernplaatsx;
        ringsegment_mc.y=yco[teller1]+kernplaatsy;
    i traced the x and y coordinates, and it appeared that Ring_16 got 0.0 as coordinates.
    so i added the first coordinate to the end, and it works fine now.
    and while typing i realise that the first value in an array is number 0 and not 1
    DOH!
    Thanks for the help guys!
    Especially you, Hakan!

  • Code Within Code

    Is There Any Way To Put Code Within Code Like So
    <jsp:include page="EchoQuery.jsp?query=<%= request.getParameter('exec') %>" />Or Is There Any Way Like It, Because When I Do It On Tomcat.5.0.19, It Returns A Syntax Error

    I Don't Think That Would Work For A Tag Like This
    <%@ include file="ABC?DEF=<%= request.getParameter("GHI") %>" %>
    Any Work Arounds For That? nope, no workarounds for this one.
    The include directive is evaluated at translation/compilation time.It can't be dynamic at all.
    The jsp:include tag is evaluated at runtime, and thus can use expressions.
    A great reference for all the details: http://java.sun.com/products/jsp/syntax/1.2/syntaxref12.html
    Cheers,
    evnafets

Maybe you are looking for

  • Mapping location errors caused by 3G

    I was very puzzled as my iPod touch could locate me within 20 m in the house whereas my iphone thought I was 200km away and only when I went outside and A-GPS could work did it correct itself. However I have discovered if I turn off 3G then the map l

  • Concurrent makes my data double!

    Dear friends, The question as follows: I have one table named my_tab which has tow columns ID(PK) and NAME. my_tab firstly has no datas.and remeber there are a constant that value is "Oracle" . I have write a pl/sql package one of its procedure will

  • Which Upgrade Guide documentation to read / adopt?

    I have a tremendous confusion, may be because I continue embracing 46C R/3 concepts in my mind. This year, I must upgrade from 46C R/3 unix/oracle to the last corresponding SAP version, in this case SAP ECC 6.0 (or SAP ERP 6?) unix/oracle. I wanted t

  • When you push the button VL02N that is in the  post output of goods)

    En inglés: Hello, in Peru is required to account when delivery by VL02N, the document is assigned a serial tax (calculated by ranges in a table z), the point is that I have not got any user exit is activated when you push the button VL02N that is in

  • Alpha non confirmation error

    Hi,     could you help for this below error..      "ALPHA NON CONFIRMATION"give the details of errror