Date and time fields are not getting updated in database

Hi,
I am Using the bapi SD_SHIPMENT_HEADER_CHANGE in my program ...
I  am using bapi_shipemnt_create for creating shipment document but, trying to enter the date fileds using this bapi .
can anybody please tell me how shud i pass this variables exactly ...
i tried giving test data and checked this bapi .. the result in changing parameters is also appearing but in databade itself the date fields are not getting reflected ...
The fields ate DTDIS ,UZDIS, DATEN,UATEN. ( i am trying to map these fields in changing parameters)
          gw_vttkvb_new-mandt = sy-mandt.
          gw_vttkvb_new-tknum = gw_return-message_v1(passing shipment number )
          gw_vttkvb_new-dtdis = gi_ship_doc-dtdis.
          gw_vttkvb_new-daten = gi_ship_doc-daten.
          gw_vttkvb_new-uzdis = gi_ship_doc-uzdis.
          gw_vttkvb_new-uaten = gi_ship_doc-uaten.
          APPEND gw_vttkvb_new TO gi_vttkvb_new.
          CALL FUNCTION 'SD_SHIPMENT_HEADER_CHANGE'
          EXPORTING
            i_tvtk                             =  '
          I_DESTINATION                      =
          I_DEPARTURE                        =
          OPT_DIALOG                         = 'X'
        IMPORTING
          E_SERV_AGENT_FROM_DELIVERY         =
          E_ROUTE_FROM_DELIVERY              =
          E_LEG_DETERMINATION_DONE           =
          E_NUMBER_OF_CHANGED_LEGS           =
             TABLES
               c_xvttk                            = gi_xvttk
               c_yvttk                            = gi_yvttk
               c_xvttp                            = gi_xvttp
               c_yvttp                            = gi_yvttp
               c_xvtts                            = gi_xvtts
               c_yvtts                            = gi_yvtts
               c_xvtsp                            = gi_xvtsp
               c_yvtsp                            = gi_yvtsp
               c_xvbpa                            = gi_xvbpa
               c_yvbpa                            = gi_yvbpa
               c_xvbadr                           = gi_xvbadr
               c_yvbadr                           = gi_yvbadr
               i_xtrlk                            = gi_vtrlk
               i_xtrlp                            = gi_vtrlp
          I_DEPARTURE_SEQUENCE               =
          I_XVTFA                            =
          I_YVTFA                            =
             CHANGING
               c_xvttk_new                        = gi_vttkvb_new
            EXCEPTIONS
              invalid_change                     = 1
              route_insert_failed                = 2
              tdlnr_insert_failed                = 3
              status_planned_failed              = 4
              status_registrated_failed          = 5
              status_loading_start_failed        = 6
              status_loading_end_failed          = 7
              status_completion_failed           = 8
              status_shipment_start_failed       = 9
              status_shipment_end_failed         = 10
              OTHERS                             = 11.
          IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
         ELSE.
             **** Save shipment created
           CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
       EXPORTING
         WAIT          =
              IMPORTING
                return        = gw_return.
          ENDIF.
Regards,
shilpa talluri .

Hi,
Try this
DATA: wa TYPE zvariant.
wa-mandt     = sy-mandt.
wa-z_var     = 'test'.
wa-projid      = 'test'. 
wa-relid        = 'test'.
wa-srtf2       = 'test'.
wa-clustr      = 'test'.
wa-clustd     = ''test'. 
INSERT zvariant CLIENT SPECIFIED FROM wa.
Raul Natu

Similar Messages

  • Data carrier & application field are not getting displayed in CV04N

    Hi Guru's
    In TCode : CV04N,  data carrier & application field are not getting displayed.
    While i compare with my IDES system, data carrier & application fields are getting displayed in CV04N.
    Let me know is there any configuration that has been missed out.
    Regards
    Bhanu

    Hi Bhanu,
    Please note that the fields 'Data carrier' & 'Application field'  are visible only if no document type is entered.
    Suppose you enter a document type and press ENTER then these fields disappear. This is because the field 'Application' was designed when only the storage is archive, vault or SAP-SYSTEM was possible and the number of added originals was limited.
    Currently DMS allows storage of originals on Content Server and there is no limit on the number of added originals, the system behavior was changed due to performance reasons. To avoid performance problems if you search for a document with a lot of originals attached this field gets invisible if you enter a document type which uses the KPRO storage.
    Regards,
    Pradeepkumar Haragoldavar

  • CJ20N-fields are not getting updated in table PROJ

    Hi all,
    I have a requirement where I need to transfer the WBS element data created in one system to another using IDOC.
    The idoc has generated sucessfully and was also sent/processed successfully in the recieving system but fields STSPD and STSPR are not getting poulated in table PROJ.
    In the confic I have assigned FM:IDOC_INPUT_PROJECT to the process code.
    Thanks,
    Gaurav

    Hi,
    Please check with the Customer and Material Statistics group in the Customer and material master respectively.
    Further check with the LIS settings (Sales Area combination with the Update group).
    Reward points if this helps you.
    Regards,
    Harsh

  • Material Number and Serial Number are not getting filled...Very very urgent

    I have my code in the badi...CRM_EQUI_LOAD...method PERFORM_LOAD.In this i try to to create a component for the ibase using the function module... CRM_ICSS_CREATE_COMPONENT...The component gets created but the material and serial number are not getting updated...It is very very urgent..please help....

    I am not sure what information you are passing in given FM.
    But in my case I have used FM 'CRM_CREATE_IBASE_FROM_EQUI' to create Ibase and component. It creates IBase and Component along with other details like material number and serial number.
    you may refer the below code for the same >
    Call the standard handling for crm equi load.
      call function 'CRM_CREATE_IBASE_FROM_EQUI'
        exporting
          is_header         = is_header
          it_equi_dmbdoc    = it_equi_dmbdoc
        changing
          et_error_segments = ct_error_segment
        exceptions
          technical_error   = 1
          others            = 2.
      if sy-subrc <> 0.
        raise equi_load_badi_error.
      endif.
    Cheers,
    Ashish

  • How can I get rid of the dates and time on my Notes

    How do I get rid of the dates and times on my Notes that appeared when I updated to 8?

    Yes, it's seems like a poor design decision.
    By putting the date on the line below the Note title in the Notes Index, the app shows half the number of notes per page AND if you have a large number of notes, it takes twice as long to stroll down.
    I doubt the designer actually uses the app. 
    TSAW

  • HIREDATE & FIREDATE of Employee are not getting updated in t-code PA20.

    Hi all,
    HIRE DATE & FIRE DATE are not getting updated whenever the data of an employee loaded into SAP T-Code PA20 .
    And even the input data contains the both the fields HIRE DATE & FIRE DATE
    Can any one please suggest us why its happening.
    Thanks,
    Lava.

    Hi Girishkg,
    The default IIS limit for the upload file size is 30MB. If the selected files are larger than 30MB, the files are not uploaded.
    The limit can be set in web application’s web.config file or in IIS .
    There are two detailed articles about setting the limit:
    http://www.brainlitter.com/2009/07/13/sharepointcannot-upload-documents-larger-than-30mb-on-windows-server-2008-or-sbs-2008-application-servers/
    http://expectedexception.wordpress.com/2011/02/08/upload-multiple-files-fail-without-error/
    Feel free to reply if the issue still exists.
    Best regards
    Wendy Li
    TechNet Community Support

  • Few keyfigures are not getting updated in the backup cube

    Hi,
    We run the daily backup process chain which extract data from planning
    area and store in the cube & ods.
    There are infopackages which update cube & ods, the datasource & info
    source is same for both ODS & backup cube.
    But a few keyfigures do not get updated in backup cube where as we see
    ODS getting updated for those keyfigures. Also there exist data in the
    planning area for these keyfigures.
    There is direct mapping between the keyfigures in cube & planning area.
    We tried to debug it and noticed that data gets updated in update routine table but not get updated in cube.
    There are total 25 keyfigures in the cube , out of this only 5 keyfigures are not getting updated.
    Need expert opinion on this.
    Regards,
    Chetana

    Hi Chetana,
    Check the backup step in your process chain. The Data Selection tab may have certain conditions on account of which certain keyfigures in your Backup Cube are not getting updated.
    Check if any ABAP routine or any selection conditions are maintained which are causing certain keyfigs to be excluded.
    ~Rishi

  • Backened documents are not getting updated in Classic Scenario

    Hi,
    We are using SRM 7.0 version and we are working on classic scenario where the shopping cart - RFX - Contract are created in SRM and the PO - GR - IR are created in ECC. The blackened documents which are created in ECC PO - GR and IR these documents are not getting updated in SRM system.
    Is there any business functions to be activated.

    Hi Sunil,
    You manually run report ""BBP_GET_STATUS_2" after PO is created in MM. Then check if the follow-on-docs are updated in SC.
    If it is working fine after you manully run report, you will have to properly set time to run this report automatically.
    Best Regards,
    Anu
    Edited by: Anuradha UG on May 18, 2010 8:09 PM

  • Taxes are not getting updated in PO

    Dear All,
    I have done some changes in pricng and tax calculation procedure.
    But for old POs the calculations are not getting updated when i sees at invoice tab in PO. To make affect the same I need to unrelease the PO, SAVE and again release the PO.
    Is there any other way for updating the tax calculations at invoice tab in PO.
    Regards,
    Rakesh

    >
    Rakesh  Shelar wrote:
    > Dear All,
    >
    > I have done some changes in pricng and tax calculation procedure.
    >
    > But for old POs the calculations are not getting updated when i sees at invoice tab in PO. To make affect the same I need to unrelease the PO, SAVE and again release the PO.
    >
    > Is there any other way for updating the tax calculations at invoice tab in PO.
    >
    > Regards,
    > Rakesh
    Only other way possible is abap script to be made to change Po data without changing the release. Otherwise you need to unrelease the Po's first, then change the data and then save for your changes to get affected.

  • Values are not getting updated in sales report

    I have configured sales information system, and i have been trying to run sales report but values are not getting updated in sales report, System will through message that no data exists.
    regards,
    thooyavan

    Hi,
    Please check with the Customer and Material Statistics group in the Customer and material master respectively.
    Further check with the LIS settings (Sales Area combination with the Update group).
    Reward points if this helps you.
    Regards,
    Harsh

  • Changes to Excel files are not getting updated

    File updates not reflected. I modified content, added data validation and saved the file back - next day file is still the way it was before modification.
    Other file, another site but similar situation.
    Content changed - form added but next day the change is not reflected. File updates not reflected. I modified content, added data validation and saved the file back - next day file is still the way it was before modification.
    Other file, another site but similar situation.
    Content changed - form added but next day the change is not reflected.

    Hi,
    According to your post, my understanding is that changes to Excel files are not getting updated.
    I recommend to configure Excel Services data refresh by using Secure Store and an external Office Data Connection (ODC) file.
    For more information, you can refe to:
    Configure Excel Services data refresh by using external data connections in SharePoint Server 2013
    If you use PowerPivot, you can refer to:
    Refreshing PowerPivot Data in SharePoint 2013
    If you use Office Web Apps, you can use New-SPWOPISuppressionSetting -extension xlsx -action view to refresh data.
    You can refer to:
    PowerPivot for SharePoint - Browser Refresh Fails (Data Refresh not supported in Office Web Apps)
    In addition, here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/office/en-US/2c4009f3-62bc-4af0-9e16-e40e9d418e3b/user-changes-to-sharepoint-documents-lost
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Data of different session are not getting refreshed.

    We used select one choice and it is bind to the iterator. Data of different session are not getting reflected.
    Problem Scenario : Two browsers are open with same screen . In browser-1, I am adding new item which display on drop down of same screen. But drop down of browser-2 is not displaying the new added value.
    Please let me know how to refresh the data of browser-2 if I added data on different session.
    //JSFF entry
    <af:selectOneChoice binding="#{backingBeanScope.Product.ICTCSTName}"
    id="iCTCSTName" simple="true"
    label="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.label}"
    required="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.hints.mandatory}"
    value="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.inputValue}"
    autoSubmit="true">
    <f:selectItems value="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.items}"
    binding="#{backingBeanScope.Product.si2}"
    id="si2"/>
    </af:selectOneChoice>
    //Pagedef entry
    <list IterBinding="tpCrudeSuperTypeFindAllPopulatedCTIterator"
    ListOperMode="navigation"
    ListIter="tpCrudeSuperTypeFindAllPopulatedCTIterator"
    id="tpCrudeSuperTypeFindAllPopulatedCT" DTSupportsMRU="true">
    <AttrNames>
    <Item Value="superTypeName"/>
    </AttrNames>
    </list>

    Are you sure backingBeanScope is the correct scope for your scenario?
    Session scope sound more appropriate to me.
    binding="#{backingBeanScope.Product.si2}"

  • Color coding in the "Date" and "Time" field in "Person Assignment"

    Hi,
    What does it mean when the color of the values for the "Date" and "Time" fields under the tab "Person Assignment" on an activity element in the project builder (CJ20N) turn red?
    Regards,
    Petter Kvalvik

    Hi,
    I dont suppose we have any option to achieve this at Query Designer level. Your requirement can be achieved in Workbook,
    Insert text template in one of the cell in your workbook, context menu--properties-Constant Tab----Check Display last Refreshed. Doing this you will get Date and Time of last refreshed data.
    Thanks,
    Vishnu.

  • Reportable Last Modified Date and Time Field

    Reportable Last Modified Date and Time Field
    Hello,
      We need a reportable RequestCenter 'last modified date/time' database field that is refreshed when the 'Comments and History' field is updated.  Any ideas would be appreciated.  Thanks! 

    No, unless you can use an FTP client.

  • MIRO issue (urgent!), amount and quantity fields are not captured from PO

    Hi,
    When we try to post thought MIRO using PO as reference, quantity and amount fields are not captured. We do MIGO first and then MIRO.
    GR based invoice verification in the vendor master is selected and the check mark GR-based in the PO is selected too.
    We're getting this MIRO issue for "all" PO and Service Entry Sheet.
    We'll appreciate your recommendation in order to fix this critical issue as soon as possible.
    Thanks in advance.

    I was looking for copy controls and other functions. Glad this is now resolved. You need to award yourself points!
    Cheers.

Maybe you are looking for

  • BPM Workspace 10gR3 Portlet integration in WebCenter 11g

    Hi guys, I want to integrate my BPM processes within WebCenters portal. What i want to do is to present my bpm workspace inside portlets that will live in Webcenter. My question is, if there is an out-of-the-box solution in webcenter for doing this o

  • SSL connections

    Hi, If I want to make an SSL connection using JSSE from within WebLogic to another JSSE based Java application on a remote machine, how would I make this work without turning WebLogic's SSL property off? It seems that WebLogic's SSL libraries get inv

  • I have a permanent "waiting..." when I try to upgrade apps on my v3.0 iPhon

    I am having a technical issue with my iphone. When I try to upgrade my apps after upgrading it to v3.0, all the apps that I tapped "upgrade" showing "waiting..." for 2 days and its still havent upgraded itself. Does anybody know how to solve this pro

  • SQL Server moving data

    Hi Folks, I've recently decided to change the structure of my Db in SQL Server 2000, I have setup a new Db and created the tables and made the changes, however I need to import all the old records from my old DB is this possible? Thankyou

  • How to deploy mobile application

    Hello folks... A few quick basic question... How do you start on deployment of mobile platform for SAP... What are the hardware and software requirements... what is the process... Can someone help...??? Regards, Harshal