VA01 Item category display only for specific order type

Hi,
I have a requirement to deactivate(display only) item category field in VA01 table item for certain order type . I tried the user exit  MV45AFZZ(USEREXIT_FIELD_MODIFICATION). This is working only if the table item has a value. i.e I could able to enter an item category first and then enter the material and quantity.
So please suggest any alternative how to make the item category field(VBAP-PSTYV) column display only for centrain order type.
Regards
Aromal R

Hi,
Create a Custom Authorization Object so that you can control it for certain users.  2. Write implicit enhancement spot in the include TCS MV45AF0T_TCTRL_U_ERF_AUFTRAG_I,
FORM TCTRL_U_ERF_AUFTRAG_INIT
AUTHORITY-CHECK OBJECT 'ZITMCAT'
          ID 'ACTVT' FIELD '02'.
IF SY-SUBRC NE 0.
*    DATA: WA_COLS LIKE LINE OF TCTRL_U_ERF_AUFTRAG-COLS.
LOOP AT   TCTRL_U_ERF_AUFTRAG-COLS INTO WA_COLS.
   IF WA_COLS-SCREEN-NAME = 'VBAP-PSTYV'.
   WA_COLS-SCREEN-INPUT = 0.
   WA_COLS-SCREEN-OUTPUT = 1.
  MODIFY TCTRL_U_ERF_AUFTRAG-COLS FROM WA_COLS.
   ENDIF.
ENDLOOP.
ENDIF.
Regards
Aromal R

Similar Messages

  • Stop user creating process order with material for specific order type

    Hey Team,
    Is there a way where I can stop creating process order with material for specific order type says Z*. We are using ZNMA  order type to create trial batch and we do not want to create process order with material for this order type.
    Any ideas?
    Thanks
    Bhavesh Patel.

    You can restrict the order creation in CO01 based on authorization, Remove the authorization for Z order type for the particular user,  Check with your basis Guy

  • Batch management config for specific order type

    Hi SAP gurus,
    Below are my clients  requirement.
    They want to interduce batch management for few materials, but they want the same to be implemented only for order-to-cash sale. order type ZOTC.
    When I tried to simulate the same, for other order type(Ex: ZOR),  system is also asking to maintain the batch at the time of goods issue as the material is now managed under batch & not allowing me to do the goods issue for the delivery for which the refering order type is ZOR.
    How can I configure the same, so that, for the same material,if order type is ZOTC then batch will be determined at delivery & for all other order types, system will not check the batch during goods issue if the batch field is blank in delivery?
    Help me.
    Manoranjan

    Dear Manoranjan,
            requirement doesnt seems either logical or possible.
    When material is activated as "batch Management" in Material Master, then there is no way to maintain the stock without batch.
    you have to have stock in batches only.
    Next, when you are delivering goods in OTC sales, then in delivery system will ask from which batch goods has to be issued , because they are managed in batches.
    So while delivering goods through OTC, you should either enter the batch manually or determine batch in del item category as in std.

  • Change item category Display mode  in sales order (Third Party )

    Hi all,
    I am creating sales order with reference to sales contract but at the time of sales order we don't have enoff stock to deliver to customer , so we have deiced to Third party sales process
    But the problem is while creating a sales order with reference to Sales contract the line item of the sales order in grad Mode ( Not changeable mode )
    Can any one guide me how sales order line item should be in active mode  so i can change the Item category as a TAS third party item category
    Help me regards this
    Thanks
    Rajesh

    Hi all.
    Thanks for response
    I maintain all configuration, But the problem is while creating Sales Order with reference to Contract
    the Sales Order line item in grad Mode i am unable to change item category as TAS
    i mean TAN is on Display Mode
    and we are using Varient config  for that material
    Please guide me where i need to Configure so system should allow me change item category in sales order please guide me
    Thanks
    Rajesh
    Edited by: RAJESH KUMAR on Jun 16, 2009 10:23 PM

  • Payment terms not modifiable in PO for particular order type

    Hi Gurus
    My client wants the payment terms should not be modified while creating a PO. It should be picked from vendor master. But this requirement is for a particular order type ZIN only. I tried in SPRO but then it is affecting all the order types.  Is there any user exit or solution for this.
    Regards,
    Yuvaraj

    Hi,
    STEP 1:
    Spro>Materials Management>Purchasing>Purchase Order>Define Screen Layout at Document Level
    Create a new " Field Selection Key" for ur doc type
    (ex: Standard NB doc type the "Field Selection Key" would be "NBF", you can make a copy of it)
    Just Double click on that
    then click on "Terms of delivery and payment", there you can see the "Terms of payment" field.
    against that field you can see three options, Reqd.entry Opt. entry Display...
    Here tick the field "Display", So that You will get this field display only for the document type ZIN.
    STEP 2:
    Spro>Materials Management>Purchasing>Purchase Order>Define Document Types
    Here Assign the newly created "Field Selection Key" against the your PO doc type ZIN

  • Item category N: Only base unit of measure EA allowed,Message no. CO344

    Dear all
    I am facing  the following  issue,
    Item category N: Only base unit of measure EA allowed
    Message no. CO344
    Diagnosis
    You have entered a unit of measure for a component of the item category N which does not correspond to the base unit of measure maintained in the material master record.
    Procedure
    Use the base unit of measure maintained in the material master record.
    Please give  the solution  for how do handle that issue.
    Thanks&Regards
    K.Muthukamatchi

    Hi
        My requirement is: The item category N should allow me to use alternate UOM.
      When i checked with Item category L, the system allows me to use alternate UOM. I need the same to work for Itm category N also.
    Through  forums, i found that, in standard SAP, system will not allow to use alternate UOM for Item catedory N.
    Is there any config settings to be done for my requirement?
    Kindly do the needful.
    Thanks & Regards,
    K.Muthukamachi

  • Restrict discount only for 10 orders

    Hi
    i want to restrict discount for only 10 customer for that i did some seeting in v/06 condition type and activated the condition update but when am creating condition record and in additional data there is option called Max no of orders when am entering 10 its throwing error enter a valid value. so kindly help me.
    thanx

    Hi there,
    If the requirement is to give discount only to 10 specific customers, then check the key combination of the condition record.
    If the condition type has a key combination of sold-to / ship-to partners, then maintain the condition type only for those customers to whom you want to give the discount.
    If your requirement is to give discount to any first 10 customers, then logic is different. In that case you can define the condition type as manual. Since it is only for 1st 10 customers, then the order entry person will manually give the discount only to first 10 customers.
    If you dont want manual intervention, then you can do this. Check for what sales area / order type you want to give this discount. Then in the requirement routine of that condition type write a customized code. In the code put a logic such that the system takes a count of VBAK entries in that salea area for that order type. If the count of VBAK <= 10, only then the condition type will apply.
    Hope thsi works.
    Regards,
    Sivanand

  • Restrict display and posting for specific document types

    Hi,
    Is it possible to restrict display and posting for specific document types? I want to restrict authorization to SM document type in FS10N, and KSB1 tcode. Please help
    Best Regards,
    KIRAN.

    Sandipan Choudhury wrote:
    FS10N checks for this object ("Check" in Su24) but when user doesnot has this authorization object he gets access to all doc types and when the user is restricted to specific doc types (object present in user's authorization) he will get access to only those doc types. This is how the authorization check for F_BKPF_BLA works, in other words this authorization is Optional.
    Sorry, but this is not true and seems to be an invention of how you would like it to work...
    The coding works like this (generally):
        if sy-subrc ne 0.
          select single * from  t003 where blart = postab-blart.
          check sy-subrc = 0.
          blrtab-blart = t003-blart.
          blrtab-brgru = t003-brgru.
          append blrtab.
        endif.
        if blrtab-brgru ne space.    "<--- important condition!!
          authority-check object 'F_BKPF_BLA'
               id 'BRGRU' field blrtab-brgru
               id 'ACTVT' field actvt.
          if sy-subrc ne 0.
            rcode = 4.
          endif.
        endif.
      endif. 
    The "optional" aspect is whether or not the document type has an auth group on it in T003, failing which the check is suppressed.
    If it reaches the check, then it found something and then checks that selected value.
    Moral of the story:
    --> Do not believe SU53.
    --> Do not make assumptions from ST01 traces.
    --> Read the documentation carefully.
    --> Read the code to see how it really works (you can jump to the coding location from the trace).
    Cheers,
    Julius

  • Cellular data only for specific apps

    Is there a way by which i can enable cellular data only for specific apps? Lets suppose i want only mail and viber to run on cellular. So how do i enable cellular network only for viber and mail

    Hello all,
    I have been using the iPhone 4S for about a year and I never had problems untill a few days back. Since about a week, my 3G settings for applications installed automatically reset.
    Path >> iPhone screen >> Settings >> Mobile(Cellular) >> Use Mobile Data For >> "List of all apps installed"
    Against each application, you have an option to either enable / disable the mobile data usage:
    Eg:
    App Store          (swipe left to disable || swipe right to enable)
    Contacts          (swipe left to disable || swipe right to enable)
    Facebook          (swipe left to disable || swipe right to enable)
    Facetime          (swipe left to disable || swipe right to enable)
    Weather          (swipe left to disable || swipe right to enable)
    You Tube          (swipe left to disable || swipe right to enable)
    etc...
    Problem:
    If I don't want You Tube to use mobile data, I would normally swipe left to disable thus the application will not start / stream any music if its on 3G/4G. Since a few days, whenever I disable the option for any app... go back to the main screen and recheck the settings, I see its enabled again!
    The error I see when I start the app is:
    MOBILE DATA IS TURNED OFF FOR "YOU TUBE"
    You can turn on mobile data for this app in settings
    <Settings>     <OK>
    When I go back to settings... I see the option is enabled.
    Now I dont know what and how this happened all of a sudden. I have tried resetting the network settings for my iPhone, and it has not helped me.
    My iPhone is updated to OS 7.0.4 and all apps are updated.
    Anyone can help me on this error and how do I fix this?
    FYI... I have no problems connecting to WiFi at all!

  • Using manual IP address only for specific networks

    For my home network I use DHCP with manual address because I have to forward some ports specifically to my computer. However this causes problems when connecting to other networks. For some reason this setting stays active even when using other networks. Therefore, I can't connect to say my school network because the setting has to be set to plain DHCP. Is there a way to use manual IP address only for specific networks?

    System Preferences > Network > Locations and add a location for your home with its manual settings. Add a location for other DHCP locations. Then when you want to connect at another DHCP location select that location from your locations dropdown.

  • Item category group used for scrap materials

    hello gurus
    Can u pls tell me what is the item category group used for scrap materials in the material master?
    Thanks in advance
    Warm Regards
    Prashant.

    Prashanth,
    Item Category
    Item Category used is IRVE or you can create your own Item caegory by clicking "New entries"
    a. Schedule line is activated
    b.  Incompletion Procedure = 43 repair item
    c. Screen  Seq Group is mentione.
    Item Category Group
    There is no item category group existing. You can create your own item category group "SCRAP". you basically use "Tem category Group" along with Sales Document to determine item category
    You need to create a ZSCR scrap material type and assign "SCRAP" item category group to material type
    Assign Item categories
    Carry out the Item category determination for Item Category Group.
    Regards
    Sathya

  • Showing Sub-Totals only for Specific Column in PowerView

    Hi,
    Is there a way of showing the sub-totals only for specific columns in a PowerView Matrix?
    I am only aware of showing the sub-totals for all or non of the columns.
    Thanks and Regards,
    Justin

    Hi Justin,
    According to your description, you want to get sub-totals specific columns within columns group. Right?
    In this scenario, we can use IIF() function in expression to achieve your goal. The expression will only return the total value when the column value is a specific value, otherwise we can make it return nothing. Try the following expression:
    IIF(Fields!Column.Value="[specific value]",Sum(Fields!Total.Value),nothing)
    We have tested this scenario in our local environment. Here are screenshots for your reference:
    Reference:
    Expression Examples (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • SCCM 2012- How to limit a collection membership only for specific count of machines

    How to limit a collection membership only for specific count of machines

    As I said you can use where SMS ID like %1 and see how many machines that gets you. If it's not enough do where SMS ID like %1 or SMS ID like %2. Keep adding a digit until you get ~5000. It won't be perfect though.
    John Marcum | http://myitforum.com/myitforumwp/author/johnmarcum/

  • Free Goods for QT order Types

    Can I use automatic Free goods determination for QT order types.
    however i am using it for OR right now and i have done the related configuration for QT as well but system is not detmining Free Goods for QT order types.
    I have also maintained the below entry in "Determine Item Category for Free Goods Item"
    Sa Type   ItCGr         Usg.     HLevelItCa  DfltC
    QT            NORM      FREE     AGN           AGNN

    Hi
    Std SAP itself doesnt support Free Goods at quotation level
    Standard SAP supports Free Goods at quotation level and hence the item categories AFNN and AGNN are provided in the standard SAP. But,  the Automatic determination of Free Goods is not possible for SD documents under category other than 'C'.
    In your scenario...since the automatic determination is not possible, think about handling the functionality manually or through user exits.
    Thanks,
    Ravi

  • Production scheduling profile for production order type 10 does not exist – SAP Message No.10085

    When i tried to make confirmation for Production Order through CO15 transaction , i receive the following error message “ Production scheduling profile for production order type 10 does not exist – SAP Message No.10085 “
    In Work Scheduling view, Production Scheduling Profile is maintained as per OPKP only.
    How to check whether production scheduling profile is maintained for relevant order type 10.
    To do this , i went to OPKP & KOT2_OPA transactions but i don’t know how to check. I guide me through with a screen shot.
    Also, pls explain about  “Order Type 10” and how it is linked with material and order execution.
    Looking for a detailed explanation with screen shots , since i am new to SAP.
    Thanks With Regards,
    Dinesh Kumar V.

    Hello Dinesh,
    Please check the order type dependent parameter in OPL8 here you will get the Substitute Scheduler
    Then go to OPCH and check valid production scheduling profile assign here as per OPKP to your production scheduler for your plant.
    Production order have Order category as 10  Process Order  40 in standard SAP you can check this in OPJH.
    Best Regards,
    R.Brahmankar

Maybe you are looking for

  • Need logic in abap-hr

    Hi I have a requirement that employee can display,edit,view and confirm his personel data i.e first name,last name.dob etc. Requirement is: need 4 tabs :1 for display data,1 for edit, 1 for review and 1 for confirm. here using bapis for getting data

  • Is it possible to configure NLB clustering in Active/Active mode.

    Hello Guys, Just wanted to know If I can manually configure my NLB cluster to work in ACTIVE/ACTIVE mode as we can do for Microsoft fail over clustering. Thanks & Regards Amit Pal Singh

  • Many Problems with Ipod! Need Help =[

    Ey um there has been lots of issues with my Ipod!! (5th gen 30gigs) Conditions: -Ipod skips songs when playing(the songs arn't corrupted) -Ipod freezes occasionally when viewing photos or playing music -Ipod at times wont show on itunes 7 -When Ipod

  • Problem Adding IDS in VMS 2.2

    i am trying to add the IDS 4215 and IDSM module which is giving me the following error. This sensor is version 4.1(4)S119 which is not known to the system. Install a Signature update to the system and retry the procedure which i have followed is 1. I

  • QOS basics

    I am kind of new to QoS, purposefully avoiding it as long as possible. I have read the design guides and have a few questions. 1. Is one way QoS a good thing? Or should it be bidirectional?   example: I am marking traffic between two hosts as AF21, t