Release 12.1.3 Delivery Opts Button - Programmatically

Hi ,
I need to send the Invoice report as PDF attachment. Similar to the way it is sent in the Delivery Opts Button. The concurrent request is submitted programmatically. I need add the values to parameter Email . Is there any standard program similar to FND_REQUEST.ADD_LAYOUT or FND_REQUEST.SUBMIT_REQUEST to achieve the same?
Thanks
GM

Hi,
Please see
Re:How to Email Output of Concurrent Program to set of Users .
How to send output of a XML report to certain email Ids
send pdf email attachment
Thanks

Similar Messages

  • Terrance Devlin answered a question about iPhoto (4-2012) re:copying iPhoto Library to an ExHD, and losing all the albums. I can't locate the "Choose Library" when I open iPhoto with the opt button. Can anyone help?

    I tried to move my images (over 25,000) to an External Hard drive to open up some memory, hoping to make my computer run faster. It took three hours to move the images and I see them all in the mac's menus. However when I try to open them with iPhoto now, none appeared. and when I tried to import them back to the main HD they come in to iPhoto just fine, but not with the albums nor any of the massive organization i'd created in the original. this represents years of images, and I can't imagine that I'd have to recopy them into folders/albums again.
    Terrance Devlin answered a similar question back in April of last year. He said to make sure the ExHD is formatted to MAC OS Extended (Journaled) and to move the library to the ExHD and then open iPhoto with the option button and select "Choose Library" from the resulting menu.
    Command "I" tells me that the new drive is formatted correctly. I can't locate the "Choose Library" when I open iPhoto with the opt button.
    First, I wondered if the application needs to be on the same drive as the Library. I sure would like to know if I can find out how to restore all the folders I had them in. Terrance's advice helped the user that had asked the question.
    Here's the url for that archived discussion: https://discussions.apple.com/thread/3849933?start=0&tstart=0
    Can anyone help? I'm using iPhoto 5. My MAC is an OS X version 10.4.11.
    thanks, brokenlom

    Here are Apple's instructions:
    If you are using iPhoto ’06 or earlier, you will need to follow these steps to tell iPhoto where the Library is now located:
    Hold down the Option key on the keyboard and open iPhoto. Keep the Option key held down until you are prompted to create or choose an iPhoto Library.
    Click Choose Library.
    Locate and select the iPhoto Library in its new location.
    (from http://support.apple.com/kb/HT1229 )
    Below (in the link below) is what you should see when holding down the option key and opening iPhoto. Keep holding down the option key until this dialogue comes up. You want to select the Choose Library button.
    http://appleclinic.wordpress.com/2008/04/06/change-default-dir-iphoto/

  • Release Orders Blocked for Delivery

    Hello Experts!!
    We have V.23, release orders blocked for billing.. is there a similar transaction where we can release orders blocked for delivery??
    Help is greatly appreciated.

    Hello Carla,
    Yes in the T-code "V.23", you can release the billing block for SALES ORDER in one single click. While releasing the delivery block for the Sales order the following T-code are useful:
    1. VDBLOCK
    2. V.14
    3. VA14L
    When you are using these T-codes, you get the list of all the Sales order which are blocked for Delivery. Then you can select the document for which you want to remove the delivery block and do the required updation.
    Regards,
    SARTHAK

  • VA01 ATP incorrecct results when delivery date is programmatically changed

    Hi Guru's,
    When creating or modifying a sales order (VA01 & VA02), we need to programmatically assign the delivery date a) for certain customers or b) when the delivery priority is changed from downs to regular order and visa-versa. For examples: 1) user enters a delivery date 02/01/2012, the program (userexit_check_vbep) will automatically replace it with a calculated
    date (i.e.. 2/20/2012). 2) if user changes the delivery priority from regular order to a downs order, the program will automatically replace delivery date to current date.
    But are getting incorrect ATP results when requested delivery date (based on what user enters in VBAP-LPRIO "delivery priority") is programmatically changed and then user manually enters the date and run ATP (see steps 8 & 9 below).  
    VA01 execution steps:
    1) Used VA01 and entered a material of quantity 1, requested date 2/01/2012, delivery priority = regular. Date was overwritten automatically with program calculated date 2/20/2012 as expected.
    2) ATP automatically ran successfully for the initial entry.
    3) I then changed the delivery priority from regular order to downs order & requested delivery date was automatically changed to current date 02/01/2012 as expected.
    4) ran ATP manually and all is well.
    5) I then changed the delivery priority back to a regular order and date was automatically changed back to 02/20/2012 as expected.
    6) I ran ATP manually and again all is well.
    7) I then manually changed the delivery date 02/25/2012.
    Incorrect / bad results:
    8) ATP then passed back 2 sub-items lines with the quantity of 1 each. The quantity on the main line item is doubled to 2.
    9) I then tried to delete the main line item manually to start all over, but the transaction just hangs because it tries to go to ATP, but cannot resolve what to delete.
    Do you have any suggestions to help resolve this?   
    The following SAP user-exits were modified:
    a) MV45AFZB
      1) userexit_check_vbap
      - for certain customers (a custom "override days" field stored in VBAP is populated), delivery date is automatically calculated using this field (i.e.  current date + override days).   If user entered date < calculated date,   calculated date is used (xvbep-edatu).
      - If user changes delivery priority, xvbep-edatu will be set automatically to either the calculated date (regular order) or current date (downs order).
      2) userexit_check_vbep : if user enters a delivery date (vbep-edatu), it is checked against calculated delivery date & overwritten, if it is < calculated date.
    b) MV45AFZZ - userexit_move_field_to_vbap :
      - override days is determined & delivery date is automatically calculated. If user entered date < calculated date, calculated date is used (xvbep-edatu).
      - If user changes delivery priority, xvbep-edatu will be set automatically to either the calculated date (reg.order) or current date (downs order)
    Reason for updating xvbep: if only vbap-lprio or vbap-override (custom field) fields are changed, the VBEP user exit routines (userexit_move_field_to vbep or userexit_check_vbep)  do not run.  Change to xvbep does trigger userexit_check_vbep.
    Please advise.
    Joe

    This is not an SD question and should be moved to ABAP forum. It seems to me that the issue is not with incorrect ATP but with the subitems / main item updated incorrectly. This needs to be resolved by a developer who wrote the user exit. Most likely either a user exit is triggered when not expected or a wrong line updated, etc. Debugger should be helpful.
    Also instead of setting delivery priority, why can't the users just change the delivery date to current date? This seems just as easy to me...

  • Adding parameters to button programmatically

    H All,
    I have an requirement to pass the parameters of an single row selected by user to the next page. It is an advance table in iReceivables page. I have created an button in the advance table using personalization and when the user clicks on the button the values(1 to 3) will be forwarded to the next page.
    Can some one assist me on how to add parameters to an button programmatically.
    Regards,
    Ramakrishnan

    You cannot achieve this without Action (PPR)
    1. You need to extend the controller and programmatically configure the PPR on Button Click.
    Add Following code in PR:
    OAButtonBean button = (OAButtonBean) webBean.findChildRecursive("<ID of Button added by personalization>") ;
    // Assuming you need to pass just one parameter, PK of VO.
    Hashtable paramsWithBinds = new Hashtable(1);
    paramsWithBinds.put ("PKparam", new OADataBoundValueFireActionURL((OAWebBeanData)webBean,
    "{$<View Attribute name of the PK>}"));
    button.setFireActionForSubmit("<EVENT NAME OF PPR ON BUTTON CLICK>", null, paramsWithBinds,false, false);
    2.
    Add following Code in PFR:
    if("<EVENT NAME OF PPR ON BUTTON CLICK>".equals(pageContext.getParameter("event"))) {
    System.out.println("WE ARE IN HANDLE OF BUTTON CLICK");
    System.out.println( pageContext.getParameter("PKparam")) ;
    // PKParam is set in PR for the Primary Key of VO.
    //Now you can pass this as a parameter to your Next page.
    Regards,
    Prince
    http://princekapoor82.blogspot.com
    typo fixed.
    Edited by: Prince on Oct 11, 2011 11:20 PM

  • Transaction code to unblock / release the order for delivery / billing

    There is "Delivery Block" and "Billing Block" fields at the header data of VA01. What is the transaction code to unblock / release the order for delivery / billing?
    Thanks in advance.

    Go to VA02 and made this field blank.
    Sometimes what happens, release of that field can only be done by authorised personnel. In that case you ahve to ask them to unblock.
    Thanks and Regards
    Pratyush

  • ME54N Release strategy question over delivery tolerance limits

    I set up a release strategy base on the over delivery tolerance level. My problem is when a Purchase requisition is saved as rejected, and i click on the button cancel reject it deletes the last release strategy level because now it is looking at the actual total value disregarding the over delivery tolerance level.
    It works fine when the Purchase requisition is not rejected, and i can cancel or reject the purchase requisition without saving it and it does not delete the last line of the release strategy taking into account the over delivery tolerance level. I am using the user exit ZXM06U13.
    Can someone give me some insight into this ? Thanks.

    Hi Siva:
    You should request the development key for this structure under your SAP system, then you can add the extra fields in CEKKO.
    Good luck
    Z.T

  • How to create button programmatically and assign trigger for it and add code

    is that possible ?
    How can I create item a button for example programmatically (at run time)
    and create trigger (when-button-pressed) programmatically and write a code
    in the trigger body as well programmatically.
    thankx

    Hello David
    I used the way list and go button which is more safer than creating buttons because
    you can populate the list on fly.
         | dropdown list     \/
              | go button |
    PROCEDURE populate_user_function_list IS
         rg_list_id RECORDGROUP;
         ret_code     NUMBER;
    BEGIN
         rg_list_id := FIND_GROUP('RG_LIST');
         IF NOT ID_NULL(rg_list_id) THEN
              DELETE_GROUP(rg_list_id);
         END IF;
         rg_list_id := CREATE_GROUP_FROM_QUERY('RG_LIST','SELECT FUNCTION_ID, FUNCTION_ID FROM SMS_ROLE_FUNCTION WHERE SMS_ROLE_FUNCTION.DB_ROLE ='||''''||:GLOBAL.USER_ROLE||''''||' ORDER BY SEQUENCE_NO');
         ret_code := POPULATE_GROUP(rg_list_id);
         --Populate record group.
              IF ret_code <> 0 THEN
              bell;
              MESSAGE('Record Group could not be populated');
              RAISE FORM_TRIGGER_FAILURE;
              END IF;
         POPULATE_LIST('DYNAMIC_BLK.USER_FUNCTION','RG_LIST');
         DELETE_GROUP(rg_list_id);
    END;
    --this is the button to go the user selection
    begin
         if :DYNAMIC_BLK.USER_FUNCTION is not null then
              --go to selected form
              call_form(:DYNAMIC_BLK.USER_FUNCTION,NO_HIDE,DO_REPLACE,NO_QUERY_ONLY,NO_SHARE_LIBRARY_DATA);     
         else
              bell;
              message('Please select a function');
         end if;
    end;

  • Purchase Order Release strategy revoke when Delivery Comp indicator Ticked

    Dear Experts,
    There is PO for 100.Release strategy is activated for PO.PO is released.
    Inbound Delivery for 100 was done .after which for 70 Goods reciept was done.
    Then User wanted to Short close as no more quantiy is going to come.
    So user went to ME22n and Done Delivey completed indicator was ticked which can be done Without Re-Release.
    But When i am seeing the Log of PO (Both Header and Item Changes) The Release strategy is again Getting Revoked,
    And going to Release again.
    What should i do for not revoking Release strategy.And Also Price is getting Changed.
    with regards,
    GMP

    hi,
    Release strategy is revoked via release indicator settings done via settings up the release strategy...
    If you don't want any revoke even if any field is changed then used the changebility as '1'...
    Also as per std sap settings, once you make changes to com. indicator in PO, system will revoke the release again...
    so, decide and make settings as you need...
    Regards
    Priyanka.P

  • ClientListener on Button -  Programmatically

    Hello,
    Requirement : I need to Create a command button and when you hover your mouse on it, a function has to be called . Everything has to be done programmatically.
    My Procedure: I have already created a RichCommandButton programmatically with a binding to a function(HandleImagePress) which triggers when I click the button. This function inturn creates, populates and displays the necessary information in the form of a popup. However , With the new requirement, I am just supposed to hover onto my button to trigger this function (HandleImagePress). I believe I need to create ClientListener and so I tried it. But it doesnt work the way I want ... :-(
    This is what I have tried:
    public void handleImagePress(ActionEvent event){
    // There is code to create , populate and display and popup . It works fine
    private UIComponent ImageButton(UIComponent parent){
    RichCommandButton img = new RichCommandButton();
    String imagestyle = "width:120pt; height:120.0pt;margin:10.0pt;";
    img.setInlineStyle(imagestyle);
    // Compose method expression to invoke action event handler when button is pressed.
    FacesContext fctx = FacesContext.getCurrentInstance();
    Application application = fctx.getApplication();
    ExpressionFactory elFactory = application.getExpressionFactory();
    ELContext elContext = fctx.getELContext();
    MethodExpression methodExpression =null;
    // Make sure the EL expression references a valid managed bean method. Ensure the bean scope is properly addressed.
    methodExpression = elFactory.createMethodExpression( elContext,"#{pageFlowScope.pinint.handleImagePress}",Object.class,new Class[] {ActionEvent.class});
    // Create the command button action listener reference.
    MethodExpressionActionListener al = null;
    al= new MethodExpressionActionListener(methodExpression);
    img.addActionListener(al);
    // Add new command button to parent component and PPR the component for the button to show.
    parent.getChildren().add(img);
    ClientListenerSet set = img.getClientListeners();
    *if (set == null) {*
    set = new ClientListenerSet();
    img.setClientListeners(set);
    set.addBehavior("new AdfShowPopupBehavior('popup',AdfRichPopup.ALIGN_AFTER_END,null,'mouseOver')");
    // set.addListener("mouseOver", "handleImagePress");
    AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
    adfFacesContext.addPartialTarget(parent);
    return img;
    With this code, I need to click on image atleast once to create a popup . Is it possible to call the function without clicking but by just hovering on it? (bcoz the HandleImagePress function takes care of everything regarding to popup)
    Help will be greatly appreciated :-)
    Thank You

    Thank You for the reply, I have created a command button in Jdeveloper, ADF Faces component. It doesn't have "addMouseMotionListener" . So i have tried this way,
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseMotionListener;
    I have tried adding a Mouse event instead of an Actionevent this way ..
    public void handleImagePress(MouseEvent event){
    int m = event.MOUSE_ENTERED;
    System.out.println(m);
    System.out.println("--mouse clicked");
    System.out.println(event.MOUSE_CLICKED);
    //code to create , display, popup
    private UIComponent ImageButton(UIComponent parent){
    //I have changed the following line..
    methodExpression = elFactory.createMethodExpression( elContext,"#{pageFlowScope.pinint.handleImagePress}",Object.class,new Class[] {MouseEvent.class});
    But it complains java.lang.IllegalArgumentException: argument type mismatch, when I click on the button.
    Please let me know of a work around with this issue.

  • Making a button programmatically not change its 'physical' state when pressed

    I have this button:
    which changes into this when pressed:
    How do i programmatically make the button not change into its 2nd state when pressed? do i use property nodes? if so, how?
    thanks

    If you use the Colors Property Node, you can change the colors dynamically, so you can set it all green when you need it, then change it back to green and red.
    The only way you can intercept the button press is to use the Mouse Down? event in the event structure.  You will need to verify a left mouse click and then Discard the event.  That will be your inidcation the button has been pressed.  However, you will still need to track your state to not discard the event in the situations where you want the button to actuate.
    It is much easier to dynamically change the colors.

  • I need to call the Run continously button programmatically from MFC application .

    I have create Labview application from sample VI and with help of VirtualInstrument class I am to access the methods like Run ,SetControlValue and getControlvalue .But for VI we have Run continously button also .how do I programmatically call the Run continously button opteration from my applciation using VI methods.

    "Run Continuously" is not something that should be used in an application. (There are very few legitimate uses for continuous run, e.g. to quickly play with a few input parameters while debugging a subVI independent of the main application. The equivalent in your case would be to just place the run invocation in a loop and call it repeatedly. This is definitely not the way to do it!)
    Why don't you simply place a big while loop around all the code inside the VI that needs to run continuously?
    See also THIS recent discussion.
    LabVIEW Champion . Do more with less code and in less time .

  • How can i click a button Programmatically

    Dear sir;
    there is way to run a button in a form Programmatically?
    thank you Dear.

    Dany,
    Yes you can.
    Here is example.
    Let's say you want to close a form Goods Receipt PO when it loads
    If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And _
                       pVal.FormTypeEx = "143" And pVal.BeforeAction Then
    SBO_App.Forms.Item(FormUID).Items.Item("2").Click()
    end if
    'This simulates the user clicking on the cancel button (item ID 2 on the form)
    Please close the posts that are handled by assigning points.

  • Subpanel control button programmat​ically

    Hello,
    I'm fairly new in Labview and do not master all aspects.
    I have developped a "driver" VI, which allows me to control an instrument (communication via TCP-IP). This works fine.
    I now want to use this "driver" VI inside a test VI, which will control the instrument in an automated way.
    I'm loading the "driver" VI in a subpannel of my main VI, and I can effectivelly see it loaded, and can use it also, as if it was standing alone ...
    So far, so good.
    Now, I need to programmatically control the instrument, to execute test sequences e.g.   . I need to have the main VI sending commands to the VI in the sub-panel, changing set values, "clicking" on buttons ... all this automatically.
    What is the best way to control the elements in the subpanel, in a similar way as with property nodes if the elements would be in the main VI ?
    Thanks in advance for any useful tip.
    J.F. 
    Solved!
    Go to Solution.

    Hello,
    Here is a little example. As you will see, it consists in :
    1) from "VI reference" ->  you get "front panel reference"
    2) from "front panel reference" -> you get "all control references"
    3) from "all control references" -> you get "a given control reference" (found by its label text)
    4) from "a given control reference" -> you can use its "value property" as usual (read or write mode)
    Hope it helps...
    J.
    Attachments:
    subpanel.zip ‏46 KB

  • Changing default button programmatically

    I have a set of 3 buttons on a form, and one is designated as the default button. When it is selected, I would like a different button to become the default, but I can't find a reference to a suitable property in the set_item_property built-in.
    The question is simple, "How do I do this?"
    TIA,
    Mark.

    and always all of the button have to be enabled?
    otherwise (i had this situation) you can
    set all the 3 button as default but only
    one enabled and when the user click on the
    default button set the other button enabled
    and the button pressed disabled
    ~
    speedy

Maybe you are looking for

  • Can't connect to iTunes from my iPod Touch or from my Computer!!

    Since yesterday, I have been having trouble connecting to the iTunes store from my iPod and computer. I can search for apps and whatever on both devices, but when it comes time to download them, on the iPod it just says "Waiting.." for a while, then

  • Problem with empty folder showing up in incorrect release folder

    Thanks to several forum contributors I've got conditional build expressions working correctly to create five Single Source Layouts. To keep it simple, I'll use letters for the SSLs. SSL Build Tag Available Tags in Conditional Build Tag Expression A (

  • Saving (and losing) work on book in Aperture

    I'm new to both Aperture and Leopard. After successfully importing photos, I was making up a book when Aperture crashed. After restarting it I was astounded to find that ALL (photos, project & Book) were gone. I had assumed Aperture automatically sav

  • Populate Combo box on runtime

    Hi all, Please help me to populate a combo box on runtime. vcclient_no:=FK_SPLIT(vcBuffer); vcpol_ref:=FK_SPLIT(vcBuffer); vcmake:=FK_SPLIT(vcBuffer); vcmodel:=FK_SPLIT(vcBuffer); vcchassis:=FK_SPLIT(vcBuffer); i need to populate the values in these

  • Invoice Split analysis

    Hi! I'm having porblem with Invoice split. The procss I tried is as follows - Created SO for 10qty with the Customer 1234 who has all the fucntions (haven't changed the fucntion in SO). Did delivery one with 6qty and PGI later another with the remain