Creation of Refurbishment order

Hi,
I am creating refurbishment order for a material P31010105  corresponding to a plant EPI and Storage location A1 and Valuation types P3 & P2.
The following error is displaying
*BATCH P31010105 EPI A1 P3 not found (Check Entry) *
Please give the solution
Regards,
M.Alagesan

Thanks John cox
It is solved,
The problem is i didnt create material for valuation types P1 P2 P3. I just created material master for valuation category P. Thats why the error appeared
Alagesan

Similar Messages

  • Material Posting for Refurbishment order

    Hii MM Gurus,
    I am going to take external service for making repair of the pump. For repair i am going to send pump & some bearing out for repair of the pump. I am following the process as follows which is out of SAP (Not yet configured). The process is as
    1. I make refurbishment order for pump & also assign other material.
    2. I make goods issue from store  on order & then sends goods to supplier.
    3. I am making issue to order but the next operation that is sending material to vendor after goods issue is out of sytsem as for doing 541 material should be in stock & i have already posted it on order.
    So what should i follows or how i should post the material sothat it will get issue to order & also post the movements sothat it will allow me to send it out to vendor?
    What process i should follow sothat i can show the material is received from vendor & then Repaired pump is available in store for use?
    Regards
    Makarand

    I am using IW81 for creation of refurbishment order.
    IW32 to change order for updating other material & external service so that PR should get generated.
    Then I am using MIGO for issue of goods to order sothat i can show consumption of material for the order.
    We are making PO from PR generated.
    Then i am sending material out for repair to supplier on some mannual challan no SAP movement is posted after above MIGO.
    Then we receive the material from supplier this is also manual process.
    then we do IW8W to return the Pump to store with some other Valuation type say C2.
    But when we are sending material out to supplier for repair we cannot having accountability of material through SAP as it is not having any posting through SAP.
    Pl guide I want to show that the material is first issued to order then it sent out against the PM order out to vendor for repair.
    By PM module it is possible with User status to show the equipment or serial number is at vendor but how to show it through MM.
    Regards

  • Service Notification + Refurbishment Order

    From a Maintenance Notification/Service Notification, is it possible to create Refurbishment Orders from it.
    Please suggest,
    Raja

    Hi,
        Please check OSS Notes 457067 in link https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0000457067&nlang=E
    The note allows creation of refurbishment order from Notification .. they r many other notes in OSS support check ther
    You should have a Valid Login for OSS Support .. check with ur project for login details
    regards
    pushpa

  • Confirmation for Refurbishment Order

    Dear Experts,
    For refurbishment order after the service entry sheet is confirmation of activities required ? If required it should be carried out before service entry sheet or after that ? Please advice.
    Regards,
    Vivid

    Dear Thiagarajan,
    Thanks for the reply. I have done GR using MB31 as the system not allowing me to do GR through IW8W .
    Now the cost of the material got updated. Kindly tell whether I am proceeding in the right direction as per  the below sequence.
    Creation of Split valuation Material
    Creation of service entry sheet
    Creation of Refurbishment order with control key PM03
    Release of the order
    Goods issue for the order
    Creation of PO with the PR generated
    Release of the PO
    Entry and release of service entry sheet ( will the cost for service only get updated? Not possible to post the material also to the refurbishment order?)
    Good receipt for the order
    Technical completion of the order
    Settlement of the order
    Closing the order
    Thanks and Regards,
    Vivid

  • Creation of a refurbishment order from the notification is not supported

    Hello All,
    I would like to know whether we can create Refurbishment Order directly from Refurbish. Request Notification.
    Currently when trying to do that I'm getting error message saying that 'Creation of a refurbishment order from the notification is not supported'.
    SAP doesn't support that kind of scenario or I'm missing some configuration?
    Thanks in advance
    G.

    Hello again,
    Thanks for your answer but I would like to get some more clarification.
    What I would like to do is create Refurbishment Order from the notification directly by clicking create button which seats just next to order field or from the menu Notification -> Create -> Direct.
    I'm getting pop up window where Order Type is filled in automatically because of the config I made. Then I just fill in Main Work Center field and hit continue. Afterwards message 'Creation of a refurbishment order from the notification is not supported' appears.
    Can you confirm that above described scenario is not supported by SAP.
    Thanks in advance.
    G.

  • Cost of sales not getting generated during final settlement of refurbishment order

    Hi
    We use refurbishment Order and we have settlement receiver as PSG. We use RA Key. We use raw material components CE 1, , We confirm debit labor,
    we also receive Revenue cost element category 11 .
    We have RA key assigned in the Order.
    Now We ran and save values of RA and run KO88 and Dr. WIP Cr. Cons offset is credited. this is when the status is REL and when the status is TECO, then we calculate RA and run KO88 RA is reversed.  Now COGS is not getting populated at all and there is no CO PA document also. Kindly let me know the configuration needed for this purpose. I need this very urgently.
    This is a simple scenario and this no connection with SD as of now.
    Aparaajith

    Hi Szymon
    We have 3 types of refurbishment order type
    1. External Consulting services
    Here the cost of labor, consulting charges are booked against this service order
    Since the job is done more than 2 months then at the end of 1st month WIP is calculated
    2nd month job is done -TECO, so the reverse WIP and cost of Sales comes into play.
    Here they book revenue against the service order. Since MTO is not used here, based on status of the order TECO, they create billing request and billing where service order is the cost object
    So Service Orders hold costs 2nd month end rev and cost.
    My problem is the RA what I use does not create Cost of Sales automatically I know there is some configuration is wrong.
    2nd issue: CO PA does not get created when I do TECO and consequently I am unable to move sales and cost of sales to copa.
    2. third party repair
    Here there is no link between sales order and refurbishment order.
    So no revenue is booked for this refurbishment order
    Next they issue material and move to WIP and 2nd month they move the cost to COS ,reverse WIP>
    I use a RA key which does move COS creation of entry.
    This is my problem
    How to move to COS without revenue and I will create manually 2nd month by using a report to take TECO status and then create revenue entries through SD.
    I need response very soon, if you can give me.
    Aparaajith

  • Service order creation from sale order

    Hi Friends,
       Could you please tell me where is the setting for the automatic creation of service order from sale order.
        Iam using LEIS , TAD and CD as the sales documents and SM01 as service order document.
        Am I missing something?
        Please let me know.
        Regards,
        satish

    Hi Satish,
    The setting for creation of a service order from sales order can be found in the Requirement class configuration.
    To know how to link, check the procurement tab in the sales order, note down the requirement type associated to the line item. Requirement type is linked to requirement class. In requirement class you find the configuration.
    Standard SAP creates SM03 (refurbishment) type of service order from sales order.
    Reward points if useful.
    Regards
    Ananth

  • How to  create refurbishment order with notification

    Dears
    It is sap std practices that we are not creating notofication for refurbishment order
    But we are tracing the driver for the process
    the end user will create notifaction for planner for creating refurbishment order
    But from notification we cannnotcreate Refurbishment order
    Then how catch the driver so that false order should be crated
    Or we can maintain some field mandatory so  that creation of refurbishment process has some base
    Regards
    chandnrashekhar Ingole

    Hi Chandrashekhar,
    If you want to create Refurbuishment order after getting  notification created by the user & also want to use work flow functionlity then also in ECC6.0 it is possible I have checked it User needs to create a notification on 
    O170     Equipment + Serial No. + Material No
    This tab is avaliable Extras-->settings--> Reference Object view . Please note that the Material number,serial number combination gives equipment number & equipment number will have partner determination procedure & work flow functionlity.
    With this triggerd notification you can create refurbuishment order where yo will get material number,serial number & equipment number with std link
    This scenirion is working in all combination in ECC6.0  system. Please check & if any thing needed let us know.
    Ramesh

  • Serial Number in subcontract or refurbishment order

    I am trying to get more information on using the same serial number in a subcontract or refurbishment order using split valuation. We  have a component we want to send out for refurbishment  and it is split valued CORE and REPAIRED. We send the Vendor the component with a valuation type CORE and the s/n X. The vendor does his thing and returns it as REPAIRED with same s/n X Since it is in reality the same part. Currently SAP will NOT let you receive the part back in with a different valuation type, but same s/n. If Iu2019m remembering correctly this was supposed to be addressed in ECC 6.0 enhancement pack 4, but the documentation Iu2019m finding doesnu2019t address this at all. Iu2019ve also been looking on line, OSS notes etc. to no avail.
    Any advice?

    Hi ,
    Yes you can do it is possible during purchase order creation for the components level serial number
    gets generated .
    If you have Product group and for members you can have serial number
    create number range in serail number object ( eacc/seri ) and assign in the Table of serail number you are
    linking  so whenever PO is generated for the components serail number is generated
    balaji
    Edited by: balaji on Sep 26, 2008 2:56 PM

  • HOW TO CONTROL ON CREATION OF SALES ORDER WITH REFERENCE TO EARLIER SO?

    Dear All,
    I want to contol on creation of Sales order with reference to earlier SO?  While creation of sales order our enduser are creating sales order with reference to earlier month SO which I want to restrict. Recently I made changes in sales order like payment terms is grayed, system will atomatically pick pay terms from customer master.Now I am getting correct data also but enduser is using old SO no while creating new SO and old payment data is reflecting in fbl5n.
    I want to restrict enduser while creating new SO with ref. to old SO. Only for returns they should be able to use Billing refrence. Pl. suggest how to control the with reference to ealier SO.
    Nikhil

    Nikhil Deshpande,
          If you dont want allow create a sales order in referent to other one, just delete the copy control between these sales order type, so when the user tries to create a SO in reference to other one a message is displayed that is not possible.
    Thanks,
    Mariano.

  • Automaticf creation of purchase order through pr

    Dear Consultants,
    system is not creating automatic  purchase order. in me59n i am getting the following error
    Requisition could not be converted
    i have done the following setting for automatic creation of purchase order
    1. in materil master record i have checked auto po.
    2. in vendor master record i have checked automatic purchase order
    3. i have created purchase info record with the combination of material vendor purchase organization.
    4. in source list i have fixed the vendor in me01
    5. in source determination under define regular vendor i have checked the box against the required plant.
    kindly let me know what all other configurations are required for creating automatic purchase order through purchase requisition
    Regards/ Siri

    Hi
    Is this purchase requisition created during MRP run??
    If yes then have you marked the sourcelist record for this vendor as MRP relevant??
    If the purchase requisition is generated manually then whether the source of supply was assigned in the PR??
    In ME59N, the PR would be converted to PO if the PR has the assigned source of supply.
    Regards
    Prasad

  • Issue with creation of sales order in CRM system

    Hi Experts,
    Here are the details of the process we followed
    1.     We found a Function Module u201CBAPI_BUSPROCESSND_CREATEMULTIu201D which is used to create a sales order in CRM.
    2.     We have set a Break point in the FM u201CCRM_ORDER_MAINTAINu201D and tried to create a sales order using the transaction u201CCRMD_ORDERu201D. For this the parameters we have given are
    a.     sold-to-party
    b.     ship-to-party
    c.     quantity
    d.     product
    And after this we have saved the order and the order is saved and in the debug mode we have the parameters in u201CCRM_ORDER_MAINTAINu201D and we found all these     parameters in the FM.
    3.     After this we have given all the parameters mentioned above in the FM u201CBAPI_BUSPROCESSND_CREATEMULTIu201D and still the order is not created, gave an error message saying that CRM_ORDER: Incorrect values in the interface object.
    4.     We checked the CRM_ORDER badiu2019s interface and it is having only header guid to be given. We gave this header guid also in the FM u201CBAPI_BUSPROCESSND_CREATEMULTIu201D and then it gave a different error saying that : Document cannot be saved.
    5.     Finally we are not able to know the parameters to be passed to the FM to create an order.
    Any inputs will be highly appreciated.
    Thanks a lot in advance.
    Lakshman.

    Hi Easwar,
    Now i am able to create a sales order by passing the parameters to "BAPI_BUSPROCESSND_CREATEMULTI" and the parameters i am passing are Process_type in the ORDERADM_H, parner_fct (partner function), partner_no , Quantity and prod_ordered (product name) but after creation of sales order using my report program and if i see the sales order uisng transaction crmd_order (using transaction ID) or crmd_orderadm_h(using headerguid) or crm_order_index, only the PROCESS_TYPE is updated but the remaining parameters which i passed like QUANTITY,PRODUCT NAME,PARTNER NUMBER are not present in the sales order. I am providing the code which i have written for creation of the sales order. Can you please look into it and tell me where i might have went wrong??
    *& Report  ZCREATEORDER_TEST
    REPORT  ZCREATEORDER_TEST.
    DATA : LV_HEADER_GUID  TYPE  GUID_32,
    WA_HEADER            TYPE         BAPIBUS20001_HEADER_INS,
    ITAB_HEADER          TYPE STANDARD TABLE OF BAPIBUS20001_HEADER_INS,
    ITAB_CREATED_PROCESS TYPE STANDARD TABLE OF BAPIBUS20001_HEADER_INS,
    ITAB_OBJECTS_TO_SAVE TYPE STANDARD TABLE OF BAPIBUS20001_GUID_DIS,
    ITAB_PARTNER        TYPE STANDARD TABLE OF BAPIBUS20001_PARTNER_INS,
    lt_product_i TYPE STANDARD TABLE OF BAPIBUS20001_ITEM,
    wa_product_i  type BAPIBUS20001_ITEM,
    lt_schedlin_i type standard table of BAPIBUS20001_SCHEDLIN,
    wa_schedlin_i type BAPIBUS20001_SCHEDLIN,
    ITAB_INPUT_FIELDS TYPE TABLE OF bapibus20001_input_fields,
    ls_inputfields TYPE bapibus20001_input_fields,
    WA_PARTNER          TYPE BAPIBUS20001_PARTNER_INS,
    ITAB_RETURN          TYPE STANDARD TABLE OF BAPIRET2,
    WA_OBJECTS_TO_SAVE  LIKE LINE OF ITAB_OBJECTS_TO_SAVE,
               "To store the Objects to be saved.
    WA_CREATED_PROCESS  LIKE LINE OF ITAB_CREATED_PROCESS,
    ITAB_SAVED_OBJECTS   TYPE STANDARD TABLE OF BAPIBUS20001_OBJECT_ID,
    WA_SAVED_OBJECTS    LIKE LINE OF ITAB_SAVED_OBJECTS,
    GC_X type c.
    gc_x = 'x'.
    CALL FUNCTION 'GUID_CREATE'
      IMPORTING
        ev_guid_32 = lv_header_guid.
    CLEAR : WA_HEADER.
    Passing the respective values from the Header table to internal table.
    WA_HEADER-GUID          =  LV_HEADER_GUID.
    WA_HEADER-PROCESS_TYPE  =  'ZTA'.
    APPEND WA_HEADER TO ITAB_HEADER.
    *Appending the values to the ITAB_HEADER.
    ls_inputfields-ref_guid =  LV_HEADER_GUID.
    ls_inputfields-REF_KIND = 'A'.
    ls_inputfields-objectname = 'ORDERADM_H'.
    ls_inputfields-logical_key = ' '.
    ls_inputfields-fieldname = 'PROCESS_TYPE'.
    APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
    *ls_inputfields-ref_handle = '0000000000'.
    ls_inputfields-ref_guid =  LV_HEADER_GUID.
    ls_inputfields-objectname = 'ORDERADM_H'.
      ls_inputfields-fieldname = 'MODE'.
    APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
    ls_inputfields-ref_guid =  LV_HEADER_GUID.
    ls_inputfields-REF_KIND = 'A'.
    ls_inputfields-objectname = 'ORDERADM_H'.
    ls_inputfields-logical_key = ' '.
    ls_inputfields-fieldname = 'GUID'.
    APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
    CHANGES MADE
    ls_inputfields-ref_guid =  LV_HEADER_GUID.
    ls_inputfields-REF_KIND = 'A'.
    ls_inputfields-objectname = 'SCHEDLIN'.
    ls_inputfields-logical_key = ' '.
    ls_inputfields-fieldname = 'LOGICAL_KEY'.
    APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
      ls_inputfields-ref_guid =  LV_HEADER_GUID.
    ls_inputfields-REF_KIND = 'A'.
    ls_inputfields-objectname = 'SCHEDLIN'.
    ls_inputfields-logical_key = ' '.
    ls_inputfields-fieldname = 'MODE'.
    APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
      ls_inputfields-ref_guid =  LV_HEADER_GUID.
    ls_inputfields-REF_KIND = 'A'.
    ls_inputfields-objectname = 'SCHEDLIN_I'.
    ls_inputfields-logical_key = ' '.
    ls_inputfields-fieldname = 'GUID'.
    APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
       ls_inputfields-ref_guid =  LV_HEADER_GUID.
    ls_inputfields-REF_KIND = 'A'.
    ls_inputfields-objectname = 'SCHEDLIN_I'.
    ls_inputfields-logical_key = ' '.
    ls_inputfields-fieldname = 'QUANTITY'.
    APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
       ls_inputfields-ref_guid =  LV_HEADER_GUID.
    ls_inputfields-REF_KIND = 'A'.
    ls_inputfields-objectname = 'SCHEDLIN_I'.
    ls_inputfields-logical_key = ' '.
    ls_inputfields-fieldname = 'MODE'.
    APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
    CHANGES MADE
    WA_PARTNER-REF_GUID = LV_HEADER_GUID.
    WA_PARTNER-REF_KIND = 'A'.
    giving the partner function and partner no 000000038 for slod to party
    WA_PARTNER-PARTNER_FCT = '00000038'.
    WA_PARTNER-PARTNER_NO = '10017'.
    APPEND WA_PARTNER TO ITAB_PARTNER.
    *"ADDING VALUES for the product
      wa_product_i-header        = lv_header_guid.
      wa_product_i-handle        = '0000000001'.
      wa_product_i-ordered_prod  = '12000014'.
      wa_product_i-mode          = 'A'.
      APPEND wa_product_i TO lt_product_i.
    *"ADDING VALUES for quantity
      wa_schedlin_i-quantity   = 30.
      wa_schedlin_i-handle = 1.
      APPEND wa_schedlin_i TO lt_schedlin_i.
    ls_inputfields-ref_guid =  LV_HEADER_GUID.
    ls_inputfields-REF_KIND = 'A'.
    ls_inputfields-objectname = 'PARTNER'.
    *ls_inputfields-logical_key = ' '.
    ls_inputfields-fieldname = 'REF_GUID'.
    APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
    ls_inputfields-ref_guid =  LV_HEADER_GUID.
    ls_inputfields-REF_KIND = 'A'.
    ls_inputfields-objectname = 'PARTNER'.
    ls_inputfields-logical_key = ' '.
    ls_inputfields-fieldname = 'PARTNER_FCT'.
    APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
    ls_inputfields-ref_guid =  LV_HEADER_GUID.
    ls_inputfields-REF_KIND = 'A'.
    ls_inputfields-objectname = 'PARTNER'.
    ls_inputfields-logical_key = ' '.
    ls_inputfields-fieldname = 'PARTNER_NO'.
    APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
    CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
      TABLES
        HEADER          = ITAB_HEADER
        ITEM            = lt_product_i
        RETURN          = ITAB_RETURN
        PARTNER         = ITAB_PARTNER
        INPUT_FIELDS    = ITAB_INPUT_FIELDS
        CREATED_PROCESS = itab_created_process
        SCHEDULELINE    = lt_schedlin_i.
    READ TABLE ITAB_CREATED_PROCESS INTO WA_CREATED_PROCESS WITH KEY GUID = LV_HEADER_GUID BINARY SEARCH.
    WA_OBJECTS_TO_SAVE-GUID = WA_CREATED_PROCESS-GUID.
    Appending the Guid of the contract to be saved to the internal table
    APPEND WA_OBJECTS_TO_SAVE TO ITAB_OBJECTS_TO_SAVE.
    CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
      EXPORTING
        update_task_local = space
        save_frame_log    = GC_X
      TABLES
        objects_to_save   = itab_objects_to_save
        saved_objects     = itab_saved_objects
        return            = itab_return.
    Calling the Standard BAPI to Commit the transcation.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    I have debugged the above code, all the values are passing are passing to the FM "'BAPI_BUSPROCESSND_CREATEMULTI'" and these passed to the CRM_ORDER_MAINTAIN and then to CRM_ORDER_READ which are called inside the "'BAPI_BUSPROCESSND_CREATEMULTI'". Finally the sales order is created but not able to see all the values that i am passing except PROCESS_TYPE.
    Thanks a lot in Advance,
    Lakshman.

  • Creation of Sales Order and Service Contract from Inbound IDOC

    Hi Experts,
    My requirement is to create a Sales Order as well as a Service Contract from one Inbound IDOC. I am getting the Inbound IDOC from a third Party. The message type is ORDERS and Basic Type is ORDERS02. How ever i am using an extension type IDOC which carries all the required data for Sales Order and Service Contract. My requirement is like, to create a Sales Order first.
    I have created a Z FM which is attached to the Process Code and subsequently to the message type. Inside the FM i an calling FM 'IDOC_INPUT_ORDERS' for creation of Sales Order. After that i am changing the IDOC data for the Document Type. I am changing the document type which is responsible for Contract Creation.
    Then I am again calling the FM 'IDOC_INPUT_ORDERS' for creation of Contract with the help of IDOC data. But here the Contract is not getting created. It's getting failed during the Batch input session.
    I need to solve this problem as soon as possible. Please help me. If there are any other options also please share.
    Thanks in Advance.
    Regards,
    Priyabrata

    Actually there is problem with BDCDATA. Inside the FM it's calling transaction with help of BDCDATA. If i am creating a Sales order or contract alone its creating successfully. But when i am trying to create both, it's retuning sy-subrc '1001' after calling the transaction on the second attempt. Is there any problem with BDCDATA like we can't handle with less time gap? Please help and give your inputs.
    Regards,
    Priyabrata

  • Creation of service order with address data.

    Hello community,
    I have the following requirement: create maintenance orders with order address data, the creation of these orders will be triggered by an interface with a legacy system.
    For order creation I intend to use BAPI_ALM_ORDER_MAINTAIN but this function does not provide the possibility to enter address information.
    I would not like to have to create a partner and assign it to the order as this address will be used only once.
    Does anyone have suggestions how to do it ?.
    Thanks.
    Roberto.

    Roberto,
    Try this:
    *& Report  ZPJA_ADDR_TX
    report  zpja_addr_tx.
    data: lt_adrc  type  standard table of adrc with header line.
    data: lt_adrc1 type  standard table of addr1_data with header line.
    * get address from first object
    call function 'ADDR_SELECT_ADRC_SINGLE'
      exporting
        addrnumber        = '0000033071'
      tables
        et_adrc           = lt_adrc
      exceptions
        address_not_exist = 1
        parameter_error   = 2
        internal_error    = 3
        others            = 4.
    loop at lt_adrc.
      move-corresponding lt_adrc to lt_adrc1.
      lt_adrc1-name1 = sy-timlo.   " write current time for testing
      append lt_adrc1.
    endloop.
    * update second address
    call function 'ADDR_UPDATE'
      exporting
        address_data        = lt_adrc1
        address_number      = '0000033205'
        date_from           = '00010101'
        language            = sy-langu
        check_empty_address = ' '
        check_address       = ' '
      exceptions
        address_not_exist   = 1
        parameter_error     = 2
        version_not_exist   = 3
        internal_error      = 4
        others              = 5.
    call function 'ADDR_MEMORY_SAVE'.

  • !How to find out follow up activities created during creation of an Order??

    Hi Gurus,
    I want to find out the number of follow up activities created during creation of an Order??
    Is there any BAPI or Function Module which can detrmine the number of follow up activities after creation / saving an Order..
    Please Reply fast.
    Thanks
    Pranay

    Hi Pranav,
    I am confident this will solve your problem:
    <b>Step 1.</b>
    Enter the guid of the current order into function module
    CRM_DOC_FLOW_READ_DB.
    Code:
    DATA : t_doc_links TYPE crmt_doc_flow_db_wrkt,
               v_guid TYPE crmt_object_guid.
    v_guid = <guid of the order from table crmd_orderadm_h>
    CALL FUNCTION 'CRM_DOC_FLOW_READ_DB'
                  EXPORTING
                    iv_header_guid = v_guid
                  IMPORTING
                    et_doc_links   = t_doc_links
                  EXCEPTIONS
                    error_occurred = 1
                    OTHERS         = 2.
    <b>Step2.</b>
    Now loop through the returned table ie t_doc_links.
    Records which fulfill the following criteria are
    the follow up records.
      reltype    = 'VONA'
      objtype_b  = 'BUS2000126'
      objkey_b   =  v_temp
      roletype_b = 'NACHFOLGER'
      roletype_a = 'VORGAENGER'.
    <b>Step:3</b>
    Now Count the records which fulfill the above creteria.
    This count represent the number of followups created.
    <b>REWARD THE ANSWER WITH FULL 10 POINTS IF UR PROBLEM IS SOLVED.</b>
    thanks,
    ashish.

Maybe you are looking for