How to track Entered info at ADF UI page in ApplicationModuleImp.java

Hi All,
I am working on one ADF Requirement ,where i ll be configuring DB multiple table(there ll be FK-relationship between all these tables) through ADF UI page.
requirement is:
I will be having ADF UI Page (I have my VO based on multiple EO's)
At runtime if i provide Details in UI page ,those data should go respective tables through single control. UI wont be having all the Columns, I will be tracking related columns through java method then i am updating the same to Other table.
I can track these values in managed Bean class by using Below Code
ViewObject vo = ADFUtils.findIterator("OeAttrMappingVO1Iterator").getViewObject();
vo.getCurrentRow().getAttribute("DeletedFlag");
But, I want to do same Logic In AMIml.Java
Can anyone suggest me, how i can track entered info in UI in my AMImpl.java ??? Because I hav some other logic which i can implement in AMImpl.java
thanks
Santosh

Hi,
look you directly have a control of UI entered data in your managed bean. then you just create a custom method in am impl with parameters. expose the same in client interface, then call the impl method from managed bean and paas the entered values as parameters.
see if this helps http://xmlandmore.blogspot.com/2011/05/invoking-application-module-custom.html
~Abhijit

Similar Messages

  • How to populate a table in the html page from the java script

    Hi all,
    I have doubt in populating a table in the html page. my application is as follows
    I have a html page in which i have a combo box and a table following the combo box.
    i have to populate the table depending on the item selected in the combo box.
    for this i am using javascript to get the value of combo box onClick
    then i have to call some function thru jsp to get the data and then i have to populate the table with thst into from java script
    how can i do this, i.e populating html table from java script
    Thanks in advance
    satya

    Hi Mihai,
    You can populate data in DO_INIT_CONTEXT method of ur impl class in your Z component.
    data:
    lv_struct_ref type ref to YOUR_STRUCTURE,
    lv_value_node type ref to cl_bsp_wd_value_node,
    lv_bo_coll type ref to if_bol_bo_col.
    Data: current type ref to if_bol_bo_property_access.
    data: dref type ref to data.
    data: lv_guid_h type crmt_object_guid.
    data: lt_attr type table of YOUR_STRUCTURE.
    data: ls_attr type YOUR_STRUCTURE.
    data: lr_entity type ref to cl_crm_bol_entity.
    create object lv_bo_coll type cl_crm_bol_bo_col.
    lt_attr is ur internal table.
    Loop at lt_attr into ls_attr.
      create data lv_struct_ref.
      create object lv_value_node
           exporting
                iv_data_ref = lv_struct_ref.
    call method lv_value_node->if_bol_bo_property_access~set_property
    exporting
    iv_attr_name = 'YOURFIELDNAME1'
    iv_value = ls_attr-firstname.
    call method lv_value_node->if_bol_bo_property_access~set_property
    exporting
    iv_attr_name = ' YOURFIELDNAME2'
    iv_value = ls_attr-lastname.
    lv_bo_coll->add( lv_value_node ).
    typed_context->YOURCONTEXTNODE->set_collection( lv_bo_coll ).
    endloop.
    Regards,
    Raghu

  • How to track despatch info ag. sales invoice(biiling doc) in SD module?

    Hi,
    I want to keep Despatch and Transportaion details , such as Despatch dt.,Transport vehicle no, Consignment no.,LR doc, POD  etc against sales invoice no genetated from SD . Is there any provision in SD module?
    Thanks.
    Regds.,
    Prasant

    Hello Prasnanta,
    I want to keep Despatch and Transportaion details , such as Despatch dt.,
    Transport vehicle no, Consignment no.,LR doc, POD etc against sales invoice
    no genetated from SD . Is there any provision in SD module?
    I am not very sure about the Standard process of setting up these details like Despatch dt, Transport Vehicle No, Consignment no.,LR doc, POD etc against sales invoice. But i think you can involve a ABAPer and develop a CUSTOM table which shall contain these information with respect to Billing document Number. Please try it out and let us know if your requirement can be met or not.
    Regards,
    SARTHAK

  • How to get source code of ADF demo page.

    I have used oracle ADF demo site for demo work related to graphs.
    I want to download the source code of this demo. I mean jspx file, backing bean and style classes.
    Is there any way I can download this source code?I believe there is no sense to use it without downloading it's code.
    I want to download "Area graph Animation" from below link:
    http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/graph/animation.jspx?_afrRedirect=2611981845492287
    Please help!
    Thanks,
    Jaykishan

    This does NOT have .JWS file as
    The demo WAR is a JDeveloper Project packaged into a WAR file.
    So creating a dummy application or open an existing application.
    Select 'File' ----> 'New' --> 'Projects' and select Project from WAR.
    Thanks,
    Navaneeth

  • How to track the users password at insert page??

    Hi all,
    I need to create an interface, which allow users to upload some medical sequences into databse, also I need to alow the sequences's own to modify their input , in case they mske some mistake. now I need to deal with the following conditions.
    1) Since the sequence's own need to take respone for their on sequence.
    2)The interface has field call author,
    3) before their do search edit or input , download , they need to log in the web set, any every one sure has their union password.
    SO is that possible for me to get the log in password and check usere A is A to
    avoid some one acciden or in poporse to use other s name to input or modify the sequence files in database .
    Thank you11

    hello tmary,
    hmm your problem seems to be a beginners problem?
    well there are two points to help u accomplish ur aim.
    1.the database tabel or users
    2. the users username (which should be a primary key in the table)
    now this is the flow.....
    when the user logs in using the web login page u will create u check 4 his username and password existence in the database table for users,if it exist you direct him to the welcome page where he will have options of editing ,downloading,uploading,e.t.c
    so when loading this page u put this authenticated username and password i the "session" object and make sure all ur pages are session enabled. now if thge user selects edit when loading the edit page u will use the user name in the session to get his correspondin record which will b from the database table of record in which the username should be foreignkey to now likewise u can do the same for the download ,upload,e.tc pages.
    hope this helps ok.
    please let me know if its not ok.
    jlord1

  • How to crate new user in adf security using jspx page

    how to crate new user in adf security using code in java file.plz help me this work will submited to day plz help me...

    sigh
    Search really would help and point you in the right direction. You'd find [url http://forums.oracle.com/forums/thread.jspa?messageID=4584464]this, for example.

  • How to simplify entering position selection in Info type 0001 ?

    How to simplify entering position selection in Info type 0001 ?
    HR admin needs to select vacant positions of org unit 1 or 2.
    While executing Hiring action, F4 shows all the root org units - around 20 or so...
    I want only the org 1 and org 2 for which the HR Admin can do the hiring.
    How to implement this?
    Do we have IMG Config for enforce this ?
    Is this to be done thru ABAP code or something?
    Would the authorization stuff will filter the authorize org units only?
    Please help me how to figure this out
    Thanks

    Hi Chris
    There can be a workaround to simplify the process of entering vacant positions from org unit 1 & 2 ONLY . Try this out-
    1. create an adhoc query (report output on vacant positions with their object ID and position text for org unit 1and 2)
    2. Save the query as a variant (so the HR administrators would need to change only the key date when they run the query)
    3. Everytime the HR administrator runs the Hiring action for org unit 1 or 2 , ask them to run the report (adhoc) first. That way they get a complete list of vacant positions as on key date (with object ID) for org unit 1 and 2 . This report can also be downloaded in excel format
    4. use the positions from the above list to manually key in the hiring action
    Hope this helps you out - may not be the most efficient way of doing but atleast you have a ready list of all vacant positions as on a key date for org unit 1 & 2.
    I think there is a standard SAP report on vacant positions per org unit (plz check the SAP easy access menu--> Information system / reporting tools) . If that serves your purpose , no need to create adhoc query
    regards
    Reema

  • How do I share info between my two computers over my network?

    Hello !
    I have an iMac, my husband has a Macbook. I just recently got an AEBS so that we could share the internet in the house. We are both wirelessy connected (thanks to the help on this forum). But I am wondering HOW can I share info on my computer...with his macbook? On HIS computer I can see a "shared" option on his HD, and my iMac is listed. It asks for password to access it. But I never set up this sort of sharing. I tried looking around on the iMac last night to figure out where I would do this, but to no avail. And I'm afraid to do something in fear of messing something else up !
    I guess I have no idea how this "networking" thing really works. Any help would be appreciated !
    Thanks for your help in advance.
    Christine

    +Ok...so I went to the system pref/account tab. and I see where the password is for my iMac. Is that the password he would use to access the computer from his? the same one I use to access my own computer?+
    Yes, correct. When he "logs on" to your computer from his, he will be given the option for KeyChain access on his computer to "remember" the password so he won't have to manually enter the password each time he connects to your computer.
    Same thing in reverse when you connect to his.
    In most cases, the only thing you really need to share are the "printer" and "files", but you have a number of other options as well.

  • How to track changes on Infoprovider?

    Hi Gurus,
    Could you please provide the steps of how to track changes on Infoprovider? I had 4 Infocubes (belonging to the same info area) that contains compressed data - but now when I tried to display the data, all the cube are empty - no data were aechived.
    I would like to track any actions that were made on those cubes.
    Thanks

    thanks Kumar for helping me out here
    I tried RSD_CUBE_LOG_DELE function module - It came out "no logs found in the database"
    I tried tables RSDRDLOGHEADER and RSDDSTATDELE which provide me deletion informations like user name... but since we have partially archived those specific infoproviders in the same period of time where I think eveything was gone from cube, I am not able to related when and who the data that were not archived were deleted from Infocube
    Under manage Infocube --> archiving tab, all the created archiving request are only for certain dates (below 2006). I know that we had data above 2006.
    Kindly provide additional inputs.
    Thanks

  • How to track the flow of data from R/2 to BI ?

    Hi Experts,
    Question: How to track the flow of data from R/3 to BI ?
    I want to load master data from R/3 to BI. In BI, i create an infopackage to load data from R/3. Under processing tab i set it as "PSA and then in the InfoObject (package by package)". Its a Full update.
    Now, i start the update to InfoObject. The load goes on well.
    Now, i want to track the flow of data from the master data table in R/3 to Datasource in R/3 then Extractors and then in the PSA in BI and then till the InfoObject. That is the complete flow of data from source table (in R/3) to Target table (in BI).
    Please help me know how this can be done. (For example lets take cost element master data)
    Regards,
    Suraj S Nair

    Hi,
    Data flow :
    BW :
    When u right click on the Master Data Info object -> Select Data flow.Then  it will  show u the details like DS name,IS (If 3.x)
    Once u know the DS then you need to find out the source tables for the R/3 DS.This information will get using ROOSOURCE or ROOSFIELD tables  or help.sap.com.
    My suggestion better to search in Help site for DS source tables.
    DS Tables :
    The following link will provide you the source tables for some of the LO DS.
    https://wiki.sdn.sap.com/wiki/display/BI/BWSDMMFIDATASOURCES
    Regards
    Ram.
    Edited by: Ramakanth Deepak Gandepalli on Dec 22, 2009 9:29 AM

  • How to track no of bytes transferred

    Hi there,
    how to track no of bytes transferred
    while downloading a file using java servlets.
    please note that i am not writing any client side application like applet...
    Hence I want to track no of bytes transffered to client end from my server (using servlets)
    Please kindly help me out as soon as possible.
    awaiting the solution immediately.
    thanks,
    venkat

    //the following is the code what i have written in my servlet.
    res.setContentType(MIME); // I hava parameterised the MIME tag
    OutputStream out=res.getOutputStream();
    int counter=0;
    File f1 = new File("c:/x.pdf");
    //int k=(int)f1.length();
    fis = new FileInputStream(f1);
    byte[] buffer=new byte[fis.available()];
    fis.read(buffer);
    for(i=0; i<buffer.length; i++)
    try
    counter=i+1; //getting the number of bytes got transferred
    out.write(buffer,i,1); //write to client's directory
    catch(IOException ex)
    System.out.println("exception while download="+ex.getMessage());
    downloaded=true;
    if(counter!=buffer.length)
    download_error="Not Downloaded";
    download=false;
    //while executing the above servlet, the servlet prompts for a save as dialog (without file extension, please note I have specified the MIME tag also).
    Now the client is entering the file and clicking save
    In between he cancels and file is not downloaded to the client's directory.
    Now the counter length should not match with the buffer.length, but it is matching exactly and stating that the file has been downloaded properly.
    I hope you would have understood my problem.
    Also note that I dont have any client side application to monitor the download.
    Please let me know how to solve the problem as soon as possible
    expecting your reply at the earliest thanks.

  • How to track costing in Production order

    Hello Everyone
    I would like to get some details about how to set the product costs for Finished Goods and also how to track the expenses like packaging, labor, electricity, other charges etc, for individual production order.
    I have created the labor and packaging as a non inventory item and have used it in the BOM, now after the production order is closed, i find these two costs to be in the Actual Additional costs as shown below, till this is great.   
    But the requirement was, when they want to view the expenses or a month, then they require individual split up of costs against each production order. Is this even feasible?
    Please require help from you guys.
    Appreciate your help in this regard.
    Thank You

    Product Costing
    The cost of a FIFO or moving-average product is the sum of its component costs and additional costs (such as labor and overhead). To ensure accurate calculations of product cost, even if the components were issued manually, SAP Business One uses the cost of the items issued to production order and not the cost of the items currently in inventory. This avoids differences between the actual cost of components used in the order and the value of the product.
    Note
    The cost calculation method described here is relevant only for standard and special production orders, but not for disassembly for companies managing perpetual inventory.
    In the case of disassembly the components enter the inventory with the same cost as the items currently there. If the component is managed by FIFO, the cost of the oldest layer is used.
    The cost of returned components does not change; it is the cost of the last one that was issued.
    The product cost calculation is determined by the item management method.
    Standard – When the product is managed by standard cost, no calculation is made, and the cost is copied from the item master data upon report completion.
    Moving Average – When the product is managed by moving average, two figures are required for product receipt into inventory: receipt quantity and total value added to the inventory. The total value is the product cost, which is the sum of all component costs used for those products.
    FIFO – When the product is managed by FIFO, each report completion opens a new cost layer for the product in the inventory. The quantity in the layer is the quantity of the products just reported as completed. The cost of the products is the sum of all component costs used for the completed products divided by the quantity of the products.
    On every report completion, the system checks the following three quantities for each manually issued component:
    Issued Quantity – The quantity already issued to the production order.
    Used Quantity – The quantity already used for the completed products (completed products multiplied by the base quantity of the component).
    Needed Quantity – The quantity needed for the products that were just reported as completed (quantity of products reported as completed multiplied by the base quantity of the component).
    If the Used Quantity is greater than or equal to the Issued Quantity, this means that all items issued for the production order have already been used, and the Needed Quantity is yet to be reported as issued from the warehouse. Since the cost of the items that were actually used for the products is unknown, SAP Business One takes the current prices from the inventory.
    If the Issued Quantity is greater than the Used Quantity, SAP Business One finds the cost of the components that were issued and not used, and uses them in the calculation of the product cost. When finding those components, the issuing order of the components is taken into account, meaning that the first components to be issued are the first to be used. The components following those that were used are the first to be used for the cost calculation.
    If the sum of Needed Quantity and Used Quantity is greater than the Issued Quantity, meaning that not all needed quantity was issued, SAP Business One needs to make an assumption for those items’ costs, so it takes the current prices from the inventory.
    Upon the completion of a production order, on the Production Order Window: Summary Tab, you can check the product cost figures of the production order.
    Regards
    Kennedy

  • How to separate BPM 11g from ADF

    Hi all,
    we are facing with a huge issue about how to separate BPM 11g ADF Task page components from SOA/BPM to a new non-soa ADF managed server.
    We are ready to move on pre-production server from development enironment and the new environment has two different servers, one for Soa/Bpm and the second for a non-soa ADF server.
    We have deployed all and it seems work fine but...when we call:
            SecurityContext securityContext =  ADFContext.getCurrent().getSecurityContext();
            String username = securityContext.getUserName();
    got: username  = anonymous.
    Tried with this also:
                 String userName = "";            
                //read name from security context
                ADFContext adfCtx = ADFContext.getCurrent();
                SecurityContext secCntx = adfCtx.getSecurityContext();
                userName = secCntx.getUserName();      
                //read name from bpmWorklistContext context
                FacesContext context = FacesContext.getCurrentInstance();
                String ctx = (String)context.getApplication().evaluateExpressionGet(context, "#{pageFlowScope.bpmWorklistContext}", String.class);
                IWorkflowServiceClient workflowSvcClient = ADFWorklistBeanUtil.getWorkflowServiceClient();
                ITaskQueryService wfQueryService = workflowSvcClient.getTaskQueryService();
                IWorkflowContext wfContext;           
                try {
                    wfContext = wfQueryService.getWorkflowContext(ctx);
                    userName = wfContext.getUser();
                    logger.info("UserName from Oracle:" + userName);
                } catch (WorkflowException e) {
                    logger.info(e.getMessage());
                    e.printStackTrace();
                return userName;
    And received this error:
    "Oracle | Invalid Token Error in Verification Service.
    Invalid Token Error in Verification Service. Received invalid token in .
    Verify that correct token is passed."
    I have followed this blogs but no luck:
    Onkar's SOA, BPM and ADF Blog: How to separate BPM 11g ADF Task page components from SOA/BPM to a new ADF managed server
    http://blog.dreamix.eu/oracle-2/ultimate-guide-separating-bpm-adf
    Notes about Oracle: How to configure local integrated WebLogic non-SOA domain to access BPM worklist on separate SOA-ena…
    I do not understand where the error is. Why the SecurityContext is getting lost.
    Can you help me? Any suggestions will be welcome.
    Thanks.
    Fairlie

    Ok, these are the lines of code you can use to create a method that returns the authenticated user name:
    try {
    IWorkflowServiceClient wfSvcClient;
    ITaskQueryService queryService;
    IWorkflowContext wfContext;
    // Get username of User Login
    String contextStr = ADFWorklistBeanUtil.getWorklistContextId();
    wfSvcClient = WorkflowService.getWorkflowServiceClient();
    queryService = wfSvcClient.getTaskQueryService();
    wfContext = queryService.getWorkflowContext(contextStr);
    userId = wfContext.getUser();
    } catch (Exception e) {
    e.printStackTrace();
    And you can add it to the backing bean of your page (a Java Class that you can declare to handle ADF Page components). Let me know if this helps.
    Jorge

  • In the case of a fixed vendor, please enter info record

    Hello Experts
    When I make a Purchase Requisition allocated to a fixed asset and I also indicate the fixed vendor, the following error appears:
    "In the case of a fixed vendor, please enter info record"
    We are not maintaining info records. For material and service purchases, if I type the fixed vendor, the info records are generated automatically by the system and we do not care about them. But for fixed assets it does not allow me to save if I enter the fixed vendor. How can I make to be created automatically also for the fixed assets?
    Thanks in advance
    Best regards

    sure, SAP creates info records itself when you do a purchase order.
    but SAP does not create info records when you create a purchase requisition.
    if you want a fixed vendor in a purchase requisition, then you have to have an info record first.
    so you either enter a desired vendor for this first time and can use fixed vendor with the second ocurance, or the requisitioner asks purchasing to create the info record manually. or you create the PO without requisition for the first time.
    see OSS Note 63600 - Required vendor - fixed vendor for IW32
    it explains the reason for the error message and a workaround.

  • How to use a collection in ADF

    Hi all,
    How to use the collection in ADF.
    Thanks in advance
    C.Karukkuvel

    hi John,
    Scenario:
    In my page,i have two tab pages .In that when the user enter the Location names in the first tab.when the user navigates to the next tab,we need to give the LOV having the Loactions based on the first tab values.
    when i try to use the view object it will list only the data's in the database.but i needs the locations entered in the current page also.pls guide me in this
    Thanks & Regards
    C.Karukkuvel

Maybe you are looking for

  • How can I recover photos from old iphone icloud backup to new one?

    Hello, I had an iPhone 4 which I lost and inside there were some great photos that I want now to recover. In the meanwhile I bought an iPhone5S and I just realized that inside the iCloud backup menu is saying that there is a backup of 3GB of my old i

  • How to create installer for flash app where content is distributed by chapter?

    hi everyone, i wanted to create an application installer (per chapter) like the one implemented on the product on this site: http://www.thelandofme.com/ .. can someone pls guide me on this? i have no problem creating flash apps but i'm so lost on mak

  • Css problem in internet explorer

    Hi to all! On my page as part of the page template I have build in a little drop-down user panel on the left top of the page. html:<div id="userpanel">   <span><img src="'#APP_IMAGES#openSlidedown.png" /> <a>logon: &APP_USER.</a>   <div id="userpanel

  • How do I deactivate fonts? (Font Agent Pro or Font Explorer)

    I purchased Font Agent Pro (3.3.2) and have tried Font Explorer X (1.2.2) and don't know what I am doing wrong--even when I ask them to deactivate all fonts it still looks like all fonts are active in application font menus. I've had FAP installed fo

  • Iplanet 6.0SP9 to work with Alias

    Hello, I'm trying to get iPlanet 6.0 to work with header or host alias. Current the site will work fine when I go www.myname.com but my user base from a legacy system got in the habit of using http://myname to get to the site. Is there way to get the