I want to add header to a file. Header must contain date/time and scan rate (it's a DAQ vi)

I managed to solve the problem using solution in attachment, but it looks quite primitive...
Additional problem:
Suppose the case:
Acquisition 1 --> header and results are written in "results.lvm"
Acquisition 2 --> I want new data to be written in the same destination file "results.lvm" (append to the file). But I need the header to know when Acquisition 2 begins. Unfortunately, what happens is that new data are appended immediately after old data; header is updated at the top of the page and information on Acquisition 2 replaces that one on Acquisition 1.
Here is the reason because I need a more efficient header maker.
Attachments:
attachement.vi ‏15 KB
data5_h.lvm ‏1 KB

I looked at the VI, and you should not think that it is bad. It works and there is nothing simplier you can do to format the header.
working simple solution=good solution
I think that you may want to reapproach writing the data to file. The customization you want in the saved file will require extensive recoding of several VIs. Have you considered just writing your own algorithm for recording data? It is not difficult to learn the basic techniques then you can modify it all you want. Look on the string palette and the shipping examples for writing text to file.

Similar Messages

  • If I want to add a family member who is not in my household and has their own itunes account and credit info...

    If I want to add a family member who is not in my household and has their own itunes account and credit info...will all their purchases be charged to my credit card as the Organizer?

    Hi mbostick, 
    Welcome to the Apple Support Communities!
    The only way a family member can use their own funds and not the Organizer’s account for purchases would be with store credit, such as an iTunes gift card. 
    Family purchases and payments
    Making purchases
    After you set up your family, any time a family member initiates a new purchase it will be billed directly to your account unless that family member has gift or store credit. First, their store credit will be used to pay the partial or total bill. The remainder will bill to the family organizer. As the family organizer, any receipts generated by the transaction will be sent to you. Learn more about how iTunes Store purchases are billed.
    Have a great day,
    Joe

  • Shopping Cart header text ( Approval Note )with User id, Date , Time

    Hi Experts ,
    We are mapped SC header Text to Classic PO header text sucessfully. But in the SC Approval Note system is automatically  pouplating User Id, Date , Time and Time Zone ..along with manullay entered Text.....and same is pouplating in tyhe created Classic PO.
    We don't want these extra things in the SC and PO both .
    Can anyone please suggest how we can achive this ?
    Thanks
    NAP

    Thanks Jay. Resolved .
    So without Badi this is not possible. Right ?

  • Use files based on a date/time stamp in order

    I have a PL/SQL procedure that is using BFILE to pick-up and read a file. The file will have the same starting characters for every file followed by a date/time stamp: AAAA_09232009
    I need my procedure to use the file with the oldest date first and then rename the file after the procedure has run through it. Can anyone assist me in this? Below is the beginning of the procedure --Thanx in Advance:
    create or replace PROCEDURE XML_READ_FILE
    as
    v_bfile BFILE := BFILENAME('XML_DIR', 'AAAA_09232009.xml');
    v_clob CLOB;
    BEGIN
    DBMS_LOB.createtemporary(v_clob, TRUE);
    DBMS_LOB.OPEN(v_bfile, DBMS_LOB.lob_readonly);
    DBMS_LOB.loadfromfile(v_clob, v_bfile, DBMS_LOB.lobmaxsize);

    See if this helps:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584

  • Using iDVD, I've no problem creating a slideshow, but I want to add three seperate sound files, in this case speeches I've got in iTunes. I want to create three individual buttons/sub menu to access them individually from the photos. Can anyone help

    Using iDVD I've no problem creating a slideshow, but am having problems trying to add three seperate sound files in this case three speeches that I hold in iTunes. I want to be able to access them individually and seperately from the photo slideshow. Can anyone advise if this can be done and if it can, how I go about creating the seperate menu and buttons.

    If you'd like to integrate the speeches with the slideshow, I'd do that in iMovie where you'll have more control over the timing.  Use chapter markers at the beginning of each speech so the viewer can jump to a particular speech (note that chapter markers advance the viewer to a particular spot -- the viewer keeps watching the rest of the video until the end of everything or until they use the remote's menu button).
    If you're just wanting the speeches to be on the DVD so people can listen to the speeches after seeing your slideshow, you could:
    - use iDVD or iMovie to make a "slideshow" with just 1 image matching the length of a speech.
    - create three submenus and use the speeches as menu music.  Here's a (random) video on creating submenus:
    http://www.youtube.com/watch?v=DlhQSb_D5kc
    John

  • How to Add a new Currency in HFM Data form and grid (Rates)

    Hi Gurus,
    Am very new to this forum.
    Can someone explain me how to add a new currency to the existing data for or grid in the Workspace.
    Regards,
    Vinod

    Hi Sandeep,
    To add a new currency in Metadata, just add in Currencies dimension, and to add in Data form-just send the script what you are using as of now for rest of the currencies, or follow the same steps as specified above. or just add the script A#CLORATE.w#Periodic.C2#XYZ in rows of your data form (where XYZ- is the new currency).
    To add a new location in FDM login to FDM web client- click on Metadata--> locations and select the Controls review location where you want to add the data load location, right click and add the new location.

  • Identify modified date/time and name of SOURCE file

    I can't seem to find a way to store/retrieve the last-modified date/time of the SOURCE file (as well as filename) used to create a PDF. I looked into the default metadata, but it seems to store only the last-modified date of the PDF.

    I'm sorry, maybe I'm a little slow, but I would need more detailed specs on how to solve the problem. Is this something you have implemented yourself? If so, how?

  • Help needed! want to add WS security UserNameToken to header

    I have a web service problem....
    Based off a WSDL file, I have created stub classes in AXIS...that can communicate with the deployed web service (which is a .Net implementation).
    That worked well until they added WSE (web service enhancements). Now, obviously, I cannot access the webservice, I get the following error:
    AxisFault
    faultCode: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
    faultSubcode:
    faultString: Microsoft.Web.Services3.Security.SecurityFault: Security requirements are not satisfied because the security header is not present in the incoming message.
    at Microsoft.Web.Services3.Design.UsernameOverTransportAssertion.ServiceInputFilter.ValidateMessageSecurity (SoapEnvelope envelope, Security security)
    at Microsoft.Web.Services3.Security.ReceiveSecurityFilter.ProcessMessage(SoapEnvelope envelope)
    at Microsoft.Web.Services3.Pipeline.ProcessInputMessage(SoapEnvelope envelope)
    at Microsoft.Web.Services3.WseProtocol.FilterRequest(SoapEnvelope requestEnvelope)
    at Microsoft.Web.Services3.WseProtocol.RouteRequest(SoapServerMessage message)
    at System.Web.Services.Protocols.SoapServerProtocol.Initialize ()
    at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
    faultActor: http://dev.externalservicesgateway.matrix.cmg.com.au/TokenService.asmx
    faultNode:
    Basically, what the issue is, is that a header with WSSE security (with a user token: wsse:UsernameToken) needs to be added like so:
    <soap:Header>
    <wsa:Action> http://Cc.Mc.AU.ExternalServiceGateway/GetToken</wsa:Action>
    <wsa:MessageID>urn:uuid:5b000b39-5411-4ae0-af97-6cdd7da329e6</wsa:MessageID>
    <wsa:ReplyTo>
    <wsa:Address> http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
    </wsa:ReplyTo>
    <wsa:To> http://dev.externalservicesgateway.matrix.cmg.com.au/TokenService.asmx</wsa:To>
    <wsse:Security soap:mustUnderstand="1">
    <wsu:Timestamp wsu:Id="Timestamp-a553fe41-ae60-4f56-90dd-c40596520c42">
    <wsu:Created>2006-08-29T00:18:18Z</wsu:Created>
    <wsu:Expires>2006-08-29T00:23:18Z</wsu:Expires>
    </wsu:Timestamp>
    <wsse:UsernameToken xmlns:wsu=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="SecurityToken-
    d4372476-403d-4a8f-81f5-f11a34f9f507">
    <wsse:Username>user1</wsse:Username>
    <wsse:Password Type=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile
    1.0#PasswordText">abc123</wsse:Password>
    <wsse:Nonce>o32XWd4ZnQRpPVIHJvn7sw==</wsse:Nonce>
    <wsu:Created>2006-08-29T00:18:18Z</wsu:Created>
    </wsse:UsernameToken>
    </wsse:Security>
    </soap:Header>
    It is really the <wsse: Security> node that I need to inject in the header. What I tried to do was hack the generated stub classes by trying to add header with the wsse node but it is not working. I also think that best practices means that the generated files should not really be touched in theory.
    The other thing to do I think is to create a SoapEnvelope with a Header and Body. In the Header I would add the wsse node with userToken. If this is the case, it is still challenging because I have not found any working code that does this so far.
    At this point, I am not sure what to do, can anyone help me solve this or guide me in the right direction?? Are there any code samples out there?
    I know you can download Apache WSS4J but even that is not clear on how to implement.
    Any help would be greatly appreciated.

    format the content to use like a regular html anchor tag <a href="link of the doc">download</a>
    and then convert the text to html using JS
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • I want to add a field in po header

    hi,
    i am kishore. i have assignment. i have to add a customer field in purchase order header.
    pls provide any exit how i will write that code?
    K. Kishore

    Hi Narendran,
    I am not getting values in output for this programme.Can you plz suggest
    *& Report  YALV1                                                       *
    REPORT  YALV1                                   .
    type-pools: slis.
    tables: mara,makt.
    CONSTANTS: GC_FORMNAME_TOP_OF_PAGE(15) TYPE
               c VALUE 'TOP_OF_PAGE',
               GC_FORMNAME_USER_COMMAND TYPE
               SLIS_FORMNAME VALUE 'USER_COMMAND'.
    data :  toutdt     like  prps-post1,
            touttm     like  prps-post1.
    *INTERNAL TABLE DECLARATION.
    types: begin of itab_alv,
          matnr like mara-matnr,
          mbrsh like mara-mbrsh,
          mtart like mara-mtart,
          meins like mara-meins,
          end of itab_alv.
    DATA: itab TYPE STANDARD TABLE OF itab_alv INITIAL SIZE 0,
          itab1 TYPE itab_alv.
    types: begin of itab_alv1,
          matnr like makt-matnr,
          maktx like makt-maktx,
          spras like makt-spras,
          end of itab_alv1.
    *data: itab1 type itab_alv1.
    data: itab2 type standard table of itab_alv1 initial size 0,
          itab3 type itab_alv1.
    data: ok-code like sy-ucomm.
    data: gd_repid like sy-repid.
    *ALV-GRID DATA DECLARATION.
    data: fieldcatalog type slis_t_fieldcat_alv.
    DATA: GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER.
    FIELD CATALOG.
    *data: fieldcatalog1 type slis_fieldcat_alv.
    data: gd_layout type slis_layout_alv.
    LAYOUT DECLARATION.
    data: id_color type c.
    data: I_EVENTS type slis_t_event.
    data: wa_event type slis_alv_event.
    *data: ok-code like sy-ucomm.
    *ALV-GRID DATA DECLARATION.
    FIELD CATALOG.
    LAYOUT DECLARATION.
    *data: ls_sort type slis_sortinfo_alv.
    data: IT_SORT TYPE SLIS_T_SORTINFO_ALV.
    selection-screen: begin of block b1 with frame title new.
    select-options: s_matnr for mara-matnr.
    selection-screen: end of block b1.
    initialization.
    gd_repid = sy-repid.
    perform t_fieldcat.
    PERFORM EVENTTAB_BUILD USING I_EVENTS[].
    start-of-selection.
    perform data_selection.
    *PERFORM EVENTTAB_BUILD USING I_EVENTS[].
    PERFORM E04_COMMENT_BUILD USING GT_LIST_TOP_OF_PAGE[].
    *perform t_fieldcat.
    *perform t_fieldcat1.
    *perform sort_order.
    perform display.
    *CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
      I_PROGRAM_NAME               = gd_repid
      I_INTERNAL_TABNAME           = 'ITAB'
      I_STRUCTURE_NAME             =
      I_CLIENT_NEVER_DISPLAY       = 'X'
      I_INCLNAME                   = gd_repid
      I_BYPASSING_BUFFER           =
      I_BUFFER_ACTIVE              =
    CHANGING
       CT_FIELDCAT                  = fieldcatalog.
    EXCEPTIONS
      INCONSISTENT_INTERFACE       = 1
      PROGRAM_ERROR                = 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.
    *perform data_selection.
    *&      Form  t_fieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM t_fieldcat .
    data: fieldcatalog1 type slis_fieldcat_alv.
    fieldcatalog1-seltext_s = 'materialno'.
    fieldcatalog1-col_pos = 1.
    fieldcatalog1-FIELDNAME    = 'matnr'.
    fieldcatalog1-TABNAME      = 'ITAB'.
    fieldcatalog1-outputlen = 20.
    fieldcatalog1-do_sum = 'X'.
    fieldcatalog1-key = 'X'.                 "this field is not scroolable
    "and hideble
    fieldcatalog1-hotspot = 'X'.
    fieldcatalog1-emphasize   = 'X'.
    fieldcatalog1-REF_TABNAME   = 'makt'.
    append fieldcatalog1 to fieldcatalog.
    clear fieldcatalog1.
    fieldcatalog1-seltext_s = 'industry'.
    fieldcatalog1-col_pos = 2.
    fieldcatalog1-FIELDNAME    = 'mbrsh'.
    fieldcatalog1-TABNAME      = 'ITAB'.
    fieldcatalog1-outputlen = 4.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-REF_TABNAME   = 'makt'.
    append fieldcatalog1 to fieldcatalog.
    clear fieldcatalog1.
    *append fieldcatalog1 to fieldcatalog.
    fieldcatalog1-seltext_s = 'type'.
    fieldcatalog1-col_pos = 3.
    fieldcatalog1-FIELDNAME    = 'mtart'.
    fieldcatalog1-TABNAME      = 'ITAB'.
    fieldcatalog1-outputlen = 6.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-REF_TABNAME   = 'makt'.
    append fieldcatalog1 to fieldcatalog.
    clear fieldcatalog1.
    fieldcatalog1-seltext_s = 'Unit'.
    fieldcatalog1-col_pos = 4.
    fieldcatalog1-FIELDNAME    = 'meins'.
    fieldcatalog1-TABNAME      = 'ITAB'.
    fieldcatalog1-outputlen = 2.
    fieldcatalog1-key = 'X'.
    *fieldcatalog1-do_sum = 'X'.
    *fieldcatalog1-sp_group = 'A'.
    fieldcatalog1-REF_TABNAME   = 'makt'.
    append fieldcatalog1 to fieldcatalog.
    clear fieldcatalog1.
    ENDFORM.                    " t_fieldcat
    *&      Form  EVENTTAB_BUILD
          text
         -->P_I_EVENTS[]  text
    FORM EVENTTAB_BUILD  USING   T_EVENTS TYPE SLIS_T_EVENT.
    DATA LS_EVENT TYPE SLIS_ALV_EVENT.
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         I_LIST_TYPE           = 0
       IMPORTING
         ET_EVENTS             = T_EVENTS
    EXCEPTIONS
      LIST_TYPE_WRONG       = 1
      OTHERS                = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE T_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
          INTO LS_EVENT.
      IF SY-SUBRC = 0.
        MOVE GC_FORMNAME_TOP_OF_PAGE TO LS_EVENT-FORM.
        MODIFY  T_EVENTS FROM LS_EVENT
                TRANSPORTING FORM
                where name = slis_ev_top_of_page.
      ENDIF.
      READ TABLE T_EVENTS WITH KEY NAME = SLIS_EV_USER_COMMAND
         INTO LS_EVENT.
      IF SY-SUBRC = 0.
        MOVE GC_FORMNAME_USER_COMMAND TO LS_EVENT-FORM.
        MODIFY  T_EVENTS FROM LS_EVENT
                TRANSPORTING FORM
                where name = slis_ev_user_command.
      ENDIF.
    ENDFORM.                    " EVENTTAB_BUILD
    *&      Form  data_selection
          text
    -->  p1        text
    <--  p2        text
    FORM data_selection .
    select matnr mbrsh mtart meins into
    table itab from mara
    where matnr in s_matnr.
    ENDFORM.                    " data_selection
    *&      Form  E04_COMMENT_BUILD
          text
         -->P_GT_LIST_TOP_OF_PAGE[]  text
    FORM E04_COMMENT_BUILD  USING    T_LISTHEADER TYPE SLIS_T_LISTHEADER.
    DATA: LS_LINE TYPE SLIS_LISTHEADER.
      LS_LINE-TYP = 'H'.
      LS_LINE-INFO = 'AREVA T&D'.
      APPEND LS_LINE TO T_LISTHEADER.
    CALL FUNCTION 'CONVERSION_EXIT_LDATE_OUTPUT'
           EXPORTING
                INPUT  = SY-DATUM
           IMPORTING
                OUTPUT = TOUTDT.
      CALL FUNCTION 'CONVERSION_EXIT_TIMLO_OUTPUT'
           EXPORTING
                INPUT  = SY-UZEIT
           IMPORTING
                OUTPUT = TOUTTM.
    CLEAR LS_LINE.
      LS_LINE-TYP = 'S'.
      LS_LINE-KEY = '  Run Date and Time'.
      CONCATENATE TOUTDT '-' TOUTTM INTO LS_LINE-INFO.
      APPEND LS_LINE TO T_LISTHEADER.
      CLEAR LS_LINE.
      LS_LINE-TYP = 'S'.
      LS_LINE-KEY = 'INV RECON REPORT'.
      APPEND LS_LINE TO T_LISTHEADER.
    ENDFORM.                    " E04_COMMENT_BUILD
    *&      Form  display
          text
    -->  p1        text
    <--  p2        text
    FORM display .
    break-point.
    gd_repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       I_CALLBACK_PROGRAM                = gd_repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = 'TOP-OF-PAGE'
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
       I_GRID_TITLE                      = 'INVOICE RECONCILLATION REPORT'
    I_GRID_SETTINGS                   =
      IS_LAYOUT                         = gd_layout
       IT_FIELDCAT                       = fieldcatalog[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           = IT_SORT
      IT_FILTER                         =
      IS_SEL_HIDE                       =
       I_DEFAULT                         = 'X'
       I_SAVE                            = 'A'
      IS_VARIANT                        =
       IT_EVENTS                         = I_EVENTS
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = ITAB.
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " display
    FORM TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE
                I_LOGO             = 'AREVA_LOGO'.
        I_END_OF_LIST_GRID       = GT_LIST_TOP_OF_PAGE.
    ENDFORM.
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
    RS_SELFIELD TYPE SLIS_SELFIELD.
    CASE R_UCOMM.
    WHEN '&IC1'.
    READ TABLE itab INTO itab1 INDEX RS_SELFIELD-TABINDEX.
    PERFORM BUILD_FIELDCATLOG_EKPO.
    PERFORM EVENTTAB_BUILD  USING I_EVENTS[].
    PERFORM DATA_RETRIEVAL_EKPO.
    PERFORM BUILD_LISTHEADER_EKPO USING GT_LIST_TOP_OF_PAGE.
    PERFORM DISPLAY_ALV_EKPO.
    ENDCASE.
    ENDFORM. "user_command
    *&      Form  sort_order
          text
    -->  p1        text
    <--  p2        text
    FORM sort_order .
    PERFORM SORT_ORDER_FILL USING: '01'
                                    'matnr'
                                    'X'.
      PERFORM SORT_ORDER_FILL USING: '02'
                                    'mbrsh'
                                    'X'
    ENDFORM.                    " sort_order
    *&      Form  SORT_ORDER_FILL
          text
         -->P_0508   text
         -->P_0509   text
         -->P_0510   text
         -->P_0511   text
         -->P_0512   text
    FORM SORT_ORDER_FILL  USING   P_SPOS TYPE SLIS_SPOS
                                  P_FIELDNAME TYPE SLIS_FIELDNAME
                                  P_UP TYPE SLIS_SOUP
                                  P_DOWN TYPE SLIS_SODN.
                                 P_SUBTOT TYPE SLIS_DOSUB.
    DATA: WA_SORT TYPE SLIS_SORTINFO_ALV.
      WA_SORT-SPOS      = P_SPOS.
      WA_SORT-FIELDNAME = P_FIELDNAME.
      WA_SORT-TABNAME   = 'ITAB_ALV'.
      WA_SORT-UP        = P_UP.
      WA_SORT-DOWN      = P_DOWN.
    WA_SORT-SUBTOT    = P_SUBTOT.
      WA_SORT-GROUP     = 'UL'.
      WA_SORT-COMP      = ' '.
      WA_SORT-EXPA      = ' '.
      WA_SORT-OBLIGATORY = ' '.
      APPEND WA_SORT TO IT_SORT.
    ENDFORM.                    " SORT_ORDER_FILL
    *&      Form  BUILD_FIELDCATLOG_EKPO
          text
    -->  p1        text
    <--  p2        text
    FORM BUILD_FIELDCATLOG_EKPO .
    data: fieldcatalog1 type slis_fieldcat_alv.
    loop at fieldcatalog into fieldcatalog1.
    case fieldcatalog1-fieldname.
    when 'matnr'.
    fieldcatalog1-seltext_s = 'materialno'.
    fieldcatalog1-col_pos = 1.
    *fieldcatalog1-FIELDNAME    = 'matnr'.
    *fieldcatalog1-TABNAME      = itab_alv.
    fieldcatalog1-outputlen = 20.
    fieldcatalog1-do_sum = 'X'.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-REF_TABNAME   = 'makt'.
    when 'maktx'.
    fieldcatalog1-seltext_s = 'description'.
    fieldcatalog1-col_pos = 2.
    *fieldcatalog1-FIELDNAME    = 'mbrsh'.
    *fieldcatalog1-TABNAME      = itab_alv.
    fieldcatalog1-outputlen = 10.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-REF_TABNAME   = 'makt'.
    *append fieldcatalog1 to fieldcatalog.
    when 'spras'.
    fieldcatalog1-seltext_s = 'language'.
    fieldcatalog1-col_pos = 3.
    *fieldcatalog1-FIELDNAME    = 'mtart'.
    *fieldcatalog1-TABNAME      = itab_alv.
    fieldcatalog1-outputlen = 10.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-REF_TABNAME   = 'makt'.
    endcase.
    modify fieldcatalog from fieldcatalog1.
    endloop.
    ENDFORM.                    " BUILD_FIELDCATLOG_EKPO
    *&      Form  EVENT_CALL_EKPO
          text
    -->  p1        text
    <--  p2        text
    FORM EVENT_CALL_EKPO  USING   T_EVENTS TYPE SLIS_T_EVENT.
    DATA LS_EVENT TYPE SLIS_ALV_EVENT.
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         I_LIST_TYPE           = 0
       IMPORTING
         ET_EVENTS             = T_EVENTS
    EXCEPTIONS
      LIST_TYPE_WRONG       = 1
      OTHERS                = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE T_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
          INTO LS_EVENT.
      IF SY-SUBRC = 0.
        MOVE GC_FORMNAME_TOP_OF_PAGE TO LS_EVENT-FORM.
        MODIFY  T_EVENTS FROM LS_EVENT
                TRANSPORTING FORM
                where name = slis_ev_top_of_page.
      ENDIF.
      READ TABLE T_EVENTS WITH KEY NAME = SLIS_EV_USER_COMMAND
         INTO LS_EVENT.
      IF SY-SUBRC = 0.
        MOVE GC_FORMNAME_USER_COMMAND TO LS_EVENT-FORM.
        MODIFY  T_EVENTS FROM LS_EVENT
                TRANSPORTING FORM
                where name = slis_ev_user_command.
      ENDIF.
    ENDFORM.                    " EVENT_CALL_EKPO
    *&      Form  DATA_RETRIEVAL_EKPO
          text
    -->  p1        text
    <--  p2        text
    FORM DATA_RETRIEVAL_EKPO .
    select matnr maktx spras from makt into table itab2.
    ENDFORM.                    " DATA_RETRIEVAL_EKPO
    *&      Form  BUILD_LISTHEADER_EKPO
          text
         -->P_IT_LISTHEADER  text
    FORM BUILD_LISTHEADER_EKPO  USING    P_IT_LISTHEADER.
    DATA: HLINE1 TYPE SLIS_LISTHEADER.
    HLINE1-TYP = 'H'.
    HLINE1-INFO = 'CHECKING PGM'.
    ENDFORM.                    " BUILD_LISTHEADER_EKPO
    *&      Form  DISPLAY_ALV_EKPO
          text
    -->  p1        text
    <--  p2        text
    FORM DISPLAY_ALV_EKPO .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       I_CALLBACK_PROGRAM                = gd_repid
      I_CALLBACK_PF_STATUS_SET          = ' '
       I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  = t_field[]
      I_BACKGROUND_ID                   = ' '
       I_GRID_TITLE                      = 'SECONDARY LIST'
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
       IT_FIELDCAT                       = fieldcatalog[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
       I_DEFAULT                         = 'X'
       I_SAVE                            = 'A'
      IS_VARIANT                        =
       IT_EVENTS                         = I_EVENTS
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = itab2.
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " DISPLAY_ALV_EKPO
    *&      Form  display
          text
    -->  p1        text
    <--  p2        text
    *FORM display .
    *ENDFORM.                    " display
    Regards,
    Mohit

  • I made a book in iBooks author, and I want to add an intro video. I made one in iMovie, and I want to pass it to the intro of my book. How?

    Hi, I want to move an iMovie trailer into iPhotos so I can add it to the intro of my iBooks Author intro clip. It is for school and I need it urgentrly. THANK YOU!!

    Export it from iMovie into a format that iBooks Author understands. I'm 99% sure it doesn't have to go into iPhoto to be used, but ask on the iBooks Author forum for help with that.

  • HT2471 i want to add  verbatum external hard drive.  I think  connected it and the grren light came on, something fell and it got disconnected.  I restarted  but how do you know if it's working?  the green light is on and sometimes flashes, the instructio

    I have an external hard drive that I used with my mini mac.  I want to use it on my MacBookPro.  I plugged it in found it on my computer, it flashes seemed okay until it tipped over and came unplugged to  the computer.  I set it back up turned it on and the grren light sometimes flashes.  I read an article that said I needed to format the drive, I followed instructions and did that.  I will download tomorrow my pictures.
    Question
    How do I know if this is working
    does it record everything on your computer?
    How do I see what is there?  on the drive
    confused please direct me to help
    thanks
    kathy

    it may be very basic but I still don't get it,   the instructions are basic too so I'm sure I'm missing some thing here.i don't know how to copy  data and copy it back
    I don't see any indicaters  to do so.  I'll try again, , it's on a laptop and I don't want it connected all the time, just to secure some images.
    how  do i copyu...
    maybe I'll try a 'zip' drive instead?? But I don't understand them either, hard to be a dunce.
    and by the way, my computer has been freezing up on me lately had to turn it off and on, what have i done to it!!
    I just connected it again and it shows as a number22but nothing happens when I click on it...shouldn't something happen here? It seems to be empty as well as it should since I followed instructions on formatting.  so what now? 
    This is trying your patience I'm sure,you may just forget about helping me I just don't have a clue
    but  if you can help, I am listening.

  • Zen Nano - problem I deleted a critcal file (not knowing at the time) and want to get it ba

    Hi,
    Sorry to bother you guys but I deleted a critical file (or it seems to be so) on the nano itself. It's totally empty but it shows that I only have 2 or so megs left!
    This happened after I deleted a seemingly unimportant file but I did mention something about a dri've and such but I wasn't thinking so I deleted it.
    I'm not a complete computer novice so this is doubly troubling that I would make such a novice mistake...
    Anyways, if any of you have the file and can send it to me that would be great or have any other advice...
    Thanx,
    Jason

    Reload the firmware and select the Format Data Area option. PB

  • HT2486 When you want to add another person from same company, how can you duplicate and then modify the card already entered?

    When usinf Mac Address Book and you have entered the information for one contact from a company, how can you duplicate the card so you can add another person from same company?

    I'm afraid the LU suffix is a new one on me.
    As long as you have all of the content in your library then that remove and sync warning shouldn't cause any loss of data, but it shouldn't be happening every time. It may pay to take the following steps to reset the connection between the two,
    Backup device.
    Restore as a new device.
    Restore the backup made earlier.
    Again, this assumes all content on the device is in your library. If that isn't the case see Recover your iTunes library from your iPod or iOS device first.
    tt2

  • I want to add a graphic signature in mail that contains hyperlinks.  Can this be done?

    I've created an e mail footer/signature in Illustrator, chooped it up into slices, inserted slices into the signature window within Mail and have added links to some of these slices.
    But that's where things go wrong.  The slices are all over the show, and the hyperlinks do not work.  This also have to work accross Mac and PC platforms which is proving impossible and i'm just about at a loss.
    Has anyone done this before and have any tips as to how to achieve a professional looking e mail signature that can contain hyperlinks.
    THANKS

    Read more here
    http://appletoolbox.com/2014/10/annotations-mail-os-x-yosemite/#signature

  • How do i add my name to show in the menu bar, i had the date, time and my user name showing in the menu bar before, but can't remember how to do it. Thank you.

    I'm having trouble figuring out how to add the user name in the menu bar. I used to have it showing along with the time & date etc. But i've looked everywhere trying to figure out how to do it. Any help would be gratefully appreciated.
    Thank you.

    The following is old but may still be valid with Yosemite (it addresses how to remove the name but indirectly also how to display it): http://osxdaily.com/2012/01/10/remove-user-name-from-menu-bar-os-x/

Maybe you are looking for

  • ATV2 - Can I connect via HDMI to TV and connect to outdoor speakers also?

    Currently have an airport express on my mac and i just bought Apple TV (2nd Generation). Essentially I would like to connect ATV2 via HDMI to my TV to play movies, see photos, and play music but I would also like to connect ATV2 (perhaps via optical

  • Asset purchase procedure

    Dear All,        In asset purchase is maintaining Material master compulsory ? If yes which material type we will maintain .This material is excisable .Kindly give the complete procedure for asset purchase . Regards

  • Ktpass command in windows 2008 standard server

    Hi all, now I need to configure ADsso. can anyone check the ktpass command and suggest me it is correct or not? environment is here.. Number of DCs              =  3 OS of DCs                    =   windows 2008 standard (SP2) AD domain functionality

  • Issues with versamail..how do i fix it?

    i am new to PDA's in general and i did something i don't know how to fix.  i was trying to set up my yahoo and gmail thru versamail and i ran into a problem. i was able to set up my gmail acct and after i registered w/ "my treo" i wa able to get mess

  • Strange AIR performance; == faster than ===

    Hi. I have been hunting down some strange memory usage in one of our games, and tracked it down to numbers being compared to 0.0 in a loop. I have concentrated the observations down to a small profile snippet. Observations: 1) I expected the first tw