"program name"

Why the program name should be same as the class name in which main is declared.
Eg:
class Test
public static void main(String args[])
System.out.println("Hello World");
program name: Test.java // Why so.

Why the program name should be same as the class name
in which main is declared.
Eg:
class Test
public static void main(String args[])
System.out.println("Hello World");
program name: Test.java // Why so.In your case, since the class is not public, I figure you could name it to something else too, like Untest.java. You would need the actual class name only while executing - java Test

Similar Messages

  • F110 : program name of posting cleared document during F110

    Dear all,
    I need to figure out the "PAYMENT DOCUMENT SPLITTING" issue after F110 via debugging.
    I believe the main program for F110 is SAPF110V and SAPF110S is the program handle the posting. However, after I put the break point in  SUBMIT SAPF110S AND RETURN in SAPF110V, then do step by step debug. Debugging doesn't go to SAPF110S. I am not sure what's wrong.
    Can anyone tell me the program name that post cleared document during F110 processing?
    Thank you very much for help in advance!!
    Molly
    Edited by: Molly Li on Jan 26, 2008 2:41 PM

    Hi Sruthy
      I guess you have missed populating field STYPE in each of the records which identifies the actual structure.
      Below is how you have to pass for them:
    <b>Struc --> Value
    BGR00 --> 0
    BBKPF --> 1
    BBSEG --> 2</b>
    Kind Regards
    Eswar

  • SQL Report Program Name Status

    I have this report that I need to modify. The problem here is that some of our deployments uses the same program/package but different advertisement. For example, I have package "ABC version 1" with program name "Install ABC version 1".
    For this particular package I have two advertisement namely "Deployment A - ABC" and "Deployment B - ABC". Now when I run the report below I am encountering the error:
    Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression
    I am encountering this error since I have two advertisement for a particular package/program. Is there a way I can use array on this report and how do I achieve this?
    declare @Total int
    declare @Accepted int
    declare @AdvertID char(20)
    --declare @OUname char(150)
    set @AdvertID = (SELECT AdvertisementID FROM v_Advertisement WHERE ProgramName = @PckName)
    select @Total=count(*), @Accepted=sum(case LastState when 0 then 0 else 1 end)
    from v_ClientAdvertisementStatus
    join v_RA_System_SystemOUName ou with (NOLOCK) on ou.ResourceID=v_ClientAdvertisementStatus.ResourceID
    where AdvertisementID=@AdvertID and ou.System_OU_Name0 = @OUname
    select LastAcceptanceStateName as C013, count(*) as C015,
          ROUND(100.0*count(*)/@Total,1) as C016, AdvertisementID, @OUname as AD_OU
    from v_ClientAdvertisementStatus
    join v_RA_System_SystemOUName ou with (NOLOCK) on ou.ResourceID=v_ClientAdvertisementStatus.ResourceID
    where AdvertisementID=@AdvertID and ou.System_OU_Name0 = @OUname
    group by LastAcceptanceStateName, AdvertisementID
    select LastStateName as C017, count(*) as C015,
           ROUND(100.0*count(*)/@Accepted,1)  as C016, AdvertisementID, @OUname as AD_OU
    from v_ClientAdvertisementStatus
    join v_RA_System_SystemOUName ou with (NOLOCK) on ou.ResourceID=v_ClientAdvertisementStatus.ResourceID
    where AdvertisementID=@AdvertID and LastState!=0 and ou.System_OU_Name0 = @OUname
    group by LastStateName, AdvertisementID

    set @AdvertID = (SELECT AdvertisementID FROM v_Advertisement WHERE ProgramName = @PckName)
    Haven't tried running the query, but it seems as if this line might return more than one row which then will cause "where
    AdvertisementID=@AdvertID" to fail. You could use the "having" clause instead:
    http://technet.microsoft.com/de-de/library/ms180199.aspx or "where AdvertisementID in (SELECT AdvertisementID FROM v_Advertisement WHERE ProgramName = @PckName)".
    Torsten Meringer | http://www.mssccmfaq.de

  • How to find Transaction code from Report/program name ?

    Dear all,
    How to find Transaction code if i know Report/program name ?

    Hi,
    In se 38 when u open ur program,in the application toolbar u have a button beside the where-used list button as display object list.on clicking this button,a window will be opened at the left most corner for repository browser,in this u can find any tranasctions,fileds,screens,dictionary structures defined for the program.
    if any transaction is created for the program u can find it under the transaction folder.
    revert back for further queries.
    Regards,
    Sravanthi

  • Driver program name

    hi all
    is there any other way of determining the driver program name for a script/smart form apart from the table tnapr?
    regards
    niki

    Hi..
    1) goto NACE transaction.
    2) select the module of the form...i.e. PO/SD/etc
    3) select the output type option
    4) from the list ,select the name of ur form/script.
    5) check out the processing routine,that will give the driver program name
    Reward Pts if helpful.
    regards
    - Rishika Bawa

  • Driver program name for script j_1i_57f4 challan

    hi .... plz i needed driver program name for delivery challan script : J_1I_57F4 . i tried to find it but since the output is displayed only from sp02 im unable to get its driver program name . i have to add certain fields in that form and corresponding logic in that form .
    thanks and regards .

    hi
    If u check the TNAPR table u will get the Driver Program as J_1I57FPN  , allu have to do is to Activate the SAP SCRIPT DEBUGGGER   and check the values  and also in the driver program above and check whihc values are coming and not.
    surya

  • Print program name for the dunning form F150_FR_DUNN_01 in sapscript

    Hi,
          I am not getting the exact print program name for the dunning form F150_FR_DUNN_01 in sapscript. After an extensive search I have come across few names of print program like SAPF150D2 and SAPLF150. But still I am not understanding which one to use for the form and also how to use it. I am unable to understand which include I should use to write my code.
    Kindly help me.
    Thanking you.
    Pujarini Patra

    Hi,
    Yes, you should be able to assign F150_FR_DUNN_01 in Dunning Forms customizing:
    and yes, I too would absolutely try to go for either a Smartform or even a PDF Form (if i'd have all the necessary setup for them, like Adobe Document Services, in the system already). I have Basis 702 SP  0011and FINBASIS 600 SP 0021, so all the following technicalities refer to those releases:
    The corresponding SAP sample Forms are:
    - F150_DUNN_SF for Smartform; and
    - F150_DUNN_SF for pdf Form (don't let the name confuse you )
    I'm not entirely sure if it's a good idea to try to convert/migrate Sapscript to Smartform and the Smartform to PDF Form - have never done that  myself and don't know how good/usable the migration result is. I just take the interface of Smartform from SAP and do the rest from scratch or by copying over the common parts of our existing custom forms.
    There are the SAP Standard wrapper FMs for SF and PDF forms already in the System:
    - FI_PRINT_DUNNING_NOTICE_SMARTF calling PRINT_DUNNING_NOTICE_SF and
    - FI_PRINT_DUNNING_NOTICE_PDF calling PRINT_DUNNING_NOTICE_PDF.
    So, theoretically, all you had to do to replace SapScripts (or even to enable all three form types) is to assign a custom BTE Event handler FM to event 1720 (for correct Application), which could detect, what type of form is assigned in Customizing and call the corresponding wrapper FM.
    As a sample for coding PDF form wrapper call one could take FI_PSO_EVENT_00001720_PDF (if you have IS-PS) in the system. I'd take out the IS-PS specific "business logic" like posting dunning charges (if it does not apply to my solution) and add the logic to decide, which wrapper to call.
    The confusing part about the customizing (Table T047E) to me is that there seems to be no form type defined anywhere in there... just the FORNR field for form name, which should apparently take the names of all three form types... I'd  try to extend that table with custom Form type field and try to regenerate Table Maintenance dialog for  view Cluster VC_T047_F... That would save the whole effort to try to detect the type for  form assigned...
    Another tip, in case you didn't know it already: you should be able to see all the Customizing paths, where T047E is involved, when you enter table name in SM30 and press "Customizing" and then "Continue w/o Specifying Project":
    The selected entry is the one you are looking for to assing your custom forms, I believe.
    cheers
    Janis

  • Object Custom Program Name of class RE and language EN does not exist

    Hi All,
             We are getting this bbelow error while running a custome program ,
    Object <Custom Program Name> of class RE and language EN does not exist
    Do any one has faced this similar issue earlier.
    Regards,
    Sen

    Hi,
    How did you resolve this problem ?
    Re: Object <Custom Program Name> of class RE and language EN does not exist.
    I am also encountering the same issue when I am executing the report.
    Regards,
    SSR.

  • How to find programs' names those were created by me in a specific period?

    for example
    the input parameters are:
    programmer: sy-uname
    begda: 2007.01.01
    endda: 2007.02.01
    the outcome will list all the programs' names including webdynpro component which was created by me.
    is there a table have those entries in the system?
    thanks a lot.

    Hi,
    Use the Below logic, Enter the required fields it will diplay all the programs and web dynpro components that are created.
    TABLES: trdir,
       wdy_component.
    SELECT-OPTIONS:p_name FOR trdir-name,
             p_wname FOR wdy_component-component_name,
             p_cdat FOR trdir-cdat.
    PARAMETERS:
                p_author TYPE trdir-unam OBLIGATORY,
                p_udat TYPE trdir-udat,
                p_subc TYPE trdir-subc OBLIGATORY.
    DATA: t_trdir LIKE STANDARD TABLE OF trdir.
    DATA: t_wcomponent LIKE STANDARD TABLE OF wdy_component.
    *SELECT * FROM trdir UP TO 5 ROWS INTO TABLE t_trdir*
      WHERE cnam = p_author AND
            subc = p_subc AND
            name IN p_name AND
           cdat BETWEEN p_cdat-low AND p_cdat-high .
    *SELECT * FROM wdy_component UP TO 5 ROWS INTO TABLE t_wcomponent*
      WHERE author = p_author
      AND component_name IN p_wname
      AND createdon BETWEEN p_cdat-low AND p_cdat-high.
    LOOP AT t_trdir INTO trdir .
      WRITE:/   trdir-name,
             30 trdir-cdat,
             45 trdir-unam,
             55 trdir-udat,
             67 trdir-subc.
    ENDLOOP.
    ULINE.
    LOOP AT t_wcomponent INTO wdy_component.
      WRITE: / wdy_component-component_name,
            30 wdy_component-createdon,
            45 wdy_component-author,
            55 wdy_component-changedby.
    ENDLOOP.

  • Why itunes 10.5 64 bit wont install on my 64bit hp probook ? when i run it my user account control asks me that do you want the following program from unknown purblisher to make changes on you on this computer?  program name :itunes 64setup.exe  purblishe

    why itunes 10.5 64 bit wont install on my 64bit hp probook ? when i run it my user account control asks me that do you want the following program from unknown purblisher to make changes on you on this computer?
    program name :itunes 64setup.exe
    purblisher:unknow
    file location: hard drive on this computer when i click yes nothing happens
    aditional ateps iv taken, uninstalled all itunes including quick time,banjour mobile updates ,everthing that has to do with apple products.went into window regestry and i dint find anything that has to do with apple in software bar
    restarted my laptop several times, put the setup on a External USB but still nothing happens ,blowsed all most all sites on goggle no where iv seen this problem ,pliz who can help?

    why itunes 10.5 64 bit wont install on my 64bit hp probook ? when i run it my user account control asks me that do you want the following program from unknown purblisher to make changes on you on this computer?
    program name :itunes 64setup.exe
    purblisher:unknow
    file location: hard drive on this computer when i click yes nothing happens
    aditional ateps iv taken, uninstalled all itunes including quick time,banjour mobile updates ,everthing that has to do with apple products.went into window regestry and i dint find anything that has to do with apple in software bar
    restarted my laptop several times, put the setup on a External USB but still nothing happens ,blowsed all most all sites on goggle no where iv seen this problem ,pliz who can help?

  • Logout has timed out because the app (program name) failed to quit

    Hi,
    I've been having an odd problem with my Mac since I did the last software upgrade.
    I upgraded to 10.5.8 and this problem has been occurring sporadically ever since.
    Basically, 7 times out of 10, when I try and shut the computer down, I get the following message: "Logout has timed out because the app (program name) failed to quit."
    The program apparently causing the problem varies - sometimes it's Photoshop, sometimes iTunes, OpenOffice, etc. Today it failed because Software Update (which I'd just run, in order to install the latest update) failed to quit!
    The only way I can get the computer to shut down in this case is to press and hold the power button.
    My Mac is a 20 inch 2.66 GHz with 2GB of RAM, and is about 18 months old. Up until the last upgrade I had no problems with it.
    Has anyone else had this problem and is there a way to fix it?

    HI,
    Open Activity Monitor (Applications/Utilites)
    Click the pop up menu and select: My Processes
    You can Force Quit any of the apps you mentioned from that window befoe you shut down.
    Carolyn

  • Which table stores program names?

    Hi,
    Which table stores the program names.
    Suppose i have a program with name ZTEST.
    And the program ZTEST has 2 more include programs ZTEST_TOP and ZTEST_MAIN.
    Now the requirement is that i'll have the program name (Say ZTEST), I need to fectch the includes associated with e program.
    I wanna know which table stores this data(program and its corresponding includes).
    Thanks in adavance.
    Vishnu

    Hi,
    If you are using this for searching the includes of your z program/function group, you can filter out the objects starting with "Z","Y","LZ","LY".
    Regards
    Vinod

  • How to find output type givenSapscript form name and print program name

    Hi  Experts,
           Can anyone tell me how to find the output type of  a sapscript form if the print program name and sapscript form name is 
    known.

    Hi,
    There are two ways:
    1. Use table TNAPR .. Here is table give PGNAM as your print program name and FONAM as form name.. Now the field KSCHL will be the output type assigned to your script.
    2. You can also check the NACE t-code.. In that select a application(Corresponds to your area) -> click on Output types tab -> Here you get list of output type.. You need click on Processing Routine folder to get all other info..

  • Script and program name for MM:OUTWARD CHELLAN

    Hi all ,
    can any one give me the script name and program name  for MM:OUTWARD CHELLAN.
    Regards,
    Arun.j

    Hi
    There are Std Scripts for PO,RFQ,CONTRACT, GRN , GI Note etc in MM
    What is this Outward challan? what is its' equivalent SAP business document?
    Check in The Tcode NACE for the relavent one, for the Output applications like MR,MD,EF,ME etc
    Reward points for useful Answers
    Regards
    Anji

  • The TADIR entry for Program name is missing in ABAP report

    Hi,
    I created an  User group , Infoset  & ABAP query, generated a report with the help of ABAP Query.
    However when I did the extended syntax check for the same i got the fatal error.
    "The TADIR entry for <Program name> is missing
    (Message cannot be hidden using comment)"
    Could you please let me know why the above error is being given & how we can remove the same.
    Thanks
    Vinay Pasalkar

    Moved to ABAP General, thanks for pointing this out. In the future you can use the yellow triangle on the top right of each message to report such cases, they will be taken care of.
    Thomas

  • Spool number and program name

    Hi All,
    Im trying to fetch spool number based on object name(program name).
    The table TSP01 has the field RQ2NAME has the program name in it, with some additional characters.
    For example, if the program name is ZQRR1234 , its showing it as ZQRR1234_ABC.
    Is there any other way to fetch spool numbers other than this? Please let me know.
    The other issue is, Spool created for ReportWriter reports, are having a different name in the RQ2NAME field(Totally different from the above case). For example if the report name is Z31L, its showing as GP3ITN115113. Im not sure whether this name will be same in Quality and production system.
    Finally please let me know how to fetch spool numbers based on program name in either case.

    Hello Saravanan,
    Please use FM RSPO_OUTPUT_SPOOL_REQUEST to display your spool.
    Have a Nice Day,
    Regards,
    Sujeet

Maybe you are looking for

  • ECC 6.0 IDES Installation Error

    Hi, I am Installing ECC 6.0 with MSSQL Server 2005 as backend in windows 2003 server. The JDK Version which i am using is jdk1.4.2_09. Already I have installed solution manager 4.0 in the same server with both ABAP and JAVA Stack. During installation

  • Is there a quick way to turn Cellular Data on and off?

    I just sent this suggestion in to Apple: I have limited data on my Iphone 4s, well 2gb and I try to use my wifi as much as possible while home especially.  I don't know the technical term for it, but when you swipe up from the bottom of the phone and

  • FILE_to_RFC  (Premature end of file)

    Hello, I'm trying to setup a FILE_to_RFC connection. Let me explain what I want to do . External systems sends files which should linked to SAP documents that users can later see with FB03. This can be done by function module ARCHIV_CREATE_SYNCHRON_M

  • What is the size limit of TEXT file while dumping a report through iBot?

    Hi Gurus, We have Siebel Analytics 7.8.5. We need to dump a huge report in text file through iBot for data processing. But we need to know Is there any limit for TEXT file generation through iBot? Thanks in Advance Regards Sudipta Edited by: Sudipta

  • Could not locate new host added from Solaris 10 Sparc servers

    Hi All, I am having difficulty finding a new host (Stallion terminal server. e.g. jodie - 10.56.4.7) using ping on our Sun Fire T5220 Solaris 10 on our network, even though jodie has been updated to the DHCP (10.56.19.157) server and can be located f