In Executable program displaying results in custom screen.

Hi,
I have a executable program,  when the program display's the out put of this program I need to display output in custom screen (like screen 100) instead of displaying in default List screen.
Can any one tell me how to create and display output in that screen.
Thanks.
Chris.

Hi,
  Check the pseudo code....
<b>Start-of-selection.</b>
Retrieve data
<b>End-of-seleciton</b>
call screen 0100.
<b>*PBO</b>
form PBO_200 output.
endform.
<b>*PAI</b>
FORM PAI_200 input.
endform.
To call Screens use any of the following commands
<u><b>1. CALL SCREEN scr.</b></u>
Addition:
... STARTING AT x1 y1 ... ENDING AT x2 y2
<b>Effect</b>
Calls the screen scr; scr is thenumber of a screen of the main program. You use SET SCREEN 0. orLEAVE SCREEN. to define thereturn from the CALL screen.
<b>Addition</b>
... STARTING AT x1 y1  ENDING AT x2 y2
<b>Effect</b>
The coordinates x1, y1 (start column andstart line in the window) and x2, y2 (end column and endline in the window) define the size and position of the CALLscreen ("top left - bottom right"). Besides these coordinates,you can also see the contents of the primary window, but cannot performany action there.
<b>Note</b>
If "ENDING AT ..." is not specified, suitablevalues are substituted for x2 and y2, taking into accountthe size of the called screen.
<b>Note</b>
<b>Runtime errors:</b>
DYNP_TOO_MANY_CALL_SCREENS: No further screen level (callscreen); the maximum number of nested screen levels is restricted to 50at present.
2. <u><b>SET SCREEN scr.</b></u>
<b>Effect</b>
In ABAP dialogs: Sets the number of the nextscreen.
Screen number scr is then processed when the current screen has finished.
<b>Example</b>
SET SCREEN 200.
<b>Notes</b>
To leave a CALL SCREEN chain or return to the application menu, use one of the followingstatements:
SET SCREEN 0. or LEAVE TO SCREEN 0.
I hope this solves your problem.
Regards,
Vara

Similar Messages

  • How to open a Excel file and display on the custom screen

    Guys, I am new to screen programming. In my first screen (SCREEN #9000) I want to put a field, where I must be able to select a file from my desktop and when I click the DISPLAY button, it should suck all the data from the spread sheet in to an internal table, and should display the next screen  (SCREEN #9001), displaying the data from the internal table along with a button called LOAD. Now when I click the LOAD button after reviewing the data, it must load the data to my custom table in R/3. I know how to load an Excel spreadsheet to R/3 without the custom screens. But my requirement now is to do from custom screens like I mentioned above. Any ideas how to do this? Thanks.
    Dan

    Hi Dan,
    In my first screen (SCREEN #9000) I want to put a field, where I must be able to select a file from my desktop and when I click the DISPLAY button, it should suck all the data from the spread sheet in to an internal table, and should display the next screen (SCREEN #9001)
    For  this create a MPP program and create a Push button. Write the code for this to open a file like use f4_filename.From here you are able to select a file.
    + displaying the data from the internal table along with a button called LOAD. Now when I click the LOAD button after reviewing the data, it must load the data to my custom table in R/3.+
    With the above you are able to open a file and now you have to load that data into internal table. Select the file from the desktop.
    Totally you have to create 1) Screen 2) Push button( Open File) 3) Load data ( From file) .
    [Create Push Buttons|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba9a635c111d1829f0000e829fbfe/content.htm]
    Check this if there is any please post.
    Regards,
    Madhu.

  • A conversion error occurred while the program -- display data on the screen

    HI all,
    Iam getting a dump error described below:
    A conversion error occurred while the program was trying to
    display data on the screen.
    The ABAP output field and the screen field may not have the
    same format.
    Some field types require more characters on the screen than
    in the ABAP program. For example, a date field on a screen needs
    two characters more than it would in the program. When attempting to
    display the date on the screen, an error will occur that triggers the
    error message.
                  Screen name.............. " Ztable_MM_MRQ "
                  Screen number............ 0100
                  Screen field............. "WA_PO_ITEMS-MENGE"
                  Error text............... "FX015: Sign lost."
    Further data:
    Give us step by step procedure to rectify the same with T.codes
    Thanks
    Regards
    Siraj

    Raymond
    please give details in se51 where i have to put a "V"  to allow negative amounts
    whether it is in Text or I/O templates
    name                                     type of screen element         Text or I/O field
    WA_PO_ITEMS-MENGE     Text                           PO_quantity__     
    regards

  • Execute Package - Display results?

    How do I execute a package in SQL Developer? Here is my package body. I am trying to see the results of the cursor which I am assumming is going to have the rows returned in it. I am new to Oracle and so I am having a hard time with the syntax and what it is looking for.
    create or replace package custom_pkg
    as
    TYPE t_cursor IS REF CURSOR;
    procedure usp_customdisplay_sel (p_cursor out t_cursor);
    end;
    create or replace package body custom_pkg
    as
         procedure usp_CustomDisplay_Sel (p_cursor out t_cursor)
         as
         begin
              open p_cursor for select * from gp2.PM_REPORTS;
         end usp_customdisplay_sel;
    end;I want to see the resuls for the select statement. Isn't there an easier way to do this with procedures?
    Thanks,
    Greg

    I have a similar problem trying to execute a package and return a resultset using sql deveoper. I'm new to writing packages - how do i do this using SQL Plus if this is not possible using SQL Developer?
    I'm using the following to execute the package in SQL developer
    DECLARE
    P_CURSOR OWNER.RIGHTS.rcur;
    BEGIN
    RIGHTS.ROLES_TO_ADMIN(
    P_CURSOR => P_CURSOR
    -- Modify the code to output the variable
    DBMS_OUTPUT.PUT_LINE('P_CURSOR = ' || P_CURSOR);
    END;
    this does not return anything. In fact gives this error -
    Error report:
    ORA-06550: line 9, column 25:
    PLS-00306: wrong number or types of arguments in call to '||'
    ORA-06550: line 9, column 4:
    PL/SQL: Statement ignored
    Thanks

  • Data not Updated in Custom Screen fields-Vendor Master

    Hello,
    I have created a custom screen in vendor master transaction and also implemented the two BADI's below.
    Business Add-In: Processing Master Data Enhancements
    (CUSTOMER_ADD_DATA/VENDOR_ADD_DATA)
    Passed the Custom Program and Screen No in the method GET_TAXI_SCREEN
    Business Add-In: Customer Subscreens
    (CUSTOMER_ADD_DATA_CS/VENDOR_ADD_DATA_CS)
    activate it with the BADI Processing Master Data Enhancements with method CHECK_ADD_ON_ACTIVE.
    I also created a new screen and used few fields from LFA1 (Append structure fields) such that the fields on the screen are : LFA1-ZZFIELD1 etc...
    Now the issue is the screen is displayed, but the data entered on the screen is not updated on the table LFA1 or data from the table is not displayed on the custom screen.
    Am i missing something?
    Regards,
    Shiva

    Solved this problem.
    I built the query against InfoCube and not the characteristic itself. That's why I can't see the update.
    Thanks.

  • Calling a module pool program screen to an executable program

    Hi gurus,
    I have created a executable program to use selection-screen and want to see my output in module pool program where I have designed table control according to my requirement.
    How can I call the module-pool program screen from an executable program?
    Any help?
    Regards
    Mac

    Hi Mac,
    I think you can proceed with a report program alone . There you create a screen with the table control to populate your result.
    In the report program, after getting values for internal table for your display, just call the said screen.
    i.e.
    CALL SCREEN <screen number>.
    Hope this may help you.
    Regards,
    Smart Varghese

  • Custom module pool + Amount field decimals display same as standard screen display

    Hi All,
    Requirement: A custom module program screen field has to be designed which displays decimal values of amount fields same as amount fields in standard screen.
    Standard screen behavior: If the standard screen fields are observed, they refer to data elements WRBTR or AZSOL_F05A (transactions FB50/FB03/FB01). However, number of decimal places that are visible on screen are dependent on the currency that is provided.
    Both the data elements have 2 decimal places.
    For currency USD two decimal places are displayed - in TCURX - decimal places are two.
    For currency JPY or CLP - zero decimal places are displayed  - in TCURX - decimal places are zero.
    i.e., even though the screen field refers to data element or domain that has the characteristic to show 2 decimal places, based on currency, decimal places are adjusted.
    I would like to know how this is happening on standard screen fields.
    Solution Required for: How to make the custom screen amounts to display same number of decimal places as standard screen amount fields.
    P.S: Before posting the query here, research has been done in SDN and other places. It has been identified that quantity fields adjustments are discussed. However for amount field even though discussed earlier, did not reach a conclusion.
    I would like to get a solution for this one.
    Thanks in advance.
    Goutham.

    Thank you all for taking time to take a look at this query.
    This issue has been resolved.
    Resolution: If the standard transactions (FI transactions in specific) are observed, whenever there is a field that displays amount value, there will be a corresponding field (may not be beside the amount field, somewhere on the screen or in the same sequence of screens) where the currency key value would be entered.
    For instance, if you look at FB50 - there is field on top for the user to input currency key value (like USD or CLP or INR).
    When any amount field is declared - this currency key field is provided as the reference field in the screen attributes of the amount field.
    In short, in the custom module pool program, provide a field that holds currency key value and use this field as reference field for the amount fields.
    Do repond to this thread if the resolution is not clear.
    Thank you all once again.
    Goutham.

  • Using BBP_CUF_BADI to display custom screens

    I am using BBP_CUF_BADI to display my customer screen on the Shopping Cart Item Screen. How do I pass data to my custom screen? I would like to display my CUF fields, I would like the data from the standard fields on the Shopping Cart line item. Any help would be appreciated.

    Hi Jagathi,
    You'll name the FM as you want.
    The pupose of these 2 FM is to exchange data between the BADIs methods and the Function Group (with global data of the FG).
    The 1st FM is to be called from the PUT_DATA method of the BADI, to send data to the Function Group (FG global data): for example items and/or header and iv_mode, ...
    The 2nd FM is to be called from the GET_DATA method of the BADI to get the result of the subscreen (CUF changes).
    Hope you'll get it all.
    Vadim

  • Custom Screen doesn't display properly

    I am on SRM 5.5 and I have created a custom screen with a custom field in all the proper structures it's supposed to be in.  The screen has been generated into HTML and it has a service.  I am calling the screen in the BADI BBP_CUF_BADI.  The field is showing properly, but my problem is that my custom screen is not displaying where I expect.  If I generate the HTML template as a type classic, it doubles my fields when it displays and it shows them at the top of the header above all the other standard fields.
    If I create my HTML template as WEBGUI, it covers the entire Header section and displays partly at the top over the standard buttons on the screen and partly at the bottom after the last header field.  I presume the custom screen should display after the last header field.  Does anyone know why the screens behave differently when I generate the templates as Classic (shows twice) versus WEBGUI and does anyone know what I might be doing wrong?
    Points will be rewarded.
    Thanks,
    Marty

    Hi
    There seems like a bug in the SRM system...
    Have you created a bespoke service in this case ? Please give some more insights in next reply ?
    Meanwhile, go through the links which might help ->
    Contract Custom fields are not showing
    Re: New Tab in Bid Process Screen
    Re: New screen with table control information in Process Bid Invitation
    BBP_CUF_BADI_2
    Regards
    - Atul

  • How to make a field in custom screen as display field in screen exit

    Hi ,
    I have created a screen exit for CO02 with a field for item text in header level as input field , when value is given and save button is cliked it gets updated in database but the problem is same field shows as input field in CO03 ( display mode ) .
    Code which i have used .
    in PBO
    if sy-tcode = 'CO03'.
    loop at screen .
    if screen-name cs 'SUBSCREEN' or screen-name cs 'RESB-POTX1'.
    ( subscreen - screen name given in screen editor and   resb-potx1 field name given in screen editor )
    SCREEN-INPUT = '0'.
    modify screen.
    endif.
    endloop.
    endif.
    and even i tried in PAI too .....
    if sy-tcode = 'CO01' or sy-tcode = 'CO02'.
    update resb set POTX1 = RESB-POTX1
    where aufnr = i_aufnr.
    elseif sy-tcode = 'CO03'.
    *oop at screen .
    *f screen-name cs 'SUBSCREEN' or screen-name cs 'RESBD-SORTF'.
    SCREEN-INPUT = '0'.
    modify screen.
    endif.
    endloop.
    endif.
    but itshows as input field only ........how to make that custom field as display field in CO03

    HI Andy,
    Try this out.
    FIrst check the sy-dynnr, if it is same as your custom screen number
    in PBO of your custom screen
    if sy-dynnr = 'YOUR_NUMBER' and sy-tcode = 'CS03'.
    loop at screen
    if screen-name = 'YOUR_SCREEN_NAME'
    screen-input = 0.
    modify screen
    endif
    endloop.
    endif.
    if it wont work they try using Tcode SHD0
    Hope this will serve your purpose.
    Regards
    Ramchander Rao.K

  • Calling program with custom screen in VA01

    Hi gurus,
    I have the client's urgent need to call some custom screens in VA01.
    So I've created a custom button in screen 4900, added a function code to it (ZB_P), called transaction VFBS to create the navigation in both T185F and T185 (added the form and program for the custom code).
    In the custom code I call a custom screed created and designed there.
    After pressing the button I get a short dump:
    Category               ABAP Programming Error
    Runtime Errors         DYNPRO_NOT_FOUND
    ABAP Program           SAPLV00F
    Application Component  CA-GTF-BS-SQ
    Date and Time          18.09.2014 16:10:52
    He is thinking that the "1001' screen developed in the custom program is in SAPLV00F, but it definitely isn't there.
    Is there something I'm doing wrong?
    Thank you in advance,
    Marius.

    Hi Juan,
    Here I have written the form and program name.
    And here is the 185F definition.

  • Unable to execute Extras -- Display generated program in BW 7.0

    When I try to execute Extras --> Display generated program for a Transformation in RSA1 (BW 7.0) I get the following message:
    Unable to find a tool to process the request
    Message no. SEU_MANAGER026
    Does any one know what's the reason for that?
    Kindly help me to correct this.
    Thank you in advance.

    Hi,
    Try and check OSS notes: 501565 and 761681
    Hth.,
    Jacob

  • Using BBP_CUF_BADI to display custom screen in bid Invitation

    Hello Everyone,
    I have a requirement of enhancing Process Bid Invitation,  adding customer fields.
    I hv added the fields but I want to change the layout of added customer screen.
    I tried to implement BBP_CUF_BADI, but it doesnt seem to work.It still shows the field one below the other.
    I hv also read notes 458591 and 672960.
    I would like to hv step by step instructions of steps to be followed.
    Thanks in advance for the help. Please revert ASAP.
    Regards,
    Kunal

    Hello, BBP_CUF_BADI is used to handle the vizualization of the customer fields, i.e. with BBP_CUF_BADI you can decide if you want a field to be displayed and if it has the read-only attribute, customer fields are displayed using a table control, the layout of the customer fields is rendered using a template that expands the line of the control table and map those fields with a name-value logic.
    If you want to customize the layout of the screen you will have to rewrite the templates contained in the internet service BBPCUF.
    Regards, Luciano.

  • Display result on center of the screen. Possible ?

    Hello Experts,
    I have created some output of string which displays result at runtime.
    I want to dispaly this string in the center of the screen.
    screen may be changable so my result should be display in center.
    Is it possible ?
    Please give me some idea.
    Thanks in advance.
    -rohan

    hi,
    u can use system variables SY-CUCOL AND SY-CUROW . u can get the system variables in Standard database table SYST.
    SY-CUCOL = 35.
    SY-CUROW = 35.
    WRITE: 'STRING'.
    if helpful reward some points.
    with regards,
    Suresh Aluri

  • I am opening a music program, Dub Turbo and the display is larger then screen area. How do I view it ?

    I am opening a music program, Dub Turbo and the display is larger then screen area. How do I view it ?

    see the following Q&A for ideas and suggestions:
    [https://support.mozilla.org/en-US/questions/960171 Google Earth plug in is not recognized by Firefox (works in Safari and Chrome)]

Maybe you are looking for

  • Java Mapping for HTTP Post

    Hi Im following this blog http://scn.sap.com/community/pi-and-soa-middleware/blog/2014/09/12/html-form-upload-using-http-plain-adapter-with-java-mapping but I have encountered an issue which I cannot solve. My issue is, in addition to the required ou

  • Wireless Mighty Mouse unresponsive during Bluetooth connection to K800i

    Whenever I use Bluetooth to sync my Sony Ericsson K800i with my Mac, I notice that my Wireless Mighty Mouse sometimes becomes slow and unresponsive. I have to switch the mouse off and on again, after switching off Bluetooth on the phone, for the mous

  • Preview app won't export or 'save as'

    Suddenly it's no longer possible to use the 'export' feature (which used to be 'save as') on preview. It just hangs. I suspect it's trying to save to icloud (which I do not want, but I don't see anyway of making this clear in a preference panel).  Th

  • LMS 4.2.4 - report check "end host" list

    Hi All,      I have a list of 26 "end host" identify by mac-address. I would like to generate every day a report to check that these devices exist on the network.      If you can help me about this task? do i have to use "user tracking" ?      Just f

  • I tried to use the Problem Feedback , but when I entered my information the Feedback Button would not work. WHY?

    Since I installed the newest version of Firefox I am missing several options that I had before. 1) No Refresh Button (I was using it a lot) 2) Can't set the home page I want (It's always Firefox) 3) Can't do an Add-On (Action Not Responding) 4) Bookm