Item Instance mandatory based on SR type

Dears,
I wanted to know if i can enforce a validation on the Service Request creation in TeleService to make the Item Instance mandatory or not based on the Service Request type.

Custom.pll or personalization?

Similar Messages

  • Disable the Item Availability Button based on Order type and Item category

    Hi ,
    My requirement is to disable the Item availability check button in VA01 based on the Order Type & Item category. Is there any user Exits/ Badi / FM available for this.
    Thanks in advance.
    Srinivas.

    Hi,
    Although it is an old post I need to answer for people who search an answer to the same type of question. To hide a field
    you can use transaction variant 'tcode:SHD0'. But it is not based on Order type and Item category. May be you can use
    USEREXIT_FIELD_MODIFICATION form in user-exit MV45AFZZ. You can loop at screen and set screen-active = 0 in fields
    where you want them to be inactive.

  • Disable Item Availability Button based on Order Type and Item category

    Hi ,
    My requirement is to disable the Item availability check button in VA01 based on the Order Type & Item category. Is there any user Exits/ Badi / FM available for this.
    Thanks in advance.
    Srinivas.

    Hi ,
    the screen 4050 in program SAPMV45A controls this push button
    In screen 4050 goto ->  MODULE BUTTON_AUSWAHL. ->PERFORM BUTTON_AUSWAHL. ->  ENHANCEMENT-POINT BUTTON_AUSWAHL_10 SPOTS ES_SAPMV45A.
    write the code to hide the button in this enhancement point
    using the screen-name and screen-group2
    Hope it helps you solve your problem
    Reward if helpful
    Regards
    Byju

  • Make field in Material master mandatory based on the material group

    Hello all,
    I need to make the field "post to inspection flag" mandatory based on the material group while creating the Material master.
    I found options for making the field mandatory based on Material type,Industry sector and plant NOT based on the material group.
    Could anyone please provide suggestions on setting up the field as mandatory based on material group while creating material master
    Thanks,
    Sre

    Hi Sre,
    You can make Material Group field as Mandatory while Creating Material Master.
    SPRO>Log General>Material Master>Field Selection>Maintain Field Selection for Data Screens
    Select Screen # 48
    In the Field selection (Field Ref.) of (MARA - MAKTL) screen , Change the settings from Optional to Required Entry for T Codes MM01, MM02 or you can select the Material Type ;
    Please note this  by choosing this selection the fields of Profit Center and  Division will also become Mandatory.
    Hope this helps,
    Best regards
    Amit Bakshi

  • KR doc type posted without vendor line item a mandatory item category

    Hello Gurus,
    We have SPL document splitter activated in our ECC system. We have the business transaction variant 0300 / Z001 assigned to doc type KR. The vendor line is obligatory in the above business transaction variant (BTV). THe splitting rule is also assigned for this BTV.
    THe problem is that despite having the vendor as obligatory for this BTV, we are able to post the doc type KR (vendor invoice) without the vendor line item e.g.. doc with doc type KR and debit and credit to expense a/c.
    Please share your experience if anyone has come across this issue,
    Prakash

    Hi,
    To make the vendor line mandatory for KR document type, you can write the validation as below:-
    Step 1:-
    Create a message ID via transaction code SE91 for message class /EACC/MSG/ACC_COMP as you want to display to user.
    Step 2:-
    Go to transaction GGB0 and create the validation step at complete document level in Financial Accounting as below:-
    Pre Requisits:-
    BKPF-BLART = 'KR'.
    Check:-
    Create a exit code using user exit and check that line items have at least one vendor line item.
    For this take the help of ABAPer and create a copy of the program RGGBR000 and code your check here and assign to the application area GBLR in view V_T80D via transaction code SM30.
    Message:-
    Message created in step 1 as error message.
    Step 3:-
    Please also check that this validation has active status (Status=1) at line complete document level (level 3) for your company code in transaction OB28.
    Regards,
    Gaurav

  • Payments based on inventory type, item category...

    Hi,
    I am trying to develop a report to show unrecorded liabilities - basically, I need to find out if there are payments/accounting documents/invoice number existing in the system, that has no connecting documents in purchase or sales side. I am able to do this using REGUP/BSEG/VBAP/EKPO (and corresponding header) tables.
    I am stuck at one requirement though.
    "Segregate payments in to inventory, non-inventory, no-link categories based on product/service (item type/item category) or/and vendor type (inventory/non-inventory)."
    Can someone please tell me how to divide payments as mentioned above? Is it based on material type?
    Thanks in advance!

    If FI postings for inventory and non-inventory are posted to different G/L accounts then you should be able to filter that using HKONT field in BSEG. On the purchasing side, if G/L account number won't suffice then check if you can use cost element field KOSTL. On the sales side you should be able to filter this using PRCTR.
    If this approach cannot be used then you have to drill down to VBEP table and check if there is a movement type attached to this order item (for third party items, check for VBEP-LFREL = X). This will be accurate depending on how sales configuration was set up.
    On the purchasing side, use a combination Item category and Account assignment category in table EKPO to identify and segregate the totals.
    Raj
    PS: The first approach is the best approach and I hope that is how they have configured it in your system

  • Can we restrict the printing of PO Item text based on PO types?

    Dear Experts,
    We have a requirement related to printing of PO Item Text.
    We need to print a perticular Item text  only for a certaing PO type (ex:  NB only).
    How can we restrict the printing of PO Item text based on PO types?
    Please advise.
    Regards,
    Shashidhar

    Hi,
    In one of my earlier Projects we had a similar requirement and the Best solution we could give to our client was to Create New Output Type and asked our ABAPer to Delete/Deactivate the fields / texts which were not required  for PO printing and the User was asked to select the New Output type for Printing.
    Take help of a ABAPer to change the fields required for Printing  this new Output Type.
    Discuss with your client and see if it works.
    Best regards
    Amit Bakshi

  • Two IBR instances based on doc type.

    Hi, I've got two IBR instances (11g) on differents machines (one on Unix and the other on Windows), and they works fine with UCM. But what I want is that UCM choose the IBR in order to send documents, and the choice must be based on the de doc type. For example, if it's a MS Office file, I want this document to be sended to Windows IBR. In other case, documents goes to Unix IBR.
    Could this be possible to do?
    Thanks.

    Hi Sai,
    Documents can be viewed and controlled based on document types etc.While you search documents all documents will be displayed.
    If the user doesn't av the authorization for a particular document type when he tries to double click on document it shows an error message as  " No authorization for that document type".
    CV04N:Find documents is a std report where you cannot change it.
    Regards
    Bhanu

  • When new item instance + attribute value

    Hi,
    I'm trying to default context value based on trx_type
    Here are the details:
    Trigger Event: WHEN-NEW-ITEM-INSTANCE
    Trigger Object: TGW_HEADER.CTT_TYPE_NAME_MIR
    Condition: :TGW_HEADER.CTT_TYPE_NAME_MIR = 'XYZ'
    Processing Mode: Not in Enter-Query Mode
    Context Level: Site
    Select the Actions tab
    Actions Seq: 10
    Type: Property
    Language: All
    Object Type: Item
    Target Object: TGW_HEADER.ATTRIBUTE_CATEGORY
    Property Name: Value
    Value: ='ABC'
    But this personalization is not defaulting the attribute category value to 'ABC'.
    Can some one please help me on this...
    Thanks in advance!!!

    Hi,
    I'm trying to default context value based on trx_type
    Here are the details:
    Trigger Event: WHEN-NEW-ITEM-INSTANCE
    Trigger Object: TGW_HEADER.CTT_TYPE_NAME_MIR
    Condition: :TGW_HEADER.CTT_TYPE_NAME_MIR = 'XYZ'
    Processing Mode: Not in Enter-Query Mode
    Context Level: Site
    Select the Actions tab
    Actions Seq: 10
    Type: Property
    Language: All
    Object Type: Item
    Target Object: TGW_HEADER.ATTRIBUTE_CATEGORY
    Property Name: Value
    Value: ='ABC'
    But this personalization is not defaulting the attribute category value to 'ABC'.
    Can some one please help me on this...
    Thanks in advance!!!

  • Error M8-688 - Creation of several vendor line items is not possible for document type RN.

    Hello All,
    We are using the Net Invoice Posting with document type RN(Invoice- Net). We are generating different vendor line items in the accounting document based on the withholding tax codes involved in the invoice posting. When it comes to net invoice posting system is giving an error message M8-688 - Creation of vendor line items is not possible for document type RN. Is there is any way to create multiple vendor items with net invoice posting? Please suggest.
    Thanks,
    Chandu.

    I dont think that there is any way because it is a hardcoded error message.
          IF NOT t003-xnetb IS INITIAL.
            MESSAGE e688 WITH pi_rbkpv-blart.
          ENDIF.
    SAP is checking the customizing for net/gross posting per document type in table T003
    And if it is set up as net, then it is a hard error.

  • Make a item flexfield mandatory at running time

    Hi everybody,
    I am going to ask something that maybe is not very normal, but, my client really want it.
    I have a descriptive flexfield with several itmes. We want to make one ot these items mandatory at running time based on one condition but in the flexfield definition this item is not mandatory.
    We hava tried by personalization but is not possible.
    Thank you very much,.

    Duplicate post, possible solution on this thread:
    Make a item flexfield mandatory at running time
    Regards,
    Gareth

  • Creating a new work item instance in a process using PAPI

    I'm seeing that there are a lot of questions on this forum about using Oracle BPM 10g's Java API called PAPI.
    I just uploaded a step by step document on how you could do this using JDeveloper 11. Here's the link to this document: http://www.4shared.com/file/126507332/e814a3a8/CallingPapi.html. The Oracle BPM project I used for this step-by-step document is also in this zip file. If you're curious, this also describes how to download, install and start JDeveloper 11.
    This is not formal Oracle documentation, but I know from teaching our Oracle BPM Bootcamp class that getting PAPI to work is sometimes a challenge and thought this might help. I tried to write it with the "Java Newbie" in mind so do not panic if you aren't an expert in Java (I'm sure not ?:| ).
    This is a simple example that uses most of the logic found in the PAPI documentation on http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/papi/index.html?t=modules/papi/c_Head_PAPI.html in the "Writing Your First Java PAPI Program" section of this document.
    The document provides a step-by-step description on how how to use PAPI to:
    <li> interface to processes running on an Oracle BPM Enterprise Engine using the same logic that is in the Oracle BPM PAPI documentation
    <li> interface to processes running on an Oracle BPM Studio Engine
    <li> list processes currently running on the Engine using the same logic that is in the Oracle BPM PAPI documentation
    <li> list the work item instances running on the Engine using the same logic that is in the Oracle BPM PAPI documentation
    <li> create a new work item instance in a process and pass in input argument variables to the new instance as it is created.
    Hope you find this useful,
    Dan

    Hi
    i have gone through your example. It gives good information how to connect to BPM engine through java papi client. I have followed exactly the same steps given in the PDF document. But it throws the exception on both java client side and BPM Suite.
    Steps followed :
    1. Import sampleproject.exp into Oracle BPM studio and start the BPM engine.
    2. Imported the fuegopapi-client.jar and Write the JAVA PIPA client to connect Oracle BPM Engine.
    complete example code:_
    import fuego.papi.CommunicationException;
    import fuego.papi.InstanceInfo;
    import fuego.papi.ProcessService;
    import fuego.papi.ProcessServiceSession;
    import fuego.papi.OperationException;
    import java.util.Properties;
    public class ProcessAPIClient {
         public static void main(String[] args) {
    /////////////////// API Initialization ///////////////////
    Properties configuration = new Properties();
    configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
    configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "directory.xml");
    configuration.setProperty(ProcessService.PROJECT_PATH, "C:\\Oracle\\OracleBPMWorkspace\\SampleProject" );
    configuration.setProperty(ProcessService.WORKING_FOLDER, "/tmp");
    try {
    ProcessService processService = ProcessService.create(configuration);
    /////////////////// Establish a session ///////////////////
    ProcessServiceSession session = processService.createSession("test", "test", null);
    /////////////////// Operate with PAPI ///////////////////
    for (String processId : session.processesGetIds()) {
    System.out.println("\n Process: " + processId);
    for (InstanceInfo instance : session.processGetInstances(processId)) {
    System.out.println(" -> " + instance.getId());
    /////////////////// Close the session ///////////////////
    session.close();
    /////////////////// Release API Resources ///////////////////
    processService.close();
    } catch (CommunicationException e) {
    System.out.println("Could not connect to Directory Service");
    e.printStackTrace();
    } catch (OperationException e) {
    System.out.println("Could not perform the requested operation");
    e.printStackTrace();
    It throws the following exception and output on java client._
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Creating ProcessService with id 'SampleProject'.
    Local folder /tmp\system\Schema33871921573571055\catalogs found.
    Loading catalogs from local folder: /tmp\system\Schema33871921573571055\catalogs
    0 jars found locally.
    [CatalogMgrCache] =======================
    Registering CatalogMgr [SampleProject] ...CatalogManagerCache 23240993:
    Managers:
    Counters:
    [CatalogMgrCache] =======================
    CatalogMgr [SampleProject] REGISTERED!CatalogManagerCache 23240993:
    Managers:
    {SampleProject=fuego.util.LocalCatalogManager@40b187}
    Counters:
    ProcessService 'SampleProject' created successfully.
    Process: /SampleProcess#Default-1.0
    Unreachable Engine Tolerance (seconds):
    by default: 0
    to be used: 0
    This papi client will not cache exceptions which imply that an engine could not be reached.
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/jms/MessageEOFException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at $Proxy24.<clinit>(Unknown Source)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at fuego.papi.impl.AbstractProcessControlHandler.newProxyInstance(AbstractProcessControlHandler.java:52)
         at fuego.papi.impl.rmi.RMIProcessControlHandler.createProxy(RMIProcessControlHandler.java:47)
         at fuego.papi.impl.rmi.RMIEngineAccessImpl.createProcessControl(RMIEngineAccessImpl.java:111)
         at fuego.papi.impl.ProcessServiceImpl.createProcessControl(ProcessServiceImpl.java:1082)
         at fuego.papi.impl.ProcessServiceSessionImpl$1.run(ProcessServiceSessionImpl.java:2698)
         at fuego.papi.impl.ProcessServiceImpl.executeEngineOp(ProcessServiceImpl.java:1675)
         at fuego.papi.impl.ProcessServiceSessionImpl.getProcessControl(ProcessServiceSessionImpl.java:2703)
         at fuego.papi.impl.ProcessServiceSessionImpl.processGetInstances(ProcessServiceSessionImpl.java:2365)
         at com.eds.comet.bpm.oracle.papi.client.ProcessAPIClient.main(ProcessAPIClient.java:30)
    Caused by: java.lang.ClassNotFoundException: javax.jms.MessageEOFException
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         ... 16 more
    It throws the following exception and output on Oracle BPM Suite._
    Client 'Id=test, Name=test, In=1, Session=564242434' was not found in lists ', PARTICIPANTS' while disconnecting it.
    Please help me to resolve this. I noticed it is able to connect BPM engine and retrieve process list. But while getting instances, it throws the exceptions on both Java Client and BPM engine side.
    Thanks and Regards
    Mahesh

  • BADI for Disabling NetPrice field in ME21N & ME22N based of Material Type.

    Hi.
    I had a requirement to disable "net price" field while creating or changing a PO (ME21N & ME22N) based on the type of material entered.
    Please asssit me in finding the BADI or exit name which can meet my requirement. Thanks.

    Hi Ranga nadh,
       The BAdi what you have mentioned is correct.
    ME_PROCESS_PO_CUST - In this BAdi, we are having a method PROCESS_ITEM. These method is used to process all the Item data. As the field Netprice is at the level. You can use this method.
    Here inside this method we are having a parameter IM_ITEM
    So, You create a implementation and inside this method you can code here to appear the field in disable mode.
    Cheers,
    Swamy Kunche

  • New coverage line created when update item instance

    Hi,
    Does anyone know why when I'm performing update item instance (CSI_ITEM_INSTANCE_PUB.UPDATE_ITEM_INSTANCE) somehow it will create a new coverage/contract record?
    This item initially is like to a coverage/contract but after perform update item instance it somehow create a new coverage/contract which is identical in most of the column info.
    Could someone let me know why and how CSI_ITEM_INSTANCE_PUB.UPDATE_ITEM_INSTANCE would relate to creating coverage/contract ?
    Thanks

    Todd
    The issue seems to because this:
    x_instance_rec.inventory_item_id := ib_rec3.inventory_item_id;
    You are selecting the item id from your staging table. But the serial number in the csi_item_instances is associated with the instance is a different item id than ib_rec3.inventory_item_id. Hence this error. You cannot change the item in the IB once the instance is created.
    You have two choices: comment this out or change the inventory_item_id in staging table to match with the csi_item_instances.
    Also a lot depends on what is your serial number uniqueness. If you are using the same serial number for two different items (uniqueness with item_Id) you need to be careful which one you are picking (based on serial number).
    Thanks
    Nagamohan

  • Field Selection Based on Material Type

    Hello!!
    Can any one tell me how to make a single field mandatory in material master based on material type?
    I know we can use OMS9 to make it mandatory... the field i was looking is in a field selection group....when i make it mandatory i am actually making all the fields in the field selection group as mandatory...i dont want to do that...i just want to make only one field as mandatory.....
    If some one has any kind of training documents...could you please send it across?
    Thanks in advance.....

    Dear,
    Go through: http://help.sap.com/saphelp_45b/helpdata/en/08/6dec6eb435d1118b3f0060b03ca329/frameset.htm
    http://help.sap.com/saphelp_45b/helpdata/en/8e/204b6e5733d1118b3f0060b03ca329/frameset.htm
    Re: New Movement Type
    Define field in a particular movement type
    Regards,
    Syed Hussain.

Maybe you are looking for