ABAP Program to close BPC CUBE Request

Hi
I urgnetly need abap program to close BPC Open request.
I tried program RSAPO_SWITCH_TRANS_TO_BATCH
and function module : RSAPO_CLOSE_TRANS_REQUEST
It never worked on BPC infocube at all.
Please help me close yellow request to green ON BPC CUBES.
Regards

I tried that doing that does not close the BPC request to green unfortunately.
and the reason i want this is cuz i am using fm RSDRI_INFOPROV_READ_RFC to read the BPC Cube in program and yellow request provide 0 requests, so first i need to close the request and then read the bpc cube.

Similar Messages

  • Program to delete a specific request from a Cube

    Hi Everyone,
    I've been trying to delete a certain DTP request from a cube but I'm unable to delete it. Is there any ABAP program to delete a specific request from a cube by provinfing requeset ID as the input.
    Thanks,
    Ram

    HI
    SE37RSSM_DELETE_REQUESTGIVE YOUR REQUEST NO & INFOCUBE NAME here. and execute.
    Table is :RSBKDTP contains DTP and target details.
    Hope it helps

  • Problem in triggering abap program in process chain

    i m running a infopackage in a process chain .
    this infopackage creates the request in the DSO .
    after infopackage i m including the abap program to delete the same request in the process chain .
    but the abap program is not getting triggered .i have maintained the variant correctly for the program in the process chain .
    what can be done so that the program gets triggered .

    Hi,
    You can trigger you ABASP program from
    1. SM64  : copy the ABAP program's Afer event and parambeter and give it there and execute
    2.or go to
    SE37 >>Program : BP_EVENT_RAISE  >> say test execute
    and give the same after event and parameter ..and execute
    this might trigger your program
    Hope this helps you,
    Regrads,
    shikha

  • ABAP program to neutralize  0Unit value and 0quantity value

    Hi all,
    I'm not expert in ABAP, and i would like implement a small abap program (routine)in my cube.
    I would like neutralize the 0UNIT value and 0QUANTITY value only when 0VTYPE = 1 or 2 :
    <b>in other words, if 0vtype = 1 or 4 then 0unit = space and 0quantity = 0
    b]
    Can you tell me please <b>how and where</b> write the ABAP program please ?
    Message was edited by:
            Pontoise Pontoise
    Message was edited by:
            Pontoise Pontoise

    Hi,
    I amnt able to understand your requirement. But the code for which you asked is simple.
    If 0vtype = 1 or 0vtype = ' '.
    0unit = space.
    0quantity = 0.
    endif.
    Regards
    Aneesh.

  • How to reduce the run time of ABAP code (BADI) when it is reading huge data from BPC Cube and thus writing  back huge data to the cube.

    Hi All ,
    In Case of reading huge amount of record from BPC Cube  from BADI code , performing calculations and writing back huge amount of data into the cube , It takes lot of time . If there is any suggestion to read the data  from Cube  or writing data into the cube using some Parallel Processing  methods , Then Please suggest .
    Regards,
    SHUBHAM

    Hi Gersh ,
    If we have a specific server say 10.10.10.10 (abc.co.in) on which we are working, Then under RZ12 we make the following entry  as :
    LOGON GROUP          INSTANCE
    parallel_generators        abc.co.in_10         ( Lets assume : The instance number is 10 )
    Now in SM59 under ABAP Connections , I am giving the following technical settings:
    TARGET HOST          abc.co.in
    IP address                  10.10.10.10
    Instance number          10
    Now if we have a scenario of load balancing servers with following server details (with all servers on different instance numbers ) :
    10.10.10.11   
    10.10.10.13
    10.1010.10
    10.10.10.15
    In this case how can we make the RZ12 settings and SM59 settings such that we don't have to hardcode any IP Address.
    If the request is redirected to 10.10.10.11 and not to 10.10.10.10 , in that case how will the settings be.
    I have raised this question on the below thread :
    How to configure RZ12  and SM59 ABAP connection settings when we have work with Load Balancing servers rather than a specific server .
    Regards,
    SHUBHAM

  • How to get a parameter from BPC and use it in ABAP program

    Hello gurus!
    I got a problem...
    SAP BPC will send parameters such as year, division, category, company code and so on via script logic to SAP BW.
    I need to get these parameters from BPC and use them in a ABAP program as a filter.
    This ABAP program will do several routines and return new values to BPC. It must be made on ABAP and I need to filter data to avoid performance issues.
    Does anybody knows how to do it? or have a example of it?
    Thank you in advance.
    Regards,
    Rubens Kumori

    Hello, I'm looking for a suggest.
    I need to pass two parameters (users can input them in a data manager package in bpc) to a BAdI.
    In this BAdI I write a code that store those parameters in a InfoObject.
    The problem is:
    - one parameter is for CATEGORY value. CATEGORY is a dimension of the application and I read the value with a code like this:
          READ TABLE it_cv INTO l_s_it_cv
               WITH TABLE KEY dim_upper_case = 'C_CATEGORY'.
    - other parameter is a generic DATE. this parameter is not a dimension of the application and I don't know how I can retrieve this value in BAdI.
          READ TABLE it_cv INTO l_s_it_cv
               WITH TABLE KEY dim_upper_case = '.....'.
    The data manager dynamic script is:
    PROMPT(SELECTINPUT,,,,"%CATEGORY_DIM%")
    PROMPT(TEXT,%SELECTED_DAY%,"Write the date (format YYYYMMDD)",)
    I also have a dynamic constant that assign the name %CATEGORY_DIM% to "C_CATEGORY" value.
    Can anyone help me?
    thanks a lot
    Edited by: Luca Novali on Feb 13, 2012 3:49 PM

  • How to extract data from BPC InfoCube via ABAP program?

    Hi experts!!
    I tried to extract data from a BPC InfoCube via ABAP program, but I did'n have succeed.
    I used the function 'RSDRI_INFOPROV_READ' to extract data from standard InfoCubes such as '0COPC_C07' and it run OK! However, when I change the InfoCube name to '/CPMB/WAIX8NE' (BPC InfoCube), everything goes wrong...
    Is there any difference between extracting data from BPC and standard InfoCubes?
    Thank you all!

    Moderator message - Welcome to SCN.
    But please do not cross and duplicate post.
    Thread locked.
    Rob

  • 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

  • How to Revoke an older request of an ABAP program

    Dear All,
    I wish an older version (before the last three modifications) of my ABAP program to be revoked on the production server. In other words I wish an older request of my current program to overwrite the current request, in between these two requests there are three more requests.
    Please tell how to go about it.
    Regards,
    Alok.

    Hi...
    You can get back the Older Version....
    If your program is deleted, but a version of it still exists.....
    then go to <b>Utilities---->Versions----->Version Management</b>
    There you can find all the Versions of your deleted program....of which choose any one version you want to retrieve....( check that checkbox ) and click on the retrieve pushbutton.. You will get a pop window....
    Indicating that
    The current version of the program
    will be overwritten by an older version
    This only applies to source code
    Before it is overwritten, a temporary
    version will be created.
    So you just press enter on this window.....
    Go back to SE38 and give the Program Name, an Inactive Version is retained...
    You can now activate that and use it.....
    This is the way how you can revert the changes made by you.....
    Generally the concept of Version Management is very helpful whenever you go for Upgradation say for example from 4.6c to ECC 6.
    Hope this solves your problem....
    Reward if it helps you.....

  • Close a transaction through ABAP program without user log off.

    Hi,
    I have to write an ABAP program that will check if a particular transaction (for example tcode VA01) is running than it must close the transaction.
    Please give me your inputs or sample code if possible.
    Thanks for your suggestions.
    --Sanjay

    Sanjay,
      Check with this how much it is going to help you out..
    PARAMETERS: p_user LIKE sy-uname.
    DATA: gt_user_info TYPE TABLE OF /sdf/user_context,
          wa_uinfo LIKE /sdf/user_context.
    START-OF-SELECTION.
      CALL FUNCTION '/SDF/MON_USER_MEMORY'
        TABLES
          modes = gt_user_info.
      CHECK NOT gt_user_info IS INITIAL.
      LOOP AT gt_user_info INTO wa_uinfo WHERE uname EQ p_user.
        IF wa_uinfo-tcode = 'VA01'.
          CALL FUNCTION 'TRANSACTION_ABORT'
            EXPORTING
              transaction_id = transaction_id
            EXCEPTIONS
              OTHERS         = 1.
         EXIT.
        ENDIF.
      ENDLOOP.
    Regards,
    CK

  • Link between spool request & abap program

    Hi all,
    I m looking for the link table between a spool request and the corresponding job and abap program.
    I want to select all spool requests generated via een job via een abap program.
    Some suggestions?
    Thanks in advance,

    Hi,
    Spool request is a document for which a print function has been selected. However, it has not yet been output to a printer or another device. The output data for the print document is stored partly formatted in a data store until an output request is created, that is, until it is sent to a particular output device.
    The spool system uses a spool request to store the print data temporarily and to access it. The data is stored in a temporary format. You can also display the print document. The system automatically assigns a 10-digit ID number to a spool request.
    Spool requests can be viewed via tcode SP01, the number will be there, programatiically it is sometimes populated in the system field SY-SPONO.
    It will take input parameters through the selection screen variants and process the code normally as foreground when we are writing the output to list it will generate the spool.
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

  • Close session in ABAP Program Control

    Hi all,
    To avoid the users can run some transactions during the batch window, we have developed an ABAP program to lock these transactions before the start of batch period in background mode. After batch window we unlock it.
    The problem is that the users that are in transactions before the lock process is execute, can use use without problem. Therefore we need to close all sessions that are in these transactions  in background mode near the lock proccess.
    Any idea?
    Thanks a lot.

    Hi Thomas,
    I guess what you call foreign modes are the external modes.
    I don't know for ThUsrInfo, but there's a workaround : It's possible to do a batch input on SM04 and you are able to select the line(s) you want by adding a little trick to determine which external sessions run which transaction codes :
    1) duplicate dynpro rsm04000_alv 2000 (the one which displays the external modes) into a Z dynpro, and inside the PBO step loop, save MODUS table work area (that you declare with TABLES), it contains first 36 characters of transaction code texts (as what you see with SM04).
    2) fill out "TID" SET/GET parameter with the "Terminal ID" corresponding to the user session (you get it from the additional fields in the SM04 list of user sessions).
    3) call the screen a first time with SUPPRESS DIALOG so that to determine which line(s) correspond to which transaction codes
    4) call the screen in batch input mode without SUPPRESS DIALOG and with a SET CURSOR with the line determined previously and delete the mode
    Note that you have to create 2 programs (one which prepares the BDC data, the other which calls the screen) and a dummy transaction (for the batch input, so that to call the second program) so that everything works.
    Sandra

  • All transport requests of an ABAP program.

    Hi,
    I want all the transport request numbers created and released for a particular ABAP program.
    Thanks in advance,
    Rajesh Gupta

    Hello,
    Get all the Transport request numbers from the Version management of the program
    -  Create a Transport of Copies within SE09 or SE10
    - Include all the Transport request numbers which u colelcted from the version management of the priogram and transport the Transport of copies .
    Ensure the Transports were included in the correct order (ascending Order) within the Transport of copies.
    Regards

  • ABAP Program to set a set the QM Status of a set of REquests to RED

    Hai friends,
         I have an urgent requirement. I need to set the QM status of about 100 requests and delete them from 3 infoproviders. Can anyone help me out with an ABAP program to do it, if it is possible?
    Regards,
    Neha Solanki

    Try modifying entries for tables RSREQDONE, RSMONICTAB whereever necessary.

  • Can i load the cube through an customised abap program??

    Hi all,
    I have loaded the ODS using the customised abap pgrm. is it possible to load the CUBES through the abap program.
    If not what is the reasons for not loading it?
    Thanks
    Pooja

    Hi Pooja,
    For me ..
    I'm afraid to upload directly by program to info cube tables .. Because, i don't know what tables it will be taken into account for uploading ..
    But ..
    If the requirement is to upload it by ABAP Program ..
    I make like this ..
    1. I create the ABAP Program to create .csv files. So all uploaded data will be written into .csv files.
    2. I create info-package, that upload data from file. And i define the path to refer to that corresponding .csv files.
    3. Beside ABAP Program is used to write .csv files, i also use it to trigger the info-package.
    So by that techniques, i'm able to upload data by ABAP Program.
    Hopefully it can help you a lot.
    Regards,
    Niel.

Maybe you are looking for

  • Need help for flash builder

    i need help for flash builder 4 and papervison 3d. I need to create a slider with it ranges of value from 10 to 50 to adjust the camera values for the camera.fov and also need to create it for the yaw of the object from 0 to 360. I try to look for an

  • Can I expect a video to be in high resolution in an interactive PDF?

    Can I expect a video to be in high resolution in an interactive PDF? I'm doing a project in which I want to burn a music video and a image portfolio. The images look very good when exported but the video stutters and is pixelated. Can I expect the vi

  • Fail to run Oracle Net Configuration Assistant

    I was installing 64 bits Oracle 10.2.0 on Red Hat Linux 2.6.9-89.ELsmp. I did not encounter any problem of upgrading and linking Oracle libraries, and building the Oracle executables. But when it tried to build the database, it ran into problem with

  • Restore going to take 70 hours???

    Hi! Thanks in advance for any advice. I am doing a full restore on the advice of ATT and Apple to see if it resolves some antenna and call quality issues.  When I plugged in to do the restore, it is now saying that it is going to take 70 hours!!!!! (

  • Best solution for range boost to WRT600N?

    I have a 150yr old house with extremely thick walls and need a range extension/boost solution. Network devices are on 2nd floor and **bleep** close to the ceiling, but I get little to no signal in my office on the 3rd floor. WRT600N router Thanks for