Mass Activation of Programs

Hi All,
I need to develop a program that will try to activate all program names given by the user in a select-option.
Each program name in SO should be tried, and the message should be saved. Message can be 'Active object generated' etc.
I understand theres locking needed for this. (?)
Please help.
Thanks all,
Kenny

Do a BDC for se38 transaction itself:
loop at record.
perform bdc_dynpro      using 'SAPLWBABAP' '0100'.
perform bdc_field       using 'BDC_CURSOR'
                              'RS38M-PROGRAMM'.
perform bdc_field       using 'BDC_OKCODE'
                              '=AKTI'.
perform bdc_field       using 'RS38M-PROGRAMM'
                              record-PROGRAMM_001.
perform bdc_field       using 'RS38M-FUNC_EDIT'
                              record-FUNC_EDIT_002.
perform bdc_dynpro      using 'SAPLWBABAP' '0100'.
perform bdc_field       using 'BDC_CURSOR'
                              'RS38M-PROGRAMM'.
perform bdc_field       using 'BDC_OKCODE'
                              '=BACK'.
perform bdc_field       using 'RS38M-PROGRAMM'
                              record-PROGRAMM_003.
perform bdc_field       using 'RS38M-FUNC_EDIT'
                              record-FUNC_EDIT_004.
call transaction 'SE38' using bdcdata mode 'N'
                                      update 'S'
                              messages into it_bdcmsgcoll.
endloop.
       Start new screen                                              *
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
  CLEAR BDCDATA.
  BDCDATA-PROGRAM  = PROGRAM.
  BDCDATA-DYNPRO   = DYNPRO.
  BDCDATA-DYNBEGIN = 'X'.
  APPEND BDCDATA.
ENDFORM.
       Insert field                                                  *
FORM BDC_FIELD USING FNAM FVAL.
  IF FVAL <> NODATA.
    CLEAR BDCDATA.
    BDCDATA-FNAM = FNAM.
    BDCDATA-FVAL = FVAL.
    APPEND BDCDATA.
  ENDIF.
ENDFORM.
endif.

Similar Messages

  • BW object mass activation program

    Hi;
    I'm looking for an abap program that can do a mass activation for bw objects, especially DTP and transformations.
    i know the activation programs for datasource and update rules, but nothing for DTP.
    thanks for your help
    Raed

    hi,
    there is no program to activate the transformations or dtp but RSBKDTPREPAIR it repairs the dtp i think it is not activates the dtp.u can activate in production it self one by oneDTP but in case of transformations only way to transport once again from development.
    for cube--- rsdg_cube_activate
    for ts ---rs_transtru_activate_all
    for obj ---rsdg_iobj_activate
    for dso---ods_activate_all
    for updater----rsau_updr_reactivate_all
    for repaid dtp---rsbkdtprepair
    thanks & regards
    sathish

  • 4.6c to ECC 6 upgrade - Mass activation program RADMASG0

    During 4.6c to ECC 6 upgrade - when we try to use Mass activation program - RADMASG0 - how to remove warnings in a single shot ?
    When I am giving some 6 table names as input for activation (under 'DIRECT OBJECTS' in Program RADMASG0 ),after execution i am getting the warning for all the three programs. (same warnings)
    How to clear this.....whether i have to go one by one. If so then what is the use of this program ?
    regards,
    N. Prasanna kumar.

    Hi,
    What Message you are getting.
    One suggestion is that going one by one is most suitable.  Other wise  you will not able to detect the errors.
    With regards,
    Sumodh.P

  • Mass activity programming howto

    Hi all,
    I need to create a mass activity.
    Is there any howto or tutorial for a generic mass activity?
    Thanks and regards, Matthias

    Hello Javed,
    Tthe extractor of Items for Collection Agency 0FC_COLL_01 is not a online extractor. The architecture is the following
    - the extractor 0FC_COLL_01 initializes delta queue only but selects  no data                                                                 
    - in your backend system the mass activity FPCLBW has to be executed      
      regularly, it writes selected records into a delta queue (first time    
      it selects all records, later only changed or new)                      
    - BW system has to import records from delta queue regularly              
    To answer your question you can execute the mass activity using the transaction FPCLBW.
    Best Regards,
    Des

  • BW Mass activity BWOP   / transaction FPOP

    Hi Experts,
    Please suggest how can i schedule FPOP  on periodic basis (Daily/Weekly/Monthly).
    with mass activity BWOP.
    We are using extractor Business Partner Items data using tcode FPOP out of ECC to BW . We want to automate this extraction using mass activity BWOP in ECC .
    Which transaction should be used?FPSCHEDULER or FKJOXTR?
    We want to just run only FPOP on  periodic basis .
    thanks in advance.
    Regards
    jb

    Hi Jan,
    You can use FPSCHEDULER to schedule FPOP on a periodic basis.
    By entering the mass activity type BWOP and the master template for FPOP (Date and identification) , click on the program->execute in background in the menu section.
    You will get a pop-up for "Background Print parameters". Give output device as 'LP01' and press enter.
    Another Pop-up for "Start time" will come. Click on Date\Time and then click on period values.
    You will be able to set the job either hourly\daily\weekly\Monthly.. etc....
    Hope it helps..
    Thanks,
    Amlan

  • Mass activation of Aggregation level

    Dear all..
    How to do the mass activation of all Aggregation level in Modeler at one instance. while collection tp we have to activate the individual aggregation level, its more time consuming.
    I have lot of aggregation levels to activate, any solutions.
    Regards
    Perasel

    Hi there,
    Create this program (it was referenced by a SAP note) in se38 transaction:
    *& Report  Z_ACTIVATE_ALVL
    REPORT  Z_ACTIVATE_ALVL.
    TYPE-POOLS: rs.
    PARAMETER: g_iprov TYPE rsinfoprov.
    PERFORM run.
    *&      Form  run
    FORM run.
      DATA: l_t_return    TYPE STANDARD TABLE OF bapiret2,
            l_s_return    TYPE bapiret2,
            l_subrc       TYPE sysubrc,
            l_t_alvl      TYPE STANDARD TABLE OF rspls_alvl,
            l_s_alvl      TYPE rspls_alvl,
            l_t_alvl_iobj TYPE STANDARD TABLE OF rspls_s_rfc_alvl_iobj.
      SELECT * FROM rspls_alvl INTO TABLE l_t_alvl
                               WHERE infoprov = g_iprov
                               AND   objvers  = 'A'.
      CHECK l_t_alvl IS NOT INITIAL.
      LOOP AT l_t_alvl INTO l_s_alvl.
        CALL FUNCTION 'RSPLS_ALVL_CHANGE'
          EXPORTING
            i_aggrlevel    = l_s_alvl-aggrlevel
          IMPORTING
            e_subrc        = l_subrc
          TABLES
            i_tk_alvl_iobj = l_t_alvl_iobj
            e_tk_return    = l_t_return.
        CHECK l_subrc = 0.
        CALL FUNCTION 'RSPLS_ALVL_CHECK'
          EXPORTING
            i_aggrlevel = l_s_alvl-aggrlevel
            i_objvers   = rs_c_objvers-active
          IMPORTING
            e_subrc     = l_subrc
          TABLES
            e_tk_return = l_t_return.
        READ TABLE l_t_return INDEX 1 INTO l_s_return.
        CHECK l_subrc <> 0 OR ( sy-subrc = 0 AND l_s_return-type = 'S' ).
        CLEAR l_t_return.
        CALL FUNCTION 'RSPLS_ALVL_ACTIVATE'
          EXPORTING
            i_aggrlevel = l_s_alvl-aggrlevel
          IMPORTING
            e_subrc     = l_subrc
          TABLES
            e_tk_return = l_t_return.
      ENDLOOP.
    ENDFORM.                    "run
    This will mas activate your aggregation levels built on InfoProvider.
    Diogo.

  • Extracting Open Items : Problem with mass activity FPBW

    Hi everybody,
    I need to extract Open Items in BW. I use the extractor 0FC_OP_01 which extract the content of table DFKKOPBW in OLTP. Open Items are written in table DFKKOPBW by the mass activity FPBW.
    I have a problem with this mass activity : the field "Business partner number" stay empty in table DFKKOPBW after the execution of FPBW, whereas it's not empty in table DFKKOP... (and for the cleared items it works...)
    Does anybody have a solution for my problem?
    Best regards
    Aube

    hi buddy,
    go to SBIW go to the setting for application specificdatasourse in that go to contact account recivable, click the fileds for extrction add the field the data to see in to dffkopbw table after mass activity
    regards
    nag

  • Error When Submitting WIP Mass load Concurrent Program (Work in Process)

    Hi,
    I am submitting WIP Mass Load concurrent program to get the data from WIP_JOB_SCHEDULE_INTERFACE table in to base tables.
    The concurrent program is completed with Warning status.
    My Package inserts the data into wip_job_schedule_interface table to create a WIP Job. After inserting the data in to wip_job_schedule_interface table, it submits a concurrent program (WIP Mass Load) (Standard concurrent program) to create a WIP job automatically from the data inserted into wip_job_schedule_interface table.
    This concurrent is errored out with the following warning message:
    ===========================================================
    Group ID: 7026 Report Date: 23-OCT-2007 12:26
    Job and Schedule Interface Report Page: 1 of 1
    Create Discrete Jobs
    Source Code: XXEXT019
    Organization: DVR
    Process Process
    Job Job Type Assembly Quantity Start Date Completion Date Kanban Card Phase Status
    6094-3 Non-standard DEV-GA-1 1.00 23-OCT-07 11:57 23-OCT-07 11:57 Validation Error
    Error: Invalid or insufficient Completion Subinventory/Locator information.
    Check that you have entered valid subinventory/locator information based on the organization and assembly
    that you have chosen.
    0 out of 1 jobs were successfully loaded
    =========================================================
    I populated locator information in to the interface, then too its saying the same.
    Can you please me know where exactly i am going wrong. Help Appreciated.
    Thanks

    Have a look to the Metalink note "Note:207646.1", which deals with the error "WIP_ML_ORA_ERROR (ERROR_CODE=-1653)".

  • "Mass activity type does not exist" while i try to create a recording in SHDB for FPRW

    hi,
    i'm trying to create a recording in SHDB for transaction FPRW marking the checkbox "simulate background mode".  When i press the buttom "start recording" i recieve the error message >6 117  Mass activity type  does not exist.
    Does somebody know what can i do?
    thnaks

    On the right click on HD under video quality to filter it. 

  • Deleting expired application logs is key to improving mass activity performance issues

    During mass activity runs reference is made to the system's application logs during the process of line item selection. Performance based issues can be overcome by deleting old/expired application logs from the system, and rebuilding the affected table index. Based on my analysis on these issues, there has been a significant observation of 90% improvement in performance.

    Dear Astrid,
    Depending on the performance trace observed using transaction ST12, if for instance the SELECT on a particular table takes the most time, deleting all expired application logs and rebuilding the table index will result in a significant performance improvement.
    Yes 90% improvement will be observed across the entire mass activity run. In my example below I use table BALHDR.
    1. Run report SBAL_DELETE to delete all expired
    application logs from table BALHDR
        1.1. At the selection screen of report
    SBAL_DELETE, set the radio button for the expiry date to 'Only logs which have
    reached their expiry date’
        1.2. Under the tab for 'Selection
    conditions', enter the affected transaction code. e.g FPVA
        1.3. To delete the entries, set the radio
    button under the Options tab to 'Delete immediately'
        1.4. Finally, execute or use shortcut F8 to
    delete logs
    2. Rebuild index 1 on table BALHDR (create a
    secondary index on the table).
    I hope this helps.
    Kind Regards,
    Adrian

  • RSI_COPY_MASS_PARAMETER scripts for all mass activity types

    We have CPS version 7 and I am trying to submit some mass activities
    The first task is to copy mass parameters there are three scripts one for BILLING, BIPR and for INVOICES
    Where can I obtain the scripts for copy mass activity parameters for other types, Such as meter reads?
    Do I have to define them myself?
    Thanks for help

    Hi Joseph,
    The first question to ask is for which of these 24 mass activities you really need to change parameter sets.
    If you only need to copy existing parameter sets and maybe apply a date shift, then for these mass activities the standard RSI_COPY_MASS_PARAMETER will do just fine.
    For those mass activities where you do need to modify the content of the parameter sets from CPS, you need to create one of these scripts. If you need to modify many parameters, this can be somewhat cumbersome, however often the mass activity structures are somewhat similar so you could start off with one of the existing scripts. And you only need to specify the parameters you need to modify, as well as the standard parameters for these scripts (on the first tab on the submit window).
    Regards,
    Anton.

  • IS-U FICA Question for Mass activity BWOP

    Hi Experts,
      We are extracting Business Partner Items data using tcode FPOP out of ECC to BW . We want to automate this extraction using mass activity BWOP in ECC but we cannot find the correct job category which works for Mass activity type BWOP. Please advice.
    Thanks,
    SB

    Mass activities, when requiring a parameter-copy automation -such a SAP CPS implementation- require the additional parameters or move parameters event (tfk090a-EVE_PARA) to be set. Some MassActivities may come with it on the standard package, some may not such as BWOP.
    The following instructions have being successful for my own cases,  be sure to test it! Here it goes:
    What is required is to create the event and the associated function module, and then assign it to BWOP mass activity.
    1)  
          1) Create function module, using FKK_SAMPLE_1701 (event 1701)  as a model. After creating the function module be sure to adjust it to BWOP functionality by changing the h_addons data type definition. Event 1701 uses FKK_MAD_0002 structure type (line 26), but BWOP requires the structure FKK_MAD_BWOP,  be sure to do this.
    2)  
           2) Define a new event and assign to it the just created function module. (view TFKFBM).
    3)  
           3) Assign this event as the move parameters event to BWOP mass activity. (cluster view VC_TFK090A-> General Control->Events).
    4)  
        Test it!

  • How to run mass activity for DS 0FC_INVDOC_00 and activate 2710 event

    Hi,
    I am trying to extract data from DS 0FC_INVDOC_00 it gets me 0 records.I read in the form that to get the records i have to run the Mass Activity type 2620 and for daily processing of invoicing, you have to activate 2710 event.Can anyone please let me know how to do this?
    Thanks,

    Thanks Denis, I did initialization on Bi side and now trying to extract data (FULL) in rsa3 thats when it gets me 0 records.Is there any other step i need to do to extract records?? According to the postiong in the SDN (Refre to the following link) there are activities which need to be done for getting the data.This where i am stuck.
    Re: 0FC_INVDOC_00 FICA Extraction of Invoicing Document Data
    Thanks,

  • RM-CA Mass activity

    Hi all!
    I trying to learn how create mass process and  i have some issues trying to follow the note 144461 - Mass activities step by step setup ...  is not very clear about the relationship between the transaction and the jobs that i want to be execute.
    So far I could create the transaction with the respective layout and addon, create the events etc, but when i execute the process, nothing happens... and i can't understand which step i miss.
    I wanna,  for example,  use any existent job in the system but i don't understand how
    Please, if anyone have a guide, link or something like that please help me!
    Best regards!

    Hi Martin,
    Did you attach a FM and configure your event in FQEVENTS? These steps are necessary to create a mass activity a minimum (create, save, schedule and run):
    1.     Custom Transaction
    2.     Structure for ADDONS
    3.     Subscreens and Group boxes for ADDONS structure fields, if necessary
    4.     Layout
    5.     Parallel Processing Object
    6.     Subobject for the application log
    7.     Interval function module and event
    8.                  Mass activity creation
    a.     General control (mass activity type, interval event, transaction code, structure name (ADDONS), layout)
    b.     Parallel Processing object
    Please provide more details on what you've configured so far to better understand your problem .
    Thanks,
    Sai

  • Automating the mass activity FPBW (pscd open items extraction into BW)

    Hello all -
    We are trying to automate the PSCD mass activity for open item extraction into bw.  We have tried using the t-code FPBW (how you would run it manually), and we have also tried using the mass activity scheduler - rfkk_ma_scheduler.  We can't get it so the key date updates each week.  Can anyone provide some guidance on how to get this automated?
    Many thanks!

    hi buddy,
    go to SBIW go to the setting for application specificdatasourse in that go to contact account recivable, click the fileds for extrction add the field the data to see in to dffkopbw table after mass activity
    regards
    nag

Maybe you are looking for

  • How can I read out metadata for captions from a Canon photo

    I have to tried to find an answer via Adobe and Google. Still not able to figure out on how to read out XMP metadata for captions out of my photos. Checking the XMP data in InDesign shows info on Camera Make, Exposure etc. But if I use metadata field

  • Problem in Database EXPDP and IMPDP

    Dear Friends I am using Oracle 11G R2 (11.2.0.1.0) on Windows 7 Ultimate. I have some 50 tables (along with its data) and corresponding 40 VIEWS (based on those 50 tablees) in User "SYSTEM" schema. I want to take Export DUMP file of these 50 tables a

  • Http error 404 when accessing facebook pages

    HI there I have read a few of the previous help requests and  tried to turn my mobile netwok off and on and a hard reboot, but I still can't access facebook pages via an email link.  I get a message about a reply say to a comment and when I click thr

  • HT2513 How do I get iCal printouts to includes notes for events?

    I'm a new Mac user.  Finally figured out how to put events in iCal, add notes, etc.  Now I need to print my completed calendar but I need the notes to print out as well.  I cannot figure this out.  Can someone help me? Thanks!

  • Handling discounts in purchasing

    How to handle discounts in purchasing...is there way this could be done. Thanks