R1213: Default Transaction Phase at the Order type

We have a scenario as below.
1. We have a custom responsibility that has both Quote and Quick Sales order form
2. The profile OM: Default Transaction Phase for Sales order has been set as "Negotiation" at the Responsibility level
3. But we need users to create RMA from this responsibility using Quick Sales Order form.
4. Hence we set the "Default Transaction Phase" for RMA order type as "Fulfillment"
Still when we try to create an RMA from quick sales order form, it's giving an error that Return is not possible since the default transaction phase is Negotiation..
How can we achieve this with out creating a second responsibility just to create RMA from Quick sales order form ??
Any help would be appreciated
Regards
Gopi

Have the control on Default Transaction Phase only on the Order type level and NOT the responsibility level. Instead use processing constraints to restrict/allow creation of certain Type of Sales Order to certain responsibilities. Validation Templates can be created on Database Table level for Sales Order Type - use those to restrict to responsibilities. let me know if that works for you.

Similar Messages

  • Which transaction can  change the order type

    Dear friends,
    Please tell me the transaction code to change the ORDER TYPE.
    Regards

    Hi You can use <b>VOV8 </b>for single sale order change If you want mass change u can use <b>MASS </b>t code
    For Billing document you can use <b>VTFL</b>
    For Mass Change refer below
    There is transaction MASS which can be used to carry out mass changes in the sales order and other objects.
    Mass Maintenance: (Use to change multiple fields in multiple documents at the same time).  I have done mass change for customers; and orders should work the same way too.
    1) Try t-code [MASS] and select sales orders & execute
    2) Choose the table or tables for your selection criteria and also for fields you want to change.
    Then execute. (suppose your selection criteria fields are from "sales order header data" table and the field you want to change, is in "item data" table)
    3) Put in the sales documents(21000000, 21000001) you want to change and also the items(10) you want to change.
    - click on " choose selection fields" button
    - From the Pool, move the fields you want to the "select fields" using arrows.
    4)From mass maintenace menu, click on "Enter new field values"
    -click on "sales order item data" tab and choose the field you want to change.
    (for example. I want to change plant for item 10)
    -enter the new value (of the plant to be)
    -click on "Adopt" and execute
    5)In "sales order item data" tab, you see the new value of the plant you entered at the top and the old values of item 10 are below.
    -click on "change field values" button.  you see all the old values are changed to new values.
    -save
    Note:  it will take some time depending on how many records you have.
    Check:  Go to [SM37] and see the status of the job you are running and once finished, export the spool file to a spreadsheet.
    Before you do mass maintenance, go to the particular table in [se16] and get the results.  Then do the mass maintenance and compare the results with this one.  If they match, then you are good to go.
    Note:  If you have any user exits that affect the results, ask them to deactivate the MODCHECKS still you are done with mass maintenance & activate them again.

  • Profit Center Mandatory in all the Order type

    Hi All,
    I want to make Profit center field as mandatory for all the order types[Standard and Z type].
    I have made settings in PM configuration settings:
    SPRO>Plant Maintenance and customer services>Maintenance and service processing>Maintenance and service orders>Define field selection for order Header Data[PM]>Field Selection for Order Header Data and Reference Object
    But here I am able to do mandatory for Pm orders.
    I want Mandatory for Orders like Process, PM Orders, Sales orders Prodcution orders [In single setting]
    Regards
    Honyal

    Hi
    U can do this with transaction variant SHD0. Record the transaction like CO01 and make the fielf mandatory.

  • Want to select the Order type automatically when creating production order

    Hi Gurus,
    Please help to select the order type automatically while creting the production order..??
    Please what configuration settings are avialble to make this happen to me.
    THank you in advance.
    Naveen.

    Naveen,
    First priority is the order type defined in the Production schedulling profile(OPKP), assigned to that particular material in workscheduling view. If this is not maintained then,
    Second priority is configuration at MRP Group parameters in transaction in OPPR, this MRP Group if assingned to Material master MRP1 view.
    Third priority is Configuration at Plant level parameters in transaction OPPQ, this defines the order type when convert planned order to Production/Process order.
    Regards,
    Prasobh
    Edited by: Prasobh Karunakaran on May 28, 2009 8:49 PM..added MRP group paramters also

  • How to change the order type

    Dear friends,
    Please tell me the transaction code to change the orger type.
    suppose  we have an order having type Zrox we want to change the order type from Zrox to Zmto what should I do and how can I do .

    Hi
    For single order use <b>VOV8 </b>and for Mass use T code <b>MASS</b>
    <b>
    Changing by MASS</b>
    There is transaction <b>MASS </b>which can be used to carry out mass changes in the sales order and other objects.
    Mass Maintenance: (Use to change multiple fields in multiple documents at the same time). I have done mass change for customers; and orders should work the same way too.
    1) Try t-code [MASS] and select sales orders & execute
    2) Choose the table or tables for your selection criteria and also for fields you want to change.
    Then execute. (suppose your selection criteria fields are from “sales order header data” table and the field you want to change, is in “item data” table)
    3) Put in the sales documents(21000000, 21000001) you want to change and also the items(10) you want to change. – click on ” choose selection fields” button – From the Pool, move the fields you want to the “select fields” using arrows.
    4)From mass maintenace menu, click on “Enter new field values”
    -click on “sales order item data” tab and choose the field you want to change.
    (for example. I want to change plant for item 10)
    -enter the new value (of the plant to be)
    -click on “Adopt” and execute
    5)In “sales order item data” tab, you see the new value of the plant you entered at the top and the old values of item 10 are below.
    -click on “change field values” button. you see all the old values are changed to new values.
    -save
    Note: it will take some time depending on how many records you have.
    Check: Go to [SM37] and see the status of the job you are running and once finished, export the spool file to a spreadsheet.
    Before you do mass maintenance, go to the particular table in [se16] and get the results. Then do the mass maintenance and compare the results with this one. If they match, then you are good to go.
    Note: If you have any user exits that affect the results, ask them to deactivate the MODCHECKS still you are done with mass maintenance & activate them again.

  • BAPI_PRODORDCONF_CREATE_HDR  - Error RU051 (Orders of the order type YGD1)

    URGENT
    Hi there.
    I need to confirm orders thru a BAPI.
    I think I can confirm orders with BAPI_PRODORDCONF_CREATE_HDR, however when I test on transaction BAPI (Tab --> Tools    Single Test), and I enter the following data:
    Orderid> 1000080     postg_data> 18.03.2008     yield-->2
    I'm getting always the same error:
    RU051 - Orders of the order type YGD1 cannot be confirmed.
    If I use transaction CORK to check/confirm orders on my controlling area, the order types available are YB02 and YGD1 and if I use the above mentioned BAPI for any of these order types (YB02/YGD1) I always get the same error message (RU051). Can you please inform what I'm doing wrong?
    Kind Regards
    ASantos
    Edited by: Armando Santos on Mar 19, 2008 10:13 AM
    Edited by: Armando Santos on Mar 19, 2008 3:29 PM

    Hello Armando,
    I am getting the same error while executing the BAPI. Could you please let me know how you resolved this error.

  • Change the order type for a sales document already created

    Hi gurus,
    please let me know if there is any possibility for changing the order type for sales document (sales order) already created,
    thank you

    Hi,
    Rambabu is correct. Check the  alternate sales document types which your current sales document type is having in VOV8 transaction. You can have the current sales document type replaced with the assigned alternate sales document type 1 or alternate sales document type 2 during run time in the during creation  or change mode  subject to the current sales order is not having any subsequent document. Re-pricing will happen accordingly and all the things of order will get redetermined.
    Hope this explains.

  • Problem Instanciating BO - No default attribute defined for the object type

    Hello Experts,
    I am instanciating the BO BUS2038 to ZBUS2038 and when I click in u201Cto implementedu201D and follow u201Cto releasedu201D the message No default attribute defined for the object type is appearing!
    Can anybody help, please?

    Hello everyone,
    it appears to me, that no one has a clue about the "default attribute" and is widely guessing what can be done about that.
    I feel deeply sorry for that, Marcos.
    At first: You don't really need to care about the missing default attribute. If it's missing, the object's instance key will be used instead. Skip the warning message.
    Secondly: The default attribute is used to display the instance within the "Object links & Attachments" under the work item preview when using the SAP Business Workflow.
    Thirdly: You can select any existing attribute of your business object type to be the default attribute, by navigating to the "Basic data" (it's the heat-icon within the object builder), use tab "Defaults" and use the Input Help on the field "Attribute".
    There you'll go.
    Best wishes,
    Florin

  • How to get the order type from notification number

    Hi,
    i have the notification number,
    fromthis number how can i get the Maintenance Order type.
    what is the table name to get the order type.
    Please tell me.

    Hi,
    First you read table QMEL with notification number and get AUFNR. Then go to AUFK and get AUART (order type).
    Some thing like,
    SELECT SINGLE aufnr INTO lv_aufnr FROM qmel WHERE qmnum EQ <your notification>.
    IF sy-subrc EQ 0 AND NOT lv_aufnr IS INITIAL.
      SELECT SINGLE auart INTO lv_auart FROM aufk WHERE aufnr EQ lv_aufnr.
    ENDIF.
    Hope this helps..
    Sri

  • What types of data are entered in the order type?...

    Hello SAP-team!
    What types of data are entered in the order type?
    - Settlement profile
    - Sample order
    - Settlement rule
    - Order category
    - Costing sheet for overhead rates
    ps: thanks to SAP-community!
    Eugene

    Hi,
    What types of data are entered in the order type?
    - Settlement profile- True
    - Sample order -True(by model order)
    - Settlement rule-True
    - Order category-True
    - Costing sheet for overhead rates-False
    Regards
    Sudhakar Reddy

  • Check for the multiple values of the order type in if cond. in user exit

    Hi all,
    I have the exisitng code like this.
    IF AUFK-AUART = C_STAT_1000.
        RETAIL = C_RETAIL_X.
      ELSE.
        SEARCH W_SYST_STAT FOR 'SETC'.
        IF SY-SUBRC <> 0.
          ERR_MSG-MSGID = 'ZP'.
          ERR_MSG-MSGTY = 'E'.
          ERR_MSG-MSGNO = '017'.
          ERR_MSG-MSGV1 = DETAILS-RAUFNR.
          APPEND ERR_MSG.
          EXIT.
        ENDIF.
      ENDIF.
    In the above code, the order type aufk-auart is checked for a single value '1000'.
    How do i include the logic tocheck if aufk auart for multple values in tha if condition.
    It can be multiple values of whihc i do not have the detail.
    Regs,
    SuryaD.

    Hi all,
    I have the sample code with me.
    Hope this helps someone who is looking for the usage of this Function module.'K_HIERARCHY_TABLES_READ'
    DATA:
        l_set_node_tab  LIKE grpobjects OCCURS 0 WITH HEADER LINE,
        l_set_val_tab   LIKE grpvalues  OCCURS 0 WITH HEADER LINE,
        l_info          LIKE grphinfo,
        l_overrite      LIKE sy-datar,
        l_set_class(4) TYPE c,
        l_set_id(34) TYPE c,
        l_set_kokrs LIKE  sethier-kokrs,
        lr_auart TYPE RANGE OF auart,
        lr_auart-line LIKE LINE OF lr_auart.
      CONSTANTS:lc_set(3) TYPE c VALUE 'SET',
                  lc_id(22) TYPE c VALUE '0000Z-GPMRCMI-EXC-CUST',
                  lc_i      TYPE c VALUE 'I',
                  lc_bt(2)  TYPE c VALUE 'BT'.
      CLEAR:
          l_set_node_tab,
          l_set_node_tab[],
          l_set_val_tab,
          l_set_val_tab[].
      l_set_class = lc_set.
      l_set_id    = lc_id.
      CALL FUNCTION 'K_HIERARCHY_TABLES_READ'
           EXPORTING
                e_class                     = l_set_class
                e_setid                     = l_set_id
                e_kokrs                     = l_set_kokrs
                e_mandt                     = sy-mandt
           TABLES
                t_nodes                     = l_set_node_tab
                t_values                    = l_set_val_tab
           CHANGING
                c_info                      = l_info
                c_overwrite                 = l_overrite
           EXCEPTIONS
                no_controlling_area         = 1
                no_chart_of_account         = 2
                different_controlling_areas = 3
                different_chart_of_accounts = 4
                set_not_found               = 5
                illegal_field_replacement   = 6
                illegal_table_replacement   = 7
                fm_raise                    = 8
                convert_error               = 9
                no_overwrite_standard_hier  = 10
                no_bukrs_for_kokrs          = 11
                OTHERS                      = 12.
      IF sy-subrc = 0.
        CLEAR : lr_auart.
        REFRESH lr_auart.
    create internal set table
        LOOP AT l_set_val_tab.
          lr_auart-line-low      = l_set_val_tab-vfrom.
          lr_auart-line-high     = l_set_val_tab-vto.
          lr_auart-line-sign     = lc_i.
          lr_auart-line-option   = lc_bt.
          APPEND lr_auart-line to lr_auart.
          CLEAR lr_auart-line.
        ENDLOOP.
      ENDIF.

  • How do we assign the Order Type PD(Planning & development) to a planttt

    Hi,
      I am creating a new plant. My ref. plant has order type PD(Planning & development).
      Order category - personnel order.
      How do we assign it to our plant. In Tcode KOAI. it s not showing only the order type PD for my plant. Can anyone help.

    Hi ,
      Can u Tell me how can we assign it , in case if i am not copying the existing plant.
    It is not populating in OKZ3 for my new plant.
    Edited by: Dhilipan Nair on Apr 19, 2011 10:32 AM

  • Create default operation & phase in process order

    Dear PP Guru,
    We used PP-PI and have a production type for simple production that there is no recipee for them.
    We used auto generate order for this kind of production.
    But in order, only operation is created and no phase is generated.
    Hence this process order can not be confirm?
    Is there any solution for this??
    Best regards,
    Freddy Ha

    Dear,
    In transaction "OPJG" you need to maintain default values for creating operation in case the system is unable to find a suitable master recipe. You need to maintain this for Plant/Order type combination.
    Then define the confirmation parameter for this order type and plant for operation level confirmation.
    Please refer this link,
    Re: Creation of Process Order without assigning master recipe

  • Add the budget profile in the order type Maintenance Order

    Dear Experts,
    Scenario for Repair & Maintenance with only MM & FICO module live w.e.f. 2007 (PM not live)
    Process Managed thru Internal Order (Order Type: RPMT)
    Budget managed through Investment Management (IM); Budget is directly entered against the IO using transaction IM52
    Scenario for Repair & Maintenance with only MM, FICO & PM module live (PM went live in 2010)
    It was proposed to assign budget against each Maintenance Order. Since the number of maintenance orders being used is very high, it was decided to link the MO & IO so that budget will be assigned to the IO and when the MO is settled against the IO, the budget in IO can be deducted accordingly. The proposed process to assign budget in Internal Order against each Maintenance Order are given below-:
    1.) In EAM process one can plan/procure material and External Services only when the Maintenance Order is created & released but practically it has to be planned long before any Maintenance Activity (Maintenance Order to be linked with the estimate so that PO can be created against the estimate).
    2.) The no. of Maintenance Order generated in EAM Module is very large as Maintenance order is created for almost each and every maintenance activity. It is cumbersome to allocate the budget to each and every maintenance order. There should be a single estimate for maintenance activity (as in MM module) and that should be linked to maintenance order so that the actual cost of Indent/Service Entry Sheet can be deducted automatically from the estimate (Maintenance Order is to be linked with estimate).
    3.) While doing return Indent the cost of return material is not being added to the maintenance order automatically (Maintenance Order is to be linked with estimate).
    4.) If Material & External Services not planned in the maintenance order (estimate), the user must be able to do that through Internal Order (estimate), hence the Internal Order must be link to the Maintenance Order. They should able to record the planned & actual cost in the maintenance Order.
    Process followed:
    1.) Created Internal Order in KO01 for Repair & Maintenance Order Type
    Assigned budget to Internal Order thru IM52
    2.) Created PM order and assigned Internal order against Settlement Order in tab
    u2018Locationu2019 and in Settlement Rule with 100%. In this Section attach the Internal
    Order with selection type u2018ORDu2019.
    3.) Released both orders and issue the Material for particular Operation and then
    determine the Cost for material .After that performed MIGO for consumption of
    materials.
    4.) Settled the PM order in KO88.
    Settlement process was successfully saved.
    Problem faced:
    After posting the goods movement (against each Maintenance Order) and settlement of the maintenance order against IO, we still find the budget assigned to the IO is not consumed/deducted.
    1. Actual cost of maintenance is not reflected in the internal order
    immediately. We have to run cost settlement (t-code KO88) for the
    maintenance order each time the actual cost is incurred in the maintenance order.
    2. Also in the case of return indent, the value of returned material is not directly
    added to the available budget of internal order.
    3. When the material is issued from store through the reservation generated by
    maintenance order, system does not check for budget in the internal
    order/maintenance order while issuing material from the store.
    4. It must not be allowed to create reservation from the internal order of order type
    RPMT.
    5. In case of external service in the maintenance order, the unit of
    measure in the requisition is set to u201CD (days)u201D by default. System does not allow
    changing the unit of measure in the requisition (it should allow to change the unit
    of measure or set the unit of measure u201CJOBu201D).
    6.) When the material is issued from the store through reservation generated in
    maintenance order, system does not check for budget in Internal Order
    (estimate)/Maintenance Order while issuing material from store.
    7.) My first problem is every time running the cost settlement(KO88) is maindetory.Without running cost settlement, How we can settle the actual amount of MO with IO (Estimate budget).
    2.) As you know that I have assigned the budget in IO.How system will check the budget while issuing the goods for maintenance order.So will please tell me that which user-exit is used over here.
    Thanks & Regards,

    Hi Deepak1103,
    Well, obviously you will have to settle the costs incurred at the maintenance order. The internal order should be mentioned in the settlement order field in the location tab of the maintenance order. What you can do is to ask your ABAP person to activate this enhancement IWO10004: Maintenance order: Customer check for order completion, use the CAUFVD structure to get the internal order number, then use the BAPI BAPI_INTERNALORDER_GETDETAIL and pass the details to the function module BBPG_BUDGET_CHECK and check the actual cost against the required budget. In case of a conflict raise an error other wise run the function module CK_F_IH_ORDER_SETTLE to settle the costs of the maintenance order to the internal order. Budget would also be consumed and you can verify the same in S_ALR_87013019.
    Regards,
    Muhammad Usman Kahoot

  • How to Change Sold to using BDC transaction after perform the order

    After creating an auto new sales order how will i change the sold to and ship to a new order before saving.
    Here sample code:
    perform load_orders.
        CALL TRANSACTION  'VA41' USING itab_bdc
         MODE p_mode UPDATE 'S'
         MESSAGES INTO bdcmsg
    thanks,
    Mary

    Hi,
    Why don't you try to make the Partner Function for Sold to Party as Modifible (Don't select Non Modifible) for the Sales Order Header in partner determination determintaion setting in customizing.
    You have to check with the partner determination procedure assigned to your sales order type and check accordingly.
    Reward points if it helps.
    Regards,
    Harsh

Maybe you are looking for