Seek for solution of custom module autosize

hello everyone
i have a simple question but confused me seriously.
that is how to let the custom module autosize.
i don't wanna a blank area for big size moudule panel with
small size content.
i don't wanna a scroll bar inside the moudule or just cut-off
content neither.
suppose i have a 400x300 module that defined when i create
it.but the max area of its content is only 200x150. so,there would
be display a ugly blank area.and i hate that.
is there any solution to re-define the size of the module to
200x150?
autosize function? or defined a custom re-size function after
the "render" event?
i have no idea about how to do,help me plz,thanks

how are you loading your modules? using a moduleloader class
or MXML component? can you show us some code?
essentially when the ready event for the module is fired, you
can get the reference to loaded module and resize either the module
or the container.
there are certain containers, like e.g. view stack, that
could resize automatically for others you'll have to do it
manually.

Similar Messages

  • What will be input for custom module developed for JDBC adapter

    Hi,
    I have a scenario SQLDB -> Xi -> R3 .
    Here I have added a custom module before callsapadapter module.
    As I know the sequence of module calling will be as follows :
    1. Standard jdbc adapter
    2. custom module
    3. callsapadapter
    Standard jdbc adapter has a select query . After that what will be the input format for my custom module .Will it be the xml structure of my source Data type or will it be a resultset or will it be a inputstream(stream of xml fomat????).
    And then in which format i need to generate the output format for CallSapAdapter.
    Regards

    Hello Moni,
    SAP has a wonderful feature in ABAP. There are some Runtime Errors that you can <i>catch</i>. This is somewhat similar to the Exception Handling procedure in Java / C++. So here's how you go about it....
    Sometimes there might some calculations that we do, multiplication , for example, where the result of the arithmetic operation is known only at run-time. And the recepient for this result may not always be of the right type to take the result. Consider the following code:
    parameters a type i obligatory.
    data : b type i,
           c type i.
    b = 99999999.
    ** Assume that the user has entered 99999999 for the value of the parameter a.
    c = a * b.    " 99999999 * 99999999 "
    write c.
    This program will certainly give a short dump saying that there was an arithmetic overflow. But we can actually avoid this Shor Dump and handle the situation quite elegantly. consider the following.
    parameters a type i obligatory.
    data : b type i,
           c type i.
    b = 99999999.
    CATCH SYSTEM-EXCEPTIONS ARITHMETIC_ERRORS = 1.
    ** Assume that the user has entered 99999999 for the value of the parameter a.
       c = a * b.    " 99999999 * 99999999 "
    ENDCATCH.
    if sy-subrc ne 0.
      write: 'There was an arithmetic overflow in the calculation.'
    else.
      write c.
    endif.
    This way you can actually avoid the short dump and make the system set a value for sy-subrc. Based on the avlue of the sy-subrc, you can go ahead with further processing / error-handling, as the case may be.
    Here, ARITHMETIC_EXCEPTIONS is called an <i>exception group</i>. For more information on what other run-time errors can be <i>caught</i>, and What the various exception groups contain, please refer to the online documentation for the CATCH statement.
    Regards,
    Anand Mandalika.

  • How to collect debug logs for custom module only in EBS by AppsLog.write?

    Hi,
    Customer is trying to retrieve logs for their custom module (XXKCZ) and
    put it to /log/kcz.log by using AppsLog.write() method. (refer to sample code below)
    Customer has set these profile values in the application level and removed the values
    in the site level. But the file /log/kcz.log is created but does not have any lines in it.
    Is there something wrong to the coding of AppsLog.write?
    Application Name "xxkcz"
     FND: Debug Log Enabled "Y"
     FND: Debug Log Module "xxkcz%"
     FND: Debug Log Level "UNEXPECTED"
     FND: Debug Log Filename "/log/kcz.log"
     ---- [Sample Code starts] ----
     Package jp.kaikei.oracle.apps.xxkcz.util.server;
     import oracle.apps.fnd.common.AppsContext;
     import oracle.apps.fnd.common.AppsLog;
     import oracle.apps.fnd.common.Log;
     public class CommonLog{
     public void initLog() {
     AppsContext appsCtx = new AppsContext();
     AppsLog appsLog = appsCtx.getAppsLog();
     appShortname = "xxkcz"
     message ="Message started"
     CLASS_NAME = "jp.kaikei.oracle.apps.xxkcz.util.server.CommonLog";
     String moduleName = appShortName + "." + CLASS_NAME + ".initlLog;
     appsLog.write(moduleName, message, Log.UNEXPECTED)
     ---- [Sample Code ends] ----
    Any advise?
    Thanks.

    May be some initialization is missing,
    I have created my own writetoFile method,
    if you want you can try this,
    * Method to write the debug messages into a File
    public void writeFile(String debugMsg, String userName)
    String logDir = (String)this.getOADBTransaction().getProfile("XXPO_OA_PDT_PDT_DEBUG_DIR");
    BufferedWriter out;
    //DateFormat dateFormat = new SimpleDateFormat("dd-MM-yyyy HH:mm:ss");
    Date date = new Date();
    // if(logDir ==null)
    // logDir = "/ebsgld/ebsgldcomn/temp/";
    String fileName = logDir+userName+"-pdt_log.log";
    //createDiag(XXPO_APP_SHORT_NAME,"[AM]fileName "+fileName);
    try
    out = new BufferedWriter(new FileWriter(fileName,true));
    out.write("\n\n" + debugMsg);
    out.close();
    } catch (IOException e)
    //System.out.println("exception in Writing the log file "+e.toString());
    //createDiag(XXPO_APP_SHORT_NAME,"[AM] Exception in Writing the log file "+e.toString());
    //Only start and end file
    if(debugMsg.indexOf("##########")!=-1)
    String impFileName = logDir+userName+"-pdt_imp_log.log";
    // System.out.println("File Name is "+fileName);
    try
    out = new BufferedWriter(new FileWriter(impFileName,true));
    out.write("\n\n" + debugMsg);
    out.close();
    } catch (IOException e)
    createDiag(XXPO_APP_SHORT_NAME,"[AM] exception in Writing the log imp file "+e.toString());
    With regards,
    Kali.
    OSSI.

  • FND_PRODUCT_INSTALLATIONS TEMPORARY_TABLESPACE IS NULL FOR CUSTOM MODULE

    We have 11.5.10 ERP system for production use. But FND_PRODUCT_INSTALLATIONS TEMPORARY_TABLESPACE IS NULL FOR CUSTOM MODULE. All seeded modules are using TEMP.
    What are the ramifications for this.
    We have 'Change control' process in place. We can not update the table on fly. We need proper justification.
    Please help me understand, how this table drives Oracle applications and its performance.
    Thanks you all. in advance.
    Gopala Medapuram

    I agree with Hussein - we have several custom schemas that are registered in FND_PRODUCT_INSTALLATIONS, some of which have the tablespace info correctly filled out while others do not. All of our customizations in all these custom schemas are working as expected. So if your customizations are working as expected, I would not worry too much about it.
    HTH
    Srini

  • Custom module templates for Web Apps

    Just wanting to see if there's anyone out there who knows if the custom module templates from the September release are available for Web Apps?  I can't seem to get them to work.
    When placing {module_webapps,8168,a template=”/custom/wap-contract.tpl”} I get a "No Items Found" response. I would appreciate help as this would be very useful in building Web Apps and I can't find documentation on it
    Thanks

    They do work with Web Apps, I've been able to use it successfully. Here is the only documentation I can find on it so far:
    http://helpx.adobe.com/business-catalyst/partner/using-custom-templates-modules.html
    Curious though, when  you get "No items found" that means there are no web app items to show. So we don't really know if your custom template worked or not. If you can get some items to show up and they use the default layout, then we know something is wrong.
    Hope this helps,
    Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7

  • Query for non turn customer report in service module(Add-on)

    Hi,
    I want create  query for non turn customer report, that mean the customer who are not come for  last 6 months to our service workshop in service module(Add-on). this is a scenario. 
      SELECT T1.U_CardDate, T1.U_JCardNo,T1.U_TypeSrv,T2.U_VehReg,T2.U_PurchDt, T2.U_VehDesc, T2.U_VehModel, T1.U_KmsRead,   T1.U_BPCode, T0.CardName, T0.AddrType , T0.Building,T0.Block, T0.Address,T0.City,T0.ZipCode, T0.State1,T0.MailBuildi,T0.MailBlock, T0.MailAddres, T0.MailZipCod, T0.MailCity, T0.State2 ,T0.MailAddrTy,  T0.Phone1, T0.Phone2, T0.Cellular FROM [dbo].[OCRD]  T0 INNER JOIN [dbo].[@ALD_JOBCARD]  T1 ON T0.CardCode = T1.U_BPCode INNER JOIN  [dbo].[@ALD_VEHMAST]  T2 ON T1.U_BPCode = T2.U_BPCode WHERE T1.U_CardDate BETWEEN [%0] AND [%1] ORDER BY T1.U_CardDate.
    this query is get all  customer data who are not come to service workshop for last 6 month. i want to filter data who are not come last 6 months this year. kindly assist me
    thank you.

    Check this:
    SELECT Max(T1.U_CardDate) 'Lase Serve Date', T1.U_JCardNo,T1.U_TypeSrv,T2.U_VehReg,Max(T2.U_PurchDt) 'Last Purchase', T2.U_VehDesc, T2.U_VehModel, T1.U_KmsRead, T1.U_BPCode, T0.CardName, T0.AddrType, T0.Building,T0.Block, T0.Address,T0.City,T0.ZipCode, T0.State1,T0.MailBuildi,T0.MailBlock, T0.MailAddres, T0.MailZipCod, T0.MailCity, T0.State2 ,T0.MailAddrTy, T0.Phone1, T0.Phone2, T0.Cellular
    FROM [dbo].[OCRD] T0
    INNER JOIN [dbo].[@ALD_JOBCARD] T1 ON T0.CardCode = T1.U_BPCode
    INNER JOIN [dbo].[@ALD_VEHMAST] T2 ON T1.U_BPCode = T2.U_BPCode
    WHERE T1.U_BPCode NOT IN
    (SELECT DISTINCT U_BPCode FROM dbo.[@ALD_JOBCARD] WHERE DateDiff(DD,U_CardDate,GetDate()) < 183)
    Group By T1.U_JCardNo,T1.U_TypeSrv,T2.U_VehReg,T2.U_VehDesc, T2.U_VehModel, T1.U_KmsRead, T1.U_BPCode, T0.CardName, T0.AddrType, T0.Building,T0.Block, T0.Address,T0.City,T0.ZipCode, T0.State1,T0.MailBuildi,T0.MailBlock, T0.MailAddres, T0.MailZipCod, T0.MailCity, T0.State2 ,T0.MailAddrTy, T0.Phone1, T0.Phone2, T0.Cellular
    ORDER BY T1.U_CardDate

  • Seeking for Best Solutions to move code from Dev to Test: 11.1.1.3

    Seeking for Best Solutions to move code from Development to Test server: Studio Edition Version 11.1.1.3.0
    Development: Hostname: dev; Web logic server: WLSDev; Database: DBDev
    Testing: Hostname: test; Web logic server: WLSTest; Database: DBTest
    Now how do we take code from Development environment to Test environment? Once code is taken from development, testing team can't touch it.

    Lalitk,
    The obvious answer is just deploying the same EAR in test that you deployed to production?
    What other aspects do you need to deploy? If you have database code/data that needed to be migrated as well, I would copy the production DB to test and then apply all of your DB upgrade/patch scripts against that - in that way you can ensure your upgrade/patch scripts get tested as well.
    Are there other things you need to migrate (MDS repositories, security setups, etc)?
    John

  • Seeking product information for a Scarab SDRAM Module; P/N: 185422D-01

    Seeking general product information for a Scarab SDRAM Module; Part Numnber: 185422D-01.  I cannot seem to find any information on this SDRAM module anywhere.  It was a RAM card pulled off another NI board.  Thank you.

    Hello Isidore,
    I can answer questions 3 and 4, as I have that sort of setup.
    3.) No, you don't really need an SSD, but I would certainly recommend that you buy one.  You'll notice a huge difference in the amount of time it takes to boot.  I bought the OCZ Vertex 3 (120GB) a while back, and it's very fast.  Whether or not you should get one just depends on whether the speed is worth it to you, but if I were you, I would.
    As for the size, that depends on exactly what you'll use it for.  See number 4 below.
    4.) Yes, that's my setup.  The SSD is my primary drive, and my HDD is for everything else.  Here's basically how I have everything setup:
    When I finish a day of shooting, I copy all my footage into a special folder (I named it "IMPORT" since I use it often) on my SSD.  I do this because the clips load much faster in Prelude and Premiere Pro.  Then, after I finish and export the project, I move all the original files onto my HDD.  I would still do this even I had a larger SSD, because it's always good to keep your primary drives clean.
    I also set the render and cache directories to those that I create on my HDD, because for longer projects, my SSD would fill up quickly, so that's why you may want to consider buying a larger SSD (even though 128GB would probably work just fine).
    I hope this helped a little!
    ~Josh

  • JNDI registration for custom module

    Hello,
    I have deployed my module with NWDI(NWDS 7.11). but it is not replecting in JNDI registry..and when I am executing this module the CC adapter goes into error with JNDI lookup not found...(becuz it is not present in the JNDI registry)..
    so how to register the custom module in the JNDI registry?
    any help will be appriciated...

    provide the jndi during your module development itself. when you deploy the module code the JNDI name gets automatically registered.
    ref: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa?overridelayout=true

  • How to create print document for payment to customer through cash journal

    Dear Sirs,
    I have a problem with print document from cash journal. I enter a payment to customer (when I turn the money to customer) and the system makes right posting, but when I try to print this point, system printing document for incom from customer. I'm using business transaction for customer posting in cash journal. I would like to know how I have to manage this posting - payment to customer, or incoming from vendor (returnes advances from emploee)?

    Hi,
    please check whether the two solutions below work:
    1. create a contract with milestone billing plan where there are only down payment billings, so that on the basis of the contract you can generate down payment requests and then relevant down payments, release the contract to a sales order which can then be delivered and billed, manually clear the billing document with the down payments
    2. from FI module, create down payment requests via t-code F-37 directly, and then down payment posting, generate sales order directly, and then deliver and bill, manually clear the billing document with the down payments

  • Triggering Workflow from Custom Module pool

    Hi,
    I am trying to trigger my workflow from my custom module pool using the function module "SAP_WAPI_START_WORKFLOW". I am passing the following parameters for the above function module
    TASK, LANGUAGE, DO_COMMIT, USER and INPUT_CONTAINER
    but, it is returning the following message
    "You are not one of the possible agents of task 'WS90100020'"
    Please suggest a solution for this problem?
    Regards
    Sujith P. Soman

    Hi,
    A better way would be to trigger your WF using an event and calling SAP_WAPI_CREATE_EVENT. But if you want to start it directly then if you are calling this FM in dialog you need to be a possible agent. The easiest is if you jsut make it a general task so anyone can start it.
    In PFTC, open your WF goto Additional Data -> Agent assignment -> Maintain. Click on 'Attribnutes' and select 'General Task'.
    Also run SWU_OBUF afterwards to synch all buffers before testing your FM again.
    Cheers,
    Mike

  • Custom module pool + Amount field decimals display same as standard screen display

    Hi All,
    Requirement: A custom module program screen field has to be designed which displays decimal values of amount fields same as amount fields in standard screen.
    Standard screen behavior: If the standard screen fields are observed, they refer to data elements WRBTR or AZSOL_F05A (transactions FB50/FB03/FB01). However, number of decimal places that are visible on screen are dependent on the currency that is provided.
    Both the data elements have 2 decimal places.
    For currency USD two decimal places are displayed - in TCURX - decimal places are two.
    For currency JPY or CLP - zero decimal places are displayed  - in TCURX - decimal places are zero.
    i.e., even though the screen field refers to data element or domain that has the characteristic to show 2 decimal places, based on currency, decimal places are adjusted.
    I would like to know how this is happening on standard screen fields.
    Solution Required for: How to make the custom screen amounts to display same number of decimal places as standard screen amount fields.
    P.S: Before posting the query here, research has been done in SDN and other places. It has been identified that quantity fields adjustments are discussed. However for amount field even though discussed earlier, did not reach a conclusion.
    I would like to get a solution for this one.
    Thanks in advance.
    Goutham.

    Thank you all for taking time to take a look at this query.
    This issue has been resolved.
    Resolution: If the standard transactions (FI transactions in specific) are observed, whenever there is a field that displays amount value, there will be a corresponding field (may not be beside the amount field, somewhere on the screen or in the same sequence of screens) where the currency key value would be entered.
    For instance, if you look at FB50 - there is field on top for the user to input currency key value (like USD or CLP or INR).
    When any amount field is declared - this currency key field is provided as the reference field in the screen attributes of the amount field.
    In short, in the custom module pool program, provide a field that holds currency key value and use this field as reference field for the amount fields.
    Do repond to this thread if the resolution is not clear.
    Thank you all once again.
    Goutham.

  • Querying up AR Customer OA page in read-only mode for a Single Customer

    We are building a Custom Form in which associated Customer <defined in AR> would be queried up.
    Now we want to give an option to the User to view the complete details of the Customer. We would be giving a menu option in Tools 'View Customer' thru which he would see the Full Customer Details. <AR Customer OA page>
    We have two requirements
    1> The Full Customer Details should show up in Standard OA Customer Page the moment page comes up. The user should not be required to query the details.
    2> It should be read-only and user should not be able to update any field.
    How can we achieve this requirement? I did some RnD but did not see any place in EBS where we display the Customer Page in read-only mode and that too quried up for one particular customer.
    Thanks
    Arun

    Hi Arun,
    Please let me know if find any solution for this. We have a similar scenario in which we need to call the customer Page with all the inforamtion populated, related to one customer.
    Thanks in advance,
    Mannuru

  • Count no. of records for a particular customer in the query?

    Hi,
    1)Can anybody guide as to how do we count the number of records for a particular customer. E.g.
    C1 has placed 2 orders
    C2 has placed 4 orders
    C3 has placed 5 orders
    so in all the ODS has 11 records. Now while designing the query we need to ensure that we show only the Customers who have placed more than 3 orders. What could be logic to solve this kind of a problem?
    2) Is there a way that we can access the structure and data of the ODS in ABAP code say one of the includes in a user exit?
    The requirement says there could be N number of cases opened and closed in one month. Now we need to calculate the average number of days taken to close a case? Any ideas on the possible solution.
    Thanks
    RB

    Hi Rajat,
      Take a calculated key figure rename it as Count , go to the properties of that calculated key figure on the left hand side not at the columns side in the properties click on the button Enhance which is shown in the down left side, in the exception aggregation part select "count all values <>0" , take the reference character as customer Id . Now go to the Customer character which is in rows go to properties and select  "Normalise to" combo box  in that select "Query result" now u will get the exact result which ur looking for .

  • How to create a sales order for one-time customer

    Hi all,
    I have a requirement where in creating a sales order, I have to add the tax code for one-time customer. This is not the tax jurisdiction but it is a text field that you can see in Further attributes and it will store in VBPA3 table.
    My plan was create sales order first using SD_SALESDOCUMENT_CREATE or BAPI_SALESORDER_CREATEFROMDAT2. Then I used BDC of va02 for changing the salesdoc. But the problem is, we can't proceed because there's a message "TAX HAVE REDETERMINED"  that it doesn't included in recording a transaction.
    Another one is, instead of calling the standard bapi, I used BDC for VA01. Again, upon recording there was anothe message popped up "FREIGHT REDETERMINED". And it's not in the recording so we can't proceed.
    Would you know what field is for the tax code when I use SD_SALESDOCUMENT_CREATE or any standard bapi? Is there other way aside from calling a standard bapi or bdc?
    Points will be given..Thanks!

    Good afternoon Bella,
    We are in a project that exactly need this solution. Could yoy please explain me how you solve the issue ?
    Kind regards

Maybe you are looking for

  • Caller id not working after upgrade to IOS 8.

    I have an iPhone 5 which I upgraded to IOS 8.  After the upgrade the caller id does not shows the person's name (which I have on my Contacts) on the screen.  Now I installed IOS 8.1.1 but the problem persists.  This happens also on an iPhone 5S from

  • ABAP Dictionary type FLTP is not allowed for screen element

    Hi Experts I tried to open VBFA in se16 and i got the message in the status bar like this , what does it mean. please explain. "ABAP Dictionary type FLTP is not allowed for screen element"

  • Chinese Characters in JFrame Titlebar

    Hi, we have created a application, mainly intended for chinese users. Based on the user's choice the application will start up with the appropriate resource bundle. However, while using the chinese resource bundle, everything is working perfectly, ex

  • Problems with FlashPlayer Update.

    Problems with FlashPlayer Update. after download, install begins, but when the progress bar ends a typical Windows error message displays showing : (literal translate from spanish): " is not found the enter point of procedure SetDIIDirectoryW into th

  • Quick check on SAP Lumira

    Hi, I am quite new and in Lumira. Last 5-6 month i have create some report and graph etc using lumira. What i have done is i have download it into my laptop and work on it. I connect to universe,database using sybase iq jdbc connectivity to create re