Dynamic data selection in process chain

Dear BW gurus,
I've an infocube 0PA_C01. I'm gettting data with data source 0HR_PA_0. Because of
time-dependency of personel data i should get the package month by month. SO I set the data selection parameter 0CALMONTH in data package.  
0CALMONTH=200601-200601;
0CALMONTH=200602-200602;
My question is how can i use this data package in a process chain for automatically getting data each month without manually changing data selection parameter.
thanks,
Yigit

Hi Yigit,
In the info-package after you have selected type '6' it will take you to the ABAP editor, please try the following code,
data: l_s_range type rssdlrange,
        l_date type d.
l_date = sy-datum.
l_year = l_date+0(4).
l_mth = l_date+4(2).
concatenate l_year l_mth into l_month_high.
concatenate l_year '01' into l_month_low.
loop at l_t_range into l_s_range where fieldname = 'CALMONTH'.
if dy-subrc = 0.
  l_s_range-low = l_month_low.
  l_s_range-low = l_month_high.
  modify l_t_range from l_s_range.
endif.
endloop.

Similar Messages

  • "No Data Selected" in process chains

    Hi Experts,
    The load process for datasource 2lis_11_vahdr is red. When I checked display messages, there are no details of the failure displayed in Process Tab. In Process monitor, it is just showing as ' No Data Selected".
    Kindly help me solve this issue.
    Thanks in Adv....

    Hello;
    This mean there is no data extracted from source system;
    if this is a normal behaviour just modify your info to mark it green when no data.
    If this is not a normal behaviour check in lbwe the job associated to your extractor is scheduled.
    Regards.

  • Dynamic Date selection inactive

    Hi,
    I am not able to give dynamic date selection in a variant. (D: Dynamic date calculation).The traffic light is displayed in red and there is no options such as
    current date etc. is there any need to do some settings to get these options.

    Hi,
    have a look at the below link..  ( they have mentioned the steps of customer exit variable fassigning for reporting agent)
    https://websmp110.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700003598422003E
    Regards,
    Siva.

  • BMBC Dynamic Date selection Variant

    Hello Team,
    I want to create variant in BMBC -Batch Information Cockpit with Dynamic Date Selection. But it do not find the screen the to set-up variant attributes
    This is the field where I want to have dynamic date selection, 1st Day of the month to Last day of the month.
    Field name and program
    I am using SE80
    As you can see screen number 0100 is not showing up. and I have gone though all available screen but i could not find the field.
    Please advise if dynamic date selection for this field is possible at all or there is other way.
    Thanks

    I don't think that it is possible to have dynamic date selection here. The whole selection screen is just dynamic, it has only place holders and you define in customizing which field is on the selection screen.
    You actually save a selection variant via this extra big button for selection variants, which is quite different to the disc icon where you usually save your selection variants and where  you have the option to define dynamic date fields.

  • Program to regenerate user variants for dynamic date selection!

    Hello all:
           We upgraded to ECC6.0 from 4.6C and there are some variants that user created in 4.6C in which they set dates like date = date - 1day something like that (basically dynamic date selection). These variants are not working in ECC6.0 unless the user clicks on the variant button and resaves it!! Does anyone know if there is any SAP program  that I can run that does this automatically? Rewards assured.
    Thanks.
    Mithun

    Thanks for the reply Rob. We already ran RSVARDOC_610! Is there any specific program just for the issue I am having?
    Thanks.
    Mithun

  • How to delete InfoCube data in a Process Chain with restictions?

    Hi Friends!
    My process chain is a full update in the cube 
    I need delete the data everyday except  the last day in the month.
    How can I do this in 7.0 release?
    Thanks!

    Hi,
    Please use the option Delete of overlapp requests process type
    Take the following conditions as :
    1) Only delete request from same DTP
    3) Only Full DTP
    3) Only Delete DTP requests from same souce
    Selections are
    Overlapping
    Request date
    Is in the current month
    based on the month
    Hope this helps out
    Thanks
    PT
    Edited by: PT on Feb 23, 2010 7:18 PM

  • How to manage the "no data" loading in process chain

    Hi,
    I want to load some master data in delta mode with a process chain. The treatment works good except in one case.
    If I have no data selected during the extraction ( cause the system doesn't find any data matching with the delta field ), the process chain appears in red as if some problems was encountered instead of giving a traffic light green.
    How is it possible to manage this case of treatment as a normal treatment ?
    Thanks for your help.

    Marc,
    in RSMO ,
    Using Settings -> Evaluation of Requests ->
    if no data is available in the system, the request
    select Green (is Judged to be successful). this will cause the load to be successful if Zero records are fetched and the Process chain will not fail.
    Cheers
    Tushar

  • PSA to Multiple Data Targets in process chain

    Hello All,
    I am trying to create a process chain that loads data from an already loaded PSA to further targets. (Note that the infopackage to load from R/3 to PSA is in another process chain). I am using the "Read PSA and Update Data Target" process type. But it allows only one data target. I need to push the data to all the targets of that infosource. Do I have to put a process for each target? Or is there a work around? Please help.
    Thank you,
    Rinni.

    Hi Hemant,
    Thank you for your detailed answer. I know that it is mostly not practical to have the InfoPackage and "Read from PSA" package in different local chains. However I am facing a situation where I need to create a chain that just extracts all the data from R/3 and loads it till PSA in BW (This is very time critical, so we do not wish to put any other processing in this chain). And in the second chain, we want to put further processing steps within BW. That is the reason, loading from PSA to ODS needs to be in a separate chain.
    Another thing is the variant does have a field to enter Data Target, and that shows only the targets of InfoPackage, but allows me to select only one. However, I will go ahead and try with the Infopkg entry as you suggested.
    But if you could just elaborate on why you said, I CANNOT have PSA to Targets in a separate chain, I would really appreciate it!
    Thanks again,
    it was a big help!!

  • Information Broadcasting(Event data change in Process chains)

    Hi All,
    Does anyone have experince on the functionality Information Broadcasting ,Can you please help me where we use Trigger event when change in the info provider in the process chains.I want to know when we use the (Trigger event in the Broadcaster) in the process chains,how will it take effect in the Information Broadcasting scheduler screen when we select the particular Info provider when there is any data change(Including an Event data change in a process chain).Can you please elaborate on the topic if any one has used the event data change in the info provider.Can you provide me with steps that would be great help.Answers are always appreciated and rewarded.
    Thanks.

    Hi,
    Usually we trigger an event in SM64 tcode..if u want to create an event u will go for SM62.
    In addition to time- and calendar-based job scheduling, the background processing system supports event-driven scheduling.
    Triggering an event notifies the background processing system that a particular condition has been met. The background processing system reacts by starting any jobs that were waiting for that event.
    Events are not saved. Once an event occurs and triggers any jobs that were waiting for that event, the event is discarded
    U can monitor process chain via Tcode 'CCMS'..
    Information broadcasting allows you to make objects with Business Intelligence content available to a wide spectrum of users, according to your own requirements.
    Go through this
    Information Broadcasting:
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/359840dfa5a160e10000000a1550b0/content.htm
    Including an Event Data Change in a Process Chain :
    http://help.sap.com/saphelp_nw04/helpdata/en/ec/0d0e405c538f5ce10000000a155106/content.htm
    Regards-
    Siddhu
    Message was edited by: sidhartha

  • Delete dso data requests in process chain

    Hi Guys,
    I have a DSO which loads data for 1 year in FULL load for every 2 hours. The requests in DSO are increasing and data transferred is almost same. Is there any way to delete the overlapping request from same DTP to DSO?
    I know there is option of  'Delete Overlapping Requests from InfoCube' for Infocube. I tried to use it the same for DSO but could not find my DTP for the DSO.
    So is there any other process type exists for DSO? I know we can write a code as well but I am not an ABAP'er.
    Plz suggest <removed by moderator>.
    Thanks.
    Edited by: Siegfried Szameitat on Jul 20, 2010 5:34 PM

    Hi Siggi,
    Thanks for replying.
    What are these options in the Tcode delete_facts:
    1. Generate selection program
    2. Generate deletion program
    There is no documentation available. When I click Generate deletion program option and execute- A selection screen opens, I selected nothing and executed, got an alpha numeric report name on the tcode screen, How can I insert this report in process chain? is there any process type for this?
    I do not understand why SAP has not provided standard process type like available for Infocube.
    Appreciate your help. Thanks!

  • How to load data targets through process chain

    hello gurus,
    i am new to bi7.0 environment,
    can anyone provide me step by step loading of data targets with the help of process chains.
    its very urgent
    thanks in advance
    bharath kumar

    Hi,
    After creating Start variant, select Data Targets in left side, find out which one you want to create PC. Drag and drop that Data Target ODS into right side, and select info package and ods activation.
    For Master data also the same you have select Attr Change run.
    Connect the links from Start variant to data targets.
    Check the below links:
    http://help.sap.com/saphelp_bw33/helpdata/en/d5/e80d3dbd82f72ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_bw33/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/dc/c7e542de327276e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/87/13843b74f7be0fe10000000a114084/frameset.htm
    Business Intelligence Old Forum (Read Only Archive)
    Reg
    Pra

  • Dynamic date selection in variants

    Dear Experts ,
    I require to make the dynamic selection for a date range in a particular report as under :
    From Date : Current date - 90 days
    To date : Current date - 60  days
    How can i achieve this in the variant ?
    Regards
    Anis

    this is an example on making a date field dynamic for transaction MICN, it is the same way for other transactions
    Create a variant by saving your selection.
    after clicking the save button, you are in the screen fro variant attributes.
    enter variant name and desciption
    Find the fields GIDAT and GBDAT.
    If you plan to run it e.g. every monday. then the monday will be your start date GIDAT and the next Sunday your to-date GBDAT.
    select GIDAT and find the column for selection variable, press F4 in that field and select D for dynamic selection.
    Then find field name of variable, press F4 and select current date.
    select GBDAT and find the column for selection variable, press F4 in that field and select D for dynamic selection.
    Then find field name of variable, press F4 and select current date +x days. then enter 7 in the pop-up.

  • Event data change is process chain

    Hi guys,
    i got a problem with my Event data change in my process chain which gives me the error
    "Background management: timeout or termination of job BCAST486IO7Q8PXOXKE9OV9HOSCGTO"
    when you check in the background it says the job is finsihed
    can any one help me out on this how is fix this
    points will be assigned
    cheers
    dp

    Dear DP,
    i think u have to repair or repeat the chain.... by clicking the context menu
    Regards
    venu

  • Error in the Source system while data loding through Process Chain

    Hi,
    I am facing issue while data loading for certain extractors through Process chain. Load of 0BPM_WIHEAD, 0BP_LOGHIST, OBPM_OBJREL, 0BPM_DEADLINES(there are 2-3 more extractors) is getting failed daily with message Error occurred in the source system and if we repeat the same it is getting executed successfully.
    Regards,
    Javed

    Hi..
    It means that the extraction job is failing in the source system..
    Please check the Job log in the source system  --> Copy the request nimber --> In the source system go to SM37 --> Give * then the request number......execute --> Check the Job log..
    Look there may be multiple reasons behind this....
    1) Connection problem : Go to SM59 and test the connection, If you don't have the access in SM59...then go to RSA1 --> Source Systems --> Right click --> Connection Parameters --> Connection Test
    2) Or may be work processes are not available and due to which jobs are failing due to time out...
    In both the cases you can check with the Basis Team if they can suggest something....or you can change the process chain scheduling time if possible, and schedule it in such a time when less no of jobs are running..
    Regards,
    Debjani..

  • How to stop the data loads through process chains

    hi,
    I want to stop all the data loads to BI through Process chains where load happens periodic.
    kindly suggest how can I proceed.

    Hi,
    Goto RSPC find your PC and double click on START then change the timings, i.e. give starting date is 01.01.9999 like that Save and ACtivate the PC, it won't start till 01.01.9999.
    Thanks
    Reddy

Maybe you are looking for