Incorrect status table E_STATUS from FM BBP_PD_CTR_GETDETAIL

Hi,
I have an SRM 4.0-implementation (SAP SRM server 5.0, Supportpack 13) in extended classic scenario.
BADI u2018BBP_DOC_CHECK_BADIu2019 has been activated for filter u2018BUS2000113u2019  so I can create some custom made errormessages for the active lines in a contract and only when mode = 'T'. Thats okay so far.
I then mark one of the lines in the contract as status 'Inactive' and press controll. The BADI calls FM 'BBP_PD_CTR_GETDETAIL' with the original GUID for document and returns with table e_status showing the line marked with an 'X' in inact.
If I then mark  an other line with status 'Inactive' and press control the BADI call FM 'BBP_PD_CTR_GETDETAIL' again with the original GUID and returns with table e_status - but the new line is NOT marked with an 'X' in inact - only the first is still marked.
The BADI is called two times in mode = 'T' when I press controll. First time with the original GUID and second time with the change version GUID - and it is the first time that gives the problem with e_status. The second call with the change version GUID only gives the e_status for the lines that are active, but the first call allready fills in the logfiles with errormessages and show errors on inactive lines...
Added Apr 20, 2010
I can see, that my problem has something to do with JEST_BUF.
JEST_BUF is not maintained when making two or more changes (setting lines inactive) and then press 'controll' - only the first line changed is marked 'inactive' in status field.
Edited by: Dorthe Lauritzen on Apr 20, 2010 2:59 PM

In my opinion there are two issues with your approach:
1) BBP_DOC_CHECK_BADI is commonly used for validating procurement document, not to make changes to them. There is BBP_DOC_CHANGE_BADI for customized changes if required.
2) Changing the status is often not as trivial as changing the internal table E_STATUS. Status is managed on a cross application level. Often times, you would realize that even if you have changed the internal table, the document would not result in the status you want it to have, or worse, erroneous stage. A more feasible approach to change status is to call FM BBP_PROCDOC_STATUS_CHANGE and let the system determine if such change is possible.

Similar Messages

  • Populating a load-status table from SQL*Loader

    Hello,
    I am using SQL*LDR to load a table and once I'm done with this load I am supposed to populate a status table which will capture the 'SYSDATE', and the total number of rows I loaded in the other table.
    Can anybody help me?
    Thanks

    BTW, the load-status table would take the error-record-count as well as the load-count?
    Sorry missed that earlier!

  • Field KNVV-CHSPL does not exist in field status tables (TMOD*)

    Hi Gurus,
    Wile creating Customer master record at Tc= XD01 the following error coming as
    "Field KNVV-CHSPL does not exist in field status tables (TMOD*)"
    Plz help me its  urgent.
    Vinay

    Hi
    KNVV is the customer sales data table and CHSPL is the field name called Batch Split Allowed
    My advice is to deselect the field name from the table and test it by creating it once again ...
    Bobbili

  • How to change Contract Status to Release from Held

    Hello SRM Guru,
    We are on SRM 5.0. In our production system we have some contract (GOA) which were not automatically trasnferring to backend when we release it (After approval). They are in held status only so we transfer them by FM BBP_pd_CTR_Transfer. But in SRM still the GOA status is held.    Could you please suggets how (any table) can I schange contract (GOA) status from held to release manully.
    Thanks,

    Hi
    You can manually change the status of contract from held to released status using FM 'CRM_STATUS_UPDATE'. Enter your status parameters in structure JEST_INS and execute the FM.
    Regards,
    Sanjeev

  • Object status tables

    Hi
    Please, could you tell me what is the tables where the object status are storage from SD sales document for example?
    Best Regards,
    Enrique

    Hi Benito Enrique,
    Please have a look at below tables.
    AUSP
    Characteristic Values
    CMFK
    Storage Structure for the Error Log Header
    CMFP
    Storage Structure for Errors Collected
    FMSU
    FI-FM Totals Records
    FPLA
    Billing Plan
    FPLT
    Billing Plan: Dates
    INOB
    Link between Internal Number and Object
    JCDO
    Change Documents for Status Object (Table JSTO)
    JCDS
    Change Documents for System/User Statuses (Table JEST)
    JEST
    Object Status
    JSTO
    Status Object Information
    KANZ
    Assignment of Sales Order Items u2013 Costing Objects
    KEKO
    Product Costing - Header
    KEPH
    Product Costing: Cost Components for Cost of Goods Mfd
    KNKO
    Assignment of a Cost. Est. Number to Config. Object
    KOCLU
    Cluster for Conditions in Purchasing and Sales
    KSSK
    Allocation Table: Object to Class
    NAST
    Message Status
    SADR
    Address Management: Company Data
    VBAK
    Sales Documents: Header Data
    VBAP
    Sales Documents: Item Data
    VBEH
    Schedule Line History
    VBEP
    Sales Document: Schedule Line Data
    VBEX
    SD Document: Export Control: Data at Item Level
    VBFCL
    Sales Document Flow Cluster
    VBLB
    Sales Document: Release Order Data
    VBSN
    Change Status Relating to Scheduling Agreements
    VBUK
    Sales Document: Header Status and Administrative Data
    VBUP
    Sales Document: Item Status
    VBUV
    Sales Document: Incompleteness Log
    VEDA
    Contract Data
    Thanks,
    Swamy H P

  • Errror when in SC ( Incorrect status in pricing )

    Hi Experts,
    Please advice what I done wrong in customization. I'm configuring system to Classic scenario.
    When i try to add items to shopping cart I'm getting the following error. Pls advice me what settings i have to done for the below problem.
    Thanks and regards
    Hardhik.
                                                                                    Runtime Errors           UNCAUGHT_EXCEPTION                                                           
    Except.                  CX_BBP_PD_ABORT                                                              
    Date and Time            06.01.2002   17:00:54                                                          
    Short dump has not been completely stored (too big)                                                 
    Short text                                                                               
    An exception occurred that was not caught.                                                     
    What happened?                                                                               
    The exception 'CX_BBP_PD_ABORT' was raised, but it was not caught anywhere                     
           along                                                                               
    the call hierarchy.                                                                               
    Since exceptions represent error situations and this error was not                             
          adequately responded to, the running ABAP program 'SAPLBBP_PDH' has to be                      
          terminated.                                                                               
    Error analysis                                                                               
    An exception occurred which is explained in detail below.                                      
          The exception, which is assigned to class 'CX_BBP_PD_ABORT', was not caught and                
          therefore caused a runtime error.                                                              
          The reason for the exception is:                                                               
          Incorrect status in pricing                                                                               
    Missing Handling of Application Exception                                                          
          Program                                  SAPLBBP_SC_UI_ITS                                      
    Trigger Location of Exception                                                                      
          Program                                  SAPLBBP_PDH                                            
          Include                                  LBBP_PDHU08                                            
          Row                                      73                                                     
          Module type                              (FUNCTION)                                             
    11

    Normally, this dump happens when BBP_CND_CHECK_CUST transaction is
    carried out and there is an IPC (Internet Pricing Configuration )
    incident.
    In this case, you have to pay atention in the following details:
    Have you attempted restarting the IPC? Are you using the correct
    version  (note 533877)?  Is the IPC active ?  Is IPC running in VMC (
    Virtual Machine Container) ?
    Otherwise, the reason could be that the VMC installation have been
    corrupted:
    I.e: certain files were missed in the installation. Therefore pricing,
    and consequently shopping cart creation fails.
    For a quick solution I propose to apply the latest AP 7.00 pricing
    patch from service marketplace (please follow note 880749 how to apply
    an AP patch). As a patch is always a full installation of all required
    Java parts, pricing should work fine afterwards.
    Additional notes to take a look:
    673372 - explains about the Short dumps UNCAUGHT_EXCEPTION in SRM 3.0,
    4.0, and 5.0
    Regards,
    Daniel
    - if helped please give points -

  • "AP Transactions" Subject Area hitting incorrect Fact table

    Hi Gurus,
    Requirement/Background:
    We have done some customization to "Financials - AP Transactions" subject area i.e. adding 3 new W_DAY_D aliases in physical layer and few custom columns in W_AP_XACT_F.
    I did not create any new BMM tables for new W_DAY_D aliases, just added these new tables in LTS (Fact_W_AP_XACT_F) under "Dim - AP Transaction Details", and put all the custom columns under same Logical table i.e."Dim - AP Transaction Details" mapping correctly to W_DAY_D and W_AP_XACT_F.
    Problem Statement :
    Whenever I add "Purchase Invoice Number" to the query, it hits incorrect fact table i.e.W_AP_AGING_INVOICE_A and gives incorrect results.
    Expected Query : (if I select GL Account Number, Purchase Invoice Number & AP Amount)
    select sum(T333486.AP_LOC_AMT * -1) as c1,
                   sum(T333486.AP_DOC_AMT * T333486.GLOBAL1_EXCHANGE_RATE * -1) as c2,
                   T333486.PURCH_INVOICE_NUM as c3,
                   T334337.GL_ACCOUNT_NUM as c4
              from
                   W_AP_XACT_F T333486 /* Fact_W_AP_XACT_F */ ,
                   W_GL_ACCOUNT_D T334337 /* Dim_W_GL_ACCOUNT_D */
              where  ( T333486.GL_ACCOUNT_WID = T334337.ROW_WID and T333486.PURCH_INVOICE_NUM = '1161/13 CH' and T333486.DELETE_FLG = 'N' )
              group by T333486.PURCH_INVOICE_NUM, T334337.GL_ACCOUNT_NUM
    Current Query it is firing :
    select sum(T333486.AP_LOC_AMT * -1) as c1,
                   sum(T333486.AP_DOC_AMT * T333486.GLOBAL1_EXCHANGE_RATE * -1) as c2,
                   T348360.PURCH_INVOICE_NUM as c3,
                   T334337.GL_ACCOUNT_NUM as c4
              from
                   W_AP_XACT_F T333486 /* Fact_W_AP_XACT_F */ ,
                   W_GL_ACCOUNT_D T334337 /* Dim_W_GL_ACCOUNT_D */ ,
                   W_SUPPLIER_ACCOUNT_D T336997 /* Dim_W_SUPPLIER_ACCOUNT_D */ ,
                   W_STATUS_D T338711 /* Dim_W_STATUS_D_Generic */ ,
                   W_XACT_TYPE_D T338741 /* Dim_W_XACT_TYPE_D_Financials */ ,
                   W_DAY_D T344857 /* Dim_W_DAY_D_Payment_Due_Date */ ,
                   W_DAY_D T348434 /* Dim_W_DAY_D_Purchase Invoice Date */ ,
                   W_DAY_D T351452 /* Dim_W_DAY_D_Purchase Invoice Cleared_Date */ ,
                   W_PAYMENT_METHOD_D T394960 /* Dim_W_PAYMENT_METHOD_D_AP */ ,
                   W_XACT_SOURCE_D T394984 /* Dim_W_XACT_SOURCE_D */ ,
                   W_AP_AGING_INVOICE_A T348360 /* Fact_W_AP_AGING_INVOICE_A */
              where  ( T333486.GL_ACCOUNT_WID = T334337.ROW_WID and T333486.SPLR_ACCT_WID = T336997.ROW_WID and T333486.DOC_TYPE_WID = T338741.ROW_WID and T333486.DOC_STATUS_WID = T338711.ROW_WID and T333486.INVOICED_ON_DT_WID = T348434.ROW_WID and T333486.PAY_METHOD_WID = T394960.ROW_WID and T333486.CLEARED_ON_DT_WID = T351452.ROW_WID and T333486.PAYMENT_DUE_DT_WID = T344857.ROW_WID and T333486.SOURCE_WID = T394984.ROW_WID and T333486.DELETE_FLG = 'N' and T344857.ROW_WID = T348360.PAYMENT_DUE_DT_WID and T336997.ROW_WID = T348360.SPLR_ACCT_WID and T338711.ROW_WID = T348360.DOC_STATUS_WID and T338741.ROW_WID = T348360.DOC_TYPE_WID and T348360.PURCH_INVOICE_NUM = '1161/13 CH' and T348360.PAYMENT_METHOD_WID = T394960.ROW_WID and T348360.INVOICED_ON_DT_WID = T348434.ROW_WID and T348360.CLEARED_ON_DT_WID = T351452.ROW_WID and T348360.SOURCE_WID = T394984.ROW_WID )
              group by T334337.GL_ACCOUNT_NUM, T348360.PURCH_INVOICE_NUM
    "Purchase Invoice Number" is out-of-box present under "Dim - AP Transaction Details" and it is mapped to 4 tables including W_AP_XACT_F & W_AP_AGING_INVOICE_A. It is also set at Detail level in AP Transactions dimension hierarchy.
    Additionally, implicit fact column has also been set. So why it is not hitting W_AP_XACT_F ???
    Thanks in advance.
    Regards,
    Ravi Desai

    You said that the Logical table Date- dim has 2 LTS (Date_dim, Event_closed_date_dim ).
    How you defined this, is it something like
    1) Drag table Date_dim
    2) Select the column Row_wid of Event_closed_date_dim from Physical layer and drop on Row_wid of Logical tabl Date_dim
    With this logical column Row_wid 2 sources. In this case you see 1 logical join between logical table day(with 2 LTS) and fact
    If you followed this way should not have any issues.
    Joins like:
    PL-: Date_dim--->Fact<-- Event_closed_date_dim
    BMM: Date->Fact
    If you have any doubts, just create a new rpd with these table objects
    Check your configuration.

  • Loop thru Status table and start job

    I have a STATUS Tbl, that has a field called CompleteDate.Only if the CompleteDate field has TODAYS Today, then I want to proceed with my ssis task, to
    insert data in some tables. If the CompleteDate Is not yet todays date, then I want to check the status table again every 10 minutes, until the CompleteDate
    changes to TODAYS Date. THEN Start my insert process after that.
    select
    Max(convert(varchar(10),
    CompleteDate, 121))
    from Db.dbo.StatusTable
    I used the WAITFOR DELAY But that doesnot help.
    Any idea. here is the code I am using BUT THAT Comes out of the LOOP and does not keep rechecking the satus table
    declare
    @MaxDt  varchar(10)
    set @MaxDt=(select
    max(convert(varchar(10),
    CompleteDate, 121))
    from DB.dbo.StatusTable)
    --select @MaxDt
    DECLARE
    @flg BIT
    SET
    @flg = 0
    BEGIN
    IF
    EXISTS
    SELECT
    CASE
    WHEN @MaxDt
    >=convert(varchar(10),
    getdate(), 121)
    THEN 1
    ELSE 0
    END     
    SET @flg
    = 1
    WAITFOR
    END
    set
    DELAY
    '00:10:00'

    >If the CompleteDateIs not yet todays date, then I want to check the status table again every 10 minutes,
    It is safer to setup the stored procedure as a scheduled job without the WAITFOR.
    BOL: " Creating Jobs
    A job is a specified series of operations performed sequentially by SQL Server Agent. A job can perform a wide range of activities, including running Transact-SQL scripts, command prompt applications, Microsoft ActiveX scripts, Integration Services packages,
    Analysis Services commands and queries, or Replication tasks. Jobs can run repetitive or schedulable tasks, and they can automatically notify users of job status by generating alerts, thereby greatly simplifying SQL Server administration.
    To create a job, a user must be a member of one of the SQL Server Agent fixed database roles or the sysadmin fixed server role. A job can be edited only by its owner or members of the sysadmin role. For more information about the SQL Server Agent fixed database
    roles, see SQL Server Agent Fixed Database Roles.
    Jobs can be written to run on the local instance of SQL Server or on multiple instances across an enterprise. To run jobs on multiple servers, you must set up at least one master server and one or more target servers. For more information about master and
    target servers, see Automating Administration Across an Enterprise"
    LINK:
    http://technet.microsoft.com/en-us/library/ms186273(v=sql.105).aspx
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • JDBC Lookup - Import table data from a different schema in same DB

    Hi XI Experts,
    We are facing an issue while importing a Database table into the external definition in PI 7.1.
    The details are as below:
    I have configured user 'A' in PI communication channel to access the database. But the table that I want to access is present in schema "B". Due to this, I am unable to view the table that I have to import in the list available.
    In other words, I am trying to access a table present in a different schema in the same database. Please note that my user has been given all the required permissions to access different schema. Even then, I am unable to access the table in different schema.
    Kindly provide your valuable suggestions as to how I can import table which is present in another schema but in the same Database.
    Regards,
    Subbu

    If you are using PI 7.1, then you can do JDBC Lookup to import JDBC meta data (table structures from DB). Configure a jdbc receiver communication channel where you specify username and password which has permission to access schema A and Schema B of database. Specify database name in the connection string. Then you might have access to import both schema.
    Please refer these links
    SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups
    How to use JDBC Lookup in PI 7.1 ?

  • Why is it when i update my status on facebook from iohone it splits the updates into two differents boxes with some funky symbol. I have uninstall facebook and installed it over and it still does it. only the facebook IPHONE app.

    why is it when i update my status on facebook from iphone it splits the updates into two differents boxes with some funky symbols at the beginning.. I have uninstall facebook and installed it over and it still does it. only the facebook IPHONE app where it says to update staus text to FBOOK  i have already update my phone too.
    if i go on the facebook site and update there through a brower on iphone it will work fine just cant us IPHONE mobile upload,  . But its a pain of not using my IPHONE APP for facebook cause it does that.

    The warranty entitles you to complimentary phone support for the first 90 days of ownership.

  • Status keeps changing from invisible to online: why the issue is ignored?

    There is a serious issue raised in the parallel thread, which is critical for many people: "Status keeps changing from invisible to online" (initiated on ‎16-11-2014 by b.agne, Mac section). In short, when starting using a device, the Skype status changing from "invisible" to "online" - sometimes just for a moment, though enough for others to notice you. These affects very much any type of devices. I am sure the issue has already led to multiple personal crisises and potentially financial losses due to buseness partnership issues (I came close to that myself, and now use anything but Skype for business). The question is: WHY the issue is completely ignored by Skype, Microsoft and expert comunity? Please post the solution if anybody knows how to fix the issue, or suggest how to make Microsoft to know that it should be fixed. Kind regard...

    Hi, I also have the same issue. I change the status to Invisible and a later on it is already as "Online", without having even touched/opened Skype. The only way that I see this may happen is that I have the app installed on the smartphone, but before it never had this issue, but from some month ago it started. Any correction or suggestion to work around this issue? Regards

  • How get all table name from database

    hi master
    sir
    how get all table name from database

    The big question is 'why'.
    Selecting from view 'dba_tables' will indeed give the list of all tables in the database, but that includes the dictionary tables and the internal tables, and many others that are probably not of interet to a person who needs to ask this question. Besides, the dba_tables view requires access to a DBA account.
    There are several other views: "user_tables" will list all the tables in this user's schema; and "all_tables" will list all the tables this user can access in some way.
    The above do not, of course, include any information about synonyms, sequences, views, indexes and so on.
    The correct answer and the meaningful answer may be two different things.

  • Incorrect status in FM report for paid invoices

    hello,
    I'm working in ECC 6.0 with Former budgeting.
    I have several invoices which are created in 2008 but paid in 2009 or in 2010. There are then different fiscal year impacted. 
    When the invoices are paid, they don't have the value type Payment  - Amount type Paid in FM report (FMRP_RFFMEP1AX - All Postings). The invoices still have the status Invoices Original.
    As the invoices dont have the status Paid, they are carryforwarded to the next year.
    How can I correct that?
    When I use the transaction FMF0, the invoices are updated with the current year (2011) in FM report.
    And this is not correct.
    Is there any customizing to avoid the incorrect status of paid invoices in FM report?
    Thank you for your help,
    Kind regards,
    Chiachen

    Hello Chiachen
    Please, check your settings in t-code OF29: do you have the flag 'Deactivate check on fiscal year change' On? if you have this flag marked, this could be a reason why you are facing this issue.
    You can find good information in the F1 help of such field.
    In addition, please review note[400924 Recommendations and rules for the payment transfer in FM|https://service.sap.com/sap/support/notes/400924]
    cheers
    Mar

  • How To Update A Table View From Client Side !!!!

    Hi I would like to update a table view from the Client Side. So that the user can keep updating the relevent data on the client and when they have finally finished they can press Save so the entire page is then sent to the Server.
    Does anyone know how to do this, I guess u have to use the EPCM, I have just started on it and would really appreciate some Help.
    Thanks,
    Emmanuel.

    This is what I found :-
    There are a couple of ways to approach this.
    1) load the excel spreadsheet into the database "as is". You can use interMedia
    text to convert the .xls file into a .htm file (HTML) or use iFS (see
    http://technet.oracle.com/
    for
    more info on that) to parse it as well. InterMedia text will convert your XLS
    spreadsheet into a big HTML table (easy to parse out what you need at that
    point)
    2) Using OLE automation, a program you write can interact with Excel, request
    data from a spreadsheet, and insert it. Oracle Forms is capable of doing this
    for example as is other languages environments. In this fashion, you can remove
    the "manual" and "sqlldr" parts -- your program can automatically insert the
    data.
    3) You can write a VB script that uses ODBC or Oracle Objects for OLE (OO4O) in
    Excel. This VB script would be able to put selected data from the spreadsheet
    into the database. We would recommend OO4O. It provides an In-Process COM
    Automation Server that provides a set of COM Automation interfaces/objects for
    connecting to Oracle database servers, executing queries and managing the
    results. OO4O is available from
    http://technet.oracle.com

  • SSRS Report Manager error "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500"

    Hi All,
    I am getting error "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500"
    in one of my Test Environment when trying to run the SSRS 2012 report from report manager.
    Any clue why it is happening.
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Hi All,
    Upon investigation found that there was no space (0 Byte is available) in E drive where underlying SQL DB is residing. 
    Once I cleared the space, report started working and above error was not displaying. 
    Thanks Shiven:) If Answer is Helpful, Please Vote

Maybe you are looking for

  • How to clean the connectors on internal hard drive for oil?

    Hi I've a 2008 Mac Pro 3.0GHz with 4 internal hard drives...while putting in the newest internal 1 TB hard drive, the guy who did this pointed to the brass/copper connector bit on the hard drive, the part that slots into the motherboard connector in

  • Can I put attachment within an email instead of at the end of the message in mail?

    Can i put an attachemnt within an email message instead of at the end of the message?

  • Bookmarks and zoom of pages

    I created a pdf file with a lot of bookmarks with Acrobat 9 Pro. I set the pages zoom as "fit to the window". But when I use a bookmark, the page opens in a larger zoom to focus on the bookmarked object. This I don't want. Fit to window is what I wan

  • Webutil and Headstart

    Hi, I'm configuring webutil on my oracle 9ias release 1.0.2.2.2a. If i run a config without webutil configuration, my forms runs normally. But, if I run a form on web with webutil config, I receive a popup alert from FORM with no message inside. Ther

  • International texts

    Trying to send a text to an international number but it says "Network Out of Order".  What do I do?  Number is to a Vodafone in Egypt.