To replace standard smartform by a custom form, to be used in PRINT PREVIEW

Hi,
I have a requirement in CRM 2007 webUI. If we try to create a sales order, then we have a toolbar option button with title "PRINT PREVIEW". It uses the custom smart form "CRM_ORDER_CONFIRMATION_01.
I have to replace this standard form by a Z custom form. This form has soem additional data required for business needs.
Field technical details of the button is :
1. Component Name-  BT115H_SLSO
2. View   - SOHOverview
3. Context Node - THTMLB
4. Attribute- BUTTON_8
5. Role key - BP_POW_USR
6. Comp. Usage - CUBT Sales Order
7. Object Type - BT115_SLSO
Please reply as soon as possible.

To figure this out you need to do the following:
First determine the action profile for the transaction in question in the IMG.
CRM->Transactions->Basic Settings->Define Transaction Types
Display the detials of the transaction and you will see the action profile.  Next copy that action profile by using transaction SPPFCADM.  Then in the action defintion for the print action, replace the standard smartform definition with your z-form. 
Finally go back into the transaction definition and assign the z-profile to your transaction type.  Please note you should only do this with "z-transactions".
I'm not going to go into further detail as this is basic CRM configuration and is valid for all releases.  Please look at the best practices guides, or do a search in the CRM General and Framework forum for further information on how to do the configuration steps.
Take care,
Stephen

Similar Messages

  • Can we enter data in any standard table directly through custom form??

    Dear All,
    Can we enter data in any standard table directly through custom form??
    I have create custom form in R.12. I want to insert data in quality standard table directly through custom form. Need experts guideline.
    Awaiting regards,

    Hi,
    Can we enter data in any standard table directly through custom form??
    I have create custom form in R.12. I want to insert data in quality standard table directly through custom form. Need experts guideline.
    Awaiting regards,
    I would not recommend touching the standard tables at all unless you are being guided by the SR. For a record to be in the standard table it should go through series of validations based on the what operation you are performing and some times datas are dependent upon the other tables, and also some times the same records are hit to so many other tables simultaneously.
    Therefore I would not recommend this brother.
    Thanks &
    Best Regards,

  • Enabling eRecord for standard WIPMOVE in the custom form using wip interfac

    Hi,
    Anyone know how to trigger the eRecord for the standard WIPMOVE transaction in the custom form using WIP Interface (wip_move_txn_interface & wip_movproc_pub.processinterface).
    I have done all the necessary setting and eRecords is getting generated in the standard out of box form. But when i call the same WIPMOVE transaction through a custom form using WIP Interface it is not generating eRecord.
    As suggested by cookbook I tried EDR_ERES_EVENT_PUB.RAISE_ERES_EVENT, ERES.PERFORM_TRANSACTION, nothing is working out.
    Any suggestion ?
    Thanks,
    Senthil

    Hello,
    It seems best to create a Service Request for this issue.
    Regards, Carlo.

  • Standard Oracle Messages in Custom forms

    Hi,
    We have created cutsom oracle forms in our EBS setup and we want to show standard oracle messages in our custom forms, but somehow we are not able to show those messages. Is there any setting that we need to do to enable this?
    Thanks,

    Hi,
    Please see "Oracle Applications Developer Guide", Chapter 27 - Customization Standards.
    Applications Releases 11i and 12
    http://www.oracle.com/technology/documentation/applications.html
    You may also review these documents.
    Note: 1019036.6 - How do you Create Custom Messages?
    Note: 189441.1 - How to Change the Text for a Standard Message
    Regards,
    Hussein

  • Delivery Form with batch numbers and Print Preview

    When I open Sales->Delivery form and select one that has items with batches, and then press Print Preview, TWO previews are automatically opened. One regular which I created using Layout designer and set as Standard, and the other called "Batches List"
    Customer doesn't want the "Batches List" to use, since batches are already covered in the regular layout. Is there any way to disable it, so that only the regular preview is opened, and then printed? I'm using SAP BO 2007 A.

    You should change the 'When Batch/Serial No. Exists, Print' setting to 'Document Only' in Print Preferences for Delivery.
    (Under menu :Administration / System Initialization / Print Preferences /Per document.)

  • Replacing standard  usermanagement par with custom usermanagement par

    Hi all,
    I had to make some changes on the standard user administration(like hiding fields, creating new fields), for which I have downloaded the standard com.sap.portal.usermanagement.admin.par.
    i made a copy(com.***.portal.usermanagement.admin.par) of it and made the changes it works fine with all the changes when I run it from portalapp.xml
    Now I need to put this par file in place of the standard one for the changes to effect.
    Any idea what all configuration changes do I need to make
    thanks in advance
    Paul

    Detlev
    I have made similar changes to the com.sap.portal.runtime.logon par. which is the logon page to the portal.
    What I have done there is made a copy of the standard par, customised it.
    Now I copied the custom par back into the PCD.
    Then I modified the authshemes,xml file, replacing all the occurances of string com.sap.portal.runtime.logon with com.***.portal.runtime.logon(custom par).
    Restarted the j2ee engine , I have the new logon page working.
    I have all the standard functionality working fine along with the changed look and feel.
    I m thinking there should be a similar way out for the usermanagement par too.
    let me know if u have any inf.
    thanks.

  • Geo Location Custom Form is not Being Used

    Hi Experts,
    I extended the Geo Location class and added a few fields that I needed. Also in the same XML/MP I added a custom form for it using Authoring Tool. Imported the management pack and didn't get any error. But when I open any locations still it uses the default
    form rather than the custom one I created. Is there any dll or any other file that I should inject into SCSM folder? Is there any where I can troubleshoot why my custom form is not loading.
    My SCSM is 2012 R2 with UR5 and Authoring Tool is on version 2012 R2 (7.5.3079.0).
    Thank you
    Soroush

    Hi,
    How ahout adding the custom filed to extend the existing form?
    You can refer to the link below as an example:
    Adding a custom field to Incident Forms
    If you are creating a new form template, you may refer to below link:
    http://blogs.litware.se/?p=1402
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Urgent: Custom Form Development in CRM Applicaiton

    I have built a custom form in 6i using the TEMPLATE.FMB file from 11i applications.
    The form is called from with in the Contact Customer Form Module through the zoom feature. The custom form is called from the zoom but I am getting a Developer Error, cannot find Menu Item. I believe the problem is that I need to reference a Menu file (mmx) in the custom form. However, I have tried FNDMENU but it still gives me the error. Are ther any suggestions or has someone encountered this problem before.
    Any assitance is greatly appreciated.

    The custom form first should be register in the appropriate menu. For that first a menu item has to be created by Oracle Apps DBA and then the form has to be linked to this menu item.

  • Cannot forward Exchange Custom Form from Exchange 2010

    We have an Exchange Calendar Custom Form that we use for our change control.  When we migrate users to Exchange 2010, they are able to view the Public Folder/Events, but when they try to forward the event, there is not attachment with it. 
    Anyone?
    Karl

    Any errors in the event logs?
    HossFly, Exchange Administrator

  • Custom Form - Locking Issue

    Hi All,
    I have developed a New Custom form from scratch using TEMPLATE.fmb . I have generated it and it allows me to save OK. I have based the Block on a view(with Row_id as a column) . Also, the primary Key for my Table is vend_cat_id.
    But, when I Query it and press the down arrow key to navigate to records (Its a single record block) or even try to change some field in the block , I get the error "FRM-40657 : record changed or deleted by another user".
    My ON-lock trigger calls my custom package : and my code in my Custom pkg is as below, as per the Forms Dev Guide :
    Any ideas what I may be doing wrong or can check ?
    Many Thanks
    Shankar
    PROCEDURE Lock_Row IS
    counter NUMBER;
    cursor c1 IS
    select *
    from XX1
    where rowid = :blk.row_id
    for update nowait;
    recinfo c1%rowtype;
    begin
    counter := 0;
    loop
    begin
    counter := counter + 1;
    open c1;
    fetch c1 into recinfo;
    if (c1%notfound) then
    close c1;
    fnd_message.Set_Name('FND','FORM_RECORD_DELETED');
    fnd_message.Error;
    Raise form_trigger_failure;
    end if;
    close c1;
    if ( (Recinfo.vend_cat_id = :blk.vend_cat_id)
    AND ( (Recinfo.vendor_id = :blk.vendor_id)
    OR( (Recinfo.vendor_id IS NULL) AND (:blk.vendor_id IS NULL))
    AND ( (Recinfo.vendor_site_id = :blk.vendor_site_id)
    OR( (Recinfo.vendor_site_id IS NULL) AND (:blk.vendor_site_id IS NULL))
    AND ( (Recinfo.start_date_active = :blk.start_date_active)
    OR( (Recinfo.start_date_active IS NULL) AND (:blk.start_date_active IS NULL))
    ) -- end if
    then
    return;
    else
    fnd_message.Set_Name('FND','FORM_RECORD_CHANGED');
    fnd_message.Error;
    raise form_trigger_failure;
    end if;
    exception
    when APP_EXCEPTIONS.RECORD_LOCK_EXCEPTION then
    if (c1%isopen) then
    close c1;
    end if;
    APP_EXCEPTION.Record_Lock_Error(Counter);
    end;
    end loop;
    end lock_row;

    You can create a Forms Runtime Diagnostics (FRD) trace to see if you can try and pinpoint the cause. Pl follow instructions in MOS Doc 150168.1 (Obtaining Forms Runtime Diagnostics (FRD) In Oracle Applications 11i)
    HTH
    Srini

  • Custom Form Question

    Hi All,
    I have developed a New Custom form from scratch using TEMPLATE.fmb . I have generated it and it allows me to save OK. I have based the Block on a view . The primary Key for my Table is vend_cat_id.
    But, when I Query it and press the down arrow key to navigate to records (Its a single record block) or even change some field in the block , I get the error "FRM-40657 : record changed or deleted by another user".
    My ON-lock trigger calls my custom package : and my code in my Custom pkg is as below, as per the Forms Dev Guide :
    Any ideas what I may be doing wrong or can check ?
    Many Thanks
    Shankar
    PROCEDURE Lock_Row IS
              counter      NUMBER;
              cursor c1 IS
              select      *
              from XX1
              where rowid = :blk.row_id
              for update nowait;
              recinfo      c1%rowtype;
    begin
    counter := 0;
    loop
         begin
              counter := counter + 1;
              open c1;
              fetch c1 into recinfo;
              if (c1%notfound) then
                   close c1;
              fnd_message.Set_Name('FND','FORM_RECORD_DELETED');
                   fnd_message.Error;
                   Raise form_trigger_failure;
              end if;
                   close c1;
    if (      (Recinfo.vend_cat_id = :blk.vend_cat_id)
    AND (      (Recinfo.vendor_id = :blk.vendor_id)
         OR( (Recinfo.vendor_id IS NULL) AND (:blk.vendor_id IS NULL))
    AND (      (Recinfo.vendor_site_id = :blk.vendor_site_id)
         OR( (Recinfo.vendor_site_id IS NULL) AND (:blk.vendor_site_id IS NULL))
    AND (      (Recinfo.start_date_active = :blk.start_date_active)
         OR( (Recinfo.start_date_active IS NULL) AND (:blk.start_date_active IS NULL))
    ) -- end if
    then
         return;
    else
    fnd_message.Set_Name('FND','FORM_RECORD_CHANGED');
         fnd_message.Error;
         raise form_trigger_failure;
    end if;
    exception
    when APP_EXCEPTIONS.RECORD_LOCK_EXCEPTION then
         if (c1%isopen) then
         close c1;
         end if;
                                                      APP_EXCEPTION.Record_Lock_Error(Counter);
    end;
    end loop;
    end lock_row;

    Hi again,
    Yes, I think that's the problem. It doesn't make sense to get a 'Do you want to save your changes?' message if you don't have anything to save (and if you have a non-database block, Oracle assumes you don't have anything to save).
    Anyway, you can include a warning message in one of the form triggers that execute when someone tries to close the form (KEY-EXIT would be a possibility).
    I hope it helps.

  • Smart style is not effecting in smartforms print preview

    Hi All,
      i have created my smart style with HELVE font style and i have created paragraph formats for my smart style. And i assigned one of my paragraph format to header data-> standard format.
    I have used this smart style in my smart form. But while doing print preview, my smart form output is not effected by the smart style which i have given. Output is displaying in the form of  my smart styles-> header data-> standard format's  font wise. Not effecting the paragraph formats what i have given in my smart form text editor.
    could anyone  reply me how to solve this issue.
    Thanks in Advance.

    You can do one last thing from your side to ensure you are absolutely right. Open your smartstyle and create a paragraph format under paragraph node, with name P1 (for example). Now in P1, keep the font as Helve and save and ACTIVATE.
    Go back to your smartform, open the concerned text node. Select the text in it and from the drop down select P1. If you have not assigned this smartstyle to your form in attribute node, in that case you need to assign this smartstyle to your form (or in the output option tab of the text node) to get the P1 in the drop down.
    Save and activate the smartform. And let us know if it solves your issue.
    Cheers,
    Anid

  • Value pass to Smartform when Print/Preview

    Hi,
    I've a custom print program and smartform. All my selecting data codes are in Smartform. How do I let Smartform knows whether I'm doing a preview or print? What values should I pass into Smartform?
    I'd like to achieve something as follows:-
    IF print preview.
      DO a.
    ELSE.
      DO b.
    ENDIF.
    Please share your thoughts.

    Hi Brad,
    Actually it is not the data selected that determines the print preview. Let me give a clearer scenario.
    When user clicks Print Preview, user able to see a preview of the form. However, when user clicks Print, form is printed and some data is saved to a custom table.
    Currently, both print preview and print will save the data to the custom table. So I'd like to know how to prevent data being saved into the custom table when user performs a print preview.
    Thanks.

  • Smartform to PDF, how to suppres Print/Preview dialog

    Hi Experts,
    Facing some issues in downloading PDF converted from Smartform.
    In the program I am trying directly download a smartform converted into PDF format and save it in local system.
    When ever I am trying to execute the program it shows up the Print/Preview dialog before showing the Save As dialog.
    I have passed control_parameters-getotf = 'X' to the smartform runtime FM, which ideally should have suppressed the Print/Preview dialog and return the otfdata.
    Here the entire code is...
    REPORT  yfr_invoice.
    TABLES :  t001, bsad, bsid, kna1,sscrfields .
    DATA : fm_name TYPE rs38l_fnam.
    DATA : it_bsad TYPE STANDARD TABLE OF bsad.
    DATA : BEGIN OF it_bseg OCCURS 0,
            belnr TYPE belnr_d,
           END OF it_bseg.
    DATA : error_flag.
    DATA: 
           cont_param TYPE ssfctrlop,
           out_param  TYPE ssfcompop,
           otfdata    TYPE ssfcrescl,
           t_tline    TYPE TABLE OF tline INITIAL SIZE 0,
           t_docs     TYPE STANDARD TABLE OF docs,
           v_filesize TYPE i,
           v_name     TYPE string,
           v_path     TYPE string,
           v_fullpath TYPE string,
           v_filename TYPE string,
           v_filter   TYPE string.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
    SELECT-OPTIONS : s_bukrs FOR t001-bukrs NO-EXTENSION NO INTERVALS OBLIGATORY.
    SELECT-OPTIONS : s_gjahr FOR bsid-gjahr NO-EXTENSION NO INTERVALS OBLIGATORY.
    SELECT-OPTIONS : s_rebzg FOR bsid-rebzg OBLIGATORY.
    SELECT-OPTIONS : s_kunnr FOR kna1-kunnr.
    SELECTION-SCREEN END OF BLOCK b1.
    INITIALIZATION.
    START-OF-SELECTION.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'YFF_INVOICE'
        IMPORTING
          fm_name            = fm_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    cont_param-getotf = 'X'.
    cont_param-no_dialog = 'X'.
    cont_param-preview = 'X' .
      CALL FUNCTION fm_name
        EXPORTING
          control_parameters = cont_param  "Passing getotf = 'X'
        IMPORTING
          job_output_info    = otfdata
        TABLES
          s_bukrs            = s_bukrs[]
          s_gjahr            = s_gjahr[]
          s_rebzg            = s_rebzg[]
          s_kunnr            = s_kunnr[]
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
        IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ELSE.
          CALL FUNCTION 'CONVERT_OTF_2_PDF'
            IMPORTING
              bin_filesize           = v_filesize
            TABLES
              otf                    = otfdata-otfdata
              doctab_archive         = t_docs
              lines                  = t_tline
            EXCEPTIONS
              err_conv_not_possible  = 1
              err_otf_mc_noendmarker = 2
              OTHERS                 = 3.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          CONCATENATE 'filename' '.pdf' INTO v_name.
          CALL METHOD cl_gui_frontend_services=>file_save_dialog
            EXPORTING
              default_extension = 'PDF'
              default_file_name = v_name
              file_filter       = v_filter
            CHANGING
              filename          = v_name
              path              = v_path
              fullpath          = v_fullpath.
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
              bin_filesize            = v_filesize
              filename                = v_fullpath "'C:\Test.pdf'
              filetype                = 'BIN'
            TABLES
              data_tab                = t_tline
            EXCEPTIONS
              file_write_error        = 1
              no_batch                = 2
              gui_refuse_filetransfer = 3
              invalid_type            = 4
              no_authority            = 5
              unknown_error           = 6
              header_not_allowed      = 7
              separator_not_allowed   = 8
              filesize_not_allowed    = 9
              header_too_long         = 10
              dp_error_create         = 11
              dp_error_send           = 12
              dp_error_write          = 13
              unknown_dp_error        = 14
              access_denied           = 15
              dp_out_of_memory        = 16
              disk_full               = 17
              dp_timeout              = 18
              file_not_found          = 19
              dataprovider_exception  = 20
              control_flush_error     = 21
              OTHERS                  = 22.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
        ENDIF.
      ENDIF.
    The program other wise works absolutly fine .
    Please advise.
    Thanks
    Jahan

    Moderator message - Cross post locked
    Rob

  • Updation of table after Print and Print-Preview in smartform

    Hi,
    I am having a requirement where i need to print multiple deliveries with the sales order data each delivery on a new page using smartform.
    Now , i am using SSF_OPEN, SSF_CLOSE Fm's for the same. I need to update a Z table after the user clicks on PRINT from the pop-up or print from the print preview screen.
    I tried using the output_info parameter in the smartform where i read from a post that the OUTPUTDONE parameter becomes "X" in the job_output_info when the user clicks print wither in the two ways said before.
    This does not work out in case if the FM'S SSF_OPEN and SSF_CLOSE are used.
    Kindly help me on the same.
    Thanks in advance

    yes i tried that..using the AT new event for a Delivery and then a command to go to the NEW PAGE, but somehow when i execuet the form, i could not see the layout..so in the debug i saw the subrc after the FM is run..it says SUBRC = 2 i.e. internal error. I am not able to figure that out.
    So i had to use these open and close, nowi just want to update a z table if the user clicks on the print button (print preview screen) after using the print preview .
    Kindly suggest.
    Thanks.

Maybe you are looking for

  • How do I access my playlists from my Itunes on my Mac?

    Using an iPhone 6 (8.1.1) and a Mac Mini using Yosemite (10.10). I can see all of my old iTunes playlists on my phone, but I can't see them on my iTunes.  I bought a bunch of new music but want to add that music to these old playlists...Any suggestio

  • .gif export problem

    I am trying to make a basic animation in photoshop. But when exporting as a .gif by using the "save for web" option, it will only preview half of the gif and when exported it only plays half of the .gifs animation and freezes in the middle of the ani

  • Apple TV Reboots every time it starts a slideshow that is home shared.

    Just bought a 2nd Gen Apple TV to replace my first gen with and for whatever reason, every time it enters into a slideshow, it crashes and reboots itself. So far it looks like it only does this with pictures that I am sharing using Home Share and iTu

  • How to use Unicode font in a AWT compoment?

    Dear, I am a new on Java. I want to use Unicode font in AWT/Swing but I cannot. I use JDK 1.4.1 & JBuilder 7.0. Please help me. Thanks, Cuong Ha.

  • Returns order

    1.why we use  order reason in Returns order. 2. Is there any link b/w  pricing procedure and returns order.how the pricing proc gets effected by returns order.