Custom Operations in SAP XI

Hi,
is it possible to create our custom defined operations to operate on the received messages ?
For example, consider this scenario:
- For all messages received into SAP XI, I want to log the Message Interface name and Sender Service name in a database table.
Can someone suggest some creative ideas how this could be accomplished in XI ?   Thanks.

Hi,
Its possible to retrieve all the following values:
CONVERSATION_ID
DIRECTION
DIRECTION_FAULT
DIRECTION_REQUEST
DIRECTION_RESPONSE
INTERFACE
INTERFACE_NAMESPACE
MAPPING_TRACE
MESSAGE_CLASS
MESSAGE_ID
PROCESSING_MODE
RECEIVER_NAME
RECEIVER_NAMESPACE
RECEIVER_PARTY
RECEIVER_PARTY_AGENCY
RECEIVER_PARTY_SCHEME
RECEIVER_SERVICE
RECEIVER_SYSTEM
REF_TO_MESSAGE_ID
SENDER_NAME
SENDER_NAMESPACE
SENDER_SERVICE
SENDER_SYSTEM
TIME_SENT
VERSION_MAJOR
VERSION_MINOR
using the following packages:
import com.sap.aii.mapping.api.StreamTransformation;
import com.sap.aii.mapping.api.StreamTransformationConstants;
import com.sap.aii.mapping.api.StreamTransformationException;
You can write a Java mapping to retrieve and utilize these values.
Regards,
Sridhar

Similar Messages

  • Creation of custom operations  in SAP hr

    Dear HR Experts,
    Please let me know how to create custom operations for a custom rule that should be included and invoked during payroll run.
    Your answers are highly appreciated.

    Hi,
    Check with this link, It may help you.
    Hr table for income tax
    Regards,
    Shamma

  • Saving customer fields to SAP table (EXIT_SAPMM06E_012)

    Hi All,
    I would like to ask you guys a bit of a help with a user exit that I am working on as of the moment.
    I am coding a user exit for a service purchase order (ekpo-knttp = 'K' and ekpo-pstyp = 'D') this is a service purchase order of cost centre category.
    Since SAP does not allow the goods recipient (ekkn-wempf) to be modified for reasons specified in SAP Note 118008. I have used user exit MM06E005 FMs EXIT_SAPMM06E_017, EXIT_SAPMM06E_016 to the data in PBO and PAI for the transaction.
    Now I tried using the two FMs EXIT_SAPMM06E_018 and EXIT_SAPMM06E_012 to pass this value to the table but it does not seem to get saved in table EKKN.
    Using FM EXIT_SAPMM06E_018  the I have maintained the structure CI_EKPODB to include WEMPF and after debugging passing that user exit area the wempf is being tranfered to global data but this does not get saved in EKKN table (EKKN-WEMPF).
    Although this is outside of the standard best practice of SAP since the account assingment belongs to the limits or the service line for service order but maintaining this recipient field for the PO item does not impact our system processes as the business acknolwedges goods recipient for service PO.
    BADI ME_PROCESS_PO_CUST has also been implemented under method PROCESS_ACCOUNT invoking the interface IF_PURCHASE_ORDER_ACCOUNT_MM but unsucessful in the operation.
    If anyone of you guys has encoutered same scenario or implementation requirement please do give information on this or work-arounds are well appreciated as well.
    Cheers,
    Erwin

    Hi,
    We have worked on a similar requirement ,just check if its useful to you.
    Requirement:
                         You have to add the custom field in SAP standard table EKKO. Then we have to place the field in ME21N screen. When user enters any input into the field it should get updated in the database.
    Note:
                         EKKO table is meant for Purchasing document header, you should add the field in the header level for ME21n screen. There you are provided with customer sub screens where you can add the field in the screen.
    Procedure:
    1You have to create a field in the Custom Include of standard table, after creating activate it.
    2.Double click on the include then you can add your custom field here.
    Find out the Required Enhancements:
    1.Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton u2018Information systemu2019.
    2.Then mention the particular package name of the transaction you need to      enhance. Then you will be shown the list of Enhancement components for that particular package.
    3.Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development.
    MM06E005 is the Enhancement component we are using here.
    Development
    Creating a Project to include the enhancement:
    1.Go to transaction CMOD and create a project.
    2.Enter a description for the project.
    3.Then, click on the pushbutton u2018Enhancement Assignmentsu2019 in the Application Toolbar.
    4.Click on the components in Application Toolbar.
    5.Here you will be shown the function module exits, screen exits and Include tables.
    6.Click on the custom screen SAPLXMO6 u2013 0101 in which it suits the requirement of adding the custom field to the layout
    7.Click on layout and go to get from dictionary and select the field you need to add and click ok.
    8.Place the field in the layout and activate it.
    9.After that you come back and check the respective function module in which you need to implement the code. So, we need to import the data from sub screen for purchasing document header. Therefore we have chosen  the  EXIT_SAPMM06E_008.
    10. Write code in the Function Exits to synchronize the programs:
                       Now, code has to be written in the function modules EXIT_SAPMM06E_008 so that data flows to and fro between the main SAP program and custom sub screen program. Double clicking on the exit we get the following screen.
    11. Double click on the include and write the required code inside it. Then activate it.
    TABLES:EKKOIF NOT EKKO_ZADD IS INITIAL.
    MOVE EKKO-ZADD  to e_ci_ekko-zadd.
    move corresponding  e_ci_ekko to ekko.
    modiky ekko  from ekko.
    12. Now come back and activate the entire project.
    13. Now go to ME21n transaction and create a purchase order by giving all the mandatory fields including custom field we have created. Here Test is the custom field we have created. After entering the data then press SAVE button, your data will be populated to the respective table.
    14. Go to SE11 or SE16n, check whether the field got updated in the database or  not in EKKO table.
    Thanks,Surya Pydikondala.
          Finally it gets updated in the database.

  • Is there any Data Mapping document Between S&OP ( model that uses supply planning operator ) and SAP ECC that I will help the client in Data Mapping activity.

    Hello All,
    Is there any Data Mapping document Between S&OP ( model that uses supply planning operator ) and SAP ECC that I will help in Data Mapping activity.
    Thanks,
    Mownesh

    There are standard templates in HCI data sources.
    e.g. 1) Customer Master data template is SOP_MD_CustomerMaster for extracting master data from SAP ECC and load it to S&OP
    KNVP is the table for customer in ECC from that you can select the fields as required
    KUNNR for customer Number
    ADRNR for Address
    List of a few commonly used table names of ECC:
    Product Related:
    MARA – Material Master (MATNR)
    MARC – Material Master with Plant Data (MATNR, WERKS)
    MARD – Material Master with Storage Location Data (MATNR, LGORT, WERKS)
    MAKT – Material Master Material Descriptions (MATNR, MATKL)
    MBEW – Material Valuation Data (MATNR, BWTAR)
    MVKE – Material Master : Sales related Data
    MDKP, MDTB – MRP related Data( Header, Item)
    MCHA, MCHB – Material Batches (Header, Item) (MATNR, WERKS, LGORT, CHARG)
    Vendor/Supplier related:
    LFA1 – vendor data (LIFNR)
    LFB1 --  Company Code Segment : Vendor Data(LIFNR, BUKRS)
    LFC1 --  FI Related Vendor Data (LIFNR, BELNR)
    LFM1 – Pur. Orgn. Related Vendor Data (LIFNR, EKORG)
    PReq/PO, BOM Related:
    EBAN – Pur. Req. Data( BANFN, BNFPO, BADAT, MATNR)
    EINA – Purchase Info. Record(General Data)(INFNR, MATNR, LIFNR)
    EINE – Purchase Info. Record (pur. Orgn. Data) (INFNR, EKORG)
    ELBK, ELBN, ELBP – Vendor Evaluation Related Data
    EKKO – PO Data (Header) (EBELN, BSTYP, BSART)
    EKPO – PO Data (Item) (EBELN, EBELP, MATNR)
    Pur. Req., RFQ and PO are differentiated by Doc Type (BSTYP) in EKKO table.
    For RFQ it is ‘A’ and for PO it is ‘F’
    MKPF – GRN Data (Header) (EBELN, BLDAT, BUDAT, XBLNR, BKTXT)
    MSEG – GRN Data(Item) MBLNR, BWART, LIFNR, MATNR, EBELN)
    Apart from this there are lot of tables which begin with ‘M’ & ‘E’, but we
    use the following very often.
    EQUK – Quota (Header)(QUNUM, MATNR)
    EQUP – Quota (Item) (QUNUM, QUPOS, LIFNR)
    EKBE – PO History Data (EBELN, EBELP, BELNR, BLDAT, MATNR, VGABE)
    EKBZ – PO History with Delivery Costs(EBELN, BELNR, LIFNR, XBLNR)
    EKET – Schedule lines data of a PO(EBELN, EINDT, SLFDT)
    EKES – Vendor Confirmations Data (EBELN, EBTYP, EINDT, XBLNR)
    T163F – Confirmation Texts (EBTYP, EBTXT)
    T156 – Movement Types (BWARE)
    T024 – Purchasing Groups
    T024E – Purchase Organizations
    T163 – Item Category’s in Purchasing Documents(PSTYP)
    T149D – Valuation Types
    T134 – Material Types
    FVLK – Delivery Types
    STKO, STPO – BOM(Bill Of Material) related Data (Header & Item)
    STPU, STPN, STST, STZU – BOM Related Tables
    RKPF, RBKP, RSEG (Header & Item) – MM – FI Related Data
    KONO, KONH – Pricing data
    T006 – Basic Unit Of Measurements
    Customer/Sales Order Related:
    VBAK : Sales Document(Header Data) (VBELN)
    VBAP : Sales Document(Item Data) (VBELN, POSNR, MATNR, ARKTX, CHARG)
    Enquiry, Quotation, Sales Order are differentiated based on Doc.
    Type(VBTYP Field) in VBAK, VBAP Tables for Enquiry VBTYP = A, for Quotation ‘B’ & for Order it is ‘C’.)
    LIKP : Delivery Table(Header Data) (VBELN, LFART, KUNNR, WADAT, INCOL)
    LIPS : Delivery Table(Item Data)(VBELN, POSNR, WERKS, LGORT, MATNR, VGBEL)
    (LIPS – VBGELN = VBAK- VBELN, LIPS-VGPOS = VBAP-POSNR)
    VTTK : Shipment Table(Header Data) (TKNUM)
    VTTP : Shipment Table (Item Data)(TKNUM, TPNUM, VBELN)
    (VTTP – VBELN = LIKP – VBELN)
    VBRK : Billing Table(Header Data) (VBELN, FKART, BELNF)
    VBRP : Billing Table(Item Data) (VBELN, POSNR, FKIMG, NEWR, VGBEL, VGPOS)
    (VERP – AUBEL = VBAK- VBELN, VBRP – VBEL = LIKP – VBELN)
    Apart from these tables there are lot of other tables which starts with ‘V’, but we use the
    following tables frequently.
    VBUK: All Sales Documents status & Admn. Data(Header) (VBELN, VBTYP)
    VBTYP = ‘C’ (Sales Order) VBTYP = ‘L’(Delivery) VBTYP = ‘M’(Invoice)
    VBUP: Sales Documents status & Admin. Data(Item) (VBELN, POSNR)
    VBEP : Sales Document Schedule Lines Data (VBELN, POSNR, EDATU, WMENG)
    VBKD: To get sales related Business data like Payment terms etc.(VBELN, ZTERM)
    VBFA: Sales Document flow data(VBELV, VBELN, POSNV, VBTYP)
    VBPA: Partner functions Data(VBELN, PARVW, KUNNR, LIFNR)
    TVLKT: Delivery Type: Texts(LFART, VTEXT)
    KNA1, KNB1, KNC1 : Customer Master Data and Other Partner’s Data(KUNNR,
    NAME1,LAND1)
    KNVK: Customer Master Contact Person(PARNR, KUNNR)
    KNVV: Customer Master Sales Data.
    LFA1, LFB1, LFC1: Vendor Master Data(To get Transporter data)(LIFNR, NAME1, ORT01)
    MARA, MARC, MARD : Material Master Data(Basic, Plant, St. Location Views)
    TVKO: Sales Organizations(VKORG)
    TVKOV: Distribution Channels(VTWEG)
    TVTA: Divisions(SPART)
    TVKBZ: Sales Office(VKBUR)
    TVBVK: Sales Group(VKGRP)
    T077D: Customer Account Group(KTOKD)
    T001W: Plants(WERKS)
    T001L: Storage Locations(LGORT)
    TWLAD: To get address of Storage Location and Plant(LGORT, ADRNR)
    TVAU: Sales Document (Order) Types
    KONV: Condition Types (pricing) (KNUMV, KSCHL, KWETR)
    T685T: Condition Types Texts.
    ADRC: To get Addresses of Partners
    VBBE, VBBS: Sales Requirements Data
    VBKA: Sales Activities Data
    VBPV: Sales Document Product Proposal
    Based on the functionality you can search ECC table names and fields
    Hope this information is helpful for you.
    Thanks and Regards,
    Anjali

  • Unable to display customs document in SAP GTS

    Hello,
    I am using SAP GTS 7.2 Compliance services. SPL and Embargo services are working well (I am not using License determination).
    Indeed, when I save a sales order in ERP, it is effectively checked for compliance, as I receive a message when it is blocked by GTS..
    In GTS, I can check that concerning business partners are effectively blocked, using:
    "Display Blocked Business Partners" and "Display Business Partners with Embargo Situation".
    But I cannot display any customs document in SAP GTS, using transaction /SAPSLL/CUHD_DISPLAY (Display all documents) or SAPSLL/CON_BLOCKED_DOCS_EXP (Display blocked documents).
    I get the following error message "No data was found for the selection criteria specified".
    As I understood, SAP GTS performs the compliance checks not on ERP documents but on corresponding GTS customs document. Thus I guess they are effectively created somewhere! If it was not the case, I guess the process should not work.
    When I look in the audit trail of SPL for documents, I can see all the SPL checks that have been performed. Looking in the corresponding table "/SAPSLL/SPLAUD", I can even find the numbers of the different customs documents...
    But there is nothing in table "/SAPSLL/CUHD", where they should be copied... The only entries I found concern biling documents that were transferred for customs purposes...
    Could you please help me on this matter?
    Many thanks,

    Hi Sameer,
    Thank you for your fast answer. I checked in the debug mode creating a breakpoint at statement RFC and it effectively stops at RFC /SAPSLL/API_6800_SYNCH.
    But when I check the log in transaction SLG1, nothing appears concerning /SAPSLL/API_6800_SYNCH.
    I think the customs document is effectively created in GTS as I can see it has a number assigned in the audit trail for SPL screening. And compliance services work.
    Though when going through the transaction of displaying all documents in GTS there is nothing. Table "/SAPSLL/CUHD" is empty (except some billing documents that were transferred for customs purposes).
    This is really weird... Anyway, thank you for your help.
    Kind Regards,

  • How to find out the customer exit and sap exit variables created provider?

    Hi all,
    How to identify what are all the customer exit and sap exit variables are been created for an info provider. is there any tables which allow us to find out.
    thanxs
    haritha

    Hello haritha,
           SAP Exit and Customer Exit variables are created for  Characteristics and not for individual InfoProviders.
    So whenever the characteristic is used in the InfoProvider, by selection the appropriate variable the exit can be called.
    So the same Exit can be in one or more InfoProviders.
    Hope it helps.
    Thanks,
    Chandran

  • What are the avlble methods to Measure  Quality of Customer Service in SAP

    Hi
    We are in Retail business, and I would like to know what are the available methods to measure the Quality of Customer service in SAP CRM. Help us to get the required information?
    Best regards

    Venkat,
    there are two aspects to this :
    1. The overall philosophy ( for want of a better word ) of QOS for any service - there is a lot of thought that has gone into measuring QOS for a service - hence I would say that QOS is more related to the specific service than the entire domain.
    2. Measuring the quality of service in terms of what ? - there are a lot of KPIs for the same some of them could be :
    Average time taken to service a customer
    Does the customer get all that they want in the store or only some of the items ( partial fill)
    Are the products neatly arranged and easy to access
    average time taken for the customer to get what h/she needs
    customer facilities like parking / childern play area etc
    Availability of attendants / helpers for the customer
    home delivery
    credit options... etc etc and the list could go on endlessly ... as you can see it is very specific to the service being provided and accordingly you will get KPIs for the same.
    As for measauring the same - there are umpteen ways to do the samedepending on the place it gets recorded - you can have surveys / web surveys / POS details etc etc - what is it that you are looking for specifically ?
    Arun
    Hope it helps....
    Message was edited by:
            Arun Varadarajan

  • How to restrict Duplicate Customer Creation in SAP

    Dear all,
    How can we restrict duplicate customer creation in SAP SD.
    We are into retail sector, across the store customers are being created by different employees.
    in this way for many customers more than one business partner records are being created.
    we are looking for a sytem wise functionality to restrict the customer master creation (for Sold to party only) if name1, telephone number and street field values are same, then system has to stop customer creation by giving an error message.
    Is there any standard functionality to address these requirement. If so how could we configure it.
    Any of you can help us to solve the issue. your solutions and help will be highly appreciated.
    thank you.
    Raghu ram.
    Edited by: Raghu Ram on May 26, 2008 5:34 PM

    Hi,
    2 solutions :
    - Procedure manually (no SAP) ;
    - Use extension SAP (SMOD : SAPMF02D) to check with differents data before recording.
    No solution in standard.
    Regards,
    Lionel

  • Custom field in SAP Inbox

    Hi Experts,
    I have a requirement of adding a custom field in SAP Inbox.
    Ex: If an Invoice Wrok flow is triggered..the Invoice number number will be generated and it will be shown in the Title column.
          Now I have a requiremnt of adding a two Custom field as 'Supplier Name' and 'Document number'.
    1. Is it possible to add the custom field in SAP Inbox?? if Yes can you guys let me know the procedure?? Also if I add a custom field Can that be controlled for specific work flow?
    2. Also I have seen the field Dynamic Columns in in the layout, Can I use that filed to populated the Supplier name and document number?? is Yes how to proceed further?? ( Does the efforts vary for Standard workflow and Custom Work flow??
    Your <removed by moderator> response is higly appriciated.
    Cheers,
    Sriram.
    Edited by: Thomas Zloch on Jul 4, 2011 4:18 PM

    Hi Krishna,
    To solve your issue, you need to know the linkage between the WF and event.
    You can go to t-code SWE2 to find the event linkage between Workflow & Business Object event.
    You can also open t-code PFTC, select the task type as Worflow Template and give the TASK / WF number without prefix WS, then go to EVENT tab to know the event.
    Regards
    Saumya

  • How to populate custom fields in SAP standard Basic type DELFOR01(E1EDK09)

    I've a requirement to include and populate 2 custom fields in SAP standard basic type DELFOR01 and Segment E1EDK09 (it is at hierarchy level 1 ) .
    The requirement looks very simple but for this, as per my knowledge, I have to create a new  Basic type with the copy of segment E1EDK09 and attach it to outbound process code and write my own function module to populate the segments.
    It seems ok but the there are some existing codes in the user-exits for the SAP standard function module.These codes will not get triggered.(Or I've copy the user-exits code in my FM)
    Can we do it any other way to handle this kind of situation?
    Thanks in advance for your suggestions and help.

    Hi Phani,
    You have done it correctly. ECC additional data to be moved to EWM, 1. you need to enhance the CIF for master data/ bapi  to populate the data in the custom field in EWM. 2. Make your your are not enhancing only one structure. You need to do it in the CI includes so that the field is available in all the related tables/structures.
    3. The BAPI/FM which updated these tables will take care automatically to update the custom field data if the field is correctly added in all the tables.
    4. If the custom fields are added correctly and still the data is not getting saved , then need to check the mapping of the custom field and bepi extension.
    Let me know if this helps.

  • Adding Fields to Custom Infotype Using Custom Infoset in SAP QUERY

    Hi All,
    We have a requirement to add fileds to a custom infotype for querying Custom Infoset in SAP Query.
    We are facing problem as the added field is not getting displayed in the Query set so that we can select and display it in the Basic List along with the other filds.
    Kindly suggest a solution.
    Full points will be rewarded.
    Thanks in Advance
    Kumar

    Hi Salman,
    Thank you for your valuable information. I haven't Configured Dynamic Actions yet. Is it simple to write the Logic for Dynamic Actions. Is this the only way to solve this Issue?
    I tried by adding the standard fields, but they are not populating the values; but just appearing as Input Fields with Input help option.
    Please let me know if you have any suggestion in this direction?
    Regards,
    Hems.

  • How to find Tables behind a Custom Query in SAP

    Hi Gurus,
    Can anyone please help me find tables behind a custom query in SAP.
    Regards
    As

    Hi
    Check the name of the programm assigned to transaction, it should be like this:
    AQZZ<user group>=======<query name>======
    or
    AQIC<user group>=======<query name>======
    It depends of the query area is global or cross-client
    So run SQ01, select the quey area, select the quey group and so your query: now you can see the infoset and then you see it by SQ02 transaction
    Max

  • Customized objetcs in sap

    Hi frenz,
    Can anybody tell me how to find the customized objets in SAP system...and how many are they starts with 'z 'and howmany are starts with 'y'

    hai anil boddu ,
    check the program.,
    all custom transactions stored in TSTCT table..
    to get this write the code in se38
    do something like this : just copy the program and execute u will get all custom transactions.
    type-pools : slis.
    DATA : BEGIN OF lt_tcode OCCURS 0,
           tcode TYPE tcode,
           ttext type ttext_stct,
           END OF lt_tcode,
           t_fieldcat TYPE slis_t_fieldcat_alv,
           w_fieldcat TYPE slis_fieldcat_alv.
    SELECT tcode
           ttext
           FROM tstct
           INTO TABLE lt_tcode
           WHERE tcode LIKE 'Z%'." OR
                TCODE LIKE 'Y*'.
    *LOOP AT LT_TCODE.
    *WRITE :/ LT_TCODE-TCODE.
    *ENDLOOP.
    w_fieldcat-col_pos = '1'.
    w_fieldcat-seltext_l = 'Transaction Code'.
    w_fieldcat-fieldname = 'TCODE'.
    w_fieldcat-outputlen = 15.
    APPEND w_fieldcat TO t_fieldcat.
    clear w_fieldcat.
    w_fieldcat-col_pos = '2'.
    w_fieldcat-seltext_l = 'DESCRIPTION'.
    w_fieldcat-fieldname = 'TTEXT'.
    w_fieldcat-outputlen = 50.
    APPEND w_fieldcat TO t_fieldcat.
    clear w_fieldcat.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       I_CALLBACK_PROGRAM                = sy-repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
       IT_FIELDCAT                       = t_fieldcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_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                          = lt_tcode
    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.

  • Custom Button in Sap Standard webdynpro Component

    Hi Friends,
    i have one requirement
    1. want to added one custom Button in SAP SRM standard webdynpro component - This is done using component configurator
    2. but when i click this button, one   Z webdynpro component should run,
    Can any one please give me  idea on this
    Thanks and Regards
    Kumar Srini

    Hi,
    copy below given code and paste inside of your on action method,
    Note: just change the url address
    data: l_window type ref to if_wd_window_manager.
    data: l_cmp_api type ref to if_wd_component.
    data: str             type stinrg.
    data: result        type if_wd_window.
    CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
    application_name = 'ZWEBDYNPRO COMPONENT NAME'
    IMPORTING
    out_obsolute_url = str.
    l_cmp_api = wd_comp_controller->wd_get_api( ).
    l_window = l_cmp_api->get_window_manager ( ).
    result = l_window->create_external_window(
    url = str ).
    result->open( ).

  • Adding new custom fields in SAP transaction - PSOBWORK?

    Hi,
    System - ECC 6.0
    I need to add some new custom fields in Contract Object(PSOBWORK). Can any one tell me what are the ways I can do this, and what is the best way to add custom fields in SAP transaction?
    I highly appreciate your help on this.
    Thanks.
    Rajesh

    Hi ,
            There are options like screen-exits ,badis
    the best option would be to find screen exits for the transaction and you code ur logic in the exit and create the screen with your requirement .

Maybe you are looking for

  • How can I do a hard reset without losing app data?

    I have international texting on my phone and it's having an issue sending images to my friends overseas. The words go through but no media. I have Verizon's More Everything plan and after two days trying to get this sorted on their end, they want me

  • ICal changes the date in to do list

    Hi, I am hoping that someone can help me - it's not a big problem, but quite irritating. When I create an event in my iCal and then drag it to the to do list, after a while the to do list changes the date. F e I have an exam on Saturday, i create the

  • Multiline container table mod in ABAP WD

    Hi,    Looking for a quick guideline for macros/function modules to do the following:- 1] Read a multiline table into ABAP WD from workflow container 2] Append an entry to the table 3] Write the amended table into the workflow container. I have seen

  • Extentions won't load in CS5

    When I'm in photoshop cs5, and click on mini-bridge, it says it can't load.  Same with any other extenions I have.  I've uninstalled the program.  Used MAC keeper, which is supposed to remove everything.  But I reinstall CS5, said it was installed, e

  • PDF String literal Parsing Issue

    I have the following contents in the same PDF page, in different ObjectX: link to original file First:     [(some text)] TJ ET Q     [(some other text)] TJ ET Q Very simple and basic so far... **The second**:     [( H T M L   E x a m p l e)] TJ ET Q