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

Similar Messages

  • Any BAPI or FM for Assessment cycle create 3KE1 tcode

    Hi,
    Any BAPI or Function module to create actual assessment cycle 3KE1 tcode.
    i am doing BDC for that currently. Anybody done this please send the coding for this.
    thanks
    Muthappan

    Hi Muthappan,
    Could you please send me some sample code you used to create Assessment Cycle / Distribution Cycle using the function module.
    Many Thanks in advance
    Soumen

  • Function create actual assessment cycle EC-PCA

    Dear experts!
    Now, I'm getting some issue about create actual assessment cycle EC-PCA. Really, I want to know the function that create actual assessment cycle EC-PCA (t.code 3KE1).
    Help me, Please.
    Best regards, Huy.

    Hi,
    You are mixing things. 9KE0 is used to post PCA documents - nothing to do with assessment cycles. You could use BAPI_PCA_BELEG_SAVEREPLICA function for this. There is no function/BAPI to create assessment cycle (3KE1).
    Regards,
    Eli

  • 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

  • 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

  • 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.

  • 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

  • Assessment Cycle for Planned Cost

    Hi,
    I have production cost centers and dept cost centers for which cost center planning has been maintained in KP06. I have maintained assessment cycle for planned costs with planned skf. When I run the cycle, system is apportioning the costs based on the factors maintained.
    However on execution, without test tun, the system is posting the costs to the receiver cost centers as Actual Costs and not Planned Costs..
    Can anyone tell me what is the reason?

    Hi,
    Have you created ur assessment cycle in T.Code: S_ALR_87005540 - Define Assessment for Plan cost (or) S_ALR_87005742 - Define Assessment for Actual cost.  Assessment cycle execution t.code. KSUB for Plant cost posting. and KSU5 for actual cost posting.
    If you define cycle in S_ALR_87005540, Please check have u select Plan (or) Actual Radio button
    Thanks

  • Assessment cycle

    Hi guys. I need help on how to create gl assessment cycle step by step.  I created a cycle using FAGLGA11 but i keep getting an error message that the sender and receiver doesn't exist. Is there something that I am missing. My goal is to do profit center assessment to transfer costs from one cost center(service)  to 8 cost centers (production) and post the costs into one GL account. Please help , its urgent.Thanks for your help.
    Moderator: Please, read and respect the rules of SDN

    Hi Sridhar,
    You have defined is ok, further you have to give the selections in the Receiver Tracing Factor - Reveiver Rule / Var portion type.
    You have the following options:
    1. Receiver Rule - You want to transfer the variable portions / fixed amounts / fixed % etc.,
    2. Var. Portion type - On what basis you want to split the sender amount from 201 to receiver cost center group Actual costs / plan costs / actual Statistical key figures / plan Statistical key figures.
    Unless you dont do the selections it would not be able to identify the sender and receiver.
    Regards,
    Suraj

  • Assessment Cycle - Posting affected in GL Account

    Hi,
    The users have created the assessment cycle, specifying the Sender and Receiver Cost Centers and the fixed percentages. After executing the assessment cycle, it is noted that one of the GL Accounts is getting impacted with the running of the assessment cycle and the postings are taking place in this GL Account, whereas by running the assessment cycle, there should not be any postings in the GL Account.
    Could you please advise as to how what could be the reason and how can we check the same?
    Thanks in advance for the assistance.
    Regards

    Hi Ashok,
    Thanks for the feedback. As suggested by you, I have checked the Cost Element for the GL Account that is impacting the Finance and find that the Cost Element Category is 1, i.e. Primary Costs. I presume that you want me to check the Cost Element category of only that GL Account which is getting impacted.
    Would really appreciate your help in assisting me to investigate the cause.
    Regards

  • Substitution Rule for Assessment Cycle

    Hii All,
    Can anybody suggest how do i define substitution rule for Assessment Cycle??
    Reg
    Umesh

    I have created a assessment cycle thru KSU1 where i assigned SKF key , Thru SKF key i have to define allocation numbers with receiver cost centers but  before that i have to set substitution rule for cycle.
    All the common expenses booked under one common cost center
    For eg. Expensed booked in GL series 3 - Common Cost Center
    in Cycle - Assesment CEle start with 9
    In FI - Common Exp GL start with 8
    Above Example , when i run the cycle expenses will be allocated in 8 series with receivers cost center
    Can ny1 suggest me how to do the process,how to define the rule
    REg
    Umesh

  • Assessment Cycle: ERROR asking FI period needs to be open to run cycle

    Hi,
    I'm trying to run the cost center assessment cycle using KSU5, but an error pops up asking the FI period needs to be open.
    This is what I did:
    1.       Just created two cost centers (one sender, one receiver).
    2.       Posted an entry using FB50 to one of the cost center (sender) [Expense GL a/c Debit, Bank account credit]
    3.       Created the assessment cycle
    4.       Blocked the FI period using OB52
    5.       Ran the test run u2013 worked perfectly (values all went correctly)
    6.       While running the Real run u2013 an error popped up, saying FI period needs to be opened.
    Dont know why I'm getting this error. Would really appreciate if anyone could help.
    Thanks & rgds,
    Nashad

    Hi,
    Thanks for your reply. But we know that FI period needs to be open. Just want to know if we could run the cycle without opening the FI period.
    Eg. Our FI Period closes on the 4th of every month. We get all the SKFs for the cycles only on the 10th of each month. So, when we run the cycle FI period is already closed.
    Is there no other option of running the cycle without opening the FI period?

  • Group Assessment cycles

    Hi Gurus,
    Is it possible to create Group Assessment cycles and run them together at month-end?
    We are on SAP 4.7C.
    Pls reply.
    Thanks

    Hi,
    I would re frame the question, the requirement is to run multiple assessment cycles together, when you go to an assessment cycle in KSU5, and on the top goto Extras --> Cycle --> Cycle run groups, you get the group the cycle belongs to. I can also create a group and assign multiple cycles to this group similar to a Cost Center Group.
    Now is there a method I can run this cycle groups at once.
    Thanks.

  • BAPI /FM to create /change KANBAN control cycle

    Hi
    Is there any BAPI or FM to create or Change control cycle?
    Thanks.

    Check
    BAPI - BAPI_KANBANCC_ADDEVENTDRKANBAN
    Short Text
        Create Event-Driven KANBAN for Control Cycle
    Functionality
        With this method you can procure a material quantity for a control cycle. To procure this material quantity one or more kanbans are created in the control cycle and set to status EMPTY.
        The essential entry parameters are:
        o   Control cycle (if the function module is called as a method for the object kanban control cycle, this parameter is not available, but given by the object.
        o   Material quantity
        Information about the status change is issued.
        COMMIT and ROLLBACK WORK: the function module does not carry out any COMMIT work. Command off. This must be ensured by the initiator after ending the function module. Each time the function module is called, a COMMIT WORK must take place. It is not permitted to call this FM several times and to post the result with a COMMIT WORK. If, during the process,
        the FM comes across an error, in some cases the command ROLLBACK WORK wil be carried out. In these cases the kanban is either set to ERROR status, or in the parameter RETURN an error message is given.
    Hope this helps.
    Regards
    Vinayak

Maybe you are looking for

  • Nested structure when using FM XXL_SIMPLE_API

    I use this logic to fill in the headings before calling the FM xxl_simple_api in one of my programs. Is it possible to have nested structure(for <b>i_tab</b> in my code) and still use same kind of logic to fill in the headings? Not sure if this Fm wo

  • How to set up Open Directory Users with local home folders?

    Hi folks, i set up a Mac mini Server with the services DNS, DHCP, AFP and OpenDirectory running. Everything is working fine so far but i want my OpenDirectory Users to have their home folders locally on the clients harddisk. My Leopard clients are al

  • Duplex Printing for HP Color LaserJet CP4005dn Setup

    How can I get my duplex printing to show up/work from the printer pop-up menu. Have installed all HP CP4005dn drivers. Installed the printer with all installable options. Printer works fine except no duplex print options. Have followed Mac Help's "Di

  • How to upload a file in servlet ?

    hi i am new to this concept .............. i need upload a file in mysql database ......... i created a form ... <html> <form method="post" action="http://localhost:8080/examples/servlet/UploadFile" enctype="multipart/form-data"> File <input type="fi

  • MFBF -Max no.of FI items reached -issue

    hi, While doing production posting through the transaction code MFBF the following error is encountered "Maxium no.of FI items are reached " the error description is  as below what to be done , please provide inputs ? Maximum number of items in FI re