Screen Programming * removed_by_moderator *

Hi everyone,
I'm very new for screen programming in OOP's . Can any one tell me how to implement the screens in our report? plz tel me how to write attributes, element list and flow logic and also how the flow logic is implemented using layout? give me simple code...( i'm excepting ABAP code not theorotical part)...
Thanks in Advance
Edited by: Julius Bussche on Jul 16, 2008 8:37 AM

Hey!
  Check out this link
http://saplab.blogspot.com/2007/10/sample-abap-program-for-module-pool_18.html
One thing 
   Kindly close all your questions you have posted before otherwise moderator will lock this question . Read the rules of enagagement.
Name:  priya patil  - View user's Business Card   
Registered:  Apr 18, 2008 
Total Posts:  47 
Total Questions:  28 (28 unresolved) 
Forum Points:  0 
Regards
Abhijeet

Similar Messages

  • FIle path in Screen Programming

    Hi I am new to screen programming.
    My program would pick a file from desktop and process it.
    I am a bit confused how would I give the file path. Should it be a input/output field??
    I want something like,
    PARAMETERS: filename TYPE text255 OBLIGATORY.
    ANy suggestions.
    Ster.

    Hi,
    Try this code ..
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: P_FILE LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN: END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
       CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          field_name = p_file
        CHANGING
          file_name  = p_file.
    DATA : lv_file  TYPE string.
    IF P_FILE IS NOT INITIAL.
    lv_file = p_file.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                      = lv_file
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = 'X'
       DAT_MODE                      = ' '
      tables
        data_tab                      = LT_ITAB
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      ENDIF.
    Regards,
    Saran

  • Plugging in iPhone 'interrupts' full-screen programs

    When I plug in my iPhone to charge, if I'm currently in a full-screen program (i.e., playing World of Warcraft), it causes the program to be interrupted and go to a partial minimization. Is there a way I can get this to stop? Thanks.

    I just started getting this same problem in IOS 7.1,  never had a problem till before IOS7.1  When it gets to step 6 or 7 it will turn to a blue screen and restart with a message on my Mac that says "iphone can not be detected" or something like that.
    Anyine got any fixes for it?

  • How to add F1 help on a field for a screen program?

    Dear all,
    Can you suggest the method / sample code to add F1 help text for a field on a screen program.
    what is the methodology to do this!!?
    Regards,
    Vj

    Hi,
    if u maintain the doccumentation for the data element of a field(if it is from data dictionary table) which u r refering to create the screen element u don't need to write any doccumentation.otherwise follow this link
    Adding F1 help.
    rgds,
    bharat.

  • Tutorial for Screen programming & Module-Pool programming

    Hi Experts,
    I have no previous knowledge of Screen programming & Module-pool programming.
    Please provide me good tutorials on those so that I can master those in a couple of days as I need to use those in my current assignment.
    I require those badly.
    Rewards assured.
    Thanks.
    Anirban.
    Moderator message: please do not ask for documents or tutorials, search for available information, do not use terms that assign a higher priority to your issue compared to all others, do not promise rewards.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    Edited by: Thomas Zloch on Nov 15, 2010 2:14 PM

    hai guru,
    use abapdocu----- tcode give ur keyword and search it.
    or
    sap technical .
    search in sap sdn ok.
    thanks.
    anji

  • Crystal Report Intigration using screen programming

    I am having 2 problems regarding crystal report.
    1) I have developed crystal report using crystal report wizard for table 'MARA'
    now i want to call this crystal report using screen programming. How i can do this.
    2) and how i can call parameterised crystal report using abap programming.
    can any one help me ?
    Thanks.

    hi,
    this is code for open the crystal report press the button.
    First import the crystal report  using Report  and  layout manager
    goto administration->setup->general--->Report  and  layout manager
    create one button in add-on form.when we press the button the following event triggered.
    get the docnumber for that particular form and pass it.
    Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
                            If pVal.ItemUID = "btnPrint" Then
                                Dim strAcNcmr As Integer
                                strAcNcmr = objForm.Items.Item("txtDocNo").Specific.Value
                                Dim oRS As SAPbobsCOM.Recordset
                                oRS = objSBOAPI.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                                oRS.DoQuery("SELECT MenuUID FROM OCMN WHERE Name = ' Purchase Indend' AND Type = 'C'")
                                objSBOAPI.SBO_Appln.ActivateMenuItem(oRS.Fields.Item(0).Value.ToString())
                                Dim oForm1 As SAPbouiCOM.Form
                                oForm1 = objSBOAPI.SBO_Appln.Forms.ActiveForm
                                oForm1.Items.Item("1000003").Specific.String = strAcNcmr
                                oForm1.Items.Item("1").Click()
                                oForm1.Items.Item("1").Visible = False
                                oForm1.Items.Item("2").Click()
                            End If
    this is easy solution for open the crystal report for add-on form
    Thanks & regards
    B.lakshmi narayanan

  • Offline Screening program /SAPSLL/SPL_OFFLINE_SCREENING

    Hi all,
    Has anyone tried running the Offline screening program /SAPSLL/SPL_OFFLINE_SCREENING in the background.
    I have tried this but am getting a message that this program is not executable in the background.
    Can anyone please enlighten me on this.
    Thanks in Advance,
    Sam

    Yes, this program can be run in background.
    You must provide filenames in the "File Path on Application Server" area of the screen.  Specify the "Path of Source File" and "Path of Local File" fields -- please note that these file must be in XML format with specific tags.  Once you provide these parameters for these fields, you can "Execute in Background."  The result will be written to an XML file that is specified in the "Path of Target File" field.  Also, if you have enabled the configuration to "Write Audit for Simulation of SPL Screening" in the "Control Settings for "Sanctioned Party List Screening" Service" configuration activity, you will be able to review the SPL Audit Trail for any matches.
    Let me know if this helps.
    Chris

  • I/o field in screen programming

    the default data type of i/o field in the screen programming is char(1). how can we declare it as char(10), i want to capture the value of the field in one screen to another field in other screen... in doing this i am able to get only the first character....
    how to populate the whole value....
    thank you.

    Hello,
    Is the dialog program custom or SAP?
    If custom, try going into SE80 for the function group and check what the source of the screen field is.  If it comes from a structure, then you will need to increase the source field in the structure, which means you also have to check and see if any other code or program will be impacted by the field size increase.  If the field is defined directly on that particular screen, then you should be able to increase the size using the Screen Painter (Attributes tab) for that field.  You would still need to check for references to the field to see if any other code is affected.
    Hope this helps.
    K---

  • Copied screen program not working

    Dear experts,
    There is one screen program which is already created.
    I have to remove One push button from text box.
    I had this program and removed the push button .
    Now when I test the program through SE51 the other pushbuttons are not working.
    When I debugged It . The program is not calling my screen but it is calling   SAPLSCR0 and screen Number 0401.
    My doubt is from where this program is called.
    After copying the program which screen numbers I have to give to copied program.
    Can I give the same screen numbers Or I have to change screen number.
    how to check the available screen numbers which I can use.

    Hi,
         What Raghavender said is exactly correct. Also Besides this,  You have to create Transaction since it is the module pool program. While creation of the transaction code, make sure that you have to provide the main screen number. I mean the initial screen number. This effects the screen execution alot.
    Cheers,
    Murali Krishna T

  • XSD for the input file for GTS offline screening program

    Hi Friends,
    We are running some performance tests for our current project to  evaluate how much time the offline screening program (report "/SAPSLL/SPL_OFFLINE_SCREENING") takes in GTS. This report expects the customers in an XML format - would you know where I can get the definition of this expected XML format (e.g. the XSD for this input file)?
    Can some one help me to provide response XML definition of what GTS generates for the SPL check ?
    Thanks,
    Sudheer.

    Hi Sudheer,
    please follwow the steps:
    1. Prepare an XML file  with Adress data
    -> you can create a simple excel file that has to be converted into an      
    XML-file. See also the GTS documentation http://help.sap.                
    com/saphelp_gts72/helpdata/en/b1/8dc5c62c885046ab71fdcddc6ad2c2/frameset 
    .htm.                                                                    
    2. Upload the local file  to GTS for SPL Screening
    3. Examine the SPL screening results in GTS
    4. Save the results in Audit trail and&or in local file
    Best regards,
    Christin

  • Transfer of data in screen programming

    Hi All,
    Can u clarify how data is transfered in screen programming. as we dont write any write  statement in screen programming.
    i know that it will compare the screen field names with abap variables. so can anyone clarify in this point.
    if i was right or wrong can any one make me clear how data is going to transfer.
    Thanks
    T.Ramana Prasad

    *& Module pool       ZBHMOD2                                           *
    REPORT  ZBHMOD2.
    DATA: OKCODE1 TYPE SY-UCOMM,
          OKCODE2 TYPE SY-UCOMM,
          ENAME(10) TYPE C,
          DNAME(10) TYPE C.
    MODULE STATUS_1000 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
      SET TITLEBAR 'TIT1'.
    ENDMODULE.                 " STATUS_1000  OUTPUT
    MODULE STATUS_1001 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
      SET TITLEBAR 'TIT2'.
    ENDMODULE.                 " STATUS_1001  OUTPUT
    MODULE USER_COMMAND_1000 INPUT.
    CASE OKCODE1.
    WHEN 'BACK'.
    SET SCREEN '0'.
    WHEN 'NEXT'.
    DNAME = ENAME.
    SET SCREEN '1001'.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_1000  INPUT
    MODULE USER_COMMAND_1001 INPUT.
    CASE OKCODE2.
    WHEN 'BACK'.
    SET SCREEN '1000'.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_1001  INPUT
    FORM ON_CTMENU_FORM USING ZDEMO1 TYPE REF TO CL_CTMENU.
    CALL METHOD ZDEMO1->LOAD_GUI_STATUS
    EXPORTING
          PROGRAM = 'ZDEMO1'
          STATUS = 'ZDEMO1'
          MENU = ZDEMO1.
    ENDFORM.                    " ON_CTMENU_FORM
    FLOW LOGIC:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1000.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_1000.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1001.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_1001.
    hi,
    this is a simple program to move dat from screen to screen.
    regards,
    bharat.

  • EnjoySAP + Screen Programming

    Hello Friends,
    I have few confusion and would be great if some one help me to solve them
    1)What is basically EnjoySAP, is it an alternative technology to do Screen Programming ?
    2)Is dialog programming and screen programming is same, or they have different approach, if different, what is the difference between dialog programming and screen programming.
    Would be appriciated if some one point out any resource in this regard,
    With Regards,
    Haider Syed.

    Hi Haider
    I see you got some answers, however here is my explanation.
    EnjoySAP is the new face of SAP in a design aspect. With this new design perspective SAP developed a new user interface and new programs whereas keeping old ones for backward compatibility (e.g. ME21 and ME21N).
    Moreover, with EnjoySAP, SAP delivered <b>EnjoySAP controls</b> (ALV Grid, ALV Tree, Data Provider, HTML viewer, picture viewer, etc...) providing flexibility, user-friendliness, reusability and visuality based on CFW Control FrameWork developeed by SAP architects.
    There are some number of books you can refer to:
    e.g.
    <a href="http://www.sap.info/index.php4?ACTION=noframe&url=http://www.sap.info/public/en/bookstore.php4/page/0/book/Book-157663c97181f97cf4">Programming with Controls in ABAP Controls Technology 4.6</a>
    <a href="http://www.buch.de/buch/00906/835_dialogprogrammierung_mit_enjoysap_controls.html">Dialogprogrammierung mit EnjoySAP Controls (Deutsch)</a>
    The standard SAP course relevant to EnjoySAP Controls is <b>BC412 (ABAP Dialog Programming using EnjoySAP Controls)
    </b>
    For example, you can refer to the tutorial <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/an%20easy%20reference%20for%20alv%20grid%20control.pdf">"An Easy Reference for ALV Grid Control"</a> to look for features of ALV Grid Control.
    For your second question, screen programming is dialog programming. You can use both in place of eachother. The names differs just when you look from different aspects.
    Hope this musch helps...
    Regards
    *--Serdar
    [email protected]

  • Difference between DIALOGUE programming and SCREEN programming

    Hi,
      Please tell me the difference between dialogue programming and screen programming
    jomon

    hi
    -          A transaction is dialog program that change data objects in a consistant way.
    A dialog program must fulfil the following requirements
    -          A user friendly user interface.
    -          Format and consistancey checks for the data entered by the user.
    -          Easy correction of input errors.
    -          Access to data by storing it in the data bases.
    screen progarmming means.dialogue programming contains.
    -          Screens (Dynpros)
    -          Each dialog in an SAP system is controlled by dynpros.A dynpros consists of a screen
    And its flow logic and controls exactly one dialog step.
    -          ABAP/4 module Pool.
         Each dynpro refers to exactly one ABAP/4 dialog program .Such a dialog program is also       called a module pool ,since it consists of interactive modules.
    regads
    praveen

  • In screen programming how to activate a  i/o. field .....?

    in my application -in screen programming i have 2 push buttons like -- EXIT and Click me....and also i have an I/O. field . initiala;lly we should take i/o. field as invisible mode. what i requirement is --if i click on push button i/o. field should be activate and data it have should display at output. when i click EXIT i should terminate the program.
    how to activate a  i/o. field .....?

    Hi,
    by using loop at screen we can supress or activate tht i/o field.
    as
    case sy-ucomm
    when 'clickme'.
    loop at screen.
      screen-active = '1'.
    endloop.
    when 'exit'.
      leave program.
    endcase.
    for tht button keep function type as E ok
    Plzzzzz reward if helpful....
    dont forget to reward if helpfulllll

  • Screen Programing

    Moderator message: Please use a meaningful subject in future and search before asking questions
    Dear All,
    is there is any option in screen programing for opening Internet or any setting in screen to open internet
    Edited by: Matt on Oct 21, 2009 10:23 AM

    >
    Pankaj Vashista wrote:
    > Dear All,
    >
    >
    >
    > is there is any option in screen programing for opening Internet or any setting in screen to open internet
    What do you mean by opening internet?
    If you are trying to have a HTML viewer control to browse the web, see programs starting with SAPHTML*.
    Be specific with your question. And give a more meaningful subject line in the future.
    Regards
    Karthik D

Maybe you are looking for

  • Errors, Errors, and More Errors

    I am having massive problems with our Sql Server (v8 sp4)/Websphere (5) application. We rolled out a new version of our (previous stable) J2EE application at the beginning of December 2005. Our app uses container-managed transactions, no entity beans

  • Runtime error in off_cycle payroll

    Hello Experts, I have configured off-cycle payroll for both quality and production server, it is running sucessfully in quality server. But whenever i m trying to run off-cycle run in production server , there is showing runtime error with the follow

  • BPM when both sender and receiver systems are Sync. Please help!

    Hi Experts,    I want to use BPM when both sender and receiver systems are Sync. For example: web service ---> RFC I have tried the solution as given in the blog https://weblogs.sdn.sap.com/pub/u/39730 [original link is broken] [original link is brok

  • Question - Permissions on MLOG$ objects do not survive expdp...

    Hi, all. I'm working to get some cross-schema replication working. Thanks to some help from the forum members, I got over one hurdle last week, but I'm encountering something else odd. I have 2 schemas. SCHEMA2 has some data that SCHEMA1 needs to see

  • .INDD files not showing cs4 icon

    ...after an hour on the phone with tech support..I'm turning to the masses. I've right clicked the file/prop/to change the program to open the file type with. Indesign CS4 is not on my program list.  When I select browse/program/adobe/indesign cs4 an