How to set DTP filters dynamically

Hello,
For infopackages I have the FM BAPI_IPAK_CHANGE in order to change the selections dynamically.
Question: Does there anything similiar (FM, class) exist for data transfer processes (DTP), where I can change the filter of a DTP dynamically?
Thank you and best regards,
Ingo

U can select the filter conditions dynamically by writing a rouitne ...
Suppose there is one object called start date its techiacl name /bic/rt_strdt then u want to load data where  the start date is between 20080101 and some time limits then u can write the routien like this
data: l_idx like sy-tabix.
          read table l_t_range with key
               fieldname = '/BIC/RT_SRTDT'.
          l_idx = sy-tabix.
        l_t_range-low = '20080101'.
        l_t_range-high = '20080430'.
        l_t_range-iobjnm = '/BIC/RT_SRTDT'.
        l_t_range-Fieldname = '/BIC/RT_SRTDT'.
        l_t_range-sign = 'I'.
        l_t_range-option = 'BT'.
          if l_idx <> 0.
            modify l_t_range index l_idx.
          else.
            append l_t_range.
          endif.
          p_subrc = 0.
By this routine at run time it dynamically loads the data thats matches the filter condtion for the field start date...

Similar Messages

  • How to set this filters with 'or' relationship

    Hi Pros,
          I have a query as follows, rows and columns are all in structures.
                                                       regular_employees
                 active_employees
                 lay_off_employees
         I want to set up filter as ' employ_status = 0 or employ_subgroup =2' for this query, please tell me how to set this filters with 'or' relationship.

    Hi Yifei,
    Create a formula and enter this (let's name this FORMULA_KF):
    ((EMPLOY_STATUS = 0) OR (EMPLOY_SUBGROUP = 2)) * enter value IF_TRUE + enter value IF_FALSE
    Then create the condition to HIDE the rows having those values to be filtered (if this is your purpose)..
    Like,
    FORMULA_KF <> 1
    Is this what you want mate?
    Regards,
    Loed

  • How to set log filename dynamically

    Hi all!
    Could anybody give me a hint how I can set file name for log4j dynamically.
    I have a log4j.properties file:
    log4j.rootCategory=debug, stdout, R
    #### First appender writes to console
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    # Pattern to output the caller's file name and line number.
    log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %-6p [%c{1}] %m%n
    #### Second appender writes to a file
    log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
    log4j.appender.R.DatePattern='.'yyyy-MM-dd
    log4j.appender.R.File=Myfilename.log
    log4j.appender.R.MaxFileSize=10000KB
    log4j.appender.R.MaxBackupIndex=1
    log4j.appender.R.layout=org.apache.log4j.PatternLayout
    log4j.appender.R.layout.ConversionPattern=%d{ABSOLUTE} %-6p [%c{1}] %m%nand following code in my class:
    Logger LOGGER = Logger.getLogger(MyClass.class);
    File logFile = new File("newFilename.log");
                logFile.createNewFile();
                FileAppender r = (FileAppender)LOGGER.getAppender("R");
                r.setFile(logFile.getAbsolutePath());
                r.activateOptions();Unfortunately it does not work as r is NULL.
    It throws java.lang.NullPointerException.
    Could anybody help me?

    I wouldn't try to mess with the file name. I'd use logging the way it is intended - with the correct log file name configured.
    Even if you successfully do that, what do you suppose will happen when the log "rolls over"? Do you expect it to honor the fact that you've changed the base file name? I would expect it is going to fail when it closes the log, renames it using the rolling pattern, and creates a new log.

  • In chart (graph), How to set scale value dynamically(user input scale val.)

    Hi ,
    I am using Crystal Reports XI R2.
    I have specified scale value but user is asking he can decide scale value while running the chart like Y-axis major interval (inclement by) 10, 7, 4, .5, .25 etc.
    How to achieve this please give me suggestions.
    Thanks and regards,
    Manjunath N. Jogin

    I do not think this can be done dynamically,   You could build several sections, each with it's own graph,
    set the scales in each graph, in its section, and then supress sections based on parameter.
    So, you could have one section that is  5,10,15,20  etc.
    and another that is 8, 12, 16, 20  
    depending on what they want.

  • How to set hostname using dynamic binding for FTP, AQ, SMTP adaptersin BPEL

    I am using Oracle BPEL and SOA 11g and my requirement is to send files and messages to different destinations ( hostname ) using dynamic JCA bindings. All hostname to be used other related information for destination is stored in database. My BPEL flow should retrieves the hostnames using one webservice and then set the hostname in FTP, AQ and SMTP adapters using dynamic JCA bindings.
    I came across http://rahullahiri.blogspot.in/2011/09/configuring-ftp-adapters-in-oracle-soa.html and http://www.soabyte.com/2010/11/jca-dynamic-partnerlinks-in-soa-11g.html but unsure if we can dynamically set the hostname also for the adapters mentioned in the BPEL flow.
    Can you please advice how it can be achieved in BPEL and what is the best way?
    Thanks for help in advance.
    Shail

    Hi,
    Its good that u pasted the complete log file. In your environment you have to run this upgrade tool only once from any of the middle tier.
    And with respect to your error that u got in precheck is quite simple. All u have to do is just run this script from by connecting to portal schema using sqlplus.
    Run dropupg.sql
    Location-------- /raid/product/OraHome_1/upgrade/temp/portal/prechktmp/dropupg.sql
    Later you re-run the upgrade tool and let me know the status.
    Good luck
    Tanmai

  • How to set column heading dynamically?

    Hi:
    How can I set a column heading dynamically -by PL/SQL code- ?
    Regards,

    Hi,
    Create a formula field, and return desired heading depending on your conditions, and use that field as the column header.
    Regards,
    Manu.

  • How to set event handler dynamically?

    Hi all,
    Usually, we add event listener like this:
    myCanvas.addEventListener("click", onClick)
    How can I set the second parameter so that I can add click handler dynamically?
    For example, I have functions clickHandler1, clickHandler2, ...
    And another variable fname: String will contains value1, value2, ...
    Thanks and regards,

    You could do something like this:
    public function firstFunction():void
         trace("First Function");
    public function secondFunction():void
         trace("Second Function");
    public function callFunctionByName(name:String):void
         this[name]();
    public function addEventHandlerByName(handlerName:String):void
         this.addEventListener(Event.ENTER_FRAME, this[handlerName]);
    this.callFunctionByName("firstFunction"); //traces 'First Function'
    this.callFunctionByName("secondFunction"); //traces 'Second Function'
    Let me know if that works for you.

  • How to set target Url dynamically in submit button

    hi,
    I am using livecycle process to render a pdf form. The form has a submit button. Is it possible to set URL of submit button dynamically in a form? If yes how can i pass the target URL from process, dynamically while rendering the form? Can someone help me in this.
    Thanks,
    kripa

    Hi,
    Go to Tools > Embedded OC4J Server Preferences... > Global > Startup.
    Look for the options in "Host Name or IP Address Used to Refer to Embedded OC4J".
    William

  • How to set queue names dynamically for MQ Adapter - SAP XI

    Hi Friends
      I have a scenario where I should send a message to multiple queues ( more like broadcasting ) using a single communication channel of MQ Adapter. The scenario is like this
    1. If the message content contains value '111' then message should go into Queue A, Queue B, Queue C
    2. If the message content contains value '222' then message should go into Queue A, Queue B
    I will store the content values inside a table ( value and queue names ) and can pick it up inside BPM but want to know how to change the queue name property of MQ series adapter. I will do this inside a loop so the message can be sent to multiple queue names but want to know how to change the queue name property of receiver communciation channel.
    I appreciate the help in providing the answer.
    thanks
    Kannan

    Amaresh
      Thanks for your answer but my question is specifically targeted towards MQ adapter and the queue name which has to be dynamically changed. I can do the dynamic changes for file adapters but want to know how to change the queue names in message mapping or inside BPM.
    regards
    Kannan

  • Frmrwinteg: how to set cookie domain dynamically

    We are using the frmrwinteg bean for calling reports without sso with passing the userid info in an encrypted cookie. We have the following problem:
    We have to pass 'servername.domain' as the cookie domain value, e.g. 'formsserver.company.com'. Although the manual states that just passing the domain (i.e. '.company.com') is enough, we did not manage to get this working.
    Now we have a server that can be approached in two ways:
    - Directly, using the server's hostname
    - Through a reverse proxy (ibm webseal), using the proxy name.
    We have configured both servername:port combinations as virtual hosts on the http server, so both connections work, but the cookiedomain must now be set depening on which way it is called.
    The question is: can we determine within Forms (maybe using webutil?) what the original url was from where the form is started? In that case we can dynamically determine the correct value for the cookie domain.
    Or is there a way to get the cookie working with just '.company.com' as the cookie domain?

    I found some documentation why our cookie domain does not work. '.company.com' would work, but '.company.nl' (or any other country code) does NOT work. See explanation below:
    However, you CAN use it accross different hosts on the same domain, provided the domain either:
    1. ends with edu, net, gov, mil, com or org and contains at least 1 dot in it (eg you could specify xxxx.com, and use it on hosta.xxxx.com and hostb.xxxx.com) OR
    2.) ends with a country code and contains 2 dots in it (eg you could specify xxxx.com.au and use it on hosta.xxxx.com.au and hostb.xxxx.com.au).
    So it seems the servernames have to be extended with an extra level, e.g. 'hostname.servers.company.nl'.
    I do not think my customer will ever want to do that.

  • How can set editor title dynamically

    HI
    I am using oracle forms 6i, in that i am using same editor for different items, i need to change editor title according to changing item, Is it possible in oracle forms 6i.
    Thanks in Advance
    Aneesh

    Hi jeyanthi,
    attached you will find an example.
    Hope it helps.
    Mike
    Attachments:
    Unbenannt 2_LV80.vi ‏13 KB

  • How to set dynamic name of the mail attachment according to source file ?

    Hi,gurus:
    Our scenario is like below:
    Sending files from an FTP server to another FTP server without using the integraiton repositary,and the file name is not changed .Now, we want to also send the file to some with by mail adapter.The scenario  now works by using two business services in receiver determination.But the name of the attachment is "untitled.xml".We know how to set the file name staticly,but how to set the name dynamicly according to the source file name ?
    I have checked miachel's blog "XI: Dynamic name in the mail attachment - pseudo "variable substitution"(/people/michal.krawczyk2/blog/2006/02/23/xi-dynamic-name-in-the-mail-attachment--pseudo-variable-substitution),but how can I get the source file name?
    And another question:Must we restart the adapter or j2ee engine to make the user defined module work?

    Hi,
    >>>but how can I get the source file name?
    form dynamicconfiguration (ASMA)
    >>>And another question:Must we restart the adapter or j2ee engine to make the user defined module work?
    no need for a restart
    Regards,
    Michal Krawczyk

  • How to set background image in Dynamic Shell Layout

    Experts,
    Using dynamic shell layout, how can we create a skin like this http://www.2shared.com/photo/OqXfb5jq/layoutissue.html
    Issues :
    1)Need to set the background to the page - How to set it in dynamic shell layout.
    2)Panel box color to be changed
    please advice
    thnks
    jdev 11.1.2.1

    Color goes UNDER the background image. Just set it.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "StarPilot06" <[email protected]> wrote in
    message
    news:eqqve6$341$[email protected]..
    >I am trying somethign that seems tricky to me...
    >
    > The image I am using I faded to a solid color on the
    bottom half. I set
    > the
    > background image to to left and NO REPEAT but when the
    cell grows with
    > content
    > and it stretched beyond the image it goes blank
    underneath. How do I set
    > a
    > background color without going over the background
    image?
    >
    > I need them both to be background because I want to use
    text over both.
    >
    > Any ideaS?
    >

  • Can anyone please tell me how to set a long tip dynamically?

    Hi Team,
    Could you please tell me how to set a longtip dynamically??
    Thanks,
    Swetha S

    Hi Shweta,
    As mentioned, the parameters for the setLongTip(OAPageContext pageContext, String tipMessageApplShortName, String tipMessageName)
    Instead, you are passing setLongTip(pageContext,String string). Put in the Message Application Short Name and respective Message name in above method parameters.
    Regards,
    Zahid

  • Set Queue name dynamically in MQ adapter

    Hi,
    Kindly suggest, how to set Queue name dynamically in Mq adapter.

    Hi Ajay,
    Thanks for your response.
    Below mentioned property value works fine for JMS adapter.
    Am looking for the property name of MQ adapter.
    Tried to set the queue name to the property jca.mq.ISpec.EnqueueMsgToQ and failed.
    Could you please provide the property name for MQ adapter

Maybe you are looking for

  • AQ adapter dequeue problem

    Hi, I made a process which uses a AQ adapter with a CLOB payload when I enqueue a message, an exception is raised. <ERROR> <default.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_readMessage: Received TranslationException <ERROR> <defau

  • Where are my photos? iPhoto library hides them AND renames the folders

    I recently upgraded to Lion OS and can no longer see my photos and videos in Finder. A search shows that they are all in a dir that is actually an iPhoto library. Bizarrely it has been given the name of the first lot of photos that I imported in to i

  • Data in Time Series

    Hello, I want to check the data in my time series live cache in my planning area. What is the transaction to check ? Thank you Steve

  • X240t anytime soon?

    Have read that when haswell arrives Lenovo will release the new gen of thinkpads. I'm interested in the future x240t. Are there any news on this? Will it have better resolution/quality than the x230t?

  • Renaming the Source Directory

    What negative effects will renaming the source directory have on my help file topics, graphics etc.  For example, the current directory is c:\PRD and I need to rename it to c:\PRD2.