How to create an object like "Control Account" in JE? u5982u4F55u7F16u5199u63A7u5236u79D1u76EEu63A7u4EF6

I want to create a user screen like Journal Entry. How could I create an object like "Control Account" in JE?
我想编写一个象u201C日记帐分录u201D那样的屏幕,但是不知道其中u201C控制科目u201D列的控件如何编。请教各位高手。谢谢
Edited by: An Ping Zhang on Sep 15, 2009 4:57 AM

Dear An Ping Zhang,
The "Control Account" column in JE is used ChooseFromList.
You could refer to SDK sample
SDK\Samples\COM UI\VB.NET\17.ChooseFromList.
BTW: you could post your question in Chinese into SAP Business One 中文论坛
/community [original link is broken]
Best Regards
Jane Jing
SAP Business One Forums team

Similar Messages

  • How to create an object like "G/L Account / Business Par" in JE?

    I want to create an object like "G/L Account / Business Par" in JE. Pressing "Tab" key, it pops up "G/L Account select list"; pressing "Ctrl + Tab" key, it pops up "Business Partner select list". How do I do? Thanks

    看起来这个帖子应该放在ERP论坛里,更容易收到解答

  • How to create individual view (like MRP,Accounting..)for existing material

    Hi,
    I have a scenario as below:
    Suppose I created a Material using MM01 txn only entering data in 2 views i.e Basic data1 and Basic data2.
    Now my workflow triggers. I have done this using 'Create' event of BUS1001006 Object type.
    Now i need to send workitems to all those who are responsible to create rest views  like MRP,Accounting,Work scheduling etc..Workitem will take them to MM01 txn with Material No. and user will select the view which he has authorization and will enter the relevent data and save.For this i have used  'CreateView' method of BOR BUS1001006 but its not working properly.
    I hope you could understand the scenario.If need more clarity then please revert.
    Can anybody tell the solution please.It will be very helpful to me.
    Regards,
    Madhu

    I am passing the object also..but its not helping.
    I think Parameter 'ViewListLine'  of method 'CreateView' is not passing properly.
    Can you please give any solution where to get this parameter value.
    Regards,
    Madhu
    Edited by: Madhusmita Acharya on Mar 10, 2010 10:06 AM

  • How to create a MenuButton-like control (skin)?

    Hi,
    I want to create a MenuButton-like control.
    But instead of popping up a ContextMenu, I want my own popup in that place. (I want the user to chose from a set of icons, which are displayed in a TilePane).
    Unfortunately I am stuck with the basic button skin.
    If I derive from MenuButton and override fire(), this method isn't called (unlike if I derive from Button).
    If I derive from Control and set a skin, I don't know, what to do, so that the skin looks like a MenuButton. If I derive the skin from MenuButton, I again don't get the ActionEvent.
    I also copied the style from class "button" from caspian.css and renamed it to my control name. It loads the skin, but e.g. the background-color is not applied.
    Any advise?

    Sure it can be done in AI, so what is actually your question?
    Mylenium

  • How to create an object for this Question...

    i want to create an object to Factorial.java, but the class is in String object... how can i do that
    please help me with code how to create an object
    String str = Factorial.java;
    i tried to do like this
    str s1 = new str();
    this way is not working...
    thank u

    yes sir am trying to instantiate and retrieve the metadata, am a student am asked to do Program Analyzer, while fullfilling the application requirements i came across this situation, like i have to find total number of public methods in any source file that is entered as input.
    Am taking the input in String variable, i can have the details of the source class only of i instantiate and create an Object to that....
    Please suggest me some way to do that... JAVA is so interesting am working on the project since 2 weeks am done with all other classes but struck here finding the total number of methods...
    Thank you

  • How to create an object alive all the time on a server side

    Hi,
    I work on an Intranet with J2EE technologies. I need an object to do several tasks in background on the server side. Like start scheduled processes on a database and files, stocked on the server. What is the way to do this. I thought to use the JNDI by declaring the object in the Deployement Descriptor, and to manage a timer within.
    I don't know if this works.
    Anyway, my question is how to create an object on the server that is ALIVE ALL THE TIME and visible by the other objects running in the same VM.
    Thank's.

    This may not be the correct design, but I had success doing the following:
    1. Create an Stateless EJB that does a task, i.e. update a database table.
    2. Create a subclass of java.util.TimerTask to call the EJB methods.
    3. Kick off the TimerTask from a servlet.init method.
    Seems to work pretty well to do scheduled tasks, such as refreshing lookup tables. I would imagine the same could be done with an MBean, but I haven't had time to fully understand JMX yet. (It's on the list).
    As for event driven procedures, that can be done through a servlet interface.
    You may also wish to review a scheduler here: http://www.part.net/quartz.html. Note, I have NOT even looked at it yet, so I have no clue if it's any good. But, it is on my list of tools to evaluate (that's a long list) someday when my head's above water. Have a look, and caveat emptor.
    Hope this helps,
    Perry Tew

  • How to create an object of a class?

    plz read the question carefully ..
    how to create the object of a class by giving the class name as an String
    suppose i have a java file name:" java1.java ".
    so now how to create an object of this class "java1"by passing a string "java1"..

    kajbj wrote:
    rajeev-usendi wrote:
    thanks but still i have problem..
    i have created the object but now i m unable to do anything with that created object..
    i have coded like this..
    Object o= Class.forName("java1").new Instance();
    after this i m unable to do anything with the object 'o'..So why did you create the instance? You can also get all methods using reflection, but that is probably not what you want to do. You should instead let the class implement an interface and cast the created object into that interface ans call the methods that you want to call.
    KajI agree with Kaj. If you need to use a class that's unavailable at compile time, you should create an appropriate interface by which to refer to the class and then you create instances reflectively and access them normally via their interface (which is called reflective instantiation with interface access)

  • How to create an object of inner class

    hi i don't know how to create an object of an inner class..
    i got something like
    class Abc{
    private class Abcd {
    like this and i want to create an object of Abcd so that i can use some of method
    there..
    i think i should create the outter class object first right? but not sure
    the syntax.. i tried something like
    Abc.Abcd justTry = new Abc.Abcd()
    something like this..but not work..
    help me plz. ...

    If the nested class (that's not technically an inner
    class you have there) is not static, then you can't
    refer to it with OuterClassName.InnerClassName any
    more than you can refer to any other member--method
    or variable--with ClassName.staticMember.
    You need an instance.
    It's been a while since I've created an instance of a
    non-static nested class from outside that clsas, but
    I think it's something like this: Outer outer = new Outer();
    outer.Inner inner = new outer.Inner();
    Actually, I think it is this:
      Outer outer = new Outer();
      outer.Inner inner = outer.new Inner();Can't test it now though, gotta go to Taco John's for TACO TUESDAY!!!!
    Gotta love them crunchy shell bean tacos!!!

  • How to create an object in LSMW

    Hi Gurus,
    How to create an Object in LSMW..
    In the step 1 "Maintain Object Attributes"
    Under heading ---Object Type and Import Method
    there is object ... normally we will get Sap standard object for the corresponding Transaction
    My Requirement is like i want to assign an ZBDC Program instead of Sap Standard program there....
    Please help me..
    Regards,
    Praveen.

    Hi Praveen,
    I think you want to upload data in some master tcode,so for these u need recording for particular tcode.
    So for these u need to select Batch Input Recording option inside very first step of Maintain Object Attributes.
    In that u need to put recording name in which u want to record tcode.
    Regards,
    vishal jain

  • How to create cost element in controlling

    how to create cost element in controlling for Direct meterail.
    i have to create for each materail or on rm consumption is enough
    please give me replay
    thanks

    Hi Nagaraju,
    First you create the required account as cost element through FS00 and select your gl account and edit cost element and give 1 in cost element category.
    Afterwards in OKB9 You create the cost element whether it is required for Bus Area mandatory, profit centre mandatory and Valuation area is mandatory.  Based on your selection you have to assign 1, 2 or 3.  Ex. You have selected for consumption account profit centre is mandatory.  You give 3.  and you have to assign the cost centre against profit centre.  Then automatically your consumption will post to the cost centre.
    BSR

  • How to create connection objects in the NTDS settings container of a DC with LDIFDE

    The following link shows some examples of how to automate creating subnets without having to use the sites and services console: http://codeidol.com/active-directory/active-directory/Site-Topology/Creating-a-Subnet/
    My question is how can use LDIFDE to create connection objects? We don't use the defaultipsitelink and are creating the connections manaully. How can I use LDIFDE to create connection objects like this? I have not been able to find any examples on the internet.
    Thanks for any replies.

    KCC does the job of creating connection object automatically reading site/subnet/sitelink info, so why you need to create manually.
    http://blogs.technet.com/b/markmoro/archive/2011/08/05/you-are-not-smarter-than-the-kcc.aspx
    Regards
    Awinish Vishwakarma
    MY BLOG:
     http://awinish.wordpress.com/
    This posting is provided AS-IS with no warranties/guarantees and confers no rights.

  • How to use  Business Object like Vendor or PurchasingInfo

    Hi,
    How to use Business Object ( like Vendor or PurchasingInfo ) from my Object?
    For example:
    CLASS myEntity DEFINITION.
              PUBLIC SECTION.
                   METHODS: getVendor EXPORTING pVendor TYPE Vendor.
               PRIVATE SECTION.
               DATA: aVendor TYPE REF TO Vendor.
    ENDCLASS.
    CLASS myEntity IMPLEMENTATION.
    METHOD getVendor
               pVendor = aVendor .
    ENDMETHOD.
    ENDCLASS

    Hi,
    I am giving u a demo Program for ur doubt.
    REPORT demo_class_counter .
    CLASS counter DEFINITION.
      PUBLIC SECTION.
        METHODS: set IMPORTING value(set_value) TYPE i,
                 increment,
                 get EXPORTING value(get_value) TYPE i.
      PRIVATE SECTION.
        DATA count TYPE i.
    ENDCLASS.
    CLASS counter IMPLEMENTATION.
      METHOD set.
        count = set_value.
      ENDMETHOD.
      METHOD increment.
        ADD 1 TO count.
      ENDMETHOD.
      METHOD get.
        get_value = count.
      ENDMETHOD.
    ENDCLASS.
    DATA number TYPE i VALUE 5.
    DATA cnt TYPE REF TO counter.
    START-OF-SELECTION.
      CREATE OBJECT cnt.
      CALL METHOD cnt->set EXPORTING set_value = number.
      DO 3 TIMES.
        CALL METHOD cnt->increment.
      ENDDO.
      CALL METHOD cnt->get IMPORTING get_value = number.
      WRITE number.
    For more demo programs type 'abapdocu' in the command field
    U will be getting some demo programs.
    There select the abap objects.
    Regards,
    Jagadish

  • How to create lock object?

    How to create lock object,- by going to se11 i have created but when i am going to sm12 to see wheather the table is locked or not then it is showing no entries found.
    Please help me how to create Lock object and see wheather thetable is lock is locked or not.
    Thnks in advance

    Hi venkateshwar,
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects.
    •     Read Lock(Shared Locked)
    protects read access to an object. The read lock allows other transactions read access but not write access to
    the locked area of the table
    •     Write Lock(exclusive lock)
    protects write access to an object. The write lock allows other transactions neither read nor write access to
    the locked area of the table.
    •     Enhanced write lock (exclusive lock without cumulating)
    works like a write lock except that the enhanced write lock also protects from further accesses from the
    same transaction.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    https://forums.sdn.sap.com/click.jspa?searchID=115258&messageID=2656474
    Do the following steps..
    GO TO SE11
    Select the radio button "Lock object"..
    Give the name starts with EZ or EY..
    Example: EYTEST
    Press Create button..
    Give the short description..
    Example: Lock object for table ZTABLE..
    In the tables tab..Give the table name..
    Example: ZTABLE
    Save and generate..
    Your lock object is now created..You can see the LOCK MODULES..
    In the menu ..GOTO -> LOCK MODULES..There you can see the ENQUEUE and DEQUEUE function
    <b>Reward points if this helps.
    Manish</b>

  • How to create a "Explorer" like in java

    i'm just wonderin if there's a way on how to create "Windows Explorer" like in Java wherein you can view all your directories with yellow folder icon and also you can view all your files and drives....
    And when you double click the yellow folder icon it will then expand and will show all the subfolders and files ...
    How????
    Thanks!

    Yes, there is a way. Look up JTree in the API.-can you post some code.... i cant figure out on how to use JTree...
    i'm still confused on where will i get the entire directories of my drives...
    thanks

  • How to create report image like artwork demo

    Dear Pakars
    How to create report image like artwork demo ?
    Thanks
    Imansyah

    Hello,
    Are you asking how to include images in a report? If so, take a look at the declarative blob support documentation -
    http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

Maybe you are looking for