Detect purchase requisition item text changes

Hi Abap Gurus,
During a PR modification (ME52N), I need to read the purchase requisition item text at runtime to compare with the stored item text (read text) and detect if it have changes.
Actually, I am using the badi ME_REQ_POSTED.
How could I detect the PR item text changes? or How could I read the item text at runtime.
Somebody could help me with this....
Other ideas will be welcome.....
Regards,
Jaya Sankar.M

Hi,
But can you change the purchase requisition item text using the badi?

Similar Messages

  • Table for Purchase Requisition Item Text

    I would like to know, what is the table which stores the item text in tab texts for Purchase Requisition?

    Hai,
    the table is STXH.
    CALL FUNCTION 'READ_TEXT'
          EXPORTING
      CLIENT                        = SY-MANDT
            ID                            = IT_STXH-TDID "ID
            LANGUAGE                      = IT_STXH-TDSPRAS " LANGUAGE
            NAME                          = IT_STXH-TDNAME
            OBJECT                        = IT_STXH-TDOBJECT
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
          TABLES
            LINES                         = L_LINES
    Regards,
    Venkat

  • Purchase Requisition item Text

    Sir,
    IN PR WHEN I IGO TO ITEM DETAILS in TEXT TAB
    1 Item text
    2 item note
    3 Delivery Text
    3 material Po text
    were are the inputs reflected
    Regards

    Hi,
    The setting for this inputs field are in below path.
    SPRO-MM-Purchasing-Purchase requisitionTexts for PRDefine Text Types and Define Copying rules.
    Define text types are cross client configuration.
    Where in copying rules you can define from where those texts to adopted in PR.
    Hope it will help you.
    Thanks

  • To display standard text in purchase requistion item text.

    Hi,
    My requirement is display standard text in purchase requisition item text(text type 02).  Please let me know where should i write the code and what it the code?
    Thanks
    Alka
    Moderator message: please work yourself first on your requirement, if necessary return with specific problems that have not been frequently solved before, remember these forums are not a replacement for ABAP training.
    Edited by: Thomas Zloch on Dec 1, 2010 11:52 AM

    Hi Kiran,
    As you stated its correct that the deletion indicator has to be set only after the document is closed. But your case is different, how did that deletion indicator got set for that "Purchase Requisitions".
    As per my knowledge is that the deletion flag ca be changed, but not the deletion indicator. In case if I get soem thing I will respond to you.
    Also I got this from SAP:
    Set the indicator if you wish to archive documents using the one-step procedure.
    Do not set the indicator if you wish to carry out your archiving using the two-step procedure.
    --Thanks
    Pankaj.K.S

  • Purchase order item text and material valuation class

    Dear Experts,
    A purchase order item text needs to be maintained for a particular material valuation class when the PO is created, is there anyway that this can be customized?

    Hi,
    Maintained Text in Material master record
    patah:Goto material mater change view,select plant view, then go to puchase order text there u
    can maitain material text. same text is automatically comes while creating Purchase order.
    regards,
    Ali

  • Issue at Purchase order Item Text Transferring

    Hello,
    I have an issue with Purchase order Item text transferring from SAP R/3 to EDI.
    Here I am using Function Module - IDOC_OUTPUT_ORDERS.
    within the function module i have user exit to populate this.
    User Exit Name : EXIT_SAPLEINM_002
    Include name : ZXM06U02
    I need to populate data manually ( Hardcode ) for E1EDPT1 is 'LINK'.
                                                     and    E1EDPT2 is " some text".
    When I write the code at user exit ,it is populating so many time Link Field.
    However i need to get only one time for each Item of Purchase order.
    and also I have one more question as per SAP Standard Purchase order each item has :
    1. Item text
    2. Info record PO Text
    3. Material PO Text
    4. Delivery Text
    5. Info Record Note
    when Create PO and it created Idoc ,even when i fill all the text ,when i see data at WE02 ,it has only few text not all.
    Please give me advice ,how should i follow.
    Thanks
    Seshu
    Issue at Purchase order Item Text Transferring

    Hi,
    Do this check before adding the text..
    IF INT_EDIDD-SEGNAM = 'E1EDPT1'.
    add the text..
    ENDIF.
    Thanks,
    Naren

  • How can i delete Purchase Requisition  item

    how can i delete Purchase Requisition  item
    can any one  hepl me
    thanks in advanced.

    Deleting a PR item in then sense via transaction or program.
    If itz transaction, you can use transaction ME52N.
      1. Go the PR via transction ME52N
      2. Select the respective item, and click on TRASH BIN button i.e delete button from the above icons.
    If you want to do it programmatically,maybe you can use: BAPI_PR_CHANGE for the same.
    Kind Regards
    Eswar

  • Purchase orders item texts incorrect display

    Hi everyone,
    i am having a bit of a hard time solving an incorrect display of purchase orders item texts.
    For an unknown reason, i can't manage to modify the item's text of a purchase order, it's as it has been set on "display".
    I checked AKTH, ME21,ME21N and PT0F( the item i use) on spro :
    Materials Management=>Purchasing =>Purchase Order= > Define Screen Layout at Document Level =>  Reference data item for the texts and it's always set on Optionnal Entry.
    I even tried to set them on Requested Entry but i didn't manage to get the text-item field modified.
    Any kind of help would be appreciated.
    Thanks.
    Siidou

    Yes i did, thanks.
    I found the answer: when the item-text is set on Requested Entry, sap considers it as if it was set on dispalay.
    I set the item text in AKTH, ME21,ME21N and PT0F on OPptional entry and i can modify it again.

  • Purchase Order Item Text

    Hi..
    I need to have an report similar to the Output as in the ME2l ( Purchasing Documents per Vendor ) along with a field ( Long Item Text Field in the PO)
    added to the report. I am not sure how i should proceed further...
    Can anyone of please guide me how to proceed further...
    Thanks
    Balaji

    Hi Anji...
    Thanks for the Logic.  As you said i went into the Goto --Header  and i got  the below info.
    Text name       950001604400001                          
    Language        ES                                       
    Text ID         F01  Item text                           
    Text object     EKPO       Purchasing doc. item texts    
    Now this info has to be passed on to the Functional Module READ_TEXT.
    and the text obtained should be plugged in the Loop of EKPO Internal table.
    Can you say me how to look at the Internal Table of the Std Report ( ME2L)..
    Thanks for the support ..
    Regards
    Balaji

  • Copying Purchase requisition header text  to Purchase order.

    Hi Experts,
    Can you suggest me a way to copy purchase requisition header text  to purchase order?
    Best Regards,
    Shailendra

    Hi
    PR header text cannot be copied to PO ....... its std SAP .... reason being many PR can be copied to same PO .... so how to decide which PR header text to be copied to the PO ....  ???

  • Purchase requisition - Header Texts and Item Texts

    Hi,
    In Creating Purchase requisition if we enter the Header note text and Item text, in which table these texts will be stored.
    Regards,
    Ram

    Hi,
    To see any text go to the detail of that text you will have a magnify button below that text click there you will get the stand text editor open.
    Click on GOT->Header it will give the information you need to get this text via function module 'READ_TEXT' they are sored in STXH.
    Points if find this helpful
    Regards,
    Yakub Shah

  • Purchase Requisition number not changing when sales order item is rejected

    Hi all,
    I have a requirement to change the sales order status to 'TECO' when ever some reason for rejection is selected in the status tab at the item level.The status should change from 'TECO' when i remove the reason for rejection.
    The status change is happening correctly.I have achieved it using user exit.
    CASE 1 : Initially, when a new item is added in the Sales order the purchase requisition number appears in the schedule lines tab of the item level. This is as expected.
    CASE 2 :When the same item is blocked (by entering a reason for rejection in status tab of VA02 ) then the purchase requisition number is not present in the schedule lines tab.This is as expected.
    But i face the following issue.
    CASE3 : Again if the blocked item is unblocked (By removing the reason for rejection in status tab of VA02 ) then the purchase requisition number does not appear again in the schedule lines tab.The purchase requisition number is expected to appear again.
    This happens in case of DROP SHIPMENT scenario. I understand that in case of dropshipment scenario the purchase requisition number is triggered by item category and schedule lines only.
    I tried to make the changes(to change the status ) in user exits 'MV45AFZZ' and also 'MV45AFZB'.But i face the issue in both the exits.Please let me know if there are any means to solve this issue(as mentioned in case 3).
    Regards,
    S.Suba

    Many thanks for your answer. It help me to solve the issue.
    So applying note 738171, with transaction OVB5 (or VOFM, requirements->subsequent functions->Purch.requisitions) we create one new requirement, ie RV07A900, and then we apply the rule that if we have delivery or billing block, that is, VBAK-LIFSK or VBAK-FAKSK not empty, then we set an error with a code similar to this:
                da_sy-msgid = 'Z1'.    (message class)
                da_sy-msgno = '001'.  (message number)
                error_exception = true.
    and then the PR is not created.
    Regards.

  • How to configure Sales order item text copy to Purchase requisition item

    Hi,
    How to configure sales order item text copy to Purchase requisition text then copy to PO item text.
    Regards
    Jack

    Hi Rajesha,
    Thanks for your reply, some of the items in sales order are procured externally by us and our customer maintains text related to price and specification in the item details of the sales order, MRP creates planned order for these materials and these planned orders are always converted in pur requisition, we want that text from the sales order item details should be copied in to the purchase requisitions converted from planned orders.
    is there any user exit which can be called at the time of saving a purchase req or user exit for converting planned order in to pur req.?
    if there is any such exit available, then I think I can read the pegged requirement of the planned order where sales order item will be found then read the text in the item then copy this text in pur req then save pur req may work.
    but this will be a bulky development, please let me know if we can shorten the development.
    Thanks again
    Anand

  • Purchase Order item level change

    Hi All,
    I am trying to edit Purchase Requisition line number at item level in ME22N. But it is in disable mode. Is there any way to change it? The same is editable in delivery schedule tab in same transaction i.e. ME22N . Please let me know how to edit the same at item level?
    Thanks in Advance.
    Regards.
    Sugandh

    Hi Sugandh Ameer Baba,
    This is working exactly the way the ME21N / ME22N transaction is designed!
    When you are in ME22N, if your "item details section" is open , then you cannot modify anything on the "item overview section".
    So, if you need to edit the Purchase Requisition line number at item overview section, COLLAPSE the "item details section "
    Hope I got your issue right !!!

  • Purchase Requisition Item Version Completion

    Dear Friends,
                          In a purchase requisition line item, In the version tab when the version check box is newly ticked, I want to capture that change. I tried to use get_datax method of IF_purchase_requisition _item in the line item check user exit. but the structure doesn't have the field. please let me know is there any way to find out if this field is changed newly.
    Thanks & regards,
    sudhahar R.

    found myself.
    Thanks.

Maybe you are looking for

  • How can i print just the to do list, how can i print just the to do list

    is there a way to print  just the to do list from iCal or mail (not events) or to print only calendar dates with entries and the to do list (on the list option) or print to do lists on the side of the monthly calendar??

  • Trying to move my iPhoto library to external drive

    I'm trying to clear up room on my internal drive and so trying to move my library to an external drive.  I've copied the photo library to the external drive.  How do i point the iPhoto application to this new location so that I can delete the library

  • A certain swing component...

    Can anyone tell me how to setup a JTextArea component to have the ability to scroll? Also, Is there some way that you can limit the amount of lines that will remain in memory of the JTextArea so that it will conserve memory? Thanks to the Java commun

  • Special characters not shown in OBIEE report

    Hi We are facing an issue with column values containing special characters in the reports(OBIEE 11G, 11.1.1.6.5). In-spite of actual column values i.e. special characters, NULL is displayed/shown. It would be very helpful if any work-around/pointer i

  • Password in WLP 8.1