Query transaction history infotype 768

Hi!
Is possible create a user query for history transaction history in infotype 768?
I don't know what is the table.
In infotype 0768 if we press "See transaction history" button we can see this records:
Trans.ty.     PC no     Trans.date             Send.date             State                Error code
PB          0             23.03.2011     08.04.2011     ENVIADO        
PA          0             24.03.2011     08.04.2011     ENVIADO        
But when I try to indentify de origin of this information with the technical information I can't find the table and field that I should query.
How can I find the table and fields where this data are stored to query it?
Kind regards,
Julian.

Hi Julian,
.FDI History data is held in table T599SE. You have PERNR, TYPRO and ADDAT fields to help you identify your records (among others).
Yes you can add it in your query but you would have to enhance your infoset and add some custom ABAP.
Cheers.
Antoine

Similar Messages

  • Best practices for creating and querying a history table?

    Suppose I have a table of name-value pairs, and I want to keep track of changes to them so that I can query the value of any pair at any point in time.
    A direct approach would be to use a schema like this:
    CREATE TABLE NAME_VALUE_HISTORY (
      NAME      VARCHAR2(...),
      VALUE     VARCHAR2(...),
      MODIFIED DATE
    );When a name-value pair is updated, a new row is added to this table with the date of the change.
    To determine the value associated with a name at a particular point in time, one uses a query like:
      SELECT * FROM NAME_VALUE_HISTORY
      WHERE NAME = :name
        AND MODIFIED IN (SELECT MAX(MODIFIED)
                        FROM NAME_VALUE_HISTORY
                        WHERE NAME = :name AND MODIFIED <= :time)My question is: is there a better way to accomplish this? What indexes/hints would you recommend?
    What about a two-table approach like this one? http://pratchev.blogspot.com/2007/05/keeping-history-data-in-sql-server.html
    Edited by: user10936714 on Aug 9, 2012 8:35 AM

    user10936714 wrote:
    There is one advantage... recording the change of a value is just one insert, and it is also atomic without the use of transactions.At the risk of being dumb, why is that an advantage? Oracle always and everywhere uses transactions so it's not like you're avoiding some overhead by not using transactions.
    If, for instance, the performance of reading the value of a name at a point in time is not important, then you can get by with just using one table - the history table.If you're not overly concerned with the performance implications of having the current data and the history data in the same table, rather than rolling your own solution, I'd be strongly tempted to use Workspace Manager to let Oracle keep track of the changes.
    You can create a table, enable versioning, and do whatever DML operations you'd like
    SQL> create table address(
      2    address_id number primary key,
      3    address    varchar2(100)
      4  );
    Table created.
    SQL> exec dbms_wm.enableVersioning( 'ADDRESS', 'VIEW_WO_OVERWRITE' );
    PL/SQL procedure successfully completed.
    SQL> insert into address values( 1, 'First Address' );
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> update address
      2     set address = 'Second Address'
      3   where address_id = 1;
    1 row updated.
    SQL> commit;
    Commit complete.Then you can either query the history view
    SQL> ed
    Wrote file afiedt.buf
      1  select address_id, address, wm_createtime
      2*   from address_hist
    SQL> /
    ADDRESS_ID ADDRESS                        WM_CREATETIME
             1 First Address                  09-AUG-12 01.48.58.566000 PM -04:00
             1 Second Address                 09-AUG-12 01.49.17.259000 PM -04:00Or, even cooler, you can go back to an arbitrary point in time, run a query, and see the historical information. I can go back to a point between the time that I committed the first change and the second change, query the ADDRESS view, and see the old data. This is invaluable if you want to take existing queries and/or reports and run them as of certain dates in the past when you're trying to debug a problem.
    SQL> select *
      2    from address;
    ADDRESS_ID ADDRESS
             1 First AddressYou can also do things like set savepoints which are basically named points in time that you can go back to. That lets you do things like create a savepoint for the data as soon as month-end processing is completed so you can easily go back to "July Month End" without needing to figure out exactly what time that occurred. And you can have multiple workspaces so different users can be working on completely different sets of changes simultaneously without interfering with each other. This was actually why Workspace Manager was originally created-- to allow users manipulating spatial data to have extremely long-running transactions that could span days or months-- and to be able to switch back and forth between the current live data and the data in each of these long-running scenarios.
    Justin

  • Want Transaction History for Particular Transaction for Particular User. .

    Hello Friends,
    I have one query.
    I want to get detailed Transaction History for Particular Transaction for Particular User_Id for particular Time/Date period, with his/her Terminal ID info ,also.
    One USER_ID in SAP Server is shared among 6-7 people to do their work.
    So, I want to know that from which terminal that user has run that transaction to do its work on particular Date/time.
    I tried STAT, STAD, ST03N,  but did not help me very much to get deep level information.
    May be, i am missing something to get the solution for this kind of situation.
    Any Solution for this kind of Situation ?
    I am waiting for your valuable Response.
    Regards,
    Bhavik Shroff

    I want to get detailed Transaction History for Particular Transaction for Particular User_Id for particular Time/Date period, with his/her Terminal ID info ,also.
    ST01 will give you the Result after switching on the TRACE. I want to get Transaction History for a particular DAY/Weeks/Month .
    e.g.
    One User Id is shared among 6-7 people. One of the person did something using FB08 transaction on last 08/07/2008. But, as the User ID is shared among several User, How can i know the person who did that change and from which place/Terminal.
    See,
    I have the following information to fire the search.
    -> User Id information
    -> which transaction he/she used to do that work
    -> When he did the change for something (means i know the exact date)
    But , I want to know ,from which Terminal he/she executed that transaction, as the User ID is shared among several people.
    You tell me the way ,so that i can have total required information for this kind of situation.
    If  i am wrong at any step , then let me know.
    Regards,
    Bhavik Shroff.

  • HT1918 How can I see ALL transaction history in my account.  Specifically, I would like to see the gift cards I have redeemed for my account.  I know I have over $200 in my account but it is not showing the balance anywhere.  Any ideas?!?!?

    How can I see ALL transaction history in my account.  Specifically, I want to review the gift cards I have redeemed but the amounts are not showing up in my account.  I know I have over $200 in my account and I am unable to access it.  The site wants me to pay by credit card and I don't want to do that.  Any ideas how I can recover the money in my account?

    You can only view your account's purchase history, you can't view a history of card redemptions.
    My account's balance shows at the top left of the store's page on my computer's iTunes, and by logging in to view my account via the Store > View Account menu option. On my iOS devices it shows at the bottom of, for example, the Featured tab in the App Store app under my account id (or you can view your account via Settings > iTunes & App Stores and it should show on the screen that you are taken to).
    To view your purchase history : log into your account on your computer's iTunes via the Store > View Account menu option, you should then see a Purchase History section with a 'see all' link to the right of it. Click on that and you should then see a list of your purchases.
    You've tried logging out and back into your account to see if your balance then shows ? If not, and you can't see where it might have been spent, then you could try contacting iTunes Support and see if they can help : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How to find out whether a material code in SAP has any transaction history

    Hi Guys,
    I want to find out whether a material code in SAP has any transaction history or not. In other words, I want a list of all those materials, division-wise, which have not been subjected to any sort of transaction in SAP till date , i.e., lying unused.
    Can any of you in help me out regarding this matter ?
    Regards,
    Anirban

    hhi
    go to se16
    table         MBEW  and field LBKUM for total stock
    from here u can conclude for the zero stock material
    or try this
    S_ALR_87012963 - Material Where-Used List
    regards
    kunal

  • Copy of Transaction History from source Tran to subsequent Tran

    Hi Experts
    I have a requirement where I need to copy the Transaction History (DOC FLOW) of the source Transaction(Service Complaint) to Targert Transaction(Repair Order). 
    i.e when Repair Order is created as Follow-up transaction from the Service Complaint(It has Service Contract in the Transaction History), while Repair Order creation it prompts the Item to copy from Compalint , Item is getting copied to Repair Order successfully, but Item related Service Contract is not copying from the Compalint Transction History to Repair Order.
    Here I can impliment CRM_COPY_BADI, Method DOC_FLOW to copy Service Contract from the Transaction History of the Compalint to Repair Order.
    If my approach is correct, Please share the sample code from the  Method DOC_FLOW for this.
    if it is not correct way of doing, Kindly suggest me the other way to achive this.
    Thanks
    Chand

    Hi Chand Basha Shaik 
    While creating the follow up documents we can make use of CRM_COPY_BADI , to fill the required standard fields or custom fields.
    You can make use of several API function modules related to document flow say for example if your want to read any runtime data from buffer related to document flow we can make use of the function module CRM_DOC_FLOW_READ_DB. Given the relevant code snippet
    CALL FUNCTION 'CRM_DOC_FLOW_READ_DB'
              EXPORTING
                iv_header_guid = lv_guid
              IMPORTING
                et_doc_links   = lt_doc_links
              EXCEPTIONS
                error_occurred = 1
                OTHERS         = 2.
    Thanks & Regards
    Raj

  • SAP Query on Custom Infotypes

    Dear friends,
       Is it possible to generate SAP Query on Custom Infotypes.
       As I am trying them and while creating Infogroup on my custom Infotype fields, It is not getting generated.
       Could you please suggest how to proceed.
    Thanks in Advance,
    Regards,
    Satya.

    hi,
    I think its not possible to fetch custom infotype fields using SAP Query....ask your abap consultant to write a simple report...that wil do....

  • Account Overview Screen with no sales, service order & Transaction history

    Hi All,
    I have come across an issue with Account Overview link in IC webclient CRM 5.0.
    One Z Webclient profile is created (ZSERVICE) which is assigned to few users. When user with this profile logs in and confirms any acc. ID on Identify Account screen, if he goes to Acc. Overview screen the viewareas for Sale Order History, Service Order History and Transaction History shows zero entries even if there are entries for given Acc. ID.
    Identify Acc. is using Z BSP Z_SV_IC but acc. overview is using the std. BSP crm_ic_ovw.
    Is this a problem with IC webclient configuration in SPRO or a problem at BSP level. please Help.
    Regards,
    Sameer

    Hi John,
    Thanks for the reply.
    My problem is not with Interaction history screen but with account overview screen. On interaction history screen I can find the interactions for given Acc.ID. But after I confirm the account on identify account screen when I click on account overview screen I can see few details of that account on acc. overview screen but the other details are blank. And ofcourse I cant directly go to acc. overview screen without confirming the acc. ID as the account details on this screen are readonly.
    Also you said 'Maybe a problem with your custom controller?' .. can you throw some more light on this.
    Regards,
    Sameer

  • Refresh Follow up Transaction History Assignment Block on Save

    Hi All,
              I am doing a requirement where I am creating follow up Chargeback document (marketing) from Claim on click of Save.
    I am able to create it using code written in manual button event handler, but the transaction history of the document is not refreshed immediately.
      Though when i open the follow up document it is there and when I open the original document again it is there as well. That is, though the link has been created, but how to refresh data of transaction history assignment block on click of Save button of preceding document.
       Please suggest if someone has worked on a similar scenario somewhere (may be from Lead to Oppt creation on save).
    Thanks and Regards,
    Rohit Khetarpal

    Hi Rohit
    I believe it is in the buffers so maybe you need to trigger an Server Roundtrip dude on this scenario so that refreshing happens and the same gets reflected on the UI
    (OR)
    Since it is in the overview page do a reread on the entity say in do_prepare_output to get the latest one
    (or) use the publish_current()  to publish the entity in do_prepare_output.(this will automatically do a re-read i believe)
    Thanks
    Abishek

  • Make a G/L account code (with transaction history) as control account

    Hi,
    Currently G/L account code = 10001 is not control account at the beginning.
    It had few transaction records with this account code, however I had try to make adjustment so that the balance become "0"
    But when I try to check box on the control account, it doesn't work.
    So just wonder is it possible to make a account code with transaction history to become a control account?
    Thanks

    Hi
    You can't be change the code after transaction.
    Because it's stored in transaction history.
    Even after if your account balance is zero.
    Thanks
    Mohammad Imran

  • Table Name needed Transaction History

    Hi all,
    I have a custom transaction type, which has leading Transaction Category - "Business Activity".
    When I look at document in IC center according to my custom transaction type I see that document header has tab Transaction History and there I if goto on Transaction I see  that some Object was created (Product Registration). I able to find "Business Activity" document in table CRMD_ORDERADM_H by Process type = My Custom Transaction Type.
    My question is...What table stores created Transactions in the TAB Transaction History?
    Please kinldy suggest me table names where I can look. I'm new in CRM.
    Thank you,
    Maria.

    Thank you Aydin. FM CRM_DOC_FLOW_READ_DB helped me.

  • No user group created - Adhoc Query transaction error

    Hi there,
    Whenever I try to access the Adhoc Query transaction S_PH0_48000513 i get the error "No user group created". The required user groups are present in the system.
    Any idea why am I getting this error?
    Regards,
    Anjali.

    Hi Anjali,
    Pls check if the infoset of your query is assigned to the user group through SQ02-> Role/User gr. Assignment.
    Regards,
    Dilek

  • Query for HRP infotypes

    Hi,
    Can anyone please give me the information about the follwing issue : How can i create a Adhoc query for JRP infotypes (IT 1000, 1001& 1002 etc).
    Requested you to please help me in this regard.
    Thanks & Regards,
    Naga

    first go to Sq02
    On the left hand side there is a field by the name of infoset.
    Give any appropriate name. Then click on create button.
    then a screen will appear , write the name. In data source field click on Logical Database . Here you have to select PNPCE, PAP, PNP according to your requirement.
    If you want to create Query on anything related to applicant select PAP. If ur query is based on Master data select PNPCE.
    After selecting click on tick mark (green in colour) which is given below. A screen with different folders of infotypes will appear. Select the required infotypes which you want accoridng to your requirement. Then click on tick mark again.
    Then click on generate button (red & white in colour) (3rd button from the left). A screen will appear with the name
    create object directory entry. Here you have to click on local object button.. you will now see that the system haas generated a Message saying "Infoset------- generated.
    In sq02 there is a button with the name Role/User Group Assignment . Assign the user group out here.
    Then go to SQ01, click on infoset query. Select ur user group. You can see the name of the query which you have created.

  • List of roles and corresponding transactions and infotypes

    Hi Friends,
    I want to prepare baseline list of roles and corresponding transactions and infotypes that we have access to in Production system. Please let me know easiest way.
    Thanks,
    Ankitha

    In [this thread|Security - HR Authorizations; you'll find a similar question and some suggestions. Once you've got your roles it should be fairly easy to determine which transactions are in them.
    Jurjen

  • Query transaction that is 10 mins apart

    How do I query transactions that is 10 mins apart. These
    transactions are timestamped as they were entered

    chris,
    I dont know how far this query helps you but the below query gives you the time which is 10min before the sysdate.
    select to_char(sysdate -0.00694,'DD-MON-YY HH24:MI') from dual;
    =Murali Mohan=

Maybe you are looking for