Selective Deletion of the Cube contents in Abap Program of the PChain

Dear Experts
I need to selectively delete the contents in Basic Infocube using Process Type - ABAP Program in the Process Chain in BW 3.5
For this I have to give the Variant and Program name in the Process Type - ABAP Program in the Process Chain
The ABAP Program for this purpose can be generated automatically by the system in the the below navigation
info cube> Manage>contents > system menu(in the Top)> Status
but this abap program is changing dynamically every time and hence in the Process chain ABAP Program node is failing with error saying that that program is not available
I have tried the same way  in the selective deletin navigation path also in the cube manage
Please let me know how to get the system generated program to use in the Process type-ABAP Program in Process Chain
Thanks for all in advance
KSR

Hi KSR,
Try this.. start a selective deletion on the cube. you will get a background job running. Get the job name from SM37.
Now write a ABAP program with the below code.
parameter: p_Job_Name type sysuuid_c.
CALL METHOD cl_rscrmbw_bapi=>exec_rep_in_batch
EXPORTING i_barepid = l_jobnam.
Execute the above program. Pass the job name which you got from SM37.
Create a variant with that job name.
Now schedule this newly created program. This should solve your issue.
Note : The job name might vary from one server to another (Dev / Qual / Prod). So if you are planning to move your process chain from Dev, then pass the Job name (in prod) as the variant in yr Dev system and then transport it.
Cheer,
Balaji Venugopal

Similar Messages

  • Change the Name of Many ABAP programs.

    Hi,
    I need to change the name of many abap programs, because the company standard programs names has been changed, and will be necessary to change the name of all the programs, but there are many programs.
    I'd like to know if someone know a transaction that will helped me or if will be necessary to develop an own program for it?
    Thanks,
    Marcos MS.

    Hi
    I think you have to rename indvidually using SE38 transaction.
    But be careful to care of the following
    (1) if the program is called with in a program, you need to change there also, before changing check the whereused and change accordingly
    (2) If the program is called in the transaction, you need to change there also
    Regards
    Madhan

  • Selective deletion for particler cube and rebuild of aggrigates in Psystem

    Hi Friends,
    1.In my manage data target screen i have 8 cubes but i want do selective deletion from 1st cube ..how i can do ..?
    Im thinking like...IN DETILS column i will select.one data target and then i will go to contents tap and then selective deletion for paricler requst ID...is correct to do selective deletion for particler data target out of 8 cubes..plz tell me
    2.in production ...while doing selective deletion ...aggregates are failed...means status is in red color...
    now,how can i create or build or rebuild those aggrgates again...please and my qns...
    Thanks in advance

    Hi
    1. technically Yes its ok to do selective deletion of only 1 cube, incase of delta load you will have to do selective reload to only that cube otherwise data for that perticular selection will get doubled in rest of 7 cubes.
    Actually depends on situation in which you plan to do so.
    2. its possible to aggreegates get affected due t selective deletion.
    Just go to manage->rollup tab of cube and rebuild agreegates.
    Hope this helps.
    Regards
    Sudeep

  • Selective deletion in info cube

    is there any option to do selective deletion in info cube.
    i need step by step detail.
    thanks
    ks

    Yes indeed there is step to delete selectively in Cube.
    http://help.sap.com/saphelp_nw70/helpdata/en/d4/aa6437469e4f0ae10000009b38f8cf/frameset.htm
    Its in Manage cube- Content tab- deletion
    Thanks

  • How to translate the key words in ABAp program from lower case to upper cas

    How to translate the key words in ABAp program from lower case to upper case?

    Hi Kittu,
    You need to set the Pretty Printer settings to achieve key words in ABAP program from lower case to upper case.
    Utilities -> Settings -> Pretty Printer (tab) -> Select third radio button.
    Thats all.
    <b>Reward points if this helps.
    Manish</b>

  • What are the major situations  to go to the short dump in abap programming?

    What are the major situations  to go to the short dump in abap programming?

    Hi,
    The major situations that an ABAP Program can result a dumb are as follows...
    1) Poor coding i.e., if the data in the data base is less, then even a poor code can give you the result.  But when you transport the program into Production, then there the same program will give you a dump, resulting 'TIMED OUT' error.  So performance tunning is required for each and every program.
    2) while calling a function module.
    3) extracting of data into fields which are not type casted.
    4) in case of x/y value, one should check the value of 'y' should not be zero, else a dump will result.
    these are few which i can give for time being........

  • How to finish ABAP program in the process chains

    Hello All,
    we have one ABAP program in the process chains which was created in the BW system only.
    this program we are using in the synchronous mode. according to my understanding we can not capture the failure of the ABAP program when it is in the synchronous mode.
    but i found a way through one this forum topic to capture the failure of the program through asynchrous mode by calling a function module RSPC_ABAP_FINISH but it was with the R/3 program in BW.
    can we use the same function module for BW program also.
    kindly let me know what steps we need to follow for the BW program in the process chains to capture the failure status.
    Regards,
    Ala.

    Hi Ala,
    we created an own processtype, look at this HowTo: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/45d8a990-0201-0010-a290-f22083728179
    and than also an abap which can end red or green:
    PARAMETERS: red   RADIOBUTTON GROUP radi,
                green RADIOBUTTON GROUP radi.
    IF NOT green IS INITIAL.
      MESSAGE i162(00) WITH 'Status' 'Green'.
    ELSE.
      MESSAGE e162(00) WITH 'Status' 'Red'.
    ENDIF.
    with i-message process ends green, with e-message process ends red.
    /manfred

  • Basic keyfigure value of the cube is multiped by 100 in the query result.

    Hi ,
    When i execute a query for P&L the local currency value of the basic key figure is being multiplied by 100 in the query when compared with the cube data...where as the Global currency value is correct.
    Could you please help me as how this could be possible.
    Points will be assigned.
    Thanks and Regards,
    sridevi

    Hi,
    Then, either someone changed the number of decimals (TCURX table) in december/january or you started to feed your system with data from another source system (where during transfer global settings you uploaded the number of decimals differed from 2). Check the TCURX table. Almost sure that you'll find your currency there.
    Best regards,
    Eugene

  • Running abap programs using the macros

    In our DP implementation we have faced several issues in the extraction of the data from the demand planning to one of the legacy system. We have written the ABAP program and would be using the read planning book bapi. I wanted to run the ABAP program using the macro could some one please let me know what is the structure of the macro builder that is used to fire the ABAP program. this is being fired from the macros as some comparison is to be done to run the macro.

    Hi,
    Some more information on macro function
    REPORT_SUBMIT()
    REPORT_SUBMIT( 'program_name' ;  <'job_name'> ; <'job_number'>; <'newmode'>) causes the specified program to be executed. Use the optional arguments, job name and job number, if you wish the program to run in the background. If you set the argument 'newmode', the results are displayed in a new window.
    Hope this will helps you.
    Regards,
    Sunitha.

  • TS1967 When trying to recover a lost iTunes library file, the programme moved all the normal contents of iTunes folder to the desktop. Now what must I do?

    When trying to recover a lost iTunes library file, the programme moved all the normal contents of iTunes folder to the desktop. Now what must I do? There is no iTunes Library.itl file. On the desktop it is labelled iTunes Library.xml. Several others files have appeared there too including iTunes Music Library.xml
    Before I can use the programme is it necessary to take another step?
    Thanks for advice.

    Don't worry. I'm all for caution. I guess I should have asked a little more about what steps you took while trying to recover your lost library?
    The permissions thing may be a red herring, but if there is a problem with file access rights to the designated media folder iTunes has been known to place files on the desktop instead since it can access this location. The most common cause for such problems is working with a folder on an NTFS drive via a differnt account or on a different computer. In the normal course of events folders created inside user profiles have limited rights for other users.
    Here are the typical layouts for the iTunes folders:
    Normally the iTunes folder will be created at <User's Music>\iTunes with the media folder inside it. The library files should all appear in the same place so your comment about there not being an iTunes Library.itl file is confusing. Is it just the case that the .itl extension is hidden? The two .xml files makes sense from the above and indicates that the active library is not in <User's Music>\iTunes, but you have a recovered file from when it was.
    If, in fact, the situation is that your desktop is acting as the main iTunes folder, and contains the library file, Album Artwork, iTunes Media and (optionally) Previous iTunes Libraries folders, with all other content being inside the iTunes Media folder, then it should be relativly easy to rearrange your into the correct shape and move them to the correct location.
    If things are more complex, with something other than a library folder containing a media folder, then reestablishing the normal order is more complicated. The iTunes consolidate function is used to bring copies of files stored outside of the media folder into the media folder. It may sometimes be needed as part of the process of tidying up, however it leaves behind originals. There are circumstances where there isn't room for two complete sets of the media files on the same drive which is why I suggested the script might be useful as it produces the same results for the library without leaving the originals for manual clear up.
    I think before you do anything however, we should get a clearer picture of exactly what is where. Could you perhaps take a screenshot of the desktop and post it here? Take a look at this post on making a split library portable. The same techniques I outline there can be used to lick your library into shape, it is just a question of working out which to use in which order for the best effect.
    tt2

  • Error when exporting ABAP Programs and the Project

    Hi All,
    I keep on getting the following errors when I'm exporting the entire Project or only ABAP Programs (see attached screenshots).
    - Screenshot 1 shows an error when exporting a Project.
    - Screenshot 2 shows an error when exporting ABAP Program(s).
    These errors occur in the DEV environment.
    Please help.
    Thank you all.
    Kind regards,
    Roli

    Hi Ramakrishna,
    I will send the log file for when exporting a project. However, the issue of exporting ABAP Programs is nor resolved.
    In CMC we had to configure the system to Generate ABAP = True.
    Thank you.
    Kind regards,
    Roli

  • Date when the cube was filled with data for the last time

    Hi!
    We are using a SAP BW System and on top of it BOBJ for reporting. Within BEx Web Application Designer, it's very simple to access the data, when the cube was filled with data for the last time. Is it possible to access this information within BOBJ, too?
    Thanks for your help!
    Greetings
    Stefan

    Hallo Ingo,
    thanks for your answer. That was exactly what we were looking for.
    We will have to think about a workaround now.
    Greetings
    Stefan

  • After reïnstalling Sygic Europe I don't get to download the map content. Does anyone have the same problem?

    After reïnstalling Sygic Europe I don't get to download the map content.
    Does anyone have the same problem?

    Hi, I have the problem too. Did you find a solution ?

  • I want to create an app.  Can you tell me the difference between iOS developer program and the mac developer program?

    I want to create an app.  Can you tell me the difference between iOS developer program and the mac developer program?
    Is the difference the device you're creating your app on, or for?

    iOS Developer Program is only for those who wish to develop iDevice apps. Mac program is for those only developing Mac applications. If you wish to do both, then you need to enroll in both programs.

  • Selective deletion on info cube taking long time.

    We have a cube with line item dimension and partioned on Fiscal year. When we are doing selective deletions on the cube on 0fiscper (removing the old redundant data) it is taking quite long time (approx 10 hours) to do this selective deletions as there is huge data in the E fact table ,Request older than 4 days are compressed in the cube and it has some millions of records in this table.
    Is there any way we can improve the performance of this selective deletion? Any improvements suggestions we are on sap BW 3.5 system.

    Hi,
    The issue is very specific .
    I recommend to check if there are defined matching indexes which fit to the where clauses of the delete statements. This will make the access to the record most effient.
    All other indexes need to be just deleted for the time-being and re-created after the clean is completed. This will save the time for updating the indexes.
    The deletes should be performed in bulks - i.e. many, e.g. 25, 100, more at once. If deletes sqls are send from ABAP to database one by one there is huge overhead in the network traffic time.
    Best Regards,
    Sylvia

Maybe you are looking for

  • New SSD Drive For OS - How Should I Config My Drive Scheme Now?

    I built a new PC in July based on ASUS P8P67 Pro Motherboard & i7-2600k 3.4 GHz processor w/ Cooler Master V8 heatsink. 16 GB RAM DDR3 Kingston HyperX. ASUS GTX 570 GeForce. Windows 7. In stock (not OC) configuration, this computer should cruise pret

  • Apps on ipod touch no picture blank

    Yesterday i unsynced my ipod and none of my apps have a thumbnail picture anymore and are just blank. itouch works fine and i have a ipod touch 4g

  • Limiting the frequency of categories (on x-axis) in Chart

    My chart has a lot of data (years 1850-present) and the x-axis (years) is way too cluttered. There's so many years down there it looks like one big grey bar. Is there a way to limit the labeling to every 10 years, or some other solution? I've tried p

  • Can't use develop tab, says it's expired

    I just recently installed CC and lightroom and I'm pretty sure when I first installed it, everything was working. Now when I launch lightroom, it lets me import files, but if i click on any of the other tabs, it tells me my license has expired. My ac

  • ICloud Safari tab sync doesn't work?

    I have iOS 6 and both my iPod and Mac are connected to the iCloud account. Any ideas why it doesn't work? The iCloud icon keeps saying the infamous "iCloud automatically shows all the ....."  But nothing pops up. I have Safari open on my iPod with 5