BAPI to change data at operation level

Hi,
I have this requirement:
I need to change data at operation level, more particularly Person No (PERNR) by using a BAPI.
Is there any BAPI - in which I can pass the basic data (say Order data and Operation data) and change the PERNR for it.
The name of the BAPI and its usage will help.
Ankur

Hello,
Assuming you are talking about maintenance or service orders, you can use BAPI_ALM_ORDER_MAINTAIN. See function module documentation from SE37. The structure BAPI_ALM_ORDER_OPERATION contains PERS_NO field.
-Paul
Please use Enterprise Asset Management (EAM) forum for PM/CS specific topics
Enterprise Asset Management (SAP EAM)

Similar Messages

  • BAPI to change data in a service entry sheet

    Hi all,
    We would like to change data in already created service entry sheet.
    Please let us know any BAPIs on this regard.
    Thanks and regards,
    Shiva

    Hi,
    Here are the BAPI's
    BAPI_ENTRYSHEET_CHECK Check Service Entry Sheet
    BAPI_ENTRYSHEET_CREATE Create Entry Sheet
    BAPI_ENTRYSHEET_DELETE Delete Entry Sheet
    BAPI_ENTRYSHEET_GETDETAIL Display Detailed Data on Entry Sheet
    BAPI_ENTRYSHEET_GETLIST List Entry Sheets
    BAPI_ENTRYSHEET_GETRELINFO Detailed Release Information Relating to Entry Sheet
    BAPI_ENTRYSHEET_RELEASE Release Entry Sheet
    BAPI_ENTRYSHEET_RESET_RELEASE Cancel Release of Entry Sheets
    Regards
    Sudheer

  • Changing data in table level

    Hi friends,
    I want to change the address of ship to party in delivery document and billing document, table level. So anyone can tell me what is the table and fields name to change the address in delivery document and billing document. In LIKP and VBRK I am not able to find the fields. In VL03N main screen below to outbound delivery, ship to party will be there, right to that ship to party name will be there, right to that address button will be there. If you press that we will get the address of ship to party. I want to change the data in that? So I need the table and field of that
    Anyone can help me out?
    Ramesh

    Hi,
    This address actually comes from customer master for partner function WE .
    But in sales order and delivery u can change the address in VA02 and VL02N tcode by going thru the steps u have mentioned .
    Generally in Sales order we can do the chnages and then thru copy control this data from sales order flows to subsequent doc . So u can chnage it in sales order in chnage mode it will be available in Delivery and Invoice.
    In case u don't want to chnage it in sales order but u want to chnage in Delivery then VL02N and then chnage .
    Hope this help

  • BAPI to change Work order operation details

    Hi ,
      I have a requirement to change the operation work center of the service order . I am using the BAPI_ALM_ORDER_MAINTAIN . Could anyone let me know how the parameters i_methods and i_operation, i_operationup needs to be passed , what values need to be filled in them. Basically I am not sure about how the object key for the i_operations table is built.
    Regards,
    Prabaharan.G

    Hi,
    I used the below function module parameters as below the change operation work center of maintenance order,
    CLEAR: I_METHODS[], I_HEADER[], I_HEADERUP[],
             I_OPERATION[], I_OPERATIONUP[].
      CLEAR: V_OBJKEY.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT  = P_V_AUFNR
        IMPORTING
          OUTPUT = P_V_AUFNR.
      I_METHODS-REFNUMBER = '000001'.
      I_METHODS-OBJECTTYPE = 'OPERATION'.
      I_METHODS-METHOD = 'CHANGE'.
      I_METHODS-OBJECTKEY = P_V_AUFNR.
      APPEND I_METHODS.
      I_METHODS-OBJECTTYPE = ' '.
      I_METHODS-METHOD = 'SAVE'.
      APPEND I_METHODS.
      I_OPERATION-ACTIVITY = P_V_VORNR.
      I_OPERATION-WORK_CNTR = P_V_WORK_CENTER.
      APPEND I_OPERATION.
      I_OPERATIONUP-ACTIVITY = 'X'.
      I_OPERATIONUP-WORK_CNTR = 'X'.
      APPEND I_OPERATIONUP.
      CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
        TABLES
          IT_METHODS             = I_METHODS
         IT_HEADER               = I_HEADER
         IT_HEADER_UP            = I_HEADERUP
      IT_HEADER_SRV          =
      IT_HEADER_SRV_UP       =
      IT_USERSTATUS          =
      IT_PARTNER             =
      IT_PARTNER_UP          =
       IT_OPERATION           = I_OPERATION
       IT_OPERATION_UP        = I_OPERATIONUP
      IT_RELATION            =
      IT_RELATION_UP         =
      IT_COMPONENT           =
      IT_COMPONENT_UP        =
      IT_TEXT                =
      IT_TEXT_LINES          =
      EXTENSION_IN           =
         RETURN                 = I_RETURN
      ET_NUMBERS             =
      READ TABLE I_RETURN INTO WA_RETURN WITH KEY TYPE = 'E'.
      IF SY-SUBRC NE 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        WAIT UP TO  1 SECONDS.
      ELSE.
        MOVE P_V_AUFNR TO WA_MSG_LOG-AUFNR.
        MOVE P_V_VORNR TO WA_MSG_LOG-VORNR.
        MOVE WA_RETURN-MESSAGE TO WA_MSG_LOG-MESSAGE.
        APPEND WA_MSG_LOG TO I_MSG_LOG.
        CLEAR: WA_MSG_LOG.
      ENDIF.
    Regards,
    Prabaharan.G

  • How to use BAPI TO change Data on EKPO from ALV

    hi all,
       i am a bignner  i have alv grid dispaly  forpurchasing document item (EKPO)  after editing my ALV i want use a BAPI to update the details on EKPO table,
    is it possible? if so please let me know how it can be done??

    hi davel,
    thank you for quick replay i am beginner to ABAP
      i am just practicing to study BAPI ...this requrement iwas taken  by myself for studing BAPI usage..if its possible please let me know how can it be done??
    thank u..

  • User status at operation level

    Hi,
    I have created one user status profile and attached in order type. In this profile I have included Operation and Order header as an "Allowed object type"
    My problem is when I am changing  user status at order level , it is not getting changed automatically at operation level.
    Pls suggest me the solution.
    Thanks

    Hi,
    I dont think it is possible .
    A suggestion not sure if it works .
    Assign user status profile operation wise and then have some development to check the operation status and
    then update production order status with same user status you mentioned in operation.
    FM: STATUS_CHANGE_EXTERN will help you to change the user status of order.
    Regards,
    Vishal

  • How to fetch last changed date for Header in me22n?

    Hi Experts,
    I need to create a report for PO, where I have created one screen tab in Header level(customer data), therefore I need to fetch last changed date for header , I must mention that I do not want last changed date for item level, only for header last changed date is required.
    Kindly assist me on this.
    Thanx
    Shireen

    Read table CDHDR (object "EINKBELEG") and CDPOS (look for table name EKKO), keep the last CDHDR record with "EKKO" data actually changed.
    Regards,
    Raymond

  • FM or BAPI to change Operation data

    Hi,
    Is there any BAPI to change operation data? BAPI_ALM_ORDER_MAINTAIN is not useful in my case. I want to use   IBAPI_ORDER_OPERATION_CHANGE but not able to get proper documentation for same.Can anyone give me a sample code about how to use IBAPI_ORDER_OPERATION_CHANGE?
    My requirement is to tick check box 'Required Splitting' in operation if some conditions are met. I am planning to do this using cuatomer exit. Everything is working fine only i need to know how to use above BAPI. If this doesn't work then as a last option i will go with BDC.
    Regards,
    Kamal

    Hi Kamal,
    Unfortunately I can not see any BAPI which changes operation data of a production order.
    BAPI_PRODORD_CHANGE is available only for changing header details.
    BAPI_ALM_ORDER_MAINTAIN and IBAPI_ORDER_OPERATION_CHANGE are used for changing maintenance or service orders, and not production orders, most probablty this won't work or cause issues.
    I'm afraid BDC is the only option in this case.
    Regards,
    Marcelo Pacheco

  • PM: change all Orders from sub-operation to operation level

    Hi Folks,
    I've a requirement to change all PM-Orders from Operation-SubOperation to only Operation Level.
    Example:
    Op SubOp --> New Op   (no subOp)
    10__10__-->____10
    10__11__-->____11
    10__12__-->____12
    10__13__-->____13
    10__14__-->____14
    20__10__-->____20
    20__11__-->____21
    Does someone here know, how I can make do this in an easy and save way?
    The only way I see is to make an own report with calling BAPI BAPI_ALM_ORDER_MAINTAIN.
    Have someone another solution
    - SAP-Standard-Report?
    - LSMW?
    Regards

    Hi Raghu,
    Many Thanks for your quick reply.
    Okay ... no LSMW.
    And also no Standard-Reports?
    Do you think, making my own program is the best way?
    Regards,
    Daniel

  • Bapi to change Routing Operations

    Hi Gurus,
    Could you please tell me whether this Bapi Can be used to do Mass Change for an operation.
    I have found this Bapi : /SAPMP/BAPI_ROUTING_PROCESS
    But it is throwing exception Routing Entry is missing.
    I have filled only operations table and the importing parameters.
    Do I have to fill any other table.
    Please help me in the same.
    Best Regards,
    Navin Fernandes.

    NAVIN FERNANDES wrote:
    Hi Amber,
    >
    > I have created an LSMW and filled respective values with mapping but it giving me error saying
    > ****************************************************************************
    > "Data Transfer of Routings via Direct Input
    >
    >     Error_di_exp         From    To      Obj   Index       Plnnr
    >
    > E    1     1                             M     0000000001
    >
    > E                           1     1      M     0000000001
    >
    > C\ 045 V
    >    You cannot edit the task list object with activity type V
    > *******************************************************************************
    > Could you please help me in the same.
    > I want to change the standard values in the operation.
    >
    > Best Regards,
    > Navin Fernandes.
    this looks to be a functional error. Can you check again with your functional consultant.

  • Function Or BAPI to Change BP Data

    Hi All
    We need to change the value of a field Classification of the BP after we create a Quotation, but we are not able to find the function to do it.
    Best Regards.

    Hi Kamal,
    Unfortunately I can not see any BAPI which changes operation data of a production order.
    BAPI_PRODORD_CHANGE is available only for changing header details.
    BAPI_ALM_ORDER_MAINTAIN and IBAPI_ORDER_OPERATION_CHANGE are used for changing maintenance or service orders, and not production orders, most probablty this won't work or cause issues.
    I'm afraid BDC is the only option in this case.
    Regards,
    Marcelo Pacheco

  • BAPI for changing delivery date and delivery time fields in LIKP table

    Hi All,
         Is there any BAPI or function module to change the delivery date and delivery time in LIKP table ?
    Please tell me experts if exists.
    Thank you,
    Raghu.

    try these:
    BAPI/FM to update LIKP and VTTK tables
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bapi-for-changing-sales-headertable-likp-662800

  • How to change data in decision table using excel file in operating system?

    Hello, BRF Experts
    I now brf + for the first time in the current project is being developed.
    Now, project has been facing a big problem.
    Develop system that was developed in the history of decision table in the operating system can be used to update excel file, etc. I do not know whether.
    So, I was tested, but can not change data in decision table.
    [ error message : system is not change allowed ].
    The operating system itself to the current system setting is immutable and check it
    : changes and transports for client-specific object -> no changed allowed
    : cross-client object changes -> no changes to repository and cross-client customizing object.
    Decision table in the operating system can update the details if I want to know what to do.
    Maintenance view can be modified in the operating system as a decision table, I wonder if you can create a view.
    Edited by: Sung-Wook Ha on Jan 13, 2012 2:02 PM

    Hi ,
    Exchanging data with Microsoft Excel is done with the help of the XML-based file format (file extension .XSLX) introduced with Microsoft Excel 2007. If you are using an older version of Microsoft Office, you can download the Microsoft Office Compatibility Pack to upgrade the supported file formats from the Microsoft Download Center ([Exchanging Decision Table Data With Microsoft Excel |http://www.microsoft.com/downloads/details.aspx?familyid=941b3470-3ae9-4aee-8f43-c6bb74cd1466]). Once you have downloaded the Compatibility Pack, you have to install it on every workstation that has an older version of Microsoft Office installed.
    Please refer the link-
    [BRFplus-Data exchange with MS Office 2007|http://help.sap.com/erp2005_ehp_05/helpdata/en/b8/e03486d1df48c6baa3c4354f5198ee/frameset.htm]
    Hope this helps.
    Thanks,
    Ajay

  • FM/BAPI to update Production Order at Operation Level

    Hi Friends,
    Can any one help me in this issue.
    My rek is, needs to update Production Order Sequence Number(AFVC-CY_SEQNRV) at operation level.
    There are some Production Orders under one Project.User is updating theSequence Numberfor the first order in that group (TCode CO02),at the time of save remaining Orders in that group needs to be updated with the same Sequence Number.
    Please provide me with FM/BAPI(operation level not at header level)
    Points Rewarded,
    Thanks in advance,
    PRBode.

    Prathap,
    Have you tried using the Bapi :  BAPI_PP_TIMETICKET
    This would confirm at operation level..
    Hope it is useful.
    Regards
    Ram

  • BAPI/FM for Confirmation of Production order at operation level

    Hi ABAPers,
    I am using the 'BAPI_PRODORDCONF_CREATE_ACT'for Confirmation of Production order at operation level.
    I am able to pass the Production order number and Active Operation get the confirmation done.
    But the Confirmed Qty is not being updating in AFKO table.
    The 'BAPI_PRODORDCONF_CREATE_HDR' cannot be used for Confirmation of Production order at operation level as there is no Operation/Activity(Vornr) field in the input table. Hence using this bapi confirmation of Prod order can be only at Order level.
    Can someone know any FM/BAPI which can be used for the Confirmation of Production order at operation level(not order level).
    Thanks in Advance
    Ramesh Babu Cikka

    Hi Ramesh,
    Please use FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'.
    This will work as like as T/Code "CO11".
    I hope this will help you.
    Example :
      CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'
        EXPORTING
          POST_WRONG_ENTRIES = '0'
          TESTRUN            = ' '
        IMPORTING
          RETURN             = ZRETURN
        TABLES
          TIMETICKETS        = ZBAPI_PP_TIMETICKET
          DETAIL_RETURN      = ZBAPI_CORU_RETURN.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          WAIT = 'W'.
    Lanka

Maybe you are looking for

  • Several Problems since installing five updates

    I installed five updates on 15/09/2014. (Updates: KB2995004, KB2993100, KB2990532, KB2979582, KB2975719) When I tried to print a document today I noticed that my default printer was missing. It appeared in the list of installed Printers (Control Pane

  • Problem loading jar into Applet

    Good day folks. The scenario I try to implement is the following: I want to start an applet A (a small one) which then loads another jar B (a big one) and starts it. The code of applet A looks like this: File file = new File("C:\\B.jar"); JarFile jar

  • I had the photoshop trial...now paid 9.99

    I was on hold 23 minutes on the phone earlier. I need photoshop to work on my computer NOW! I have 2 hours to get this work done so my client can get her disc of images this evening...this should be simple! I paid $9.99, got confirmation email. Unins

  • Colour / lighting variation with Nick Software

    I had this issue with LR 3 and still with LR 4. Let me explain : When opening these Nick plugins from LR, the colour and the lighting are somewhat different (darker, more saturation). I checked and it is not a profile issue. I use RVB on my SLR and t

  • Using iWork 06

    I purchased iWork 06 which I love, But it's running very slow, I have a PowerMac G4 400MHz and it works great as all around use, I 'm interested in doing a little more graphics, not much just using Adboe Elements and the iWork 06 wich require 500MHz