FM used to display detail in text.

Hi all,
         i have a requirement as ,
    on pressing a button(user defined) on app tool bar , i must get an F1 type details.
Please note : it is not on any field F1

HI,
SXPG_DUMMY_COMMAND_CHECK: Interface for Extra-Check Function Modules 
When you define an external command, you can specify that an additional function module be called to check a user’s authorization to run a command.
You can define such an additional authorization check module yourself. Your function module must have the interface defined below for SXPG_DUMMY_COMMAND_CHECK. Like this function module, it may only allow or deny permission to carry out the command.
To ensure that such a user exit function module cannot be misused, the system checks that the interface of the authorization-checking function module matches the interface of SXPG_DUMMY_COMMAND_CHECK. It is therefore essential that SXPG_DUMMY_COMMAND_CHECK never be changed.
To write your own authorization-checking module, do the following:
Copy SXPG_DUMMY_COMMAND_CHECK to a name in the customer naming range (names beginning with Y or Z).
Write your authorization check.
Specify that the function module should be run when the command that is to be checked is run. Do this in the command definition (transaction SM69).
Do not change SXPG_DUMMY_COMMAND_CHECK or its interface. Never call this function module, either directly or by specifying it as the check module in a command definition. Copy it and then modify the new function module in order to implement an additional authorization check.
Interface Syntax:
IMPORTING
PROGRAMNAME = <Program or command from definition>
PARAMETERS = <Argument string>
EXCEPTIONS
NO_PERMISSION " Command rejected by user exit auth. check
Parameters
IMPORTING Parameters
Parameter name
Use
PROGRAMNAME
The fully substituted pathname of the external command that is to be run.
PARAMETERS
Arguments for the external command as specified by the definition in the R/3 System and by the calling program or user.
These arguments are checked for impermissible characters, such as the ; under UNIX. Problems are registered with the SECURITY_RISK exception.
Exceptions
Exception name
Meaning
NO_PERMISSION
Prevents a command from being run if the authorization check that you have implemented in a check module fails.
NO_PERMISSION triggers the exception SECURITY_RISK in the calling function module.
Refer this link.
http://help.sap.com/saphelp_45b/helpdata/en/fa/09722f543b11d1898e0000e8322d00/frameset.htm

Similar Messages

  • How to Display  'purchase order text' in MM03 using report program

    Hi Friends,
    Can anybody suggest me how to display 'purchase order text' in MM03 using report program.
    'Purchase order text' tab displays purchase long text of particular material .
    I coded as:
          SET PARAMETER ID 'MXX' FIELD 'E'.
          SET PARAMETER ID 'MAT' FIELD k_final-matnr.
          SET PARAMETER ID 'WRK' FIELD k_final-werks.
          CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
    It displays Purchasing tab other than Purchase Order Text tab of MM03.
    Please suggest me how can i solve this.
    Is there any parameter id to set values for Purchase Order text tab

    >
    Madhu Mano Chitra wrote:
    > I want how to navigate to MM03 'Purchase Order text'  tab/ view using ABAP code.
    > could any suggest me
    You can call a transaction and pass it a BDC table that tells it where you want it to go.  You have to work out for yourself what to put into the BDC table.  The code below works for tcode CATSSHOW.
    DATA: bdcdata_wa  TYPE bdcdata,
          bdcdata_tab TYPE TABLE OF bdcdata.
    DATA opt TYPE ctu_params.
       CLEAR bdcdata_wa.
        bdcdata_wa-program  = 'CATSSHOW'.
        bdcdata_wa-dynpro   = '1000'.
        bdcdata_wa-dynbegin = 'X'.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'SO_STATU-LOW'.
        bdcdata_wa-fval = '20'.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'ANDZEIT'.
        bdcdata_wa-fval = SPACE.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'PAST'.
        bdcdata_wa-fval = 'X'.
        APPEND bdcdata_wa TO bdcdata_tab.
        IF p_selscr = SPACE.
           CLEAR bdcdata_wa.
           bdcdata_wa-fnam = 'BDC_OKCODE'.
           bdcdata_wa-fval = '=ONLI'.
           APPEND bdcdata_wa TO bdcdata_tab.
        ENDIF.
        opt-dismode = 'E'.
        opt-defsize = 'X'.
    CALL TRANSACTION 'CAPP' USING bdcdata_tab OPTIONS FROM opt.

  • Displaying of a text file using JAVA in a browser.

    Please can you give me the code for displaying of a text file using a bean and java coding. Please include all files needed. Thanks

    please could you give us 200 Uss each for the work done for you plz include all needed recipes plz? thx

  • Text bitty, general overall rubbishness, using external display

    I've got a BenQ FP241W (24" widescreen). Upon connecting my Macbook Pro (miniDisplay > DVI) in clamshell mode, and outputting at 1920x1200 (60Hz), text looks bitty, and overall the display quality just isn't as good as the Macbook Pro. This isn't the case when I use the display with my Windows desktop PC.
    Is there a reason why the display looks this way? Or is the Macbook display just so awesome in comparison?
    Also, I'm thinking of getting the 27" LED display upon launch. I'm guessing it's safe to assume this problem won't occur with an Apple display.

    Having the same problem. I'm watching all of my movies without subs now, because transcoding kills the 5.1 audio (no problems with 2 channel audio). A workaround is posted in the comments of the pms-svn package.
    I will post the URL to this thread to another thread with probably the same problem (mplayer/x264). I have not yet seen a real solution to this, and I'm not really familiar with the bugzilla's from both projects.
    Other threads with similar problems:
    https://bbs.archlinux.org/viewtopic.php?id=112219 (devede also uses mplayer and x264)
    https://bugs.archlinux.org/task/22654 (related bug in Archlinux)
    http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1865 (related bug in mplayer)
    https://bbs.archlinux.org/viewtopic.php?id=115165 (this thread)
    Another workaround might be to trick pms into using ffmpeg or vlc rather than mencoder. I'm also streaming to a ps3 - I didn't try it, but it could be as easy as temporarily changing settings inside the profile for a ps3-client.
    Last edited by zenlord (2011-03-22 16:15:38)

  • Display the  long text in alv by using function modules

    Hi all,
    How to display the  long text in alv by using function modules ?
    Send me any sample code.
    Thanks in advance
    krupali.

    Hello KR,
    Use READ_TEXT and concatenate the first lines of the text.
    CALL FUNCTION 'READ_TEXT'
         EXPORTING
              id       = 'F01'
              language = sy-langu
              name     = lv_name " purchase order with leading zeroes
              object   = 'EKKO'
         TABLES
              lines    = t_lines
         EXCEPTIONS
              OTHERS   = 8.
    You can loop at t_lines and concatenate header in to some other field.
    Best Regards,
    Sasidhar Reddy Matli.
    Edited by: Sasidhar Reddy Matli on Aug 13, 2008 12:25 PM

  • Vertical text. Can FireFox display a vertical text? Which HTML tags should be used for that?

    The site http://habrahabr.ru/blogs/css/58732/ recommends a way for using vertical text in HTML/CSS (see example below). However my instance of Firefox 3.6.22 does not display this vertical text. Please let me know your recommendations/
    <html>
    <head>
    <title>1</title>
    <style>
    <!--
    .vertical { overflow:hidden; line-height:30px; position:relative; white-space:nowrap; width:30px; height:200px; border:1px solid #999; }
    -->
    </style>
    <body>
    <div class="vertical">Testing text</div>
    </body>
    </html>

    See: https://developer.mozilla.org/En/CSS/-moz-transform

  • How to display multple line text in a single cell in ALV?

    Hi all,
    I have 'Material Detailed Description' field in my ALV report, and it's taken from a multiple line text table. Is there any way so I can get this whole text to fit in a single ALV cell (not in single, but multiple line, as in original text data)?
    Thank you.

    Hi
    If you want you can display this long text field in ALV but the allignment of the ALV not looks good. so generally we won't display them in the output,
    instead, in the interactive list write the code to call that MM03 transaction, and the user can see that text in the transaction when ever double clicked on that MATERIAL field.
    Reward points for useful Answers
    Regards
    Anji

  • Display the all text entered for all folder at Item and Header level of PO

    Hi everybody,
    I have the task like the following :
    In a PO there are text folders available at Header and Item level. I want POs with type Purchasing document type u2018ZFu2019 ( First Article PO ) should display all the texts entered into any of these folders either at Header level or Item level during print preview and PO output like Purchasing document type u2018NBu2019 ( Standard PO ).
    u2022 The technical information relating above subject ( SAPScript ):
    o The layout set ( form ): ZPCC_PURCHOR_STD
    o Print program : SAPLMEDRUCK
    u2022 The problems like the following :
    o I found out the differences in debugging of 2 types of Purchasing document type u2018ZFu2019 and u2018NBu2019 .
    o Only Purchasing document type u2018NBu2019 the print program processes Text Elements (HEADER_TEXT, ITEM_TEXT, SUPPL_TEXT) to display all the texts entered into any of these folders either at Header level or Item level.
    o To control the displaying of Text Elements as I know I need a print program, however, our print program is standard print program of SAP system in this case. So I can not make any changes there.
    Do we have the configuration place to this one.
    Please help me to fix the problem. Thank you in advance !

    Hi
    I advise to use the subroutine pool as your sapscript is the bespoke one ( Z one) . So you can make use of the below pseudo code.
    In the sapscript the point where you want to display the text include the following code (
    Assume that your are print header text Then first find out the Co-ordinates for it .Go to me23n->Text tab-> In change mode -> double click on text editor-> which takes you to sapscript layout->Under Go to -> Click on header & get the following details.
    Text name : ekko-ebeln
    Language : ekk-spras
    TEXT ID : F01
    TEXT OBJECT : EKKO.
    /: DEFINE &V_ID& = 'F01'
    /: DEFINE &V_OBJECT& = 'EKKO'.
    /: DEFINE &V_LINE1&
    /: DEFINE &V_LINE2&
    /: DEFINE &V_LINE&
    /: PERFORM GET_HEDER TEXT in program Z_PURCHASE_TEXT
    /: USING &EKKO-EBELN&
    /: USING &EKKP-SPRAS&
    /: USING &V_ID&
    /: USING &V_OBJECT&
    /: CHANGING &V_LINE1&
    /: CHANGING &V_LINE2&
    /: CHANGING &V_LINE3&
    /: ENDPERFORM
    &V_LINE1&
    &V_LINE2&
    &V_LINE3&
    Now in the Subroutine pool Z_PURCHASE_TEXT
    FORM GET_HEADER_TEXT USING IT_INPUT STRUCTURE ITCSY
                                              CHANGING IT_OUTPUT STRUCTURE ITCSY.
    LOOP AT IT_INPUT.
    CASE IT_INPUT-NAME.
    WHEN 'EKKO-EBELN'.
    V_TEXTNM = IT_INPUT-VALUE.
    WHEN 'EKKO-SPRAS'.
    V_LANG = IT_INPUT-VALUE.
    WHEN 'V_ID'
    V_ID = IT_INPUT-VALUE.
    WHEN 'V_OBJECT'.
    V_OBJECT = IT_INPUT-VALUE.
    ENDLOOP.
    USE FUNCTION MODULE READ_TEXT BY USING ABOVE PARAMETERS AND READ THE TEXT AND FILL THE VALUE IN FIELDS IT_OUTPUT.AS BELOW.
    BEFORE THAT FILL V_LINE1,2,3 AFTER GETTING A TEXT FROM READ_TEXT FUNCTION MODULE.
    LOOP AT IT_OUTPUT.
    CASE IT_OUTPUT-NAME.
    WHEN 'V_LINE1'.
    IT_OUTPUT-VALUE  = V_LINE1.
    WHEN 'V_LINE2'.
    IT_OUTPUT-VALUE  = V_LINE2.
    WHEN 'V_LINE3'
    IT_OUTPUT-VALUE  = V_LINE2.
    ENDLOOP.
    ENDFORM.
    Declare the valriable in the routine v_textnm,v_lang,.....
    I hope this hint help you to resolve your issue. Note : the spelling of commands which i have wrote may be incorrect.
    Cheers
    Joginder

  • Pop up message unable to display the long text

    hi i have here a situation where in my pop up message does not display the compelete text of my variable
    for example if lv_message = my name is john.
    the pop up message only displays " my name"
    MESSAGE i000 WITH lv_message. -> using this syntax, what might cause thie error?
    thanks

    Hi,
    The message variables are a maximum of 50 characters long (you can see them defined in table SYST), whereas the output from FORMAT_MESSAGE can be longer than this.  This is why the output from the function module is getting truncated when you pass it to a message variable.
    Vinod's suggestion will work, but I'm curious, why are you (presumably) passing all the details for a message (ID, Class, Type, variables) passing them to FORMAT_MESSAGE to turn them into a text string then passing this to a generic message.  Why not just issue the message directly, instead of using the function module?  If the message has long text you will lose this the way you are processing it now.
    Regards,
    Nick

  • PFCG display details No technical details available

    Hi abbapers,
    I want view the transaccions of menu,
    In t-code PFCG go to tab Menu, right button on t-code and obtain message error No technical details available
    Can you help me, please?
    Cordial greetings.

    thank at all for your attention,
    Sabyasachi Rudra, is possible that change the node text by other name, I´m not sure.
    I want view the t-code associated to menu, then when right button on several when push display details, obtain message error No technical details available.
    In this case, I execute the option, then go to system ... status. Then with the name t-code, go to table TSTC (se16), and search name program corresponding of the t-code.
    If I view in the field text that it is IMG Activity. Is this the reason when appear the message error No technical details available. ?
    In this case if go to the se80 with the name program SAPLS_CUS_IMG_ACTIVITY (FunctionPool) that is the same that others options of the menu too.
    If go to left window on Dictionary Structures, Are used others names tables in the IMG ACTIVITY ?
    I want obtain name of tables that are used in t-code Can you help me please?
    Thank you very much.
    Cordial greetings.

  • Error: 0x8007041D on a computer running Microsoft windows non-core edition, run 'slui.exe 0x2a 0x8007041D ' to display the error text

    OS : Windows Server 2012 R2
    Windows Activation Error
    Error: 0x8007041D on a computer running Microsoft windows non-core edition, run 'slui.exe 0x2a 0x8007041D ' to display the error text
    Description :
    The server did not respond to the start or control request in a timely fasion

    Try the following:
    Uninstall and Re-Install the PK
    Open up an elevated cmd and enter the following commands:
    slmgr –upk
    This will uninstall the current Product Key
    slmgr –cpky
    This will clear the product key from the registry
    slmgr –rilc
    This will re-install the System License Files
    slmgr –ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    This will install your Product Key
    slmgr –ato
    This will activate your Product Key
    NOTE: Useful commands for SLMGR
    -dli -> Display License information
    -dly -> Display detailed License Information
    -upk -> Uninstall Product key
    -ipk -> Install Product Key
    -ato -> Activate Windows
    -rearm -> Reset the Licensing Status of the machine
    This post is provided AS IS with no warranties or guarantees
    , and confers no rights.

  • Smartforms,How to display different standard Text in a Text element.

    In smartform,if I want to according to the different conditions,display one of the serveral different standard Text objects which all  maintained in SO10 in a same text element,how to do it?
    if i put them in serval text elements, each condition only display the corresponding text element,but the text content can not display in the same position.
    Is there anyone can tell me?
    thanks.

    use Alternative to control it no problem
    for example you want to display the different SO10 to same position TEMPLATE's row 1 col2
    TEMPLATE1
    Alternative case1
    YES
    INCLUDE TEXT1(display SO10) [set output option line1 column2]
    NO
    Alternative case2
    YES
    INCLUDE TEXT2(display SO10) [set output option line1 column2]
    NO
    Alternative case3
    every case your SO10's text is always display at line2 column2
    just try to test it ,you can know

  • How Do I Display HTML Formatted Text From A Data Table In Crystal Reports?

    I'm creating reports in Crystal XI.  The information being displayed in the reports comes from data tables where the text is formatted in HTML.
    I've worked with Crystal Reports enough to know that HTML text pulled from a data table doesn't appear in Crystal the same way it does in a web browser.  Crystal Reports ignores all the tags (...unless I'm missing something...) and just displays the text.
    Someone far more Crystal savy than I (...who I don't have access to...) came up with a Formula Field workaround that tricks Crystal Reports into displaying some basic HTML tags.  Here's that workaround:
    <!--
    stringVar TableName := ;
    TableName := Replace (TableName, "<ul>","<br> <br>");
    TableName := Replace (TableName, "<li>", "<br>   &bull; ");
    TableName := Replace (TableName, "</li>", "");
    TableName := Replace (TableName, "</ul>","<br> <br>");
    TableName := Replace (TableName, "<a", "<u><font color='blue'");
    TableName := Replace (TableName, "</a>", "</font></u>");
    TableName
    -->
    QUESTION - Does any similar workaround exist so I can display an HTML Table in Crystal Reports?  If not, is there any way to display HTML formatted text from a data table in Crystal Reports as it would appear in a web browser?

    Hi Steven,
    To display html text in Crystal Reports follows these steps.
    1. Right click on the field and select Paragraph tab.
    2. Under 'Text Interpretation' select 'HTML Text' and click OK.
    I have tried using the way,but it never works.So reply me if there is any way to solve the issue

  • Display key and text by WAD command in custom structure hierarchy

    Hi everybody,
    I have a query using a custom structure with hierarchy layout. As usual the structure does only display its text as descriptions but I can enable the display the key in BEx Web by right-click on the analysis item --> Properties --> Characteristic --> Display. Unfortunately these setting can not be defined directly in the structure within the Query Designer.
    For a workaround I put the query into a web template, in which I used the Set Presentation (SET_PRESENTATION) command to enable key and text display from the start. Hence I put that command in the wem template parameters Action Before First Rendering (ACTION_BEFORE_FIRST_RENDERING). Everything is working properly and makes me very happy.
    But... there is one thing missing, I would like to implement... I want a toggle button, which allows the user to switch between key and text display and text display. Unfortunately setting the same command from Action Before First Rendering (ACTION_BEFORE_FIRST_RENDERING on a various button does not working. The button command only affects data rows of the leaves of the structure hierarchy. All parent nodes do not change their appearance.
    Any ideas how to solve this?
    Thank you for any helps and comments!
    Sebastian

    Hi Sebastian,
    I have a similar problem. Can you help me? How did you set the entry in Member Presentation of Command SET_PRESENTATION to display key and text? I just found the values to set the only text or only key.
    best regards,
    Barbara

  • Display of long text message

    Helllo Expert,
         I want to display a long message, In module pool program . I have maintain the other message of the program in message class but the long message is not fitting into the message class. the message which I want to display is *"Data saved. Market group (&) and market super group (&) saved. Market (&), market (&) and market super group (&) saved" I have tried using text-xxx but it's not allowing after WITH only 4 field allowed.
    Thanks .

    You can use the function module
    HELPSCREEN_NA_CREATE
    to display the long text of the message!
    Regards
    Naren

Maybe you are looking for

  • Error message when I open Dreamweaver files

    Hi, I have troubled of Dreamweaver CS3 and hope some one can help me. When I open a file from one of my site which is connecting to database, I got error message that I have to close the Dreamweaver. It doesn't tell much what exactly wrong at the err

  • Where is the file *.iTunes Preferences.plist*

    Hello everybody ! Excuse my bad english, i'm french. Due to many problems with my computer with Windows 7-64 , many resetllements both windows and itunes. Now everything is ok after a lot of works. I have 70 000 songs - 379 Go but each time i restaur

  • IPod Touch 2G iOS 4 new features?

    Ok I've read what isn't included with the iOS 4 update. What exactly IS included? I know there are some features that aren't because it's an older iPod. I just did the update and I don't see any difference at all... Thanks in advance... Trace

  • Migrating Certificate Services to Server 2012 in a 2008 R2 AD Domain

    We have a Windows 2008 R2 SP1 Active Directory domain. Our Enterprise Certificate server is running on Windows 2003 R2. We'd like to introduce a Windows 2012 server into our existing domain and migrate the Certificate Services to that new box. Are th

  • Bundles fail on W2K3 Terminal Server

    Hi, I have a Windows 2003 terminal server. It is running ZCM ZENworks Adaptive Agent Version: 10.3.3.44626 All bundles assigned to users fail with the error "Failed to process launch in user space" E.g. a simple Explorer launch bundle: Event Type: Wa