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

Similar Messages

  • Help needed - want to skip to the menu screen, using any button!

    hey there -
    i'm creating a DVD in DVD Studio Pro 4 - when the DVD is inserted, the viewer is treated to a bunch of trailers and previews - it's set up with the "First Play" option. i have to do it this way, for the client.
    obviously, i'd like the viewer to be able to skip that stuff and go straight to the main menu. after all, that would be a pain to go through, again and again, if one wanted to watch the DVD mulitple times.
    i want to create the DVD in such a way where the viewer can hit ANY button to skip the initial previews and end up on the Main Menu screen. they should be able to hit the "chapter forward" button, the "menu" button, or any other button. in other words, this should be a very user friendly DVD, for those that want to skip over this stuff.
    is this possible? how do i do it? do i need to make a script? it's bugging the heck out of me, and the deadline is coming up way too fast...
    thanks!
    -kenneth
    mac dual 2.7 G5   Mac OS X (10.4.5)   dual-layer burner

    i want the user to be able to hit the "next chapter" button, or, ideally, any button; to get to the main menu. again, this is during the 2-minute trailer ad that occurs before the menu.
    Place a Chapter Marker at the end of the track and set that to have an action to jump to the menu. (Place it at the very end of the track, and also have the tracks end jump jump to the menu, actually to prevent certain players ffrom blowing through chapter markers, place two chapters at the end, the action for the next to last one jumps to the menu, and also DISABLE all actions at the Marker, then the same for the next one.) You can also make it a story witth Marker 1 & 2 and then set the jump to the menu.
    The inspector on the track provides all the main buttons on a remote, but some (like subtitle or fast forward) may not do anything or just behavee like they normally behave with no way of overriding them.
    If you set the ones you can in the inspector for the track and then also use the chapters described above, you hit most of the main buttons you can.
    Since pictures are worth 1000 words, download this little project to see what I am talking about
    http://www.geocities.com/mypix013/MenuCall.zip
    Also look at this thread
    http://discussions.apple.com/thread.jspa?threadID=459698&tstart=0
    Where there is some discussion of some things that cannot be done, particularly relating to subtitle buttons (if Hal and Jake say certain things can't happen in DVD SP, you can be pretty much assured that it can't happen)

  • Help needed in XML bi publisher security side

    Hi all
    i have a requirement to set groups and access permissions to these groups for using XML publisher.
    am trying to find documents but i cant
    if anyone has experience please let me know
    appreciated

    Hi,
    Thanks for your help. I tried with that solution. But after page break I have another page which is like
    If you have any queries contact us
    Yours faithfully
    Emploee Name.
    This page is cominng repeatedly after each page break.
    Suppose If I give the variable value=4 then, this last page is coming one time for each page before the Invoice lines.
    Could you help me in this?
    Thanks

  • Stock book help needed - want to remove file names

    Well, I'm trying to put together my first book from Aperture and chose the Stock theme for a book of family photos and I can't for the life of me figure out how to remove the file names which appear at the bottom of every image on the pages. Anyone able to point me in the right direction?

    Hello Tom,
    There may be a quicker way, but if you just click on the "Edit layout" button (which is along the toolbar just to the right of the writing "stock book", it is the square with the dotted outline). Once you click on this, you can change all sorts of things, including the size of photo boxes and, if you just click on the file names, the filename text box will appear and you can then just hit delete.
    Hope this helps.
    Best regards
    Paul

  • 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

  • Secure Zone Help Needed

    I want to add a secure zone to my website so I can create a members-only section to the website. I created it in Adobe Muse and am hosting it through Adobe Catalyst. I am trying to follow the instructions provided here: http://kb.worldsecuresystems.com/kb/add-secure-area-your-site.html . However, I do not have a link in my Site Manager that says "Secure Zone" like the instructions say I should. The only two links in this area are "Web Forms" and "System Email". I have the webBasics account. Do I need to upgrade to have a Secure Zone?

    Breakdown of the plans you get:
    http://helpx.adobe.com/business-catalyst/kb/detailed-plan-breakdown.html#id_52372

  • How can I add a security password to an Airport extended network?

    I have an Airport Extreme network extended with an Airport Express and an older Airport Extreme.  Everything works fine as is.  I want to add a security password to the network but when I do, the two extending base stations appear in Airport Utility with an alert triangle next to them and when I select each of them, it asks if I want to "foget" that device.  I do not want to forget those devices as they are extending the range of the network, I just want a password on the entire network for privacy.  How do I accopliish this while still maintaining the extended network?

    Conversely, set the security feature for each of the extending base stations first, then set the security for the main base sation.  The extending base stations will go offline. Then back on once the main base station is configured with the same password as the two extenders.
    (Found this on an older post about the same issue.)

  • I am unable to add a security device in Firefox 27.

    When I fill in the dialog box for a new device and click Ok, absolutely nothing happens.

    The problem seems to have resolved itself, somehow. I wanted to add a security device for my ActiveClient CAC reader software. I opened the Security Devices sheet, clicked Load, filled out the Module name and filename fields in the dialog box, clicked OK, and ABSOLUTELY nothing happened. It just sat there staring at me. But after a shutdown on Friday and a boot-up today, my device is present and working.

  • Need BADI to add custom field fro transaction FV50

    Hi all,
    I need BADI to add a custome field at header level.
    Is BADI FI_HEADER_1300_FS is right one? IF yes how can i add field in SCREEN.
    If not please let me know the correct BADI.
    Thanks and Regards
    Sagar.

    Hi,
    Check the BADI
    FI_HEADER_SUB_1300 to get the data to Screen Field and to put the data into Field and hence to database
    FI_TRANS_DATE_DERIVE  Filter based BADI
    FI_LIMIT_PROCESS
    BADI_PRKNG_NO_UPDATE
    AC_QUANTITY_GET
    FMRE_BUS_PROCESS
    EXIT_XFMPR1_001
    Regards,

  • Add new fields in the header of  RFITEMAR

    hi,
      i want to add new fields in the header of RFITEMAR report ,so first i copy i to zRFITEMAR ,then i want to add
                           " Total Quantity "   in the header after City field .
    can any one help me????????
    please ,, i waiting your answers..
    thank you......

    hi ,
       thanks for your response , but first i try to copy the function then it give an error as it is reserved for sap , so i change it's name and copy it and change function group to z also then it  relese an error for function pool , any way.
    where can i make change in that function .
    and how can i copy it . please tell me every think in more detials.
    waiting
    thanks.

  • How to add a user defined HTTP header field?

    Hi, everyone!
    I want to add a user defined HTTP header field to a HTTP
    response header.
    I use the following statements in testHeader.jsp
    response.addHeader("myheader", "123");
    response.sendRedirect("middleHeader.jsp");
    in middleHeader.jsp,
    out.print(request.getHeader("myheader"));
    But the output in middleHeader.jsp is null!
    How to add a user defined HTTP header field to a HTTP
    response header? Are there some sample codes?
    Cheers,
    George

    the send redirect actually creates a new request (through the client) and thus a new response
    thus the headers you set in the response are gone for the next request/response
    You can try servletDispatcher.forward

  • I want to add Narration to my movies. I've watched the Elements Guided Help for Narration. But when I click the RECORD Tab, I get an error message. "Your current audio hardware selection does not have any inout channels." My question, therefore: Do I need

    I want to add Narration to my movies. I've watched the Elements Guided Help for Narration, and closely followed their procedure. But when I click the RECORD tab, I get an error message. "Your current audio hardware selection dos not have any input channels." My question, therefore: Do I need to buy an external microphone? I have an HP Pavilion Laptop, running WIndows 8.1. I thought I had a built-in microphone. But ,maybe not. Please help. Also, WHAT KIND of microphone - exactly - should I buy? Thanks for your help.
    Mike Moore
    Corvallis, Oregon

    mikem
    Go to Edit Menu/Preferences/Audio Hardware and ASIO tab and click on it.
    Under the Input tab, make sure that you have your microphone selected.
    Please let us know the outcome.
    Thank you.
    ATR

  • Good evening. needed help. I created an account on my ipad on itunes. then wanted to add a credit card the Mbnet. the problem is that an error appears saying "payment method rejected

    I
    good evening. needed help. I created an account on my ipad on itunes. then wanted to add a credit card the Mbnet. the problem is that an error appears saying "payment method rejected"Can help me?

    iTunes Store: Accepted forms of payment
    Mbnet (virtual) is not acceptable form of payment.

  • HT5312 I don't have a rescue email option and i want to reset the security questions , so what shall i do?? I have been trying to do so for about 2 weeks , please can you  help???

    I don't have a rescue email option and i want to reset the security questions , so what shall i do?? I have been trying to do so for about 2 weeks , please can you  help???

    You will need to contact Support in your country to get the questions reset : http://support.apple.com/kb/HT5699
    When they've been reset you can then use steps 1 to 7 half-way down the HT5312 page that you posted from to add a rescue email address for potential future use

  • I WANT TO CHANGE MY SECURITY QUESTIONS! HELP!

    I've just been trying to make purchases and I can't do it anymore because Apple has asked me to answer my security questions. I can't remember the answer to one of them AND NOW MY ACCOUNT'S LOCKED!
    I WANT TO CHANGE MY SECURITY QUESTIONS! I really want to buy some stuff and now I can't thanks to this.
    SOMEONE PLEASE HELP!

    If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then go to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you should see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you won't get the reset option - you will need to contact iTunes Support or Apple to get them reset.
    e.g. you can try contacting iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management , and then 'Forgotten Apple ID security questions'
    or try ringing Apple in your country and ask to talk to the Accounts Security Team : http://support.apple.com/kb/HE57
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312 . Or you could change to 2-step verification : http://support.apple.com/kb/HT5570

Maybe you are looking for