Changes in a Purchase Order?

Hi Experts,
Could anyone tell me as to how I can get the texts in T166T to appear on my form?
When I check the "Header" and "item" changes in the transaction ME23N, I am able to figure out that CDHDR and CDPOS maintains the changes. But I want the changes to appear on my for with the texts maintained in T166T?
Is there any way we can link these two tables?
Or maybe an easier method by which I can get the changes in a PO and print them out on the form?
Thanks in advance
Prem

Hi,
From CDHDR table you can get the change number. For that change number you can get the details from CDPOS table
Now if the line item is deleted the corresponding line will have an entry 'LOEKZ' for the field FNAME in CDPOS.
Regards
Ansari

Similar Messages

  • BAdI or USEREXIT for changing data of purchase order header - ME21N

    hello all,
    I would like to ask you any way to change the field "reason for change" of the Purchase Order  header.
    I tried implementing the method PROCESS_HEADER of IF_EX_ME_PROCESS_PO_CUST
    or changing reason_code of structure ekko in user exits EXIT_SAPMM06E_006 and EXIT_SAPMM06E_006
    but it seems not to work.
    How can i do?..
    sap. v. ecc 6.0

    >
    Shiva Kumar wrote:
    > Use the user exit : EXIT_SAPMM06E_012: This is triggered on saving of a PO...and user can add validations etc in the exit...
    > Cheers
    It doesn't work...
    >
    Martin Voros wrote:
    > you get reference to object IM_HEADER in method PROCESS_HEADER of BADI ME_PROCESS_PO_CUST. On this object you can call two methods - GET_DATA and SET_DATA. GET_DATA returns structure with type MEPOHEADER. You can change your field here and then call method SET_DATA with your modified structure. This should work.
    > Cheers
    ..same thing for this solution...
    the field that i want to change is RSCOD inside structure EREVGRID...it seems to have also get_data and set_data methods ( IF_REVISION_ITEM_DCM ),
    but I don't know which BAdI to implement that has a object type ref to EREVGRID...
    Edited by: E_M on May 13, 2008 11:08 AM

  • Change Document - for purchase order

    Hi all,
    when i make some changes in the purchase order(ME22N) it is stored in the table CDPOS but when i change the delivery address field this alone is not stored. what may be the reason? and how to do it?
    can anyone help me in this?
    helpfull answers will be rewarded with points..
    Thanks,
    Murali.

    Saquib,
    No, this is not directly linked to the customer or vendor master. What happens is, during PO creation the delivery address is picked up from the address of the plant, but that can be updated via both BAPI and transaction.Each time this address gets changed, SAP generates a new ADRNR and store that address in ADRC.
    This might help you in future in case you face such situation. I faced this only a few months and that's why I remeber this so clearly.
    Murali,
    Please award points and close the thread if it helped you.

  • Need to get the Last Changed date in Purchase Order.

    Dear Experts,
    I need to get a table which stores the last/ latest change for a Purchase Order.
    For a Purcahse Order, last date  Changes need to be captured , where there was some sort of activity associated with that order. That activity could be a goods receipt, an invoice payment or a change to the Purchase order.
    Thanks in advance.

    Hi,
    You can use EKPO-AEDAT.
    Tables CDHDR and CDPOS contain what chnages you have made.
    Thanks,
    Ramakrishna
    Message was edited by: Ramakrishna Prasad Ramisetti

  • Reset Release Strategy for any change in the Purchase Order

    Hi,
    Is it possible in SAP standards to reset release strategy for even minor changes in the Purchase Order irrespective of whether it is value change or any change in the text or Purchasing group change or whatever it is?
    If so, where do we need to make the configurations.
    I have seen in some thread about resetting the release strategy for decrease in Purchase Order value.Even that was possible through some BAPI.
    Thanks in Advance.
    S.Raghavan

    hi sandesh,
    sorry, i know it's too late.
    i tried your suggestion, it works blocking the purchase order after release strategies are setted.
    sandesh, raghavan:
    i need to reset the strategies after to make any change in the po. i'll appreciate your help if you can give it.
    regards
    f

  • Report or FM to change Plant of Purchase Order

    Hi,
    Can anybody suggest me a way to change Plant of Purchase order Item?
    When i am chacking in me22 Plant is in Disable mode even to change manually. Is there a way to change from a function module or standard report?
    Thanks in Advance,
    Sanjeeva

    Hi Sanjeeva,
    If it's one order only try to use ME22n and check out below condition... also consult functional consultant there..
    Check out whether Tr./Ev. Goods receipt and/or Tr./Ev. Invoice receipt happened for the purchase order which you are trying to change...
    If so and all the quantity received then as per configuration it won't allow you to change the plant..
    try to use T-Code ME22n (SAP Enjoy Transaction)
    If it's for mass change then user BAPI_PO_CHANGE for it...
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Report for the changes made in Purchase Order

    Hi Friends,
    In my location, changes are made to the purchase orders as and when required. Is there any report which shows the changes made to the Purchase Orders?? I am aware of the Item changes option in the Purchase Order.
    Thanks in advance..
    Regards,
    Phani

    Hi,
    You have to develope an own ABAP report for this, based on the change tables CDHDR and CDPOS
    CDHDR - Header Change
    CDPOS - Item Change
    EREV - Version Change
    Check the link
    Purchase order change log
    Regards
    KK
    Edited by: Kishore Kumar Galla on Apr 5, 2010 1:16 PM

  • How to set default value for Price Change Indicator in Purchase order

    Hi,
    While creating the service purchase order with item category "D" the price change indicator in the services tab of the purchase order is getting checked by default. I want to uncheck this by default.Where can we set the default property for this.
    Thanks in Advance!
    Surya

    My plsql parameter is p_arr which is of "TYPE vc2_255_arr IS TABLE OF VARCHAR2(255) INDEX BY BINARY_INTEGER"You need to declare it in a package specification and initialize in the package body:
    SQL> create or replace package pmp_lib
    as
       type vc2_255_arr is table of varchar2 (255)
                              index by binary_integer;
       vc2_255_arr_default   vc2_255_arr;
    end pmp_lib;
    Package created.
    SQL> create or replace package body pmp_lib
    as
    begin
       vc2_255_arr_default (1) := 'abc';
       vc2_255_arr_default (2) := 'def';
    end pmp_lib;
    Package body created.
    SQL> declare
       arr   pmp_lib.vc2_255_arr := pmp_lib.vc2_255_arr_default;
    begin
       for i in 1 .. arr.count
       loop
          dbms_output.put_line (arr (i));
       end loop;
    end;
    abc
    def
    PL/SQL procedure successfully completed.so in your case it would probably be sth like (assuming pmp_lib is a package):
    <%@ plsql parameter="p_arr" type="PMP_LIB.VC2_255_ARR" default = "PMP_LIB.vc2_255_arr_default" %>

  • How to change the standard purchase order ???

    Hi,
       i am trying to change the output form of standard purchase order.for that i copied the standard script/form to my own created script/smart form.i modified it as per user requirement and i have given the same name in NACE>EF>output type>NEU>processing routine..in place of the standard one.and i have also activated the standard program i.e. SAPFM06P.but when i am going to me22n and print preview the previous form format is coming...
    if i will create my own smartform then it is difficult for mapping all the fields to me22n...user can not input other fields in me21n if i am giving my print program name in NACE...
    can anybody please help me...????
    pls reply soon,....
    Regards
    Amayika

    Hi,
    Are you sure you have set it for medium 1 (print output) and specify the program, FORM routine, and the Form/Script correctly?
    Another reason is the output type is not set up yet at the PO. Go to ME22N and click Messages button (next to Print preview button) and check whether your output type is already there. If it is not, then create one.
    Please also check that you have copy client the form/script from development client to test client (SAPScript need this but no need for Smartform) using T-Code SCC1. And the config is configured properly in test client.
    Regards,
    Teddy

  • Change MOT in purchase order using CIF Inbound user exit

    Hello APO Experts,
    Objective is to change start date of purchase order ( date at source location) in APO based on some date in R3.
    Planning to bring R3 date using CIF Outboud user exit( CIFPUR01)  in R3 and then further requirement is to a) calculate lead time in inbound user exit ( APOCF006) of purchase order in APO   b) compare it with lead time of all available Means of Transport in that particular TLane  and select  one MOT say XX which matches that lead time c) Next part is to change existing MOT in the Purchase order and replace it with the new XX MOT.
    For part c....I am wondering how can we change existing MOT in purchase order and replace it with a new one.Can it be achieved by the user exit APOCF006 in APO or something else is required.
    Will appreciate your quick reply on this issue.
    Thanks
    Best Regards

    Hi Nilesh
    We have a similar requirement. I know its way long for you to remember but i would appreciate if you could share what did you do to achieve this.  
    Thanks
    Abhishek Rai

  • Alignment Changing in the Purchase Order Form

    Hi,
    We are using 11i( 11.5.10.2) with oracle 9i database. I am adding one text item in the Standard Purchase Order form.next to the Unit price text item. when i change the canvas.total alignment is changing and also coming blank space in the form when i open in the application.
    Can anybody suggest on that issue.
    Thanks.

    Hi,
    I am adding one text item in the Standard Purchase Order formI believe this is not supported -- See (Note: 105127.1 - FAQ (Customization)) for details.
    However, if you still want to have this working please verify that you have compile the form successfully after doing the necessary changes.
    Thanks,
    Hussein

  • How to change supplier on purchase order

    Entered a purchase order for supplier X but the supplier does not have the item. How can I change the supplier on the purchase order without cancelling it?

    Hi............
                You cant change the supplier once the document has been punched against. You should cancel it first........
    Regards,

  • How to implement Change pointers for Purchase order - ME22N - Custom Fields

    Hi Experts,
    Can you please tell me how to implement - Change Pointer for Custom fields in IDOC.
    I am working on IDOC - For purchase order - acknowledgements - in custom screen/tab in ME22N.
    Everything is working fine according to my requirement.
    All i need to know is the process of - Creating/Change - Change pointers for Custom fields.
    1.How to implement change pointers for custom fields.
    2.Can we maintain - Change Document - for custom fields at data element level?
    P.S. - I have browsed many previous - forums before posting a new discussion.
    please share your inputs...
    explaining how to create/implement - change pointers for custom fields will help me .
    Regards,
    Karthik Rali.

    Hi,
    To maintain Change Document for custom field:
    1. Check if "Change document" checkbox is set in data element.
    2. Find Change Document Object for transaction.
       You can use SQL trace - ST05.
       Look there for line with table CDHDR and statement insert values
       (for example for transaction KA02 Change Document Object is KSTAR)
    3. Regenerate update program for this Change Document Object in transaction SCDO
    Change documents for z-fields schould be generated.
    I am not sure about change pointers but they are configured somehow in BD61 and BD50.

  • Upgrade Change History (Process Purchase order)

    HI All,
    We have upgraded our system from SRM_SERVER 550 SAPKIBKT10 to SAPKIBKT12 (10 to 12)
    Is there any way to see what changes happened in the "Process purchase order" screen after upgrade
    i.e old history and new changes
    Thx
    Jai

    transaction code :SO99
    got the required information
    Thx
    Jai

  • Change Log for Purchase Order

    Dear all,
    Just today, we've found out that one of our buyers always change the PO quantity when the supplier deliver more than they should.
    Before we do something like lock her access or even remove her from current position, we'd like to know how often and how much is the impact of her actions.
    We know that we can see the changes from the change log for every single PO; but if we want to know the changes from several hundreds PO ... looking at the log one by one may not a good idea .. LOL ..
    Do you have any experience with this or any idea on where (the tables) I can take a look ?
    Thanks,
    Markus

    Hi Markus,
    The details of  the 'Show History' function, for the  Purcahse Order, is contained in the ADOC (header information) and the AD01 (Row information). These two tables contain the exact same information as the OPOR and POR1 (Purchase Order header and row tables).  However, the history of all marketing documents in the database is saved in this table so there is a need to filter this table based on the Purchase Order documents only.
    What I would suggest is to create a query based on the ADOC and ADO1 and filter it based on the field 'ObjType' (Field Name is 'Object type'). The object type for the Purchase Order is '22'. As each update to a document is saved in the table there is a need to distinguish each version of the document. This is done with the 'Loginstanc' field in the both the ADOC and the ADO1, so this may help you with the query. After that the query can be filtered for any field that is visible in the Purchase Orders.
    There are other childeren tables of the ADOC which you may need. To find these, when in the Query Generator, open the 'Choose from List' to obtain the list of tables. Then in the 'Find' field type the letters 'ADO' this will bring all the tables starting with 'ADO' to the top of the list.
    One final thing, each update to a document is recorded to a usersign. Obtain the user sign of the user in question by running a query on the OUSR table and look at the figure in the field 'Internal_K' for that user. This is the number that will then be visible in the field 'UserSign' in the ADOC table.
    I hope this helps
    Noreen

  • Approval Procedure to be sent when changes made in Purchase Order

    Hi Everyone,
    Can anyone help me with query for approval terms as follows:
    I want an approval to be triggered when the changes are made in Purchase Order & Updated. Not when new PO is created but at the time of when once the PO is created & then its edited by purchase employee and again gets updated then approval should be triggered to Accounting Department.
    Regards,
    Jai

    Hi,
    You have to develope an own ABAP report for this, based on the change tables CDHDR and CDPOS
    CDHDR - Header Change
    CDPOS - Item Change
    EREV - Version Change
    Check the link
    Purchase order change log
    Regards
    KK
    Edited by: Kishore Kumar Galla on Apr 5, 2010 1:16 PM

Maybe you are looking for

  • Need help with mail sending mails..

    Can anybody help me with a code that works perfectly for sending mails.. since i used many codes which are not working, so please help me with the code to send mails please or else with an example.

  • Why can't I open pdf's after install of adobe reader? Should I see it in system preferences?

    Why can't I open pdf's after install of adobe reader? Should I see it in system preferences?

  • Data Editor - clicking on Data tab - gets error

    Hi all. I don't think this has anything to do with 30EA2, but I when I click on a table in the schema browser to display columns, data, constraints, triggers, etc..., all the tabs work ok, except I am getting an error on the data tab. I get the follo

  • Iphone 3G is hanging

    bought Ipbone 3G yesterday, when ever i receive calls or try to make calls the phone is get hanged and became like switched off. Even sleep button not working , i need to use some others phone to call my number then only it starts working. It happend

  • Vertical scrollbar

    Hello, How can I display the vertical scrollbar in an .fla that is taller than the browser window? I've created a file that loads thumbs from an .XML file and displays them in rows. You guys taught me how to do that and it works great. The stage will