Purchase order type in sales order header

Dear Friends,
how can I make purchase order type in sales order header be default.
With regards

Hi Vamsi,
if you want to enter a default value in the purchase order type field in sales order header, then do it by either of the ways
1. by variant tcode SHD0
2. by USEREXIT_MOVE_FIELD_TO_VBKD in program MV45AFZZ
regards,
Santosh

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

  • User Exits for Purchase order Header Text Validation

    Hi Experts,
    I need user exit for validate a  Long text in Purchase order header data for a Particular Doc type.
    We are using 4.6 B so badi is not available .
    So pls tell me user exit for the same or any other method as i was unable to find user exit for this scenario.
    Note :  This valiadation should trigger whhile creating  PO.
    Warm Regards
    Santosh Kumar
    Edited by: Santosh L on Mar 19, 2010 9:58 AM

    i have used concept of global memory through call stack

  • BADI-User exit required for updating Purchase order header field -IHREZ

    Hello All,
    We have requirement in our business to update the purchase order header field "our reference" EKKO-IHREZ with some text field. We need a BADI/user exit that can be used for updating this field . We have checked the BADI ME_PROCESS_PO_CUST and unfortunately we are not able to use this BADI as it getting triggered in enjoy SAP transactions ME21N , ME22N etc. We are not creating the purchase order manually and we are using ME59N for creating Purchase order . Hence we are looking for some user exit/BADI that can be used in ME59N for updating the purchase order header field IHREZ.
    Thanks in advance for your immediate response .
    With regards,
    Joseph Anand B

    TRY using the exist u2022     EXIT_SAPLME59_001
    You can also later on add this field by BAPI_PO_CHANGE

  • Status of Purchase Order Header

    Hello Community,
    in the purchase order header you find a tab status. This has values like Not Delivered, Partially Delivered and Full Delivered. I wonder how this status is set. Is it determined all the time you enter the transaction or is it stored in a database table.
    Basically I would need the table where the actual status of the header is stored. I looked through all tables like EKKO, EKET etc. but could not found it. Do somebody of you has any idea?
    Thanks
    Berthold

    Hi Berthold,
    I did a lot of research on the same topic, but finally came to the conclusion that these values don't get stored in any table but get updated as we enter the transaction's. Also, since being header level data it sums up all the item's in the PO and shows the status i.e. if there are 2 items in the PO the status will add up the ordered, delivered and invoiced quantities of both the items and show the values.
    Thanx,
    Pravin

  • Purchase Order - Header (How to change language - Urgent)

    Dear All,
    In purchase order header, communication data tab i find a field called Language, which is basically defaulted from the vendor master when the PO is created. I would like to know how i can change the value in this field after the PO has been created. I need to change this for a few PO's for a specific reason, but notice that the field is greyed.
    I tried MEMASSPO, but it is not having any effect on the PO.
    Hope my problem is clear, await inputs.
    Regards,
    Vivek

    Hi Subha,
    Thanks for your posting, but i guess you dint read my initial question completely, the field is greyed, meaning i cant make any modifications using ME22n.
    I checked in customizing for the screen layout, but not much help either.
    If anyone has faced this issue earlier & managed to resolve, please share your views.
    I want to know if there is any alternative other than deleting the PO & creating a new one.
    Vivek

  • Is there a way we can default the Requisition header description to Purchase Order header description in iProcurement?

    We would want to default the Requisition Header description to get imported onto the Purchase Order Header description. After the Requisition approval the Purchase Order gets created but the Header description is empty and I expect this to be defaulted. Please suggest available alternatives.

    Try with t.code AUT10 -Audit trail using which you can see the change histories.
    Regards,

  • How to extend Project Task in the Purchase Order header?

    Hi everybody,
    I am facing a problem I am sure is not so hard, but I cannot find my way through it.
    So, my objective is to extend the Purchase Order Header with the Project Task ID.
    I created the extension field first, as below:
    But I just cannot find how to populate it automatically from the data in the Project Task field.
    I tried a Relation in a BO extension going through the AccountingBlockAssignement, but it seems to not be functional.
    I also tried to make a Reference to the extension field and created an Event After Modify like:
    this.projecttaskpo = this.ExtensionForPO.content
    The Project Task PO is my reference to the extension field created in the Cloud Solution.
    And the ExtensionForPO is my relation to the TaskID:
    import AP.Common.GDT;
    import AP.Purchasing.Global as Purchasing;
    import AP.ProjectManagement.Global as ProjectManagement;
    import AP.IS.CodingBlock.Global as Coding;
    [Extension] businessobject AP.Purchasing.Global:PurchaseOrder {
      [Relation(Coding:AccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID)]
      [Label("Project ID")] element ExtensionForPO : TaskID;
        node Item {
    I am pretty sure this is not so hard, but I can't figure how to do it.
    The Task ID is in the Line Item so I do not understand why it could be so hard to add it in the Purchase Order Header.
    Moreover, when I try to make the path directly from the PurchaseOrder, like:
    PurchaseOrder.Item.ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID
    It returns to me that the association between Item and ItemAccountingCodingBlockDistribution is not a node. I know that, but it would be perfect if I could directly go from the Purchase Order BO to the Project Reference and the Project Tasks. But I cannot do that.
    Any help on this would be greatly appreciated as it is quite a recurring request from customers.
    I could have a misunderstanding in the process of doing it, or even in the code as I am a pure development newbie, so I m open to all propositions.
    Thank you all.
    Have a nice day.
    Jacques-Antoine

    Jacques-Antoine,
    You can't directly translate a repeating node or element (such as an Item or a Project Task from the Accounting Coding Block of an Item) to a singular node or element.
    The reason is that, though your use case may have the elements assumed to be the same for all items, this isn't necessarily the case, so ByDesign won't assume that you can use that kind of logic.
    The simplest approach would be to do an On-Save at the Root node of the Purchase Order along the following lines:
    this.projecttaskpo = this.Item.GetLast().ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID;
    i wouldn't actually recommend this code.
    You'd need validations for IsInitial, IsSet, and those kinds of functions.
    i'd at least use some foreach loop to check that all the accounting coding blocks were for the same task, raise warnings if they weren't, etc.

  • Delivery date in Purchase Order Header

    Hi all,
    In which table is Delivery date in Purchase Order Header stored.
    the screen field name is eeind.
    Thanks

    Table EKET, Field EINDT or LPEIN try to look from se11 or se16n
    reward point if correct

  • Adding TAB to purchase order header

    I need to add a tab with additional fields to a purchase order header.
    I know that I need to use a BAdI to do it but i do not know the procedure I need to follow.
    Hope you can help me

    sorry, I'm talking about the screen painter where you have changed SAPMV45A screen 4002.
    Actually, I have had a look at screen 4002 and see that the tabstrip alrady exists so the wizard is no use to you here.
    The error you are getting is because TAXI_TABSTRIP_CAPTIONS is a dictionary declared structure which has 32 fields. You cannot use a 'data' declaration of something which already exists. I don't know why you are trying to add the 33rd one but it doesn't look right to me to be trying.
    If you really do have a need to change it then you will have to change the TAXI_TABSTRIP_CAPTIONS structure in the dictionary itself via SE11.

  • Purchase reqisition header note not copying to Purchase order header Note

    Hi
    can you help me any body  regarding this issue
    "purchase reqisition HEADER NOTE  not copying to Purchase order HEADER NOTE " .
    it is very urgent issue for me please.
    Thanks
    Madhu.

    hi madhu
    ans1.)  in ECC 6 it is not possible to copy PR text to PO text , becouse the only way to convert PR into PO is document flow and document flow will show you only line items.
    ans 2 )  PR text is used for maintaining text related to PR genration information , like which MRP run is giving this PR or other information which user wants to maintain .
    ans3.) if user have done same thing earliar then it may possible that he was using 4.7 or ECC 5  .
    let me konw what user is saying .
    regards
    ravikant dewangan

  • Purchase Order header Net Value

    HI ,
    Can anyone advise how to get the net value from Purchase Order Header..
    The header net value is not the one from EKPO-NETWR ,, BUT it is showing from KOMP-NETWR , so is there any function module or any tables links where we can get the purchase order net value.
    thanks
    -suresh

    Hi,
    Try with folowings:
    KONH Conditions (Header)
    KONP Conditions (Item)
    Regards,
    Biju K

  • Use Word Editor for purchase order header text

    Dear community!
    Currently in our system when we create purchase order header text we are using the standard sap text editor.
    I saw another system where they are using some kind of microsoft word editor plug in to create purchase order header texts and purchase order item texts.
    I would like to figure out how I can activate this editor in the system.
    Any help is appreciated - full points will be rewarded
    Thanks & regards
    Alex

    Hi,
    I tried to do that....
    but we are on SAP_BASIS 701 / 0008 / SAPKB70108
    when i start the report I get the message:
    MS Word is a default editor now.  Please read SAP Note 742662.
    hints???

  • Add customer fields to purchase order header

    Hi ,
    I need to add two additional fields to the purchase order header.
    In std program SAPMM06E screen number 101 i have seen a code
    CALL CUSTOMER-SUBSCREEN CUSTSCR1 INCLUDING 'SAPLXM06' '0101'
    how to make use of this..and add my fields..wht all steps need to be done for this..
    do i hve to append fields to ekko..pls give me details
    ansari

    You have to use [Enhancement|http://help.sap.com/erp2005_ehp_04/helpdata/EN/bf/ec079f5db911d295ae0000e82de14a/frameset.htm] MM06E005, read the enhancement documentation for more information.
    - Look at enhancement via transaction [SMOD|https://www.sdn.sap.com/irj/scn/advancedsearch?query=smod&cat=sdn_all]
    - Implement via transaction [CMOD|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=cmod&adv=false&sortby=cm_rnd_rankvalue]
    Look at [Enhancements|http://help.sap.com/erp2005_ehp_04/helpdata/EN/bf/ec079f5db911d295ae0000e82de14a/frameset.htm] and [Customer Exits|http://help.sap.com/erp2005_ehp_04/helpdata/EN/c8/1975cc43b111d1896f0000e8322d00/frameset.htm] or the old [Changing the SAP Standard (BC)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBCEX/BCDWBCEX.pdf]
    Another source of information begins at OSS [Note 496083 - FAQ: Customer enhancements (User Exits) in purchasing|https://service.sap.com/sap/support/notes/496083]
    Regards

  • Freight cost condition for the whole purchase order (Header relation)

    Maybe you could help me out with the following difficulty regarding freight costs for the whole purchase orders from the mass maintenance transaction MEK1 for pricing conditions.
    I try to have one freight condition for the whole purchase order.
    For instance, I maintained in the transaction MEK1 for the condition FRA1 the key combination vendor and purchasing organization (table 44) and entered an absolute value of X EUR.
    Unfortunately this condition will not pulled as header costs in the purchase order, because I would have had defined an access sequence in the condition type, but this is not allowed for header conditions in general.
    Do you have any workaround to maintain an item condition, which works like a header condition, so that I am allowed to have an access sequence and be able to maintain MEK1?
    Any comments and help are very welcome.
    Many thanks in advance
    Sabrina

    Hi,
    Fright and discount conditions are called supplement conditon type and  they are always matained with main condition type.
    Please check PB00 condition type in m/06 transaction. You will find pricing procedure assinged as RM0002 to PB00 condtion type.
    So you can maintain fra1 and other supplement condtions in main condtion only in MEk1 trasnaction.
    By selecting the line item and then shift + F7 you can maintain fright or discount condtions for PB00 condition types with out having access sequence for supplement condtion types.
    Regards,
    shailesh Mackwan

  • Price Condition in Purchase Order Header

    Hello experts,
    I set a new price condition for the header of purchase order. Yet I wanted to put this price condition to appear by default in the header. But I can only put this condition to appear at the header if I set  this condition in tcode SPRO -> Define Calculation Schema as Fixed. but that's not what I want. I want to set the condition as manual and to appears by default in the header whether I use the condition or not. Is this possible? Put this price condition as default in the header? How can I achieve this behavior?
    Thanks in advance,
    Best regards,
    JP

    Hi,
    the path to define the access sequence  is
    IMG>>>MM>>>Purchasing>>>>Conditions.>>>>Define price determination process>>>define access sequence (M/07).
    for this you can actually use the existing ones which suits your condition records level. otherwise create a new table for it and then use it in the access sequence.
    then assign this access sequence to your condition type in M/06.
    for your reference
    Step to create new access sequence
    http://www.sap-img.com/materials/steps-for-mm-pricing-procedures.htm

Maybe you are looking for