Enhancement for QM order creating(QK04)

Now, i need to enhance the function for creating QM order(TC:QKO4) to make user input profit center correctly, is there some good way to achieve this?
Thanks!

you can use enhancement "QQMA0009"  - QM: Predefine QM Order Parameters.
You have changing structure PKOSA, there u can change the profit center
venkat

Similar Messages

  • Need code for sales order create report using bapi's

    need code for sales order create report using bapi's

    Hi,
    Go through below link
    http://www.saptechies.com/bapi_salesorder_createfromdat2/
    <b>Reward points if it helps,</b>
    Satish

  • Is there a Business Object for Sales Order Create and Change VA01 and VA02

    Hi experts -
    I am looking for a business object for Sales order create and change VA01 and VA02 respectively?
    Thanks,
    Mark

    Hi Mark,
    I think this question is best answered in [SAP Solutions|/community [original link is broken]; Forums.
    - Subhodeep
    Edited by: Subhodeep on Aug 29, 2009 11:14 AM

  • Function module which uses both BAPI's for sales order create and change

    Please name the function module which uses both BAPI's for sales order create and change.
    BAPI_SALESORDER_CREATEFORMDAT2
    BAPI_SALESORDERCHANGE

    Yup.
    you must write a piece of code for this.
    with if else condition.first check if SO is exsist than use second FM to change it else create new SO from first FM.
    logic somethig like this.
    Amit.

  • Enhancement for Production Order Number Ranges

    Hi
    Are there any enhancements for production  order number ranges. We have the setting as external numbering but need to set the order numbers (alphanumeric) based on certain conditions.
    Thanks & Regards.
    Sam.

    Hi Sam,
    PPCO0007 .......check this one.....
    i guess it is helpful
    Regards,
    Bhaskar

  • Enhancement for Production Order Release and Batch Fixing.

    Hi Experts,
    I have assigned a enhancement for production order.The user exit is also given in the req as PPCO0001 through which i have to call a Z-Program for Batch fixing using Trans CO01 and release the order before saving once it is assigned to components.
    Now my probs is where to start working for the enhancement -is it possible to use any BAPI instead of Batch (BDC) or I can use any BADI instead User Exit.
    So if you guys have similar scenario worked on it or have similar example approach to solve it.Please do help.I will reward for all helpful answers.

    I figured out thr friends !
    Thanks,
    SriRam

  • Settlement Rule for service order created based on sales order

    Hello,
    I am creating a sales order and entering  WBS as an cost object.
    After creation of sales order the Service order is created.
    For service order type in the settlement profile  WBS is maintained.
    But the system is not copying the WBS in Service order which is maintained in sales order.
    Can any body have an idea on this?
    Regards
    Abhijit

    Hi,
    As far as my understanding when service order is created through sales order then settlement rule is SDI and its item number
    Not what you maintained in account assignment tab of sales order
    When you settle service order then cost will settle on sales document and its item and then latter you settle sales order then settlement receiver is WBS element which you maintained in account assignment tab
    Kapil

  • Throw Information message for sale order created with value less that 5$

    Hi all,
            I am basically an abaper, I have got a requirement in SD. The requirement is any sales order created with value less that 5$, should be prompted with an error message saying the minimum order value should be more than 5$. Could any one help me on this.
    Thanks in advance,
    shiv

    userexit_save_document_prepare,main program - sapmv45a, issue an error message if your document value is less than 5$ (VBAK-NETWR) but check if your order has any non-rejected item, I would not issue this message if all items are rejected:
    loop at xvbap where updkz ne 'D' and abgru = ' '.
      exit.
    endloop.
    if sy-subrc = 0.  "-you have at least one non-rejected, non-deleted item.
    NOTE: sapmv45a works NOT only for orders, so please check document types in your logic which are relevant to your messge only (VBAK-VBTYP and/or VBAK-AUART).

  • Billing date is for Monday for the orders created on Saturday and Sunday

    Hi Friends,
    I have an issue,that for the orders that are created on weekdays, the Billing date is for the same day.
    But for the orders that are created on Saturday and Sunday,the Billing date is being determined automatically for Monday.
    The goods are service material and ther is no delivery being created for these goods.Still the requested delivery date is being determined for Monday for the weekend orders.
    Any idea where i can check these settings or which program or userexit can be looked into for this.
    Thanks in advance...
    Sultan Khan

    Hi,
    How about using BBP_DOC_CHANGE_BADI ?
    Regards,
    Masa

  • Enhancement for purchase order

    Hi Frnds,
      I hav to work on ehancement for assigining number ranges for purchase order ranges alloted for each business whenever Purchase dept creates Po.
    Frnds can anyone hlp what are the steps i hav to work to do the above.
    i hav found out that the exit name is MM06E003. i m unable to go further.
                                                                                    regards,
                                                                                    sanjay

    Hello Sanjay
    The components of the User-Exit MM06E003 can be displayed using transaction <b>SMOD</b>.
    You have to create a project (transaction <b>CMOD</b>) and assign the (single) component EXIT_SAPMM06E_001 to your project. The function module contains the following coding:
    FUNCTION EXIT_SAPMM06E_001.
    *"*"Lokale Schnittstelle:
    *"       IMPORTING
    *"             VALUE(NEKKO) LIKE  EKKO STRUCTURE  EKKO
    *"       EXPORTING
    *"             VALUE(NUMBER) LIKE  EKKO-EBELN
    *"             VALUE(RANGE) LIKE  INRI-NRRANGENR
    *"       EXCEPTIONS
    *"              EXIT_ERROR
      INCLUDE ZXM06U17.
    ENDFUNCTION.
    Double-click on the include name and create it in a z-package used for user-exits.
    Within this include you code your specific requirements.
    Finally, do not forget to <b>activate</b> the components of your project otherwise the user-exit will no be passed.
    Regards
      Uwe

  • Applying Price list for sales order created from Internal Requisition

    I am using 12.0.5. I have created a price list and applicable discount. I am creating Internal Requisitions and Importing them into Order Management as Sales Order using "Create Internal Order" and "Import Request". But when the sales orders are created, the pricing flag is "Freeze Price" and to apply the price list, I have to change the pricing flag of each line and re-price order/ line. Is this a way around this such that Sales orders created from Internal Requisitions pick up the correct discounted selling pricing automatically after import?

    Hi Ravichandran,
    When the Internal Sales Orders are created via Order Import program, the pricing flag will be "Freeze Price" because the value of CALCULATE_PRICE_FLAG will be set to 'N' in the OE interface line table by the Create Internal Orders program. This is the standard functionality of the Oracle.
    However, if your requirement is to re-price the line (automatic application of discounts at the time of booking) after the SO is created then to avoid the manual repricing steps, you can write a custom program to update the CALCULATE_PRICE_FLAG to 'Y' for the OE Line records present in the interface tables itself. You need to make sure that this update happens before the Order Import program. You can create a Request Set to acheive this, for example...
    XXX Create Internal Orders (Custom Request Set)
    - Create Internal Order (Standard Oracle Program)
    - XXX Update PriceFlag for ISO (Custom Program to update the price flag)
    First run the above request set & then run standard Order Import program. So when SO is being booked, CALCULATE_PRICE_FLAG will be 'Y' i.e., Calculate Price, the required discounts will be pulled & the line will be re-priced automatically.
    I hope this is what you wanted to achieve. Let me know if you have any questions.
    Regards,
    Hemanth

  • User exit/ badi needed for planned order create/change,collective ATP check

    Dear All,
    I'm looking for a user exit/ badi which can be used for planned orders at the stage of
    mass collective availability check (COMAC tcode) update; or at some other relevant stages of mass update of planned orders.
    I need after collective availability check to perform the following:
    1) to copy date from "total comitment" field on header tab of planned order and paste it (replace old date) to order finish date on header screen
    then
    2) to start a scheduling.
    Very appreciate your help.
    Best Regards,
    Andrey
    Edited by: Andrey Kruglov on Apr 15, 2010 3:06 PM
    Edited by: Andrey Kruglov on Apr 15, 2010 3:07 PM

    Dear,
    Use the BAPI : BAPI_PLANNEDORDER_CHANGE
    Or use the function module MD_SET_ACTION_PLAF for Schedule planned order.
    and the transaction MDAC Execute action for planned order
    This function module includes the following actions:
    Explode BOM
    Explode BOM, check availability
    Check availability, only explode BOM in the case of a requirement
    Check availability, do not explode BOM
    Reset availability
    Change planned order data
    Schedule planned order
    Delete planned order
    Assign the key for the respective action control to the materials in the material master (MRP 4 view).
    Please refer this thread,
    Re: MDVP for collective orders
    Regards,
    R.Brahmankar

  • How to maintain serial no for sales order created by BAPI

    Hi all,
    We are using BAPI for creating sales order "BAP_SALESORDERDAT2" but we are not able to assign Serial number while using this BAPI. Is there any function modul, BAPI, or workarround available to solve this problem. Or how to maintain Serial number.
    Regards
    Shambhu Sarkar

    Hi
    It is not possible to to maintain serial numbers with the normal SD
    BAPIS. This functionality is not scope of the BAPIS.
    regards,
    Ramana

  • Badi or Enhancement for Purchase order invoice plan change for ME22N

    Hi ,
      I have a req to have a custom tab at the header level with the push button in ME22N , By clicking the push button i need to update the invoice plan detail to all item level by using the 1st line item invoice paln entered while creating PO . I have done with adding the custom tab using MM06E005 enhancement. The problem i am facing is need to change the PO invoice plan detail for all line item. Please let me know the BADI or Enhancement to change the PO detail in the Tcode ME22N . Any Badi before save or after save with invoice plan details.
    <offer removed by moderator>. Many thanks for you help!
    Regards,
      Vinoth.v
    Edited by: Thomas Zloch on Oct 14, 2011 11:59 AM

    Hi Eduardo
    ME_PROCESS_PO_CUST is don'tt have the Invoice plan and ME_GUI_PO_CUST is for screen but i need the badi to get the invoice plan details and change the remaining item with the invoice plan .
    Regards

  • Pricing conditions for sale order create BAPI

    Hi guys and gals,
            i am workin on a object where i would have to create a variant of VA01 screen with pricing details , item details , shipping details etc, visible in  a single screen .
           What i have understood so far is that i would have to use BAPI simulate to get the pricing conditions and ATP details to display to the user before he saves the order , the issue now is when is adding new pricing conditions or changing the existing conditions on my screen i would have to update the other conditions types based on his input and i also understand that some conditions r editable and some arn't and like in regular VA01 the user should be able to delete the pricing conditions also , which means i should taken into account all this when iam finally saving this order , please guide me further in this regards
    Thanks in advance

    Hai
    Try with the following
    U need to give the step_nr, item_nr, cond_count and cond_type so the correct conditon will be updated. If no condition exists for the given parameters, a new condition will be created.
    U can find these parameters for a particular condition type in table KONV.
    *& Form saveTransactionJOCR
    text
    --> p1 text
    <-- p2 text
    FORM saveTransactionJOCR .
    data: salesdocument like BAPIVBELN-VBELN,
    order_header_inx like bapisdh1x,
    order_header_in like bapisdh1,
    return type standard table of bapiret2 with header line,
    conditions_in type standard table of bapicond with header line,
    conditions_inx type standard table of bapicondx with header line,
    logic_switch like BAPISDLS,
    step_nr like conditions_in-cond_st_no,
    item_nr like conditions_in-itm_number,
    cond_count like conditions_in-cond_count,
    cond_type like conditions_in-cond_type.
    salesdocument = wa_order_information-VBELN.
    LOGIC_SWITCH-COND_HANDL = 'X'.
    order_header_inx-updateflag = 'U'.
    conditions
    clear conditions_in[].
    clear conditions_inx[].
    clear: step_nr,
    item_nr,
    cond_count,
    cond_type.
    step_nr = '710'.
    item_nr = '000000'.
    cond_count = '01'.
    cond_type = 'ZCP2'.
    CONDITIONS_IN-ITM_NUMBER = item_nr.
    conditions_in-cond_st_no = step_nr.
    CONDITIONS_IN-COND_COUNT = cond_count.
    CONDITIONS_IN-COND_TYPE = cond_type.
    CONDITIONS_IN-COND_VALUE = 666.
    CONDITIONS_IN-CURRENCY = 'EUR'.
    append conditions_in.
    CONDITIONS_INX-ITM_NUMBER = item_nr.
    conditions_inx-cond_st_no = step_nr.
    CONDITIONS_INX-COND_COUNT = cond_count.
    CONDITIONS_INX-COND_TYPE = cond_type.
    CONDITIONS_INX-UPDATEFLAG = 'U'.
    CONDITIONS_INX-COND_VALUE = 'X'.
    CONDITIONS_INX-CURRENCY = 'X'.
    append conditions_inx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    SALESDOCUMENT = salesdocument
    ORDER_HEADER_IN = order_header_in
    ORDER_HEADER_INX = order_header_inx
    LOGIC_SWITCH = logic_switch
    TABLES
    RETURN = return
    CONDITIONS_IN = conditions_in
    CONDITIONS_INX = conditions_inx
    if return-type ne 'E'.
    commit work and wait.
    endif.
    ENDFORM. " saveTransactionJOCR
    Thanks & regards
    Sreenivasulu P

Maybe you are looking for

  • Can no longer share between networked computers

    I recently noticed (possibly just after most recent security upgrade) that I could no longer share files between my wirelessly networked desktop and laptop computers, both running 10.5.8. I have never had a problem before, but suddenly, if I tried to

  • Network attached storage

    I just bought my first mac. I already have a network attached storage on my (linksys) router which I was accessing from my pc. How do I make my mac see this NAS? Thanks.

  • DVD-R spinning it's wheels

    Hate to seem like I am beating a dead horse on this topic, but I am having DVD-R problems. Whenever I insert a blank dvd-r to burn a movie or an mp3 I get "disc is not recgnized" if I am lucky and more often than not no message for a longer time and

  • Business Graphics - Chart width 100%

    Hi to all, how can i set the width value to 100% in the business graphics propertis? I tried but i dont can precent value set. have you eny ideas? regards Thomas

  • Help make a contact sheet

    i have bridge cc and I have tried to up load adobe output module, the only place i found is to put it in the Application Support/Adobe/Acrobat folder. nothing happening after reopening bridge. i need to instal output panel