Adding new object names in Incompleteness Procedure

Hi All.
This is with regard to the Incompleteness Procedure.
Our requirement is to make a certain field in the transaction(requested end date) from Service Ticket mandatory. The system should give a warning/error message upon not finding this entry. I used the ICP to set up the fields for other requirements I have like, priority, description etc, for which the incompleteness works just fine.
But to set it for the date i mentioned above, I am not able to find a relevant object type for choosing the field name.
Is there a possibility to add object types to the list which appears upon using F4?
is there a possibility to know the object type/name that a particluar FIELD NAME belongs to from somewhere?
Kindly throw some light.
Regards,
Ashwin

else if(option.equals("item")){
                System.out.println("ItemPressed");
                String itemIdStr=request.getParameter("id");
               int itemId=Integer.parseInt(itemIdStr);
               ItemCollection list=new ItemCollection();
                list=(ItemCollection)session.getAttribute("Item");
                Item item=new Item();
                Item itS=new Item();
                System.out.println("getItem()");
                itS=item.getItem(itemId);
                System.out.println(itS.getItemName());
                System.out.println("session");
                list.addItem(itS);
                session.setAttribute("Item",list);     
                System.out.println("addedToSession");
           }Maybe it's too early in the morning here, but it looks to me like you have all of your variables declared in your execution path....
... if that is the case, then uh... ya, they are going to be reinitalized each pass and only have at most the last item in them from your work.

Similar Messages

  • Adding new object to vector in existing session

    Hi,
    I'm currently developing a website. In it, the user can click a button(name=option,value=item) and an item gets added to a list. At the end, the list is outputted. I am having difficulties though with my session.
    My session("Item") holds a collection,basically a vector. Every time the button is pressed, I want to add a new object (Item) to this vector(ItemCollection) but when I do it simply overrides it so the list is only ever outputting one item. Here is the code. I have traced through it with 'System.out.print' and it only gets to 'System.out.println("session");
    The getItem(), gets the item from the database and returns a object of type Item.
    This may seem like only a basic thing but I just cant see where it is going wrong.
    Thanks
    else if(option.equals("item")){
                       System.out.println("ItemPressed");
                       String itemIdStr=request.getParameter("id");
                   int itemId=Integer.parseInt(itemIdStr);
                      ItemCollection list=new ItemCollection();
                       list=(ItemCollection)session.getAttribute("Item");
                       Item item=new Item();
                       Item itS=new Item();
                       System.out.println("getItem()");
                       itS=item.getItem(itemId);
                       System.out.println(itS.getItemName());
                       System.out.println("session");
                       list.addItem(itS);
                       session.setAttribute("Item",list);     
                    System.out.println("addedToSession");
                  }

    else if(option.equals("item")){
                    System.out.println("ItemPressed");
                    String itemIdStr=request.getParameter("id");
                   int itemId=Integer.parseInt(itemIdStr);
                   ItemCollection list=new ItemCollection();
                    list=(ItemCollection)session.getAttribute("Item");
                    Item item=new Item();
                    Item itS=new Item();
                    System.out.println("getItem()");
                    itS=item.getItem(itemId);
                    System.out.println(itS.getItemName());
                    System.out.println("session");
                    list.addItem(itS);
                    session.setAttribute("Item",list);     
                    System.out.println("addedToSession");
               }Maybe it's too early in the morning here, but it looks to me like you have all of your variables declared in your execution path....
    ... if that is the case, then uh... ya, they are going to be reinitalized each pass and only have at most the last item in them from your work.

  • Adding new object TAB to DMS

    Hi, all
    I want add new new tab as my new object type. which is not available in standard set ie screens  class CV130 TC 'SE80'
    the new object requirment as per customer
    1] Routing
    2] Inspection Lot
    3] Plan Maintanence
    4] Clibration
    Give procedure how to customize these new objects, which r not available as std screens for dms object links.
    rgds
    Ben

    Hi Benaka,
    In standard SAP system you can link DIR to various other SAP Objects for that, in customization setting choose :
    Cross-application component->Document management->Control Data->Maintain Key fields.
    Following steps to be followed as per IMG activity documentation(click & follow the step).
    Regards,
    Seema Pilankar
    If it useful reward me the points.

  • Adding new object to 0FIGL_V10

    Hello All,
    I installed the standard data flow for  Virtual Infocube 0FIGL_V10 and the report was ok (about monthly result). After that I added a new object to the data flow (0AC_LEDGER). But now I don't have the same result in the report.
    Do I need to modify the function RS_BCT_FIGL_DATA_GET_VC10?
    Thanks

    Hello Chandran,
    The new object (0AC_LEDGER)  in the Update Rule from Infosource to ODS is direct assignation and overwrite. From ODS to Infocube is the same direct assignation.
    Thanks
    Jose

  • Infosource -adding new objects

    I enhanced the datasource 2lis_02_itm with some objects using abap code. I created the objects in BW and replicated the datasource. I added those objects to the info source.
    Now , I am not able to assign these objects in the info source, I do not see these objects in the list.
    Thanks

    Yes I activated the cube after adding the fields.Here's what I did exactly:
    1. Wrote the abap code for 5 key figures and marked them as "selection" in the datasource.
    2. Deleted the data source assignment (I had assigned it earlier)
    3. replicated the datasource
    4. Reassigned the datasource
    5. Added the kf's to the comm structure
    6. I see them in the transfer structure but unassigned
    7. I assigned these objects in the transfer structure manually
    8. activated the info source
    9. added the kf's to the cube
    10. activated the cube
    11. I do not see them in the update rules!!!!
    Thanks

  • Adding new objects at runtime

    hi, i'm wondering if i could have everything all set up(canvas3d,simpleuniverse,etc.) and i wanted to add to add a transformgroup to the BranchGroup, would everything update to show the new transformgroup?
    adn is a simepleuniverse like a virtualuniverse?

    i see on Canvas3d there's an update() meathod, do i use that?No, please don`t.
    The scengraph will update if you set the capability
    BranchGroup.ALLOW_CHILDREN_EXTEND
    before you add a new object
    You should update a scengraph from a Behavior. Please see
    You should read the javadoc for Behavior
    When the Java 3D behavior scheduler invokes a Behavior object's processStimulus method, that method may perform any computation it wishes. Usually, it will change its internal state and specify its new wakeup conditions. Most probably, it will manipulate scene graph elements. However, the behavior code can only change those aspects of a scene graph element permitted by the capabilities associated with that scene graph element. A scene graph's capabilities restrict behavioral manipulation to those manipulations explicitly allowed.
    The application must provide the Behavior object with references to those scene graph elements that the Behavior object will manipulate. The application provides those references as arguments to the behavior's constructor when it creates the Behavior object. Alternatively, the Behavior object itself can obtain access to the relevant scene graph elements either when Java 3D invokes its initialize method or each time Java 3D invokes its processStimulus method.
    Behavior methods have a very rigid structure. Java 3D assumes that they always run to completion (if needed, they can spawn threads). Each method's basic structure consists of the following:
    * Code to decode and extract references from the WakeupCondition enumeration that caused the object's awakening.
    * Code to perform the manipulations associated with the WakeupCondition
    * Code to establish this behavior's new WakeupCondition
    * A path to Exit (so that execution returns to the Java 3D behavior scheduler)
    regards

  • Issues when adding new objects

    A few questions regarding changes in Toplink from 2.5 to the current version.
    Say I had object A which contains a collection of Bs and a collection of Cs.
    Now when I want to save A and Bs and Cs to the database as an insert.
    Is the following code correct ?
    A a = new A();
    A cloneA = (A)uow.registerObject(a);
    Vector bCollectionClone = uow.registerAllObjects(new Vector(bCollection));
    Vector cCollectionClone = uow.registerAllObjects(new Vector(cCollection));
    uow.commit();
    This seemed to work in 2.5. According to the API java docs this should work even today.
    The reason I am asking is all of these -A, B and C are new objects. Should they be registered with registerNewObject();
    Is it incorrect to register a new object with cloning ?

    I forgot to add a couple of lines of code to that snippet
    A a = new A();
    A cloneA = (A)uow.registerObject(a);
    Vector bCollectionClone = uow.registerAllObjects(new Vector(bCollection));
    Vector cCollectionClone = uow.registerAllObjects(new Vector(cCollection));
    cloneA.setBCollection(bCollectionClone);
    cloneA.setCCollection(cCollectionClone());
    uow.commit();
    A few questions regarding changes in Toplink from 2.5
    to the current version.
    Say I had object A which contains a collection of Bs
    and a collection of Cs.
    Now when I want to save A and Bs and Cs to the
    database as an insert.
    Is the following code correct ?
    A a = new A();
    A cloneA = (A)uow.registerObject(a);
    Vector bCollectionClone = uow.registerAllObjects(new
    Vector(bCollection));
    Vector cCollectionClone = uow.registerAllObjects(new
    Vector(cCollection));
    uow.commit();
    This seemed to work in 2.5. According to the API java
    docs this should work even today.
    The reason I am asking is all of these -A, B and C
    are new objects. Should they be registered with
    registerNewObject();
    Is it incorrect to register a new object with cloning

  • Adding new object type (field BKPF-AWKEY) for BAPI posting

    Hi everyone,
    I am posting to SAP GL using an input file to read the data and transfer it to BKPF and BSEG tables.
    The problem is I have to use BAPI_ACC_DOCUMENT_POST, and it expects values for OBJ_KEY and OBJ_TYPE.. For now, OBJ_TYPE creates a problem, because if I use BKPF, it says it cannot post using this object type, as it is for SAP internal use only.
    Does anyone know how to add a new object type for the customer namespace, which can be manually used for this kind of posting? I know that the new entry must be made in tables TTYP, TTYPT, and possibly TTYPV, for which the maintainence view exists: V_TTYPV.
    How to add an entry here, or where can I find it in customizing?
    All helpful answers will be awarded.
    Thank you very much
    Srdjan

    perform fill_internal_tables.
    if check_l = 'X'.
      call function 'BAPI_ACC_DOCUMENT_CHECK'
           destination dest
           exporting
                documentheader    = gd_documentheader
                customercpd       = gd_customercpd
                contractheader    = gd_fica_hd
           tables
                accountgl         = it_accountgl
                accountreceivable = it_accountreceivable
                accountpayable    = it_accountpayable
                accounttax        = it_accounttax
               currencyamount    = it_currencyamount
                criteria          = it_criteria
                valuefield        = it_valuefield
                extension1        = it_ext
                return            = it_return
                paymentcard       = it_paymentcard
                contractitem      = it_fica_it.
               extension2        = it_ext2
               realestate        = it_re.
      write: / 'Result of check lines:'.                        "#EC NOTEXT
      perform show_messages.
    endif.
    if check_a = 'X'.
      call function 'BAPI_ACC_DOCUMENT_CHECK'
        destination dest
        exporting
          documentheader    = gd_documentheader
          customercpd       = gd_customercpd
          contractheader    = gd_fica_hd
        tables
          accountgl         = it_accountgl
          accountreceivable = it_accountreceivable
          accountpayable    = it_accountpayable
          accounttax        = it_accounttax
          currencyamount    = it_currencyamount
          criteria          = it_criteria
          valuefield        = it_valuefield
          extension1        = it_ext
          return            = it_return
          paymentcard       = it_paymentcard
          contractitem      = it_fica_it.
         extension2        = it_ext2
         realestate        = it_re.
      write: / 'Result of check all:'.                          "#EC NOTEXT
      perform show_messages.
    endif.
    if post = 'X'.
      data: l_type like gd_documentheader-obj_type,
            l_key  like gd_documentheader-obj_key,
            l_sys  like gd_documentheader-obj_sys.
      if dest = space or
         dest = gd_documentheader-obj_sys.
       post synchron
        call function 'BAPI_ACC_DOCUMENT_POST'
          exporting
            documentheader    = gd_documentheader
            customercpd       = gd_customercpd
            contractheader    = gd_fica_hd
          importing
            obj_type          = l_type
            obj_key           = l_key
            obj_sys           = l_sys
          tables
            accountgl         = it_accountgl
            accountreceivable = it_accountreceivable
            accountpayable    = it_accountpayable
            accounttax        = it_accounttax
            currencyamount    = it_currencyamount
            criteria          = it_criteria
            valuefield        = it_valuefield
            extension1        = it_ext
            return            = it_return
            paymentcard       = it_paymentcard
            contractitem      = it_fica_it.
           extension2        = it_ext2
           realestate        = it_re.
        write: / 'Result of post:'.                             "#EC NOTEXT
        perform show_messages.
      else.
      create Idoc
        it_receivers-logsys = dest.
        append it_receivers.
        call function 'ALE_ACC_DOCUMENT_POST'
          exporting
            documentheader    = gd_documentheader
            customercpd       = gd_customercpd
            contractheader    = gd_fica_hd
          tables
            accountgl         = it_accountgl
            accountreceivable = it_accountreceivable
            accountpayable    = it_accountpayable
            accounttax        = it_accounttax
            currencyamount    = it_currencyamount
            criteria          = it_criteria
            valuefield        = it_valuefield
            extension1        = it_ext
            paymentcard       = it_paymentcard
            contractitem      = it_fica_it
           extension2        = it_ext2
           realestate        = it_re
            receivers         = it_receivers
          COMMUNICATION_DOCUMENTS =
          APPLICATION_OBJECTS     =
          exceptions
            error_creating_idocs    = 1
            others                  = 2  .
        if sy-subrc = 0.
          write: / 'IDoc created'.                              "#EC NOTEXT
        else.
          write: sy-msgid.
        endif.
      endif.
    endif.
    if rev_p = 'X' or rev_c = 'X'.
      data: rev like bapiacrev,
            rev_key like ref_key.
      rev_key       = ref_key.
      rev_key(1)    = 'R'.
      rev-obj_type  = gd_documentheader-obj_type.
      rev-obj_key   = rev_key.
      rev-obj_sys   = gd_documentheader-obj_sys.
      rev-obj_key_r = ref_key.
      if rev_c is initial.
        if dest = space or
           dest = gd_documentheader-obj_sys.
          call function 'BAPI_ACC_DOCUMENT_REV_POST'
            exporting
              reversal = rev
              bus_act  = gd_documentheader-bus_act
            tables
              return   = it_return.
        else.
          it_receivers-logsys = dest.
          append it_receivers.
          call function 'ALE_ACC_DOCUMENT_REV_POST'
            exporting
              reversal                      = rev
              busact                        = gd_documentheader-bus_act
            OBJ_TYPE                      = 'BUS6035'
            SERIAL_ID                     = '0'
            tables
              receivers                     = it_receivers
            COMMUNICATION_DOCUMENTS       =
            APPLICATION_OBJECTS           =
            exceptions
              error_creating_idocs          = 1
              others                        = 2
          if sy-subrc <> 0.
            message id sy-msgid type sy-msgty number sy-msgno
                    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          else.
            write: / 'IDoc created'.                            "#EC NOTEXT
          endif.
        endif.
      else.
        call function 'BAPI_ACC_DOCUMENT_REV_CHECK'
          exporting
            reversal = rev
            bus_act  = gd_documentheader-bus_act
          tables
            return   = it_return.
      endif.
      write: / 'Result of Reversal Posting:'.                   "#EC NOTEXT
      perform show_messages.
    endif.
    commit work.
    chk this
    Give points if useful

  • Incomplete Control Deliveries add new table-field for Incompleteness Proced

    Incompletion Control for Deliveries add a new table-field for Incompleteness Procedure G (Delivery header)
    Hello,
    I'm trying to add a new field for Incompleteness Procedure G (Delivery header), but  when I try to customize the procedure G with new fields, I donu2019t find the field that I need  ModeOfTrnsprt-Border (EIKP-EXPVZ).
    Foreign Trade/Customs tables are not included like an option for new entries in the customizing of Incompleteness Procedure G, and Iu2019ve to prevent that users save the outbound delivery without entry a valid value for  EIKP-EXPVZ (EIKP-EXPVZ= ModeOfTrnsprt-Border).
    Otherwise, when users are creating the SD Invoice there is an error for create the Accounting document because Foreign Trade/Customs information is incomplete.
    So Iu2019d like to know If is possible to add a new tables ( and fields)  to use in the customizing for Incompleteness Procedure for Outbound Deliveries (procedure G).
    Thanks!!
    Edited by: Ariana Serrano Aguila on Sep 2, 2010 5:19 PM

    Hello,
    I'm trying to add a new field for Incompleteness Procedure G (Delivery header)
    , but when I try to customize the procedure G with new fields, I donu2019t find the
    field that I need ModeOfTrnsprt-Border (EIKP-EXPVZ).
    See as far as the table is concerned, the basic reason why it is not getting populated as SAP stores the possible values at the domain level. So i think the right approach to add the table would be to get access key for the domain and then add the new table name at domain level. Please reach out for help from ABAPer in this matter.
    You can also use User exit to met this requirement and the appropriate user exit will be as below:
    1.MV50AFZL
    2. MV50AFZ1
    Regards,
    Sarthak

  • Adding new characteristics to cube with data

    Hi Gurus,
    i need to add some characteristics to a cube already in production, this cube is customized version of material stocks/movements cube (0ic_c03).
    i am looking for a way to add the new characteristics without having to do reinitialisation (opening stock,...), i am thinking about a loopback process but how do i manage to get the new characteristics populated for the historical data?
    Thank you.

    Hi,
    If you want to load historial data, you must take ECC down time and re-intialization is required.Becasue you are adding new object in Cube and for that you need to change the Update rules, then need to load historical data, so without down time and reinitialization it is not possible.
    Check like below.
    You have data in PSA, so try to delete data from Cube and then load from PSA. Because you may write code in Update rules on;y I think. So in that case, it may work.
    Thanks
    Reddy

  • Create directory / object name must NOT be case sensitive

    SQL Dev. 2.1 - the wizard, chosen from the left side navigator, submits a wrong create statement in which the object name becomes case-sensitive. This should not be so! Even if you write the new object name in small letters , the object name must end up in the data dictionary with capitals. kind regards Inger ([email protected])

    Which wizard? If I use a create table wizard, for example, and enter the table in lower case, this is indeed stored in the DB as upper case, as you require.
    Please provide more detail for your problem.
    Sue

  • String in object name

    hi, wondering if someone can help me,
    i have some script in which the object name will be created
    from a string and now i need to call another object within the
    object and not sure how to do it.. here is some code:
    u will see on the first line of the code an object is
    duplicated with a new name
    and on the last line i need to change the value of an object
    within that new object i duplicated.. no i am not show how to do it
    with it's new object name, at the moment i just tried pic+i
    u see on the 2nd line i am able to do it because i am able to
    put the object path within " ".
    hope it not to confusing.

    Accessing pic+i+.button will act as variable. You need to
    Evaluate this using either a Square Bracket or evaluate function,
    See the below Code using the " [ ] " for evaluation

  • Add new scan name

    Greetings to my fellows DBA .
    does any of you know (I now there is a way but not sure of it) to add another scan name and listeners (resolving to it's own ip address) in cluster 11.2. ?..
    I need it to simulate separation of environments .
    thanks
    S.

    Sahar wrote:
    a way to simulate two separate environments with different networksWhy? To achieve what? What is the network architecture? Why is routing not enabled and why does the cluster need to run on two distinct networks?
    What needs separation? At what level? Wire packet level? Application/database level?
    each scan hopefully will register with different listeners (ill have few databases on same cluster)SCAN means Single Client Access Name. Not mutiple names. It is a single hostname that resolves to one or more IP addresses - where these IP addresses are managed by the cluster as virtual IPs running "remote" listeners.
    A client does not directly connect to a SCAN IP for a database connection - it connects to a SCAN IP that redirects that client to the applicable cluster VIP (local) listener that can pass that connection to a dedicated server process, or a dispatcher process.
    So instead of presenting a half baked idea of "+adding new scan names+" as the solution to an unknown problem - how about defining the problem instead?

  • Added new parm to an existing SQL stored procedure CR 11 doesn't like it

    Hi
    I have added a new parameter to an existing SQL stored procedure (SQL 2000).  This stored procedure is currently being called from a Crystal XI report.  It prompts for a date which works great.  (The report was created with this parameter).  I added a new parameter to the stored procedure.  When I do a preview in Crystal, it prompts for the new parameter, but is NULL when I look at the SQL query and it brings back no data.  If I try to verify the database, it tells me that I am missing parameter @ProcessType (varchar(5))--(name of new parameter).  I have physically added this parameter to the crystal report with the select expert and still no luck.  I have already tried renaming the procedure but am unable to update datasource location because of this parameter.  The report is very detailed and I do NOT want to create a new report.

    Unfortunately, I have tried and retried to do this.  Nothing changes.  I usually would get a message like database has changed, proceeding to fix report.  I don't get this.  It merely tells me database is up to date and only returns the 1 parameter, yet when I go to the datasouce and try to update it, it tells me that I have not supplied the new parameter.
    I have tried everything, from closing Crystal reports and then going so far as to reboot my machine, just in case their was some kind of caching going on.
    I have even asked other people I work with to look at it to make sure I am not doing something dumb...

  • Setting the name of a new object from a string

    Is there anyway I can set the object name of a newly created
    object from a string?
    eg.
    (the code below generates a compile time error on the
    variable declaration)
    public function addText(newTxt:String, txt:String,
    format:TextFormat):void {
    var
    this[newTxt]:TextField = new TextField();
    this[newTxt].autoSize = TextFieldAutoSize.LEFT;
    this[newTxt].background = true;
    this[newTxt].border = true;
    this[newTxt].defaultTextFormat = format;
    this[newTxt].text = txt;
    addChild(this[newTxt]);
    called using>
    addText("mytxt", "test text", format);
    I could then reference the object later on without using
    array notation using mytxt.border = false; for example
    There are many a time when I want to set the name of a new
    object from a string.
    In this example I have a function that adds a new text object
    to a sprite.
    The problem is, if I call the function more than once then
    two textfield objects will exist, both with the same name. (either
    that or the old one will be overwritten).
    I need a way of setting the name of the textfield object from
    a string.
    using
    var this[newTxt]:TextField = new TextField()
    does not work, If I take the "var" keyword away it thinks it
    a property of the class not an object.
    resulting in >
    ReferenceError: Error #1056: Cannot create property newTxt on
    Box.
    There must be a way somehow to declare a variable that has
    the name that it will take represented in a string.
    Any help would be most welcome
    Thanks

    Using:
    var this[newTxt]:TextField = new TextField()
    is the right approach.
    You can either incrment an instance variable so that the name
    is unique:
    newTxt = "MyName" + _globalCounter;
    var this[newTxt]:TextField = new TextField();
    globalCounter ++;
    Or store the references in an array:
    _globalArray.push(new TextField());
    Tracy

Maybe you are looking for

  • Keychain problem with Chrome

    recently I noticed as soon as I login in Chrome browser that a pop up windows tells unable to login keychain to install chrome storage something like that it gives option to reset all keychain but doesn't work still stuck and I have to restart the sy

  • How to use existing form with UDO

    Hi I want to use Sales order form with a new UDO. Is it possible that one form work with More than one object. I want that when we click on User defined menu then same existing SAP form of Sales order will open with A new UDO( contains master and chi

  • FAQ on MM

    Hi All, Could you please give me some Interview question on MM Module(probably on Purchasing and Inventory) as i am attend some interview on next weekend it willhelp for me. reagrds, Raj [email protected]

  • New Computer and Now Everytime I Connect My iPhone It Says It Needs To Restore?

    I got a new lap top at Christmas and successfully transferred my music and pictures via USB from my old computer to a new computer.  I successfully synced my phone to my lap top (I can't remember if it went into restore mode the first time I connecte

  • Remote login through a web service

    Can you set up a login process in a CFC so it can be used remotely through a web service? I would like to have my members be able to have their clients login to a section of my web site through their own web site. Is there anyplace I can find an exam