Sapscript : how to delete an empty form

Hi experts,
is it possible to delete a sapscript form when the form is empty ?
Regards,
David

Hi Bharath,
thanks for your answer.
Is it possible to do it into an ABAP Program (with FM) ?
Regards,
David

Similar Messages

  • How to get an Empty Form from VO,which allows me to enter record directly

    I am having Employee Table, which has some information.
    I created a VO - EmployeeVO.
    now I drag and drop that VO in my page as ADF Form.
    Result:
    I am getting a form with the current Row record populated in all the af:inputText and displayed to user..
    My Requirement is to have a "Add New Employee Details" page..
    As of now,
    In my page I am having a form which has navigation buttons and I am having a createInsert button which clears the field allowing me to add new record.
    What my questions is,
    how can I get empty form initially,so that I can have a button/menu "Add Employee" which gives me a empty form while loading the page, allowing user to Add Employee directly ?
    Please guide me, I googled it, but dint get any particular information..

    check link
    http://www.adftutorials.com/using-method-call-activity-to-open-form-on-insert-mode.html

  • How to get an empty form when we run the page?

    Hi all!
    Hope you are well
    My question is, how to get an empty form at run time? means when we run the page, text fields are filled with blank....Could anyone please help me with this..
    Thanks in advance,
    nanda.

    Hi Nanda,
    Just follow these steps:
    1) Create a bounded taskflow (uncheck the create with fragments checkbox)
    2) Drag the CreateInsert operation on your bounded taskflow and mark it as the default activity
    3) Drag a view and link the CreateInsert to the view component using a control flow case
    4) Double click on the view to create the page
    5) Drag the view object on the page as an ADF form
    6) Go back to your bounded taskflow and from the General tab make sure under visibitliy you select "url-invoke-allowed"
    Run you tasfklow and your form will be rendered in insert mode.
    Regards
    Antonis

  • How to delete multiple empty lines in item assignment block in WebUI

    Hi Experts,
       When i am reading 'BTAdminI' context node data, I am getting empty lines along with data. I can able to delete only one empty lines when its executing second empty line its failing in loop. Can you suggest me how can i delete multiple empty lines. I am using below code.
    DATA: lr_entity1           TYPE REF TO cl_crm_bol_entity,
            lr_current          TYPE REF TO if_bol_bo_property_access,
            lr_iterator         TYPE REF TO if_bol_bo_col_iterator,
            lv_strukname        TYPE strukname,
            dref                TYPE REF TO data,
            lv_thtmlb_tableview TYPE REF TO cl_thtmlb_table_view,
            lr_cn               TYPE REF TO cl_bsp_wd_context_node_tv,
            cr_mixed_node_tv    TYPE REF TO cl_bsp_wd_mixed_node.
        FIELD-SYMBOLS: <fs_line_structure> TYPE data.
        lr_iterator = me->typed_context->btadmini->collection_wrapper->get_iterator( ).
        TRY.
            lr_current = lr_iterator->get_first( ).
          CATCH cx_root.
        ENDTRY.
        WHILE lr_current IS BOUND.
          lr_entity1 ?= lr_current.
          CHECK lr_entity1 IS BOUND.
          lr_entity1->get_attr_struct_name( RECEIVING rv_result = lv_strukname ).
          IF lv_strukname IS NOT INITIAL.
            CREATE DATA dref TYPE (lv_strukname).
            ASSIGN dref->* TO <fs_line_structure>.
            IF <fs_line_structure> IS ASSIGNED.
              lr_current->get_properties( IMPORTING es_attributes = <fs_line_structure> ).
              IF <fs_line_structure> IS INITIAL.
                me->typed_context->btadmini->collection_wrapper->remove( lr_current ).
                EXIT.
              ENDIF.
            ENDIF.
          ENDIF.
          TRY.
              lr_current = lr_iterator->get_next( ).
            CATCH cx_root.
          ENDTRY.
        ENDWHILE.

    Hi Nitish,
    Try below code instead of your code,
    Data:
    lt_empty_lines  TYPE TABLE OF REF TO cl_crm_bol_entity,
    lr_entity TYPE REF TO cl_crm_bol_entity.
    After getting collection from BTadmini use the below code.
    lr_iterator ?= lr_coll->get_iterator( ).
        lr_entity ?= lr_iterator->get_first( ).
        WHILE lr_entity IS BOUND.
          IF lr_entity->is_send_active( ) EQ abap_false.
            APPEND lr_entity TO lt_empty_lines.
          ENDIF.
          lr_entity ?= lr_iterator->get_next( ).
        ENDWHILE.
        LOOP AT lt_empty_lines INTO lr_entity.
          typed_context->btadmini->collection_wrapper->remove( lr_entity ).
          lr_entity->delete( ).
        ENDLOOP.
    Best Regards,
    Dharmakasi.

  • How to delete the empty orders in v.06 tcode

    Hi,
    i am trying to delete the empty orders in V.06 transaction code, but it is not allowing to delete.
    the same order is able to delete from the VA02 Transaction. so could you please advice me to delete from V.06 transaction.

    Hello Ganesh,
    i am trying to delete the empty orders in V.06 transaction code, but it is
    not allowing to delete.the same order is able to delete from the VA02
    Transaction. so could you please advice me to delete from V.06 transaction.
    Please note that the T-code (V.06) which you have been using basically shows up all Incomplete Documents like Sales Order, Contracts, Inquiry. Pertaining to each document you will be able to see all the missing fields which are actually set as part of Incompletion Log.
    There is no dirrect provision to delete Sales Document using this t-code without opening up the document in change mode...If incase you plan is to delete the Sales Document which are not complete, then use this T-code to extract all the Sales Document and then use MASS t-code to delete...
    As per best SAP practice, deleting of Sales Document is not recommended at all, instead you can use REJECTION OPTION...  
    Regards,
    Sarthak

  • How to Delete Development & Potential Form in Talent Management

    Hi Guruz,
    Please let me know the correct method to delete forms (Development & potential )forms in Talent assessment .
    We deleted the forms via PHAP_CATALOG, but they are still visible in Define Forms for Talent Assessment under Talent Assessment, & the system is not allowing to delete it from this node as it gives the below mentioned error:
    Appraisal Template was not deleted:
    Message no. HRHAP00_TEMPLATE010
    Diagnosis
    The system may have canceled the deletion for one of the following reasons:
    The system cannot delete the element, for example if it is a category group.
    The business check found errors.
    The element is already released or in history.
    The system could not delete the entire structure (one of the above- mentioned reasons could be the cause).
    Please let me know what & how to get rid of this problem.
    Regards
    Bharti Sood

    Hi Bharti,
    You must first delete the template names from the customizing tables where it is stored (under Talent Assessment node of Talent Management and Talent Development). Then you delete it under PHAP_CATALOG. Unfortunately you have created an databse inconsistency and you might need to see if Basis can delete the values from the table.
    Best regards,
    Luke

  • How to delete FXFactory presets form effect panel

    I am trying to delete FxFactory plug ins that I think are leftover form a demo. I unistalled the FXF program but the presets remain in the Effects panel. They have a watermark and I do not want them there anymore...anybody know how to remove?

    Hi Mike Ditz,
    Pleasr go to following locations and remove that plugin and check if it works.
    Windows: C:/Program files/Adobe/common/plugins/7.0/MediaCore
    Mac: Mac HD or Startup Drive/Library/Application support/Adobe/common/Plugins/7.0/MediaCore.
    Regards,
    Vinay

  • How to delete an empty request of MX_entrytype attribute in 7.2 SAP IDM

    Hi everyone,
    We have created an entrytype as 'hrequest' and we are using userdefined attributes. for this entry type.
    We use this entry type for request generation to get approval for any specified request done by user like role access, password reset etc.
    Few empty hrequests have been created in the system and we would like to delete these request from the IDM system.
    I am thinking to create a job,
    and provide the source as the mskey of the hrequest which we want to delete and in the destination make its every related attribute as blank.
    Will the above idea would work. If not kindly please suggest. I am new to this tool and started using from past one month.
    I look forward in hearing from you all.
    Thanks in Advance.
    Regards,
    Deva

    Hi Deva,
    If you want to completely delete the entry, you select the MSKEYVALUE in the source tab and in the destination tab you use changetype delete.

  • How to delete data definition form XML Publisher Administrator

    Hi all,
    I want to ask is there any possibility to delete existing data definition from XML Publisher Administrator responsibility?
    Version: 11.1.0.7.0
    Regards,
    Alexander.

    Hi,
    Once you opened the page, before do any action in it follow the below steps.
    1. Click the link 'About this page' in the left bottom.
    2. Click the Expand All option under page definition
    3. Then click on the view object 'TemplatesVO2' against the view attribute 'Data Source Name'
    4. A select query will be appeared in that you can find the source table for that particular page.
    Regards,
    Sathya

  • How do I delete an empty icon page on my iPhone

    I have somehow inserted an empty icon page ahead of my normal first page of icons on my iPhone 5. iTunes shows the page at the end of the others, but even after syncing, the empty page is at the beginning, ahead of my search page. Does anyone know how to delete an empty icon page from the iPhone 5? It is so illogical to me that it can't be done from within iTunes by just hitting the Delete key, the way you'd expect it to work!
    Thanks!

    Go to Settings -> icloud and then you should see your icloud id, scroll to the bottom and select delete account, you are then able to add your new one.
    Hope it helps
    Lesoot

  • How to delete "other"

    i have a 500 gb hard drive and 341 gb is filled with something called "other"
    i dont know how to delete it

    First, empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash as well:
    iPhoto ▹ Empty Trash
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of your data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    If you're using Time Machine to back up a portable Mac, some of the available space will be used to make local snapshots, which are backup copies of files you've recently deleted. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as "Backups." The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself.
    To locate large files, you can use Spotlight. That method may not find large folders that contain a lot of small files.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual. Quit it if it's running.
    Triple-click the line of text below to select it, then copy the selected text to the Clipboard (command-C):sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders. It may take some minutes for ODS to list all the files.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with ODS, quit it and also quit Terminal.

  • How to delete empty element in popup list

    I have a question about a suspicious behaviour in Forms Builder 10.1.2.0.2.
    When I have a list object (pop up list) I can define some values in the attribute palette of the object.
    So you can set a shown name and a value behind. In this little window to set the items of the popup list you get automatically a white empty item at the end of the list. When I click now on this empty item (you do so, when you want to add an item) Forms Builder automatically adds an new empty item at the end.
    When I click this new empty item, Forms Builder adss another empty one ... and so on.
    It´s very suspicious because, when I end this dialog with "OK", it will be saved and when I open the form (over web) I have at the end of the list one, two (or more) empty elements in list.
    But I can´t delete this empty ones from the list in Forms Builder.
    So my question:
    how can I delete empty items in a popup list??
    I try it with hit "del" button at keyboard or delete the set value for the item (I hope Forms Builder delete items without value). But all does not help.

    Thanks jwh for this great solution! :)
    On my german keyboard it is:
    ctrl+< for deleting a line
    ctrl+> (= ctrl+shift+<) for adding a new line
    Thanks! :)
    I have another question (you can maybe help me, too?).
    On this popup lists you can have several items. When you open a form (via web) and the list has more than x items (maybe 5 or 6) the form shows a scroll bar on the right side.
    Is there any poosibility to set how much items has to show and only show a scroll bar when there are more items in the list?
    Or other way: set the maximum of shown items so big, that there will be no scroll bar.
    Message was edited by:
    ulfk

  • How to delete the complete contents of database table ? should be empty !!

    Hi Guys,
    I have requirement where i have delete the contents of database table..i have make it empty (no records at all) and then i have to fill it with the records from the excel sheet.
    I can upload data from the excel sheet.
    Please tell me how to delete the complete contents of the database table ??
    Regards
    Rahul

    hi ,
    just write like this,
    delete from <database table>.
    commit work.
    sample code, here edpar is database table.
    delete from edpar." FROM TABLE g_tab_delete.
      call function 'DB_COMMIT'.
      loop at g_tab_edpar into g_wa_edpar.
        insert into edpar values g_wa_edpar.
        if sy-subrc  eq 0.
          move-corresponding g_wa_edpar to g_wa_edpar1.
          append g_wa_edpar1 to g_tab_edpar1.
        else.
          move-corresponding g_wa_edpar to g_wa_edpar2.
          append g_wa_edpar2 to g_tab_edpar2.
        endif.
      endloop.
    that's all it works.
    reward points if helpful.
    regards,
    seshu.

  • How to delete multiple songs from iPhone 5S without losing form iTunes? The unchek function has not worked. Why?

    How to delete multiple songs from iPhone 5S without losing form iTunes? The unchek function has not worked. Why?

    Sorry I had to reply through your profile Gail from Maine, my PC has java issues. In any event, when I delete them directly from my device everything is perfect and cool. However, in the rare instance I want to add new music that I actually buy in stores (I know, quite the unique and old-fashioned idea...but hey Im an audiophile) once I upload the tunes, everytime I sync my library it re-adds everything that I spent hours deleting. In a perfect world, I thought I could maintain a massive iTunes Library, and add or delete (remove) songs from my iPhone to save both memory or keep my iPhone selections more current/apt to my musical "tastes" at that time. I know about the whole playlist thing, but thought there might be an easier way. ie - checking/un-checking the little box next to the song name, and then doing a sync. Again, everytime I do this however, whether everything is checked or un-checked it adds the entire library! So frustrating. Any suggestions. Thank you graiously in advance for your help.

  • How to delete blank page in smat form

    Hi Expets,
    In output display one extra blank page, how to delete it, I am using logic like this in smart form
    Main Window
    --> Header Loop.
           ---> Text
                ---> Table (item loop)
                       ---> Command Line
    In output it display Document Number header and items in a single page. but last one blank page also display.
    Regards,
    Sreedhar.

    hi sreedhar
    check this
    Re: Smart forms : display of second page .Displays blank when not required
    it might be helpful to you
    thanks
    SAchin
    Edited by: Sachin Gupta on Mar 5, 2009 10:18 AM

Maybe you are looking for

  • Display has a yellow hue/tint...

    My display has a yellow hue/tint and it is not being caused by a screen protector (which is clear). Also did a factory reset (didn't expect it to work) and it didn't help. I'm comparing the display to a at&t iphone 4 display. The hue/tint is consiste

  • How to make Multi line checkbox text

    Hi guys, I have a req of displaying text for a checkbox as mutiline. for eg: my text to be displayed for the checkbox is "ALL u201CAPPLICABLEu201D GOODS IN THIS SHIPMENT ARE BEING EXPORTED UNDER THE OPEN GENERAL EXPORT LICENCE   (OIL & GAS EXPLORATIO

  • Leaking subscribers between VRFs

    Hi, I have two VRFs, lets call them internet, and customers_1. PPPoE, and IPoE subscribers terminate in the customers_1 VRF, I am wanting to leak these addresses into the internet vrf. I have configured the relevant import and export statements, and

  • My iphone 4 with says its charging but its not

    I updated my iphone 4 to ios7 and itsays its chagrging but wont charge. I had this problem at the start of september when it first came out but after changing my charger and cleaning the bottom part it started charging again. A few days ago I got the

  • A design issue

    Hi I have a simple jsp application. It is a web based books library. Basically it contains 2 screens. 1) Adding a new book to the book DB. 2) Searching for a book using some criteria. In screen #1 I use a bean for validation of input. Here I want to