Prevent Intercompany Sales by Sales Order Type

We have a scenario where the company wishes to prevent Intercompany Sales by order type. 
In Standard SAP, scenarios exist such as this.....
Sales Org A111 is aligned to Company Code C100
Order type ZZ is placed against Sales Org A111 with the item shipping from a plant aligned to company code D100
Result would be a trade invoice to the customer from Sales Organization A111 and an intercompany invoice (std SAP type IV) between the selling and delivery organizations. 
In our case, they still want to allow this scenario for the sales organizations and plants involved, but NOT for certain Sales Order Types.  Is there a way to prevent this and have the user alerts at Sales Order document creation that this is not allowed? 
I tried removing the Intercompany Billing document type assigned to the sales order type.  This does NOT alert the user in any way and only prevents an intercompany billing document from being created at billing time.  We need to prevent the sales order up front during Sales Order processing. 
I have searched through OSS and Google (for various forums) with no success.  Most give excellent instructions with the steps to set up Intercompany Billing, but not to prevent it.

Karol
If you have already tried 'Define Order Types For Intercompany Billing' and it did not work, then the best bet for you is to work with user exits during Sales document processing:
Program MV45AFZB- USEREXIT_CHECK_VBAP, or
Program MV45AFZZ- USEREXIT_SAVE_DOCUMENT or USEREXIT_SAVE_DOCUMENT_PREPARE
You may use the logic to  establish that it is an inter-company scenario ( check if the item plant is not assigned to the company code for the sales org from the sales area), then issue a information or error pop up message.
Hope this helps.

Similar Messages

  • Preventing update to COPA tables for a particular Sales order type

    Hi ,
    We need to have incoming sales order transfer to COPA activated only for one particular sales order type activated.
    Earlier we implemented note 571697  for user exit to allow COPA update only for particular sales order type.
    This prevented the transfer of SO to actuals table, but off late the performance for VA01 and VA02 has decreased substantially.
    Upon checking, we found this is happening because of other CE4XXXX tables (excluding CE1XXXX) which are getting updated during creation/ change of SO. as the data in these tables is huge .
    If possible, please advise, right userexit to prevent update to these tables.
    Thanks.
    Neeraj

    Thanks for your inputs..I have few more queries on same.
    Initially we had incoming sales order activated in KEKF allong with implemented SAP note 571697, which helped us to update CE1XXXX only for a particular sales order type. This was initial requirement to have system updating COPA values only for one particular sales order type.Also, KEQ3 was also activated which resulted in updates to CE4XXXX. This was not a problem initially since we had few sales orders now that plant has grown old with more sales order (resulting in huge size of CE4XXXX) VA01 is impacted..
    Currently ,since we have KEQ3 activated so, Segment is created the moment we create sales order.. and table CE4XXXX is updated..
    As most of you have suggested to switch off sales order in KEQ3, i need to analyze the impact of this..
    From what i understand CE1XXXX will continue with updation for that order type... and CE4XXXX won't be updated in future..Please correct me if i am wrong..
    Also, please advise what all can be possible impacts on COPA reporting if I switch off from now onwards (client has been using this since long) , and what all should be the precautions that i should take while doing this.
    Thanks

  • Default Sales Order type settings

    Where do I set the default Sales Order type for transaction VA01. trying to avoid employees choosing the wrong order type.
    Thank you.

    You can setup user parameter for parameter AAT
    Use transaction SU3 for every user
    Goto tab Parameters
    Add a line
        Parameter_ID: AAT
        Parameter value:  Your order type
    Save user profile
    Please note that this solution will not prevent user to change the value of field order type during VA01. However he will always get this as default value. You should do this for every user you need to have default value.
    Best regards
    Aris

  • Intercompany sales order

    how does intercompany SO works( the process  from start to the end ( including MM side, billing and soo on ) ..please help

    Hi
    Find the  inter company sales processes.
    INTER COMPANY BILLING:
    Create voltas Sales Org. as customer.  This is required because the sales org. V002 will be indenting the material from the plant VVV1 note the customer number.
    INTERCOMPANY BILLING :
    Path :
    Imgu2026 sdu2026 billing u2026 select intercompany billing u2026. Define internal customer number by sales organization.
    Position V002 (Sales org.)
    Sales Org.     Customer Number
    V002     97600 u2013 created as above)
    Save.
    Select assign organization units by plant (Accounting reasons or purpose)
    Select assign org. units to the plant
    Position VVV1
    Assign sales org, dist. Channel and division to the plant VVV1
    VVV1     V002     VD     V1
    SAVE.
    BACK
    Select define order type for intercompany billing the sales document type ZVOR uses an intercompany billing doc type u201CIVu201D
    Now select
    Imgu2026 sdu2026 billingu2026 billing documents
    Define billing types.
    Position IV copy as ZVIV u2013 Voltas Interco. Billing.
    Maintain your account determination procedure then continue.
    Change the name
    Save.
    Again select idu2026 billing
    Intercompany billing select define order type for inter company billing.
    Position u2013 ZVOR
    Select your doc type and assign the new inter company billing doc type
    ZVOR     ZVIV
    Save.
    Goto img.. assign document pricing procedure to sales areas
    Imgu2026 sdu2026 basic functions u2026 pricing .. pricing u2026 control u2026 define and assign pricing procedure
    Define pricing procedure determination
    Imgu2026 enterprise structure u2026 assignment u2026 sd and distribution.Sales org.dist channel to plant
    If you have created new plant for new comp.code u2013 VVV1 by copying from an existing plant V001 there is no need for assignment.
    Activities in easy access
    Create a new material in the plant u2013 VVV1 use sorg-V002 and dist. Channel u2013 VD division as V1
    Maintain the price
    Price to the customer u2013 ZPR2 (Regular)
    Intercompany price between u2013 VVV1 and V002 = PI01
    Create stock from new material in plant VVV1
    You can also use PI02 to maintain intercompany  rate in %age.
    Create a sales order enter customer
    Inter company material quantity
    Select procurement tab from overview we can see the plants as VVV1
    Select shipping overview screen and note shipping point and material availability date.
    Select item conditions
    You can see the customer price and inter company price PI01 (statistical)
    Create the delivery, billing and after billing is save create inter company billing
    Using the billing due list to create intercompany billing or delivery create the intercompany bill by using VF01, refer the billing document ZF2 number, select the billing document type as u201CZVIVu201D now system will display two documents one the regular bill and the other one as intercompany billing.
    Best regards,
    venkatawamy.y

  • Stoping Sales Order types from specific plant

    Dear Friends,
    My client want to stop creation of specific sales order types from a specific plant. Means if that specific plant entered in sales order then system should not process that sales order further.
    Note : Material transference must not be affected while implementing above requirement.
    Kindly suggest the solution in this matter.
    Thanks & Regards,
    Savi

    The best way would be to prevent this through your organizational design (Enterprise Structure)
    You can limit which plants can be used for each combination of sales org/distribution channel  & you can define which order types can be used for a given sales area.
    You can use exclusion procedure and records to stop the combination of orders type and plant. This is not a use fiendly solution as the user doesn't receive a very useful error message.
    You can use the user exit as mentioned before.

  • How will i configure intercompany sales order

    pls tell me how will i configure for intercompany sales order

    Hi,
    Intercompany Sales & Business Processing
    An Intercompany sale transaction takes place when a sale occurs & the selling sales orgn belongs to a different company code than that of the delivery plant.
    Intercompany business processing describes business transactions, which take place between two companies (company codes) belonging to one organization. The ordering company orders goods from a plant, which is assigned to another company code.
    Ordering company Supplying company
    Company code: 5555 1000
    Sale Organisation: 5555 PBIL
    Distribution channel: 56 PW
    Division: 58 GC
    Plant: 5555 1000
    Customer: 215 Product: Nimulid
    • Ent Stru- Assignment- SD- Assignment- SD- Assign Sales Orgn: Distbn Channel- Plant
    Sales Orgn Distbn Channel Plant
    PBIL PW 1000/ 5555
    5555 56 5555/ 1000
    • SPRO- IMG- SD- Billing- Intercompany Billing:
    o Define Order types for Intercompany billing
    o Assign organizational units by plant
    o Define internal customer no by sales orgn
    • Assign Sales Doc relevant for Intercompany billing
    IVo POR
    IVo OR
    • Assign Organizational Units by plant: assign sales area of ordering company to the delivery plant.
    o 1000 5555 – 56- 58
    Plant Descp Sales Orgn Descp Distbn Descp Division Descp
    1000 5555 56 55
    • Define internal customer no by sales orgn: create the customer of the ordering company in the company code of the delivering plant, but with the sales area of the ordering the company
    Sales Orgn Descp Customer Inter Comp Descp
    PBIL 215
    • Pricing procedure: PI01 (Intercompany pricing)
    • Determination Rule: OVKK
    PBIL PW GC A 1 RVAA01
    PBIL PW GC I 1 ICAA01
    • VK11: PI01
    • Create Order: VA01: POR: 5555-56-58: customer- 215, product- Nimulid, supplying plant: 1000.
    • Delivery
    • Goods issue
    • Invoice for customer
    • Invoice Intercompany billing
    Processing an Intercompany sale:
    To create an Intercompany sales transaction proceed with creating the standard sales order. In the sales order, change the delivering plant at the line item level & create a delivery for the new shipping point represented for the delivering plant. Proceed with the delivery functions of selecting the packing & posting the goods issue. Then create an external invoice that will be sent to the customer & create an Intercompany invoice. That will represent the billing doc between the delivering plant & the selling sales orgn.
    An internal Intercompany invoice can be created by entering the delivery no again for processing when using the transaction VF01. One can also select the doc due for Intercompany billing by using the billing due list VF04. When using the billing due list be sure to select the Intercompany-billing doc as the documents to be used, by checking Intercompany billing.
    A Check List for Intercompany sales processing can be the following:
    The enterprise structure must be maintained correctly, i.e., the plants must be assigned to the correct company codes as well as to the correct combination of sales orgn’s & distbn channels.
    The Intercompany customer must be assigned to relevant sales orgn’s
    The delivering plant must be assigned to the sales orgn.
    The material to be sold must exist in the original & delivering plant.
    The sales order must be relevant for Intercompany sales & have an assigned billing doc type
    The copy control rules must be defined between the standard invoice, such as F2, & the inter company invoice, such as IV.
    The pricing proc may have a special cond type assigned to it. This special cond type may represent the price to Intercompany sales orgn or it may represent a special discount offered to the Intercompany sales orgn for the material sold
    The standard system has the following cond types:
    To represent the Intercompany price as quantity-dependent.
    To represent the Intercompany condition as percentage.
    regards,
    sadhu kishore

  • Intercompany sales order : OD with error " Enter Purchase Order "

    Hi,
    I am creating a intercompany sales order with movement type : 645. Now when i am performing the Goods Issue. it is giving a error
    MSG          Area        Message type              Message Text
    018            M7           E                                Enter Purchase Order
    I have checked all the configuration regarding the movement type, screen layout. No where purchase order is maintained as mandatory.
    Thanks in Advance
    Regards
    Ashish Philip

    Hi Ashish,
             It may be worthwhile checking OMCQ Tcode to see if there are any custom versions for Application Area M7 with Error Message Category as "E" for Message 018.
    MM -> Inventory Mgmt & Physical Inventory -> Define Attributes for System messages.
    Also check if your user id has the parameter MSV in Su01d transaction.
    Hope it helps
    BR,
    Aram.

  • Question on Search Help and Authorization Check for Sales Order Type

    Question 1:
    When I go to VA01 and click the search help, it shows only order type that are not blocked.
    However, when I have sales order type in select-options of a Z program,
    S_AUART FOR VBAK-AUART
    I click on the search help, it gives all the sales order types. How can I have a list with unblocked sales order type only?
    Question 2:
    I want to check whether a use can extract data from a sales order type (e.g. OR and RE)that he/she authorized to use.
    I have include the following in my program:
    AUTHORITY-CHECK OBJECT 'AUART'
    ID 'AUART' FIELD 'OR'.
    It always returns SY-SUBRC = 12.
    But order type 'OR' is granted to the user (he/she can create order with type OR in VA01)
    Please kindly give me some ideas, thanks.

    hi,
    ad1
    use following code:
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR auart.
      PERFORM auartGet.
    FORM auartGet.
        CALL FUNCTION 'RV_HELP'
             EXPORTING
                  KEY            = VKORG
                  KEY2           = VTWEG
                  KEY3           = SPART
                  KEY4           = '0'
                  NUMBER         = '008'
                  FIELD_IN       = AUART
             IMPORTING
                  FIELD          = AUART.
    ENDFORM.
    ad2.
    example:
       AUTHORITY-CHECK OBJECT 'V_VBAK_AAT'
             ID 'AUART' FIELD 'OR'
             ID 'ACTVT' FIELD '01'. "01-create order, 02-change, 03 display
    check sy-subrc eq 0.
    regards,darek

  • How to activate sale order type in CFM1

    Hi,
    I want to include Sale order type in CFM1 transaction to restrict specific Sale order types along with Plant.Is there any report or Tcode which will enable this field or we can only achieve through exit.
    Thanks
    Venkadesh

    Hello,
    Please check BAdi CIF_INT_MODEL method MODIFY_OBJECT_LIST Modifying list of filter objects.
    BAdI solution although it fulfills the general selection options.
    Also refer consulting note   902968 - No user exit/BADI to influence selection in CFM1
    Best Regards,
    R.Brahankar

  • Transfer of Intercompany sales orders using LSMW

    Hi
    I have to Transfer the open intercompany sales orders using LSMW. Consider a scenario where customer places an order on sales org A with plant A. sales org A raises purchase order on Sales org B with plant B. The material moves from Plant B ie supplying plant to delivering plant A. THen it is delivered to custome from plant A. Can u please tell me whether i have to pass the suppying plant or it will be determined automatically. Similarly what about the purchase requisition no. Is it created automatically.
    Thanks
    regards
    Tushar

    Hi,
    The purchase requisition is going to automatically created incase of a intercompany order  (ie nothing but the third party order).  In this case of orders the line item category in the sales order would be TAS. The intercompany sales order nothing different from a normal order during the creation of the order, after that the operations will be different from the normal standard order.  You can use the same LSMW which you have used for transfering normal standard orders.
    The configs are going to be different in the system for intercompany sales orders compared to the standard sales orders. That is the problem of the functional consultant to take care.
    Thanks,
    Mahesh.

  • Link Sales Order Type to Customer

    Hi gurus,
    Do you know if there is anyway of linking a customer to a Sales Order Type?
    So that if selling to that customer, everytime that Sales Order type is determined?
    Please consider scenario where Sales Orde type is created through DP90 from service orders.
    Thanks and best regards,
    Víctor Liedo

    hi victor,
    in standard SAP there is no direct link as such for customer to sales order type.
    what is the business logic for the same.
    you are linking the sales areas for the document types - not to the customer level - that is one type of control which SAP is providing.
    but here you need to enter the sales order type manually before entering the customer for the sales order.  so MV45AFZZ : USER EXIT SAVEDOCUMENT_PREPARE.
    you can write a piece of code for the same.
    you need to hard code account group of the customers & sales document type, so that when ever before saving the sales order the system will check the sales order type used for that particular customer is correct or not and then saves the sales order or else it throws an error
    hope this clears your issue
    balajia

  • User-Exit for Checking Customer and Sale order type in Sales Order Creation

    Hi Experts,
      While creating the Sales Order once i enter sold-to-party and enter line item, i have to check the customer against the sales order type.
    Please suggest me if any user-exit or enhancement or BADI available for it.
    Thanks & Regards,
    -VM

    Hi
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    mark if helpful
    Regs,
    Tushar Mundlik

  • How to exclude sales office for combination sales order type/division?

    Hi experts,
    I would appreciate if you could advise: How to exclude sales office for combination sales order type/division in ECC 6.0 ?

    Hi
    Standard SAP functionality would not be able to cater to this. Ideally create a Z table with sales order type and sales office combination. Put in entries for combinations that are allowed. In Sales order program MV45AFZZ use the exit USEREXIT_MOVE_FIELD_TO_VBAK. In this exit write down the logic passing the sales office determined and the order type and check if the entry is there or not. If the entry is there then it should go on to the next step. If it does not then pass an error message. You need to use the help of your ABAP er for this.
    Thanks
    Indranil

  • Regd creation of New Sales Order Type - Credit Memo Request

    Hello Gurus,
    I have created a New Sales Order Type as per the given requirements. This is a Credit Memo Request. I have done all that are needed from SD perspective.
    Can you please let me know what needs to be done from FI-CO perspective when a New Sales Order Type is created and this is a Credit Memo Request. If some one can let me know the customizations that needs to be done it will be very helpful for me.
    Thanks,
    SNK.

    Hi,
    As per my understanding, there is nothing to be required from FI-CO perspective, in case when you defined a document type in SD.
    During the sales order processing the SD-FI interface happenes for following activities
    1) Credit check (In case you use Credt management)
    2) Tax determination
    For more knowledge
    go through the link given below.
    http://www.sap-img.com/sap-sd/link-between-sap-sd-mm-and-fi.htm
    Hope it helps,
    Regards,
    MT

  • How to configured pricing procedure to sales order type

    Dear Sir,
    Please tale me how to configure / change pricing procedure to sales order type. we have required to change pricing procedure from a to b for particular sales document type.
    Regards
    BK GAIKWAD

    HI
    Create a new document pricing pricedure
    SPRO>sales & distribution>basic functions>Pricing>Pricing Control-->Define And Assign Pricing Procedures
    and in the same path assign to your document
    and assign it to your document and also then to your Pricing procedure determination in OVKK
    regards
    Prashanth
    Edited by: Prashanth@SD on Jan 29, 2011 11:00 AM

Maybe you are looking for