The sme variable in data selection of inpopackage and value in transfer rul

Hello
I would like to use the same variable in data selection of infopackage (1) and as a value in transfer rules (2).
Example :
If I pass 1 I want to see value1 in data selection of infopackage (1) and as a value in transfer rules (2).
If I pass 2 I want to see value2 in data selection of infopackage (1) and as a value in transfer rules (2).
How is possible?

Hi Aleks,
In the transfer routine your code would be something similar to this:
zvar is a variable
select LOW from RSLDPSEL into zvar where LOGDPID = '<Technical name of Infopackage>' and IOBJNM = '<The Info-object whose value you want to use>'.
*Now assign the value
RESULT = zvar.
Hope this helps.
Bye
Dinesh

Similar Messages

  • How to get the difference of two dates in years,months and days

    Hi friends,
    how to get the difference of two dates in years,months and days
    for ex 2 years 3 months 13 days
    select (sysdate-date_Start) from per_periods_of_service
    thanks

    Something like this...
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select to_date('17-nov-2006','dd-mon-yyyy') as c_start_date, to_date('21-jan-2008','dd-mon-yyyy') as c_end_date from dual union all
      2             select to_date('21-nov-2006','dd-mon-yyyy'), to_date('17-feb-2008','dd-mon-yyyy') from dual union all
      3             select to_date('21-jun-2006','dd-mon-yyyy'), to_date('17-jul-2008','dd-mon-yyyy') from dual
      4             )
      5  -- end of test data
      6  select c_start_date, c_end_date
      7        ,trunc(months_between(c_end_date, c_start_date) / 12) as yrs
      8        ,trunc(mod(months_between(c_end_date, c_start_date), 12)) as mnths
      9        ,trunc(c_end_date - add_months(c_start_date, trunc(months_between(c_end_date, c_start_date)))) as dys
    10* from t
    SQL> /
    C_START_D C_END_DAT        YRS      MNTHS        DYS
    17-NOV-06 21-JAN-08          1          2          4
    21-NOV-06 17-FEB-08          1          2         27
    21-JUN-06 17-JUL-08          2          0         26
    SQL>But, don't forget that different months have different numbers of days, and leap years can effect it too.

  • Texting on iPhone 5.  When texting to multiple people why does the contact list return to the "A"s after you select a contact and try to add the next one in order?

    Texting on iPhone 5.  When texting to multiple people why does the contact list return to the "A"s after you select a contact and try to add the next one in order?  This really slows you down when trying to contact 50 people with information.  iPhone 4 worked just fine.  Any suggestions on how to fix this?

    None of my pictures that I uploaded into iPhoto are in my Finder under Pictures.  Should I copy and paste my folders from iPhoto into here, in case something happens to my iPhoto program (in addition to backing them up onto an external hard drive like I already do)?
    No, that's just wasting space.  A back up needs to be on a different disk.
    Your photos are within the iPhoto Library.

  • OLAP variable for data selection

    hi all ,
    can any own explain how the OLAP variable is used for data selection in the info package. how the value is changing in the Variable.
    thanks in advance
    rajan

    Hi Rajan,
    You will not be entering any date value. As Dirk mentions, the value will be filled into the variable by way of an exit, i.e. automatic processing according to some code.
    Like your date variable can get you the first of the previous month from the exit processing.
    Hope this helps...

  • Data- selections in listbox and to get the itab fields seperatly

    Hi All,
    Can anyone help me out with listbox data-selection.
    In the listbox in at 'selections' i am giving itab type standard table.
    Its accepting only the standard type itab.
    its not accepting itabs with headers.
    so I have given table as standard type.
    In the oninputporcessing also I have given same itab.
    but when I trying to save these data->selection into another table using another itab
    I am getting problem that me->selections are not possible.
    I am getting data from one table and saving in the another table which is different from previous but having same key.
    Hope you understood my problem.
    Please help me out.Thanks in advance.
    Regards,
    Suneetha

    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content>
      <htmlb:page title = "BSP Extension: HTMLB / Element: listBox">
        <htmlb:form>
    <% data: itab_map type standard table of ZPRODUCTS.
    SELECT * INTO CORRESPONDING FIELDS OF TABLE itab_map  FROM ZPRODUCTS.%>
                           <htmlb:listBox  id  = "List"
                                           multiple = "true"
                                           table= "<%=itab_map%>"
                                           nameOfKeyColumn   = "PRODUCTS"
                                           nameOfValueColumn = "PRODUCTNAME"
                                        <%--  selection = "SAPProduct-PRODUCTS" --%>
                                                 selections  = "<%=itab_map%>"
                                                 width = "300"
                                                 size = "15"
                                     />
            <htmlb:button  id    = "Save"
                text  = "Save"
                tooltip = "button tooltip: Please click me to save"
                onClientClick = "alert('Selected data saved')"
                design = "small"
                width = "30"
           />
    oninputporocessing
    CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
    Optional: test that this is an event from HTMLB library.
    IF event_id = CL_HTMLB_MANAGER=>EVENT_ID.
    See if upload is triggered from button
      DATA: event TYPE REF TO CL_HTMLB_EVENT.
    data:begin of itab2,
           itab2_syname type ZPRODUCTSAVE1-sy_uname,
           itab2_product type  ZPRODUCTSAVE1-PRODUCTID,
           itab2_productname type ZPRODUCTSAVE1-PRODUCTNAME,
           end of itab2.
    data: itab_map type standard table of ZPRODUCTS.
      event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
      IF event->id = 'save' AND event->event_type = 'click'.
        DATA: data TYPE REF TO CL_HTMLB_LISTBOX.
        data ?= CL_HTMLB_MANAGER=>GET_DATA(
                                           request = runtime->server->request
                                           name    = 'listbox'
                                           id      = 'List'
        IF data IS NOT INITIAL.
       itab_map = data->selections.
        ENDIF.
    move 'sy-uname' to itabsave-SY_UNAME.
    move itab_map-products to itabsave-products.
    move itab_map-productname to itabsave-productname.
      ENDIF.
    ENDIF.
    isted of
    data: itab_map type standard table of ZPRODUCTS.
    if I declare it as
    data: begin of itab_map,
          products type ZPRODUCTS-products,
          productname type ZPRODUCTS-productname,
          end of itab_map.
    at data selections it not accepting itab_map.
    But i need this header type while I want to save the selected fields in the another table itab.
    Regards and thanks,
    Suneetha

  • Need a single point of view on date selections for Delta and Full load IP's

    Hi Experts,
    Every year we are facing issues on date selections for data extraction, for example the Delta or Full selections for particular IP is like 2005 to 2008 , in this situation, for the year 2009, this IP is picking 0 records as the selections are upto 2008 only.
    My requirement is, I need to check the selections of all the IP's in the system and want to change on need base if the selections are getting expired instead of going and checking manually to each and every IP as the system is having around 3000 IP's, which is a tedious job.
    Guys, please let us know if there exits a Table/Program or any other way to check it.
    Inputs appreciated.
    Regards
    Nandu

    Hi
    Persistent through module RSSM_SHIP_PSEUDO_DVERSION_WRI
    Primary table RSLDPIOSH
    RSLDPIO Links datasource to infopackages
    RSLDPIOT InfoPackage Text Description
    RSLDPRULE ABAP source code for InfoPackages
    RSLDPSEL Hardcoded selections in InfoPackages
    RSMONICDP Contains the request-id number by data target
    RSPAKPOS List of InfoPackage Groups / InfoPackages
    http://help.sap.com/saphelp_nw70/helpdata/en/2e/20d704d45be7458582cdfcc5487090/frameset.htm
    Hope it helps

  • Data selection slow for dimension value empty

    Dear BW Experts,
      I have face the below situation:
        Let say i have dimension A {Date_billing, Date_invoice, Date_reconcilation}, and I have dimension B {Sales Org, Distribution channel}
       Date_billing is always not empty because it is coming from billing document.
       But Date_invoice and Date_reconciliation is sometimes value are empty because those are calculated base on some logic.
      When i run querry with selection screen of {Date_billing, Sales org, Distribution Channel}, it runs very fast, it uses star stransformation.
      But when i run querry with selection screen of {Date_invoice, Sales org,..}, sometimes it runs very slow and even give dump due to run time long. I have checked and what i found is "If user enters the Date_invoice which is existing in dimension table, then it return value very fast, but if users enters some value of Date_invoice which is not existing in dimension table then i run ver slow and give dump".
      To advoid this situation, i have been thinking about NON_STAR_TRANSFORMATION, it is OK. But except this do we have any other solutions, do i missed somthing in my setting.
      I have been thinking that I should change selection screen like the way that only date existing in dimension table of Date_invoice will display, but I do not want to do this, what i refer is "Is there any other solutions related to BW selection setting to eliminate those such empty value fastly when inner join happens."
    I am looking forward to hearing from you.
    Thanks and regards,
    KIMC.

    Hi BW experts,
       i have checked, the reason is that they use STAR TRANSFORMATION, and we used oracle 10.2.0.2, I really do not know how to calculation cost of querry base on CBO.
       Please guy me, for example, i have a querry, how do i know cost of CBO run if that is STAR TRANSFORMATION and if that is NON STAR TRANSFORMATION.
       I am looking forwards to hearing from you.
    thanks and Regards,
    KIMC>

  • HT1560 If diagnostics says appletv is working properly, why does the install keep getting stuck on pairing with the computer then back to select resolution over and over.

    First gen Appletv suddenly stopped working from one night to the next. This has happened in the past once and the usual restore, reboot, etc, tinkering finally snapped it back into working quite unexpectadly. The symptom is, after restore when it gets to the screen to pair with itunes by entering the numbers in itunes, the number is briefly up on the tv screen and then quickly is gone returning to the select resolution page. This happens over and over with each try while the Appletv never shows up in itunes and the number box never appears either to pair the computer with the Appletv. It does the same thing with my intel macbook so I don't think it's the Imac. I have dumped itunes 10 and reloaded itunes 9 with no change in the problem. My IP scanner picks up that the Appletv is on our network as soon as it turns on. I have used wireless, which it finds and logs into, and ethernet which also has it finding my network. I can't test whether it is actually on the network by trying to play a trailer or something because it will not go past that pairing screen in the initial setup. Are the built in diagnostics reliable when they say your appletv is working correctly. The hard drive isn't making any exceptionally loud noise as it spins up. I am stuck with this unit because I use it with a G4 Imac running Tiger 10.4 for a video/audio jukebox at the bar. New ATV won't work with the Imac unless it's running leopard I believe. The thing runs like molasses already so attempting leopard which I don't have anyway would really make it crawl. I love a good mystery/problem but this thing is driving me crazy. If I just could know for sure what component inside was shot I would replace it. Could a hard drive boot up to a degree and then get stuck at one part of the install, or would it have to be the logic board, or something else. Bad juju in the house or something

    Had same problem this finally stopped it for me.
    FINDER
    APPLICATIONS
    UTILITIES
    DISK UTILITY.app
    select your main hardrive
    REPAIR DISK PERMISSIONS
    Message said repairing estimated time 1minute, yeah okay we all know how accurate those are process took about 5 minutes with nothing showing then all of a sudden printer permission repaired notations were flying onto screen in actions box. Do restart for heck of it sign on and so far no message has apeared where it did regularly. I hope this is indeed the fix. In meantime it never hurts to fix permissions so give it a try.
    George in NY

  • I have just upgraded to 10.6.7, and was browing the App. Store, I selected a product and it started to download, I cancelled the download, but it still registers in my purchases list, have I purchased that appl. and how can I cancel the purchase?

    I have just upgraded to 10.6.7, and was browing the App. Store, I selected a product by mistake and it started to download, I cancelled the download, but it still registers in my purchases list, have I purchased that appl.? and how can I cancel the purchase in my purchases list?

    I think that as soon as you click "Buy" and type in your details, the iTunes server is alerted that you have bought the item, even if it hasn't downloaded. Your "purchased" list is based on your account and not your computer so I'm afraid even if you haven't completed the download, you will be charged for it (but if you do now download it, you won't be charged again). This also means that you can't remove items from the purchased list.
    Glad to be of help (I hope),
    Jonathan

  • Drop down boxes like the ones used for dates don't work and hav'nt work for quite a while. What's going on?

    Drop down boxes have not worked for the last few revisions of
    Firefox. I've tried eliminating all add ons etc. bit to no avail. It does
    not seem like this should be such a big problem to fix, since these
    objects used to work fine in the past. I really like Firefox otherwise
    and would hate to have to resort to another browser. The drop down box shown below does not work either, but that may be due to lack of content.

    Yes, I've disabled everything. Even changed Windows 7 Themes, but no luck.
    After sending this reply, it occurred to me that Actual Window Guard might be
    the problem. When I excluded the Firefox window from Actual Window Guard
    control the drop down boxes worked. Wish I would have thought of it sooner. Thanks to everyone who made suggestions and tried to help. I really do appreciate your time and effort.

  • I have a new laptop and have just downloaded itunes and want to add my music to it.  It has only synced some of the music.  Itunes prompted me for sync and erase or transfer purchase which i chose but it hasn't downloaded hardly any of my tunes.

    Can anyone help i have a new laptop and want to transfer all my itunes music over to this.  Have downloaded itunes tried to sync my music and transfer but not working.  It prompted me to erase and sync or transfer purchases which is the option i went for.  Am still missing most of my music purchases and no playlists are there.  Can anyone help >

    forgot to add am so un technical too !!! so any help massively grateful !

  • HT4993 when switching from my htc evo to the iphone 4s they said all my photos and videos would transfer over time, but after 6 hours still nothing has transfered.  Anybody have this issue or know what I can do so I won't lose all my pictures and videos

    When switching from HTC evo to iphone 4s on sprint service the attendant said all my music, photos, and videos would transfer after some time.  Does anyone know if this is true, or has anyone had this issue happen to them?  It has been 8 hours since the switch and only my contacts transferred right away.

    Well i wouldn't see why your photo's, videos and music would trasnfer. As that is a android device, there is no way to have them transfer over the air to the iphone. 
    Contacts probably came from google. Your videos and such you would have to move them to PC then to the iphone. Same with your music.

  • How should I set up my VI so that I can use the linear fit coefficient data analysis program, when my values are coming from while loops within a sequence structure?

    I'm attempting to create a calibration program, using the printer port, and a Vernier Serial Box by modifying a calibration program designed for the serial box.
    There are six calibration points, and to collect them, I have it controlled by while loops so that the numbers are taken when a button is pushed, and this is inside a sequence structure so that I can get the six different points. I feed these numbers into two different arrays (for x and y values) and then try to use the linear coefficient analysis on these points, but the values for the slope and intercepts it returns are not correc
    t.
    If I cut out the array and coefficient analysis, and feed the same numbers in directly without the while loop and sequence structures, it produces the proper values... I don't know why the numbers it is producing are different, and I'd really like to know.
    Thanks,
    Karinne.

    I would use a data manager sub-vi that would be called by each from of the sequence structure that produced a data point. The data manager sub-vi could auto append new items or could place items in a specific entry of an array. Later on when you want to calculate the linear fit, call the sub-vi to return the array of values.
    Stu

  • SSIS - pass variables to Data Manager for Appset and Application name

    Hi folks,
    I'm building an SSIS package, and I can't work out how to set the Appset and Application names in the Convert Task item - I have created the item, and the variables, but I can't work out how to reference the two.
    Any tips or help greatly appreciated - this is one of the worst-documented pieces of software I've ever seen!
    Thanks,
    Jason

    Hi,
    Please refer to the other SSIS packages already created. We need not set these parameters while creating the SSIS package. When we link the SSIS to DM package, we can dynamically send the appset name and the application names.
    Hope this helps.

  • Question, regarding export. From the library module, when I select an image and then click on the Export button, or select file export, nothing happens. The program seems to lock up and the only way to continue in the software is to press the escape key.

    I guess the question is entirely contained in the title. Thank you.

    TO further clarify, after pressing the Export button the dialog box defining the export output does not appear

Maybe you are looking for