Update document lines user fields

Hi,
I'm trying to update a user field of a purchase invoice line through the DI API.
The Update method returns 0, but the field isn't updated!
I use this code:
Dim RetVal As Integer
Dim Doc As SAPbobsCOM.Documents = DirectCast(Company.GetBusinessObject(oPurchaseInvoices), SAPbobsCOM.Documents)
If Doc.GetByKey(_CurrentDocId) Then
    Doc.Lines.SetCurrentLine(0)
    Doc.Lines.UserFields.Fields.Item("U_CONAI").Value = "Y"
    Doc.UserFields.Fields.Item("U_IB_OldProtI").Value = 987
    RetVal = Doc.Update()
    If RetVal <> 0 Then Beep()
End If
Updating a user field on the document (not on the lines) works fine!
Can anyone help me please?
I'm using SAP 8.8 SP 0 PL 11
Thank you
Paolo

Hi Paolo,
I think the reason behind the inability to change document row data, and also most of the header data, is due to both legal requirements and information transparency (mainly accounting, stock and taxes).
I share your view that the update function should return a value other then 0 when the document is not updated. You can suggest this change by opening a post in the Product Development Collaboration forum.
Kind Regards,
Vítor Vieira

Similar Messages

  • Document Line Items fields

    Hello All:
    We want to prevent users from changing some of the a/c assignment fields on the document line items once they are parked.
    We need this only for specific document types and specific GL accounts.
    Is there any config or exits or something else to ONLY DISPLAY those specific fields.
    Thank you,
    Fred.

    We use FBV1 to create parked documents of different document types (SA, AA, ..., Z*). Some of these parked documents should not get changed until they get posted.
    The users should be able to change any or all of parked document data on SA, AA, .... document types but should not be allowed to change fields like cost center, functional area (KOSTL, FKBER,...) on the  Z* document types, when the GL account is for research (43****)
    Hope this explains it better. Appreciate your time and help.
    Fred.

  • Update Document Line in SAP version 8.8

    Hello,
    We have quotation document that one line was pulled to order,
    We want to change the quantity of this line to the original quantity less the open quantity via DI.
    In SAP version 2007 it worked fine,
    but in SAP version 8.8 the update was failed,
    With error -1029 internal error occurred.
    Couldn't updating the quantity of line.
    The code is:
    document.Lines.SetCurrentLine(RplcVisOrder)
    document.Lines.Quantity = document.Lines.Quantity - document.Lines.OpenQuantity
    document.Update()
    (The reason of this logic is for close quotation line,
    and in SAP version 2007 we can not do it.)
    We will be happy if someone knows this problem, and can be help us.
    Thanks.

    Dina,
    Please see the SAP Note at this link ...
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0000842745
    ... is this the error that you are getting?
    If you have any issues clicking on the link ... please copy and paste the entire link in your browser.
    Eddy

  • Update Document line with a new Item Code...

    Hi.
    This is all done using the DI Server.
    I am updating a sales order with two lines - it looks like this:
    ItemCode____Qty
    651_________10
    00028________5
    I update line 2 so the sales order now looks like this to this:
    651_________10
    651__________8
    All I pass in is the two values 651 and 10 (and a taxcode etc)
    Now... if I take a look at the sales orders GL - before and after the update - It looks like this
    (before)
    ItemCode_____Qty______GL Account
    651___________10_____ _SYS00000000235
    00028__________5_____ _SYS00000000237
    (after)
    651___________10_____ _SYS00000000235
    651____________8_____ _SYS00000000237
    So it does not change the GL Account to fit the new Item... It looks like I need to find the GL Revenue Account for the new item myself. How do I find this?
    Method or SQL is more than welcome...
    Regards,
    Allan C. E. Rasmussen

    Hi Allan,
    your Stored Procedure is good for GLMethod = 'L' but if GLMethod of Item is 'W' or is 'C' your code is not good.
    Case is "W"
    SELECT RevenuesAc FROM OWHS Where WhsCode = @WhsCode
    Case is "C"
    SELECT OITB.RevenuesAc FROM OITM INNER JOIN OITB ON OITM.ItmsGrpCod = dbo.OITB.ItmsGrpCod Where OITM.ItemCode = @ItemCode
    Regards,
    Claudio

  • Display of document line items with user defined fields

    Hi all,
    I have created two user defined fields in CI_COBL structure and they are available on OBC4 screen. I maintained  optinal for entry in the screen layout. I posted one document with user defined fields and saved.
    Now the document is updated in BSEG table. I then display the document, and it display the doucment
    But when i double click on the one of the line items system gives an error that there is some problem in customising and entries missing in Table COBM.
    I checked OXK3 and see that in field information for user fields, it says entries maintained in table COBM.
    But still i couldnt display my line items in detail.
    Any solutions
    Thanks in advance
    Ram

    Yes your are looking at the correct sap note.
    Things look pretty straight forward in the notes documentation.
    1)Extend the VBKRED structure with the fields you want.
    2)Populate thse values in the user exit in program DBKMVF02 in FORM routine USER_EXIT_FUELLEN_XVBKRED.
    For extending a standard structure you need to create a zstructuree in se11 first and then append it to the standard structure.
    In your case you need to  extend VBKRED_EX1 structure rather than VBKRED.
    Regards,
    ravi

  • Need to automatically display update date and user in update form field

    Hi all,
    Hopefully someone can help me with this... I am using dreamweaver cs4 and php/mysql.  I have a database table that will be updated by 1-5 different people at random times.  I have everything set up and working, as far as the update function, delete function, add new, etc.  In my update form the last two fields are Last Updated and Last Updated By.  There are fields in the table called 'last_updated' (formatted in PHPmyadmin as timestamp) and 'last_updated_by'.  But how do I get them to update on their own?  Right now it is showing the first entry into the field which I did in the PHPmyadmin table, but it is not updating automatically.  It would be a nice field to have so that we know who has worked on the table and when it was last updated, without the user manually typing that in, which I am sure they would forget to do.  By the way, users will login to this with a username and password before editing the records.
    This is the code for the last row in the update form with those two fields.  It is pulling the fields from the database table, but they do not update automatically...
    <tr>
              <th class="blackfont" scope="row">
                <div align="right">
                  <label for="last_updated">Last Updated Date:</label></div>
              </th>
              <td colspan="3" class="blackfont"><input name="last_updated" type="text" id="last_updated" tabindex="47" value="<?php echo $row_getMember['last_updated']; ?>" size="15" />
                <label for="last_updated_by">Last Updated By:</label>
                <input name="last_updated_by" type="text" id="last_updated_by"tabindex="48" value="<?php echo $row_getMember['last_updated_by']; ?>" size="15" /></td>
    </tr>
    Thanks!
    Kathy

    Here is all the code the the Admin Login page...
    <?php session_start(); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/TherapyPetsTemplate2.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>TPGC Administrative Login Page</title>
    <!-- InstanceEndEditable -->
    <link href="css/twoColFixLtHdr.css" rel="stylesheet" type="text/css" /><!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .twoColFixLtHdr #sidebar1 { width: 230px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixLtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <script src="JavascriptFiles/mootools.js" type="text/javascript"></script>
    <style type="text/css">
    <!--
    body {
    background-color: #FFF;
    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: 25px;
    margin-right: 25px;
    background-image: url(Images/images-2.jpg);
    background-repeat: repeat;
    .twoColFixLtHdr #container #webstunning_video_player {
    margin-top: 15px;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    -->
    </style>
    <script src="ajxmenu.js" type="text/javascript"></script>
    <style type="text/css">
    <!--
    body,td,th {
    color: #FFF;
    font-size: 100%;
    font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
    .Italic {
    font-style: italic;
    -->
    </style><link rel="stylesheet" href="ajxmenu1.css" type="text/css" />
    <script src="ajxmenu1.js" type="text/javascript"></script>
    <link rel="stylesheet" href="ajxmenu2.css" type="text/css" />
    <script src="ajxmenu2.js" type="text/javascript"></script>
    <link rel="stylesheet" href="ajxmenu4.css" type="text/css" />
    <script src="ajxmenu4.js" type="text/javascript"></script>
    <!-- InstanceBeginEditable name="head" -->
    <script language='JavaScript' type='text/javascript' src='HDWRegistrationAndLogin/validatescripts.js.php'></script>
    <!-- InstanceEndEditable -->
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-28303973-1']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    </script>
    </head>
    <body class="twoColFixLtHdr">
    <div id="container">
    <div id="header">
    <!-- end #header -->
    </div>
    <div class="AJXCSSMenuScYdSZA"><!-- AJXFILE:../ajxmenu4.css -->
    <ul>
    <li><a href="Index.html">Home</a></li>
    <li><a class="ajxsub" href="AboutUs.html">About Us</a>
      <ul>
       <li><a href="AboutUs.html">About Our Group</a></li>
       <li><a href="Board%20of%20Directors.html">Board of Directors</a></li>
       <li><a href="ServicesWeProvide.html">Services We Provide</a></li>
       <li><a href="TPGCintheNews.html">TPGC in the News</a></li>
      </ul>
    </li>
    <li><a href="Facilities.html">Facilities</a></li>
    <li><a class="ajxsub" href="GetStarted.html">Get Involved</a>
      <ul>
       <li><a href="DoesYourPetHaveWhatItTakes.html">Does Your Pet Have What it Takes?</a></li>
       <li><a class="ajxsub" href="GetStarted.html">Get Started</a>
        <ul>
         <li><a href="Training.html">Training</a></li>
         <li><a href="Testing.html">Testing</a></li>
        </ul>
       </li>
      </ul>
    </li>
    <li><a class="ajxsub" href="HowYouCanHelp.html">How You Can Help</a>
      <ul>
       <li><a href="HowYouCanHelp.html">Ways to Help</a></li>
       <li><a href="DonorsList.html">Our Donors and Sponsors</a></li>
      </ul>
    </li>
    <li><a class="ajxsub" href="MemberProfiles.html">Happy Tales</a>
      <ul>
       <li><a href="MemberProfiles.html">Member Profiles</a></li>
       <li><a href="MemberStories.html">Member Stories</a></li>
       <li><a href="Testimonials.html">Testimonials</a></li>
       <li><a href="PhotoGalleries.html">Photo Gallery</a></li>
      </ul>
    </li>
    <li><a href="FAQs.html">FAQs</a></li>
    <li><a href="Links.html">Links</a></li>
    <li><a href="Form-ContactUs.html">Contact Us</a></li>
    <li><a class="ajxsub" href="#">Login</a>
      <ul>
       <li><a href="MemberLogin.php">Member Login</a></li>
       <li><a href="BoardLogin.php">Board Login</a></li>
       <li><a href="AdminLogin.php">Admin Login</a></li>
      </ul>
    </li>
    </ul>
    <br />
    </div>
    <div id="sidebar1">
       <div>
        <div align="center">
        <br />
    <br />
    <div id="Events">
    <br />
    <div class="EventsHeading" id="EventsHeading">Upcoming Events</div>
    <br />
    <span class="EventsText">
          <!--Date-->
          </span>
          <span class="EventsDate">March 11th</span>
          <span class="EventsText">
    <!--Event Name-->      Members Meeting
          <!--Time-->
          </span>
    <span class="EventsTextDescription"><!--Description-->
    <strong class="MemberPageItemFont">CANCELLED! </strong></span>
    <br />   
    <span class="EventsDate">March 25th</span>
          <span class="EventsText">
    <!--Event Name-->Testing
    <!--Time-->
          </span>
    <span class="EventsTextDescription"><!--Description-->
    12-3 pm   At Bethesda North Hospital. Please contact <a href="mailto:[email protected]?Subject=Sign up for Testing March 25th">Elaine Waxler</a> to sign up for testing, or <a href="mailto:[email protected]?Subject=Question about Testing March 25th">Glenna Mockbee</a> for more details.</span>
    <br />
          <span class="EventsDate">April 15th</span>
          <span class="EventsText">
    <!--Event Name-->      Board Meeting
          <!--Time-->
          </span>
    <span class="EventsTextDescription"><!--Description-->
    12-3 pm   At Bethesda North Hospital. Please contact <a href="mailto:[email protected]?Subject=Delta Testing Question">Glenna Mockbee</a> for details.</span>
    <br />
          <span class="EventsDate">May 20th</span>
          <span class="EventsText">
    <!--Event Name-->      Member Luncheon
          <!--Time-->
          </span>
    <span class="EventsTextDescription"><!--Description-->
    10-4 pm   At Bethesda North Hospital. More details to come.</span>
    <br />
    </div>
        </div>
        <br />
          <hr align="center" width="200" />
          <div align="center"><a href="http://www.facebook.com/pages/Therapy-Pets-of-Greater-Cincinnati/324108054289534?skip_nax_ wizard=true#!/pages/Therapy-Pets-of-Greater-Cincinnati/324108054289534?sk=wall" target="_blank"><img src="Images/Facebook.jpg" alt="Facebook" width="144" height="44" border="0" /></a><br />
            <br />
          </div>
          <hr align="center" width="200" />
          <div align="center">
          <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="TB844UZWVAUVU"><br />
    <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
    <br />
            <br />
    <hr align="center" width="200" />
    <!-- InstanceBeginEditable name="SideBar" -->
        <div>
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
         <br />
    <br />
    <br />
        </div>
        <!-- InstanceEndEditable --><br />
      <br />
      <br />
          </div>
    </div>
    </div>
    <!-- InstanceBeginEditable name="MainContent" -->
    <div id="mainContent">
    <span class="GreenHeadingH2">Admin Login</span>
      <br />
      <br />
      <br />
      <br />
    <div align="center"> 
      <p><span class="UnderConstructionFont"><em><strong>***UNDER CONSTRUCTION - PLEASE DO NOT USE YET!</strong></em></span>***</p>
      <p> </p>
      <p><span class="UnderConstructionFont"><em>Please login to manage TPGC lists and information.</em></span><em></em></p>
      <p> </p>
      <p>
    <?php if (!$_SESSION["logged_3"]) { ?>
      </p>
      <form id="hdwlogin" name="hdwlogin" method="post" action="http://www.therapypetsofgreatercincinnati.org/AdminPage.php" onsubmit="return HDW_verify_Login(this)">
        <div id="hdwdivlogin">Enter your username:<br />
          <input type="text" name="username" id="username" />
          <br />
          Enter your password:<br />
          <input type="password" name="password" id="password" />
        </div>
        <div id="hdwdivILMP" style="display:none;"> Enter your email:<br />
          <input type="text" name="hdwILMPemail" id="hdwILMPemail" />
          <br />
          <input type="button" onclick="javascript:HDW_submitILMP()" value="Submit" />
          <a href="javascript:HDW_showLogin()">Login Again</a></div>
        <input type="hidden" name="hdwtable" id="hdwtable" value="3" />
        <input type="hidden" name="hdwokurl" id="hdwokurl" value="http://www.therapypetsofgreatercincinnati.org/AdminPage.php" />
        <br />
        <div id="hdwdivLink" >
          <p>
            <input type="submit" name="subbtn" id="subbtn" value="Submit" />
            </p>
          <p><a href="javascript:HDW_showILMP()">I lost my password</a></p>
        </div>
      </form>
      <p>
        <?php } else { ?>
        Logged as <?php echo $_SESSION["logged_username"]; ?>.
        <br />
      <br />
      <a href="javascript:HDW_logout()">Click here to logout</a>.
      <?php } ?>
      </p>
      <p> </p>
       <p><span class="Caption">To change your password, contact <a href="mailto:[email protected]?Subject=Change my TPGC board password">webmaster</a></span><br />
    </div>
    </div>
    <!-- InstanceEndEditable --><br />
    <br class="clearfloat" />
    <div id="footer">
        <p><img src="Images/x-knead[1].gif" width="98" height="47" align="absmiddle" />        Copyright 2012 Therapy Pets of Greater Cincinnati, a 501(c)(3) organization     Last Updated
          <!-- #BeginDate format:Am3 -->02/25/2012<!-- #EndDate -->           Website by <a href="mailto:[email protected]?Subject=Question or Comment for Webmaster">Kathy McRoberts</a>        <img src="Images/terrier15.gif" width="63" height="60" align="absmiddle" />
          <!-- end #footer -->
          <br />
        </p>
    </div>
    <!-- end #container --></div>
    </body>
    <!-- InstanceEnd --></html>

  • Update too slow of a user field..

    Hello everyone,
    I have a problem with the update of a massive field in user stores.
    The update works but it takes too much time, about 1.5 seconds to Article!
    This is my code sample:
                Dim sql As String = ""
                sql = "SELECT T0.ItemCode,T1.OnHand FROM OITM T0,OITW T1" & ControlChars.CrLf
                sql = sql & " WHERE T0.ItemCode=T1.ItemCode  " & ControlChars.CrLf
                sql = sql & "  AND T1.WhsCode='{0}' " & ControlChars.CrLf
                sql = sql & "  AND T0.FrozenFor='N' AND T1.OnHand>0"
                sql = String.Format(sql, WhsCode)
                Dim line As Integer = -99
                Dim ret As Boolean = False
                Dim itm As SAPbobsCOM.Items
                itm = CType(_SboCy.GetBusinessObject(BoObjectTypes.oItems), Items)
                Dim rows As DataRowCollection = GetRows(sql)
                For Each R As DataRow In rows
                    If itm.GetByKey(R("ItemCode").ToString) Then
                        If line = -99 Then
                            For i As Integer = 0 To itm.WhsInfo.Count - 1
                                itm.WhsInfo.SetCurrentLine(i)
                                If itm.WhsInfo.WarehouseCode = WhsCode Then
                                    line = i
                                    Exit For
                                End If
                            Next
                        End If
                        itm.WhsInfo.SetCurrentLine(line)
                        itm.WhsInfo.UserFields.Fields.Item("U_MyQty").Value = CDbl(R("OnHand"))
                        ret = (itm.Update = 0)
                    End If
                Next
                NothingObj(CType(itm, Object))
    Please know me suggest another solution?
    Thanks

    Hi Enrico,
    If you perform the same update using the SBO client (ie go to the Stock tab in Item Master Data and set a value in your UDF field) is the speed faster than the DI API? Do you have any customisations in the SP_SBO_TransactionNotification proc in the database? If you update a standard system field rather than your UDF field is the speed in the DI API the same?
    Kind Regards,
    Owen

  • Remove tax field in Document Line

    Hi
    In document Line we don't want tax field. is there any setting in sap b1 for that
    reagards

    Muna,
    You would need to setup a tax code for "Exempt" or something like that that all Business Partners use and set the tax amount on the code to zero.
    Eddy

  • Updating User field with ListItemFormUpdateValue object and ValidateUpdateListItem for a file metadata

    Hi Every body,
    Please this is very argent I'm searching for this problem sine a week with no success
    how can I update a user field (single and multi) using ListItemFormUpdateValue object and ValidateUpdateListItem method
    Thanks in Advance
    khatib7

    Hi,
    Seems there are already replies in your another similar thread about this issue:
    https://social.technet.microsoft.com/Forums/en-US/5e67dc3d-c808-49ee-9aab-383a5cea5bce/sharepoint-angulr-rest-api-update-file-item-userd-field-property?forum=sharepointdevelopment
    Please check whether they are helpful to you.
    Thanks 
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • User field in FI document

    Hi guru,
    is it possible to add an user field in the position of FI document?
    Thanks in ad

    Hi
    Through Change layout you can get the user field in FI document.
    Rgds
    Vani

  • Error when updating users fields within the webcenter portal

    Hi experts,
    Our users want to update the preferred Language field. We achieve that by setting in Administration > Configuration > People Connections > Profile > Profile Attributes - Edit Settings:
    Unfortunately, it throws error when user click "Update". WCS#2012.04.18.17.27.38 : Unexpected error saving attribute: oracle.ods.virtualization.service.VirtualizationException: oracle.ods.virtualization.engine.util.DirectoryException: LDAP Error 50 : [LDAP: error code 50 - 00002098: SecErr: DSID-03150A45, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
    Can anyone share the thoughts about this>?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    you have configured LDAP with webcenter for user.
    and need to ask this query to respective LDAP persons.
    As I clearly see the "INSUFF_ACCESS_RIGHTS"--so provide the admin rights (or required priviledge) for the user.
    LDAP Error 50 : [LDAP: error code 50 - 00002098: SecErr: DSID-03150A45, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
    Regards,
    Hoque                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Can not change the field BSEG-REBZG on the document line item

    Hi,
    I am not able to change the invoice reference field on the document already posted. I have tried config. settings on change document line items but unsucessully.
    The problem is with the field BSEG-REBZT, if the field value  is "V" RESIDUAL item I am not able to change it but if this field value is "Z" I am able to change it.
    Can anyone who have come across this situation please guide me on this.
    Thanks,
    Srini

    Hi Eli,
    Thanks a lot for your resolution. I have assigned points to you.
    Unfortunately my problem has not been solved inspite of implementing the so mentioned SAP notes.
    Do we need to do anyother settings? Can you please guide me?
    Thanks,
    Srini

  • Update FAGLFLEXA and FAGLFLEXT user-field

    We have inserted an editable user-field on BSEG, COBL, FAGLFLEXA & FAGLFLEXT. The purpose of this field is to classify the Bank Operations basing on a matchcode.
    This classification can be changed after posting. When we change the value of the field through FB02, table BSEG is updated, but not FAGLFLEXA nor FAGLFLEXT.
    Have you managed to update FAGLFLEX* tables?
    Thanks,

    Hi Benedict,
    There is no OSS Note number, but I'm posting here SAP's answer to our query:
    26.05.2009 - 09:11:55 CET - Respuesta by SAP    
    Hello,
    sorry i didn't know that your NewGL is active. In this case only
    BSEG entries are updated and you have to reverse the posting and do it
    again. There is no tool available to update the Z-field in FAGLFLEX*-
    tables.
    Best regards.
    SAP

  • Updating user fields through a user exit in CO01

    Hi..
    I'm new to user exits and knw there are loads of user exits for CO01, but can't find the exact one to modify the user fields.. And also, would a simple
    afvgd-usr00 = 'some material' work???
    Tnx..

    Try with OSS note:
    68720
    Symptom
    The system does not display the 'User data' operation detail screen when you create an operation of a production order with input facilities.
    Additional key words
    CO01, CO02
    Cause and prerequisites
    Solution
    1. Add the following entry to table TCO62:
      CAT  SeqKey  Verif.No      Program    Grp   Panel   10   OC0001  7             SAPLCOVF   V9    0201
    UseTransaction SM31.
    Table TCO62 is client-specific, that is, you must create the entry inall relevant clients.
    2. See the attached advance corrections. If you have implemented an earlier version of this note, please note that, for up to Release 3.0F, the correction was changed for Include LCOVFO10.

  • S_ALR_80712357 'update document,update run'

    Dear friends,
    We are testing the report S_ALR_87012357, Advanced VAT return report. Accidentally we realized if we select the option 'update document, update run' but forgot to select 'batchinput session required', the report will marke the tax items and save them in table BSET, but no posting will be generated. I understand this is a mistake of user, however, I will be interested to know if SAP provides any program which can fix these incorrectly processed items, e.g. post the taxes to the vat payable account by using a special program. Or, is this a system limitation, say, user will have to run the program correctly with the respective options selected. I can not access OSS, so I am not sure if there's any OSS related to this.
    Is there anyone who can help?
    Thanks.

    Hello,
    After some tests I found the fields I was looking for,
    So once document updated , the VAT line item in BSET Table is updated via 2 Fields :
    STMDT : TAX return on
    STMTI : TAX return on
    Thank you all for your time
    Tamim

Maybe you are looking for