2008 Mar 19 6:04 AM
Hi everyone,
i have a req that i want to access the begin pplan date and actual delivery date from VL02n.
i acess these fields by goto->header->dates and i select events... and i enter begin plan date and actual date.
i see that these fields are stored in structure ITSEGDIAE.
i want to know in which table they are actually stored...
so that i can use them in my report...
can anyone solve this....
2008 Mar 19 6:11 AM
Hi,
Go into that structure 'ITSEGDIAE' double click on
"data element" of that field .Now slect the data elemnt and use the where used list(ctrl_shift+F3). Select table fields check box.
Now you can see the tables.
Hi everyone,
i have a req that i want to access the begin pplan date and actual delivery date from VL02n.
i acess these fields by goto->header->dates and i select events... and i enter begin plan date and actual date.
i see that these fields are stored in structure ITSEGDIAE.
i want to know in which table they are actually stored...
so that i can use them in my report...
can anyone solve this....
2008 Mar 19 6:11 AM
Hi,
Go into that structure 'ITSEGDIAE' double click on
"data element" of that field .Now slect the data elemnt and use the where used list(ctrl_shift+F3). Select table fields check box.
Now you can see the tables.
2008 Mar 19 6:13 AM
Hi,
The deatils are stored in TSEGE table that is read with likp-handle field as key.. For run time updation/read of events fields we have various function modules also..
For FMs go to se37 and search with tseg as keyword..
Hope this will help... Do reward!!!!!!
2008 Mar 19 6:35 AM
Hi,
Use the database table TSEGE to find the values.
you can retrieve the information using FM.
First use the FM 'TSEG_READ' to read the data.
then use TSEG_MODIFY_TST to modify the date.
example.
pa_ls_object = 'WSHDRLIKP'.
CALL FUNCTION 'TSEG_INIT'.
*----------------------------------------------------------------------*
* Define stucture to be read *
*----------------------------------------------------------------------*
CALL FUNCTION 'TSEG_READ'
EXPORTING
if_object = pa_ls_object
is_object_wa = pa_likp
EXCEPTIONS
object_not_found = 0
handle_not_found = 0
customizing_inconsistent = 0
fatal_error = 0
OTHERS = 0.
*----------------------------------------------------------------------*
* Modify the Event *
*----------------------------------------------------------------------*
CLEAR l_sysubrc.
CALL FUNCTION 'TSEG_MODIFY_TST'
EXPORTING
if_handle = pa_handle
if_time = pa_time
if_even_cnt = pa_evncnt
if_even_verty = pa_verty
if_even_vernu = pa_vernu
if_time_tst = pa_time_st
IMPORTING
ef_subrc = l_sysubrc
EXCEPTIONS
fatal_error = 1
OTHERS = 2.
*----------------------------------------------------------------------*
* Update the Event *
*----------------------------------------------------------------------*
CALL FUNCTION 'TSEG_WRITE'
EXPORTING
if_object = pa_ls_object
is_object_wa = pa_likp
* IF_UPDATE_TASK = 'X'
* IF_HANDLE = ' '
* IMPORTING
* EF_UPDATE =
EXCEPTIONS
fatal_error = 0
no_events = 0
OTHERS = 0
.
Note:
--> pa_handle - Handle
--> pa_time - Begin / End Event name
--> pa_evncnt - Event count
--> pa_verty - Version type
--> pa_vernu - Version number
--> pa_time_st - Time stamp
--> pa_ls_object - Object
--> pa_likp - LIKP values
Edited by: Niyaz Ahamed on Mar 19, 2008 12:07 PM
2008 Nov 19 12:41 PM
hi,
we're you able to make the function module 'TSEG_MODIFY_TST' work to modify the event with the correct date? kindly let me know the contents of each parameter that you pass to the FM.
i badly need to make this fucntion module work. please please please.
thanks in advance!
louisse
2015 Nov 05 8:39 AM
Hello,
Was there any progress on this , i want to use the field to update the event data and time
Regards
Anand
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |