Field updation

Hi all,
I have a problem while updating a field in EBAN.
while creating an order using va01 EBAN-LIFNR has to be modified.
I included the code in an exit.
But the EBAN-LIFNR not immediately get modified.
It's modifying after creating the next order.
suggest any solution.

Hi,
Thanks for u r reply.
Iam updating the field in an Exit. But in eixts its not recommendable to use
UPDATE and COMMIT statements. Is there any alternative to update the database tables in Exits.
Thanks and Regards,
Anil.

Similar Messages

  • Issue in Workflow- Field Update is not happening

    Hi Friends,
    I am facing an issue to update a check box field Released.
    I have created a task having Advance with Dialog opiton,Background processing to update the Checkbox field.
    The BOR Object type used is BUS1006 and method is CHANGE. Everything looks fine when tested the task as well as the workflow in test mode and it is working fine in both the cases. But some how, this field update is not happening over the CRM 2007 Web UI. We are assuming it is due to user authorizations or some other settings ( like assignment of backend user to the workflow)
    for doing this task. Can some one give us some pointers on this. This will be of great help.
    Thanks,
    Udaya

    Hi Imtiaz,
    I am new to this. Can you please give me some pointers on how to check whether WF-BATCH has the needed authorisations and the process can be executed in background.
    Reply me at your convenient time.
    Thanks a lot for your response.
    Regards,
    Udaya

  • Custom field updation in bapi_salesorder_createfromdat2 structures

    hi friends,
    custom field updation in bapi_salesorder_createfromdat2 structures
    i having a problem while creating a salesorder in vao1 tcode
    i unable to find the WWDLC FIELD AND DATA ELEMENT IS
    RKEG_WWDLC (delivery to country) in item data-> account assingment-> profit centre-> delivery to country
    how to enchance the field in bapi structures.
    thanks
    geetha.

    good

  • When does Date Modified field update in cmc  XI3.1

    In CMC > users and groups
    there is a Date Modified field, When does it update? Is there any document describe that?
    For example
    I have test that when I edit a user's properties the Date Modified fields update.
    When a user log onto CMC, some time the logon times is update as Date Modified
    some times is not? Why does this happen?

    Hello,
      If you update the the properties of the group or the user then the last modified date will change to the current date/time.  What kind of user do you have, Enterprise, Windows NT, Windows Active Directory or LDAP.  Sometimes a user doesn't exist until they actually log on to the CMS then their Last Modified date would change.  Have you consistantly seen this happen with a specific user, if so can you reproduce this on demand.
    Jorge

  • In field updates of the sbRio9606

    I am looking at using an sbRio board in a deployable system however I'm not sure how I could provide updates to systems in the field.
    Is it possible to perform in field updates of the sbRio9606 without having the complete NI environment installed at that site?
    A simple procedure via a tool or via ftp/web page for example would be great.
    many thanks for any suggestions / feedback

    Hi BeeTee,
    I'll try to tack on some details.
    In short, you do not need the full NI development software suite on a PC to update Single-Board RIO units in the field.
    Any PC with network access to the device can update the application image on the device.  One tool I would recommend to this procedure is the NI Replication and Deployment Utility.
    The RAD utility can take compiled system images and distrubute them on networked devices. Using this tool to upgrade images assumes that you have an identical device available in your development system to build, test, and capture the image from.
    With proper software architecture, the Single-Board RIO can also be programmed to recognize when a new application update should be downloaded from a USB key.  This article demonstrates a reference design for creating a Single-Board RIO system that can be updated in the field via USB memory device.
    Finally, compiled applications can also be readily copied onto deployed sytems via the onboard FTP server or securely with WebDAV. 
    Regards,
    Spex
    National Instruments
    To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be...

  • Use REST API to query contacts with a field updated since certain time?

    Hello,
    Using the REST API and trying to figure out how I can query for contacts that have had a field updated since a specified time. I've tried using the "lastUpdatedAt" arg, but to me it seems like I'm getting back contacts that maybe haven't had any data change, but were probably sent an email or something of that sort (so the updated at value was changed)
    Is there a way to query for contacts that have had fields change (Like subscriptions, address, title, etc) but exclude those contacts that only have their updated values changes because they were sent an email?
    Thanks!

    Hi Chris,
    lastUpdatedAt or "Date Modified" fields don't change when the contact is sent an email, but rather, when ANY field is modified on the contact record. You can certainly query for and export contacts that had their data touched in some way since a specified time, but it won't be on a per-field basis. There is effectively no field level change history or tracking. You can work around this with extra logic. First, you can get a snapshot of what the values were in the specific fields you want to track across your entire database.
    The next time you run an export using Date Modified, it will contain more records than you might care about, but you can filter offline for the ones you do care about by comparing their before and after values for the specific 'tracked' fields.
    Regards,
    Bojan

  • Crm service order related fields updation

    hi ,
    i am creating a sales order using va01 transaction. service order is automatically created with the config settings . during this, some of the fields in service order in R/3 are not updated. i wnt to populate 6 fields in service order when creating sales order .
    i hv got user exit to update 4 fields, but for operations tab in service order, i need to populated activity type and work ( quantity fields ), these fields are not availbale in the above user exit.
    Can any one pls suggest me how to update the operations tab fields in service order .
    Reg
    Shiva

    hi ,
    i am creating a sales order using va01 transaction. service order is automatically created with the config settings . during this, some of the fields in service order in R/3 are not updated. i wnt to populate 6 fields in service order when creating sales order .
    i hv got user exit to update 4 fields, but for operations tab in service order, i need to populated activity type and work ( quantity fields ), these fields are not availbale in the above user exit.
    Can any one pls suggest me how to update the operations tab fields in service order .
    Reg
    Shiva

  • SQL Query for Date field updation

    I want a query from u.. Hope u help me with a
    solution soon..
    My Q: I want to update a date field in Oracle
    database. But the condition is that i shouldnt change
    the hours, minutes & seconds of the date field.
    generally , if we update the date field then it takes
    the default values for hours, min's & sec's to
    00:00:00.
    EX : if we have a value 21-SEP-2002 04:54:44 in a date
    field. I want to update it to 22-SEP-2002 04:54:44.
    But it updates to 22-sep-2002 00:00:00 if we use
    UPDATE command.

    Use a PreparedStatement:
    PreparedStatement ps = conn.prepareStatement("SELECT * FROM TEMP WHERE TDATE > ? AND TDATE < ?");
    // note: month numbers start at 0, so 1 is february
    GregorianCalendar c1 = new GregorianCalendar(2002, 1, 11, 11, 0);
    GregorianCalendar c2 = new GregorianCalendar(2002, 1, 18, 22, 0);
    Date d1 = c1.getTime();
    Date d2 = c2.getTime();
    java.sql.Timestamp sqlDate1 = new java.sql.Timestamp(d1.getTime());
    java.sql.Timestamp sqlDate2 = new java.sql.Timestamp(d2.getTime());
    ps.setTimestamp(1, sqlDate1);
    ps.setTimestamp(2, sqlDate2);
    ResultSet rs = ps.executeQuery();
    // get results from the result setJesper

  • Fields update in "Schedule Lines for FRC sched." in a scheduling agreement

    May I know how the following fields in the "Schedule Lines for FRC sched." section in a scheduling agreement are being updated?
    We have already a new inbound delivery with goods receipt (last June 1, 2010) but the following fields still show the previous inbound delivery details:
    For example:
    Date of last del. 08.10.2009
    Last d. note no. 91011
    Last GR 21.10.2009
    Last GR qty. 54.500
    I wish I can show some screenshots here.
    Thanks a lot in advance for your answers.

    Hi Sravan,
    As per my view point, this is standard SAP behaviour. System will generate PR only in case of external operation.
    If you go to OPL8 (Order type dependent parameters) for your respective order type & plant combination you have option of maintaining setting related to PR only and there is no option of using scheduling agreement or generating schedule lines.
    I don't see any possibility to use scheduling agreement using to have schedule lines for external operation.
    Regards,
    Tejas

  • How to make dynamic form fields update?

    This is going to be an ugly post, fair warning! :)
    I have a form that gets it's labels and text input field
    names dynamically from a database. Rather than having the form
    hardcoded, we are able to add new columns to a table and the form
    automatically adds new labels and fields via CFQUERY.
    When the form is completed and they submit (method post), the
    database is supposed to update. However, because our input field
    names are being populated via query, we can't write a static update
    query when we add new form items.
    So, I do have a solution to this (in my head), but I'm stuck
    at a bit of logic and am having trouble getting it out in code. I'm
    looking for a way to write #FORM.#fieldname## (here is where it
    gets ugly). Since the form submits by post method, I am left with a
    bunch of FORM.fieldname's on my action page (and fieldname is
    generic for what the actual variables are).
    So here's how I am updating:
    I have a table (call it table1) that contains a column of all
    the column names of my data table (table2). This table is used for
    query purposes only, no data is updated here from the form.
    I query table1 to call all the names of the columns in
    table2.
    <cquery datasource="exdb" name="exname">
    SELECT columnName
    FROM table1
    </cfquery>
    Then I write the update query which will update items as they
    are looped using CFOUTPUT:
    <CFOUTPUT QUERY="exname">
    <cfquery datasource="exdb" name="exupdate">
    UPDATE table2
    SET #columnName# = #FORM.<columnName>#
    WHERE itemID = #FORM.itemID#
    This is my dilemma. As you can see, the cfoutput is a loop..
    so let's take the first item in the loop, call it "name1". So our
    update query says SET name1 = #FORM.name1#, and this will update
    the table with whatever was submitted in name1's input field. The
    cfoutput loops again, this time it's name2. SET name2 =
    #FORM.name2#. Now the form does include a hidden input of itemID to
    specify where the table should be updating, as you can see above.
    So, now that you see how this works, my problem is getting
    #FORM.<columnName># to be FORM.name1, FORM.name2, etc.
    In Coldfusion you would write #FORM.variable# to call a FORM
    item. However, since the variable is pretty much undefined and we
    use a query to populate it, we need to do #FORM.#variable## where
    #variable# needs to be resolved before #FORM._______#
    Are you with me on this? It's very complex in explanation,
    but if you need more info, I can provide it more clearly. Let me
    know what you guys think. Really, I have the solution, but getting
    #FORM.#columnName## to resolve is another problem. I think what i
    need is to figure out the order of operation for that statement, so
    #columnName# resolves first.

    You'll want to use the scope structure notation when dealing
    with your form variables. The variable Form.SomeVar can also be
    written as Form["SomeVar"]. Using this syntax, you can do something
    like this:
    UPDATE table2
    SET #columnName# = #FORM[columnName]#
    WHERE itemID = #FORM.itemID#
    You may also want to look into the following to help optimize
    your code:
    1) check out how to use <cfqueryparam> - it might speed
    your code up a bit.
    2) depending on the DB you are using, you may be able to
    combine all of your UPDATE SQL commands inside 1 <cfquery>
    </cfquery> block. This will allow you to do all your database
    actions with 1 DB connection, instead of a bunch (works in MSSQL,
    not sure about Oracle or MySQL)

  • OIM 11g r2  User  UDF fields  Updation based on AD ID

    Hi,
    We have to update the UDF fields created for the users in OIM using the data from a table.
    This table contains the AD ID, and other fields.
    OIM User (already available) will be updated based on AD ID ….i;e AD ID column will be used to find the user in OIM and then his UDF will be updated based on the respective data from other columns in the table .
    Please can you help me on this task?
    Thanks,

    Your requirement doesn't tell much like when you want to update your user. If it would be on daily basis then go for Schedule Task, if you want to at the time of provisioning then you can have one task and attach your code to bring AD ID in OIM..
    You may leverage Event Handlers as well if your use case requires that.

  • Purchase Order text field update in Material Mater

    Hi experts,
    Is't possible that we can give authorization to update ONLY Purchase Order text field
    under the Purchase Order text view in MM?
    But while giving authorization, I could only see "Maintenance statuses of Material" I could only see status code "E" in general for Purchasing view.
    Please advise if this is possible to control to give authorization to update only this Purchase order text view in MM.
    Regards,
    P

    Hi
    Please try this way
    Authorization object: M_MATE_STA
    Define the fields this way
    Fields     Possible values                                   Meaning
    ACTVT      01                                                   User may create data.
                     02                                                  User may change data.
                     03                                                  User may display data.
                     06                                                   User may flag data for  deletion.
                     08                                                   User may display change   documents.
    STATM                                                             Here, you specify the
                                                                            maintenance status for which
                                                                             the user is authorized.
    regards
    sunny

  • User exit or BAdi for field update in ECC system for SUS supplier

    Dear Guru's,
    I am configuring MM-SUS scenario in our srm 7.01 scenario. Not all vendors of our client are going to be SUS vendors. For SUS vendors, the client will be using Purchase Order Acknowledgement and Advanced Shipping Notification key. I am thinking of configuring a confirmation control key which will incoporate requirement of PO acknowledgement and Inbound delivery document. The assignment of confirmation control key and PO Acknowledgement Required checkbox in the vendor master record will default it in the purchase order.
    Now, the question is how to update the existing vendor master data record which will be SUS vendor. I am looking at a solution like user exit or BAdi which updates the confirmation control key and purchase order acknowledgement required check box when the client manually assigns the class 'Z_CRED_SUSMM' to the  ERMS vendor master.
    Could you please help me to find the required exit or BAdi?
    Thanks and regards,
    Ranjan
    Ranjan Sutradhar

    EXIT_SAPMF02K_001 definitely wont work as this is for custom checks. this does not update data in vendor master.
    you can try using below method of VENDOR_ADD_DATA badi.
    IF_EX_VENDOR_ADD_DATA~PRESET_VALUES_PORG
    but you need to read the screen field for classification and then according to that i think you can change the LFM1 data inside this badi

  • BP new field update is not possible

    Hi Experts,
    I work in CRM 4.0 which is connected to R/3. I have created a new BP field with EEWB. I would like to replicate this field into a standard R/3 field.
    Without any enhancement the new field is replicated in "Insert" mode but in "Update" the replication does not work.
    I discovered two problems in R/3. The exchange structure does not contain the new field and the BP does not exist in R/3 BUT000 after creation.
    In "Update" mode the system searches for BP in R/3 BUT000.
    Finally I extended the exchange structure in R/3 and if I create a new BP it will be created in R/3 even in R/3 BUT000 and during "Update" the new field value will be updated.
    My only problem is that I have 100.000 BP's in the systems which were created without the enhanced R/3 structure and the update of the new field content is not possible. The R/3 BUT000 does not contains these 100.000 BP's.
    Do you have any idea how to solve this issue?
    Thanks in advance!
    Regards,
    Tom

    Hi Thomas,
    I would have liked to reply you back earlier on, but  I was able to see my points only today.
    1 How to manipulate Bapi to load it. Please select your Bapi which refer to the proper object in trx CODE Bapi. Then talk to your developper to create the right program to load the missing data, supposedly able to manage files (better a txt file).
    Next monday if you wish I may send you documentation concerning Bapi, if you give me your e-mail
    2. How to upload to your backend the changes of Bps. There is an envent you need to associate to your object Bupa in administration CONSOLE - DATA EXCHANGE. It is explained in the Best practise manual called Replication.
    Please refer to my attached thread to find out the manual in the Best Practise Crm for your version:
    Re: Download Conditions from R3
    Then, if this doesn't work, check if the function module in charge of uploading the changes is working, by putting a Breakpoint in the FM associate to your object Bupa in Business object in administration console.
    <b>Please reward with points if it helps.</b>
    AndreA

  • Z fields update in BAPI_PO_CREATE1

    Hi All,
    I have to update z fields during PO creation from bapi "BAPI_PO_CREATE1".
    i am following all the steps required using the extension structure. Still the fields are not getting updated.
    Are there any configuration settings that need to be done in SPRO to update these fields?
    Thanks,
    Anirudh

    I always forget to extend the structures BAPI_TE_MEPOHEADER, BAPI_TE_MEPOHEADERX, BAPI_TE_MEPOITEM and BAPI_TE_MEPOITEMX.
    Maybe you forgot as well?

  • Reg: Mandatory fields updation with BAPI

    Hi..
    We are working on BDC using BAPI. In this if flat files contians only 4 fields and the mandatory fields in the application are seven then system needs to through error message. But with BAPI the program is updating the database without throwing error eventhough all mandatory fileds are not filled up with data.. Where exactly we need to do modifications to get error message when mandatory fields are not filled up with input.
    Regards

    Hi Verendra
    Sometimes the function modules/BAPI's used by SAP do a direct update on the database tables. In such scnearios the entries are created in the system even though if the mandatory entries are not filled.
    If the number of mandatory fields are small, then before the BAPI call,  check if all the mandatory fields are filled or not;throw error in case of empty fields & bypass the BAPI call.
    In case the mandatory fields are too high, then in that case, please use BDC recording to update the data.
    Regards
    Chetan
    PS:Reward points if you find this helpful.

Maybe you are looking for

  • At a loss with some simple java classwork. Please help.

    Hello. I'm having a problem with some work that I wasn't able to finish in class. I am not very good at java AT ALL, and I'm really at a loss on how to finish up the program and get it to print what I want it to. My task is: "Write a program that ask

  • I need help, I tried everything! Network controller after installing windows 7 on a windows 8.1 machine!

    Hello everyone!  I have a Dell Inspiron 3521. It had Windows 8.1 on it and I installed Windows 7 Pro OEM 64 bit. I did delete the old windows file. I was able to install all the drivers from the Dell website, but I can't seem to figure out how to get

  • Solution Manager 3.2 SR1 Install Problem

    Hello everybody, I'm having a hard time trying to install SAP SolMan 3.2 SR1 on Windows Server 2003 x86_64 with Oracle 10.2. I have installed the OS and Oracle 10.2. When I start the installation of CI of SolMan after couple of screens it gives me th

  • Building Block  & Best Practice

    Dear All,             I havea query. I am searching on net for quite some time but  I amunable to find the bulding block  configuration and Best practices for E Recruitment. CAn any one please help me out with it. In case if SAP doesnot offer them th

  • (numbers)i would like to ask something about the version

    How can i open a v1.6 numbers file with a v1.5 numbers? it force me to update my ipad to 5.1 are there any ways to open rather than updating?