Skip to Content
author's profile photo Former Member
Former Member

Buffer Table Not Upto date

Hi All,

I am having an issue with creating a SC using the FM "BBP_PD_SC_CREATE". When i execute the FM, i get a success message. But i am not able to find the Shopping Cart, so i am executing the FM "BBP_PD_SC_SAVE" using the GUID received from the previous FM. But i am getting a error message saying "Buffer table not up to date.

when i look in to the message , it gives me the following info : "In FORM HDRADM_FILL_BUFFER (function group SAPLBBP_PDHAD) an inconsistent status was discovered."

When i debug the form, i found some select statements on the table CRMD_ORDERADM_H with the GUID and this select fails as there is no SC available. This results in a dump.

Can somebody help in finding out what the issue is.

I am using SRM 5.0 version. Please let me know if you need more details.

Thanks in Advance,

Suresh

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 17, 2007 at 03:28 PM

    Hi,

    Refer the foll threads:

    buffer-table-not-up-to-date

    buffer-table-not-updated-error-

    BR,

    Disha.

    Pls reward points for useful answers.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2007 at 09:54 AM

    Hi

    <u>Please see the sample code, which will definitely help.</u>

    Data: gc_no         VALUE space,
             ls_header_c LIKE bbp_pds_sc_header_ic,
             lt_item_c LIKE bbp_pds_sc_item_icu OCCURS 0 WITH HEADER LINE,
             lt_partner_c LIKE bbp_pds_partner OCCURS 0 WITH HEADER LINE,
             lt_orgdata_c LIKE bbp_pds_org OCCURS 0 WITH HEADER LINE,
             lt_messages LIKE bbp_pds_messages OCCURS 0,
             ls_new_header LIKE bbp_pds_sc_header_d.
    
      CALL FUNCTION 'BBP_PD_SC_CREATE'
        EXPORTING
          i_park     = gc_no
          i_header   = ls_header_c
        IMPORTING
          e_header   = ls_new_header
        TABLES
          i_partner  = lt_partner_c
          i_orgdata  = lt_orgdata_c
          i_longtext = lt_longtext_c
          e_messages = lt_messages.
    
      MOVE-CORRESPONDING ls_new_header TO ls_header_u.
    
      CALL FUNCTION 'BBP_PD_SC_UPDATE'
        EXPORTING
          i_park        = gc_yes
          i_header      = ls_header_u
        TABLES
          i_item        = lt_item_c
          i_partner     = lt_partner_c
          i_orgdata     = lt_orgdata_c
          i_longtext    = lt_longtext_c
          e_messages    = lt_messages.
    
      CALL FUNCTION 'BBP_PD_SC_SAVE'
        EXPORTING
          iv_header_guid = ls_header_u-guid.
    
      CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER'.
    
    * save modified shopping cart to database
        COMMIT WORK AND WAIT.

    <b>For details, refer to the report - <u>BBP_ANALYSE_PERFORMANCE</u></b>

    Also, Refer this link.

    F4 help and drop down menu to Customer fields in Manage business partner

    Hope this will help.

    Regards

    - Atul

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 07, 2012 at 11:14 AM

    Hi Forum,

    SRM 7.0

    CALL FUNCTION 'BBP_PD_SC_SAVE'.

    COMMIT WORK.

    No need to pass any values to the funciotn module.

    Updated the thread because it might help someone facing this issue..like me 😊

    Regards,

    Anubhav

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.