Duration field in table OCLG

Hi,
I've a question about the duration field of the table OCLG. This field is automatically calculated by sap with the end time and the start time but in my case i obtain negative value whereas end time and begin time are equal.
Do you know if some other fields are used for the calcul?
thx
best regards
sebastien dubourdieu

hi gordon,
The problem appear even when the two time are not the same, it was just a example to illustrate the problem.
Do you have an idea to solve it?
thanks,
best regards
sebastien

Similar Messages

  • Update fiel "parentId" table OCLG

    When trying to update a table "OCLG" parentId field, returns me the following error: "Field parentId is read-only". How to do the update in this field? The field still has no value and want to include this value in this column.
    Here's how I'm doing:
    SAPbouiCOM.Form oFormAtividades = SBO_Application.Forms.Item(pVal.FormUID);
    SAPbouiCOM.BusinessObject oBusinessObject = oFormAtividades.BusinessObject;
    string sUId = oBusinessObject.Key;
    SAPbobsCOM.Contacts oContacts;
    oContacts = (SAPbobsCOM.Contacts)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oContacts);
    oContacts.Browser.GetByKeys(sUId);
    oContacts.ParentId = 2; // impossible -> read-only
    oContacts.Update();

    Hi,
    Field parentId is read-only, you cannot update it. You may only updated when you create a new record.
    Thanks,
    Gordon

  • Brake down duration field

    i want the break down duration value in report.
    actual value is 71.99 but in viqmel table it shows 2.8800000000000000E+04.
    so how to convert that value into original.
    or any other sollution for the same.
    thank you.

    Hi, VARUN RAJULE
    Test the following code it will solve out your problem, i have tested it is woking according to your requrements,
    TABLES: viqmel.
    TYPES: BEGIN OF t_viqmel,
      auszt LIKE viqmel-auszt,
      test TYPE p DECIMALS 2,
      END OF t_viqmel.
    DATA: it_viqmel TYPE STANDARD TABLE OF t_viqmel WITH HEADER LINE.
    SELECT * FROM viqmel
      INTO CORRESPONDING FIELDS OF TABLE it_viqmel.
    LOOP AT it_viqmel.
      it_viqmel-test = it_viqmel-auszt.
      MODIFY it_viqmel FROM it_viqmel INDEX sy-tabix.
    ENDLOOP.
    Test the following Too it will display 10 Values on the Screen.
    TABLES: viqmel.
    TYPES: BEGIN OF t_viqmel,
      auszt LIKE viqmel-auszt,
      test TYPE p DECIMALS 2,
      END OF t_viqmel.
    DATA: it_viqmel TYPE STANDARD TABLE OF t_viqmel WITH HEADER LINE.
    SELECT auszt FROM viqmel UP TO 10 ROWS
      INTO CORRESPONDING FIELDS OF TABLE it_viqmel
      WHERE auszt ne '0'.
    LOOP AT it_viqmel.
      it_viqmel-test = it_viqmel-auszt.
      MODIFY it_viqmel FROM it_viqmel INDEX sy-tabix.
    ENDLOOP.
    LOOP AT it_viqmel.
    WRITE: / it_viqmel-auszt, it_viqmel-test.
    ENDLOOP.
    Please Reply if any Issue,
    Kind Regards,
    Faisal
    Edited by: Faisal Altaf on Jan 31, 2009 7:44 PM

  • Update PRODH field from table T179T

    hi,
    i want to update PRODH field from table T179T into table VBRP. for this we
    need to take selection option also.
    selection option will be :
    ·             Sales Organization (field VBRK-VKORG)
    ·       Billing Date Range (VBRK-FKDAT)
    ·       Distribution Channel (Vbrk-vtweg
    while i have done this for one field by using hard code but like:
    TABLES: VBRP.
    CLEAR VBRP.
    UPDATE VBRP SET PRODH = 'PLC01' WHERE VBELN = '0008300051'.
    SELECT SINGLE * FROM VBRP WHERE VBELN = '0008300051'.
    WRITE: VBRP-VBELN,VBRP-PRODH.
    but this is not the right way. please guide me how to solve this.

    TABLES: VBRP.
    CLEAR VBRP.
    UPDATE VBRP SET PRODH = 'PLC01' WHERE VBELN = '0008300051'.
    <b>commit work.</b>
    SELECT SINGLE * FROM VBRP WHERE VBELN = '0008300051'.
    WRITE: VBRP-VBELN,VBRP-PRODH.
    use commit work after update statement.
    But this code would make vbrp-vbeln as plc01 only.
    If you want to get the prodh value from t179t, then write a sleect on t179t and then update.
    TABLES: VBRP.
    CLEAR VBRP.
    select single prodh
      from t179t
    where......
    UPDATE VBRP SET PRODH = t179-prodh WHERE VBELN = '0008300051'.
    commit work.
    SELECT SINGLE * FROM VBRP WHERE VBELN = '0008300051'.
    WRITE: VBRP-VBELN,VBRP-PRODH.

  • Open T-code on double click of field in table maintenance

    Hi Gurus,
    I have one scenario, I have to show a transaction on double click event on a field of Table Maintence.
    Please guide me in this .
    Is there is any event in Table Maintenance Events to capture double_click of a field.
    Regards,
    Sowmen

    1. In the field attributes of the particular field there is a chechbox  in display tab which says respond to double click, check that.
    2. Assign the fuction code "PICK" for function code F2 in GUI status.
    3.Now whenver you double click the field function code "PICK" gettes triggeed.
    Now you can wrie yyou code based on this function code.
    CASE sy-comm.
    WHEN 'PICK'.
    *If you want the name of the field and the value in that field use the below code.
    GET CURSOR FIELD gv_field VALUE gv_cursor_value.
    *DO your operation based on the field and the value.
    ENDCASE.
    Regards,
    Smithesh

  • Field and Table for PGI status updation

    Hi All,
    I want to know in which field and table the PGI status will get updated.
    i.e. once we do the PGI for a delivery in which table will this PGI status gets updated.
    Thanks in advance for help.
    Harini

    Hi Harini,
    In Table VBUK you 3 different status related fields for  sales documents.
    Over all status field name GBSTK ( here it gives the total status of praticular sales document) here you see options
    A  Not yet processed      ( This means its complete open)
    B  Partially processed     ( This means the sales doc is partially processed)
    C  Completely processed  ( This means the sales doc is completly processed)
    Delivery status  and over all delivery status field name LFSTK and LFGSK respectively, these 2 fields will be same always ( here it gives the total status of praticular sales document) here you see options
    A  Not yet processed      ( This means its completly  open)
    B  Partially processed     ( This means the delivery doc is partially processed)
    C  Completely processed  ( This means the delivery doc is completly processed)
    So overall status can be  different then delivery or overall delivery status.
    If sales document has 100 quantity for 1 material, if delivery is done for 50 quantity.
    Then over all status field name GBSTK will be B  Partially processed and delivery and overall delivery will be C  Completely processed  .
    Regards
    vK

  • Field  and Table name for purchaser

    I want to know the field and table name for purchaser id and purchaser name.
    Plz help me.

    Dear
    Purchaser name are define in Header level data in Purchase Order EKKO & Purchase ID define as a Purchasing Group
    Purchser Name EKKO-ERNAM
    Purchase I D  EKKO-EKGRP
    Regards
    Aamir

  • Where can i get   SALES  ORGANIZATION    FIELD and TABLE

    Can anybody tell me   where can i get   FIELD  and   TABLE  Name   OF  " sales organization    "

    Dear Sandeep,
    u will find VKORG is the Sales Organisation .
    u will find this Field in every related SD Module Table...
    Like ...VBAP,BKPF ..etc..
    Hope it helps...!!!
    Pls reward if Helpful...!!!

  • Storage Location Wise Stock Value field and Table

    Hi ,
    Please let me know the storage location wise stock value field and table.
    Regards
    Suresh

    Hi Suresh,
    As per my understanding it is not possible in a single Table.
    If this is required for customized Z report then use this logic it may gives the correct information.
    In the combination of MARD and MBEW.. From MBEW you can get the value for each Base Unit of Measure then multiply that value with storage location stock.
    It may usefull to u..in the mean time i will try for some other option.
    Please revert if u have any query.
    Regards
    Durga Sana

  • CRMT_BW_DS_ACTIVITY- Field and table origin

    Hi Guys,
                   I am working with this extractor CRMT_BW_DS_ACTIVITY. I am trying to find the origin table and the origin field for each of the fields in this extractor.The sap help document is of no use, for example the first field i look at in the help is ACTIVITY_PARTNER (extract stucture field), the sap help says the origin table is PARTNER and origin field is PARTNER_NO. But in the CRM system there is no table called PARTNER. Can some one shed light on this please.
    Thank you and points for useful replies

    hi,
    add CRMD_ ...
    you can try BWA1 and give datasource name,
    tab 'mapping', add CRMD_ to value in column Segmentname.
    e.g field ACTIVITY_PARTNER, table name is CRMD_PARTNER
    How to find out the tables related to CRM datasources?
    hope this helps.

  • How can find  database field and table name

    how can find the underline database field name,table name from java page. Example. in oracle apps when we go purchaseing super user then supplier base then supplier and find supplier detail .

    Hi,
    depends on your model. If you work with ADF BC then you can use ViewLinks to access parent or detail infromation programmatically. See the developer guides for more information. Note that you wont access the tables directly but the collections that represent the records
    Frank

  • Purchase Order released date field and table name

    Hi,
    Please tell me the  Purchase Order released date field and table name.
    Regards
    Deepak

    Hi,
    Table : EKKO.
    Fields : FRGKE,FRGZU.
    You can get release date of PO from CDHDR  table.
    give object value as your po number and check.dont forget to give leading zeros.
    The udate will be date field and transaction will be me29n for relaesed po.

  • How to add a field and table control to BP transaction.

    Hi,
    I have a requirement to add a field and table control to the 'Control data' tab of the Transaction BP.
    Can some on please help me if having a solution and with any relavant documents.
    Thanks in advance.
    Raj & Khader.

    Also explore with EEWB tcode.
    Refer this threads
    Re: EEWB
    Created New fields in Business Activity with EEWB
    Cheers
    Manohar

  • What is the field and table name to describe -Employee Hourly Rate or Emplo

    Hi,
    Can any one please tell me what is the field and table name to describe 
    Employee Hourly Rate or Employee Rate.
    Thanks for ur time.
    Murali.

    Hi Murali,
    The hourly rate is tied to a Wagetype & maintained in Infotype 0008. The database table is PA0008.
    the field could vary depending on the No of wagetypes maintained.
    regards,
    Suresh Datti

  • What is the field and Table for "Batch Class" and "Class Type" in QM.

    Hi All,
    What is the field and Table for "Batch Class" and "Class Type" in QM.
    Thanks,

    Hi,
      For batch class the class type value is '023' . This you can find from KLAH table and the fileld for class type is KLART..
    And also all the data related to batch class are found in tables INOB, KLAH,KKSK and for the characeteristics of batch materials you can refer AUSP table.
    In INOB table, for batch class, you need to give 023 in KLART field and  value MCH1 in OBTAB filed.
    Please check this and let me know if this you need any more details?

Maybe you are looking for

  • Unable to load movie playlist?

    I'm really starting to regret Upgrading to Director 11. I didn't have any of these issues going from MX to MX 2004. All I'm trying to do is make a simple projector work on a Mac and it's one issue after another. Not to mention all this after updating

  • PDFMaker & Outlook

    When I print an Outlook2003 e-mail using PDFMaker to PDF, the e-mail message header information appears in the PDF. How do I prevent this? Similar appears at the top of my PDF. I want to prevent this appearing at the top of each PDF: From: [NY] To: [

  • JTextArea to look like JLabel

    I did do some searching....go easy on me (first posting of a question) I have a textarea on my frame I use like a status bar.....giving the user hints on what they can/should do based on the applications state. I'd like using the JTextArea because I

  • Cannot update Adobe Premiere Pro CC 2014

    I am desperately trying to update Premiere Pro CC 2014 to version 8.0.2 but cannot do so through my desktop application.  Any thoughts on what might be happening?  Adobe is telling me that the software program is up to date even though it is version

  • Macbook pro unexpectedly shuts down

    Hello, I am having some issues with my macbook pro 2012 edition. It is often shutting down/restarting unexpectedly. When it is on charger or when I had put it to sleep after attempting to power it up, its shut off and recovers where it was left off.