Bapi to create/change MM/SD grid control data (AFS)

Hi experts,
I'm looking for a way to create and change MM/SD grid control data by bapi (or by other way that can be implemented in ABAP).
I mean the data that you can see when you go to trx J3AB, enter a material and push the buttons: "MM grid control data" or "SD grid control data"
Thank you in advance.
-francesco

I found it by myself, there's the FM J_3A_CREA_GRCD_MASTER_GRID, inside the J3AGRI idoc FM J_4A_IDOC_INPUT_J3AGRI.

Similar Messages

  • BAPI  for create/change purchase info record

    Hi All,
    Could any one suggest me the BAPI for the create/change purchase info record(ME11/ME12).
    Earliest can be appriciable.
    Regards
    Anil

    Hi,
         I did not get any bapi related to create/change purchase info. But i can give u list of purchase info . if u got revert back to me
    Reward if it is usefull..
    Bye.
    BAPI_INFORECORD_GETLIST

  • BAPI for create/change Routing

    Hi ,
         Are there any BAPI's for creating/ changing routings.
    Regards,
    Divyanshu

    hi,
    <b>BAPI_ROUTING_CREATE</b>"used for creation.
    Regards
    vijay

  • Creating standby database through Grid Control.

    Hi,
    I want to know if source database which we term as primary database goes down during Db creation process when given option of "Perform a live backup of primary database" during Add standby wizard in Grid Control. Please let me know if people have already tested it in their environments.
    I appreciate you all for looking into my forum.
    Regards,
    Gaurav

    No, one of the options for performing this task is to create from a Live db.
    A couple of things to note here:
    You must be using spfile
    If you are not using the default port of 1521 then you must also have the local_listener parm set
    I recommend using the "db_unique_name" option to make it easier to manager in OEM (for the target name)
    Hope this helps,
    Landon

  • Create dataguard 11gR2 uisng Grid Control fails

    Hello !
    I'm testing to use data guard using grid control. I have a fresh standard database created with dbca
    When i start the gui i come to the Add Standby Database: Database Location screen
    I add the information required and select next, then I get:
    Internal Error has occurred. Check the log file for details.
    I'm trying io locate the log files, but not sure where they are. Where shall I look ?
    I have also tested to create a standby db using rman and it worked fine.
    Appreciate your comments.
    Thanks
    Magnus

    Hi!
    The logfiles for OMS are, if you use GC11g:
    $MIDDLEWARE_HOME/<Instance_Name>/user_projects/domains/EMGC_DOMAIN/servers/EMGC_OMS1/sysman/log
    or something similiar
    If you using GC 10, than the logfiles are: $oms_ORACLE_HOME/sysman/log
    kIND REGARDS1

  • Create user in OEM Grid Control

    Hi,
    I have a oem GRID control database, i have actually 3 users sys, sysman and system.
    I connect to the grid control with th sysman user and i administered the database with this user.
    I want to create a new user 'CONSULT' for a developper , the new user 'CONSULT' has just the privilege to connect only to one machine , someone know HOW TO CREATE THE USER ?
    Thanks for your help .

    As sysman, Go to Setup/Administrators, and create a new administrator.

  • Error after ip address change of the grid control server

    Hi All,
    I got the error below, after i changed the ip address of the server. What would i do? Both db and the application are running on the same machine.
    [oracle@YDFULGRID bin]$ ./emctl start oms
    Oracle Enterprise Manager 11g Release 1 Grid Control
    Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
    Starting WebTier...
    WebTier Successfully Started
    Starting Oracle Management Server...
    Oracle Management Server Could Not Be Started
    Oracle Management Server is not functioning because of the following reason:
    Connection to the repository failed. Verify that the repository connection information provided is correct.
    Please check /oracle/gc_inst/em/EMGC_OMS1/sysman/log/emctl.log for error details
    when i checked the error log:
    2012-09-13 16:23:56,602 [main] DEBUG oms.StatusOMSCmd processStatusOMS.155 - Using http port.
    2012-09-13 16:23:56,602 [main] DEBUG oms.StatusOMSCmd processStatusOMS.195 - Attempting to connect to http://YDFULGRID.YILDIZ.DOMAIN:7202/em/console/logon/logon
    2012-09-13 16:24:17,638 [main] DEBUG oms.StatusOMSCmd processStatusOMS.200 - page status code is 503
    2012-09-13 16:24:17,638 [main] DEBUG oms.StatusOMSCmd processStatusOMS.202 - header is 3
    2012-09-13 16:24:17,639 [main] INFO wls.OMSController statusOMS.950 - statusOMS finished with result: 3
    Edited by: user5199319 on 13.Eyl.2012 06:45

    Nowadays it's fairly painless - most issues arise around the admin server. With 5.x Sun provides scripts to help with this (admin_ip.pl) in the shared directory ...
    HTH

  • How to create oracle services using grid control

    Hi All,
    I have oracle grid control account my grid control version is 10.2.0.4.0.Can any one please let me know the tab from which I can create Oracle services.
    I know we can create oracle services using DBCA also.When I'm trying to do that way it is giving below error.
    dbca
    DISPLAY not set.
    Set DISPLAY environment variable, then re-run.
    How to set DISPLAY environment variable.
    Thanks,
    Rafi.

    Normally, you set DISPLAY to an IP address with the suffix : and 0.0: the IP address must match a machine able to display X11 windows.
    Example with Linux bash shell:
    export DISPLAY=192.168.0.1:0.0What is your OS version ? What is your shell (bash, ksh, sh, csh) ? How do you connect to the UNIX host ?
    Edited by: P. Forstmann on 8 févr. 2010 09:05

  • BAPI to create/change assessment cycle

    Dear ABAP expert ,
      Anyone can advise the BAPI
    - To Create cost center Actual/Plan assessment cycle (KSU1, KSU7)
    - To Change cost center Actual/Plan assessment cycle (KSU2, KSU8), in case the cycle already exist and user would like to update tracing factor or change parameter in the cycle.
      We try to avoid BDC as the screen is very dynamic.
    Thank you
    Anothai

    Rob is correct.
    Your other cross-posted threads will be deleted / locked.
    Please read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting again.
    We don't have many rules here, but they are good ones.
    Julius

  • Change hostname for Grid Control

    Hi All,
    I have installed OEM grid control 10gr2(10.2.0) on solaris. The installation was successfull.
    the grid control login page appeared to be as
    http://localhost:4889/em
    I do not understand why grid control installation has picked up the localhost and local ip address 127.0.0.1 instead of using the server hostname and server ipaddress
    Lets say i have following entries in /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    192.168.4.51 abc.xyz.com abc
    how to change the GRID url to http://abc.xyz.com:4889/em?
    thanks all in advance.

    Thanks for the reply
    The files are there,
    $OMS_HOME/sysman/config/emoms.properties
    And $AGENT_HOME/sysman/config/emd.properties
    bash-3.00$ emctl status agent
    Oracle Enterprise Manager 10g Release 10.2.0.1.0.
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.1.0
    OMS Version : 10.2.0.1.0
    Protocol Version : 10.2.0.0.0
    Agent Home : /u01/app/OracleHomes/agent10g
    Agent binaries : /u01/app/OracleHomes/agent10g
    Agent Process ID : 9997
    Parent Process ID : 9988
    Agent URL : https://localhost:3872/emd/main/
    Repository URL : https://localhost:1159/em/upload
    Started at : 2010-04-09 10:24:50
    Started by user : oracle
    Last Reload : 2010-04-09 10:36:08
    Last successful upload : 2010-04-09 12:15:37
    Total Megabytes of XML files uploaded so far : 22.36
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0.00
    Available disk space on upload filesystem : 35.24%
    Last successful heartbeat to OMS : 2010-04-09 12:17:07
    Agent is Running and Ready

  • BAPI to create/change position?

    Dear Experts,
    Is there any standard BAPI / RFC to create / change position in Organizational Management?
    Pls let me know.
    Thanks

    HRIQ_BAPI_INFTY_INSERT
    or
    FM RHOM_CREATE_OBJECTS

  • Need some low level help/info on Grid Control / Data Guard

    I need to get some info concerning the set up and administration of Grid Control. In particular, I need to know why Grid Control needs to have the Oracle OS-Level username and password stored in Grid Control in order for GC to set up and manage a Data Guard database.
    Is it because when the database is being created, GC issues commands like RMAN and SCP to put files onto the standby host?
    Also, for accountability purposes, can I not use a named user account (with the same privs as the oracle user) saved as the preferred credential and still perform the necessary functions to use DG and GC together effectively.
    Probably a lot of info and variables, and I've not explained much, but happy to explain further if needed.
    Thanks!
    Edited by: joe.bednarz on Oct 14, 2009 9:38 AM

    Thanks for the input... we need to use another account other the "oracle" account so there is some accountability for who does what. If I create an account that has similar privileges as the oracle user, I can still run all things Oracle, while still having a log of my log in time and actions.
    More of security issue...
    Thanks again. Appreciate it!

  • How to change 10 G Grid control sysman Password?

    I am running 10 G Gridcontrol on a Linux machine. We were running it long time back for learning purposes and was shut down later. We were tryin to access the
    EM console after starting the DB. Unfortunately it wont allow us to login. We used the sysman account for login and failed to login. I checked the account status of the Account and it is Open. I am kind of lost in how to get the access issue fixed.
    I would appreciate if some one could guide me.
    Regards,
    -- BMP

    1) stop all the opmn,agent and Login to database and change the sysman password by command
    alter user sysman identified by <new_password> account unlock
    2) Make a copy and change the following parameters in $ORACLE_HOME/sysman/config/emoms.properties
    eml.mntr.emdRepPwd=newpassword
    oracle.sysman.eml.mntr.emdRepPwdEncrypted=FALSE
    3.) Make a copy and edit the $AGENT_HOME/sysman/emd/targets.xml file
    with the newpassword and change ENCRYPTED from TRUE to FALSE.
    The line to look for is
    <Property NAME="password" "newpassword" ENCRYPTED"FALSE"/>
    4) opmnctl startall

  • Bapi to create a condition record

    hi,
    is there any standard bapi for creating ,changing and deleting a pricing record using VK11,VK12.
    any other function module will solve the problem.

    Hi Ajith,
       You can use <b>IDOC approach</b> also for doing teh same solution. Yo get Create/Change/ Delete Option as per indicator passed:
    Refer Code below.
    *&      Form  map_idoc_structure
          Map E1KOMG, E1KONH, E1KONP segment fields
    FORM map_idoc_structure
                  USING fp_condition_table TYPE kotabnr
                        fp_rate            TYPE z_cs_cpp_rate
                        fp_condition_type  TYPE kschl
                        fp_rate_type       TYPE z_cs_file_type.
    *-- Local Data Declaration
      DATA: lw_e1komg TYPE e1komg, "Filter seg. with separated condition key
            lw_e1konh TYPE e1konh, "Data from condition header
            lw_e1konp TYPE e1konp, "Conditions Items
            lv_delete TYPE konp-loevm_ko. " Delete Indicator
    *-- IDoc data internal table
      DATA: i_idoc_data TYPE TABLE OF edidd
                        INITIAL SIZE 0
                        WITH HEADER LINE.
      CLEAR: lw_e1komg,
             lw_e1konh,
             lw_e1konp,
             lv_delete,
             v_segnum,
             w_e1komg,
             v_rate_type.
      REFRESH i_idoc_data.
      v_rate_type = fp_rate_type.
      PERFORM conversion_alpha_input
          USING w_crp_data-kunnr CHANGING w_crp_data-kunnr.
      PERFORM conversion_matn1_input
         USING w_crp_data-matnr CHANGING w_crp_data-matnr.
    E1KOMG: Filter segment with separated condition key
      i_idoc_data-segnam  = 'E1KOMG'.
      lw_e1komg-kvewe     =  c_usage_cond_tab.
      lw_e1komg-kotabnr   =  fp_condition_table.
      lw_e1komg-kappl     =  c_cond_type.
      lw_e1komg-kschl     =  fp_condition_type.
    CONCATENATE p_vkorg p_vtweg p_spart p_hienr p_matnr
      CONCATENATE w_crp_data-vkorg w_crp_data-vtweg
                  w_crp_data-kunnr w_crp_data-matnr
                  INTO lw_e1komg-vakey.
      lw_e1komg-vakey_long = lw_e1komg-vakey.
      lw_e1komg-vkorg      = w_crp_data-vkorg.
      lw_e1komg-vtweg      = w_crp_data-vtweg.
      lw_e1komg-spart      = w_crp_data-spart.
      lw_e1komg-kunnr      = w_crp_data-kunnr.
      lw_e1komg-matnr      = w_crp_data-matnr.
      i_idoc_data-sdata = lw_e1komg.
      APPEND i_idoc_data TO i_idoc_data.
    Segment E1KONH - condition header
      i_idoc_data-segnam  = 'E1KONH'.
      lw_e1konh-datab     = w_crp_data-datab.
      lw_e1konh-datbi     = w_crp_data-datbi.
      lw_e1konh-knuma_pi  = v_promotion.
      lw_e1konh-knuma_ag  = v_sales_deal.
      i_idoc_data-sdata = lw_e1konh.
      APPEND i_idoc_data TO i_idoc_data.
      IF fm_process_type EQ c_pt_dep.
        lv_delete = c_x.              " Deletion Indicator
      ENDIF.
    Segment E1KONP - condition items
      i_idoc_data-segnam = 'E1KONP'.
      lw_e1konp-kschl     = fp_condition_type.
      lw_e1konp-kbetr     = fp_rate.
      lw_e1konp-konwa     = w_crp_data-waers.
      lw_e1konp-kpein     = v_cond_pric.
      lw_e1konp-kmein     = v_cond_unit.
      lw_e1konp-knuma_pi  = v_promotion.
      lw_e1konp-knuma_ag  = v_sales_deal.
      lw_e1konp-loevm_ko  = lv_delete.
      i_idoc_data-sdata = lw_e1konp.
      APPEND i_idoc_data TO i_idoc_data.
    *-- Post Idoc for Creating Pricing Condition
      PERFORM post_idoc
             TABLES i_idoc_data.
    ENDFORM.                    " map_idoc_structure
    *&      Form  post_idoc TABLES i_idoc_data.
          Post Idoc for Creating Pricing Condition
    FORM post_idoc
              TABLES i_idoc_data STRUCTURE edidd.
    *-- Local data declaration
      DATA: lv_komg         LIKE komg,         " Condition Structures
            lv_subrc        LIKE sy-subrc,     " Sy-subrc
            lw_messages     TYPE rsuvm_msg,    " Message Description
            lw_idoc_status  TYPE bdidocstat.   " ALE IDoc status
      DATA: idoc_contrl                        " IDoc Control data
                LIKE edidc OCCURS 1 WITH HEADER LINE.
    *-- Initialize Internal Tables
      CLEAR:  t_konh,
              t_konp,
              t_konm,
              t_konw,
              i_idoc_status,
              t_kona.
      REFRESH: t_konh,
               t_konp,
               t_konm,
               t_konw,
               i_idoc_status,
               t_kona,
               i_messages.
    This code is taken from IDOC_INPUT_COND_A
      PERFORM fill_appl_structures(saplvkoi)
                      TABLES i_idoc_data
                             t_konh
                             t_konp
                             t_konm
                             t_konw
                             i_idoc_status
                             t_kona
                       USING lv_komg
                             lv_subrc
                             idoc_contrl-docnum
                             idoc_contrl-mestyp.
      IF lv_subrc = 0.
    This code is taken from IDOC_INPUT_COND_A
        PERFORM idoc_in_datenbank(saplvkoi)
                  TABLES idoc_contrl
                         t_konh
                         t_konp
                         t_konm
                         t_konw
                         i_idoc_status
                         t_kona
                  USING  lv_komg
                         lv_subrc
                         idoc_contrl-docnum.
        IF lv_subrc = 0.
          COMMIT WORK AND WAIT.
        Endif.
    Reward points if this Helps.
    Manish
    Message was edited by: Manish Kumar

  • Grid Control stops sending emails?

    Hello everyone. Interesting thing happened today. For whatever reasons, Grid Control stopping sending out email alerts that we have configured. Let me give some details.
    We have customized some rules so we can receive email alerts if something goes wrong with our production databases. It has worked great until today.
    We have setup an alert to let us know the 'state' of the database. This worked extremely well on our dataguard box, which would change status to 'MOUNT" twice a day as we applied redo logs from the primary database. Each time this happened, Grid Control would fire off an email alert stating the database was in the 'MOUNT' stage.
    Once all the logs were applied and the database would return to 'OPEN', we could get a email saying the database was 'CLEAR' and now 'OPEN'.
    This worked great, until our 17:00 log applies happened.
    We did not receive anything at all and now I am trying to figure out why.
    To my knowledge, nothing has changed on the Grid Control server.
    I logged in and checked everything out, and it seemed ok.
    I did restart some of the services and restarted the DB instance.
    Doing some testing, I stopped a database to check the rule. It took a while for Grid Control to recognize that the database was down and it eventually fired off a email alert stating the database was unreachable. But this was after at least 3-5 minutes, where as before, it was almost instant.
    My guess is that for whatever reasons, is that when the database status changes, Grid Control is not finding out right away. Due to the latency of the issue, by the time all the logs have applied (no more than 5 minutes), the database is back 'OPEN' and the database looks good to grid control.
    I'm a little baffled by this because Grid Control has worked great for months.
    Does anyone have any idea on what could be wrong?
    Any ideas on where to start looking?
    Any additional information I can post to help troubleshoot? Logs?
    I appreciate it.
    Jason

    hi,
    Has a schedule been set-up for the user. This normally happens when a user is created.
    Does the user have access to the rule set that has been created.
    For example, in my system SYSMAN creates all the rules and then makes them public. Individual users then subscribe to the public rules to get the alerts.
    regards
    Alan

Maybe you are looking for