FM/BAPI to update requirements assignment on a PM order

Hello,
I am working on a project which involves building interfaces between a client's SAP ECC system and a third party scheduling system. The orders are created in SAP, interfaced to the third party, where they assign resources and schedule appointments. Hence we need to build is inbound to SAP, to update the "requirements assignment" tab of PM order operations - transaction IW32.
I have looked at BAPI_ALM_ORDER_MAINTAIN, but this doesn't provide this specific functionality.
Does anyone know if there is any other type of function module which enables this to be created/updated?
The data appears to be stored in table KBED - capacity requirements.
Many thanks in advance,
Peter

Hi Balaji,
After lots of search and trials, I have gave up on the function group CY_BT*.
I eventually used direct update on the database tables of the Requirements Assignment.
Using SQL Trace and Runtime Analysis of the transaction IW31/32, I have been able to imitate the standard SAP process for creation, update and deletion and the effect of every scenario on the database tables:
KBED     Capacity Requirements Records
KBEZ      Add. data for table KBED (for indiv. capacities/splits)
KBKO     Header Record for Capacity Requirements
Combine that with locking mechanism, you will get your results.
Just build a Z-'BAPI'. The best cost-benefit balance, as far as I am concerned.
Good luck,
Kamal.

Similar Messages

  • Requirement assignment tab in PM order

    Hi, Gurus
    I just want to know ,when and how i can use requirement assignment tab i PM Order . How it can be used.Is there any config sttings for it.
    When i am cretating WC for activity based costing , Requirement assignemnt tab is not there .

    Hi
    There is no config required for requirement assignment tab
    You can split the work using the employees.. and assign particular work hours to them
    - Pithan

  • A FM or BAPI to update the status of a Production Order

    Hello, does anybody know if there is an interface FM or BAPI to update the status of a production order. Specifically I want change the status of PP order to LKD (locked). I want to do it programmatically from an external system.
    Thank you
    Ernesto

    Hi,
    I believe you can use the FM I_CHANGE_STATUS to update the status..
    where JEST-OBJNR = AUFK-OBJNR
    Thanks,
    Naren

  • Requirement Assignment Tab on Work Order

    Hi Gurus,
    I am working on capacity planning.I am creating an order & putting some requirement let say 2HR. with the help of capacity levelling in CM25, I am dispatching the manpower against that req, which is getting updated in PM order on requirement assignment tab.After conpletion of job I am  doing techo. Now my qyery is :
    1. During teco, requirement assignment tab is not there in order.
    2. If I am cancelling that Teco of order, manpower which is udpated thorugh CM25 in order, is getting clear.
    Is this the standard system behaviour, if yes, please guide me what is the reason. In case of no, how to solve this.
    Thanx in advance

    Hi,
    As mentioned, it is expected that requirement assignment data is deleted at time of technical completion. Documented in KBA/Note [1634839|https://bosap-support.wdf.sap.corp/sap/support/notes/1634839].
    -Paul

  • Need a bapi which creates and assigns notification to maintenance order

    Hi,
       I am currently using a bapi "BAPI_ALM_ORDER_MAINTAIN" in PM  to create an order with its operations. Now my requirement is to create and assign a notification to certain types of orders. This bapi is not able to handle notifications.
    Thanks
    Pradeep

    Hi Karthikeyan,
    Since this issue is resolved long back I don't remember everything related to it. But as far as I remember, the behavior of transaction IW32 is such that, while saving the work order, it cross checks with table T350. If field "NOTDAT" in T350 is checked for that order type  then it automatically creates a notification and assigns to that order. I just made use of this behavior and used BDC approach to solve this issue.
    Hope the things are clear.
    Regards,
    Pradeep.

  • BAPI to update a single characteristic in IE02

    Hi,
          I am trying to update a single characteristic in IE02.I am able to do that with the BAPI "BAPI_OBJCL_CHANGE",but this BAPI is updating only 1 characteristic and is initializing all the remaining characteristcs.
          Any pointers on this is highly appreciable.
    Navin

    Hi,
    the documentation of the bapi says:
    Caution
    This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.
    The information transferred by this BAPI replaces all old information. An empty field means "delete entry!", not "no change".
    This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.
    You can only use this BAPI for objects that are not classes!
    This BAPI only processes assigned values for classification - not for configuration
    so i guess you have to pass all information you do not want to lose.
    i´ve  found this as well:
    http://www.sapfans.com/forums/viewtopic.php?t=125320
    Best regards.
    Edited by: Pablo Casamayor on Jan 2, 2009 7:08 PM

  • Error while updating the Assignment details using 'hr_assignment_api'

    An exception message is thrown while updating the assignment details through 'hr_assignment_api.update_emp_asg'.
    The message is 'ORA-20001: HR_FLEX_VALUE_MISSING: N, COLUMN, ASS_ATTRIBUTE6, N, PROMPT'.
    Even though a valid value is being passed to the segement,the error is thrown.
    I have tested the API in one instance and it is working fine. Recently I have migrated the codes to nother instance and encountered this error. The only difference is that in the newer instance, the segment is mandatory.
    One interesting thing is that, When I update the Assignment through application it is successfully saving the record. Then if I use the API to correct the Assignment, it is working fine. The API is not able to update only when the mandatory segment is null.
    Please help
    Thanks in advance
    Kumar

    Pl post details of OS, database and EBS versions, along with HR RUP level. It may be a bug, as outlined in MOS Doc 429169.1 (When Calling the Assignment API To Update Position, It Errors in Required Segment)
    HTH
    Srini

  • BAPI to Update the OA/PO with the new partners from vendor masters

    Hello All,
    We got a requirement to update the Contract or purchase order with new partners from vendor  master.
    In brief the partner information of a  PO when created with reference to a contract  will be reflected from the contract but not from Vendor Master partners .So when the vendor master got changed after the creation of the Contract the partner information in the PO is not in synchronous with Vendor Master partnes.
    Hence please help us with any BAPI to update the PO partners with Vendor masters .
    Regards
    Kalyani

    MAP2e_lfa1_to_bapivendor_04
    MAP2e_lfa1_to_bapivendor_05
    will be helpful

  • BAPI to update data in KNA1 and ADR* tables

    Hi,
    I have to change customer data via BAPI.
    I'm searching for a BAPI that updates KNA1 and ADR* tables.
    (so that data will be coherent).
    I found BAPI_CUSTOMER_CHANGEFROMDATA1 but it seems to only update KNA1
    and BAPI_ADDRESSORG_CHANGE that only updates ADR* tables.
    Can you help me ?
    Thanks,
    Sandrine.

    I came accross such a requirement but couldn't find a single function module.
    I think try using both the FM's else BDC is the only option left.
    you can use the FM "DEBITOR_BDCDATA" to get the BDC data for vendor and then edit it to add the address fields required.

  • Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng)

    Hi,
    I have a requirement to use a Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng), which one (Function Module or BAPI) should I use? is there any sample codes?
    Thanks a lot!!

    Hi,
    *& Report  ZTEST
    REPORT  ztest.
    DATA : wa_header TYPE bapisdh1x,
                i_item TYPE TABLE OF bapisditm WITH HEADER LINE,
                i_itemx TYPE TABLE OF bapisditmx WITH HEADER LINE,
                i_return TYPE TABLE OF bapiret2.
               wa_header-updateflag = 'U'.
               i_item-itm_number = '000010'.
               i_item-target_qty = '4'.
               APPEND i_item.
              i_itemx-itm_number = '000010'.
              i_itemx-updateflag = 'U'.
              i_itemx-target_qty = 'X'.
              APPEND i_itemx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument               = '1234567890'
        order_header_inx            = wa_header
      TABLES
        return                            = i_return
        order_item_in                 = i_item
        order_item_inx               = i_itemx
    Hope this will help you.
    Regards,
    Anand.

  • Need FM or BAPI to update LIKP-BEROT

    After the second transfer order is created with source storage type as ‘200’ and destination storage type as ‘916’, populate the field LIKP-BEROT with value “200”. This is required for the business to identify the deliveries that are ready for 2nd step picking confirmation.
    I need a fm or bapi to update for a perticular field berot.
    Pls help.
    Madhavi

    Check this function module.
    CHANGEDOCUMENT_PREPARE_POS
    Thanks,
    Srinivas

  • BAPI to update Employee position?

    Hi All,
    what is the BAPI to update an employee's job title/position.
    Thanks
    Thruna
    Moderator message: please (re)search yourself before asking.
    Edited by: Thomas Zloch on Nov 4, 2010 10:51 PM

    very nice explaination on Bapis is given on this link please check.
    without so much technical stuff and in simple terms u can say. They are Function Modules only that they are SAP provided Remote function calls. meaning. Function modules can be used only within SAP, where as Bapis can be used from outside SAP,thru external applications.
    if u want to understand using an HR example.
    consider ur company has Intranet portal or any other front end which all the employees are comfortable using. but the company wants to use SAP. and they r not comfortable with SAP interface.they want to continue using their own old portal for various reasons.
    in such scenarios, although front end is different portal, it connects to SAP in the back end. the employers do not know that whenever they r changing their phone no/email id etc in thier portal in back end its getting changed in his employee master in IT0105 in SAP.
    So how are tey able to acheive this? inputing data in different system but updating SAP system? well thats where BAPIS come into picture. SAP has exposed certain functions to be accessed remotely thru external systems..for such functions it provided BAPIS. in this case of communication SAP provided
    BAPI_EMPLCOMM_CHANGE Change communication
    BAPI_EMPLCOMM_CREATE Create communication
    BAPI_EMPLCOMM_DELETE Delete communication
    BAPI_EMPLCOMM_DELIMIT Delimit communications
    BAPI_EMPLCOMM_GETDETAIL Read communication This is just an example.
    go to TCODE: BAPI and check out all the bapis.
    go to TCODE: SE37 give a bapi name and read documentations/see source code/etc.
    Bapis manipulate SAP business objects,thru API methods.
    with this descriptions as a base, try making sense out of what BAPI is by reading above link and other material.and come back with more precise quesions.
    To use bapis u require different authorisations..usually authorisation object s_rfc is given
    inputs given by hurser
    this may be helpful
    sikindar

  • BAPI for update field marc-profil (backfl.profile, mrp4)

    G'day!
    What bapi will update field marc-profil (backfl.profile, mrp4)?
    Thank you!

    Anupam Sharma wrote:
    You can use the T code MM17/ MASS for your requirement .
    BAPI need for transfer data from non SAP PLM system.

  • What is the BAPI to update a trip in Travel managment?

    Hi,
    I want to know, what is the BAPI to update a trip in Travel managment submodule?
    We have BAPIs to get the details, to create and to delete
    But we are not able to find the BAPI for Edit/Update  trip?
    It will be great if anyone can assist me.

    Hi all,
    I have a similar problem. I tried to use function module HRTRV_IF_MODIFY_TRIP. This is the one that satisfied my requirements. But I keep getting an error message.
    If you would like to open the trip, modify then save, the function module TRIP_CHANGE_INTERACTIVE can me usefull to you.
    My problem is that I would like to pass all trip data and that data must save the trip in the system, just as the BAPI BAPI_TRIP_CREATE_FROM_DATA.
    If you find a solution, please let me know.
    Mr Thung Yuen Yap, your code could be helpfull.
    Regards,
    Robert.

  • FM/BAPI to update sales order item characteristic values

    Hi experts,
    I have an urgent requirement on changing the characteristic values of a sales order item (VA01/VA02). Is there any FM or BAPI to update the characteristc values?
    Points will be awarded.
    Regards,
    Leo

    Hi,
    I need an FM/BAPI that can be run inside user exit USEREXIT_SAVE_DOCUMENT_PREPARE to update the item configuration. I tried the FM you have given me but it didn't work. If you have sample codes that can update the configuration values of the sales order item, it will help me a lot. Thanks!
    Regards,
    Leo

Maybe you are looking for

  • Importing custom slideshows that are created in iPhoto without lowering the quality to play on AppleTV

    Hi, My wife is a wedding photographer, so for part of her presentation process I create custom slideshows in iPhoto with music and the pictures presented in a certain order and at a certain pace. The slideshows look awesome on the computer. To get th

  • 'BAPI_POEC_CREATE' function doesn't work with extended classic scenario

    Hi everybody. Antecedents: We are working in an extended classic scenario. When we create a Purchase Order via ITS in SRM, the system works ok, the PO is replicated in the ERP system. But when we execute “BAPI_POEC_CREATE” function module in order to

  • Acrobat 7 plugin not working in Acrobat 8

    Hi, I have developped a plugin that run correctly in Acrobat 7. But if I use it in Acrobat 8 some fucntions are not working. Are there incompatibilities between versions ? Thanks

  • Parameter out of range

    Help! I have been editing sequences on Avid Express and exporting the cuts as Quicktime Movies. The quicktime file plays fine on my Mac. But my friend in NYC (PC) can't open the mov file all of a sudden. Plan B was to export the mov as a wmf file as

  • Difference between Business Packages MSS

    Hello, I´ve got a question regarding to the difference between Business Packages containing Manager-Self-Services. Where ist the exact difference between the BP for MySAP ERP and MySAP ERP 2004? The documentations seem to be quite different. Another