How to find out current PAGE NAME (not Page No) in SAPSCRiPT

Hi,
Is there anyway i can find the current page name in sapscripts which i can check in IF condition and accordingly perform some task. I searched and found out ITCTG-TDPAGE structure but its giving me error when i try to print in text element editor.
Regards
Amber

Hi Amber,
the otf[]-Table is located in a function group...
Sry, forgot to add this.. that's the thing without a system available
To solve your problem, I would work with the otf-data. I just can give you suggestion because the solution might be a bit bigger.
Set yourself a unique string into the line you want to draw a box (perhaps @BOX1). Afterwards you can replace this variable with things you want to do. There is a lot possible with having the otf-data itself.
Important is, that you do this before calling CLOSE_FORM
Regards
Florian
BTW: OP are the first two unique chars in the line
Here is a example-coding
FIELD-SYMBOLS: <gt_otf> TYPE ssftotf,
   <ls_otf> TYPE itcoo.
ASSIGN ('(SAPLSTXC)OTF[]') TO <gt_otf>.
   IF sy-subrc = 0 AND <gt_otf> IS ASSIGNED.
LOOP AT <gt_otf> ASSIGNING <ls_otf>
     WHERE tdprintcom = 'ST'
     AND tdprintpar+7 = '@UL1'.
ENDLOOP.
   ENDIF.

Similar Messages

  • How To Find Out Current Day Name

    Hi,
    How To Find out Today Name in OBIEE11g.

    Use formula DAYNAME
    ex: DAYNAME("Close Date") or DAYNAME(current_date)
    Pls mark correct/helpful also for your old posts !!!
    If given info is not helped pls update with your solution for these posts
    How To Calculate TOPN variable...
    Re: Top N Issue...
    Issue with Dyamic varibles.
    How To Create Global Filter...
    Edited by: Srini VEERAVALLI on Dec 17, 2012 10:05 AM

  • How to find out the file name

    Hi,
    In selection screen (parameter) user will give input TXT file from presentation server to upload to SAP. I need to capture the file name only but not the path and need to concatenate with date stamp and need to download error log in XLS file to presentation server.
    How to find out the file name from selection screen?
    I searched SCN threads but not found relavant solution.
    Thanks,
    R Kumar

    Hi
    This code gets only filename from selection screen :
    REPORT x.
    PARAMETERS p_file(100).
    DATA : gv_full_path LIKE  ibipparms-path,
           gv_full_path_string TYPE string,
           gv_filename(100),
           gv_file_ext(3).
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Ask user to select file with a popup :
      CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          file_name = gv_full_path.
    Get filename from path :
      gv_full_path_string = gv_full_path.
      CALL FUNCTION 'CH_SPLIT_FILENAME'
        EXPORTING
          complete_filename = gv_full_path_string
        IMPORTING
          extension         = gv_file_ext
          name              = gv_filename.
      CONCATENATE gv_filename '.' gv_file_ext INTO gv_filename.
      p_file = gv_filename.
    I hope it helps.

  • Can any one let me know how to  find out current internet explorer version

    Can any one let me know how to find out current internet explorer version

    Don;t use annoyed repeated words. Try to explain exactly what is your problem.
    <script LANGUAGE="JavaScript">
    document.write("Your browser Name: <B>" + navigator.appName + "</B>.<br>")
    //Detect IE Version Only
    if (navigator.appVersion.indexOf("MSIE")!=-1){
    var temp=navigator.appVersion.split("MSIE")
    var version=parseFloat(temp[1])
    document.write(" Your Browser version: <B>" + version + "</B>.")
    </script>

  • How to find out the table name

    hi,
    how to find out the table name in which the data from a particular structure in a particular screen is saved,
    please tell me the procedure to find out the table name for saving the structure data that is inputted at runtime.
    Thanks,
    chinnu

    Hi Chinnu,
    Below are the tables that are referred to find out the table names
    DD02L Table contains the SAP Tables.
    DD02T Table contains the SAP Table Texts.
    DD01L Table contains the Domains
    DD01T Table contains the Domain Texts.
    DD03L Table contains the Table Fields.
    DD03T Table contains the Table Field Texts. (Language Dependent)
    DD04L Table contains the Data Elements.
    DD04T Table contains the Data Element Texts.
    DD05s Table contains the Foreign Key Fields
    last words with L and T only. L->Database Fetch T-> Text
    And the procedure to retrive the table name is as follows
    1. Go to se11
    2. Enter table name DD03T and execute
    3. In the next screen you can find Tables, fields, test etc. there you can enter the field name in the fields 
      and execute.
    4. you can get all tables which contains the field.
    I hope this will solve your problem
    Regards,
    Chandru

  • Transaction IW32.How to find out the person name.(Last changed By)

    Hi all,
    When i executed the transaction IW32.Its displays changed by and created by fields. please any body can tell me how to find out the person  name who had made last change with respect to the field changed by.
    Please tell me the table and field name for the field last changed by......
    Regards,
    Munna.

    hi,
    check the table AUFK field AENAM for the order number(AUFNR) in IW32..........

  • HT4489 How to find out which contact(s) not imported in icloud address book?

    How to find out which contact(s) not imported in icloud address book?

    You can find out which once are in the cloud, by going to icloud.com and signing in.

  • How to find out the administrator name

    How to find out my administrator name to unlock the parental control .

    Look in the Apple Menu, in System Preferences, under the Users & Groups pane.
    It should list all your users, by name.

  • How to find out current archtecture

    I have installed Oracle Database Express Edition 11g Release 2. APEX 4.0 has been installed automatically. (I didn't configure any servers, just clicked 'next')
    Now I have to upgrade APEX to 4.1 , but I must know, what should I configure - Oracle Application Express Listener, the Embedded PL/SQL Gateway, or Oracle HTTP Server?
    So, how to find out current archtecture of APEX 4.0 ?
    Thank you,
    Kseniya.

    Kseniya wrote:
    I have installed Oracle Database Express Edition 11g Release 2. APEX 4.0 has been installed automatically. (I didn't configure any servers, just clicked 'next')In that case, it should be Embedded PL/SQL Gateway. Is there a port number in the URL? What is it?

  • How to find out the infospoke name for an existing infoobject?

    Hi,
    Could any one pls tell me how to find out the existing infospoke name for an infoobject?
    i've tried with where used list but its not coming....can any one pls suggest
    Thanks,
    Suri

    Hi,
        Check in metadata repository for that infoObject.
    If you are still not able to identify, goto RSBO tx and press F4.
    You will get the list of Infospokes available.
    Go in each and chk from the General Tab, if the infoObject is available in the source system.
    Regards,
    Balaji V

  • How to find out the printer name for the Idoc

    Hi guys
    I want to find out the printer name for the Idoc,,some default printer is attached for one idoc,then how can we see the printer name for this idoc.
    Regards
    Madhoo

    Hi,
    For ALE/IDOC the  medium will be either ALE or EDI but not printer.So it might be wrongly attached.As such there won't be any printer attached to idoc.
    Regards,
    Nagaraj

  • How to find out sub site name from which sub site template is created - in solution gallery

    hi,
     i am having an issue in my "save site as a template". i have created  a subsite few weeks back with doc libs and  splists, disc.forum and  based on the template subsite I have created new subsites. now 
    as  per my new requirement i need to add new  doclibs and few columns in these doc lib. But I am unable to find which sub site was taken as a template.since i have many  subsites with different names, I forgott
    to make meaningful names, i gave some datetime for the templatesubsites,
    like project_27_jul_2pm,project_20_jul_7pm, etc etc.
    So would like to know, is it possible to find out from which subsite I have taken/prepared  the template subsite.
    any APIs are available or any power shell scripts. such that i can find  out from which subsite i have created this  sub site template.

    check this
    http://social.msdn.microsoft.com/Forums/en-US/3c492adb-e7cb-4f5c-8c29-386a21c3498e/how-to-find-out-a-list-of-sites-created-from-a-template?forum=sharepointgeneralprevious

  • How can find out the User name?

    Hi Gurus,
    I have created one sales order with my user name. some one has changed order quantity in that sales order, so can u tell how can v find out thier user  name?
    CHeers,
    Sumith

    Hi Sumith,
    Go to VA02 and click on Environment at the top and click on changes. Now based on your line item where you feel changes have been made give your item number and tick overview , and additional info and execute.
    Now double click where you want to drill down and find out for the user name.
    I am sure this will help you. If it does dont forget to reward points for contribution.
    Regards
    Ravi

  • Hi, How to find out the program name with short description?

    Hi Experts,
      I've a doubt regarding reports.
       I've some short descriptions.I've to find out the Technical Name of the program    using that Short descripns.Is there any transaction code available to check this
      I've tried in t.c se80.But i could not find the respective program names.
      Please help me in this regards.Its an urjent issue.
      Thanks in advance.
    Regards,
    Rekha.

    hi rekha,
    1)Goto SE84(Repository InfoSystem) tcode.
    2)In Repository Info System node, Select Program Library.
    3)Then Select Programs.
    4) And enter ur description and u press F8.
    5) u can search program name based on description, package and many othet options. check it out.
    U can find many programs with ur entered pattern.
    Select ur program.....
    Reward me if useful,
    Harimanjesh AN

  • HOw to find out a report name when you know only the name of background job

    Hi experts ,
    my question is i need to find out teh report name for which i knew only the background job name of the report .
    thanx
    Venky.

    Go to tcode SM37->Give job name and execute->choose tool bar button STEPS (Disply Steps list) ->Then you will get program or command

Maybe you are looking for

  • Error in the Portal Logon par

    Hi All i got the error  in the logon par customization i have the followed the steps based on the weblog from the following link Modifying The Logon Par(or customising the Logon Screen) after done everything i restarted the portal then i got the foll

  • Notebook won't detect sound c

    Help!!! My notebook won't detect my Audigy2 ZS soundcard. I've had this card for several months with no problems. Now all of the sudden my computer doesn't see it. I put my wireless card in the same slot (I only have one) and it's working fine. I've

  • How to load configuration using Cisco USB port???

    on USB-flush configuration there. I try to download it gives this: Switch#copy usbflash0: 3560-ST Source filename [3560-st]? Destination filename [3560-ST]? %Error opening usbflash0:3560-st (File not found) What is the Problem? flash formatted on mos

  • Mail configuration and background job scheduling for ST22 Data

    Experts, I want to know how can i schedule a background job in SAP to extract data from ST22 and send a automated mail for the same? Any help will be appreciated, Thanks!!! Regards, Vinit Pagaria

  • HT5260 Unable to open iPhoto library

    Somehow my iPhoto library has become saved as an Aperture library, even though I do not own Aperture. When I attempt to open the library in iPhoto, I'm prompted with a demand to upgrade to Aperture 3.3 for $80. Is there a work around? I have no inter