Remove the contents of the table container in workflow

hi,
i want remove the contents of the table container in a method in workflow.
  how can i doit. anyone pls send me the syntax.
after removing the old contents then i want to insert new values to that table.
Thanks
Sankar

hi,
i want to refresh the container in workflow.
anyone pls tell me.
Thanksin advance.
sankar.

Similar Messages

  • Displaying the contents of internal table- in email Step of workflows

    Hello Folks,
    I wanted to display the contents of an internal table ( would contain a list of opportunites ), in an email sent throught the workflow:
    My idea was to LOOP AT <ITAB> into <WA> from an external program and then call the workflow for each content of the <WA>. This will be a problem as, if there are like 1000 records in the internal table, then workflows will be called 1000 times...sending 1000 emails..
    My requirement is that we need to send a single email to the single person, displaying the content of the internal table in the email body......
    My question
    1) Is this scenario possible through worflows ?
    2) If not, please provide an alternative ..
    Thanks
    Anand

    Do you mean to say that just by inserting the multiline element
    within the body of the 'Send email' step type, the contents
    of the multiline element is displayed automatically without
    we having to loop at it somehow ?
    Follow the below apporach,
    1. First create a multiline container element in the workflow conatiner.
    2. Populate the internla table , by using the bor methods and pass back the populated ITAB to the WF by using the binding concept.
    3. Now create a mail step in the workflow, you have the option of inserting the workflow container elements into the mail conten, so insert the multiline container element , then it prompts to select the option like a) Do you liek to display only first line b) Display the ITAB line by line c) Display ITAB lines continuously with out line break.
    4. based upon the requirement select any one of the options.
    Note: Make sure the line length of the ITAB won't excced 132 charecters, because the send mail step will consider only 132 characters.

  • How to show the content of a table (long text) in a scrollable textbox?

    Hi,
    I have to say first, many thanks to the ones who answers to threads in this forum, it's very helpfull when we're learning web dynpro!
    I have a RFC function that return a table containing a long text (node "it_text", with elements "Tdformat" and "Tdline").
    1) I want first to copy all the Tdlines in a new node "text_box" (that I made specially for the screen, it contains only the element "Tdline" [the text itself]);
    2) Then I want to show the content of the node "text_box" in a scrollable textbox on the screen (to show 8 lines of text, for example).
    How to do that easily?  What is the UI Element needed to show that?
    Thanks!

    If you want to display as it is then you can use Table UI element. You can change the design property to 'transparent' and set column header visibility property to none. Then you need not to write any code simple you can map the node to table field.
    Even with TextEdit you can achieve what you want. Try this code...
         StringBuffer tmpBuffer = new StringBuffer();
         for(int index=0;index<wdContext.nodeLines().size();index++)
              wdContext.nodeLines().setLeadSelection(index);
              tmpBuffer.append(wdContext.currentLinesElement().getLine()+"n");
         wdContext.currentContextElement().setData(tmpBuffer.toString());
    Regards
    Abhilash

  • What does it mean by deleting the Content of the setup table when LO cockpi

    Hi all:
        what does it mean by deleting the Content of the setup table when LO cockpit ? why should we do it?  why set up tables ?
    Thank you very much!!!
    Edited by: jingying Sony on Jun 7, 2009 4:46 AM

    Hi Jingying Soni,
    Data sources in LO cockpit have a seperate exctraction source during full update mode and delta update mode.
    During delta update mode(when an transaction is posted in any particular application - like SD - sales orderm delivery) data is posted in application tables and updated alongside to the update table/extraction queue.
    From the extraction queue this data is further transfered to the delta queue using periodic background jobs.The data is then upladed in BW. The delta lad always reads data from this delta queue.
    However, when a full load is requested from the BW, the data is sourced by the set up table of the corresponding application.
    The setup table is loaded/initalized first. In this initialization process , it reads data frm the corresponding application tables and stores it within this table. Later BW reads from this set up table whenever full/initial load is requested.
    The process of filling set up able before full load request frrom BW is called set up run.
    Before you run a set up to fill the set up tables you need to check that the set up table is empty.
    If it is still containing data that was previously loaded in some other set up run. This data will als get loaded in BW unitinetionally/accidentally.
    So, you need to ensure that you only get the intended data in BW. This can be done by proper selections to transfer data from application tale to set up table and from setup table to BW.
    Along with this you hae to ensure that the set up table is either empty or you are using a disparate selection in the set up run and BW load which does not overlap with the previous set up runs data.
    Hope it helps,
    Best regards,
    Sunmit.

  • I can't see all the content of the table on Pages

    hello,
    the problem i encounted is when i opened an docx document, containing a table, but for some reason, on some of the columns i cannot see all the information, the content seems to stop in the limits of the page itself, and on the next page, instead of continuing with the content of the preview raw, its just continues with the content of the next raw.
    is there a solution to that? maybe some kind of an option to continue the table to the next page? (because i can't even see what is the "hidden" text\info)

    thank you for the quick response Jerry,
    but or i don't understand something fundamental or you haven't noticed the pictures i have added, because in there you would see that on the "arrange" tab on the right of the screen i have "move with text" selected, and yet it seems not do anything
    (although when i press stay on page something even weirder happens and the whole document disappears but the first page)
    so the problem seems that i can't find the option for the table to flow to the next page, with the content of the previous page.

  • How to scroll the contents of the table without scrolling tab/colmn headers

    how to scroll the contents of the table without scrolling table and column headers in WebDynPro.
    I have set the table properties as
    footer visible = false;
    Visible row count = -1;
    and have put the table into scroll container with some specified height.
    I dont want to use the footer as I have used many tables in the container in same row and with same <b>Data node</b>.
    I have used many tables in same row and with same context node to differentiate it with two different colors for that specific columns.
    I am using <b>NW 04</b> and not NW04s.
    Please help me regarding this.

    To print the whole data of your table you have to do it yourself. The showPrintablePageBehavior only print what you actually see on the page. It does not traverse the data.
    The normal way to handle tis is to use a report generator (like itext, jasper report, fop ...).
    Timo

  • To display the contents of the table in sf

    HI,
    I have a requirement to display the contents of the table on the smart form main window.
    Like there is a dic table containing 8 rows . i would like to to display all the 8 rows on a smartform main window.
    Help me how to solve this,

    Hi,
    Kindly follow the below steps,
      Go with a transaction code : smartforms
       Enter the form name like : ysma_forms1 and create with proper description
       From the left side window there will be a form interface to provide table .....
       Go for tables option
       table_name like table_name(ref.type)
       Pages and window-> page1-> main window
       Go to the form painter adjust the main window.
      Select main window and right click --> go for create loop
      Name: loop1, desc: display loop.
    Internal table ktab into ktab.
    select loop right click -> create a text
    name  : text1,  desc: display text.
    Go to change editor.
    Write the mater what ever you want and if you want to display data from the table write the table fields as follows:
    &ktab-<field1>&    &ktab-<field2>&
    save  & activate then execute ,, scripts will generate a function module  like : '/ibcdw/sf0000031' copy this function module and call in executable program...
    For that
    1.  go with abap editor se38.
    2.  table: tablename.
    3.  parameters: test like tablename-<field1>.
    4.  data itab like tablename occurs 0 with header line.
    5.  select * from tablename into table itab where field1 = test1.
    6.  call function '/ibcdw/sf0000031'
    7.  tables
         ktab = itab.
    Save and activate the program ( ^f 3).
    Now run the program ( f 8)
    Hope this will help you
    Regards,
    Vijay Duvvada

  • How to read the content of HTML table

    Hi All,
    I would like to retrieve the content of the following HTML table and is wondering whether there are any libraries/jars that could do the job easily without having to write a parser possibly in XSLT:
    <td class="propType"><b>Address</b></td>
                            <td class="propType"><b>Company</b></td>
                            <td class="propType"><b>Department</b></td>
                            <td class="propType" align="right"><b>Employee</b></td>
                                    <td colspan="6"><strong class="propType">
                                    <td><strong>Firstname</strong></td>
                                    <td><strong>Surname</strong></td>
                                    <td><strong>DOB</strong></td>
                                    <td><strong>Sex</strong></td>
                                    <td class="even">John</td>
                                    <td class="even">Smith</td>
                                    <td class="even">01/02/2001</td>
                                    <td class="even">Male</td>One awkard method is by using the stringbuffer as follows:
    String greaterthanSignedList[] = greaterthanSigned.split(">")
    to pickup all the text that comes after the greater than (ie ">" sign)...
    String lessthanSignedList[] = lessthanSigned.split("</"</" sign) ...
    However, I am sure that there must be an easier way to do this such as using existing SAX/DOM/XSLT.. jars to retrieve these values quickly.
    Many thanks,
    Jack                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    I am wondering if you could be a little patient with your guidance in this area. Perhaps a few points on what are some of the classes that should be used. Even an example would be terrific, if possible.
    I have slowly weighing through 2 books - Learning XML by Erik T. Ray (http://www.oreilly.com/catalog/learnxml2/toc.html) and Java & XML by Brett D. McLaughlin & Justin Edelson (http://www.oreilly.com/catalog/9780596101497/toc.html) but would like to dwell into the relevant chapter and by pass anything else that is not relevant to my current in the XML area in order to fast track development.
    I am new to XML and would very much appreciate if you could point to the area of specific to focus on getting this job done only.
    Many thanks again,
    Jack

  • If i backup an app for example Music Downloader as it contains like 300 songs and now i want to replace my iphone 5 so when i restore the app from itunes do i get back all the content in the app or just the app itself ??..

    If i backup an app for example Music Downloader as it contains like 300 songs and now i want to replace my iphone 5 so when i restore the app from itunes do i get back all the content in the app or just the app itself ??..

    Hey Hussain,
    I am not sure whether the music will get restored.
    Anyway try this
    1.Connect iPhone to PC.
    2.Open iTunes
    3.Open iPhone Summary
    4.Go to Apps Tab
    5.Under File Sharing Section Click on Music Downloader
    6.Right side if you see your songs click on one song and press (CTRL + A).(hope you are using windows) and click  on save and then save to  a folder on your computer.
    7. Later just do steps till 5 to put to new iPhone then ...........
    8.Click on save and select the music files which u want to put in that app.
    9.Click on apply to sync.
    10.You should be having the music in that app
    Hope it helps,
    Rohit

  • SELECT * cannot be used in an INSERT INTO query when the source or destination table contains a multivalued field

    Hi,
    I am using Access 2013 and I have the following VBA code, 
    strSQL = "INSERT INTO Master SELECT * from Master WHERE ID = 1"
     DoCmd.RunSQL (strSQL)
    when the SQL statement is run, I got this error.
    SELECT * cannot be used in an INSERT INTO query when the source or destination table contains a multivalued field
    Any suggestion on how to get around this?
    Please advice and your help would be greatly appreciated!

    Rather than modelling the many-to-many relationship type by means of a multi-valued field, do so by the conventional means of modelling the relationship type by a table which resolves it into two one-to-many relationship types.  You give no indication
    of what is being modelled here, so let's assume a generic model where there is a many-to-many relationship type between Masters and Slaves, for which you'd have the following tables:
    Masters
    ....MasterID  (PK)
    ....Master
    Slaves
    ....SlaveID  (PK)
    ....Slave
    and to model the relationship type:
    SlaveMastership
    ....SlaveID  (FK)
    ....MasterID  (FK)
    The primary key of the last is a composite one of the two foreign keys SlaveID and MasterID.
    You appear to be trying to insert duplicates of a subset of rows from the same table.  With the above structure, to do this you would firstly have to insert rows into the referenced table Masters for all columns bar the key, which, presuming this to be
    an autonumber column, would be assigned new values automatically.  To map these new rows to the same rows in Slaves as the original subset you would then need to insert rows into SlaveMastership with the same SlaveID values as those in Slaves referenced
    by those rows in Slavemastership which referenced the keys of the original subset of rows from Masters, and the MasterID values of the rows inserted in the first insert operation.  This would require joins to be made between the original and the new subsets
    of rows in two instances of Masters on other columns which constitute a candidate key of Masters, so that the rows from SlaveMastership can be identified.
    You'll find examples of these sort of insert operations in DecomposerDemo.zip in my public databases folder at:
    https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
    If you have difficulty opening the link copy its text (NB, not the link location) and paste it into your browser's address bar.
    In this little demo file non-normalized data from Excel is decomposed into a set of normalized tables.  Unlike your situation this does not involve duplication of rows into the same table, but the methodology for the insertion of rows into a table which
    models a many-to-many relationship type is broadly the same.
    The fact that you have this requirement to duplicate a subset of rows into the same table, however, does make me wonder about the validity of the underlying logical model.  I think it would help us if you could describe in detail just what in real world
    terms is being modelled by this table, and the purpose of the insert operation which you are attempting.
    Ken Sheridan, Stafford, England

  • TCODE-to view the content of setuo table

    Hi Experts,
    Can anyone let me know is there any TCODE where we can view the content of setup table
    Regards,
    Meera

    Hi,
    Normally the tables r in the form of clustertables if u want to see there is no special tcode for this  go to the SE11 or SE16 give the table name as below
    if the datasource is 2lis_11_vahdr after filling setup tables for this datasource9for this application component)MC11va0hdrsetupin se11 in table u give that bold one and execute it u can see the setup tables.
    Thanks & regrds
    sathish
    Edited by: sathish kakumudi on Jan 30, 2009 2:22 PM
    Edited by: sathish kakumudi on Jan 30, 2009 2:24 PM

  • Update the database table with the content of the internal table

    Hello!
      I have the next form:
      FORM erase_data.
    SELECT * FROM zadrress INTO CORRESPONDING FIELDS OF TABLE itab_adrress.
      DELETE TABLE itab_adrress: FROM zadrress,
                                 WITH TABLE KEY adrid = '456'.
      WRITE 'The information after the DELETE operation'
      COLOR 2.
      LOOP AT itab_adrress INTO wa_adrress .
        WRITE:/
               wa_adrress-adrid COLOR 5,
               wa_adrress-name COLOR 7,
               wa_adrress-email COLOR 5,
               wa_adrress-depart COLOR 7,
               wa_adrress-display COLOR 5.
      ENDLOOP.
      SKIP.
    LOOP AT itab_adrress INTO wa_adrress.
       MODIFY zadrress FROM wa_adrress.
       COMMIT WORK.
       IF sy-subrc = 0.
         WRITE 'OK !'.
         SKIP.
       ELSE.
         WRITE 'FAIL !'.
         SKIP.
       ENDIF.
    ENDLOOP.
      MODIFY zadrress FROM TABLE itab_adrress.
      UPDATE zadrress FROM TABLE itab_adrress.
    TRANSPORTING adrid, name, email, depart, display.
    INSERT zadrress FROM TABLE itab_adrress ACCEPTING DUPLICATE KEYS.
    PERFORM display_data .
    ENDFORM.                    "erase_data
    I see that my record is deleted  when I display the records from my internal table, but
    now I want to delete the record from database table.
       For that I want to move the content of the modified internal table in the database table. You can see the methods I tried (some of them commented), but nothing seems to work.
    Any advice ?
    Thank you.

    FORM erase_data.
    SELECT * FROM zadrress INTO CORRESPONDING FIELDS OF TABLE itab_adrress.
    DELETE TABLE itab_adrress: FROM zadrress,
    WITH TABLE KEY adrid = '456'.
    WRITE 'The information after the DELETE operation'
    COLOR 2.
    LOOP AT itab_adrress INTO wa_adrress .
    WRITE:/
    wa_adrress-adrid COLOR 5,
    wa_adrress-name COLOR 7,
    wa_adrress-email COLOR 5,
    wa_adrress-depart COLOR 7,
    wa_adrress-display COLOR 5.
    ENDLOOP.
    SKIP.
    LOOP AT itab_adrress INTO wa_adrress.
    MODIFY zadrress FROM wa_adrress.
    COMMIT WORK.
    IF sy-subrc = 0.
    WRITE 'OK !'.
    SKIP.
    ELSE.
    WRITE 'FAIL !'.
    SKIP.
    ENDIF.
    ENDLOOP.
    <b>DELETE FROM zadrress.</b>  "Make this change and try
    MODIFY zadrress FROM TABLE itab_adrress.
    UPDATE zadrress FROM TABLE itab_adrress.
    TRANSPORTING adrid, name, email, depart, display.
    INSERT zadrress FROM TABLE itab_adrress ACCEPTING DUPLICATE KEYS.
    PERFORM display_data .
    ENDFORM. "erase_data'.

  • HOW TO MAKE THE CONTENT OF THE TABLE PRINT IN A TABLE CONTROL SCREEN?

    Can any one tell me how to make the content of the table control print in a table control screen!!?
    Please help!!
    I have to make the contents of a table in the table control screen print ? any idea
    Regards,
    Vj

    Please refer to Demo Program,
    DEMO_DYNPRO_TABCONT_LOOP
    Its very clear.
    Shreekant

  • How to clear the contents of a table

    I was using a 'build table' to collect some datas and pass it to an 'Express  table'.
    what are the possible options to clear the contents of that table?
    How can i clear the contents using a 'button'?

    Build table function has an additional input called 'Reset'
    Attach a boolean to it.
    On front panel, set the boolean's mechanical action as 'latch when released'
    Look at attached vi
    Regards,
    Dev
    Message Edited by devchander on 08-06-2007 08:02 AM
    Attachments:
    reset table.vi ‏57 KB

  • How to Delete the Content of a Table?

    Hi,
    Please, i need to modify the content of a table, but before i want to delete this content. See follow the code that is used actually:
    DELETE (pr_name_table).
    MODIFY (pr_name_table) FROM TABLE prt_table.
    MESSAGE s000(zbrx) WITH text-i02 pr_name_table.
    The ABAP Editor don't accept the expression "DELETE (pr_name_table).".
    How to delete this content???
    Best Regards,
    Daniel Sanchez

    Hi,
    Thanks for helps! The problem been resolved with this solution:
    >> Call of Call:
    IF sy-subrc IS INITIAL.
          PERFORM z_upload_table TABLES t_zpf0012 t_bkp_zpf0012
                                    USING  c_zpf0012.
    ENDIF.
    >> In the Form: (after processing of Form)
    FORM z_upload_table TABLES prt_table prt_table2
                           USING  pr_nome_table.
      IF sy-subrc <> 0.
        MESSAGE i000(zbrx) WITH text-i03 l_file.
      ELSE.
        DELETE (pr_name_table) FROM TABLE prt_table2.
        MODIFY (pr_name_table) FROM TABLE prt_table.
      ENDIF.
    Best Regards,
    Daniel Sanchez

Maybe you are looking for

  • Badi for modifying the Contact person details....

    Hi, I have a problem here, can anyone help me.? I am creating a contact person for an account/bp in the IC Webclient. I  need to modify certain fields on Contact person address while saving. Can anyone tell what badi's or user-exits that I can use fo

  • Can I use an 85 watt charger with my mac air

    I have multipke 85 watt chargers from mmp's but only one for a 2011 mac air and want to be sure that it is safe to use the 85 watt chargers, hate to waste $ purchasing a charger just for the mba. Thanks

  • 'Supported Dvd not available'

    that is the message I see in the DVD Player when I try to watch a Dvd. I tried a few commercial dvds and some blank dvds. Same thing with 'MacTheRipper', the dvd isn't recognized. CDs are ok. In disk utility I can see the dvd only in the sidebar. Thi

  • Can't Download Itunes 7

    Please help! Itunes 7 will not download. It comes up as Win32 not valid application. I've tried shutting off Norton and Pop up blockers. No success.

  • Photoshop 7.0 wont start up

    I am trying to run photo shop during the busy greeting card season. ( almost all of our cards are done on photo shop) Yesterday I tried to start it up and it will load but as soon as it is supposed to switch to the main page the window goes away all