Work order should not update the fields in PR

Hi  Gurus
My requirements is that workorder should not updates the purchasing data fields in PR  do not go to the shoping cart. How can make it possible.
Thanks in Advance

Hi,
      I am not sure of your requirement clearly but check up the below user exits :-
COZF0001 Change purchase req. for externally processed operation
COZF0002 Change purchase req. for externally procured component
or BADI :- IWO1_PREQ_BADI BAdI for Manipulation of P.Reqs from Orders + Networks ,SE18
regrds
pushpa

Similar Messages

  • DYNP_VALUES_UPDATE not Updating the Field on my Dynpro

    Hi.
    I want to create a dynpro where two fields are. Field 1 allows the user to enter a customer number, field two shall come up with a number that is calculated somehow. The calculation can last up to 20 seconds, so I dont want to make the user waite for this number.. .he shall be able to work with the rest of the dynpro.
    Therefore I called the function that does the calcuiation like that:
    MODULE user_command_0100 INPUT.
      DATA: lv_guid_16 TYPE guid_16.
      IF kna1-kunnr IS NOT INITIAL AND kna1-kunnr <> gv_kunnr
        CALL FUNCTION 'GUID_CREATE'
          IMPORTING
            ev_guid_16 = lv_guid_16.
        gv_taskid = lv_guid_16+8(8).
        CALL FUNCTION 'YDETERMINE_DEPOTDISTANCE' 
          STARTING NEW TASK gv_taskid
          PERFORMING receive_depent ON END OF TASK
          EXPORTING
            i_kunnr = kna1-kunnr.
      ENDIF.
    ENDMODULE. 
    The next piece of code shall get the returning value if the function wants to return its results.
    FORM receive_depent USING i_task TYPE clike.
      TABLES: d020s.
      DATA: dyname LIKE d020s-prog,
            dynumb LIKE d020s-dnum.
      DATA: BEGIN OF dynpfields OCCURS 1.
              INCLUDE STRUCTURE dynpread.
      DATA: END OF dynpfields.
      IF i_task = gv_taskid.
        RECEIVE RESULTS FROM FUNCTION 'YDETERMINE_DEPOTDISTANCE'
        IMPORTING
          e_depent         = kna1-yydepent
          e_accuracy       = gv_accuracy.
        MOVE 'KNA1-YYDEPENT' TO dynpfields-fieldname.
        MOVE kna1-yydepent TO dynpfields-fieldvalue.
        APPEND dynpfields.
        dyname = sy-cprog.
        dynumb = '0100'.
        CALL FUNCTION 'DYNP_VALUES_UPDATE'
          EXPORTING
            dyname               = dyname
            dynumb               = dynumb
          TABLES
            dynpfields           = dynpfields
          EXCEPTIONS
            invalid_abapworkarea = 01
            invalid_dynprofield  = 02
            invalid_dynproname   = 03
            invalid_dynpronummer = 04
            invalid_request      = 05
            no_fielddescription  = 06
            undefind_error       = 07.
        ASSERT sy-subrc = 0.
      ENDIF.
    Problem is: The DYNP_VALUES_UPDATE does not update the field on my dynpro at all. If I hit enter another time, then the field is provided by the value as another PBO will be processed. What is my mistake here?
    Regards
    Manfred
    Edited by: Rob Burbank on Oct 29, 2010 12:07 PM

    Hi Manfred,
    Replace all the DYNP_VALUES_UPDATE-related content by the following statement:
    SET USER-COMMAND 'xxx'.
    While DYNP_VALUES_UPDATE does update the fields, a roundtrip is not triggered so the content of the fields will not be refreshed. The SET USER-COMMAND does that.
    Hope this helps you!
    Cheers, Roel

  • Sales order should not copy the net value from contract

    Hi,
    When we are creating the sales order,Where we can maintain that sales order should not copy the net value from contract.
    Regards
    Prabudh

    Hi,
    When I am creating the sales order with reference to contract,it's copying the net value and quantity from the contract.
    But I want  that sales order should not copy the net value and quantity from the contract and user can take new required quantity at the time creating the sales order.
    Regards
    Prabudh

  • Open orders should not update in MD04

    Hi, SD gurus,
    I have the below requirement,
    My business scenario is
    when  total open sales order quantity crosses a particular number(Ex:1000 Pcs) in a month, after that whatever the sales order we create it should not update in MD04.
    Our Business process,
    1. Creating a sales order
    2. Allocation run (here system will execute Credit check, availability check, and listing an Exclusion etc. here we need to enter sales order no, plant, allocation type)
    3. Creating a delivery
    4. Invoicing the customer
    Note:
    Usually when we de check MRP type and allocation in Scheduline category system should not update in MD04, but if we de check this as for our business process system should  not execute Allocation run
    Thanks in Advance
    Yuvaraj.

    Respected Lakshmipathiji,
    Thanks for your clarification but i have query here..
    ""if the users are ready to do this manually once a line item exceeds 1000 pcs a month, well and good""
    How users will check material wise?(suppose if sales order contains more than 100 line items and each line item will have its own requirement updates--will they do this material wise?)
    Is there any report which give the Status on Requirements for group of materials(MD04 status) in Standard SAP??
    Phanikumar

  • Auto Approval EBP Purchase Order is not updating the status at the header

    Hi There ,
    We are facing an issue in EBP auto approval PO ,
    The process level schema is set to Auto Approval  (Standard 9CBUS2201_EX01_55)
    During the PO creation , the standard schema is triggered and it gets approved .
    The status of the PO in the Approval Tab is showing as Approved .
    But in the docuemnt level the status is still Awaiting Approval .
    While checking in SWI1 we came to know that an error has happened in the Task TS40007972
    and the Guid ID of SRM Purchase is initial that has made the status(EV_STATUS) as initial .
    The ERROR is from the below class & method.
    Class: /SAPSRM/CL_WF_PROCESS_MGR_SBWF
    Method:GET_PROCESS_DECISION_STATUS
    Can anyone suggest to overcome this issue .It will be very usefull if anyone could suggest debugging possibility if any .
    Regards,
    Arun.

    Have you tried notes?
    1625513 - Workflow without approval is Awaiting approval status
    1724251 - Workflow log error: CREATE_DECISION_SETS cannot be executed

  • Ap_vendor_pub_pkg.update_vendor_site API is not updating a field

    Hello
    I want to update the Calculate Tax field on the supplier site level.
    I am using the ap_vendor_pub_pkg.update_vendor_site API to update the ap_supplier_sites_all.auto_tax_calc_flag field. But the API does not update the field. I want to change the value of the auto_tax_calc_flag from 'L' or 'N' to 'Y'
    I am running the API as a concurrent request. Thus the org_id should be set when you use the relevant responsibility
    Below is my code. Am I missing a parameter? The API does complete successfully. The ap_supplier_sites_all table does show as updated when you look at the last_update_date field. But the auto_tax_calc_flag value does not change
    Any ideas why the api is not updating
    create or replace procedure apps3_mtnaol.mtn_update_supp_sites(errbuf in out varchar2, retcode in out number) is
    v_error_message varchar2(3000);
    l_vendor_site_rec ap_vendor_pub_pkg.r_vendor_site_rec_type;
    l_return_status varchar2(1000);
    l_msg_count number;
    l_msg_data varchar2(2000);
    l_msg_dummy varchar2(3000);
    l_output varchar2(3000);
    l_vendor_name varchar2(3000);
    l_vendor_number varchar2(3000);
    l_vendor_site_code varchar2(3000);
    v_vendor_site_code varchar2(3000);
    v_vendor_site_id number;
    v_party_site_id number;
    l_remmitance_email varchar2(2000);
    v_party_id number;
    v_party_site_name varchar2(3000);
    v_ext_payee_rec iby_disbursement_setup_pub.external_payee_rec_type;
    cursor c_1
    is
    select segment1
    ,vendor_name
    ,vendor_id
    --,vendor_site_id --vendor_site_id from org_id 22970
    ,vendor_site_code
    ,vendor_type_lookup_code
    ,org_id
    ,party_id
    ,party_site_id
    from mtn_supplier_site_22970
    where 1 = 1
    and segment1 = '661699';
    begin
    for rec in c_1 loop
    select assa.vendor_site_id -- get vendor_site_id from org_id 5001
    ,assa.party_site_id
    into v_vendor_site_id
    ,v_party_site_id
    from ap_supplier_sites_all assa
    where 1=1
    and org_id = 5001
    and assa.vendor_id = rec.vendor_id
    and vendor_site_code = rec.vendor_site_code;
    select party_id
    ,party_site_name
    into v_party_id
    ,v_party_site_name
    from hz_party_sites
    where 1=1
    and party_site_id = v_party_site_id;
    fnd_msg_pub.delete_msg(null);
    fnd_msg_pub.initialize();
    l_return_status := '';
    l_msg_count := '';
    l_msg_data := '';
    l_vendor_site_rec.vendor_site_code := rec.vendor_site_code;
    l_vendor_site_rec.auto_tax_calc_flag := 'Y'; --calculate_tax field that needs to be set to Yes
    l_vendor_site_rec.org_id := 5001;
    l_vendor_site_rec.vendor_id := rec.vendor_id;
    l_vendor_site_rec.party_site_id := v_party_site_id;
    l_vendor_site_rec.party_site_name := v_party_site_name;
    v_ext_payee_rec.payee_party_id := v_party_id;
    v_ext_payee_rec.supplier_site_id := v_vendor_site_id;
    v_ext_payee_rec.payee_party_site_id := v_party_site_id;
    v_ext_payee_rec.payer_org_id := 5001;
    ap_vendor_pub_pkg.update_vendor_site(p_api_version => 1.0,
    p_init_msg_list => fnd_api.g_true,
    p_commit => fnd_api.g_true,
    p_validation_level => fnd_api.g_valid_level_full,
    x_return_status => l_return_status,
    x_msg_count => l_msg_count,
    x_msg_data => l_msg_data,
    p_vendor_site_rec => l_vendor_site_rec,
    p_vendor_site_id => v_vendor_site_id
    l_output := '';
    if l_return_status <> 'S' then
    for i in 1..l_msg_count loop
    fnd_msg_pub.get(i, fnd_api.g_false, l_msg_data, l_msg_dummy);
    l_output := l_output || (to_char(i) ||': '|| substr(l_msg_data,1,250));
    fnd_file.put_line(fnd_file.output, 'Unsuccessful Update:'||l_return_status||': '||l_msg_count||', '||l_output);
    fnd_file.put_line(fnd_file.output, 'Vendor Number: ' ||l_vendor_number);
    fnd_file.put_line(fnd_file.output, 'Vendor Name: ' ||l_vendor_name);
    fnd_file.put_line(fnd_file.output, 'Vendor Site Code: ' ||l_vendor_site_code);
    fnd_file.put_line(fnd_file.output, 'Calculate Tax: ' ||l_vendor_site_rec.auto_tax_calc_flag);
    end loop;
    else
    fnd_file.put_line(fnd_file.output, 'Successful Update:' ||l_return_status||': '||l_msg_count||', '||l_output);
    fnd_file.put_line(fnd_file.output, 'Vendor Number: ' ||l_vendor_number);
    fnd_file.put_line(fnd_file.output, 'Vendor Name: ' ||l_vendor_name);
    fnd_file.put_line(fnd_file.output, 'Vendor Site Code: ' ||l_vendor_site_code);
    fnd_file.put_line(fnd_file.output, 'Calculate Tax: ' ||l_vendor_site_rec.auto_tax_calc_flag);
    end if;
    commit;
    end loop;
    exception when others then v_error_message:= 'Other error: ' || SQLERRM;
    fnd_file.put_line(fnd_file.output, 'Error Message: '||v_error_message);
    fnd_file.put_line(fnd_file.log,'***************************************************************************');
    fnd_file.put_line(fnd_file.log, 'Other error: ' || SQLERRM);
    fnd_file.put_line(fnd_file.log,'***************************************************************************');
    end;
    /

    Yes the API works outside my code.
    I have used this exact same API to successfully update other fields on the ap_supplier_sites_all table like hold_unmatched_invoices_flag, match_option, pay_group_lookup_code, pay_date_basis_lookup_code, and always_take_disc_flag fields

  • TS1702 I did all of the above recommendations and still Biblexpress is not working. Should not the developer have an update to care for the problem?

    I did all of the above recommendations and still Biblexpress is not working. Should not the developer have an update to care for the problem?

    You should contact the developer directly to inform them of any issues.
    There should be links in the App and if not, there should be links
    to the developer's site and support in their presentation in the App Store.

  • Ajax is caching the output and not updating the page.If you force a second postback after you should have seen a popup (but didn'), you then see popup displayed

    Ajax is caching the output and not updating the page.If you force a second postback after you should have seen a popup (but didn'), you then see popup displayed

    Hey, thanks for replying. It is the user who needs to manually submit the page.
    Basically our page has a hidden div with various text fields and combo boxes. When the user click on specific links on the page, this div is populated and made visible to the user in server side code.
    What happens for all other browsers other than firefox 23 onwards (worked fine in 22) is that after the user clicks on the link, our server side code is executed via a HTTP post. The server then renders the hidden div and sends the additional HTML down to the browser via ASP.NET AJAX.
    With Firefox 23, the additional HTML is not rendered on the first postback. Subsequent clicks of the same link execute the same server side code but the additional HTML is rendered on the browser without issue.
    We've done a lot of debugging now and the issue is localised to a specific third party supplier's (Infragistics) control. I think Firefox 23 must have changed the way that the viewport or screen bounds are calculated or reflected back to this control as the issue seems to stop when we remove the control's MaintainPositionOnScroll attribute. It might be that the Firefox 23 DOM is not able to provide the screen dimensions accurately when the page is first rendered. I say this as the second postback renders the additional HTML fine.
    The control in question is quite an old version so I don't think it's your issue to be honest.
    Just so that this might be helpful to other developers using the Infragistics Window Dialog Control, setting MaintainPositionOnScroll to false solved this issue for us.

  • How to update the field of a Parent enity (field is not visibe on the Form) from a Child Entity in MSCRM 2013

    Hi All,
              I m new to CRM customization. I have requirement like this..
    I have 3 entities.. Entity1 , Entity 2 and Entity3.
    Entity1 is the parent of Entity2 and Entity3. Entity2 is the parent of Entity3 and child of Entity1 ..
    In Entity1 I have a field eg:product1 which acts as lookup for Entity2 field availableproducts.  Now in Entity2 I have a field the quantity of products which acts as lookup for Entity3 as given below.
    In Entity3: fields:;; products==Lookup of Products(Entity1)
                                  quantity == Lookup of Quantity (Entity2)
    Now from Entity3 I need to update the fields of Entity1 like I have field named Price which is not visible on the Entity3 Form  but when I access this field from javascript I m getting null exceptions since the field is not in the context of the Entity
    on which it is defined. How can I update the fields of the Parent Entity1 from child Entity3  and also update the quantity field on Entity2 which are not avialable on the Entity3 Form.
    Any help is appreciated
    Waiting for the reply..
    FayazSyed

    Hi,
    To do it in JS you need to use oData, as wrote above:
    to make this requests easer, i use a XrmSvcToolkit library (https://xrmsvctoolkit.codeplex.com/)
    Your code will be about this:
    /// <reference path="rtb_XrmSvcToolkit.js" />
    XrmSvcToolkit.retrieve({
    entityName: "Entity1",
    id: Xrm.Page.getAttribute("quantity").getValue()[0].id,
    select: ["my_FieldNeedToUpdate"], //Here are the name of your fields, which you want to select.
    expand: [""],
    async: false,
    successCallback: function (result) {
    FieldNeedToUpdate= result.my_FieldNeedToUpdate;
    errorCallback: function (error) {
    Error = error;
    FieldNeedToUpdate = FieldNeedToUpdate + 1; //Doing some work here
    var InputEntity =
    my_FieldNeedToUpdate: FieldNeedToUpdate //here are fields, witch you want to update
    XrmSvcToolkit.updateRecord({
    entityName: "Entity1",
    id: Xrm.Page.getAttribute("quantity").getValue()[0].id,
    entity: InputEntity ,
    async: false
    Here are more samples:
    https://xrmsvctoolkit.codeplex.com/SourceControl/latest#Samples/XrvSvcToolkit.Samples.updateRecord.js

  • HT204053 I have different icloud and iTunes id's and I want to do homesharing for all my devices. I'm trying to set up a new iMac but homesharing is not working. SHould it be the itunes or iCloud id?

    I have different icloud and iTunes id's and I want to do homesharing for all my devices. I'm trying to set up a new iMac but homesharing is not working. Should it be the itunes or iCloud id?

    Welcome to the Apple Community.
    Preferably your iTunes account, but it shouldn't really matter for getting homesharing turned on, as long as it's a valid ID.

  • I cannot play a song I purchased. The message says the computer is not authorized. I deauthorized and reauthorized it and it still will not work. Should i delete the song and download it again?

    The message says the computer is not authorized. I deauthorized and reauthorized it and it still will not work. Should i delete the song and download it again?

    Should i delete the song and download it again?
    Yes ... if just one song on an album is doing that, it usually means you've got a damaged file on your hands.

  • Query..for Field should not accept the manual entry

    i wann query for remarks Field in JE It should Not accept the manual entry it should accept only sys drop data.
    Thanks & Regards
    yogi

    For this field level authorization, you may only use SDK or SP to reach your goal.  SP would be difficult to use in this case.
    Thanks,
    Gordon

  • Hello , Recently my company purchased a Fujifilm X30 . We were surprised that Adobe has not updated the plug in for this camera. Since we are your customers, we would like to know, when they will perform this update ? For us it is very important to work w

    Hello , Recently my company purchased a Fujifilm X30 . We were surprised that Adobe has not updated the plug in for this camera. Since we are your customers, we would like to know, when they will perform this update ? For us it is very important to work with all our tools work quickly and efficiently, I guess I understand.
    We await your response .
    Thank you very much .

    This is a user to user forum with "some" Adobe staff participation, make requests at this link
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • I updated Firefox but now it says it will not work b/c the application may be damaged or incomplete. What can I do. It worked perfectly before I updated the app.

    I updated Firefox but now it says it will not work b/c the application may be damaged or incomplete. What can I do. It worked perfectly before I updated the app.

    Hello, terrygav. 
    I would recommend processing a reinstall of Mavericks.
    OS X Mavericks: Reinstall OS X
    http://support.apple.com/kb/PH13871
    Make sure to backup all of your data prior to reinstalling OS X 10.9.
    Back up your Mac
    http://support.apple.com/kb/PH11371
    Cheers,
    Jason H.

  • Hi, i am working in E.C.C. 6.0 , IN SMARTFORMS i am not getting the fields

    Hi, i am working in E.C.C. 6.0 , IN SMARTFORMS i am not getting the fields from field list on/off?

    Hiii
    dont worry u will get fields but u wont drag and paste it in ur text
    regards
    Jaipal

Maybe you are looking for