BADI/Userexit for header text in Purchase order

Hi Experts,
i had a scenario , in that when i create a sales order , a purhcase requisiona and purchase order will also generate automatically.
in this case how to copy the header text of sales order to PR and PO.
is there any BADI or User Exit for this..
Pls help me.
Thanks ,
Chandra

Hello Chandra
Assuming that you are working on ERP 6.0 (Do we know???) then the BAdIs are:
ME_PROCESS_REQ_CUST
ME_PROCESS_PO_CUST
Regards
  Uwe

Similar Messages

  • Default Header text in Purchase Order

    Dear All,
    I want to have a default PO header text.I.e whenever I create a PO the header text say "This PO is for XYX" should come as default in Header Text. How this can be achived.Through Config OR using some Function module..
    what are the config.steps.?
    Thanks in advance .
    Regards
    Amar

    Try below steps this may help you
    Adopt Purchase Order Header Text
    To default the Header Text into the Purchase Order
    Step 1 :- Maintain text in Vendor Master
    MK02 - Change Vendor 
    Choose Extras -> Texts - Input the text in Purchasing memo
    Step 2 :- Link Text types to Header text in Purchase Order
    OMFV - Define rules for copying (adoption of) text 
    Choose Header Text 
    Choose Goto -> Linkage: text types -> To vendor 
    Filled in the field No. (e.g. 01 - Header Text), next tick whether you want the text to be adopted or for displayed only 
    Choose Update to save

  • HEADER TEXT in purchase orders using BAPI_PO_CREATE

    How to update HEADER TEXT in purchase orders using BAPI_PO_CREATE or BAPI_PO_CREATE1?Please advice for both types.

    Hi Srini ,
    IF you are using the BAPI_PO_CREATE , we are not having the parameter to pass Header Text.
    If you want to get Header Text  directly then Use  BAPI_PO_CREATE1 wiht a parameter POTEXTHEADER (I am not sure it is  there in 4.7).
    If  BAPI_PO_CREATE1 does not exist in  4.7 then  use create_text function module to update the the Header text
    Hope it helps
    Rgds
    Sree M
    Edited by: Sree  Merugu on Jun 13, 2008 5:10 PM

  • How we will maintian Header Text in Purchase Order Mandatory?

    Dear All,
    How we will maintian Header Text in Purchase Order Mandatory?Please suggest a Solution..
    Thanks,
    Raju

    hi
    in standard  it is not posible  u need to use User exit: EXIT_SAPMM06E_012 of enhancement MM06E005. check details with ABAPer
    Vishal...

  • SAP VB script for updating texts in purchase orders

    Hello,
    I am trying to create a SAP script for updating texts in purchase orders. It is in the last third - Item Detail,  Texts tab.
    The script is ok apart from the fact that it always deletes whatever text is in there and than add a new one.
    I would like to keep history in the texts tab and always just add one line to existing texts. Is there any way (command) how
    to keep existing texts and only add a new line to the top?
    Thanks a lot!
    Jan

    Yes, you are exactly right. I have already figured it out as well. I did not expect it would be that easy. But thanks a lot anyway for replying on this!
    Now I am struggeling with changing SAPLMEGUI in vb scripts for ME22n. Sometimes, there is SAPLMEGUI:0010 and sometimes SAPLMEGUI:0015. Even when the users have the same screens in the beginning the SAPLMEGUI number differs. They also do one item by hand and than it changes. It keeps changing between SAPLMEGUI:0010 and SAPLMEGUI:0015
    Is there a way how to have the same number of SAPLMEGUI or how to eliminate this issue?
    Thanks a lot
    Jan

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

  • 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

  • Default header texts in purchase order

    Hi,
    I would like to ask you for help in following case.
    I need to set default purchase header text when a new PO is created in me21n.
    I found transaction VOTX where can be this done for sales order, but not for PO. Is there anything similar also in MM?
    Maybe I could use user exits in MM06E005, but I didn't find the relevant structure which keeps header texts.
    Third idea is to add header text fields into personal setting in me21n, where each user can define his own default texts but I have no idea how to do that.
    I need to set default texts which are global for all purchase orders, so it has no sense to use Info record in this case.
    Has anybody experience with this? I would appreciate any help. Thanks.

    Hi,
    you can try to solve it using BADI ME_PROCESS_PO_CUST. The method open is suitable for you problem. Here is a quote from a BADI documentation.
    The OPEN method enables you to do the following when opening a new
    document:
    o   Import new data if the document was already posted to the database
    o   Initialize your own data when creating a new document
    You get a reference for object with type IF_PURCHASE_ORDER_MM in this method. This class implements interface IF_LONGTEXTS_MM with methods like IF_LONGTEXTS_MMGET_TEXT and IF_LONGTEXTS_MMSET_TEXT. So you should be able to set long text for your new PO in this method. Check BADI documentation for more info.
    Cheers

  • Unlimited space in Header Text of Purchase Order

    Hi
    Our customer wants to have unlimited space in the Header Text of the Purchase Order. Standard SAP Purchase order header text allows 15000 lines to be entered (approx 150 pages). After which the text needs to be split and entered. The same was suggested to the customer, but he wants to have unlimited space to enter in the Header Text and the same to be printed in the purchase order.
    Can any one suggest a solution for the same.
    Thanks in advance.
    AJ

    Hi all,
    Thanks for your quick response. The customer has got his own sets of terms and conditions which he wants to enter in the purchase order and take it in the printout of the purchase order. The data of these terms and conditions goes to more than the standard limit in SAP. Please help with a solution for the same.
    Thanks in advance.
    AJ

  • Header text in Purchase order is diappearing

    hi,
    while creating a purchase order i am entering the header text for shipping instructions, the movement i save the order the text is gettign disappeared , can any one help me to resolve this, any kind of help will be highly usefull..

    Is the the header text id a custom or SAP standard? If its custom, then there is some problem in the customizing or the TEXT-ID/Object creation.

  • Change documents log for Header texts of Sales order

    Hi ,
    Does any body came across seeing the changes in the texts in the change logs in the sales order ?
    Can anyone of you provide me the way to activate the change logs for the long texts
    Regards,
    Ajai.

    Kapil,
    Before my current project I was with the same opinion. But at my current client I saw the header texts being logged for the purchase order. I.e if we change the header texts for the PO, we can see the changes in the change log history of the PO.  Thats where I got trouble into.  The business shows the PO history and expecting the same in SO too.  I was unable to figure out how the PO header texts changes were being logged.
                Coming to performance, the clients volume of orders is not too high.
    Lets see any of our SDN friends come up with some hints..
    Regards,
    Ajai.

  • Printing Header Text in Purchase Order

    HI,
      Actually I had the problem. A smart form has been developed for printing Purchase Order.  Here in smartform a field has been declared to accept whatever the text had keyin in Header Text has to appear in Purchase Order.  It is printing correctly until it is of Two paragraphs which consists of two or max three lines.  Whenever it is exceeding these two paragraphs even a single word.  It is printing something from the middle and in a reverse way.  To get the clear picture I will give the example below.
    <b>Ex.</b> <b>I</b>) This Purchase Order has been given.
        Delivery has to be make on time.
    In the above example it is ok printing properly.
    <b>Ex.</b> <b>II</b>) This Purchase Order has been given after
            verification.
            Delivery has to be make on time as scheduled.
            On Delay PO will be cancelled.
      In this IInd example the output is showing as
    <b>Output:</b>       to be make on time as scheduled.
          verification.
          This Purchase Order has been given after
          On Delay PO will be cancelled     
          Delivery has
      Waiting for your help.
      Thanks in Advance.
    bye
    Abdul Mannan

    hi,
    Ofcourse, the field is a part of main window in Smart Forms.  I will elaborate further, In Main window we declared one <u><b>Table</b></u> in the Tables <u><b>Main Area</b></u> there is a <u><b>Row</b></u> and in a Row there is a <u><b>Cell</b></u> in a cell we declared one <u><b>Text Field</b></u> which is taking that <u><b>header text</b></u> and printing it as output.
    I hope you got it. 
    Waiting for reply with a good solution.
    Thanks and Regards.
    Bye.
    Abdul Mannan

  • Copy Purchase Requisition Header Text to Purchase Order

    Hello!
    I will like to copy the Header text of the Purchase Requisition to the Purchase Order.
    I have read that SAP does not allow to copy it to the Header Text of the PO but it allow to copy it to the Item text of the PO.
    Can you give some hint on how to do this.
    Thanks.
    Regards,

    Hi
    You can't copy the header text of PR to PO header
    because Sometimes you need to convert different PRs to one PO.So each PR will have different header text, how the system will identify in PO header text.
    So whatever the item text you maintained for PR will be copied to item text of PO if you create the PO with respect to PR.
    So for this reason SAP has not provided the option for link the PR header text to PO header text.
    Hope you understand,
    rgds
    Chidanand

  • TEXT_ID for Item Text of Purchase Order

    Hi,
    i want to fill a item text of a purchase order via BAdI BBP_PO_INBOUND_BADI. The BAdI is called, that's tested.
    Transaction ME23, Item / Texts / Text overview.
    I tried with
      data:
        lw_TEXT type BBPS_IF_BAPIMEPOTEXT.
        lw_TEXT-PO_NUMBER = '4400001659'.
        lw_TEXT-PO_ITEM   = '00001'.
        lw_TEXT-TEXT_ID   = '0001'.
        lw_TEXT-TEXT_FORM = '* '.
        lw_TEXT-TEXT_LINE = 'strike'.
        append lw_text to BBP_POTEXTITEM.
    and hoped to see "strike" as text - no success. Of course the values should be found later dynamicly.
    In my point of view the parameter TEXT_ID is the problem. I tried 01, 0001, L01, K01, A01 and F01 but without success.
    How can i find out the right TEXT_ID?

    Hello Udo,
    I have exactly the same requirement, I need to fill the item text via (BBP_PO_INBOUND_BADI, method: BP_MAP_BEFORE_BAPI).
    In my case I have to write some values in BAPI_POTEXTITEM.   However, it seems that the badi is not saving the data.  At least I cannot see the text values in ME23N, Item / Texts.
    Would you give me an advice ?
    Thank you !
    best regards,
    Diego

  • Implementation Of Badi ME_GUI_PO_CUST for adding fields in Purchase Order

    Hi All
       I am implementing BADI ME_GUI_PO_CUST / ME_PROCESS_PO_CUST to add additional fields in Purchase Order.
    The implementation of the BADI ie the Subscreen of the fields to be added appears in  transaction ME23N but it does not appear in the transaction ME22N and ME21N.
    Can anyone help me on this.
    Thanx.
    Moderator message - Duplicate post locked
    Edited by: Rob Burbank on Jul 10, 2009 12:10 PM

    check the answer
    [New tabs added by Badi ME_GUI_PO_CUST not seen in ME21N and ME22N;
    bye

Maybe you are looking for

  • How to create a simple app using the MVC approach?

    Hello gurus i'm trying to learn the SAPUI5 and i'm trying to create a simple app using the MVC i created the app and trying to add a lable to the view but there is nothing appear when i run it the code for the HTML page <!DOCTYPE HTML> <html>   <head

  • My Ipod is in disk mode how do i undo this? help!!!!!!

    I have a Ipod nano 2 generation. How do i undo disk mode??Help! My Xp says that the ipod needs to be reformatted and my itunes wont open someone please help me please! Message was edited by: Dont no what this is

  • HTTP Button Submit not working in FireFox

    I am using Adobe Life Cycle Designer to make a Form. I have a Problem that the HTTP Submit Button is not working in FireFox. It works with IE but not with FireFox. I have also checked this with Button Submit Control.Please Help me.

  • How can i get an Applet transfer data to a servlet like a Form does?

    it is clear that URL class provides way to connect to remote web resource. and furthermore i am trying to make an applet perform like a Form in html to send user data to a servlet. i may adhere a long name-value string to url sent by applet but this

  • Photoshop CC will not load.

    I have joined and installed CC.  When I open CC it shows that Photoshop C6, Bridge CC and PhotoshopCC are installed and uptodate.  I can open Bridge CC and Photoshop C6, but Photoshop CC is no where to be found on my computer.