Changing Sales Organisation for Materail

Hi,
What is the t-code to change the Sales Organisation for the material
Regards
Smitha

In MM02, enter the material for which you want to change the sales org. Select the view "External objects" and once you are there, click on "Organizational Levels" button (just beside the additional data button on the top). There you have the option of changing the sales org.

Similar Messages

  • Changing sales order for a Credit blocked customer

    Hi Gurus
    One of the requirement of my client is that they create sales order for a customer and deliver the goods. During sales order creation billing block is automatically applied. This block is removed by a batch job after the goods are delivered. Sometime credit department block the customer using FD32 (KNKK-CRBLB). Now when the batch job is run to remove the billing block the system will not allow it for that order as the system calls VA02 during that batch job run. When you process a sales order using VA02 for a customer which is blocked (KNKK-CRBLB) then system will through error message V1 (154) i.e Order receipt/delivery not possible, credit customer blocked.
    So the batch job will not be able to remove the billing block from the order. NOw the requiremetn is that how can I achieve this so that the billing block are removed by that batch job as the customers has already been delivered the goods (Any user exit?).
    Thanks
    KTK

    Dear KTK,
    Please check this sample program from other thread to find BADI and enhancement for a given transaction code. You just need to create a custom program in your system by cut and paste below codes.
    REPORT ZTEST.
    TABLES: TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA: JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA: FIELD1(30).
    DATA: V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS: P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA: WA_TADIR TYPE TADIR.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    ENDCASE.
    Alternatively, you can do the following:
    1. For what ever transaction u want the enhancement .. just check for the System-->status (menu) and find out the PROGRAM name....
    2. Double click on to the program name and go inside the program (Abap editor)
    3. Search for "Call Customer-function " ... and u'll get some search results .. If u get results then u have enhancement in that tcode .....
    4. Then it actually calls a Function module .... copy the Function module name .... go to SE80 (object navigator) click on "Repository Information system" then Customer Enhancements .... Give the Function module name in the "Components" field and click Execute ....
    ull get a list of Enhancements related to that Componene....
    5. Choose which ever enhancement will suit ur business need ..
    6. Go to CMOD... create a project .... assign ur enhancement ... and then code ur logic.... activate ur enhancement in CMOD ....... Ur Buisness need will be solved...
    For a user exit......
    Finding whether there is any User Exit or not for tcode VA42
    1. For what ever transaction u want the user exit .. just check for the System-->status (menu) and find out the PROGRAM name.... ( The program name would be for our scenario "SAPMV45A" )
    2. Double click on to the program name and go inside the program (Abap editor)
    3. Search for the word "USEREXIT" .... u ll find all the user exits in the search result .. and find ur's then ...
    Reward points if this helpful.
    Regards,
    Naveen.

  • Change sales order - for reasons of cost management item cannot be deleted

    Hello Friends,
      When I try to delete a line item from sales order below error is fired and it doesnot allows to delete the items which has a WBS element.
      The function name is :BAPI_SALESORDER_CHANGE
      The error message is as below:
        ORDER_HEADER_IN has been processed successfully
        For reasons of cost management, item 001001 cannot be deleted
        Error in ITEM_IN 001001
        KONVKOM has been processed successfully
        KONVKOM has been processed successfully
        KONVKOM has been processed successfully
        KONVKOM has been processed successfully
        KONVKOM has been processed successfully
        The sales document is not yet complete: Edit data
        Sales document 0002012766 was not changed
      Information
        Sales order: 0002012766
        Item       : 001001
        WBS element: 2012766-001 The wbs status is "REL"  
      I found a similar problem on the forum but not really a solution other than giving a suggestion as "Enter a reason for rejection at item level.".
    but when I put the field ORDER_ITEM_IN-REASON_REJ = 'Z1' and ORDER_ITEM_INX-REASON_REJ = 'X',the error is still occurring.
      'Z1'-WBS has been cancelled
      How can I remove this item from the sales order?
      Please help me.....
    Best Regards,
    bluebaby

    Hello Lakshmipathi,
      thank you very much for answering my question..
      But how I get the file SAP note 14097,I was search this file in SDN and google but cannot find this file,if you know pls give me a hyperlink to view the content,thanks a lot.
    Best regards,
    Sophia

  • Add sales organisation to existing material

    Hi.
    I need to expand the sales organisation for an already existing material. I knew the process but have not used it in a while so now it's forgotten but I know it is possible.
    Any clues?
    Ryan

    Dear Ryan
    Go to MM01, give the existing material code and also in "Copy from".  Now select the "Organisational levels" tab so that you can see a comparative screen wherein on the left side you have to define in which sales organization, you would like to create the material.  Enter the same and save.
    Thanks
    G. Lakshmipathi

  • Assign Multiple Sales Org for One Plant in STO process

    Hi Experts,
    Aware that I can assign multiple sales org to 1 plant (relationship: many to many).
    I am trying to create STOs to supplying plant and assigning them to different sales organization but encountered problem.
    Example:
    Supplying Plant 1000 - Sales Org 1000A (food) and 1000B (apparel)
    Receiving Plant 1100
    Plant 1100 wants to issue 2 STOs to Plant 1000 - 1 for each Sales Org (for instance STO1 to food division, and STO2 for apparel division).
    However, when I tried creating STO in the system, noticed that in the shipping tab (item details) the sales org, DC has been assigned to 1 particular assignment and data is locked.
    Tried to get into SPRO to configure and define the shipping data for plants but noticed that it's 1 to 1 relationship (SPRO - IMG - MM - PO - Set up Stock Transport Order - Define Shipping Data).
    How can this be done?

    You can set different sales areas (~sales organisation) for one plant in SAP - based on issuing SLoc provided STO between storage locations is activated.
    SPRO > Materials Management > Purchasing > Purchase Order > Set up Stock Transport Order > Set Up Stock Transfer Between Storage Locations > Define Shipping Data for Stock Transfers Between Storage Locations
    Edited by: Csaba Szommer on Jul 2, 2011 6:14 PM

  • Address text name in Sales Organisation

    While defining Sales Organisation there is field ‘Address text name’ can anybody give some details of it?
    regards
    Rajesh

    Dear Rajesh
    TXNAM_ADR     Text name for form text module short address
    TXNAM_KOP     Text name for form text module letter header
    TXNAM_FUS     Text name for formula text module footer lines
    TXNAM_GRU     Text name for form text module: Greeting
    This fields are used in case in Output you want text object to be used based on sales organisation
    for e.g. you can put
    ADRS_SEND
    ADRS_HEAD
    ADRS_FOOT
    ADRS_SIGN
    Regards
    Jitesh

  • Country code & sales organisation

    hi guys,
    i need to retrieve sales orders for a particular country from the table VBAK. for this i need all the sales organisation for that particular country. from which table can i retrieve sales organisation for a particular country?
    regards,
    vitish.

    or how about selecting from view V_VKORG_BW with LAND1 = particular country?
    this is the country of the assigned company code.
    else try a join on TVKO and ADRC via TVKOADRNR = ADRCADDRNUMBER where COUNTRY = particular country.
    Cheers
    Thomas

  • How to disable delivering plant for sales organisation and material

    HI
    We usually deliver via 2 delivering plants and changing them via MM02 according to availability Theese 2 delivering plants are connected  with many sales organisations
    It  is possible to disable delivering plant for some products to specific sales organisation , so that customer service is not able to order a this material from a plant for this sales organisation? Other sales organisation should be still able to order the product  from that plant.
    I can imagine to block the whole delivering plant for a material. But how is possible to do so on the level of sales organisarion-material-plant?
    Thanks a lot
    Sona

    With standard, it is not possible.  You can try with USEREXIT_CHECK_VBAP in the program MV45AFZB
    G. Lakshmipathi

  • Tcode : OVX5 ( Change view " Sales organisation details " )

    Dear All,
    As i observed that in Tcode : OVX5 the respective Sales Organisation calendar is set to 01 ( Germany Standard ) as i am facing problem while using BAPI to change the Sales order which specifies that the delivery date is been exceeded with respect to the calendar 01 ( Germany Standard ) and accordingly i have changed it to the respective organisation , but please let me know that is there any harm if i change and move to production which would cause problems to the previous entries.
    Regards,
    Venkatesh

    Hi Venkatesh Sambrekar,
    There is no harm in changing calender settings, Recently I have changed calender for PP Module error.

  • Can't change quantity when copy from Sale order for Delivery

    Hi all!
    Can i use authorization for can't change quantity when copy from Sale order for Delivery.

    Tien,
    Approval will not work when you have mutiple rows of data.  You would have to work with SP Transaction Notification
    There has been threads before on the forum on the same topics.
    Block the Quantity in Sales Delivery
    Approval Procedure for chaning quantity in Delivery Document
    Suda

  • End User Transaction for Mass Change Sales Orders

    Hello,
    Transaction MASS can be used to change sales orders using object type BUS2032, however, end users are not allowed access to MASS.
    In most other cases, the object types can be accessed by individual transactions, for example, MEMASSPO for BUS2012 and XD99 for KNA1.
    But I cannot seem to find a similar transaction for object type BUS2032, does anyone know whether one exists or how to create such a shortcut.
    Thanks,
    Jake.

    Hi
    See SAP Note 483303 - BUS2032: Only sales orders of category VBAK-VBTYP = 'C'
    Regards
    Eduardo

  • Credit Memo Request for New Sales Organisation

    Hi Frnds
    I have a requirement in which i need to create a Credit Memo Request for the newly created sales organisation using the old billing document number created for old sales organisation.Please kindly help me in this regard.
    Thanks in Advace
    Sowmmya B

    Hi,
    Did you try creating a CMR online ??
    Regards

  • Material master deletion for a particular sales organisation

    Hi,
    I want to delete all the material master which are created in a particular sales organisation.
    Means user should be able to create sales order with that material nor user able to bill the existing sales order of that material.
    Regards,
    SATYA

    Hi,
    First open the material master with the Sales organization you want to block. Go to Sales:Sales org. 1 View.
    (1) In X_ distribution Chain status field enter the value "12- sales not allowed"
    (2)D.Chain-Spec Status field , enter the value "12- sales not allowed".
    Enter the Valid from Date against both the above mentioned fields from when you do not want to bill for that particular Material for a sales organization.
    Thanks and Regards,
    Neeraj Saini
    Idhasoft

  • Want to change output type for 10000 sales orders through MASS

    Hi Friends,
    I would like to change the Output type in the sales order for 10000 sales orders.
    Can I do with MASS transaction. If so, Plz let me know how ?
    Is there any other process to change the output type for 10000 sales orders, as its difficult to manually in each and every sales order.
    Its very urgent issue, Plz let me know at the earliest.
    Thanks & Regards,
    Praveen Kumar. A

    This may be little tough for 10000 sales orders.
    1. You have to remove the output record for the irrelevant output record using tcode VV12 for the relevant document type. So now for the document type, the old output wont be triggered.
    2. Now, create output records for hte correct output type in VV11 tcode(for the output type BA03) for the document type. Now this output will be triggered for all the document types you are creating from now onwards.
    3. To trigger the output type BA03, in all the old orders, you just have to open these sales orders in change mode (VA02), and just save it. When u open it the output type BA03 will be automatically triggered as the master data is maintained in VV11. But because just opening all the 10000 sales orders in VA02 one by one be a mechanical task, you have to think of some tool for this.
    May be a CATT procedure can do the trick. Else, you can just create a small program, where you can upload these sales orders and the program will just open these orders in change mode and just saves it (without making any changes). Then the output will be retriggered.
    Here again, if you are printing the output directly, it is advisable to trigger the output in batch mode(Date/Time field is 1 in VV11), and then you can again trigger the printing again using the program RSNAST00 after office hours for these 10k orders.
    I hope I answered ur query.
    Pls lemme know if you need some more info. (You can reward me too...)

  • Change of Plant in Sales document  for BOM header Material

    Experts,
    I want to change the plant for the BOM header Material in Sales document.
    Now the field is getting grayed out.
    Please let me know how can we do this.

    Try using either of following TCode, (provided your Sales doc don't have any succeeding sales doc to it and material should have been assign to the desired BoM) :
    CS62
    CS20
    CS08
    Thanks & Regards
    JP

Maybe you are looking for