Find CD Code

I am trying to find a way to have my application look for a
file on the program cd before it launches the main program. I have
tried the Find Cd KO and the read extfile function. These are being
used in conjunction with the jumpout and/or Quit functions, but in
the case of the jumpout function, a window displays with the
question: Where is the ** file?. When you click on cancel, the
program proceeds to launch. If quit is used, the users is not given
any message to insert the cd.
What I would like to do is to have a small window appear with
some text asking that the orginal cd be inserted. If it is inserted
then the program will proceed with launch. If no file is detected
on the Cd, the user is returned to the desktop. Is there any one
out there with some code that can accomplish thiat? Much
thanks.

> What I would like to do is to have a small window appear
with some text
> asking
> that the orginal cd be inserted. If it is inserted then
the program will
> proceed with launch. If no file is detected on the Cd,
the user is
> returned to
> the desktop. Is there any one out there with some code
that can accomplish
> thiat? Much thanks.
>
Use FileType. If FileType returns zero, the file is not
there, so presumably
the CD isn't either - thus you can look for the file, then
prompt for the CD
if FileType = 0
HTH
Steve
http://twitter.com/Stevehoward999
Adobe Community Expert: eLearning, Mobile and Devices
European eLearning Summit - EeLS
Adobe-sponsored eLearning conference.
http://www.elearningsummit.eu

Similar Messages

  • How to find function code for buttons on toolbar in oops alv

    Hi experts,
    I want to remove some buttons from toolbar in oops alv, i know the procedure like get function code and pass the value in a table and pass that table to IT_TOOLBAR_EXCLUDING of
    method set_table_for_first_display but I WANT TO KNOW HOW TO FIND FUNCTION CODE FOR BUTTONS ON TOOLBAR IN OOPS ALV

    Hi Prakash,
    -->First you have to set the pf status in your alv program by,
    {FORM pf_status USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'FIRST'.
    ENDFORM.                    "PF_STATUS}
    -->Pass this Subroutine name in the Function module, Reuse_alv_grid_display's parameters i.e,
          i_callback_pf_status_set          = 'PF_STATUS'}
    *-->Then doble click on that pf status,
    From the menu bar, select Extras->Adjust Template->List Viewer,
    This will give you the existing statndard gui status of the program*
    ->Then catch that function codes in the User command Parameter of the Function module Reuse.. i.e,
          i_callback_user_command           = 'COMM'
    And make a subroutine of the name 'COMM'i.e,
    FORM comm USING ucomm LIKE sy-ucomm selfield TYPE slis_selfield.
      DATA: okcode TYPE sy-ucomm.
      okcode = ucomm.
      CASE okcode.
        WHEN 'REF'.
        CALL FUNCTION 'POPUP_TO_INFORM'
          EXPORTING
            titel         = 'MANSI'
            txt1          = 'CREATED BY'
            txt2          = SY-UNAME
          TXT3          = ' '
          TXT4          = ' '
    endcase.
    Hope it helps you
    Regrds
    Mansi

  • 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

  • I purchased a digital itunes giftcard through paypal but can't seem to find a 'code' to use to redeem the card. Could someone help me find where that code would be found? I can see the paypal transaction details.

    I purchased a digital itunes giftcard through paypal but can't seem to find a 'code' to use to redeem the card. Could someone help me find where that code would be found? I can see the paypal transaction details. jgm22

    -> iTunes Cards & Codes

  • How to find acount code in R12

    Hi,
    How to find account code details in R12? Which table contains account code details?
    Thanks

    Thanks Sanjay, I would like to know account code and their name and active status also. do you think there is another table also.

  • I lost my redemption code to install Lion onto my new computer. Is there a way I could get it again? When I go to the "get the update" page, it says that my serial number already has a code. How do I find this code again?!

    I lost my redemption code to install Lion onto my new computer. Is there a way I could get it again? When I go to the "get the update" page, it says that my serial number already has a code. How do I find this code again?!

    It is probably broken. You can try restoring it using Recovery Mode, but if that fails its time for a new phone. After all, it is 4 generations out of date. See: Recovery Mode

  • Finding Source Codes where a Particular Message Is Used??

    Hi All,
    Is there a good way to find out the Programs, FM, BAPIs, etc where a particular message number is used?
    I am trying to find source codes where the mesage TD 463 is used. I am getting this error by RSNAST00 program. It is used somewhere either in an include or some FM or BAPI called within those includes included in RSNAST00.
    I have tried to search for it in RSNAST00 but couldn't find it.
    Any idea how I can find the places where this message is used globally or at least in RSNAST00 and it's sub sources.
    Any suggestions will be greatly appreciated.
    Thanks

    hi,
      Goto SE91, give ur message class <b>TD</b> and your message no <b>463</b>, click on Display button. Place the cursor on the message no 463 and click on Where used list (CTRLSHIFTF3). A popup opens and click ok.
      This gives the list of programs, transactions in which message no is used.
      In that list, check for your program RSNAST00. Click display button.
    Regards,
    Sailaja.

  • To Find transaction code for maintenance view J_1BT001WV

    Hi Gurus,
    I have to find transaction code for maintenance view J_1BT001WV. Plz tell me how can i do it.
    regards
    Rajesh

    Hello Rajesh
    There are no specific transactions defined for this view (except for SM30 ).
    The IMG activities where the view is used are (check OBJSUB ):
    SIMG_ORFB_J_1BT001WV (Assign business place)
    J_1BASSBRANCH (Assign CGC branch to plant)
    In order to find the view in the IMG call transaction SM30, enter the view and push button Customizing.
    The following activites are found on ERP 6.0:
    South Korea: Basic Settings for Value-Added Tax     Assign Business Place
    Business Place (Generic)                                        Assign Business Places to Plants
    Official Document Numbering (Indonesia)                 Assign Business Places to Plants
    Nota Fiscal                             Assign Business Places to Plants
    Official Document Numbering (Thailand)                    Assign Business Places to Plants
    Regards
      Uwe

  • Way to find transaction code - if not listed in system-- status

    Hi friends
    way to find transaction code - if not listed in system--> status
    ex:
    spro- sd - sales -sales documents- sales document item -define item categories
    I didn't find T-code for this path from <b>system -->status</b>
    Please let me know the ways to find out exact T- codes.
    Thanks
    Prasad

    Hi Prasad, once you are in
    spro- sd - sales -sales documents- sales document item -define item categories,
    go to Additional Information-> Additional Information -> Display Key -> IMG Activity
    this will show you a code, in this case SIMG_CFMENUOLSDVOV7
    take last four caracters, this is transaction code: VOV7.
    Please reward if you find this useful.
    Regards,
    Efren

  • How to find the code which processes idocs

    I am looking for a descriptive short document which would ideally give me comlete picture in IDOC processing, transactions used etc.
    E.g
    My XI sends idocs to an RFC port of an ERP system. All I know is message type FIDCC2(found it in message mapping and under a partner profile ias imput parameter in transaction we20 for a partner profile with rfc destination of its own rfc destination i.e. PR1CLNT001)
    . However in this example I do not find source code which process then this idoc(probably as it is original idoc)?
    How to find the code

    Jan
    You can check the documentation and source code of two reports
    RBDAPP01 & RESOUT00   ( https://service.sap.com/sap/support/notes/1333417)
    https://service.sap.com/sap/support/notes/527481
    Few more IDoc related tcode, we05,bd87 etc...
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0087780d-81b0-2a10-eb82-86e1062f1a2d?overridelayout=true
    Edited by: Anindya Bose on Aug 6, 2009 7:34 PM

  • Where do i find my code number to instal indesign on a second computer? or a new computer

    where do i find my code number to instal indesign on a second computer? or a new computer !

    Find your serial number quickly
    Mylenium

  • How to find bar codes and mails to send clients in smartforms

    HI friends,
        How to find bar codes in smartforms and also how to send mail to the client. I have developed one object in smartforms, but i don't know how to send maill to the client. Pls help me........................
    Thanks in Advance.
    Saradhi.

    Hi!
    Here is the code to send the Smartform to mail as PDF attachment.
    *& Report ZTEST_PDF_MAIL
    REPORT ZTEST_PDF_MAIL.
    Internal Table declarations
    DATA: I_OTF TYPE ITCOO OCCURS 0 WITH HEADER LINE,
    I_TLINE TYPE TABLE OF TLINE WITH HEADER LINE,
    I_RECEIVERS TYPE TABLE OF SOMLRECI1 WITH HEADER LINE,
    I_RECORD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
    Objects to send mail.
    I_OBJPACK LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
    I_OBJTXT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
    I_OBJBIN LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
    I_RECLIST LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
    Work Area declarations
    WA_OBJHEAD TYPE SOLI_TAB,
    W_CTRLOP TYPE SSFCTRLOP,
    W_COMPOP TYPE SSFCOMPOP,
    W_RETURN TYPE SSFCRESCL,
    WA_DOC_CHNG TYPE SODOCCHGI1,
    W_DATA TYPE SODOCCHGI1,
    WA_BUFFER TYPE STRING, "To convert from 132 to 255
    Variables declarations
    V_FORM_NAME TYPE RS38L_FNAM,
    V_LEN_IN LIKE SOOD-OBJLEN,
    V_LEN_OUT LIKE SOOD-OBJLEN,
    V_LEN_OUTN TYPE I,
    V_LINES_TXT TYPE I,
    V_LINES_BIN TYPE I.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    FORMNAME = 'ZTEST'
    IMPORTING
    FM_NAME = V_FORM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    W_CTRLOP-GETOTF = 'X'.
    W_CTRLOP-NO_DIALOG = 'X'.
    W_COMPOP-TDNOPREV = 'X'.
    CALL FUNCTION V_FORM_NAME
    EXPORTING
    CONTROL_PARAMETERS = W_CTRLOP
    OUTPUT_OPTIONS = W_COMPOP
    USER_SETTINGS = 'X'
    IMPORTING
    JOB_OUTPUT_INFO = W_RETURN
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    I_OTF[] = W_RETURN-OTFDATA[].
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    FORMAT = 'PDF'
    MAX_LINEWIDTH = 132
    IMPORTING
    BIN_FILESIZE = V_LEN_IN
    TABLES
    OTF = I_OTF
    LINES = I_TLINE
    EXCEPTIONS
    ERR_MAX_LINEWIDTH = 1
    ERR_FORMAT = 2
    ERR_CONV_NOT_POSSIBLE = 3
    OTHERS = 4.
    IF SY-SUBRC <> 0.
    ENDIF.
    LOOP AT I_TLINE.
    TRANSLATE I_TLINE USING '~'.
    CONCATENATE WA_BUFFER I_TLINE INTO WA_BUFFER.
    ENDLOOP.
    TRANSLATE WA_BUFFER USING '~'.
    DO.
    I_RECORD = WA_BUFFER.
    APPEND I_RECORD.
    SHIFT WA_BUFFER LEFT BY 255 PLACES.
    IF WA_BUFFER IS INITIAL.
    EXIT.
    ENDIF.
    ENDDO.
    Attachment
    REFRESH: I_RECLIST,
    I_OBJTXT,
    I_OBJBIN,
    I_OBJPACK.
    CLEAR WA_OBJHEAD.
    I_OBJBIN[] = I_RECORD[].
    Create Message Body Title and Description
    I_OBJTXT = 'test with pdf-Attachment!'.
    APPEND I_OBJTXT.
    DESCRIBE TABLE I_OBJTXT LINES V_LINES_TXT.
    READ TABLE I_OBJTXT INDEX V_LINES_TXT.
    WA_DOC_CHNG-OBJ_NAME = 'smartform'.
    WA_DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
    WA_DOC_CHNG-OBJ_DESCR = 'smartform'.
    WA_DOC_CHNG-SENSITIVTY = 'F'.
    WA_DOC_CHNG-DOC_SIZE = V_LINES_TXT * 255.
    Main Text
    CLEAR I_OBJPACK-TRANSF_BIN.
    I_OBJPACK-HEAD_START = 1.
    I_OBJPACK-HEAD_NUM = 0.
    I_OBJPACK-BODY_START = 1.
    I_OBJPACK-BODY_NUM = V_LINES_TXT.
    I_OBJPACK-DOC_TYPE = 'RAW'.
    APPEND I_OBJPACK.
    Attachment (pdf-Attachment)
    I_OBJPACK-TRANSF_BIN = 'X'.
    I_OBJPACK-HEAD_START = 1.
    I_OBJPACK-HEAD_NUM = 0.
    I_OBJPACK-BODY_START = 1.
    DESCRIBE TABLE I_OBJBIN LINES V_LINES_BIN.
    READ TABLE I_OBJBIN INDEX V_LINES_BIN.
    I_OBJPACK-DOC_SIZE = V_LINES_BIN * 255 .
    I_OBJPACK-BODY_NUM = V_LINES_BIN.
    I_OBJPACK-DOC_TYPE = 'PDF'.
    I_OBJPACK-OBJ_NAME = 'smart'.
    I_OBJPACK-OBJ_DESCR = 'test'.
    APPEND I_OBJPACK.
    CLEAR I_RECLIST.
    I_RECLIST-RECEIVER = '[email protected]'.
    I_RECLIST-REC_TYPE = 'U'.
    APPEND I_RECLIST.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    DOCUMENT_DATA = WA_DOC_CHNG
    PUT_IN_OUTBOX = 'X'
    COMMIT_WORK = 'X'
    TABLES
    PACKING_LIST = I_OBJPACK
    OBJECT_HEADER = WA_OBJHEAD
    CONTENTS_BIN = I_OBJBIN
    CONTENTS_TXT = I_OBJTXT
    RECEIVERS = I_RECLIST
    EXCEPTIONS
    TOO_MANY_RECEIVERS = 1
    DOCUMENT_NOT_SENT = 2
    DOCUMENT_TYPE_NOT_EXIST = 3
    OPERATION_NO_AUTHORIZATION = 4
    PARAMETER_ERROR = 5
    X_ERROR = 6
    ENQUEUE_ERROR = 7
    OTHERS = 8.
    IF SY-SUBRC <> 0.
    WRITE:/ 'Error When Sending the File', SY-SUBRC.
    ELSE.
    WRITE:/ 'Mail sent'.
    ENDIF.
    If you want to send some text as Body of the Mail then follow this once
    when u r callin the FM'SO_NEW_DOCUMENT_ATT_SEND_API1'.. points to remember
    1.u have to pass the body of content in table CONTENTS_TXT(ia m using I_OBJBIN) (each line a record) then. suppose i have appended 11 records to the table CONTENTS_TXT .
    2.PACKING_LIST(iam usign I_OBJPACK) table u ahve to append a redord as follows
    I_OBJPACK-TRANSF_BIN = ' '.
    I_OBJPACK-HEAD_START = 000000000000001.
    I_OBJPACK-HEAD_NUM = 000000000000001.
    I_OBJPACK-BODY_START = 000000000000002
    I_OBJPACK-BODY_NUM = 000000000000010.
    I_OBJPACK-DOC_TYPE = 'RAW'.
    append I_OBJPACK-.
    by the above code system treat the first line in table I_OBJBIN as header and the 2nd line to 10 lines tread as body.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    DOCUMENT_DATA = WA_DOC_CHNG
    PUT_IN_OUTBOX = 'X'
    TABLES
    PACKING_LIST = I_OBJPACK
    OBJECT_HEADER = WA_OBJHEAD
    CONTENTS_BIN = I_OBJBIN
    CONTENTS_TXT = I_OBJTXT
    RECEIVERS = I_RECLIST
    EXCEPTIONS
    TOO_MANY_RECEIVERS = 1
    DOCUMENT_NOT_SENT = 2
    DOCUMENT_TYPE_NOT_EXIST = 3
    OPERATION_NO_AUTHORIZATION = 4
    PARAMETER_ERROR = 5
    X_ERROR = 6
    ENQUEUE_ERROR = 7
    OTHERS = 8.
    Regards
    Tamá

  • Unable to find redemption code for creative cloud

    I was running trial for illustrator and photoshop then decided to join adobe cloud membership.
    However, my softwares will asked for serial number even after i signed in
    I realised my problem was that I didn't activate my membership through redemption code.
    However, I just cannot find redemption code anywhere. It's not in my confirmation email or in recipe.
    I cannot find any support of guide anywhere in adobe website.
    I am very very disappointed at how difficult it is to use adobe creative cloud.
    I'm thinking of cancelling my order and downloading crack files now
    any help?

    Have you contacted Adobe Customer Service?
    This is a user -to-user forum, and this type of thing is much better handled by the people you actually bought the program from.

  • How to find the code for a lost Mac App gift card?

    I received a Back-to-School gift card with my purchase of my laptop that had $100 on it back in 2012. I used it once last year to purchase Roller Coaster Tycoon 3 Platinum. I wanted to buy The Sims 2 yesterday, but I had to update the version of OS X I had to run the program. I had to wait overnight to let it update since I had school in the morning. Long story short, the card somehow disappeared over night and I've been searching like crazy this morning to find it. To no avail, it didn't show up. I was wondering if there is any way I could find the code somewhere since I had made a purchase on it a while ago. I was able to view the purchase through iTunes, but I wasn't able to find a code. It's already been redeemed on my Apple ID and everything. All I need is the code. Any help, please?
    I have a MacBook Air and the update I just installed was OS X Yosemite 10.10.1

    I know the amount left on it, which is about $60. The issue is I'd like to use my card again, but I lost it and I need the code on the back to use it again. When I tried to make the purchase, it wanted me to reenter the code despite that the gift card was already redeemed on the account.
    There was no expiration date on the card and my account is still showing the amount left on it.

  • Where do I find the code on my Mac to allow iPhone text messages to also be sent and received on iMac?

    where I can find the code that is supposed to be shown on my Mac to allow iphone text messages to also be sent and received on iMac?

    Hi,
    Long Answer.
    Enable the iPhone for Messages.  Make sure it Verifies and that your can Send from the iPhone Number.
    To do that you can Enable the iMessages account in Messages on the Mac using and Apple ID.
    The iPhone can then send from the iPhone Number to the Apple ID (Mac).
    Then add the Apple ID to the iPhone.
    The Mac will then get a pop up saying that the iPhone is using the Apple ID and the iPhone number.
    Accept this Pop up to enable the Mac to "sync" the iPhone Number iMessages.
    (Sync in this case is only "Display on All Devices").
    Now you can enable Text Forwarding on the iPhone.
    IF the Apple ID and iPhone Number are already linked this will launch the app if it is Quit and display the Code number you need.
    The number then need to be entered back on the iPhone to complete the process.
    The Text Forwarding option on the iPhone should then show the device(s)  that are linked this way.
    9:12 pm      Wednesday; March 11, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Finding Process Code for a message Type

    Hi,
    Is there any way to find process code for a specific message type.
    Message Type WFRESOURCE_CHANGEAVAILABILITY

    Hi Swathi,
    I have already mention the process codes that can be used for this message type. For your convenience i am also attaching th description ,which process code can be used when.
    ABI_AIDN_IN     Auto- ID Idoc process
    ED00                Display Idoc using work item
    ED00_XML        Display idoc using work item (xml)
    ED08                Forward idoc
    ZABI_DLV_IN    Delivery advice ( AIDDESADV with DELVRY04)
    Regards
    Vinod

Maybe you are looking for

  • Process order - The hour details are not being pulled through

    Hi friends, Details of Issue: COR3 - Our Production Department have entered hours into COR6N as usual but these hours are not pulling through to the actual section in costs analysis screen. Reason: CORT - Process order xxxx , counter 36 & 37 - indica

  • ITunes can't load Aperture library for iPad Air sync

    I have a 120gb Aperture library stored on my NAS. Got my new iPad Air and when I go to the Photos tab in sync options, the gray wheel just keeps on spinning indefintely. I don't know if it can't load a library that big, or if there's something else g

  • Import Oracle DataBase dump file Into Sql Server With out connection oracle using c# code.

    Hi All, I would like to ask how can imports my dump oracle database file data and struct into sql server 2005 with out make connection oracle. best regards. Hakim. 

  • The embeded swf doesn't play...

    Hi I'm trying to embed a swf that was created with a flash gallery making program into a pdf file but it just never works properly. I've also tried converting it into pdf but that doesn't work either. Once I convert it/embed it all I see is a white/b

  • Two elements in Table CellEditor

    Whether it is possible in the table (CellEditor) to insert a sheaf of elements? For example Caption and TextEdit? It is necessary for a news line. Can there is other way of visualization. I shall be glad to your offers!