Plant calendar in infopackage period selection

Hi ,
i have a requirement texts for which i am pasting !
"In some of the infopackages on Production system , period selections are calculated dynamically via ABAP program.
Check all info packs for the use of a plant calendar and rewrite
the program without plant calendar to create the period selections"
Can any one explain me what i exactly need to do?
Thanks,
Ravi

Hi Ganesh,
That means that there must be one info object which is representing plant calender of R/3 in BW. right?
How could i know that particular info object?
i had found one plant calender id which is of course not date!
Since it is a periodic date selections i guess it must be plant calendar day?
i can only procede furthur if i know the info object we are using for plant calendar !
Any suggestions?
Thanks,
Ravi

Similar Messages

  • Routine in Infopackage data selection doesnt give appropriate results...

    Hi Gurus,
    I need to pull data into PSA (BW 3.5) based on a certain selections in the Infopackage. Selection is based on specific values of Infoobject 0PLANT , however, as these values are multiple and do not fall in a specific range I have written a routine to derive these values.
    The routine  does the following steps :
    - creates an internal table from /bio/mplant and deletes the plant values that I do not wish to consider in the extraction.
    - delete data from l_t_range for fieldname = 'PLANT'
    - Appends data from the internal table to l_t_range.
    However, when I execute the infopackage, the extraction is done for ALL the 0PLANT values i.e it includes the data for 0PLANT value which have been delete from the internal table.
    My routine is :
    $$ end of global - insert your declaration only before this line   -
        InfoObject      = 0PLANT
        Fieldname       = PLANT
        data type       = CHAR
        length          = 000004
        convexit        =
    form compute_PLANT
      tables   l_t_range      structure rssdlrange
      using    p_infopackage  type rslogdpid
               p_fieldname    type rsfnm
      changing p_subrc        like sy-subrc.
          Insert source code to current selection field
    $$ begin of routine - insert your code only below this line        -
    TYPES ls_range like l_t_range.
    data: l_idx like sy-tabix.
    DATA: lt_plant like /bi0/mplant OCCURS 0 with header line.
              SELECT PLANT from /bi0/mplant into lt_Plant WHERE objvers = 'A
              ENDSELECT.
              delete lt_plant WHERE plant = 'W206'.
              delete lt_plant WHERE plant = 'WF11'.
              delete lt_plant WHERE plant = 'W945'.
              DELETE lt_plant WHERE plant = 'W530'.
              read table l_t_range with key
                   fieldname = 'PLANT'.
              l_idx = sy-tabix.
              DELETE l_t_range where fieldname = 'PLANT'.
              Loop at lt_plant.
                    l_t_range-sign = 'I' .
                    l_t_range-low = lt_plant-plant.
                    l_t_range-OPTION = 'EQ'.
                    append l_t_range.
              endloop.
              modify l_t_range index l_idx.
              p_subrc = 0.
    $$ end of routine - insert your code only before this line         -
    endform.
    Any bugs in the routines ?

    try this one:
    Loop at lt_plant.
    if lt_plant-plant ne 'WF11' or lt_plant-plant ne 'W945' or lt_plant-plant ne 'W530'.
    l_t_range-sign = 'I' .
    l_t_range-low = lt_plant-plant.
    l_t_range-OPTION = 'EQ'.
    append l_t_range.
    endif.
    endloop.
    or
    don't use a table with header ( use a standard table and use a work area to access the table ) and do an other select like this:
    SELECT PLANT from /bi0/mplant
    into corresponding fields of table lt_Plant
    WHERE objvers = 'A
    and plant ne 'WF11'
    and plant ne 'W945'
    and plant ne 'W530'.
    I hope it helps...
    Kind regard.
    Tobias
    Edited by: Tobias Kreuser on Aug 23, 2010 11:34 AM

  • Plant Calendar into SAP

    We would like to configure the plant calendar for holidays, etc so
    that when MRP runs and we do shipping/receiving it works around those
    days automatically.
    Please suggest what configuration we need to do

    Hi,
    You can do it by creating (SCAL)and assiging the Calender to the Plant.
    I can also suggest you to use the planning calender which is specifically use for the Manufacturing scenaro.
    Planning calendar is use at material level and you can assign this in MRP2 view along with lot size procedure (period lot size according to planning calander PK). By doing this procurement proposals will be created according to the periods defined in the planning calendar.
    Create one Planning calendar in MD25.
    Maintain Lot size as PK (MRP 1 view) and Planning calendar(MRP 2 view) in material master.
    After MRP, system will group all the requirements in each period and creates PR according to the planning calender.
    Also check the below link for the better understanding of planning calender
    [Factory Calender and Planning Calenderr;
    Check and revert.
    Thanks
    Hrishi

  • Today defaulted as the Period selection

    When displaying the Iview:com.sap.pct.hcm.rpt_objectselection.ivu it
    currently defaults to "Today" as the Period Selection.  Customer need this
    defaulted to "Current Year".
    We are using this iview as a Date and Personnel Number selection to run
    a standard SAP (EE Absence Calendar report RPTABS50.  Currently there
    is no way to change the detaulted period selection of"Today".

    Hi,
    You should create a variant for the transaction code and save this variant in the reporting framework configuration.
    Then when you run the Report, it will default to the option you wish to have.
    See table T77MWBFCD, here you define a report and there is the optional "Variant" for the report to run with.
    Regards,
    Ronald Meyer

  • Wrong period selection for date entered

    Dear Friends,
    In payslip program, I have used HR report category (X_M00002) that shows two options (radiobutton) for period selection:
    1. Current Period
    2. Other Period
    Problem is that when I enter other period as 01.2007 it displays salary slip of February 2007 instead of April 2007 though the period in selection screen on pressing the enter key shows 01.04.2007-30.04.2007.
    This is a copy of another program which shows correct payslip for selected period.
    What could the possible error be?
    Regards,
    Amit

    >
    Amit Srivastava wrote:
    > I had missed to unmark a chackbox named 'Print retroactive runs' in the selection screen. Unmarking it solved the problem.
    > Amit
    Hi, Amit
    Total Questions:         50 (33 unresolved)
    Your most of the Question are still open as you have found the solution of your problem so please mark this question as answered and also the other your open question where you have go the Solution, Please
    Best Regards,
    Faisal

  • Routine in infopackage for selection

    I am writing an ABAP routine in an infopackage to select data upto a certain year. I want to load data for all the years upto 7 years ago. However, if I leave the l_t_range-low blank, the infopackage throws an error when I run it saying invalid date range. What's the right way to assign the low value?
    l_year = sy-datum(4) - 4.
    l_t_range-sign    = 'I'.
    l_t_range-option  = 'BT'.
    l_t_range-low     = ''.
    l_t_range-high = l_year.
    modify l_t_range index l_idx.

    Hi Uday
    Add l_t_range-low = sy-datum(4). Also i see that in l_year you have defined it as sy-datum(4) - 4. So you are only picking latest 4 years. Please change it to 7 if you want the latest 7 yrs.
    Regards,

  • How to debug a ABAP Routine which is in Infopackage Data selection Tab

    Hi ,
       Please let me know How to debug a ABAP Routine which is in Infopackage Data selection Tab.

    Hi,
    You can try to create infinite loop:
    DATA: STOP.
    WHILE STOP IS INITIAL. ENDWHILE.
    Start InfoPackage and then go to SM50 and swich on debugging for your process. Then in debugger you can change value of STOP variable to skip the loop.
    Krzys

  • ABAP Routine in InfoPackage for selection

    Hello,
    I have 2 InfoPackages for loading from ODS1 to ODS2. InfoPackage 1 is restricted via ABAP Routine to load only certain customer numbers.
    InfoPackage 2 is supposed to load all other customer numbers - therefore the ABAP Routine makes ranges that exclude the customer numbers selected in InfoPackage 1.
    Now I face the fact that the selection of InfoPackage 2 is much to small in numbers. Problem is, the ranges only work when entered manually - but via ABAP entry these ranges don`t work. I can`t understand why this problem happens. Do you have an idea?
    Example (first number is from, 2nd number is to)
    InfoPackage 1:       customer numbers     
    5| 5
    100|100
    999|999
    InfoPackage 2: customer numbers
    0|4
    4|99
    101|998
    1000|99999
    But selection of InfoPackage 2 does not work propberly...
                                                                                    Thanks for your help,
    Angelika

    Hi,
    no, that was just a typing mistake. Sorry.
    The problem is, that in Monitoring I can see the selection and it looks good.
    But when I check the number of datasets selected it is far to small. Therefore I don`t believe the selection works.
    I tried manually to put all the ranges selected by ABAP Routine in InfoPackage 2 in another InfoPackage 3 - the selection is identically to InfoPackage 2 (but not made via ABAP, but manually) and in Monitoring the selection looks absolutly alike.
    But the manuall InfoPackage 3 selects far more records than InfoPackage 2.
    I can`t understand the problem. Can you? Can you give me advice?
    Thanks,
    Angelika

  • HR report Category - only time period selection

    Hi experts,
    Do you know what is the name of HR report category which allow only time period selection? Thanks!

    Hi Anthony,
    <li>There are few predefined HR Report categories for time data.
    XX_20002
    XXX20001
    XXXX2001
    Thanks
    Venkat.O

  • Routine in Infopackage Data selection Tab

    HI,
    I am having one InfoObject (marital staus) in InfoPackage Data selection Tab.
    Now I want to write a ABAP routine for that infoObject in Infopackage to select only those records of  marital status = ‘SINGLE’.
        I am new to ABAP . please let me know what code should I write in this routine.

    Hi Kris,
    You would do it like this:
    data: l_idx like sy-tabix.
              read table l_t_range with key
                   fieldname = 'MARITAL_STATUS'.
              l_idx = sy-tabix.
              move: 'I'      to l_t_range-sign,
                    'EQ'     to l_t_range-option,
                    'SINGLE' to l_t_range-low.
              modify l_t_range index l_idx.
    Thanks,
    Joseph

  • Filed not reflecting in infopackage data selection screen

    Hello Gurus,
    I have added a time stamp fiield in generic datasource in R3 and selected that field,but when i replicate the data source in BI and go to infopackage data selection screen,i dont see that field.I tried all the possible things but its not working.
    Please help me.
    Thanks in advance.
    Regards,

    Hi,
    Did you select that  Time stamp field as Selection field in RSA6? If not then select it as selection field and activate and then replicate the DS in BW and then check if that comes in Infopackage level.
    Hope this helps..
    Murali

  • Infopackage Data Selection Problem

    Hi All,
    When i load master data from source system, in Infopackage data selection tab i give some criteria (e.g Customer number = 1000) But in infopackage the data load with all customer.(Not only 1000)
    How can i solve this problem??

    Hello Ozan,  
    Please check the datasource in RSA3 and make sure that its working for the same selection.
    Is there any routine in your infopackage and what is your source system?
    [Thanks|http://chandranonline.blogspot.com/]
    [Chandran|http://chandranonline.blogspot.com/]

  • Just loaded iphoto on my ipad to make a calendar. Directions are select photos and select calendar from toolbar. No toolbar and no calendar option. Help

    JUst loaded iphoto on my ipad to make a calendar. Direction are select photos and hit calendar icon on toolbar at the bottom.  There is no toolbar at the bottom and nowhere is there a calendar icon.  Please help.

    What version of iPad do you have? (iPhoto doesn't work with iPad v1.)

  • Disable period selection subscreen screen 1000

    Hi,
    I am trying to disable the period selection subscreen on screen 1000 (hr - pnp), so only the payroll period selection subscreen is visible.
    Can anyone help me?
    thanks,
    Nathalie

    Hi Nathalie,
    There is no need to dsiable any module.. you can create a new Report Category like I mentioned above & attach it to your Zprogram. PL do the following.
    1. In SE80/SE38 Get into Change mode for your Program.
    2. Go to-->Attributes
    3. Click on HR Report Category
    4. Click on the Create Report Category
    The list of all the existing Report Categories are displayed. You can either pick one that suits your requirement or copy one & in the details screen select the 'No Entry ' radiobutton for Payroll Area/Period/Year.
    Regards,
    Suresh Datti

  • Time Statement - Date Period Selection

    Hi Experts,
    In ESS portal->Time Statement link, we are having this situation.
    When i change the "Date From" or "Date To", and clicked button "Display", \
    the "Date From" will always how "Start date of current month",
    and the "End Date" will show the "Current date".
    Say,
    Default date, as below
    Date From          |  Date To
    "01-Jan-2011"   |  "17-Jan-2011"
    and i changed Date From to "04-Jan-2011", and clicked button "Display".
    The "Date From" and "Date To" will be defaulted back to the original.
    I am not sure if this is the normal behavior?
    Thanks.
    Tee

    Hi,
    We tried thisTESD, but, we see the Period selection.
    I thought we should see a field with date selection for TESD?
    Is there anything that we need to do after changing the feature?
    Thanks.
    Tee
    TESP Form for time statement in ESS with Period selection
    TESD Time statement in ESS with date selection

Maybe you are looking for