Measuring point-service order

Hi,
I am using measuring point for air compressor for filter replacement after 500 hrs.
I want system to create service order automatically, once measuring point reaches 500 hrs.
Can you please suggest how to proceed.
Thanks and regards
Karthik

i am closing the thread

Similar Messages

  • User exit Or Badi for  creating Service order while modifying sales order.

    Hi Experts,
    I am creating Notification using transaction IW51.
    In IW51 there is a button to create a sales order.
    I click on sales order button and create a sales order.
    Now notification and sales order are created.
    Now i go in transaction VA02 and click on avalibility check push button .It gives me some popups in which i select copy all options.Then  i click on save button
    .At this point service order gets created.
    My requirement :
    Before the service order gets created i want to pass the notification data ; for ex- Equnr(Equipment number) to service order.
    Thanks & Regards,
    Chetan

    Hi,
    Are you saying first create notification,then service order
    and then Sales order.
    But the requirement is create notification then sales order and when you go in va02 and while modifying the sales order and create service order.
    Thanks & regards,
    chetan.

  • Maintenance Order through Measuring Point

    Dear all,
    I want to know whether it is possible to create the maintenance order on the basis measuring point .
    I know how to create the order on the basis of measuring counter.
    Is there any procedure to create the maintenance Order through measuring point as done in case of counter?
    kindly provide the solution for Creation of Maintenance Order using Measuring Point..

    Really very thanks for the solution.
    I have one more query, we can create the measuring point using the t.code IK01.As you told we have to create the measuring point with upper and lower range.
    Is that we have to create 2 measuring point for upper as well as lower range or in one measuring point it is possible to accumulate both the upper and lower range.
    If it is possible to accumulate both the upper and lower range in one measuring point then kindly provide the procedure.
    Thanks in advance.

  • Measuring point update by production order confirmation

    Hi friends,
    I created a prt as equipment and assigned it to the routing. I created a production order and when i confirm the same i am getting following error as:
    Document MeasUnit has a different dimension to the characteristic unit
    Message no. IR071
    Diagnosis
    The measurement unit on creation of the measurement document must have the same dimension as the measurement unit of the characteristic of the measuring point.
    In this case, the measurement unit % does not suit the character unit EA of the measuring point 103.
    System Response
    Processing will not be continued.
    Procedure
    Use the possible entries help.
    Please suggest the solution.

    Hello Sir(s)
    i have gone through entire post for the subject related to measuring point auto update from production order confirmation.  I have tried the same but i dont know what i am missing.
    if i put some value like 1 or 2 and appropriate UOM then only my measuring document is being updated with the same value not with the actual confirmed quantity..  i have already maintained standard formulla in prt view.
    my basic requirement is to get actual value of produced quanity as counter update. means if 20 pieces have been produced and confirmed in co11n, then counter must bhe updated with the value of confirmed quantity.
    please advice what value should i put as usage in routing master to get actuall counter update.
    Will Highly appreciate your quick reply.
    Snapshots
    Regards.
    Mohammad.

  • Order's measurement points

    Hi Experts,
    I need to read measurement points asssigned to an order( it's functional location).
    We tried RFC MEASUREM_DOCUM_READ_TO_ORDER but it returns measurement documents
    (readings).
    In Our requirenment, the order is newly created and no measurement documents exists.
    we need to give all the measurement points (only) that exists against the order( it's functional location)..
    Could you please help in this.
    Please suggest any table/RFC.
    Rohit

    Hi Rohit,
    The relevant table are:
    IMPTT - for mesuring points
    EQUI - for equipments
    IFLO - for functional location
    Using the Object Number for the Measuring Point Object in table IMPTT, you can link the object to technical objects (object no. from respective tables - EQUI and IFLO).
    I hope it resolves your issue.
    Regards
    Amit

  • Measurement points/documents against an Order

    In Plant Maintenence, an order has functional location assigned to it. Some Measurement points has been assigned to this Functional location against the order.
    Could anybody help me to know the BAPI/RFCs which could read this measurement point/measurement documents against the order and some BAPIs/RFCs that could add new readings for these measurement points.
    If anubody could suggest a logic how to do it. If someone can suggest any Tables ...
    Please advice

    CALL FUNCTION 'MEASUREM_DOCUM_DIALOG_LIST_1'
           EXPORTING
             ACTIVITY_TYPE                = '1'
             F11_ACTIVE                   = 'X'
             INDICATOR_INITIALIZE         = ' '
             DEFAULT_DATE                 = SY-DATUM
             DEFAULT_TIME                 = SY-UZEIT
             DEFAULT_READER               = SY-UNAME
             WORK_ORDER_OBJECTNR          = V_OBJNR
             WORK_ORDER_KEY_EXTERN        = ' '
             WORK_ORDER_OBJECTNR1         = ' '
             NO_DIALOG                    = 'X'
             PREPARE_UPDATE_IF_API        = 'X'
           IMPORTING
             INDICATOR_UPDATE             = ZINDICATOR_UPDATE
             LEFT_WITH_F15                = ZLEFT_WITH_F15
           TABLES
             DOCUMENTS_DEFAULT            = T_DOCUMENTS_DEFAULT
      DOCUMENTS_DEF_INS           =
             DOCUMENTS_INSERT             = T_DOCUMENTS_INSERT.
      DOCUMENTS_UPDATE             =
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              WAIT = 'X'.

  • Customer service: Measuring Points&counters

    Hi,
    Can any one explain me the Use of Warranty counters, Measuring Points , Measurement Document and & reading . How are they interconnected in service processing.
    With Regards
    Aswin

    Hi,
         In case of Counter based warranty - hope u have mentioned warranty counter in config and in master warranty BGM2 while assigning the performance or time based counter , u will mention Warranty counter value , this determines the end dates/values of counters , ex :- If warranty is for 600KM , here u will mention 600KM ..,
    In IE02 u will assign this master warranty and assign the start date , if ur master warranty is correct u will get GREEN tick mark , if u click that u will find the details,
    If ur having more warranty counters, u can further maintain AND/OR relation between them.
    For performance based warranty counters u have to enter the inital reading ..& in IE02 ->Master warranty details system will show warranty counter end value .. , so if notification is created in this time system will give pop up , if ur warranty reading is 600KM then system will not give any warranty pop up ..
    Similarly for time based warranty counters also ..where system time is taken as reference ..
    regards
    pushpa

  • Contract , scheduling agreement and service order

    Hi all,
          Can anybody tell me about the contract scheduling  agreement and when we can suggest our client to go for schedule or contract agreement ?
    Pls tell me elaborately .
    Also Pls explain me about service order and when can i go for service order . whether it is restricted to AMC ?
    Pls explain me elaborately.
    pls explain me steps for creating contract or scheduling agreement and service order..........................
    points to be rewarded.
    Regards,
    Girish.

    Hi,
    Contract is outline purchasing agreement where you have a contract with the vendor,may be a for a predetermined quantity or predefined value. So everytime you need the matl,  you need to make PO ref the contract asking for the delivery of the matl. In such instance when PO is ref with contract its called contract release orders or call off orders. So Process are ME01, ME11, ME31K with aggnrement type, ME51,ME21 & MIGO,
    Scheduling agreement is a long term purchase agreement, where you will keep issuing the delivery schedules whenever there is a change in requirement or at predetermined time intervals. The delivery schedule can be on hour/daily/weekly/monthly basis. SA is also an agreement with the vendor for the supply of matl, may be a quanity or value. The delivery dates will be maintained in ME38 ref the SA which are called delivery schedules.So you can maintain the delivery schedule and communicate the vendor on Forecase basis or JIT basis. And when you need some more matl then will only create SA deliveries using ME38. SA could be of 2 types:- without release documentation-system will transmit the delivery info to the vendor once you save the document.
    With release documentation- after creating the delivery schedules you need to create SA release using ME84.So Process are ME01, ME11, ME31K with aggnrement type, ME38 & MIGO,
    Service order or service PO is created with item Category "D" and an account assignment category as per ur requirement. U can not enter ur material here only u have to maintain short text of material. Example: You want to clean the boiler and u given contract to your Vendor. Vendor sends quotation mentioning that Rs.100/hr/Man head. Now how you will measure the cleaning activities of furnace? You can pay to contractor based on the hourly basis/ man head spent in cleaning activities. So in this case create the Purchase Order mentioning "Cleaning" in the short text in Item overview(Acc assignment ' K' or “C” or “P” and Item category 'D) and item details " Man Head" Service No , Gross price - Rs.100.00 and unit - hour ( or pick from Service master) and Quantity-number of hours spent by all man head.
    The steps to create Service PO are:
    1) Maintain Item Category as D & account assignment such as cost center “K”or slaes order”C”
    2) Keep material code field blank.
    3) Enter description of service & other fields in the PO Item Overview level. Press Enter.
    4) System will prompt you to maintain services at Item Level. Maintain your service master number / service description & other fields (quantity / rate /)
    5) Save the PO.
    For more follow the links;
    For more follow the link;
    http://esoadocu.sap.com/socoview(bD1lbiZjPTgwMCZkPW1pbg==)/render.asp?packageid=DBBB6D8AA3B382F191E0000F20F64781&id=EB65A89F1AFD4C46AB61C6161BAF
    http://www.sap-img.com/sap-sd/sap-sd-scheduling-agreement-vs-contract.htm
    http://www.copacustomhelp.state.pa.us/infopak/nav/procurement/contracting/file1499/index.htm
    http://www.sap-img.com/materials/what-is-outline-and-scheduling-agreement.htm
    Regards,
    Biju K

  • Creation of service order from campaign element

    Hi,
    We have a requirement where service orders are to be created for all those business partners who responded to the campaign. We are using standard service order type SVRO. We have set up campaign automation by creating campaign and element, assigned target group, set decision point (rule & condition) to split target group in two; one for those who have replied to campaign and others who have not replied. These target groups are also linked to other campaign elements within the campaign.
    The question is, how to create a follow-on transactions such as service orders through campaign, so that one service order gets created for each successful BP from campaign result?
    Thanks in advance for your advice / suggestions.
    Regards
    Umesh
    Edited by: Umesh Singh on Sep 30, 2009 6:36 PM

    Hi Shatnhala,
    Thank you for your help. I'll try this and will come back to you.
    My further requirenment is to re-trigger pricing to upade latest price information on these service orders and then to create and send letter to all those customer with price informations. Can I use the same workflow with different steps to complete all these task?
    Also, how will these service orders (created through workflow) be linked with the campaign? Is their a way to link one campaign with many orders?
    Thanks
    Umesh

  • Open Service Orders

    On December 31st the client would have open service orders in old company code.
    We wish to transfer these service orders to a new company code.
    How to calculate WIP and post balances to WBS in the service orders in new company code.
    Getting lost! Any help?
    Reg

    Hi,
    You have to define Alert modeler and assign it to your webclient profile. After confirming an account  alerts agents to existing documents, which the system finds in the interaction record. This alert contains a link, which agents can use to navigate directly to the existing documents.
    Reward points if helpful.
    Shridhar

  • Service Order status  Not Changing From Resloved to Closed status

    The service order Status not automatically moving from Resolved to closed after 30days.
    Observation
    We Revived program Z program ,seems to be fine.
    I am set the program in debugging mode for testing the Service orders by  reduce the time duraion for staus resolved to closed, am getting the getting the Error Test determination procedure is not evaluated . 
    Point of dout
    1) Is there any relation between Test Determination Procedure and Z program.
    2) while am checking for Text Customing for Consistency I found an error Log.
    3) While creating Service Order Test field was Mandatory
                      for that have dout about is there any relation between for this program
    Thanks in Advance
    Regards
    Raju.........

    Solved ...
    BD75  (RBDMOIND ) is T-Code and report name ...
    need to schedule ...

  • Restrict Deletion of Components from Service Order

    Hello All,
    I noticed that I am able to delete the components from the Components tab of a Service Order even after I have completely issued the components.
    Is there a possible way to prevent deletion of components that have already been issued..?
    I think I can use the Business Transaction RMKL in the system status GMPS. But I guess this will prevent deletion of those components which have not been issued to the service order.
    What would be the best way to prevent deletion of components that have already been issued...?
    Thanks
    Jensibo

    Hello All,
    I don't know if you all received the last reply I posted against this thread... coz I am not able to find it in the thread. I had asked for your comments on any repercussions that may occur because of this config.
    Anyway, the thing is, I followed Narashiman's suggestion and although I did not use the exact config he pointed me to, I used the config in the following nodes:
    1.) Production --> Shop Floor Control --> System Modifications --> Define System Message Attributes
    2.) Production Planning & Process Industries --> Process Order --> System Modifications --> Define System Message Attributes
    and added an entry: Application Area = CN, Message No. = 750-Component & item & was already withdrawn and Category = E.
    Having done this, the system did display the "Component & item & was already withdrawn" message when I tried to delete a component that was issued to a service order, but it did not delete the component from the service order. I was able to save the service order with the issued component still in the components tab.
    Narashiman,
    to specifically respond to your latest reply, I did find the node you pointed me to. But the trouble was that it did not have an entry for CN750 in it. When I tried to add an entry, the system did not let me do so and displayed the error message "Please specify a legal value".
    So I went around opening each system message control node and finally found the two that I mentioned earlier that did work for me.
    Thanks
    Jensi

  • SRVR(Service Request) and SRVO(Service Order) are not appearing in IC_Agent

    Dear friends,
    We are planning to implement Service Requests and Service Orders in CRM 7.0 Interaction Center
    The Service Transactions(Service Order/Service Request) are available in 'Service Professional' business role but not available in 'IC_AGENT' role.
    The things i have observed
    1. Without the channel the Transaction Type was not appearing in SAP GUI (CRMD_ORDER)
    2. Even after maintaining the Channels the BUS2000223 (Service Request) did not appear in CRMD_ORDER but the SRVO- Service Order transaction type appeared.(BUS2000116 Service Process)
    3. Have maintained the SRVO and SRVR transaction types as dependent transaction types in the 'Business Transaction Profile'; still when clieck on the Service Request or Service Order create I am getting the below error
    'No transaction type is available for creating a transaction'
    Below is the diagnosis
    Diagnosis
    No transaction type is available when creating a transaction. This can be due to the following reasons:
    No transaction type is available according to Customizing
    The user has no authorization for the transaction type
    System Response
    It is not possible to create the transaction.
    Procedure
    Make sure that:
    The transaction type is set up in Customizing
    The user has authorization for the transaction type
    Can you please guide me where the actual issue is
    Regards
    Raj

    Hi Raj,
    As per your quarries and requirement please go through the link, it will help you in understandable way
    http://help.sap.com/saap/sap_bp/BBLibrary/Documentation/C35_CRM701_BB_ConfigGuide_EN_XX.doc
    Please reward points,
    Cheers,
    Sunil

  • How to update the service order status at meter level

    Hi
    I need to fetch one open service order and update the retrieved open service order status at meter level.
    I am trying to do it through BAPI_ALM_ORDER_MAITAIN but i am not able to do it.
    Please let  me know the process how to update.
    Thanks & Regards
    Pallavi

    Hi,
    Check if this code works ...
    REPORT zbapi .
    DATA t_meth TYPE TABLE OF bapi_alm_order_method.
    **Internal table for Operation (BAPI)
    DATA t_oper TYPE TABLE OF bapi_alm_order_operation.
    DATA t_comp TYPE TABLE OF bapi_alm_order_component.
    **Internal Table for Opertaions UP (BAPI)
    DATA t_comp_up TYPE TABLE OF bapi_alm_order_component_up.
    **Internal table for BAPI Return code
    DATA t_ret TYPE TABLE OF bapiret2.
    ***WORK AREA DECLARATIONS
    **Work Area for Hedaer
    DATA:wa_header TYPE caufvdb,
    wa_meth TYPE bapi_alm_order_method,
    wa_op TYPE afvgb,
    wa_comp TYPE resbb,
    wa_comp1 TYPE bapi_alm_order_component,
    wa_comp_up TYPE bapi_alm_order_component_up,
    wa_oper TYPE bapi_alm_order_operation.
    PARAMETERS:TEST.
    ****Fill Method Internal table
    CLEAR wa_meth.
    wa_meth-method = 'SAVE'.
    APPEND wa_meth TO t_meth.
    wa_meth-refnumber = sy-tabix.
    wa_meth-objecttype = 'COMPONENT'.
    wa_meth-method = 'CHANGE'.
    wa_meth-objectkey(12) = '000004000104'.
    wa_meth-objectkey+12(4) = '0010'.
    wa_meth-objectkey+16(4) = '0010'.
    APPEND wa_meth TO t_meth.
    **Component Internal table
    wa_comp1-reserv_no = '0000001072'.
    wa_comp1-res_item = '0001'.
    wa_comp1-activity = '0010'.
    wa_comp1-item_number = '0010'.
    wa_comp1-special_stock = 'B'.
    wa_comp1-requirement_quantity = '15'.
    wa_comp1-stge_loc = '0001'.
    wa_comp1-backflush = 'X'.
    APPEND wa_comp1 TO t_comp.
    **Component Update Internal table
    wa_comp_up-special_stock = 'X'.
    wa_comp_up-backflush = 'X'.
    wa_comp_up-requirement_quantity = 'X'.
    wa_comp_up-stge_loc = 'X'.
    APPEND wa_comp_up TO t_comp_up.
    **Call Bapi
    BREAK-POINT.
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
    TABLES
    it_methods = t_meth
    it_component = t_comp
    it_component_up = t_comp_up
    return = t_ret.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.   <--- Hope u r using this too
    regards,
    Naveen
    Edited by: Naveen Deva on Apr 16, 2009 9:12 AM

  • Creating service order using BAPI_BUSPROCESSND_CREATEMULTI

    Hi Experts,
    I have a requirement to create a Service order using a BAPI.
    I'm trying to use the BAPI BAPI_BUSPROCESSND_CREATEMULTI. I found some code related to this BAPI on this forum and and I've written my code based on that and while executing it i'm getting a short dump. Could anyone please help me figure out what the problem is.
    My code is as follows:
    data: lv_header_guid type guid_32.
    data: begin of lit_header occurs 0,
          include type BAPIBUS20001_HEADER_INS,
          end of lit_header.
    data: wa_header type BAPIBUS20001_HEADER_INS.
    data: begin of lit_inputfields occurs 0,
          include type BAPIBUS20001_INPUT_FIELDS,
          end of lit_inputfields.
    data: wa_inputfields type BAPIBUS20001_INPUT_FIELDS.
    data: begin of lit_partner occurs 0,
          include type BAPIBUS20001_PARTNER_INS,
          end of lit_partner.
    data: wa_partner type BAPIBUS20001_PARTNER_INS.
    Create Contract header guid
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_32 = lv_header_guid.
    Fill orderadm_h
      wa_header-guid         = lv_header_guid.
      wa_header-process_type = 'YSC'.
      APPEND wa_header TO lit_header.
    Fill input fields
      MOVE: lv_header_guid  TO wa_inputfields-ref_guid,
            'A'             TO wa_inputfields-ref_kind,
            '0001'         TO wa_partner-ref_partner_handle,
            'ORDERADM_H'    TO wa_inputfields-objectname,
            'PROCESS_TYPE'  TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      CLEAR wa_inputfields.
    Fill PARTNER DETAILS
    Sold to Party
      MOVE: lv_header_guid TO wa_partner-ref_guid,
            'A'            TO wa_partner-ref_kind,
            '0001'         TO wa_partner-ref_partner_handle,
            'CRM000'         TO wa_partner-partner_fct,
            '5000000288'    TO wa_partner-partner_no,
            'BP'           TO wa_partner-no_type,
            'BP'           TO wa_partner-display_type,
            'X'        TO wa_partner-mainpartner.
      APPEND wa_partner TO lit_partner.
      CLEAR wa_partner.
    Fill input fields
      MOVE: lv_header_guid TO wa_inputfields-ref_guid,
            'A'      TO wa_inputfields-ref_kind,
            '0001'         TO wa_inputfields-logical_key,
            'PARTNER'     TO wa_inputfields-objectname.
      MOVE  'PARTNER_FCT' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      MOVE  'PARTNER_NO' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      MOVE  'NO_TYPE' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      MOVE  'DISPLAY_TYPE' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      CLEAR wa_inputfields.
      CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
        TABLES
          HEADER                  = lit_header
        ITEM                    =
        ACTIVITY                =
        SALES                   =
         PARTNER                 =  lit_partner
        ORGANISATION            =
        SHIPPING                =
        APPOINTMENT             =
        TEXT                    =
        SERVICE_OS              =
        STATUS                  =
         INPUT_FIELDS            =  lit_inputfields
        CREATED_PROCESS         =
        RETURN                  =
        LEAD                    =
        OPPORTUNITY             =
        PRODUCT                 =
        SCHEDULELINE            =
        CUSTOMER_HEAD           =
        CUSTOMER_ITEM           =
        PRICING                 =
        PRICING_ITEM            =
        CONDITION_CREATE        =
        BILLING                 =
        CONFIG_CFG              =
        CONFIG_BLB              =
        CONFIG_INS              =
        CONFIG_PRT              =
        CONFIG_VAL              =
        CONFIG_VK               =
        CONFIG_REF              =
        ADDRESS                 =
        BILLPLAN                =
        BILLPLAN_DATE           =
        EXTENSIONIN             =
        DOCUMENT_FLOW           =
        BATCH                   =
        PRICING_AGR_CRM         =
        FINPROD_ITEM            =
        CANCEL                  =
        CANCEL_IR               =
        PRODUCT_LIST            =
        PRODUCTS                =
        OBJECTS                 =
        PAYPLAN                 =
        PAYPLAN_DATE            =
        CONFIG_FILTER_CFG       =
        CONFIG_FILTER_INS       =
        CONFIG_FILTER_PRT       =
        CONFIG_FILTER_VAL       =
        ACTIVITY_I              =
        EXT_REF                 =
    ENDFUNCTION.
    I'm getting the following dump.
    Runtime Errors         ITAB_ILLEGAL_COMPONENT
    Date and Time          07.09.2006 21:29:03
    Short dump has not been completely stored (too big)
    Short text
    Invalid line component &V2 in "... KEY k1 = v1 ... kn = vn".
    Error analysis
    When the ABAP/4 program "SAPLCRM_BUSPROCESSND_BAPI" attempted to process the
    internal table "HEADER[]"
    with "... KEY k1 = v1 ... kn = vn", a component "HANDLE " was specified
    dynamically as the contents
    of the field "LV_STR_HANDLE". However, the line type "u" of the internal table
    "HEADER[]"
    contains no component "HANDLE ".
    |                                                                         -
    Information on where terminated
    Termination occurred in the ABAP program "SAPLCRM_BUSPROCESSND_BAPI" - in
    "SET_RETURN_VALUES".
    The main program was "RS_TESTFRAME_CALL ".
    In the source code you have the termination point in line 36
    of the (Include) program "LCRM_BUSPROCESSND_BAPIF80".
    Source Code Extract
    Line
    SourceCde
    6
    7
          text
    8
    9
         -->P_LT_ORDERADM_H_COM  text
    10
         -->P_LT_ORDERADM_I_COM  text
    11
         <--P_HEADER  text
    12
         <--P_ITEM  text
    13
    14
    form set_return_values  tables  header structure BAPIBUS20001_HEADER_INS
    15
    item structure BAPIBUS20001_item
    16
    using   p_lt_orderadm_h_com type any table
    17
    p_lt_orderadm_i_com  type any table
    18
    19
    20
    data: lv_str_handle type fieldname,
    21
    lv_str_headerhandle type fieldname,
    22
    lv_str_objectid type fieldname.
    23
    24
    25
    field-symbols: <ls_orderadm_h> type crmt_orderadm_h_com,
    26
    <ls_orderadm_i> type crmt_orderadm_i_com,
    27
    <ls_header> type BAPIBUS20001_HEADER_INS,
    28
    <ls_item> type BAPIBUS20001_item.
    29
    30
    31
    lv_str_handle = 'HANDLE'.
    32
    lv_str_headerhandle = 'HEADER_HANDLE'.
    33
    lv_str_objectid = 'OBJECT_ID'.
    34
    35
    loop at p_lt_orderadm_h_com assigning <ls_orderadm_h>.
    >>>>>
    read table header with key (lv_str_handle) = <ls_orderadm_h>-handle
    37
    (lv_str_objectid) = <ls_orderadm_h>-object_id
    38
    assigning <ls_header>.
    39
    if sy-subrc = 0.
    40
    <ls_header>-guid = <ls_orderadm_h>-guid.
    41
    endif.
    42
    endloop.
    |   43|                                                              
    Could anyone please help me with this.
    Thanks,
    Preethi
    Message was edited by: Preethi Sooth

    First off. Debug.
    Put a break point on the line that is generating the short dump and run your code. The ABAP debugger should display before the dump...now....
    The error specifies that the line type of the table HEADER (which is the internal representation of your lit_header table and has line type BAPIBUS20001_HEADER_INS ) doesn't have a field called HANDLE.
    Check if it does (it should have or something is very wrong, and you should report a bug to SAP).
    Check all runtime variables for that command. See if the table has any values in it. Try using your lit_header table with header-line or not.
    Your in a far better position to determine what the error is then me. Right now, I don't have access to a CRM server.
    From my experience that BAPI is a piece of .... It is hard finding functions in CRM that actually do what you want...properly...Try using CRM_ORDER_CREATE (i think it's called like that). Much better, and if you need RFC capability just write a wrapper RFC.
    Message was edited by: João Sousa

Maybe you are looking for