Want to update one field in MIRO

Hi Experts,
During the MIRO transaction, I want to update "Assignment" field in "Detail" Tab according to purchase document number.
I have to fetch data from Z table using Purchasing document number and update it in Assignment field when user post the document in MIRO.
Please help me how to do this as i am very new to this moodule.
Thanks
Sameer Dhuke

Hi
Did you try changing the 'Sort key' in GL master to 010 - Purchase order number
Thank You,

Similar Messages

  • I want to update date field in oracle table using database adaptor

    Hi Guys,
    I want to update date in oracle table field which is 'DATE' type , but i am getting following error.
    Pure SQL Exception.
    Pure SQL Execute of update crp3apps.IFACE_SO_DATE_CHANGES set PROCESSED_DATE=? where CTRL_ID=? failed. Caused by java.sql.SQLException: ORA-01830: date format picture ends before converting entire input string
    The Pure SQL option is for border use cases only and provides simple yet minimal functionality. Possibly try the "Perform an operation on a table" option instead.
    </summary>
    </part>
    - <part name="detail">
    <detail>
    ORA-01830: date format picture ends before converting entire input string
    </detail>
    i am formated the date using following code and assigned to one variable.
    ora:formatDate(ora:getCurrentDateTime(),'dd-MMM-yyyy hh:mm:ss ')
    this is update query
    update crp3apps.IFACE_SO_DATE_CHANGES set PROCESSED_DATE=#date where CTRL_ID=#id
    Please provide solution.
    regards
    janardhan

    The thing is that XSLT often doesn't deliver the functionality required when it comes to times.
    You suggest appening "Z" to the time but this means that the time is now in UTC time. What if the system from where the date is being converted is running in NZ using local time? Other systems that recieve the date (and correctly handle the time zone) will now have a time that is out by a number of hours.
    You often can't ignore the time zone (drop the 'Z') as if you send the time to a system it has to either assume the time is local to it (which may not be the case... the other system coudl be in a different time zone) or assume the time is UTC (I think crossfire does this by default).
    Typically can't just append a time zone (e.g. +11:00) either as many places have daylight savings so the value to appended is variable (you then need some way of determining what the value is... either Java Embedding or a Service).
    As you mention it does depend on the use case but in many circumstances using Jaba Embedding, not as suggested above but with the appropriate Java.util.Calendar classes, is the best way to handle date and time in BPEL. Even still you need to ascertain the format of times external to the system and ensure you parse them correctly.
    ANd even if you do all this you can still run into problems. I've seen a real world example where two systems which both handled time zones correctly and had previously been working together for quite a while, satrted reporting different times. It turns out that only one of them had had the most recent Java Time Zone patches applied and there had been a change in the dates for daylight savings here (Australia). Be warned!

  • EJB Update one field

    Hi,
    Up until now, most of my forms in jsf have had all the fields in the ejb. So when I did mergeEntity all the fields where updated with the correct data. Now I have a form that has just the ID of the ejb and one field. Now when I do mergeEntity all the other fields are set to null. Shouldn't mergeEntity just update the field I am setting? What do I need to do to update just one field in the ejb without bringing all the other fields in or is there an easy why to do that?
    Thanks for you help. Any examples would be great!

    You're not supposed to put ## around it. That makes
    Coldfusion look for a variable named "originated" inside a
    structure named "affiliate", which obviously isn't what you want to
    do.
    In my query, I didn't have any hashes around field2.
    Change your query to:
    <CFQUERY datasource="#application.dsn#">
    UPDATE affiliate
    SET last_contacted = originated
    </CFQUERY>

  • I want to display one field in first page only

    Hi All
    I have a tipical question. I am working on invoice report in which i need to display one field which should display in the first page only. For a second invoice that field should not get displayed. In the first page only it should get display. Is there any workarround for this.
    It would be greate help if anybody suggest the solution for this.
    Thanks in Advance
    Sudheer

    Hi
    Sorry. My Question is:
    I am generating the invoices. If particular invoice lines data extend to next page then invoice header should get repeted in the second page except one field. For each invoice, that filed should get display only first page of invoice and should not come in subsequent pages. For each invoice it should be like this. I am using @section loop to refresh the page numbers for each invoice.
    Is there any work arround to display the partiuclar filed in first page of invoice?
    Any suggestions highly appriciated?
    Thanks
    sudheer

  • How to update one field in to ods ,data is available in psa for that field

    Dear All,
    The field is already has data in psa but now i want to load it into ods just assinging update rules.
    i was assigned at update rules and activated update rules. then what i have to do .
    to get the data in to ods from psa.
    its very urgent please.
    Thanks and Regards,
    satya

    Hi,
    1 goto RSA15
    2 find your infosource
    3 select your request
    4 right click on request and select "Update Data Immediately"
    Hope this helps.
    Regards,
    Purvang

  • Want to update BLOB field to LONG field.

    We have 2 table one were BLOB field is there, another were LONG i want to transfer BLOB to LONG fields. Please advice how i can?
    I tried DBMS_LOB and UTL_RAW.CASTE_TO_VARCHAR2 its working but its saving some initials unwanted character.
    Thanks
    Bakulesh

    As I understand, 1 BLOB does have BINARY data. And, you have to copy that to LONG RAW and not just LONG. The unwanted cahracters are those BINARY data. ( They might be really of some use ! )
    We have 2 table one were BLOB field is there, another were LONG i want to transfer BLOB to LONG fields. Please advice how i can?
    I tried DBMS_LOB and UTL_RAW.CASTE_TO_VARCHAR2 its working but its saving some initials unwanted character.
    Thanks
    Bakulesh

  • I have used the plugin updater to update most of my plugins, but i don't want to update one of them- is there a way to get the plug in manager to stop asking me to?

    i have used the plugin updater to update most of my plugins but i have one that i do not wish to update. is there a way to stop getting the plugin manager to pop up every time i open up firefox? i updated all other plugins except adobe reader- which i have adobe acrobat and wish to use that instead but when inside firefox it always uses reader as default so i just chose not to install the update. can i disable the update manager?

    That is stealing.

  • Want to shift the field in MIRO.

    Hi all,
    Our requirement is to shift column "Procurement Doc." (which in in Tcode MIRO and tab "PO reference") to extreme right of the layout,as we are not using it.
    Please suggest me on this urgently....

    Go to OLMRLIST Trxn code and Input the Following :
    Transaction MIRO
    Screen Variant 0001_6000
    Program SAPLMR1M
    Screen 6000
    And Click on With Processing Icon and Input Company Code and do Changes as per your Requirement and Save.

  • Want to update standard field in ME21N/ ME22N

    Hi All,
    I have a requirement to block all the line item of the standard PO if any of the line item does not satisfy specific condition (as per the requirement). But I am not able to do so.
    I have tried to use the BADI ME_PROCESS_PO_CUST~PROCESS_ITEM. But, here it is not possible to block all the line item(s) if any of the specific line item fails the condition check. So, can any body help me to find the way out.
    Thanks--
    Debojit.

    Hi,
    Thanks for ur reply. But, I have a requirement to block all the line item(s) of the PO if any of the line item(s) does not satisfy the specific condition checking.
    Also, I have to put the error message in the message log, but how can I block (set LOEKZ = 'S') every line items of a PO in this case?
    Thanks -
    Debojit.

  • Hi, I want to update BSEG_XREF1 field with company code

    PLease suggest is there any FM aur BAPI.
    Thanks,
    Gaurav

    Hi,
         Write a bdc for TCODE FB02.
    Regards,
    Prashant
    Message was edited by:
            Prashant Patil

  • Want to add one more field in the standard transation xk02 : screen exit

    Dear All ,
    I want to add one field in transation in Xk02 in withholding tax check box.
    run the transation xk02 and select check box Withholding tax and press enter after that you will get the screen having field
    WH Tax Country  in parellel to this i want one more field Country .
    Is there any screen exit available fot this or any other way to proceed .
    Please provide any solution .
    Regards
    Aryan

    use an iplicit enahnecemnt to call a function module in which you can call a screen popu up with the fields you want update them in the database and return back to the main program. If the the two exits available are not helpful to you.
    RFKRRANZ
    SAPMF02K.

  • Want to update field from product to asset using JoinFieldValue function

    I am trying to write a workflow with JoinField Value Function so that I will get the Field Value=Product Quantity from Product(Content Management) in Asset which is the related information under Account.
    In Asset on the basis of Product Name & ProductID, i want to update that field=Product Quantity in Asset.
    JoinFieldValue('<product>','<productid>','<product quantity>')
    i have tried this workflow under Asset record type with Trigger Event as When Modified record Saved.
    I need this to see the product quantity frm product for Available to Promise purpose.
    Pls help me out.
    Regards
    Mangesh

    Tnaks Venky for your Reply.
    I have written the exact workflow.
    I have created the Custom Field as Product Quantity in Product.In Account record type related info I have renamed Asset as Product Purchased & added field Product name & Product Quantity(Custom Field-Number) as read only.I have aslo added the productID Field(renamed from row ID in both product & assest record type).
    Product Name=A ProductID=123 Product Quantity=READ ONLY ---PQ & PID are coming from Product record type.Same way i want the Product Quantity field should come from Product Record type.
    If i require Product A from Product record Type(Inventory) with 10 Quantity in Required Product Quantity as Custom Field then when i save the Information or as a Modified Information,the Product Quantity field shoul be automatically upadted with the Value provided in Product Quantity field in Product Record Type.
    Regards
    Mangesh

  • 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.

  • Help with centrally locating a script so it updates all fields?

    Hello,
    At work we use a form I built that shows were each employee in assigned for the day.  We have some part-time personal and I've made it so that they show up in red where all normal employee's show up as black.  This works great, my issue is when a new employee is hired or a part-time goes full time I am having to go into each individual field and change this script.   There is 60 fields total so as you would imagine this takes a lot of time to update just one employee.   Below is a sample of the script I am using to designate if the name should be black (full-time) or red (part-time). 
    Is there a way that I can point all fields to one location?  Then I would only have to update one field and it fix them all??
    if (event.value=="BRACKETT" ||  event.value=="Deleted" ||
    event.value=="P. BOWMAN" ||
    event.value=="TALLENT" ||
    event.value=="EDWARDS" ||
    event.value=="MEJIA" ||event.value=="ROGERS" ||event.value=="LASKEY" ||
    event.value=="HOUSER" ||
    event.value=="BROOKS" ||
    event.value=="GORDON") event.target.textColor = color.red;
    else event.target.textColor = color.black;
    Thank-you so much,
    David

    OK, remove all of the code from the document JavaScript and replace it with the code shown below. When you need to update the names in the dropdowns, set up a button and use the following as its Mouse Up script:
    // Mouse Up script for a button
    updateDropdowns();
    You can hide the button and unhide it whenever you need to update, and then hide it again. You can also run that line of code from the interactive JavaScript console, but a button is a bit easier.
    This way, you just have to add names and what color you want for each by editing the oEmpNames object code. When you're done editing the list of names, run the updateDropdowns routine and all of the dropdowns will be updated with the new list.
    // All if the code below goes in a document JavaScript
    // Create an object to associate an employee name with text color to user when selected in a dropdown
    var oEmpNames = {
      "George Washington" : color.black,
      "Thomas Jefferson" : color.red,
      "Abraham Lincoln" : color.black,
      "Teddy Roosevelt" : color.black,
      "John Kennedy" : color.red,
      "Ronald Reagan" : color.black
    // Validate script for dropdowns
    function  validateEmpName() {
      event.target.textColor = oEmpNames[event.value];
    // Function to update dropdowns with list of employee names
    function updateDropdowns() {
      // Create an array of names to populate the dropdown items
      var aItems = [];
      for (var name in oEmpNames) {
      aItems.push(name);
      // Loop through the dropdowns and populate them with names in the array
      for (var i = 0; i < aDropdowns.length; i += 1) {
      getField(aDropdowns[i]).setItems(aItems);
    // Create an array of dropdown names
    var aDropdowns = [
    "Dropdown1",
    "Dropdown4922",
    "Dropdown4923",
    "Dropdown4924",
    "Dropdown490",
    "Dropdown482",
    "Dropdown470",
    "Dropdown4600",
    "Dropdown491",
    "Dropdown480",
    "Dropdown471",
    "Dropdown461",
    "Dropdown492",
    "Dropdown481",
    "Dropdown472",
    "Dropdown4620",
    "Dropdown493",
    "Dropdown483",
    "Dropdown473",
    "Dropdown463",
    "Dropdown494",
    "Dropdown48",
    "Dropdown47",
    "Dropdown460",
    "Dropdown47011",
    "Dropdown46011",
    "Dropdown47211",
    "Dropdown4621",
    "Dropdown47311",
    "Dropdown46311",
    "Dropdown2",
    "Dropdown4",
    "Dropdown5",
    "Dropdown11",
    "Dropdown4925",
    "Dropdown4926",
    "Dropdown4927",
    "Dropdown4901",
    "Dropdown4821",
    "Dropdown4701",
    "Dropdown4601",
    "Dropdown4911",
    "Dropdown4801",
    "Dropdown4711",
    "Dropdown4611",
    "Dropdown4921",
    "Dropdown4811",
    "Dropdown4721",
    "Dropdown462",
    "Dropdown4931",
    "Dropdown4831",
    "Dropdown4731",
    "Dropdown4631",
    "Dropdown4941",
    "Dropdown4813",
    "Dropdown4712",
    "Dropdown46",
    "Dropdown47019",
    "Dropdown460116",
    "Dropdown472129",
    "Dropdown462186",
    "Dropdown473115",
    "Dropdown463158"

  • Update a field in bseg table

    Hi experts,
    i want to update a field in BSEG  table (field name is BUPLA).
    Using UPDATE statement i am going to update the bseg table.
    I know only update statement.
    This my immediate requirement.
    please give me suggesstion.

    Hi,
    If you want to update the existing table record or field.. it is always advisable to use MODIFY statement instead of  UPDATE.
    syntax: 
    fetch the BSEG data to internal table IT_BSEG and do you modificaltions.
    Loop at it_bseg.
        it_bseg- XYZ = 'ABC'.
        it_bseg-UVW = '123'.
       modify it_bseg transporting XYZ  UVW .
    endloop.
    MODIFY BSEG FROM TABLE IT_BSEG   (here it_bseg is the internal table)
    COMMITWORK.
    Modify always check in the database whether the record exists or not if it is there it will modify the existing one.. otherwise create a new record.... in Update statement.. there is always a chance of creating a new record.. instead of updating the existing one...

Maybe you are looking for

  • Configuring mutiple Business Services in Integration Directory

    Hello all, Got a question here. Let's say there are 10 different external parties and I intend to create a Business Service for each of them in ID.  However, they all call the same Outbound Interface to interact with XI.  Do I have to also create 10

  • Link between Delivery Header & Sales Order Item for extraction to 2nd level

    Hi Guys , I am having a requirement that need to pull the following data to 2nd level DSO 1.  Delivery Header Data 2. Sales Order Item data. ( Sales Document, Item, Item RDD, Material) So I am planning create a 2nd level DSO on top of Delivery header

  • Reading files from some other PC in Network

    I have developed a tool which does some processing on input files from a folder.till now the files were there in my system.Now i have to read these file from some other computer in lan.How do i go about this?

  • Prevent Flash Player 10.1 freezing when off-screen (AS2)

    I'm working on a set of SWFs that need to sync with each other using LocalConnection in AS2. It was working fine in Flash Player 10, but as 10.1 throttles Flashes when they are not visible, the SWFs lose their sync if any of the SWFs are not visible

  • No data received on extractor 0CRM_SALES_ACT_1

    I have setup this extractor in BW  to load buisness activities from CRM. When I do a full load, no data is received into BW. When I do an initialization, no data is received into BW. After the initialization, if I change an activity or create a new a