How to enter values in ztable from screen painter

Hi guys,
I have a scenario,where i have to enter values in ztable for the values entered in  screen painter.The screen painter is supposedly having 10 columns. i enter the value in the grid(table) and when i save, the records have to be inserted into ztable created by me. how to go through the problem. kindly help in  giving a flow for the problem .If anybody has gone through this scenario please help out.
Thankx in advance
Regards
Navin

if ur entering one record at a time from sreen to table then
u have to use ,
in pai module of the screen u have to code,
case sy-ucomm.
when 'SAVE'.
ztable-roll = ztable-roll.
ztable-name = ztable-name.
insert ztable/modify ztable.
ENDCASE.
if ur screen is having a table control
then u have to create a loop inside a module.
like
loop at tabcontrol_name
module insert_data.
endloop.
and in the doubleclked module,
move-corresponding ztable to ztable.
insert ztable.
Note : in both cases u have selected input fields as from
table/dictionary in the screen.
Regards

Similar Messages

  • How to delete invisible fields from screen painter SE51?

    Dear all,
    How to delete/remove invisible fields from screen painter SE51?
    Thanks.

    HI,
    just go to screen painter-->layout in change mode.
    the invisible fields will be looking faded
    click on that and press the DEL button.
    that will be deleted.
    <b><REMOVED BY MODERATOR></b>
    vivekanand
    Message was edited by:
            Alvaro Tejada Galindo

  • Printout from screen painter

    Hi,
    From the ABAP program am getting the input and fetch the value from the table and passing to Screen painter by 'call screen' command. The screen have some standard formats, again I have to give some input value and validate against already fetch the value from the table. If the validation is correct means I have to print the screen as displaying in the screen.
    But when I click the print icon at the output screen I can get the printout of  input screen of the ABAP program.
    How can I print the output from  screen painter?
    My program is as blow:
    Parameters:
                   pr_wrk like vbrp-werks obligatory,
                   pr_vbl like vbrk-vbeln obligatory,
                   pr_mat like vbrp-matnr obligatory,
                   pr_lsz(10) type n.
    select ..... from vbrk
          where vkorg eq pr_wrk
          and   vbeln eq pr_vbl.
    select ....
    compute
    call screen 103
    module user_command_0103 input.
      line_count = sy-loopc.
      data : ok_code like sy-ucomm.
      case ok_code.
        when 'PRINT'.
          call function 'GET_PRINT_PARAMETERS'
            exporting
              destination            = 'LOCL'
              copies                 = count
              list_name              = 'TEST'
              list_text              = 'PDI OS'
              immediately            = 'X'
              release                = 'X'
              new_list_id            = 'X'
              expiration             = days
              line_size              = 70
              line_count             = 55
              layout                 = 'X_65_80'
              sap_cover_page         = 'X'
              cover_page             = 'X'
              receiver               = 'SAP*'
              department             = 'System'
              sap_object             = 'RS'
              ar_object              = 'TEST'
              archive_id             = 'XX'
              archive_info           = 'III'
              archive_text           = 'Description'
              no_dialog              = ' '
            importing
              out_parameters         = params
              out_archive_parameters = arparams
              valid                  = valid.
          if valid <> space.
            submit zpdi_report using selection-set 'DATA' to sap-spool
              spool parameters params
              archive parameters arparams
              without spool dynpro.
          endif.
    Kindly help me.
    Regards,
    S. John

    Assuming the call to 'GET_PRINT_PARAMETERS' is successful (you did not check the return code), then you need to use
    IF VALID EQ 'X'.

  • How to enter values in the fields of standard SAP Infotype e.g. IT0024

    Hi,
    How to enter values in the fields of standard SAP Infotype?
    e.g. I want to enter values in infotype IT0024(Qualifications) in the field AUSPR(Profincy):-
    1-Level 1
    2-Level 2
    3-Level 3
    4-Level 4
    5-Level 5
    Thanks,
    Ameet

    Hi Divya,
    I checked with the screen and report which is mentioned by you. But I want to modify/make changes that should appear in the screen when you view details for a particualar employee in Qualifications(IT0024).
    Please refer the screen 2000 of module pool MP002400 in SE80. In that screen I want to make change as listbox with key.
    Can it be achieved in the same way as mentioned by you before by making standard SAP report as Z and then modify using layout editor?
    Please help me out. I think I am almost there.
    Thanks,
    Ameet

  • How to enter values to a database table with data type 'LCHR'?

    Hello All,
    I have created a database table with five fields, of which the last field is 'Value' field in which i have to enter text with a maximum of 1000characters. I have also specified a 'Length' field preceding the 'Value' field.
    The datatype specified for the 'Length' field is 'INT2' and for the value field is 'LCHR' with length 1000.
    When i tried inserting values to the table through a report, the report is giving an error that 'Literals that take up more than one line are not permitted', which means 255characters.
    Also, when i entered a short text which is less than 250 characters to the 'Value' field,, the report is working fine and the table entry is visible.
    Can anyone help me in this?
    It would be really helpful if you explain how to use 'LCHR' data type in tables and how to enter values to such a field with more than 255characters.
    Thanks in Advance,
    Shino

    Hi shino,
    Alternatively,
    you can use STRING instead of LCHR.
    I too have tried with LCHR and am facing the same issue.. i am not sure why its coming..
    i have tried STRING and its working perfectly.
    wa-key_field = 'IN4'.
    CONCATENATE  'Long text over 200 chars length '
                  'another Long text over 200 chars length '
                  'another Long text over 200 chars length '
                  INTO wa-long_text.
      wa-len = strlen( wa-long_text ).
      INSERT zshino_table from wa.
      SELECT * FROM zshino_table INTO table it.
      clear wa.
      LOOP AT it INTO wa.
          WRITE:/ wa-len, '  ' , wa-long_text.
      ENDLOOP.
    Also, remember to set the type of the database field as String.
    hope this was of some help,
    thanks and regards,
    Sagar.

  • How to show screen design in .srf (from Screen Painter) using SDK?

    How to show screen design in .srf (from Screen Painter) using SDK?

    You need to use the LoadBatchActions method of the Application object to load .SRF files.
    John.

  • How to passing value into Captivate from html?

    How to passing value into Captivate from html?
    Or
    How to communicate between objects in one slides?

    Hi czhao0378 and welcome to the forums!
    Captivate does not natively allow you to communicate your own
    data, either internally or externally. The only way to make this
    happen is to create your own functionality, either via custom-built
    Flash objects or JavaScript code executed in the browser or a
    combination of both.
    The only example I've seen of any "data passing" inside
    Captivate is a custom text input/output solution that was posted on
    the Captivate Developer Exchange:
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1253 021
    This solution consists of an input box that takes information
    from the user on one slide and a second box that displays that
    information on another slide. The functionality was built in Flash
    and is embedded in Captivate as a Flash "animation". Unfortunately,
    since this is a custom functionality, the information is not
    included in the user completion results Captivate can pass to a
    Learning Management System.
    Since the solution mentioned above relies on a Flash
    Actionscript variable to hold the information that is displayed,
    you can also pass the information from HTML to Captivate using the
    "SetVariable" command in JavaScript. This would at least allow you
    to display your own HTML-based data inside Captivate.
    Beyond that, I'm not aware of any other way to gather and
    pass data in Captivate.

  • How to change value of ${eol} from \n to \r\n, writing by File Adapter

    Hi All,
    How to change value of ${eol} from \n to \r\n, while writing file through File Adapter.
    As my file is being created in Linux environment, so for new line separater, \n is used. I mounted this file directory to windows System.
    As Windows requires \r\n for new line seperator. So I need to change value of ${eol} in the Schema created for file writing.
    Can any one provide help regarding this.
    Thanks in advance

    Hi,
    When an XML payload is written to a file \n would be used as the default line separator regardless of if its windows or linux, as per the XML specification http://www.w3.org/TR/REC-xml/#sec-line-ends.
    As such, one need not worry about the line separators because, the XML file would eventually be processed by a parser which usually would be able to understand both line endings (as they are whitespace characters as far as the parser is concerned).
    If you want to convert the line terminators (for readability etc), 10.1.3.4 has a new feature - in the XML schema definition for the file adapter payload, add these two top level directives to the schema element:
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    nxsd:normalizeLineTerminators="false"
    Regards,
    Shanmu.

  • How to change the visible length in screen painter?

    Hi Guys,
    we have field in screen which is type to ATWRT but the visible length is set to 11. ATWRT is 30 char.
    Please advise on How to change the visible length in screen painter to make it 30?
    When I try to edit the defined length from 11 to 30. It wont allow me to.
    Thanks a lot!

    Hi,
    Try the below method:
    Goto Screen Painter -> Double click on Input-Output field for ATWRT another screen will appear with attributes of Input Output field -> Increase the Visible length Value there. (Option of visible length is below the Name and Text attribut of Attribute windiw.)
    If the Visible length field isn't allowing change then declare it as a Char type instead of taking the DataType for Data Dictionary.
    Thanks,
    Preyansh
    Edited by: DWIVEDP on Mar 29, 2010 12:42 PM

  • How to add a search help on a screen field from screen painter

    Hi,
    I would like to add an existing Search Help on a screen field in Screen painter.
    Of course it's possible to just click on th screen field and in the property box, I just have to set the name of teh search help.
    The problem is that I need the screen field to be grey and user musn't be able to change the field value if he doens't use the search help.
    I'm not allowed to modify the existing search help or to built it on my own from source code, I must use the existing one.
    Do you have an idea on how to do so?
    Regards,
    Morgan

    Dropdown Box:
    In the screen painter for that field goto properties -> Dropdown ->select listbox.
    Option 1:
    Instead let that field be in change mode and if user enters any wrong entry which is not there in the table give a error messgae.
      CHAIN.
        FIELD addr1_data-country.
        MODULE modify_screenfields1.
      ENDCHAIN.
    MODULE modify_screenfields1 INPUT.
      CASE sy-ucomm.
        WHEN 'ENTER' OR 'EXECUTE'.
          IF NOT addr1_data-country IS INITIAL.
            SELECT SINGLE landx FROM t005t INTO lws_landx WHERE
                                          land1 = addr1_data-country
                                      AND spras = 'EN'.
            IF sy-subrc <> 0.
              MESSAGE e000(zo_spa) WITH text-022.  " Invalid Country code
            ELSE.
              t005t-landx = lws_landx.
            ENDIF.
          ELSE.
            CLEAR: t005t-landx.
          ENDIF.
       ENDCASE.
    ENDMODULE.                 " modify_screenfields1  INPUT
    Option 2: Other than if u want the way u like, let that field be greyed out. don't attach the search help.
    In the PROCESS ON VALUE-REQUEST.
      FIELD addr1_data-region MODULE region_pov.
    MODULE region_pov INPUT.
    Using the F4IF_INT_TABLE_VALUE_REQUEST table value request show the search help.
    also make that field input enabled.
    ENDMODULE.                 " region_pov  INPUT
    I think this will solve ur problem.
    Regards,
    Prakash.
    Message was edited by: Prakash Ramu

  • How to enter values in Descriptive flexfield by WEB ADI

    Hi All,
    I am using GL-Journals as an integrator for uploading data using WEB ADI. I have DFF at Journal lines. There is Context Field value and also 3 lines(Attributes). I can enter the data by clicking the Line DFF Context and Line DFF manually. The entered values are shown as concatenated values in this cell. But the data is in different columns in excel file. I want to map the data from excel(which is in different cells) to this one column in the WEB ADI template.
    Does any one know how to map this.
    Thanks in advance.
    Regards,
    Pramod.

    Hi All,
    After couple of investigations, I understood that it is not possible to map and upload DFF Values unless you concatenate the data. We all know it used to work in client ADI. I have found these documents 1072689.1 and Bug 8469705.
    If someone knows any workaround please let me know.
    Thank you,
    Regards,
    Pramod

  • How to enter values in JList box and JTable ???

    Hi friends...
    i am new to Swing
    SInce i am using Netbeans IDE 5.5
    and there is easy to do swing programming using this IDE
    now i am confused using JTable and JList box
    since i used method Insert in AWT
    but how to add values in LIST BOX ( JList )
    ex.
    JList list = new JList( );
    list.add(mystringvalue, ? );
    here it ask for component so what should i write here..
    when i write here this, gives error.
    what to do to insert string or vector or object in JList
    and to enter value in JTable
    THanks

    hi Ghanshyam,
    i am also new to swing i was just wondering are you using the swing palette to create your interface
    by the look of the code
    JList list = new JList( );
    list.add(mystringvalue, ? );you may not be because every JList is put in a JScrollPane
    but if you do want to do it through the palette there is an option in properties - model which you can uses to add in values.
    and if your looking to get info. from a database look up
    AbstractListModel &
    AbstractTableModel
    the is a lot of info on the internet (example net beans CarTableModel) is a
    good start off
    happy hunting.
    JJ

  • How to enter values for newly inserted field for maintenace view table

    Hi ,
    I have inserted new field for custom table which consits of maintance view..
    I want to put some values in to this newly inserted field..
    When i try to insert values bu useing se16,iam unable to view this newely inserted field..
    Can you please let me know how can i insert values to this newely created field
    Thanx,
    Parnith

    Hi Parnith,
    It is easy to use a table maintainance to enter values to a database table....
    if you have a table maintainace generator and you are not able to see the newly added field here is the reason
    Everytime you add a new field , the table maintainance needs to be regenerated..The reason is that the screen you are using in the table maintainance is created within a program with respect to the fucntion group and not directly linked to the table..whenever you change the table,the function group is not affected and changes are not reflected in the table maintainance , so you have to regenerate by utilities-> table maintainance generator in sell for that table..once you do it , the function group assigned to the table automatically creates a new one with the latest fields added
    Reward if helpful
    Regards
    Byju

  • How to put value in Session from AM ?

    in AM : i have a condition like this
    if (tool_id != null)
    //initialize lov and pass this tool_id to lov's controller.
    how can I do it ? If I had to do it from the controller, I would have put the value in session parameter, but how Do I put a parameter's value in session from AM ?
    I dont have the method : putsessionvaluediret() in am ??
    or say : how do i pass a value from am to an lov's contoroller ?
    Edited by: OAF-dev on Mar 8, 2010 4:53 PM

    You can create a method of string type and return the value to the controller.
    IN AMImpl:
    public String getToolId(String InputParameterIfAny)
    //initialize lov and pass this tool_id to lov's controller.
    // Capture toolID in variable and return
    return toolID;
    In Controller:
    String toolId = (String)am.invokeMethod("getToolId",InputParameterIfAny);
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to make an object disappear from screen?

    I am trying to make a simple pacman game in javafx. I've been stuck trying to get the pills to delete from screen once pacman "eats" them. I used a sequence to store the pills. I have collision detection working between the pills and pacman, i.e. the computer knows the pacman comes into contact with a pill. When pacman "eats" a pill it deletes from that pill sequence but it still remains on the screen. I have been stuck for hours on this. I have 4 classes created - pacman, pill, map, and main.
    the pill class (minus the import statements)
    public class Pill{
        var x = 42;
        var y = 85;
        var opacity = 1.0;
        var pill: Node;
        var pill2: Node;
        var pills: Node[];
        var pills2 = bind pills;
        var map:Map = new Map();
        var removePill = Timeline {
            repeatCount: Timeline.INDEFINITE
            keyFrames : [
                KeyFrame {
                    time : 0s
                    values : [
                        pill2.opacity => 1 tween Interpolator.LINEAR
                KeyFrame {
                    time: 1s
                    values : [
                        pill2.opacity => 0.0 tween Interpolator.LINEAR
        public function create(x: Integer, y: Integer): Node{
            Circle {
                centerX: x,
                centerY: y
                radius: 5
                fill: Color.ORANGE
        public function populatePills() {
            var countX = 0;
            var countY = 0;
            if(sizeof pills == 0){
                while( countX < 16 ){
                    while( countY < 18){
                        x = x + 43;
                        pill = create(x,y);
                        for(obst in map.map()) {
                            if(obst.boundsInLocal.intersects(x-5, y-5, 10, 10)) {
                                pill.visible = false;
                        if(x > 380 and x < 520 and y > 320 and y < 370){
                            pill.visible = false;
                        if(pill.visible == true){
                        insert pill into pills;
                        countY++;
                y = y + 35;
                x = 42;
                countY = 0;
                countX++;
            println(sizeof pills2);
            removePill.playFromStart();
            delete pill2 from pills;
            return pills2;
        public function deletePill(i: Integer){
            //delete pills[i] from pills;
            pill2 = pills;
    return pill2;
    }*pacman class (only the part of code used for collision detection with pills)*for(obst in pills.populatePills()) {
    if(obst.boundsInLocal.intersects(nextposx - 20, nextposy - 20, 40, 40)) {
    pills.deletePill(pillCounter);
    pillCounter++;
    pillCounter = 0;*and finally, the main class (used to output everything to screen)*var pm: Pacman = new Pacman();
    var ghost: Ghost = new Ghost();
    var pills: Pill = new Pill();
    Stage {
    title: "PacmanFX"
    width: 900
    height: 700
    scene: Scene {
    fill: Color.BLACK
    content: [
    pills.populatePills()
    map.map()
    pm.create()
    }Help would be greatly appreciated as I am completly stumped!!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I solved it. I declared the pills class & created a pills sequence the pacman class. And in the main class I called the pills sequence from pacman class, not from the pills class.

Maybe you are looking for