Creating a screen in report program and calling that screen in program.

Hi,
I have a report program and I want to give output in different screen.
can any one tell me how to create a screen in executable program and calling that screen in program in END-OF-SELECTION for displaying results.
Thanks a lot.
Kiran

Hi,
  Open your program in SE80. Right click on your program. Click CREATE->Screen menu. This will allow you to create screen for the program. 
In the End-of-selection event call the screen using the  commands CALL SCREEN or LEAVE TO SCREEN or SET SCREEN.
CALL SCREEN
http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba4e635c111d1829f0000e829fbfe/content.htm
LEAVE SCREEN/SET SCREEN
http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbab3635c111d1829f0000e829fbfe/content.htm
Regards,
Vara

Similar Messages

  • Can we create purchase order through report programming?

    hi experts.....
    can we create purchase order through report programming?If yes plz give me the thread details?

    Hi,
    Use this code in a program by using a BAPI function module
    Anothe rway is using classical/ALV report using call transaction from a report for changing the PO
    loop at i_header.
        header-ref_1         = i_header-legacy.
        headerx-ref_1        = c_x.
        header-doc_type      = i_header-bsart.
        headerx-doc_type     = c_x.
        header-comp_code     = i_header-bukrs.
        headerx-comp_code    = c_x.
        header-purch_org     = i_header-ekorg.
        headerx-purch_org    = c_x.
        header-pur_group     = i_header-ekgrp.
        headerx-pur_group    = c_x.
        header-vendor        = i_header-lifnr.
        headerx-vendor       = c_x.
        concatenate i_header-bedat+4(4)
                    i_header-bedat+0(2)
                    i_header-bedat+2(2)
                    into header-doc_date.
        headerx-doc_date     = c_x.
        header-created_by    = i_header-ernam.
        headerx-created_by   = c_x.
        header-currency      = i_header-waers.
        headerx-currency     = c_x.
        concatenate i_header-kdatb+4(4)
                    i_header-kdatb+0(2)
                    i_header-kdatb+2(2)
                    into header-vper_start.
        headerx-vper_start   = c_x.
        loop at i_items where legacy = i_header-legacy.
          item-po_item            =  i_items-ebelp.
          itemx-po_item           =  i_items-ebelp.
          itemx-po_itemx          =  c_x.
          if i_header-bsart = 'NB'.
            item-material            =  i_items-ematn.
            itemx-material           =  c_x.
            schedule-quantity        =  i_items-menge * 1000.
            schedulex-quantity       =  c_x.
          else.
            item-short_text          = i_items-ematn.
            itemx-short_text         = c_x.
            item-matl_group          = '1000'.
            itemx-matl_group         = c_x.
            schedule-quantity        =  '1'.
            schedulex-quantity       =  c_x.
          endif.
          item-plant               =  i_items-werks.
          itemx-plant              =  c_x.
          schedule-po_item         = i_items-ebelp.
          schedule-sched_line      = '1'.
          schedulex-po_item        = i_items-ebelp.
          schedulex-sched_line     = '1'.
          schedulex-po_itemx       = c_x.
          schedulex-sched_linex    = c_x.
          concatenate  i_items-eildt+0(2)
                       i_items-eildt+2(2)
                       i_items-eildt+4(4)
                       into schedule-delivery_date.
          schedulex-delivery_date  =  c_x.
          item-price_unit          =  i_items-peinh * 100.
          itemx-price_unit         =  c_x.
          item-tax_code            =  i_items-mwskz.
          itemx-tax_code           =  c_x.
          item-shipping            =  i_items-evers.
          itemx-shipping           =  c_x.
          account-po_item          = i_items-ebelp.
          accountx-po_item         = i_items-ebelp.
          accountx-po_itemx        = c_x.
          if i_header-bsart = 'FO'.
            item-pckg_no  = sy-tabix.
            itemx-pckg_no = 'X'.
            limits-pckg_no        = sy-tabix.
            limits-limit          = i_items-overalllimit.
            limits-exp_value      = i_items-expectedoverall.
            posrvaccessvalues-pckg_no    = sy-tabix.
            posrvaccessvalues-line_no    = '0'.
            posrvaccessvalues-serno_line = '00'.
            posrvaccessvalues-percentage = '100.0'.
            posrvaccessvalues-serial_no  = '01'.
            account-serial_no     = '1'.
            accountx-serial_no    = '1'.
            accountx-serial_nox   = c_x.
            account-quantity  = '1'.
            accountx-quantity = c_x.
            call function 'CONVERSION_EXIT_ALPHA_INPUT'
              exporting
                input  = i_items-kostl
              importing
                output = account-costcenter.
            accountx-costcenter   = c_x.
            call function 'CONVERSION_EXIT_ALPHA_INPUT'
              exporting
                input  = i_items-sakto
              importing
                output = account-gl_account.
            accountx-gl_account   = c_x.
            item-acctasscat       = i_items-knttp.
            itemx-acctasscat      = c_x.
            item-item_cat         = i_items-epstp.
            itemx-item_cat        = c_x.
          endif.
          append:item,itemx,schedule,schedulex,account,accountx,limits,posrvaccessvalues.
          clear :item,itemx,schedule,schedulex,account,accountx,limits,posrvaccessvalues.
        endloop.
        call function 'BAPI_PO_CREATE1'
          exporting
            poheader                     = header
            poheaderx                    = headerx
    *   POADDRVENDOR                 =
    *   TESTRUN                      =
    *   MEMORY_UNCOMPLETE            =
    *   MEMORY_COMPLETE              =
    *   POEXPIMPHEADER               =
    *   POEXPIMPHEADERX              =
    *   VERSIONS                     =
    *   NO_MESSAGING                 =
    *   NO_MESSAGE_REQ               =
    *   NO_AUTHORITY                 =
    *   NO_PRICE_FROM_PO             =
            importing
            exppurchaseorder             = ponumber
    *   EXPHEADER                    =
    *   EXPPOEXPIMPHEADER            =
            tables
            return                       = return
            poitem                       = item
            poitemx                      = itemx
    *   POADDRDELIVERY               =
            poschedule                   = schedule
            poschedulex                  = schedulex
            poaccount                    = account
    *   POACCOUNTPROFITSEGMENT       =
            poaccountx                   = accountx
    *   POCONDHEADER                 =
    *   POCONDHEADERX                =
    *   POCOND                       =
    *   POCONDX                      =
            polimits                     = limits
    *   POCONTRACTLIMITS             =
    *   POSERVICES                   =
       posrvaccessvalues            = posrvaccessvalues.
    *   POSERVICESTEXT               =
    *   EXTENSIONIN                  =
    *   EXTENSIONOUT                 =
    *   POEXPIMPITEM                 =
    *   POEXPIMPITEMX                =
    *   POTEXTHEADER                 =
    *   POTEXTITEM                   =
    *   ALLVERSIONS                  =
    *   POPARTNER                    =
        if ponumber eq space.
          loop at return where type = 'E'.
            clear buffer.
            move-corresponding return to e_return.
            concatenate i_header-legacy e_return into buffer.
            transfer buffer to p2_file.
          endloop.
          move-corresponding i_header to i_eheader.
          transfer i_eheader to p3_file.
          loop at i_items where legacy = i_header-legacy.
            move-corresponding i_items to i_eitems.
            transfer i_eitems to p4_file.
          endloop.
        else.
          commit work and wait.
        endif.
        clear:ponumber,header,headerx,item,itemx,account,accountx,limits,return,schedule,schedulex,posrvaccessvalues.
        refresh:item,itemx,account,accountx,limits,return,schedule,schedulex,posrvaccessvalues.
      endloop.
      close dataset p2_file.
      close dataset p3_file.
      close dataset p4_file.
    Regards
    Krishna

  • How to create TCode to a report program...?

    <b>Hi all
    How to create a transaction code to a report program,,
    can any one give me  in step-by-step procedure..
    points will b rewarded for the exact answer....
    Thanks,</b>
    regards,
    prashanth

    Hi Prashanth,
    Following are the steps for crating t-code for a report program:
    1. Goto transaction SE93 and press create.
    2. Give the transaction code to be created
    3. Enter short text
    4. Select the type of transaction to be created (based on ur requirements).
    5. Enter screen number (1st screen to be displayed)
    6. In GUI support, check all the checkbox
    7. Save and activate.
    You can also do this procedure by going to SE80, right click on program name->create transaction.
    THanks
    Vijay
    PLZ Reward points if helpful

  • Want to create a Quotation through Report programming

    Hi Expert,
    I need to create an Quotation in my ERP system through report programming. I just want to know, what are the FM Used for this purpose or any idea about this. I really welcome your great ideas.
    <removed by moderator>
    Thanks and Regards,
    Shakun
    Moderator message: please search for available information/documentation before asking.
    Edited by: Thomas Zloch on Oct 23, 2010 6:05 PM

    Hi Niji,
    refer to the following link:
    /people/kevin.wilson2/blog/2007/08/31/what-mechanisms-are-available-to-you-in-order-to-create-a-business-object-event
    hope this will help you.........

  • Creating a customized Historical Report for Abandon Calls

    Hello
    I have a specific question about generating a customized report for a user.  She wants to know the abandonment rate minus the calls that drop off in 10 seconds.  I don't use historical reports so I'm not too sure how to do this.  I looked at the canned reports but it doesn't look like none of those works.
    Can this be done?
    Mark

    Hi Mark
    Here's a couple of suggestions:
    1) You can try the 'Contact Service Queue (by Interval)' report. This has a stat on it called 'Percentage of Service Level Met— Without Abandon'. The description of this is:
    Percentage of presented calls, not counting abandoned calls, handled within the time shown in the Service Level field. This value is calculated as follows:(Number of calls handled within service level / (Number of calls presented – Number of calls abandoned within service level) * 100%
    So to get this working the SLA on your queues would need to be set to 10 seconds, and presumably 100% of calls to be answered at 10 seconds.
    Be aware that the SLA calc is done when the call happens, so if you don't already have those settings it will apply to calls from the time you make the change.
    2) As per Anthony's suggestion, and custom report is the other option. It's a matter of developing SQL code and a Crystal template, and some XML for UCCX HRC - so unless those are things you are familiar with it's not trivial. Maybe PM me if you want it doing for you.
    Regards
    Aaron

  • Creating custom fields for manual entry and fields that gather data from Active Directory

    So I am no SQL developer but I am being asked to do this.. I've spent the last few days researching but cannot find anything related to my particular situation.
    I have made a copy of the following report to add or modify a few columns:
     Hardware 01A - Summary of computers in a specific collection
    So I have 2 questions:
    How do I create a field that will search the "Managed By" tab in the Computer Properties window in Active Directory.
    How do I create a field that can be manually updated for example: "Date Deployed" or "Deployed By: Analyst"
    I understand I need edit this in SQL report builder and think I know how to create the columns. I believe all I am really asking is.. What are the SQL statements I need to write in order to get this to work?
    I'm sure it's not as cut and dry as I hope it to be so I will be standing by to try to answer any further information that you will want to know.
    thanks!

    Before you can accomplish this you need:
    "Managed by" -attribute has to be added to your Active Directory System Discovery, more on this here: http://technet.microsoft.com/en-us/library/bb693618.aspx
    For "Date Deployed", I'd use a custom Tattoo script in your task sequence to "Tattoo" the installation info in the registry, after that I'd configure the Hardware Inventory to pick that from the registry, more on this here: http://ccmexec.com/2012/08/script-to-tattoo-the-client-registry-during-osd/
    and here: http://www.petervanderwoude.nl/post/reporting-about-the-all-the-different-os-deployment-versions-with-configmgr-2012/
    After those prerequisites, you can start working with SQL reports. More info here: http://myitforum.com/myitforumwp/2012/10/29/sccm-2012-reporting-for-dummies-creating-your-own-ssrs-reports/

  • Report of Outbound calls that were not answered

    Hello
    does anyone know if there is a report in UCCX that shows me the quantity of outbound calls that were not answered for a determined CSQ?
    My UCCX version is 8.5.
    Thank you
    Marcos

    Not specifically, In the Agent Detail Report or CSQ report it's the difference in "Calls Presented" and "Calls Handled".
    CP - CH = unanswered
    Mike

  • Facetime phantom calls and calls that are not from who they say they are

    My wife has an iPhone 4 and twice in the last week Facetime calls that say they are coming from her mother have been originated by someone other than her mother. The second time this happened the stranger made an obscene gesture. Since Apple is routing the call over the Internet, and since the iPhone is obviously phoning home, it should be easy for Apple to know the source and destination but when my wife called the Apple tech seemed to just want to read a script instead of investigate this potentially serious breach of security. In addition to these two incidents there have been numerous others where her displays says her mother is calling via Facetime but yet her mother is not calling. Seeing as my wife Facetimes with her mother, with my children getting on the phone as well, I find this possible issue is worth more than a reset your settings on the phone reply. Has anybody else heard of or seen issues like this?

    This is wild, this just happened to us.
    My husband and I both have iPhone 4's. I left my iPhone on my bed in a room by itself while my husband and I were downstairs in the Family Room together.
    His phone starts ringing and it's a FaceTime from me, but I'm in front of him and my phone is upstairs.
    Ok, so of course if this is simply an breach of our phone protocol - that concerns me of course. But to be honest, I'm relieved to know there's a reasonable explanation - because otherwise we would have to call 911 to do a more thorough search for intruders in our house.
    But seriously, what's going on here. My husband and I want to disable Facetime altogether. Why have it if it won't work securely?

  • Trouble creating a open items report (BSID and BSAD tables)

    Hi guys,
    im creating a report that must display open items for an especific date, and i do it very well with a query from BSID table.
    The problem comes when u use a date on the past, example last week.
    if u do that, the items are now closed and are no longer stored in BSID table, so i think that they must be now in BSAD table, but i dont know how to relate wich ones are recently closed...
    i also tried to do a query from BSAD with augdt >= last week date, and i almost get the items that i needed(this items plus the ones from BSID), but is not exactly because u can close an item with a date in the past..
    is there any way to relate that 2 tables, or what exactly happens when an items change from bsid to bsad??
    any ideas?

    Hi;
    I think the best way to recive the necessary information is using logical data base DDF.  You can use report RFITEMAR to see how use the logical data base.
    Some months ago I've read the data in my report in following way:
    1. make Z-copy of report RFITEMAR
    2. in Z-copy after end-of-selection insert
    export it_pos to memory id 'POS_TABLE'.
    3. In your report write a form similar to my form below:
    *&      Form  submit_zrfitemar
    FORM submit_zrfitemar  tables    rkunnr  type trgr_kunnr
                                     it_pos  type it_rfposxext
                           using     ibukrs  type bukrs
                                     idatsd  type sy-datum.
       data: rspar    type table of rsparams,
             l_rspar  type rsparams,
             l_pos    type rfposxext,
             akunnr  type kunnr.
       l_rspar-selname = 'DD_KUNNR'.
       l_rspar-kind    = 'S'.
       loop at rkunnr.
           move-corresponding rkunnr to l_rspar.
           if l_rspar-high = ''.
               l_rspar-option  = 'EQ'.
               else.
               l_rspar-option  = 'BT'.
           endif.
           append l_rspar to rspar.
        endloop.
        clear: l_rspar.
        l_rspar-selname = 'DD_BUKRS'.
        l_rspar-kind    = 'S'.
        l_rspar-sign    = 'I'.
        l_rspar-option  = 'BT'.
        l_rspar-low  = ibukrs.
        append l_rspar to rspar.
        clear: l_rspar.
        l_rspar-selname = 'PA_STIDA'.
        l_rspar-kind    = 'S'.
        l_rspar-sign    = 'I'.
        l_rspar-option  = 'BT'.
        l_rspar-low  = idatsd.
        append l_rspar to rspar.
        clear: it_pos[].
      submit ZRFITEMAR
      with selection-table rspar
      and return.
      import it_pos from memory id 'POS_TABLE'.
    ENDFORM.                    " submit_zrfitemar
    You find the necessary data in table IT_POS.
    JS
    Edited by: John Smith on Oct 9, 2008 5:42 PM

  • How can I create a function using TestStand variables and call it from a step's Pre-Expression?

    In one sequence I have dozens of Pre-Expressions which are almost the same thing, like this...
    Locals.tagID = (Parameters.singlePhaseEnabled ? "L" : "D") & Str(Locals.phase) & "006"
    ...and the only thing different is that three digit string at the end ("006" will vary). How can I write a function that I can call from a step's Pre-Expression so it would look something like this? ...
    Locals.tagID = MyNewFunction("006")

    You cannot write custom commands for expressions.
    That being said, there are a couple of options:
    Create a subsequence with a single step. Use a parameter of the sequence as "function parameter".
    Create a custom step type including a substep module which implements the function. Add an edit substep to enable the user of the steptype to gracefully change the parameter.
    Store the variable parameter in a local/file global variable and modify the value in each step. This will, at least, keep the "function" the same for every step.
    Norbert

  • Create Two TS3.5 Reports (XML and ATML)

    I there , I am trying to create Two Reports from one execution. I found a great document with an example sequence file for doing just this on the NI website. This works great when trying to generate a txt report and maybe an xml or html report but I am trying to generate an xml file and an atml file and I want the xml file to be displayed at the end of the execution. All that happens is that my xml report is generated and displayed but no sign of the atml report. (I know it's really an xml report) but everything works fine when using txt and html
    Any ideas ?
    I've attatched my test sequence and a multiple report sequence to be used as the process model.
    Attachments:
    Simple Test.seq ‏23 KB
    CustomSequentialModelMultiReport.seq ‏272 KB

    'm not very well versed in style sheets, so I don't really know if trml.xsl provides an appropriately formatted output.  However, ust from the header,
    - <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:n1="http://www.ieee.org/ATML/2004/01/TestResults" xmlns:c="http://www.ieee.org/ATML/2004/01/Common" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
    it looks like this stylesheet is in conformance with an ieee ATML standard.
    Is there any reason/limitation TestStand won't allow another style sheet to be used instead of trml.xsl.

  • How do I create a freeze frame from footage and extend that for 5 seconds?

    I have a quicktime screen grab movie I've imported, and I want to hold on a certain frame that's at the very beginning of the clip, and then proceed with the movie when the voiceover (separate soundtrack) gets to a certain point.
    iMovie 11.
    Thanks
    doug

    Hi Doug,
    Position the playhead/skimmer (vertical red line) at the very beginning of the clip. The playhead should snap to the first frame, provided you have this turned on in the menu item View > Snap to Ends.
    Without moving the playhead, right-click (or Control-click) and select Add Freeze Frame from the pop-up menu. The default duration is 4 seconds (although this setting can be changed for individual projects in File > Project Properties). To adjust the duration in the timeline, double-click on the freeze frame to open the Inspector. In the Clip tab you can change the duration by typing in a new time.
    John

  • Read Address book and call that number

    I want to make an Application that will
    read mobile number from Data Base from a Mobile Sim Card
    to ring once
    and read all available active Mobile Number
    and store as Available Numbers
    and the mobile that don�t ring would be stored as non active numbers. to be stored in Non available Data format.
    Please help me ...

    Welcme to the Frums!
    http://supportforums.blackberry.com/rim/board/message?board.id=8300&thread.id=35224&view=by_date_asc...
    Ditto Milton response.  
    Nurse-Berry
    Follow NurseBerry08 on Twitter

  • Can we call a BDC from REPORT program.

    hi
    can anybody tell me that
    can we call a BDC from REPORT program.
    thanks&regards

    Yes, It can be called.
    Infact you can generate a program from SHDB recording and in the program generated you can put necessary report logic and call the BDC/CALL TRANSACTION as required.
    <b>Please check here for a sample program,</b>
    http://www.sapdevelopment.co.uk/bdc/bdc_ctcode.htm
    Regards
    Kathirvel

  • How to call a Include type Report Program in Executable Program. ?

    Hi experts,
    I have created a Include type report program and I want to run this include program in other report program. Which abap statement should i use ?
    Thanks
    Saurabh

    Hi Saurabh,
    We can make use of programs of Type - Include(I) in other type of ABAP Programs.
    These Include programs cannot be executed directly but can be used as a part of the main program i.e Executable program - Type E.
    So after creating your main program of type executable program then use the below line
    REPORT ZM_SAMPLE_PROGRAM.
    INCLUDE INC_PRG_NAME.
    Now the code as availablein INC_PRG_NAME becomes part of the  main program ZM_SAMPLE_PROGRAM.le
    Also you can make use of this Include program in other executable/include programs too...
    Regards,
    Rafi

Maybe you are looking for

  • Hard time for selecting Startup Disk (partition) in Mac Classic II.

    Dear coleagues, I'd like your help to understand and solve a tricky trouble. I'm sorry for the long text, but the issue is probably living in a small detail. The issue regards a Mac Classic II with internal and external HDDs. Internal HDD has two par

  • Mac Mail Keeps Freezing!

    Hi, I'm hoping someone might be able to help me. Over the last week I've been having trouble with Mac Mail for the first time. Mail itself opens ok, then I can literally send one email or send and receive once before the spinning colour wheel appears

  • Correction Invoice with Items TreeType != iNotATree

    Hi, I want to create Correction Invoice document with Items which TreeType = SAPbobsCOM.BoItemTreeTypes.iSalesTree When I'm adding Correction with reference to some document (BaseType = 13 or 165, BaseEntry=... and BaseLine = ...) then everything is

  • Convert Solaris 10 physical system into zones

    Hi, I have a few 220R servers running Solaris 10 and some small applications. I plan to covert them into zones which will resident in a V890 and Run Solaris 10 too. Anybody let me know how to do it ? Thanks,

  • Updating mysql and rsync on leopard server.

    I would like to update to the latest versions of both mysql and rsync on a leopard server. There are already pre-installed versions from the original OS install. I am looking for the best practice approach here. Do I remove the pre-installed first or