CFMAIL and Editing Fields

Hi all,
I need to allow a user to fill out some forms with the
following info: Name, Title, Supervisor, Division, Status, Salary,
Effective Date and Remarks. After filling out the info, it needs to
be sent via a link that will allow the recipient access to the
table to edit if necessary. Then the recipient can 'Approve' or
'Deny' the information and send it back for review and distribution
by the original sender.
The forms are already complete but I'm confused as to how the
emailing and editable fields will work. I already have a CFMAIL
page completed that used to display the information once it was
input then simply mail it to the recipient. Well, now, the user
wants the ability to have the recipient edit the information then
email it back so that they can distribute it. So now I have to use
a DB table, whereas before, it was just being sent as an email. So
I've created the table with the columns for the info I mentioned
before. What I'm confused with is how to make the transfer from
just emailing information, to emailing a link that will allow the
recipient to access the table, edit it if necessary, then Approve
or Deny it and send it back in the same format. The Approval can
simply be in the form of a field.
So I basically need to make it so that I'm taking this and
making it into an editable table via a link sent though an email
after the user has filled out the necessary information in the
forms before. Sorry for all the explaining and confusion. I've
attached some code to look at and modify. I can provide more code
from the form input pages if you'd like though I figured the logic
of the email and the ability to allow the recipient to update the
DB then actually send it back is in the page I attached. It's
probably not as bad as it looks or sounds but it's confusing the
hell out of me...
Thanks a ton,
Eric

I have never used REUSE_ALV_GRID_DISPLAY function module for such scenario but i have used OO ALV to get data realtime.
CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY
       EXPORTING
         IS_LAYOUT        = GS_LAYOUT
         IS_VARIANT       = GS_VARIANT
         I_SAVE           = X_SAVE
         IT_TOOLBAR_EXCLUDING = TEMP_UI
       CHANGING
         IT_FIELDCATALOG  = ITAB_FIELDCAT[]
         IT_OUTTAB        = I_ORDER[]
         IT_SORT          = I_SORT[]."
I display ALV using above statement and whenever user clicks some button on the container, i use
"* refresh screen display with new data.
  CALL METHOD GRID1->REFRESH_TABLE_DISPLAY.
method to get new data populated into internal table after this statement.

Similar Messages

  • Interactive report with checkbox and editable field

    Hi,
    For a project I'm working on I need to create a interactive report in Apex 3.2 with the ability to select lines and to modify one of the columns in the report.
    To do this, I started off by adding these two fields to the selection query of my IR:
    apex_item.checkbox(1, product_number) cb
    and
    apex_item.text (2,QTY_TO_ORDER) QTY_TO_ORDER
    cb is the checkbox files, and QTY_TO_ORDER is the editable field.
    That worked like a charm and I got my two fields in the report.
    To process the values, I added this page process, wich for now should only store the "product number" and "QTY_TO_ORDER" fields in a table.
    BEGIN
    FOR i in 1..APEX_APPLICATION.G_F01.count LOOP
    insert into mytmptable values (APEX_APPLICATION.G_F01(i),APEX_APPLICATION.G_F02(i));
    END LOOP;
    commit;
    end;
    However, this doesn’t work the way I want it to work. When I check the checkboxes of two rows, it will store two rows with the right product numbers, but it will take the top two QTY_TO_ORDER field of the table regardless of which ones are checked. I was able to solve this problem, by adding a rownum to the query and using the rownum as the value for the checkbox. Since I still need the product_number and qty_to order fields I made them both text fields.
    I changed my page process to:
    BEGIN
    FOR i in 1..APEX_APPLICATION.G_F01.count LOOP
    insert into mytmptable values (APEX_APPLICATION.G_F02(APEX_APPLICATION.G_F01(i)),
    APEX_APPLICATION.G_F03(APEX_APPLICATION.G_F01(i)));
    END LOOP;
    commit;
    end;
    This seemed to solve the problem, and I now got the right values in the table, unless I used sorting in the report... As soon as I sorted the report in a way different than by rownum, I got the wrong values in the table. The reason for this is of course that my insert just selects the nTh row from the table, and my rownums aren't dynamic.
    I've found a lot of examples on the internet using '#ROWNUM#' in the selection, which should dynamically generate a rownum in the report. This seems to work in normal report, but in a interactive reports, the literal values '#ROWNUM#' shows up.
    Is there any way to solve this issue?

    Hi,
    Try with 3 fields:
    apex_item.checkbox(1, product_number) cb,
    apex_item.text (2,QTY_TO_ORDER) QTY_TO_ORDER,
    apex_item.hidden(3, product_number) prod_no
    The hidden field should be display as a hidden column.
    Then your process can be:
    BEGIN
    FOR i in 1..APEX_APPLICATION.G_F01.count LOOP
    FOR j in 1..APEX_APPLICATION.G_F03.count LOOP
    IF APEX_APPLICATION.G_F01(i) = APEX_APPLICATION.G_F03(j)) THEN
    insert into mytmptable values (APEX_APPLICATION.G_F01(i),APEX_APPLICATION.G_F02(j));
    exit;
    END IF;
    END LOOP;
    END LOOP;

  • Make simultaneously or sequentially moveable and editable fields or text sprites in movie.

    I am having a bit of a problem with creating field or text sprites that are both editable and moveable. I want a user to be able to enter text into the sprites and move them around on the stage to serve as labels for schematics they are making. I can easily make them moveable or editable, but when trying to do both one property interferes with the other. I have been using various combinations of the properties on the mouseenter, mouseleave, and mousedown handlers. One version of my non-workable efforts are below. Seems I can move a sprite but once editable gets focus can't move it anymore.  Any ideas?
    rod
    property spritenum
    on mouseenter me
      sprite(spritenum).moveablesprite = true
    sprite(spritenum).editable = false
    end
    on mouseleave me
      sprite(spritenum).editable = false
      sprite(spritenum).moveablesprite = false
    end 
    on mousedown me
      sprite(spritenum).moveablesprite = true
      sprite(spritenum).editable = false
    end
    on mouseup me
      sprite(spritenum).moveablesprite = false
      sprite(spritenum).editable = true
    end

    Just set your text properties in the property inspector and attach a drag sprite behavior.
    --  Drag sprite
    property  sp  -- this sprite
    property  pStartLoc  --  sprite location upon mouseDown
    property  pMouseStart  -- mouse location upon mouseDown
    property  pMoving  -- flag for enterFrame. True/False
    on beginSprite me
      sp = sprite(me.spriteNum)
      pMoving = false
    end beginSprite
    on mouseDown me
      pStartLoc = sp.loc
      pMouseStart = _mouse.mouseLoc
      pMoving = true
    end mouseDown
    on mouseUp me
      pMoving = false
    end
    on mouseUpoutside me
      pMoving = false
    end
    on enterFrame me
      if not pMoving then exit
      deltaMouse = _mouse.mouseLoc - pMouseStart
      sp.loc = pStartLoc + deltaMouse
    end enterFrame

  • WRITE statement and editable fields

    Hi,
    i don't think it's possible but my customers wants the following in an existing program.
    Data is written to the screen by WRITE statement (list processing), but one of the fields must be open for input and the data filled in must be handled by the program and stored into an internal table.
    Is this possible ?
    regards
    Hans

    For a rough example, try this program. 
    Enter some values, and double click on any line to force the transfer to the Itab, and see the results.
    REPORT  ztest  .
    START-OF-SELECTION.
      DATA: BEGIN OF itab OCCURS 0,
              id       TYPE i,
              text(10) TYPE c,
              linno LIKE sy-linno,
              pagno LIKE sy-pagno,
            END OF itab.
      DO 5 TIMES.
        itab-id = itab-id + 1.
        APPEND itab.
      ENDDO.
      LOOP AT itab.
        WRITE: /1 itab-id,
               itab-text INPUT HOTSPOT.
        HIDE itab-text.
        itab-linno = sy-linno.
        itab-pagno = sy-pagno.
        MODIFY itab INDEX sy-tabix.
      ENDLOOP.
    AT LINE-SELECTION.
      LOOP AT itab.
        READ LINE itab-linno OF PAGE itab-pagno FIELD VALUE itab-text INTO itab-text.
        MODIFY itab INDEX sy-tabix.
      ENDLOOP.
      WRITE: 'you entred:'.
      LOOP AT itab.
        WRITE: /1 itab-id,
               itab-text.
      ENDLOOP.

  • EDIT field in ALV GRID and on SAVE it has to update the DB Table

    Hi Experts,
    I have searched lot of forums...
    But i had not got the exact solution for this...
    I have multiple records that displayed in the ALV output screen and i had modified more than one record and then click on save.
    It has to modify all the lines that i had changed in the EDITABLE FIELD.
    Can any one help me in doing so...
    Sample code will be more help full....
    Thanks in advance,
    Kruthik

    Hi Kruthik
    Check [=> OO ALV Event DATA_CHANGED <= |http://abaptips.com/?p=70], hope you will get idea.
    Please reply in case of any confusion.
    Thanks and Best Regards,
    Faisal

  • Urgent : Problem with Editable  ALV Grid  for Quantity and Currency Fields

    Hi All,
    I am using Editable ALV Grid display and have quantity and value as editable fields in the display.
    When user changes these values these values are not changing properly .
    For the quantity field the domain is MENG13 with 3 deciamal places and here  if we enter 500 it takes it as 0.500   .
    The same problem is for the currency field. Here the Domain is WERT7 with 3 decimal places.
    Here also it takes last 2 digits after decimal places by default.
    Please advice how to get proper values in this case from ALV editable fields.
    Thanks and Regards
    Harshad
    Edited by: Harshad Rahirkar on Dec 25, 2007 7:39 AM

    for all the currency field , it will display like that only.
    u have to manipulate uin program before displaying.
    if they are giving 500, in program multiply with 100 and move it to table.
    when u are getting from table, divinde and display.
    this is what I am doing.
    Reward if helpfull.

  • How to make a particular row and column field editable in ALV

    Hi Experts,
    I have a requirement to make a particular row and column field editable in ALV output. Like i need to make 2nd row - 4th column editable of ALV output.
    Kindly help me out to solve this.
    Any help would be appreciated.
    Thanks,
    Ashutosh

    Hi Ashutosh,
    please check below, explained by some experts.
    In the below link  editing two columns MOD_RANK and TECH_RANK.
    These two columns will be in edit mode once after selecting the required record
    Editing single cell in a row of ALV table
    And also look for more info
    http://scn.sap.com/thread/884976

  • Detect fields and edit imported Excel spreadsheet

    i would like to know how I can detect fields for imported Excel spreadsheets so I can add and edit the spreadsheet

    I have an excel spread sheet that i would like to import into form central & I would like the fields to be editable by other users.  When i try exporting the excel file as a PDF Form Central  I get this message "FormsCentral could not import the PDF document because it does not contain interactive form fields. You need to add fields to your PDF using Adobe Acrobat and import again" Is there any other way for me to do this or do i have to purchase a version of Adobe Acrobat?

  • How could i block a document in Pages from editing and create editable fields in it?

    could anybody help me?

    Construct your document with spaces for the editable fields, then use Print > PDF > Save PDF file to convert that to a PDF image file.
    Insert the file into a new pages word processing document as a floating object, then resize it to match the original size.
    Move the image to the background and Lock it.
    Insert a text box, place and size it for each field, and add some Placeholder text to each field. When set as Placeholder text, clicking on the text will select all of it, and anything typed will immediately replace the placeholder.
    Limitations:
    The text box cannot be locked in position without also preventing it from bring edited.
    An editable textbox will not adjust to accommodate extra text. Adjusting it manually will not affect the underlying image.
    Regards,
    Barry

  • LSMW - Problem with copied and edited Project - missing new field

    I have copied an LSMW project to a new Project to load a Journal Entry to FI - Transaction Code FB01.  I added a new field VALUT (value date) to both the Maintain Source Fields and Maintain Field Mapping Steps.  The data with the new field shows up in Display Read Data, but it does not show up in Display Converted Data.  This new field is the last field in the csv file, i added it to the end of the Source fields.
    I think perhaps i need to create a new Batch Input Session, because when i run the Start Direct Input Program, one of the messages that comes up refers back to the original project name - not my renamed Project. --> "Session Name OLD PROJECT NAME was opened"
    (The steps available on my screen do not include a "Create Batch Input Session" step, as some of the posted answers show)
    Thank you for your help.

    Hi Sandra, Thank you for your reply.  I am not sure what you mean by restart.  if you mean go through all the steps- yes, i went through all the steps again. I also exited out of the LSMW screen completely and went back in to my project and redid the read and convert data again, just to be sure, but i am still missing the new field in display converted data. 
    The only change i made to the Project was to change the name of the Project, subproject, and object and to add a field to the Source Fields and Field Mapping - for field mapping i used the default rule of Transfer(move)and my source and code seems to be correct - in that i followed the example of all the other fields.  i also changed the name of the file where my new csv file was located, but i did not change the names of the read and converted data files. Perhaps i need to change something else? It seems to me that it is still using the instructions from the old project to convert the data.  Thanks again.

  • Editable fields (Rows and columns) using CL_SALV_HIERSEQ_TABLE

    Hi,
    I have to create an Hierarchical ALV with 2 Level using CL_SALV_HIERSEQ_TABLE.
    The problem is; i need check boxes as well as editable fields in column. I need checkboxes at item lines (which i am able to).
    Can anyone guide me how to make fields editable in CL_SALV_HIERSEQ_TABLE ?
    Thanks in advance.
    Regards,
    Hemant

    Editable fields(other than the checkboxes) are not supported using the ALV Object model(SALV classes).
    Regards,
    Rich Heilman

  • Unable to capture context attributes of editable fields

    Hello All,
    In my application, there are two trans. containers. One holds set of material info fields at top and in the bottom the container holds a table with quantity data of the material.
    The material info container has a edit button and 3 fields are editable and saved from the container. In the bottom container there is button to move to next material. Before moving, I check if any data is changed in material info container and display pop up to save it.
    Now, when i click the save button in the mat info container the ediatbel fields data is passed and gets saved. But, when the same save method is called from the confirmation pop up in the bottom container table the editable fields data is not passed. No idea on the reason behind this behaviour.
    The code used to retrieve the data is      
    nd_vipos_mat_master->get_static_attributes(
                IMPORTING
                  static_attributes = lr_vipos_mat_info ).
    Kindly assist.
    Regards,
    Sharath

    Hi ,
    When you are saving data using popup, you must have subscribed an action with popup button. I hope it is not the same action which you are using with SAVE button.
    You can try subscribing the same action for popup which you used in Save button. Ex: if on saving directly, you are calling action "OnSave" and from popup, the triggered action is "OnActionSaveFrom Popup".  So dont use this new action while subscription with popup button. use "OnSave" with popup button also.
    if it is working with save button, it should be fine with popup also.
    Thanks
    Vishal

  • Infoset Join condition on Key feilds and data fields

    Hi Guys,
    I have a requirement to biuld the Info set with join conditon on two DSO's  the info objects which i am using in the JOin condition are defined as data fieds in one DSO and defined as key fields in another DSO, is it possible to define join condition on key fields and data fields.
    The two info objects are                
                           0AC_DOC_NO
                           0ITEM_NUM
    These two info objects are defined as  data fields in DSO :   0LIV_DS1   Invocie verificaion
                                                            key fields in DSO:    0FIAP_0o3 FI AP Line Item
    Please suggest me is it possible to define join the condtion on the data fields and key feilds.
    Thanks
    Best regards
    SG

    Hi
    yes you can create join, you will get any issue in reporting level.
    example: Say i want to create Info Set on 0MATERIAL and Sales DSO.
    In 0MATERIAL Info Object it is key filed, but in my DSO 0MATERIAL is data field.Still we can create
    Creation of join is dependent on fields common in your source objects.
    check out the below document
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2f5aa43f-0c01-0010-a990-9641d3d4eef7?QuickLink=index&overridelayout=true
    Regards,
    Venkatesh
    Edited by: Venkateswarlu Nandimandalam on Sep 27, 2011 2:26 AM

  • Data fields and key fields

    Hi,
    Data fields and key fields are same as Characteristcs and key figures? Or they are diffrerent?
    Thanks,
    Radha

    HI
    Key Fields =  Acts as Primary Key for The ODS like Primary of Tables in R3.
    Data fields =  Apart from Key fields We consider rest as data fields.
    Ususally we use Characteristic info Objects and Dates in Key Fields and Key figures in Data fields.
    It's decisive factor for overwriting property of ODS or DOS.
    Hope this helps.
    Regards,
    Rangzz
    Edited by: Ranganath Kodiugane on Feb 7, 2009 12:14 PM

  • Chart report Condition fields and Data fields

    Hi all,
    i have tried chart report by adding two condion fields and one data field, the report is more meaning full in this scenario. the first condition field is taken as x-axis, the 2nd condition fields is taken as legend.
    while adding more condition fields and data fields, i feel its not showing meaningfull data.
    can anyone explain how the condition fields and data fileds are manipulated by crystal report.
    i am using CR XI R2 Server.
    Thanks
    Padmanaban V

    i am using Crystal Report XI R2 RAS Embedded in my server.
    as we can add any number condition fields programatically using the method
    ConditionField.Add(FieldObj), i would like to know how these fields are manipulated internally by the RAS server.
    that means, what is the significance of condition fieldobject 1, condition fieldobject 2,condition fieldobject 3 etc...
    if i add more than two condition fields , RAS Chart Report always returns 0 as legend value for all legends.
    Thanks in advance
    Regards,
    Padmanaban V
    Edited by: Padmanaban Viswanathan on Dec 22, 2008 9:53 AM

Maybe you are looking for

  • Saved Tiffs will not open in CS2 and generate a "Could not complete your request because of a program error".

    this was supplied by Ann Shelbourne. Saved Tiffs will not open in CS2 and generate a "Could not complete your request because of a program error". These files will often open in Photoshop 7.0.1 or in CS1 but not in CS2. The trouble may be caused by b

  • Updating to iOS 6.1 problem

    When updating to iOS 6.1 this morning, my phone showed update complete, slide bar to continue....I do, and it goes back to the update complete.....it is just cycling. I'm not able to make a call.

  • ALV Reference Field

    Hi I have want to display a custom label for a field in ALV. But that field uses REFERENCE Table and Field name. hence the label for that column is picked from dictionary level. I even used SEL_TEXT_L of the fieldCatalog, But still the text maintaine

  • Lync Server 2013 Installation Error

    Hello, I am using my AD in Windows Azure VMs. I created new VM of A3 (4 cores, 7 GB Memory) Windows Server 2012 R2, Port 1433 MSSQL added, made it a member of Domain and planned to install first Lync Server 2013 on it. In "Setup or Remove Lync Server

  • CreateInsert pushbutton at bottom of table/iterator and linenum

    ENVIRONMENT: 11gR1 / Oracle10g database Hi, I'm using pushbutton bound to createInsert for a detail iterator. In various pages, I'm using <af:table> or <af:iterator>. In both situations, it adds rows at the top of the top or above the previous row in