Regarding the table cdhdr

Hi All,
  i want to see the changes made to the salesorder in CDHDR table how can i see i.e what are the values  need to pass to the CDHDR table and in which fields in table i need to pass,
Regards
krishna

Call transaction SCDO you will get a list of document objects, look for "Sales document" you get the code : VERKBELEG.
You could also call transaction SE16 on table TCDOB "Objects for change document creation", and select the record with TABNAME = 'VBAK' or 'VBAP'.
If you look the data in your system, yon can find how to fill the OBJECTID field. Its VBAK-VBELN in internal format (that is with leading zeroes)
Else go back to SCDO and display "Generation Information", you get the update task function module that updates the database "VERKBELEG_WRITE_DOCUMENT". Go to SE37 and use Where-used you will get the calling programs, here only a routine CHANGE_DOCUMENT_CREATE of program include MV45AF0C_CHANGE_DOCUMENT_CREAT call the function module, double-click on the call  and you find the code
MOVE VBAK-VBELN TO DA_OBJECTID
Regards

Similar Messages

  • Unable to join the tables CDHDR, CDPOS

    Hello,
    I want to create a Query connecting tables CDHDR & CDPOS to extract cost center details which are changed. To be precise, when cost center details are changed using transactions KS02 & KS03, I want to extract those details and run the report. I am unable to join the tables using SAP Queries SQ01, SQ02, SQ03.
    Kindly suggest me regarding the same.
    Thanks in advance.
    Regards
    Sravan Mulumudi.

    Hi Jeve,
    I was testing the report S_ALR_87012308, but this displays changes done to G/L accounts. I have tried every possibility. Could you please explain further ?
    Regards
    Sravan.

  • Regarding the table control in bdc

    Hi Abap Gurus,
    my requirement is how to extend the table control in bdc? i have searched in the sdn but not found the proper code.
    i think we have to use the =P+ code .  if possible post the sample code.

    Use the search tool, or go to [How to scroll a table control?|http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-Howtoscrollatablecontrol%3F] in [Batch Input FAQ |http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ] (not every transaction uses the same code)
    Regards,
    Raymond

  • Regarding the tables

    hi,
      i am fetching data field from the table.
    it consists of some 10 dates,i want to get the recent date among them.
    can any one help with the code.
    it is very urgent.
    thanks in advance

    Hi,
    Can you be little clear with your problem,
    Not sure if this is what you want but still check this out.
    DATA: itab type table dats with header line.
    APPEND dat1 to itab.
    Append all your dates to ITAB.
    SORT ITAB DESCENDING.
    READ TABLE ITAB INDEX 1.
    write: itab.
    Regards,
    Sesh

  • Regarding the table type

    hi,
    this is the requirement
    iam selecting a field from a data base table and passing that field to an import parameter of a function module.
    the type of the import parameter is table line type.
    how to pass data to that variable which of table type.
    table type : /SAPAPO/RESID_TAB. "there is a field of type this in FM
    DATA : LOC_IT_RESOURCE type /SAPAPO/RESID_TAB .
    DATA : L_IT_RESOURCE like /sapapo/res_head-RESUID.
    now if i have to pass value from L_IT_RESOURCE  to LOC_IT_RESOURCE
    how shd i assign value?
    can anyone suggest an answer for this.
    thanks in advance

    Move individual common values from one table to another table ..
    using LOOP .. ENDLOOP.
    Some fields will be common in both table...
    LOOP AT L_IT_RESOURCE.
    move common values to wa of LOC_IT_RESOURCE
    append wa to LOC_IT_RESOURCE.
    ENDLOOP.
    reward if useful
    Regards
    Prax

  • Track the changes in the entries of the table

    Hi,
    How to c when and by whom the stnadard table has been modified.
    Through SPRO some changes are done which are getting reflected in a standard table.
    Though Log data changes in the technical settings of the Table in se11 is checked, im not able to c the changes using the tcode scu3.It displays  "No logs Found" .
    I tried to search the tables CDHDR and CDPOS,but of no use.
    Please give some inputs in this regard.
    Thanks in Advance.
    Dharani.

    Dharani,
    Just some additional info:-
    Open the table in SE11.
    go to Utilities in the Menu bar
    click onVersions- versions management
    You will be able to see the current active version which is indicated by a tick mark in the extreme left.
    Down that you will  be able to see the previous version
    Now select this previous verion.(i mean tick it).
    press f8 or the button with two down arrows to compare.
    In this way you will be able to see even the modification too which are highlighted.
    The same applies to programs in se38 too.
    K.Kiran.

  • To know the table names that contains changed and old PO values.

    Dear All,
            Please let me on the table names that contains changed PO value and old PO value details for which I'll be grateful.
    Regards,
    S.Suresh

    Hello,
    Check the table CDHDR and CDPOS.
    Cheers,
    Vasanth
    Edited by: Vasanth M on Feb 18, 2008 12:08 PM

  • Change Documents for the table EKET

    Hi ,
    We create a purchase order from ME21N . We do have some data for delivery schedule for the data .
    This delivery schedule data gets stored in tabe EKET . When this PO is processed from V_V2 the dates
    in the  delivery schedule are overwritten and he new values will be even in the table EKET .  When I follow  
    the navigation  Environment -> Item Changes  I dont see the changes documents for these fate fields . I did
    debug through the FM   EINKBELEG_WRITE_DOCUMENT to see but it looks like it is not captuirng the fields .
    Now my requirement is to find where the change documents can be found for the date changes in the delivery
    schedule tab in the PO .  The fields of interest are  :
    EKET-SFLDT , EKET-DAT01, EKET-MBDAT , EKET-LDDAT , EKET-WADAT .
    I tried for some OSS notes too, but in vain . Can anyone please help to find out how we find the changes documents for these fields .
    <b>Also please tell me if there are any OSS notes which explain us to extend the table EKET .</b>
    Thanks and Regards ,
    Varun  .

    HI ,
    I did check the table CDHDR and CDPOS and also the change document is checked for the data element but no change documents are stored in CDHDR and CDPOS .
    <b>Did anyone ever extend the tabke EKET ? Any OSS notes available for this .</b>
    Regards ,
    Varun .
    Message was edited by: varun sonu

  • Condition information is not reflecting in tables CDHDR and CDPOS

    Hi,
    When a Purchase order condition information is changed or created, the changes are not reflecting in the table CDHDR and CDPOS.
    Please can someone suggest a solution .

    Hi Raj
    When there are any changes in the conditions, the overall difference will be reflected in field <b>EFFWR i.e Effective Value of Item.</b> Please check...
    Kind Regards
    Eswar

  • SPM Job + table CDHDR

    hello Experts,
    I have a problem regarding the firefighter job that runs every day--> /VIRSA/ZVFAT_V03
    We have planned on our system one hourly job /VIRSA/ZVFATBAK and the above mentioned.
    The last month the job is being cancelled offen because of the message :
    TSV_TNEW_PAGE_ALLOC_FAILED:No storage space available for extending the internal table
    First we implemented the solution witbin the note 14312190 were we created new indexes for the table CDHDR and the first two days the job was succesfull, after it failed again every once in a while. For your information our table CDHDR has 220 million entries, which is rather big.
    Before i check this problem from the Basis side, because depending on the message it is a Basis problem, is there any other optimization i can perform ? like using the SPM log data auto archive function? or maybe somehow archiving table CDHDR which is probably causing the problem?
    Best regards,
    david

    Hello Alpesh,
    the note 1039144 is the one that we implemented with the new indexes.
    But thanks anyway, i checked it again and i saw i forgot to set the value to Yes in the Configuration of the tool in : Retrieve Change Log.
    I will check if the job will run succesfully the next days.
    Best regards,
    david

  • How to find program/TCODE which has updated the tables

    Hi All,
    Is there any way to find out program or transcation which has updated the tables.
    BR
    Kamal

    you can see in the table CDHDR or CDPOS which will give you the transaction code and program names.
    Regards,
    Krishna

  • Find User Created the table Entry

    Hi All,
    This is my scenario , I've one Custom Table ztable which is there in the quality system and entries will be made in the table and it would be transported to the production system. Now My problem is this I've received one wrong entry in the table because of that i'm getting short dump in one of my application. Is there anyway to find out who has made the entries in the table and transported it. Table doesn't have entries like created by or created date like what we have in standard tables. Considered that tranport would be within a month.Your Solution is appreciated.
    Note : This is regarding the table contents not table.

    Hi Anand,
      Do the below.
    First go to Se16 and give table E071 and in the 
    selection  screen give Object = 'TABU' and Obj_Name
    = your Ztable name. It will give you all the
    trasport requests which are used for transporting table
    contents of you Z table. Then take the latest request
    and go to table E070  and give the request and check
    the entries, it will give you who created the request
    and when it is trasported like deatils.
    Hope this will help you , just give atry. But you will definitly know who tranported the table contents, it will give you the user id.
    Thanks & Regards,
    Siri.
    Message was edited by: Srilatha T

  • How can I select a radio button in a table regarding the data in the cells?

    Hi everyone
    This is the issue: I need to select the RadioButton which is in a table with data related to transfers in the cells next to it, so I need to select the correct radio regarding the data next to it.
    This is the whole process: First I go to the Add Recurring Transfer section and select the parameters of the transfer (Accounts, date, amount, months etc), then with VB code I capture those parameters from the page and store them into Global variables for further usage on my E-tester script.
    Right after that I need to select the radiobutton regarding the data of the transfer that I already created in order to delete it or modify it (Please see Attachment selectradio1.jpg)
    So How can I move along the table and compare each cell with the variables that I created with the transfer information, so when I finish comparing a row cell by cell and if all the comparison match well in that row, I could select the radiobutton of the row.
    Note: Second Attachment selectradio2.jpg shows the source code of the table...If you need more info please let me know
    Could you please help me with this problem?? I'm Kind of frustrated with this issue jejeje

    Here is an example. I uploaded mock html so that you can actually try this code. I think this does exactly what you are asking.
    Private Sub RSWVBAPage_afterPlay()
    Dim tbl As HTMLTable
    Dim tblRow As HTMLTableRow
    Dim tblCell As HTMLTableCell
    Dim strValue As String
    Dim rButton As HTMLInputElement
    ' ******** This would be your global variable. I put this so that values are seperated by a semicolin you can use what ever format works for you.
    strValue = "03/22/2008;03/22/2008;*************1977;*************1977;$25.25;Jan, Jun, Jul, Dec"
    ' Strip out the ; for inner text comparison
    strValue = Replace(strValue, ";", "")
    ' This will get the table but can be modifoed to be more specific
    Set tbl = RSWApp.om.FindElement(, "TABLE")
    ' This loops through all the rows in the table until a match to the strValue is found
    ' then clicks the radio button. Findelements allows you to specify a root element
    ' once the correct root row is found, FindElemets can get the correct radio button
    For Each tblRow In tbl.rows
      If tblRow.innerText = strValue Then
        Set rButton = RSWApp.om.FindElement("account", "INPUT", "NAME", , , tblRow)
         rButton.click
       End If
    Next
    End Sub
    I also uploaded the script I created. You should be able to run it and see how it works.
    This should get you going.

  • Problem regarding the creation of Table using CSS.

    Hi ,
    Here I have a Problem regarding the creation of Table using CSS.
    In My Application i have a table with multiple rows(Rows are Dynamically added to the table).First i am setting the table with the following properties:
    width:900px;
    height : auto,
    Overflow : visible,
    Max-height: : 200px.
    If I use above properties,I'm getting a table with 5 or 6 rows(height upto 200px).After that i am getting the Vertical ScrollBar.
    The problem is when a table has many columns, Vertical and Horizontal Scrolls are coming at the time of setting the table. The table height is not Increasing dynamically.
    How can i use "height" property in CSS? (I want the table height to be increased when the columns are more.)
    Thanks & Regards
    Madhavi

    Hey humble user. Errr I'm trying to understand what ur trying to do. U want to create a section of a region destructively from an existing region right? If so select the option convert to new region (opt-comm-R or selecting it by right clicking). Check your audio bin to make sure. Whats the "merge" function? Are u refering to the glue tool?

  • Regarding page down in the table control veritcally

    Hi all,
              I have an issue regarding page down in the Table control in module pool , i.e when i m click the vertical scroll bar and going for page down then , the control is flowing to the next sceen which is not needed , and it shuld just scroll down and up vetically.
    Can anyone help me how to handle the page down event ?
    Thanks & regards,
    satya

    Table Controls: Examples with Scrolling
    The following example processes a table control with LOOP without parallel loop using an internal table. In addition to the scroll bar, the user can also carry out program-controlled scrolling with function codes.
    REPORT demo_dynpro_tabcont_loop.
    CONTROLS flights TYPE TABLEVIEW USING SCREEN 100.
    DATA: ok_code TYPE sy-ucomm,
          save_ok TYPE sy-ucomm.
    DATA: itab TYPE TABLE OF demo_conn,
          fill TYPE i.
          TABLES demo_conn.
    DATA: lines TYPE i,
          limit TYPE i.
    SELECT * FROM spfli INTO CORRESPONDING FIELDS OF TABLE itab.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
      DESCRIBE TABLE itab LINES fill.
      flights-lines = fill.
    ENDMODULE.
    MODULE fill_table_control OUTPUT.
      READ TABLE itab INTO demo_conn INDEX flights-current_line.
    ENDMODULE.
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE read_table_control INPUT.
      lines = sy-loopc.
      MODIFY itab FROM demo_conn INDEX flights-current_line.
    ENDMODULE.
    MODULE user_command_0100 INPUT.
      save_ok = ok_code.
      CLEAR ok_code.
      CASE save_ok.
        WHEN 'NEXT_LINE'.
          flights-top_line = flights-top_line + 1.
          limit = fill - lines + 1.
          IF flights-top_line > limit.
            flights-top_line = limit.
          ENDIF.
        WHEN 'PREV_LINE'.
          flights-top_line = flights-top_line - 1.
          IF flights-top_line < 0.
            flights-top_line = 0.
          ENDIF.
        WHEN 'NEXT_PAGE'.
          flights-top_line = flights-top_line + lines.
          limit = fill - lines + 1.
          IF flights-top_line > limit.
            flights-top_line = limit.
          ENDIF.
        WHEN 'PREV_PAGE'.
          flights-top_line = flights-top_line - lines.
          IF flights-top_line < 0.
            flights-top_line = 0.
          ENDIF.
        WHEN 'LAST_PAGE'.
          flights-top_line =  fill - lines + 1.
        WHEN 'FIRST_PAGE'.
          flights-top_line = 0.
      ENDCASE.
    ENDMODULE.
    The layout of screen 100 is:
    A resizable table control called FLIGHTS is defined. The fields of the table control are transferred from the structure DEMO_CONN in the ABAP Dictionary. The first two columns are lead columns. The corresponding fields are output fields. A title bar, column headers, and a selection column are created. The component MARK of type character with length 1 from structure DEMO_CONN is assigned to the selection column. You can select one column and several lines.
    It has the following flow logic:
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      LOOP WITH CONTROL flights.
        MODULE fill_table_control.
    ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE cancel AT EXIT-COMMAND.
      LOOP WITH CONTROL flights.
        MODULE read_table_control.
    ENDLOOP.
      MODULE user_command_0100.
    The system executes a loop at PBO and PAI using the table control FLIGHTS. During the PBO loop, a module is called to fill the table control from table ITAB of the ABAP program. During the PAI loop, a module is called to modify table ITAB.
    Before the PBO loop, in the module STATUS_0100 the current number of lines of the internal table ITAB is placed in component LINES of control structure FLIGHTS. This helps the system to correctly install the scroll bar of the table control.
    During the PBO loop, in the module FILL_TABLE_CONTROL the work area DEMO_CONN is filled with values from the internal table, where the row index corresponds to the current row of the table control.
    During the PAI loop, in the module READ_TABLE_CONTROL the current number of the loop SY-LOOPC in the table control is placed an auxiliary variable. The number is dependent on the size of the screen. The rows of the internal table, whose row index corresponds to the current row of the table control, are overwritten with the contents of the work area DEMO_CONN. User input is transferred from the input fields of the control to the internal table. In particular, the internal table also contains a flag in the column MARK to indicate whether the row of the table control is selected or not.
    After the PAI loop, user input is processed in the module USER_COMMAND. The GUI status SCREEN_100 provides the appropriate function codes. You can scroll line by line or page by page, or Goto the first or last page. You can implement scrolling by setting the component TOP_LINE of control structure FLIGHTS. For page-by-page scrolling the auxiliary variable that is filled in the PAI loop by SY-LOOPC is used as the step size.

Maybe you are looking for