Object Buffer Function

Hi,
I need to automatically change the Confirmation Pricing Date to be the same as the 'Start Of Work' field (user entry) using a badi. I am planning on using the badi CRM_PRICING_BADI and a function module to read the Object Buffer for the current confirmation. But I cannot find a buffer-reading FM that contains the Start of Work field.
Anyone know of one?
Thanks,
Aidan.

To create a dummy BOL entity a LOCK has to be established on the entity, if not BOL will try to establish the lock. By default if LOCK is tried to establish or in other words if the mode of the BOL is changed from display to edit it is going to refresh automatically. So if we try to introduce the delta change the BOL changes to edit mode.
The question is to sync the buffer data without changing the BOL mode.
Please correct me if im wrong.
The buffer can be cleared using CL_CRM_BOL_CORe->RESET( ) method, which could be a little risky because it clears all the buffer data so there is chance of losing unsaved data and breadcrumbs.
Thanks,
Karthik

Similar Messages

  • Entry not found in object buffer error in leasing quotation

    i am getting following error in SAP CRM 7.0 in quotation level.
    when i am entering financing product in quotation.
    Item 200     Entry not found in object buffer     @5F\QNo long text exists@          Dates     Administrator
    Item 200     Entry not found in object buffer     @5F\QNo long text exists@               Administrator

    thank for your reply
    At least we found out message class of this message.
    From your given Function module we could identify that it giving information  message, but we are experiencing error of object buffer related message.
    In error it showing sub object as "Dates", can you please guide us to elaborate this further.
    Regards,
    Vikil

  • At least one entry could not be found in object buffer

    Hi All,
    I am frequently getting the message <b>'At least one entry could not be found in object buffer'</b> when I am saving a service process through CRMD_ORDER.
    Does anybody have faced the similar situation, if so pls help me on this.
    (Note: For your information while saving the Service requwst, it automatically triggers some actions)
    The above said error message is getting populated through the function module CRM_ORDER_H_READ_OB.
    Any inputs on this will be highly appreciated.

    Hi Madireddy,
    I assume you get error CRM_ORDER_MISC106. A possible reason might be
    that the transaction type requests a main partner of partner function
    type 0001.   Maybe the Partner Determination procedure specified
    for the transaction type in your system does not contain any
    partner function belonging to the type 0001.The problem can be solved by adding a partner function of type 0001 (Sold-to) in the partner determination procedure.
    Hopefully this helps. Please reward points!
    Regards, Gerhard

  • Getting an error " Atleast one entry could not be found in object buffer"

    Hi All,
    I m facing an peculiar problem while executing a custom Function Module.I have written a custom FM to create a service request and fetch the obj ID and return it back.When i tested the same in debugging mode everything is working fine. But when i execute it directly, It is giving me an error saying " Atleast one entry could not be found in object buffer" at the bottom of the screen and return parameters are not displayed.
    Any pointers on this would be of great help.
    Thanks,
    Eureka

    Hi Phani,
    PFB the source code. Please look in to this at your convenient time..
    FUNCTION ZSERVICE_TICKET_INC_EDIORDERS.
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(ZPROCESS_TYPE) TYPE  CRMT_PROCESS_TYPE
    *"  EXPORTING
    *"     REFERENCE(ZOBJECT_ID) TYPE  CRMT_OBJECT_ID_DB
    * PARAMETER QUANTITY TYPE CRMT_SCHEDLIN_QUAN.
    * DATA DECLARATION FOR LOCAL VARIABLES
      DATA : lv_header_guid        TYPE                   GUID_32,
             lv_header_guid16      type                   guid_16,
             lv_item_guid          TYPE                   guid_32,
             lv_sched_guid         TYPE                   guid_32,
             lt_header_guid16      type                   CRMT_OBJECT_GUID_TAB,
             wa_header_guid16      like line of           lt_header_guid16.
      DATA:  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,
             itab_input_fields     TYPE STANDARD TABLE OF bapibus20001_input_fields,
             itab_return           TYPE STANDARD TABLE OF bapiret2,
             lt_orderadm_h         type                   CRMT_ORDERADM_H_WRKT.
    * DATA DECLARATION WORKAREAS
    DATA:   wa_header             TYPE                   bapibus20001_header_ins,
             wa_partner            TYPE                   bapibus20001_partner_ins,
    *         wa_item               TYPE                   bapibus20001_item,
    *         WA_SCHEDLIN_I         TYPE                   BAPIBUS20001_SCHEDLIN,
             ls_inputfields        TYPE                   bapibus20001_input_fields,
             wa_objects_to_save    LIKE                   LINE OF itab_objects_to_save.
    *         wa_pricing            TYPE                   bapibus20001_pricing,
    *         wa_sales              TYPE                   bapibus20001_sales,
    *         wa_shipping           TYPE                   bapibus20001_shipping,
    *         wa_product_i          TYPE                   bapibus20001_product.
    *         wa_schedlin_i    LIKE LINE OF lt_schedlin_i,
    *         wa_schedlines   LIKE LINE OF lt_schedlines,
    DATA:   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'.
    * CREATION OF HEADER GUID
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_16 = lv_header_guid16
          ev_guid_32 = lv_header_guid.
      CLEAR : wa_header.
    data: temp type  CRMT_OBJECT_GUID_TAB.
    *temp = (CRMT_OBJECT_GUID_TAB)lv_header_guid16.
    * Passing the respective values from the Header table to internal table.
      wa_header-guid          =  lv_header_guid.
    *  zprocess_type           = 'ZSC'.
      wa_header-process_type  =  zprocess_type.
    *  wa_header-description = 'MY S2D ORDER'.
      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.
    *      CLEAR ls_inputfields.
    * HEADER PARTNER DETAILS
      wa_partner-ref_guid = lv_header_guid.
      wa_partner-ref_kind = 'A'.
      wa_partner-ref_partner_handle = '0001'.
      wa_partner-partner_fct = '00000001'.
      wa_partner-partner_no =  '1000007'.
      wa_partner-no_type = 'BP'.
      wa_partner-display_type  =  'BP'.
      APPEND wa_partner TO itab_partner.
    * APPENDING THE ITAB_PARTNER TO INPUT_FIELDS
      ls_inputfields-ref_guid =  lv_header_guid.
      ls_inputfields-ref_kind = 'A'.
      ls_inputfields-objectname = 'PARTNER'.
      ls_inputfields-logical_key = '0001'.
      ls_inputfields-fieldname = 'REF_PARTNER_HANDLE'.
      APPEND ls_inputfields TO itab_input_fields.
      CLEAR ls_inputfields.
    ****PARTNER_FCT*********************************
      ls_inputfields-ref_guid =  lv_header_guid.
      ls_inputfields-ref_kind = 'A'.
      ls_inputfields-objectname = 'PARTNER'.
      ls_inputfields-logical_key = '0001'.
      ls_inputfields-fieldname = 'PARTNER_FCT'.
      APPEND ls_inputfields TO itab_input_fields.
      CLEAR ls_inputfields.
    ****PARTNER_NO**********************************
      ls_inputfields-ref_guid =  lv_header_guid.
      ls_inputfields-ref_kind = 'A'.
      ls_inputfields-objectname = 'PARTNER'.
      ls_inputfields-logical_key = '0001'.
      ls_inputfields-fieldname = 'PARTNER_NO'.
      APPEND ls_inputfields TO itab_input_fields.
      CLEAR ls_inputfields.
    ****NO_TYPE*************************************
      ls_inputfields-ref_guid =  lv_header_guid.
      ls_inputfields-ref_kind = 'A'.
      ls_inputfields-objectname = 'PARTNER'.
      ls_inputfields-logical_key = '0001'.
      ls_inputfields-fieldname = 'NO_TYPE'.
      APPEND ls_inputfields TO itab_input_fields.
      CLEAR ls_inputfields.
    ****DISPLAY_TYPE********************************
      ls_inputfields-ref_guid =  lv_header_guid.
      ls_inputfields-ref_kind = 'A'.
      ls_inputfields-objectname = 'PARTNER'.
      ls_inputfields-logical_key = '0001'.
      ls_inputfields-fieldname = 'DISPLAY_TYPE'.
      APPEND ls_inputfields TO itab_input_fields.
      CLEAR ls_inputfields.
    *****KIND_OF_ENTRY*******************************
    *      ls_inputfields-ref_guid =  LV_HEADER_GUID.
    *      ls_inputfields-REF_KIND = 'A'.
    *      ls_inputfields-objectname = 'PARTNER'.
    *      ls_inputfields-logical_key = '0001'.
    *      ls_inputfields-fieldname = 'KIND_OF_ENTRY'.
    *      APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
    *      CLEAR ls_inputfields.
    *Calling a standard BAPI to create SALES OREDER using the filled internal tables.
      CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
        TABLES
              header          = itab_header
    *          item            = itab_item
              return          = itab_return
              partner         = itab_partner
              input_fields    = itab_input_fields
              created_process = itab_created_process.
    *         APPOINTMENT     = ITAB_APPOINTMENT
    *         TEXT            = ITAB_TEXT
    *          scheduleline    = lt_schedlin_i
    *         pricing         = itab_pricing
    *          sales           = itab_sales
    *          shipping        = itab_shipping
    *          product         = itab_product_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 SALES ORDER to be saved to the internal table
      APPEND wa_objects_to_save TO itab_objects_to_save.
    *   Calling standard BAPI to save the process.
      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'.
    wa_header_guid16 = lv_header_guid16.
    append wa_header_guid16 to lt_header_guid16.
    * Calling CRM_ORDER_READ to get the object id and add line item to the order
    CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
         IT_HEADER_GUID                    =  lt_header_guid16
        IMPORTING
          ET_ORDERADM_H                     = lt_orderadm_h
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    data: object_id type CRMT_OBJECT_ID_DB,
          wa_orderadm_h like line of lt_orderadm_h.
    read table lt_orderadm_h into wa_orderadm_h WITH KEY guid = lv_header_guid.
    object_id = wa_orderadm_h-object_id.
    Zobject_id = wa_orderadm_h-object_id.
    WRITE: / 'Object ID: ',object_id.
    ENDFUNCTION.

  • COMMIT failed in RSORAADM, object JOB, function CREATE, return code 4

    Dear Gurus,
    When I am trying to schedule a backup through DB13, I am getting an error as
    "COMMIT failed in RSORAADM, object JOB, function CREATE, return code 4"
    Can any body tell me what is the error about and how to resolve it.
    Thanks
    Best Regards
    Dilip

    hi Kaushal,
    Thanks for your reply.  Yes I could solve the issue as my Operation mode was inactive, I made it active and then could schedule the DB13 jobs. 
    Can you tell me what is the relationship between DB13 jobs scheduling and Operation mode.  Also note when I am scheduling DB13 jobs that time none of the background job is running ie my background wp is free. It is only after I activated day/night operation mode, I could schedule the backup.
    Thanks once again.  Your input was of great help to me.
    Best Regards
    Dilip

  • ABAP Object or function module?

    Hello all!
    I have to create a reusable routine. This routine should be select data from Z table for to get data with a parameter ID. I will pass a ID and expect result a internal table with some parameter values.
    So, my question is: What i use for to do that? ABAP Object or function module?
    I think that so easy to use function module. Why i should to use ABAP objects? What is positive points in use object and not function module?
    For me, both do the same thing... i don't see any difference. Just object is more complicated.
    Please, tell me why should i use object??
    Edited by: Rodrigo Kenji Matsunaga on Dec 10, 2009 5:51 PM

    I would go with Class.
    Read through this discussion:
    Needing Evidence on the Advantages of ABAP OO
    Class would provide you a flexibility of inheritance. E.g. if you want to use the same data selection with little modification in your other applications, you can inherit some other class form this class. Redefine the method, call the Super's method and change the output before sending back to the caller.
    Regards,
    Naimesh Patel

  • Find Object.vi function of 3D picture control - when object not found

    I am using Labview 8.2, and this post is regarding the 3D Picture Control.
    I am wanting to make use of the "Find Object" VI to either return a reference to a named object, or otherwise determine that it does not exist yet.  However, if I call it with the name of an object that doesn't exist yet (i.e. just any random string), it returns an error message that arises from the attempt to release a queue (the reference to which gets lost when crossing a zero-iteration For Loop's tunnels), instead of an error message that says "Object not found" which I would find much more useful.  With a simple modification of the "Find Object.vi" function, this behaviour can be changed, by replacing the For Loop's tunnels with shift registers.
    The problem with the current function is that the error is not an intentionally thrown error, rather just the result of the queue's refnum being set to the default 0 as it "exits" the For Loop, since in the situation that an object is not found, the code passes a 0 to the N terminal.
    The attached images show the problematic code and the simple modification
    Attachments:
    Find Object.png ‏2 KB
    Find Object_modified.png ‏2 KB

    pauldavey,
    I agree with you - the current way of handling the case of an object not being found does not appear to be ideal.
    This was reported to R&D (# 43D8GSVQ) for further investigation.
    Thanks for the feedback!
    Regards,
    Simon H
    Applications Engineer
    National Instruments

  • Error in Workflow: At least one entry could not be found in object buffer

    Hi All,
    I am getting an error " At least one entry could not be found in object buffer" every time i try to open the BO in the binding section. I have cleared the buffer, have deleted the binding and BO and added again multiple times. But still the error is coming. Can anyone suggest a solution for this.

    What system are you on?  ECC? CRM?
    Are you sure that the object instance exists?

  • Entry not found in object buffer

    Hi,
    When we create service desk message we are getting Entry not found in object buffer error error. Can you please help me out to resolve this issue.
    Thanks

    Hello again,
    Is it a customized support message (e.g. ZLFN for instance) or the standard one ? If customer message, check your action profile... You need to have a copy from the standard action SLFN0001_ADVANCED_UPDATE_DNO.
    Hope it helps.
    BR.
    Stéphane.

  • Error log 'At least one entry could not be found in object buffer' in SLG1

    Hi Experts,
    We are getting error log 'At least one entry could not be found in object buffer' in SLG1 transaction.
    Unable to trace the source of error. Could you please help us identifying the same.
    Regards,
    Santosh Kacham

    Hello,
    the reason could be the use of order_save badi, mostly there is a wrong + faulty implementation which causes this error. Please check first if any own coding part is involved, when creating documents / tickets.
    Thanks + regarsd
    Rene

  • ERROR:Atleast one entry could not be found in object buffer

    Hi All,
    need help urgernlty.
    When i try to change the binding for any task for an BO.
    get the below error
    "Atleast one entry could not be found in object buffer"
    please help me the issue as it is holding my development which is very critical.
    Thanks
    Tarmeem

    HI,
    I have checked all the methods and attributes
    they are implemented and relased.
    But still get that error
    Please guide me how to get rid of this issue
    Regards.
    Tarmeem

  • Is there any table for see  Authorization object for Function code?

    Hi,
    I am facing problem in finding autho. object for function code.
    My problem is, in tcode cor2 there is function Approval (in Menubar->process order->function->approval), I want to restrict this to some users.
    So is there any way or table to see function code's authorization object..
    Thanks...

    Hi ,
    I such scenario the best way is to run trace (ST01) and analyse to find used/missing authorization objects.
    Regards,

  • ADM message TBX buffer: function ThAdmToMys returns RC = -1

    Hello to everyone, I have wrote a program which is loading all our products (aprox. 1300 matnrs) and then in a LOOP at itab is doing the following:
      LOOP AT ITAB.
        CLEAR WMENGE.
        EXPORT WMENGE TO MEMORY ID 'ZGRMENG'.
        SUBMIT ZGRRM07MLBD WITH MATNR = ITAB-MATNR
                           WITH WERKS = ITAB-WERKS
                           WITH DATUM IN SDATUM
                           WITH LGBST      = 'X'
                           WITH XSUM       = 'X'
                           EXPORTING LIST TO MEMORY
                           AND RETURN.
        IMPORT  WMENGE FROM MEMORY ID 'ZGRMENG'.
        IF ITAB-MTART <> 'PACK'.
          IF ITAB-MEINS = 'EA'.
            ITAB-EACH = WMENGE.
            ITAB-KILOS = WMENGE * ITAB-NTGEW.
            ITAB-LITRE = WMENGE * ITAB-VOLUM.
          ELSE.
            IF ITAB-MATNR <> 'WSTE13'.
              ITAB-EACH = 0.
              ITAB-KILOS = WMENGE.
              ITAB-LITRE = WMENGE * ITAB-VOLUM.
            ELSE.
              ITAB-EACH = WMENGE.
              ITAB-KILOS = 0.
              ITAB-LITRE = 0.
            ENDIF.
          ENDIF.
        ELSE.
          ITAB-EACH = WMENGE.
          ITAB-KILOS = 0.
          ITAB-LITRE = 0.
        ENDIF.
        MODIFY ITAB.
      ENDLOOP.
      After 50 minutes I can see the following warning message in the log file:
    18:20:34 Be 020 EKEKAKOS          BBB W ADM message TBX buffer: function ThAdmToMys returns RC = -1
    18:20:39 Be 020 EKEKAKOS          BBB W ADM message TBX buffer: function ThAdmToMys returns RC = -1
       This message is appearing 3 times in a minute. Also in details of this message you can see the followings:
    Time     TA Cl. User         Tcod MNo C Text                  Date : 14.12.06                      
    18:20:34 Be 020 EKEKAKOS          BBB W ADM message TBX buffer: function ThAdmToMys returns RC = -1                                                                               
    Details                                                                               
    Recording at local and central time........................ 14.12.2006 18:20:34                     
    Task................ 17692 Be Background processor No. 14                                           
    User................ EKEKAKOS                                                                       
    Client.............. 020                                                                            
    Terminal............                                                                               
    Session............. 1                                                                               
    Transaction code....                                                                               
    Program name........ ZMMSTOCKS_EK                                                                   
    Problem class....... W    Warning                                                                   
    Development class... SBAC Kernel Objekte                                                                               
    Module name.........                                                                               
    Line................ 1300                                                                           
    Table name.......... ThAdmToMys                                                                     
    Field name..........        -1                                                                               
    Documentation for system log message BB B :                                                         
    During the definition or processing of an ADM message in the                                       
    100%/generic table buffer an unexpected return code has occurred. The C                            
    function is specified in the error text.  In the coding an asynchronous                            
    call for replacement or reorganization is submitted at this point.  The                            
    functions concerned may be functions for packing and unpacking                                     
    parameters and for sending the ADM message.             ,                                                                               
    Technical details                                                                               
    File................ 000378                                                                         
    Position............ 0000494820                                                                     
    Entry type.......... h      ( Database error (non SQL)       )                                      
    Message ID.......... BB B                                                                           
    Variable parts...... ThAdmToMys       -1                                         1300                                                                               
    The version of our SAP is 4.0B and is running in UNIX Solaris and our database is Oracle 8.1.7.
      Can anyone suspects what is causing this message?
      Thanks in advance.

    It seems that this is a difficult problem. I think that the problem is in the SUBMIT statement which I use in order to take the stock of each material of each plant. I do not know I am still searching in the internet.
      Thanks

  • Check maintainance object or function group in sm30

    hi,
    my abaper create a table maintainnce view and function group . it working fine in developement system but when i transport it to quality system and then open table view in sm30 it s showing error check maintainance object or function group.
    please provide me the soloution.

    Hi,
    Was the import successful into the QA system? Check the import logs and RC to see if there were any errors/warning reported.
    Also, run the syntax check for the functional module in QA to get more information about the error.
    You might have to involve the ABAP consultant to get this resolved.
    Regards,
    Varun

  • Can't find Business Object for Functional Location BOM in BAPI

    Hi all,
    I've to make Upload Program through BAPI for Functional Location BOM,for making that Upload i can't find BUSINESS OBJECT for FUNCTIONAL LOCATION ,Equipment BOM and Fleet Object (Vehicle).Kindly tell what Business Object should i used to create that Upload Programme.I shall be very thankful to you.
    Regards,
    ABAPFK

    Hi
    you have to do all steps in LSMW
    1.Maintain Object Attributes
    2.Maintain Source Structures
    3 Maintain Source Fields
    4 Maintain Structure Relations
    5 Maintain Field Mapping and Conversion Rules
    7 Specify Files
    8 Assign Files
    9 Read Data
    10 Convert Data
    11 Create Batch Input Session
    Please maintain source fields required.thats important.(maintain 2 level-header and item,also provide common name of column to link to 2 files
    Header file:sample
    RECORDNAME     EQUNR     Plant
    10001031                        10001031      3000
    Item file:sample
    RECORDNAME     ITEM NO     MATNR     Item catg   QTY
    10001031                             10      P-1001          L               1
    Regards
    Seenu

Maybe you are looking for