FM or bapi for Regmnts assignment for operation in Service order

Hi all,
Can someone tell me if there is a Function module or Bape to get the Assigned requerments of a operation within a service order.
Kind Regards,
Richard

Hi Gautham,
I test the FM's but I do not get the Requirements in the operation details of the service order.
Kind regards,
Richard

Similar Messages

  • How to manage the operations on service order ?

    Hello,
    Do you know some bapi or MF to manage the operation on service order  (IW32).
    I have to create some operation, and in dialogue mode Iu2019m using 
    "Task list selection,  to reference object."
    But I need to do it by a bapi or MF.
    Tks a lot.
    R.

    Hi,
    Check with the following FM:
      MAINTENANCE_ITEM_POST
    Regards,
    Venkat.

  • User Exit or BADI for Tcode IW31 when saving the Service Order

    Dear ABAPers,
            I would like to add one more line in Service order item when saving the Service order in (IW31).Is there User Exit or BAdI.It is very Urgent Please help me.
    Thanks & Regards,
    Ashok.

    Dear ABAPers,
    These Exits does not meet my requirement.
    These Exits are not called at the time of saving Service Order.
    Thank you for your valuable reply.
    My Requirement is when saving the service Order  i want to add the Line itm at runtime.
    It is very urgent requirement.Please help me.
    Thanks & Regards,
    ashok.

  • Authorization for "Accept Quotation" Business Transaction in Service Order

    Hello All,
    I need of Authorization Control for doing "Accept Quotation" business transaction in Service Order.
    Process goes as follows.
    Service Order created with Planned cost components with DIP Profile
    Service Quotation got created through DP80
    Then, Accept Quotation will be done in Service Order
    Release of Service Order
    Execution, Billing, etc.,
    Here, I want to control of doing "Accept Quotation" by only authorized people.
    I couldn't find any suitable Authorization Object under I_VORG_ORD under field BETRVORG.
    We can control that business transaction through User status. Is there any other standard object available to achieve this??
    Hope I am clear in my query & looking forward your suggestions.
    Thanks in advance.

    Maheswaran KD
    Sorry, but I can't check at this client as we are not using CS processes.
    Try popping into debug mode using "/H" and put a break-point on "authority-check" before continuing.
    The program should now stop at all authorisation checks. See if any of these are suitable.
    If not, then you may need to use a user-exit or BADI.
    PeteA

  • Using Function modules in  BSP - Operations on Service Orders

    Hi,
    We are creating a custom BSP application for scheduling resources and updating appointments for resource personnel.
    The process is as follows:
    From the list of Service Orders with some product added as line item, with status OPEN, the user selects a SO and makes an online payment.
    Returning from the site, the Status of the Service order is changes to Released. Following this, the available resource is assigned to the Service order and the appointment details are populated in the Service Order. Subsequently, another line item of the Service order is set to Released.
    We are using the following function modules in the order as given below:
    To set status of a line item to Released
    1)     CRM_ORDER_INITIALIZE
    2)     CRM_STATUS_SET_INTERN_OW
    3)     CRM_STATUS_SAVE_OW
    4)     COMMIT WORK
    To assign a resource to the Service Order
    1)     WFD_RES_GET_AVAIL
    2)     CRM_ORDER_INITIALIZE
    3)     WFDS_GET_ASSIGNMENT_TO_SO_ITEM
    4)     CRM_ORDER_INITIALIZE
    5)     WFDS_CRM_SRV_ASSIGNMENT_MODIFY
    6)     WFDS_SAVE
    7)     WFD_TRANSACTION_COMMI
    To update the assignment dates in Service Order
    1)     CRM_ORDER_DEQUEUE
    2)     CRM_ORDER_INITIALIZE
    3)     CRM_ORDER_INIT_OW
    4)     CRM_ORDER_MAINTAIN
    5)     CRM_ORDER_SAVE
    6)     BAPI_TRANSACTION_COMMIT
    To set status of a second line item to Released
    1)     CRM_ORDER_INITIALIZE
    2)     CRM_STATUS_SET_INTERN_OW
    3)     CRM_STATUS_SAVE_OW
    4)     COMMIT WORK
    Using these FM’s in a report program or even in Debug mode works fine, except in the BSP’s where the behavior is random.
    The issue that we are facing:
    1)     Calling the Function modules sequentially, it takes time to update the order after execution of a BAPI/RFC and at times the order gets locked although we are using the Function Module CRM_ORDER_DEQUEUE after a logical block, and the Service Order is un-available for subsequent actions
    2)     At times, the Steps get executed correctly
    3)     At times the Steps get executed correctly after adding certain delay after each logical block of steps, but at times the time is not enough for the order to get updated.
    Can someone help us solve this un-predictable behavior?
    If someone has previously worked on such a requirement, please provide inputs on the scenario.
    Also, please let me know if there is a fail-proof procedure to ensure that the steps get executed completely and also if there is a need to use alternative BAPI’s in a specific order.
    Thanks,
    Regards,
    Siddhartha Jain

    I am afraid you would have :
    - to copy the standard FM 'MS_EXCEL_OLE_STANDARD_DATA' (it is wrapped up into EXCEL_OLE_STANDARD_DAT)
    - to comment this line in this newly created FM
      SET PROPERTY OF obj_ex_app 'Visible' = 1.
    - to call your own 'ZMS_EXCEL_OLE_STANDARD_DATA'
    That should do the trick.

  • Costs by operation in service order

    Hello All,
    Are there any report to show the costs of an order by operation, for instance, the total costs of an order is 200 EUR but for operation 0010 the cost is only 100 EUR. I want a report that show me only this cost.
    Regards,
    Rogério Reis

    There is no hijacking here whatsoever. The question I asked is the same as the original, I am only looking for a solution different than paying the SAP.
    edit ***
    Function module PM_ORDER_DATA_READ will retrieve RESBD data, which holds costs. Combine with AFVGD data to get operation details. (NOTE: If used within a loop, or serialized in other ways, need to use CALL FUNCTION 'CO_EXT_ORDER_RESET'  prior to execution of the FM)
    *If applicable: The function module IOPOL_OL_DATA_FOR_OPR_GET may come in handy, too.
    *If applicable: View VIQMEL has a lot of useful data.
    Gather the above data, make a few SELECTs from COBK and COEP.
    You can target COBK-REFBN, COEP-OBJNR, COEP-KSTAR, etc, to get values from COEP currency/quantity fields.
    Kind regards,
    SD
    Edited by: Srdjan Danicic on Jun 27.

  • Table for checking System Status in a Service Order

    Hi,
    In which table can I find System Status (like REL - Released) of a Service Order ?
    Thanks.
    Raj

    Linda,
    The system-statuses are stored in table JEST.
    An easier way to get this data is by using function module STATUS_TEXT_EDIT:
    CALL FUNCTION 'STATUS_TEXT_EDIT'
               EXPORTING
                    FLG_USER_STAT = ' '
                    OBJNR         = I_VIAUFKS-OBJNR
                    ONLY_ACTIVE   = 'X'
                    SPRAS         = SY-LANGU
               IMPORTING
                    LINE          = W_LINE.
    *           user_line     = w_user_line.

  • Process for adding no cost item to Service Order and show on invoice SM

    We want to put a non-cost item on a service order without having to put a $.01 value on them.  We might  purchase a box of bolts at a hardware store with a purchasing card and just expense items.  We add the bolt as a line item on our Service Order to charge customer some amount.  But we do not have a cost on the item.  To put a bogus $.01 cost  value on the item and have it show up in COPA and in the GL makes the data incorrect. It is our understanding that to pass an item on the service order through process related billing to the invoice it has to have a cost or it does not show up on invoice.   How do other folks deal with putting a no cost item on service order?

    Hi,
    I have tried everything, still its not working.
    First I tried creating a Service Ticket and adding the line item at one go.Then I was getting status error:
    System error: An attempt has been made to create a status object
    with the object number DE20131333937DF180C5001372F65D25.  However,
    a status object with this number exists already.
    Code sample given below:
      CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
        TABLES
          header          = itab_header
          item            = itab_item
          partner         = itab_partner
          status          = itab_status
          text            = itab_text
          return          = itab_return
          service_os      = itab_service
          input_fields    = itab_input_fields
          created_process = itab_created_process.
    Then I tried creating a service ticket first and adding item later.Then there was no dump, but item details are not getting saved. Code sample given below:
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
        EXPORTING
          it_product_i      = lt_product_i
        CHANGING
          ct_orderadm_i     = lt_orderadm_i
          ct_input_fields   = lt_input_fields
        EXCEPTIONS
          error_occurred    = 1
          document_locked   = 2
          no_change_allowed = 3
          no_authority      = 4
          OTHERS            = 5.
    Can anybody please help me out on this? What is the correct approach?
    Thanks and Regards,
    Rohit

  • How to assign employee responsible of service order to customer follow up?

    Hi everyone,
         when i create a customer follow up for a service contract, my partner number is assigned to employee responsible by default. However i want the employee responsible for the service contact to be copied to the follow up.I checked the partner determination procedure, which is properly configured.
         And i also want to know, why my partner number is getting assigned to the employee responsible.
         I checked the corresponding node getter method, where the collection wrapper contains my partner number for the partner function employee responsible.
         Please suggest some solutions.

    I'm saying that you didn't search SCN because your first post shows this. You didn't give any details neither how your PDP is "properly configured". If it'd have been configured properly you would not get the issue, right?
    Another thing is if you searched SCN on partner determination you would find FM  CRM_PARTNER_DETERMINATION_OW. This the API which is triggered from BOL layer. And the result is transferred to BOL layer and available in "collection_wrapper".
    Now you gave some more tips. For example, that the same PDP is used for other transaction types. That's better.
    First of all, as Nagaraj Sarangamath said. Check if your employee responsible partner function in the PDP has an access sequence which takes the employee responsible from preceding document prior to the access which takes the current user. Which access sequence is maintained in your PDP for employee responsible? What steps does it have?
    Another thing which is  Sigrid Wieshofer mentioned is how is your assignment of partner functions to business transactions in IC set? What is in the mentioned IMG setting?
    One more tip is if the copy control is activated for activities in your system and has been set up for other transaction types except your Custom follow up. In the copy control you can actually handle partner determination as well.

  • Getting list of operations for a service Order

    I have to List the operation activities which are Planned and Confirmed in a service order.
    I'm unable to link the operation in service order for some ZREPORTING purpose as it links through structures only.
    Kindly suggest how we can obtain operation details while reporting a service order.
    Also let me know if there is any FUNCTION MODULE for the same.
    Reply Eagerly Awaited.
    Thanks in Advance.
    Deepak

    hi deepak KM
    order operations are stored in VIAUF_AFVC table .... and have a look at iw49 for getting list of operations and can use status inclusive and status exclusive for selection based on statuses.. of operations ...
    regards
    pushpa

  • Bapis and IDOC for Service order... etc.

    Hi  Experts,
    Can any body please tell me what are the bapis for creating
    following things.
    Create Service Order or Sales Order
    Update Service Order
    Goods Issue & Goods Receipt
    Inventory Balanceses
    Purchase Requisition Information
    Purchase Order Information
    For this above are there any standard inbound and outbound
    idoc for data transfer.
    Thanks  & Regards,
    Chetan

    Hi,
    Thank you very much For the Information.
    I had asked one more question below that.
    "For this above are there any standard inbound and outbound
    idoc for data transfer".
    Thanks & Regards,
    Chetan

  • RE: Bapi for locking service order.

    Hi Experts,
    Suggest me the bapi or function module to lock a service order.
    I tried the  function module VPKPMSM_LOCK_SERVICE_ORDER .
    I have passed the service order number .
    Please check the below code.
    CALL FUNCTION 'VPKPMSM_LOCK_SERVICE_ORDER'
      EXPORTING
        i_aufnr                         = '000004000286'
    EXCEPTIONS
       INPUT_ERROR             = 1
       LOCKING_FAILED        = 2
       OTHERS                      = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    Else.
    commit work.
    if sy-subrc eq 0.
    write: 'locked'.
    endif.
    endif.

    Hi,
    The function module 'VPKPMSM_LOCK_SERVICE_ORDER' locks the service order only while the run time. I need the function module which locks the service order permanantly.
    Regards,
    Sai.

  • Restriction of user status in service order for billing due list

    Dear CRM Experts,
    I have configured status profile for service order as OPEN,INPROCESS and Completed and have assigned this to the service order transaction type.
    Now once i save a service order without errors ,the system is automatically generating abilling document in  billing due list TX:BEA_DL_01 even though the user status assigned to it is OPEN ,INPROCESS AND COMPLETED.
    According to our client requirement ,a billing document has to be created in Billing due list if the User status assigned to it is COMPLETED only.
    Please suggest the solution.
    Bye,
    Madhav

    Hi Nanda,
    As per your last reply, for some Service Orders you are unable to change the Status. Can you have check whether those service Orders are error free?
    Sometimes, when there are errors in service orders or in 1Orders you cannot change the status from In Process or Open even when you have released certain Items.
    Hope this helps.
    Thanks,
    Samantak.

  • LSMW method for transaction IW31 (Service Order)

    Hi all,
    I am looking for a way to create multiple Service Orders using LSMW, but no Recording.
    Transaction would be IW31.
    Can you give some tips please?
    Thank you! Walter.

    Hi Brenda, thanks for the confirmation you found in the notes!
    Can you tell me how to use the BAPI for mass-upload / migration? I haven't done that before, but it looks to me that we won't use LMSW for that, but tr.code SE37, right?
    I found out that the BAPI you mention belongs to Business Object BUS2088A, wich cannot be selected in the first LSMW-step.
    So the idea is then to write an Abap-program which reads my input-file (which contains all the data to create the service-orders) and then call the BAPI several times to create the Service-Orders one by one. Am I right, or is there a standard way to use this BAPI for mass-upload?
    Thanx again, Walter.

  • WM Staging Raw Materials for CS Service Order

    Dear WM Experts,
    I seek your help in solution for a particular scenario.
    My client accepts the customer-returns of faulty devices, repairs them and delivers back functioning device to customer. Faulty devices are received through a special returns sales order type (that is integrated with Customer Service module) and the repairs work is done via CS service order (IW32) which gets created directly from sales order. During repair, faulty components are replaced in the device and consumption of components is posted from service order using 261 movement. 261 movement reduces the stock in 914 interim storage (GI Area Production) and I'm trying to get the stock reduced from the actual production staging bin. I created a supply area, assigned it to the service order's work center and also created control cycle with the actual st.type and bin. But, service order is not recognizing the control cycle. In fact, I could not find the supply area value anywhere in service order. Do you know whether there is integration between CS and WM module similar to WM production staging for production orders ?
    Best Regards,
    Ashok

    Hi Ramesh,
    For testing the CS-WM integration, I created a work center with usage 009 (All task list types) so that I can use it in both Production Order and Service Order.
    Production Order did consider the Supply Area in this work center and its Control Cycle. ie. in reservation table RESB, supply area, destination storage type and bin were present. However, Service Order didn't consider the Control Cycle data. In RESB, supply area is populated but destination type and bin are not there.
    So, I conclude CS and WM are not integrated like PP-WM integration.
    As a solution, We got a new IM movement type created for consumption posting in MM and linked that to new WM movement type with automatic TO creation.
    Br,
    Ashok

Maybe you are looking for

  • Can I order a recovery disc for my HPG72 259WM

    i cant create a recovery disc on my computer. the manager recovery said "the partition can be found" so i would like to know if can i order a recovery disc

  • Can anyone help with downloading reinstall of PSE10?

    I have tried downloading File 1 (1.5GB) of Photoshop Elements 10, 3 times and each time only receive a partial file.7z (PhotoshopElements_10_LS15.7z.jjrm7iqv1), which does not contain the .exe file and get an error message when trying to run the appl

  • How to upgrade PowerBook G4 1.67Ghz to 10.5.8?

    So I just bought the last PowerBook model made, the awesome 1.67Ghz with 128mb vram, bluetooth, airport extreme, ect. I bought it for $75 and when I got it OS 10.5.1 was installed. I decided to update it to the latest version of leopard. When I try i

  • Had to upload iTunes library fr backup, how do I upload iTouch playlist w/o

    My iTunes library got corrupted and I had to restore it. Now I no longer have my playlists, etc. My question is how do I upload my playlists and other songs from my iTouch and iPod? When I connect them, iTunes tells me these devices can only connect

  • Desperately needed

    I am desperately needing to buy a basic cell phone with no camera and no internet capabilities. . Through my current carrier of att.. can do a 2 year contract if required.. any suggestions for that type of phone??