KT TEMPLATE for ABAP

Hi All
I am also looking for a template for Knowledge Transition for a support project, which contains the various activities involved in it along with relative levels of KT needed.
if any of u have KT Template for ABAP. kindly mail me. Any help would be appreciated.
My mail id is: [email protected]
Regards

Hi
I saw ur posting during my search for similar (KT) template
If u have got any template kindly mail me at [email protected]
regards
sada

Similar Messages

  • How do i create a header template for ABAP programs?

    Hi all.
    Need a little bit of help here. When you create a new program you get a template with space for comments at the top of the program and basic stuff. If I want to change this template to add areas that we want to have comments on for every program we make at work. How do I do that?
    Instead of :
    I want to have in a way similar to this:
    *     Author:                         *
    *     Function:                    *
    And so on…
    I want the words to be there when our developers creates the program.
    How can I do that?
    BR
    Kalle

    After I create a new report program, I delete everything but the REPORT line.  I then put this code in for my skeleton.
    * Created By:            Walter Industries (Paul Chapman)
    * Created On:            02/29/2008
    * Tran Code:             ZLMxx
    * Program Name:          YPTC_REPORT_SKELETON        " replace New Progam Name herer
    * Program Descr:         Configurable Leads Data Query
    *                         Modification Log
    * Programmer   :Issue:   Date   : Chg Req. : Description
    * Paul Chapman :00000:02/29/2008:DEVK000000:New Program
    REPORT yptc_report_skeleton MESSAGE-ID zleads_msg.      " replace New Progam Name herer
    *_________________________________________________ Tables
    TABLES: zpca, cepc, zlmlead.
    *_________________________________________________ Constants
    CONSTANTS:
      line_length      TYPE i VALUE 100,
      c_tab            TYPE x VALUE 9,                          " x'09'
      c_crlf           TYPE x VALUE 3338.  " x'ODOA'
    *_________________________________________________ Types
    TYPES: BEGIN OF scr_text_line,
             line(line_length) TYPE c,
           END OF scr_text_line.
    *_________________________________________________ DATA
    DATA:
      curr_screen_tab(4) TYPE n.
    *_________________________________________________ ALV Area
    *_________________________________________________ Ranges
    RANGES:
      r_branch       FOR zpca-branch.
    *_________________________________________________ Selection Screen
    SELECTION-SCREEN:
      BEGIN OF TABBED BLOCK tabs FOR 36 LINES,
        TAB (20) tab1   USER-COMMAND push1 DEFAULT SCREEN 1010,
        TAB (20) tab2   USER-COMMAND push2 DEFAULT SCREEN 1020,
      END OF BLOCK tabs.
    * Tab1 Options            S E L E C T I O N    S C R E E N S    Tab 01 *
    SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN.
    SELECTION-SCREEN: BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS:
       sdiv      FOR cepc-prctr MATCHCODE OBJECT zdivjwh,
       ssbrch    FOR zlmlead-branch.
    SELECTION-SCREEN: END OF BLOCK blk1.
    SELECTION-SCREEN: BEGIN OF BLOCK bl10 WITH FRAME TITLE text-010.
    PARAMETERS:
      cparm1   AS CHECKBOX USER-COMMAND sel,
      cparm2   AS CHECKBOX USER-COMMAND sel,
      cparm3   AS CHECKBOX USER-COMMAND sel,
      cparm4   AS CHECKBOX USER-COMMAND sel,
      cparm5   AS CHECKBOX USER-COMMAND sel.
    SELECTION-SCREEN: END OF BLOCK bl10.
    SELECTION-SCREEN END OF SCREEN 1010.
    * Tab 2 Options            S E L E C T I O N    S C R E E N S   Tab 02 *
    SELECTION-SCREEN BEGIN OF SCREEN 1020 AS SUBSCREEN.
    SELECTION-SCREEN: BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
    SELECT-OPTIONS:
       sctype      FOR zlmlead-ctype,
       sprfcnt     FOR zlmlead-prefcont.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(25)   text-201.
    SELECTION-SCREEN POSITION 30.
    PARAMETERS:  rb_opt1 RADIOBUTTON GROUP gr20.
    SELECTION-SCREEN COMMENT 34(03)  text-991. " Yes
    SELECTION-SCREEN POSITION 40.
    PARAMETERS:  rb_opt2 RADIOBUTTON GROUP gr20.
    SELECTION-SCREEN COMMENT 44(03)  text-992. " No
    SELECTION-SCREEN POSITION 50.
    PARAMETERS:  rb_opt3 RADIOBUTTON GROUP gr20.
    SELECTION-SCREEN COMMENT 54(06)  text-993. " Either
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN: END OF BLOCK blk2.
    SELECTION-SCREEN: BEGIN OF BLOCK bl20 WITH FRAME TITLE text-020.
    PARAMETERS:
      cb_opt1   AS CHECKBOX,
      cb_opt2   AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN: END OF BLOCK bl20.
    SELECTION-SCREEN END OF SCREEN 1020.
    *____________________________________________ Screen Actions
    AT SELECTION-SCREEN OUTPUT.
      PERFORM what_tab_am_i_on.
      CASE curr_screen_tab.
        WHEN '1010'.                                            " Tab 1
        WHEN '1020'.                                            " Tab 2
        WHEN OTHERS.
      ENDCASE.
      PERFORM tab_hide_unhide.
    *___________________________________________  Initialization
    INITIALIZATION.
    * Tab Text
      tab1  = 'Tab 1'.
      tab2  = 'Tab 2'.
    *_________________________________________________ Load of Program
    LOAD-OF-PROGRAM.
    *_________________________________________________ Start of Selection
    START-OF-SELECTION.
      PERFORM set_up_branch_range.
    *_________________________________________________ End of Selection
    END-OF-SELECTION.
    *&      Form  what_tab_am_i_on
    FORM what_tab_am_i_on.
      LOOP AT SCREEN.
        IF     screen-name CS 'BLOCK_1010'.
          curr_screen_tab = '1010'.
        ELSEIF screen-name CS 'BLOCK_1020'.
          curr_screen_tab = '1020'.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " what_tab_am_i_on
    *&      Form  tab_hide_unhide
    FORM tab_hide_unhide.
      LOOP AT SCREEN.
        CHECK screen-group3 = 'TAB'.
        CASE screen-name.
          WHEN 'TAB1'.
    *        IF
    *          screen-active = 1.
    *          screen-required = 1.
    *          screen-input = 1.
    *          screen-output = 1.
    *          screen-intensified = 1.
    *          screen-invisible = 1.
    *        ELSE.
    *          screen-active = 0.
    *          screen-required = 0.
    *          screen-input = 0.
    *          screen-output = 0.
    *          screen-intensified = 0.
    *          screen-invisible = 0.
    *        ENDIF.
          WHEN 'TAB2'.
    *        IF
    *          screen-active = 1.
    *        ELSE.
    *          screen-active = 0.
    *        ENDIF.
        ENDCASE.
        MODIFY SCREEN.
      ENDLOOP.
    ENDFORM.                    " tab_hide_unhide
    *&      Form  set_up_branch_range
    FORM set_up_branch_range.
      r_branch[]  = ssbrch[].
      CHECK NOT sdiv  IS INITIAL.
      r_branch     = 'IEQ'.
      SELECT branch INTO r_branch-low
        FROM zpca
        WHERE region = 'JWHCO'
          AND division IN sdiv.
        APPEND r_branch.
      ENDSELECT.
      SORT r_branch.
      DELETE ADJACENT DUPLICATES FROM r_branch.
    ENDFORM.                    " set_up_branch_range

  • Template for ABAP programs

    Hi all.
    I've implemnted the following soultion for our SAP system.
    Go to TCODE CMOD,
    Create a new Project like ZSE38 as follows.
    Check the 'Enhancements Assignments' Radio button, click create and add SEUED001 ( for Editor )
    now SAVE, click on Components and select the User Exit that you want to use.
    EXIT_SAPLS38E_001 <-- this is a function module.
    inside this FM there is an INCLUDE program ZXSEUU08.
    double click on it, when a warning message appears in the status bar below press ENTER
    to create the program.
    write the code you want inside this program. or add the following code.
    code
    DATA: it_code(256) TYPE c OCCURS 0.
    DATA: wa_code like line of it_code.
    DATA: it_new_code(256) TYPE c OCCURS 0.
    DATA: lv_linecount TYPE i.
    IF OPERATION = 'EDIT'.
    read report program into it_code.
    DESCRIBE TABLE it_code LINES lv_linecount.
    IF lv_linecount LE 10.
    read table it_code into wa_code index 5.
    if wa_code(9) '*& Author'.
    read table it_code into wa_code index 1.
    append wa_code to it_new_code.
    read table it_code into wa_code index 2.
    append wa_code to it_new_code.
    read table it_code into wa_code index 3.
    append wa_code to it_new_code.
    clear wa_code.
    wa_code = '*&---------------------------------------------------------------------*'.
    append wa_code to it_new_code.
    clear wa_code.
    wa_code = '*& Author :'.
    append wa_code to it_new_code.
    clear wa_code.
    wa_code = '*& Date :' .
    append wa_code to it_new_code.
    clear wa_code.
    wa_code = '*& Purpose :'.
    append wa_code to it_new_code.
    clear wa_code.
    wa_code = '*&---------------------------------------------------------------------*'.
    append wa_code to it_new_code.
    clear wa_code.
    wa_code = '*& Date Changed by Tag Description'.
    append wa_code to it_new_code.
    clear wa_code.
    wa_code = '*&'.
    append wa_code to it_new_code.
    clear wa_code.
    wa_code = '*&---------------------------------------------------------------------*'.
    append wa_code to it_new_code.
    data: lv_firstline type i.
    loop at it_code into wa_code from 4 to 8.
    if wa_code = ''.
    lv_firstline = sy-tabix.
    endif.
    endloop.
    loop at it_code into wa_code from lv_firstline.
    append wa_code to it_new_code.
    endloop.
    insert report program from it_new_code.
    ENDIF.
    ENDIF.
    ENDIF.
    [/code]
    After this, activate the include program.
    then go back to CMOD transaction and activate the PROJECT that you've just created.
    and you're ready to go........
    Everything is working fine except that i do not want this template to be implemented when I do an include.
    What changes do i need to do?
    BR
    Andreas

    Hello Andreas
    I the same include that you are creating your template(ZXSEUU08) check to see what type of program you are working with.
    * Check to make sure program is type 1 before inserting template.
    select single * from trdir where name = program.
    check: sy-subrc = 0.
    if trdir-subc = '1'
    ... some code here - only executed if program is type 1 (executeable)....
    endif.
    Of course you can excldue incldudes by checking for subc = 'I'.
    Regards
    Greg Kern

  • HTML Template for Web Dynpro (ABAP)

    Hi Guys,
    I am developing a webpage in webdynpro abap.
    my requirement is to use a existing HTML(same as existing applications) template for this.
    how do i do that ?
    regards
    Siddharth

    You don't.  That isn't how Web Dynpro works.  The architecture is such that it abstracts the HTML/JavaScript rendering of the output.  You place a UI element on the screen and only a metadata reprsentation of the screen is created at design time.  At runtime different rendering engines can be applied to produce the final output.  This allows SAP to add new rendering engines and to improve the rendering engines over time without having to adjust the applicaitons itself. This makes Web Dynpro sutiable for producing Business Transactions, but not general web pages.  It also gives us the flexibility to render Web Dynpro in HTML/JavaScript, a desktop client (.Net 3.0 and WPF), and a RIA client (Adobe Flex).
    You can alter the theme of the WDA application when running in HTML rendering.  The theme gets automatically inherited from the NetWeaver Portal - or you can apply a stanalone theme when running without the portal.  Theming allows for some basic changes of color scheme and branding elements - but is not the same as applying a complete HTML template.

  • 500 Internal server error in web template  for specific users

    Hi We have issue with Web templates for some of the users giving error  "500 internal Server Error", all other users able to run the same report.
    We have authorization for the user and following variable which will give target currency selection in variable screen.
    SAP BI Environment
    BI Java : Release: 7 - Patch level: 0000000107 - Description: BI Web Applications Java - Additional info:  - Production mode: true  BI JAVA SPS : 7, Patch : 0
    BI ABAP : Release: 701 - Patch level: 0007 - Description: SAP Business Warehouse (PBICLNT005) - Additional info:  - Production mode: true
    Java Virtual Machine : Java HotSpot(TM) 64-Bit Server VM - Sun Microsystems Inc. - 1.4.2_28-b03
    Operating System :  Windows 2003 - amd64 - 5.2
    Error Message :
    ERROR: Specify a value for variable Select Target Currency
    ERROR: Specify a value for variable Select Target Currency
    Root Cause :
    The initial exception that caused the request to fail was:
    com.sap.ip.bi.bics.dataaccess.resource.impl.bi.exceptions.BicsResourceBwRuntimeException:
    at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.initializeState(ProviderSelectionObject.java:932)
    at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.queryview.ProviderQueryView.initializeState(ProviderQueryView.java:109)
    at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.hasDefaultView(ProviderSelectionObject.java:1462)
    at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.initializeState(SelectionObject.java:516)
    at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.QueryView.initializeState(QueryView.java:198)
    please let me know if any of you guys had this kind of problem.

    SLD is not down its in active , I checked SLD url and Technical system also
    Its in active , but when the problem is happend they done restart 
    but many times its happening every time restart is not preferrable ,upto that one is production system.
    SLD is in active , but why the JCO'S ARE DISABLE under content Admin
    where we can search the SLD user , we checked in SU01 but the user didn't exist there
    If user is lock in the sense after the restart again it's working fine
        I want to know the Root cause , why bcz it's simultaniously happend.
    Regards,
    SONY

  • Web Dynpro for ABAP iView can't work

    Hi guys,
    I've developed an application in web dynpro for abap, it can be accessed from this url:
    http://pekax110.aaa.com:8001/sap/bc/webdynpro/sap/zsfa_test
    But when I created an Web Dynpro iview, set the parameters as follows:
    System: SAP_CRM
    namespace: sap
    application: ZSFA_TEST
    The WAS setting of the System is:
    Web AS Host Name: pekax110.aaa.com:8001
    Web AS Protocol: http
    I add to iview to an portal role, and assign this role to one user. When I open the iview with the user, the iview reports error:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
    Component Name : com.sap.portal.appintegrator.sap.WebDynpro
    Exception in SAP Application Integrator occured: Unable to parse template '<System.Access.WAS.protocol>://<System.Access.WAS.hostname>/sap/bc/webdynpro/<WebDynproNamespace>/<WebDynproApplication>/;sap-ext-sid=<ESID[url_ENCODE]>?sap-wd-configId=<WebDynproConfiguration>&sap-ep-iviewid=<IView.ShortID>&sap-ep-pcdunit=<IView.PCDUnit.ShortID>&sap-client=<System.client>&sap-language=<Request.Language>&sap-accessibility=<User.Accessibility[SAP_BOOL]>&sap-rtl=<LAF.RightToLeft[SAP_BOOL]>&sap-ep-version=<Portal.Version[url_ENCODE]>&<ProducerInfo>&sap-explanation=<User.Explanation[SAP_BOOL]>&<StylesheetIntegration[IF_true PROCESS_RECURSIVE]>&<Authentication>&<DynamicParameter[PROCESS_RECURSIVE]>&<ForwardParameters[QUERYSTRING]>&<ApplicationParameter[PROCESS_RECURSIVE]>'; the problem occured at position 240. Cannot process expression <IView.PCDUnit.ShortID> because Unable to get PCD Unit pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test.
    Exception id: 09:51_22/10/06_0011_19338950
    See the details for the exception ID in the log file
    The default trace files shows:
    #1.5#001125C948FE006A000000590009002E0004205C95299DFF#1161481918454#com.sap.portal.sapapplication#sap.com/irj#com.sap.portal.sapapplication#yangxm#3905##PEKAX119_PGD_19338950#yangxm#a0de4330616a11db83a9001125c948fe#SAPEngine_Application_Thread[impl:3]_8##0#0#Error#1#/System/Server#Java###Content pass of Application Integrator failed.
    Component Name:       'com.sap.portal.appintegrator.sap.WebDynpro',
    Context Name (iView): 'pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test',
    Top Layer:            'WebDynpro/TopLayer',
    Producer ID (FPN):    'null',
    System Alias:         'SAP_CRM',
    [EXCEPTION]
    #1#com.sapportals.portal.appintegrator.ApplicationIntegratorException: Unable to parse template '<System.Access.WAS.protocol>://<System.Access.WAS.hostname>/sap/bc/webdynpro/<WebDynproNamespace>/<WebDynproApplication>/;sap-ext-sid=<ESID[url_ENCODE]>?sap-wd-configId=<WebDynproConfiguration>&sap-ep-iviewid=<IView.ShortID>&sap-ep-pcdunit=<IView.PCDUnit.ShortID>&sap-client=<System.client>&sap-language=<Request.Language>&sap-accessibility=<User.Accessibility[SAP_BOOL]>&sap-rtl=<LAF.RightToLeft[SAP_BOOL]>&sap-ep-version=<Portal.Version[url_ENCODE]>&<ProducerInfo>&sap-explanation=<User.Explanation[SAP_BOOL]>&<StylesheetIntegration[IF_true PROCESS_RECURSIVE]>&<Authentication>&<DynamicParameter[PROCESS_RECURSIVE]>&<ForwardParameters[QUERYSTRING]>&<ApplicationParameter[PROCESS_RECURSIVE]>'; the problem occured at position 240. Cannot process expression <IView.PCDUnit.ShortID> because Unable to get PCD Unit pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
         at com.sapportals.portal.appintegrator.layer.AbstractIntegrationLayer.processTemplate(AbstractIntegrationLayer.java:453)
         at com.sapportals.portal.appintegrator.layer.URLTemplateProcessLayer.processLayer(URLTemplateProcessLayer.java:33)
         at com.sapportals.portal.appintegrator.LayerProcessor.processActionPass(LayerProcessor.java:159)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doActionPass(AbstractIntegratorComponent.java:67)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doOnPOMReady(AbstractIntegratorComponent.java:53)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java(Compiled Code))
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java(Compiled Code))
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java(Compiled Code))
         at com.sapportals.portal.prt.pom.PortalNode.processEventQueue(PortalNode.java(Compiled Code))
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:652)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Caused by: com.sapportals.portal.appintegrator.template_processor.TemplateParserException: Unable to parse template '<System.Access.WAS.protocol>://<System.Access.WAS.hostname>/sap/bc/webdynpro/<WebDynproNamespace>/<WebDynproApplication>/;sap-ext-sid=<ESID[url_ENCODE]>?sap-wd-configId=<WebDynproConfiguration>&sap-ep-iviewid=<IView.ShortID>&sap-ep-pcdunit=<IView.PCDUnit.ShortID>&sap-client=<System.client>&sap-language=<Request.Language>&sap-accessibility=<User.Accessibility[SAP_BOOL]>&sap-rtl=<LAF.RightToLeft[SAP_BOOL]>&sap-ep-version=<Portal.Version[url_ENCODE]>&<ProducerInfo>&sap-explanation=<User.Explanation[SAP_BOOL]>&<StylesheetIntegration[IF_true PROCESS_RECURSIVE]>&<Authentication>&<DynamicParameter[PROCESS_RECURSIVE]>&<ForwardParameters[QUERYSTRING]>&<ApplicationParameter[PROCESS_RECURSIVE]>'; the problem occured at position 240. Cannot process expression <IView.PCDUnit.ShortID> because Unable to get PCD Unit pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
         at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.processWholeTagExpression(TemplateProcessor.java:156)
         at com.sapportals.portal.appintegrator.template_processor.compiler.TemplateCompiler.processWholeTagExpression(TemplateCompiler.java:54)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseSimpleExpression(TemplateParser.java:234)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseComponenedExpression(TemplateParser.java:188)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseComponenedExpressionEx(TemplateParser.java:210)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseComponenedExpression(TemplateParser.java:193)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseComponenedExpressionEx(TemplateParser.java:210)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseComponenedExpression(TemplateParser.java:193)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseTagExpression(TemplateParser.java:170)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseTemplateExpressionPart(TemplateParser.java:97)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parse(TemplateParser.java:89)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parse(TemplateParser.java:83)
         at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.processImpl(TemplateProcessor.java:406)
         at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.process(TemplateProcessor.java:373)
         at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.process(TemplateProcessor.java:385)
         at com.sapportals.portal.appintegrator.template_processor.TemplateProcessorService.processTemplate(TemplateProcessorService.java:53)
         at com.sapportals.portal.appintegrator.template_processor.TemplateProcessorService.processTemplate(TemplateProcessorService.java:104)
         at com.sapportals.portal.appintegrator.layer.AbstractIntegrationLayer.processTemplate(AbstractIntegrationLayer.java:439)
         ... 32 more
    Caused by: com.sapportals.portal.appintegrator.template_processor.context.ContextException: Unable to get PCD Unit pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
         at com.sapportals.portal.appintegrator.template_processor.context.IViewWrapper.getPCDUnit(IViewWrapper.java:156)
         at com.sapportals.portal.appintegrator.template_processor.context.IViewWrapper.access$000(IViewWrapper.java:28)
         at com.sapportals.portal.appintegrator.template_processor.context.IViewWrapper$1.getTerminal(IViewWrapper.java:79)
         at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.processWholeTagExpression(TemplateProcessor.java:152)
         ... 49 more
    Caused by: com.sapportals.portal.pcd.gl.PermissionControlException: Access denied (Object(s): portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test)
         at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdURLContext.lookup(PcdURLContext.java(Compiled Code))
         at javax.naming.InitialContext.lookup(InitialContext.java(Compiled Code))
         at javax.naming.InitialContext.lookup(InitialContext.java(Compiled Code))
         at com.sapportals.portal.appintegrator.template_processor.context.IViewWrapper.getPCDUnit(IViewWrapper.java:148)
         ... 52 more
    #1.5#001125C948FE006A0000005B0009002E0004205C9529A580#1161481918456#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#yangxm#3905##PEKAX119_PGD_19338950#yangxm#a0de4330616a11db83a9001125c948fe#SAPEngine_Application_Thread[impl:3]_8##0#0#Error#1#/System/Server#Java###Exception ID:09:51_22/10/06_0011_19338950
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
    Component class : com.sapportals.portal.sapapplication.SAPApplicationIntegratorComponent
    User : yangxm
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template &\#39;&lt;System.Access.WAS.protocol&gt;://&lt;System.Access.WAS.hostname&gt;/sap/bc/webdynpro/&lt;WebDynproNamespace&gt;/&lt;WebDynproApplication&gt;/;sap-ext-sid=&lt;ESID[url_ENCODE]&gt;?sap-wd-configId=&lt;WebDynproConfiguration&gt;&amp;sap-ep-iviewid=&lt;IView.ShortID&gt;&amp;sap-ep-pcdunit=&lt;IView.PCDUnit.ShortID&gt;&amp;sap-client=&lt;System.client&gt;&amp;sap-language=&lt;Request.Language&gt;&amp;sap-accessibility=&lt;User.Accessibility[SAP_BOOL]&gt;&amp;sap-rtl=&lt;LAF.RightToLeft[SAP_BOOL]&gt;&amp;sap-ep-version=&lt;Portal.Version[url_ENCODE]&gt;&amp;&lt;ProducerInfo&gt;&amp;sap-explanation=&lt;User.Explanation[SAP_BOOL]&gt;&amp;&lt;StylesheetIntegration[IF_true PROCESS_RECURSIVE]&gt;&amp;&lt;Authentication&gt;&amp;&lt;DynamicParameter[PROCESS_RECURSIVE]&gt;&amp;&lt;ForwardParameters[QUERYSTRING]&gt;&amp;&lt;ApplicationParameter[PROCESS_RECURSIVE]&gt;&\#39;; the problem occured at position 240. Cannot process expression &lt;IView.PCDUnit.ShortID&gt; because Unable to get PCD Unit pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:121)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:96)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         ... 31 more
    Can anybody help me out, thank you very much!
    Best Regards,
    Xiaoming Yang

    hi Xiaoming Yang  ,
    i am facing the same error . can you please tell me how you have solved this ??
    regards
    Sujay Kulkarni

  • Templates in ABAP

    Hi,
    I want a brief introduction to templates in ABAP.
    I need to write a template which shall generate dynamic code. I am very new to this template concept in ABAP. Could some one please provide me good documents on how to write a template in ABAP or/and provide a simple sample program?
    Regards,
    Ravi

    following is a template for example:
    @--Template for generating CDS_READ_SERVICE--
    *@ DATA: LT_SEGM         TYPE SMMW_CDS_SEGM_TTYP.
    *@ DATA: LT_MAPP         TYPE SMMW_CDS_MAPP_TTYP.
    *@ DATA: WA_SEGM         TYPE SMMW_CDS_SEGM.
    *@ DATA: WA_MAPP         TYPE SMMW_CDS_MAPP.
    *@ DATA: LS_HDR          TYPE MSB_HEADER.
    *@ DATA: LS_MBOINFO      TYPE SMMW_CDS_MBO_INFO.
    *@ DATA: META_OBJ        TYPE SMMW_GUID.
    *@ DATA: msg_strname(40) TYPE C.
    *@ DATA: memodblbin(40)  TYPE C,
    *@       memodbltxt(40)  TYPE C.
    *@ META_OBJ = I_META_OBJECT(32).
    @ get MBO structure,version and sw component name
    *@  CALL FUNCTION 'MSB_GET_MBO_HEADER_INFO'
    *@    EXPORTING
    *@      IM_MBO_VERSION_ID        = META_OBJ
    *@    IMPORTING
    *@      EX_MBO_HEADER            = LS_HDR
    *@    EXCEPTIONS
    *@      MISSING_IMPORT_PARAMETER = 1
    *@      NO_SUCH_MBO              = 2
    *@      MORE_THAN_ONE_MBO        = 3
    *@      OTHERS                   = 4
    *@  IF SY-SUBRC <> 0.
    *@    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *@         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *@  ENDIF.
    @ get MBO information by calling API SMMW_CDS_GET_MBODATA
    *@  CALL FUNCTION 'MMW_CDS_GET_MBODATA'
    *@    EXPORTING
    *@      I_MBO_TRANS                = META_OBJ
    *@    IMPORTING
    *@      SEGM_TAB                   = LT_SEGM
    *@      MAPP_TAB                   = LT_MAPP
    *@      MBO_INFO                   = LS_MBOINFO
    *@    EXCEPTIONS
    *@      MBO_ID_IS_INITIAL          = 1
    *@      PARENT_SEGMENT_NOT_FOUND   = 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.
    *@  msg_strname = LS_MBOINFO-MESGSTR_NAME.
    *@  memodblbin  = LS_MBOINFO-BMEMTABLE_NAME.
    *@  memodbltxt  = LS_MBOINFO-TMEMTABLE_NAME.
                       CDS READ SERVICE
       This method has been generated
       Never change it manually, please!!
       Transaction:  \LS_HDR-NAME\
       Template   :  \I_TEMPLATE\
       GenKey     : CDS_READ_SERVICE
       Generated on \SY-DATUM\ \SY-UZEIT\
                 by \SY-UNAME\
    CONSTANTS: LC_INSERT VALUE 'I',
                LC_UPDATE VALUE 'U',
                LC_DELETE VALUE 'D'.
    DATA: LT_OBJ_LIST          TYPE  EXTRACTKEY_TT.
    DATA: WA_OBJ_LIST          TYPE  SMMW_EXTRACTKEY.
    DATA: LV_COUNT             TYPE  INT4.
    DATA: RECORDS_NOT_FOUND    TYPE  BOOL VALUE ' '.
    CONSTANTS: lv_sendbits(32) TYPE x VALUE
    'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF'.
    *@  IF LS_HDR IS NOT INITIAL.
      DATA: MBO_STR TYPE \msg_strname\.
    *@   IF LT_SEGM IS NOT INITIAL.
    *@    LOOP AT LT_SEGM INTO WA_SEGM.
    declaring tables and workareas for segment : \WA_SEGM-SEGM_NAME\
      DATA: LT_T\WA_SEGM-TABLENAME\  TYPE TABLE OF \WA_SEGM-TABLENAME\.
      DATA: WA_T\WA_SEGM-TABLENAME\  TYPE          \WA_SEGM-TABLENAME\.
      DATA: WA_S\WA_SEGM-GEN_NUM\  TYPE          \WA_SEGM-SEGM_STR\.
    *@    ENDLOOP.
    copy the extract key table to a local internal table.
      LT_OBJ_LIST[] = OBJ_LIST[].
      IF LT_OBJ_LIST IS INITIAL.
    *...handle log here........
        EXIT.
      ELSE.
    sort the table to delete adjacent duplicate entries
        SORT LT_OBJ_LIST BY EXTRACTKEY.
    delete the duplicate entries from the table before processing
        DELETE ADJACENT DUPLICATES
          FROM LT_OBJ_LIST
          COMPARING EXTRACTKEY.
        DESCRIBE TABLE LT_OBJ_LIST LINES LV_COUNT.
        IF task EQ LC_DELETE OR task EQ LC_UPDATE.
          IF LV_COUNT GT 1.
    *.....bulk message is only for task 'I' not for task 'U' or 'D'.
    *.....Hadle log here.....
            OBJ_MISS[] = LT_OBJ_LIST[].
            EXIT.
          ENDIF.
        ENDIF.
        IF TASK EQ LC_DELETE.
    prepare MBO message for the Extract keys whose task is DELETE
    *@    LOOP AT LT_SEGM INTO WA_SEGM WHERE HIERARCHY EQ 1.
    @   if the segment is root segment only.
          LOOP AT LT_OBJ_LIST INTO WA_OBJ_LIST.
             WA_S\WA_SEGM-GEN_NUM\-TASK = TASK.
             WA_S\WA_SEGM-GEN_NUM\-\WA_SEGM-KEYFIELD\ =
               WA_OBJ_LIST-EXTRACTKEY.
             WA_S\WA_SEGM-GEN_NUM\-EXTRACTKEY =
               WA_OBJ_LIST-EXTRACTKEY.
             APPEND WA_S\WA_SEGM-GEN_NUM\ TO MBO_STR-\WA_SEGM-SEGM_NAME\.
          ENDLOOP.
    *@    ENDLOOP.
    task is not 'D'.
        ELSE.
    *@    SORT LT_SEGM BY HIERARCHY.
    *@    LOOP AT LT_SEGM INTO WA_SEGM.
    select statement to fill segment: \WA_SEGM-SEGM_NAME\
    *@     IF WA_SEGM-HIERARCHY NE 1.
         IF RECORDS_NOT_FOUND IS INITIAL.
    *@     ELSE.
           DESCRIBE TABLE LT_OBJ_LIST LINES LV_COUNT.
    *@     ENDIF.
           SELECT * INTO TABLE LT_T\WA_SEGM-TABLENAME\
           FROM \WA_SEGM-TABLENAME\
           FOR ALL ENTRIES IN LT_OBJ_LIST
    @    For root segment compare extractkey with synckey
    *@     IF WA_SEGM-HIERARCHY = 1.
           WHERE \WA_SEGM-KEYFIELD\ = LT_OBJ_LIST-EXTRACTKEY.
    @    For other than root segments compare extractkey with
    @    extractkey only.
    *@     ELSE.
           WHERE EXTRACTKEY = LT_OBJ_LIST-EXTRACTKEY.
    *@     ENDIF.
    *@     IF WA_SEGM-HIERARCHY = 1.
           IF SY-SUBRC <> 0.
       all the extractkeys are invalid hence send all to OBJ_MISS.
             OBJ_MISS[] = LT_OBJ_LIST[].
             RECORDS_NOT_FOUND = 'X'.
           ELSEIF LV_COUNT NE SY-DBCNT.
       Not all the keys are invalid.atleast one key is invalid.
    *@     LOOP AT LT_MAPP INTO WA_MAPP
    *@       WHERE SEGM_NAME = WA_SEGM-SEGM_NAME AND IS_SYNCKEY EQ 'X'.
              LOOP AT LT_OBJ_LIST INTO WA_OBJ_LIST.
               READ TABLE LT_T\WA_SEGM-TABLENAME\
               WITH KEY \WA_MAPP-SFLD_NAME\ = WA_OBJ_LIST-EXTRACTKEY
               TRANSPORTING NO FIELDS.
    *@     ENDLOOP.
               IF SY-SUBRC <> 0.
                APPEND WA_OBJ_LIST TO OBJ_MISS.
               ENDIF.
             ENDLOOP.
           ENDIF.
    *@     ENDIF.
       process all the records to set the value for task field.
           IF LT_T\WA_SEGM-TABLENAME\ IS NOT INITIAL.
             IF task EQ LC_UPDATE.
               WA_S\WA_SEGM-GEN_NUM\-SENDBITS = lv_sendbits.
             ENDIF.
             WA_S\WA_SEGM-GEN_NUM\-TASK = TASK.
             LOOP AT LT_T\WA_SEGM-TABLENAME\ INTO WA_T\WA_SEGM-TABLENAME\.
              move-corresponding WA_T\WA_SEGM-TABLENAME\
                 to WA_S\WA_SEGM-GEN_NUM\.
    *@       LOOP AT LT_MAPP INTO WA_MAPP
    *@         WHERE SEGM_NAME = WA_SEGM-SEGM_NAME AND IS_MEMO NE SPACE.
              IF wa_t\wa_segm-tablename\-\wa_mapp-sfld_name\ IS NOT INITIAL.
    *@        IF WA_MAPP-IS_MEMO EQ 'T'.
        select the text memo content from the db table
                SELECT SINGLE CONTENT
                FROM \memodbltxt\
                INTO WA_S\WA_SEGM-GEN_NUM\-\WA_MAPP-SFLD_NAME\
                WHERE tablename = '\WA_SEGM-TABLENAME\' AND
                   tablekey = WA_T\WA_SEGM-TABLENAME\-\WA_SEGM-KEYFIELD\ AND
                   tablefield = '\WA_MAPP-SFLD_NAME\'.
    *@        ELSEIF WA_MAPP-IS_MEMO EQ 'B'.
        select the binary memo content from the db table
                SELECT SINGLE CONTENT
                FROM \memodblbin\
                INTO WA_S\WA_SEGM-GEN_NUM\-\WA_MAPP-SFLD_NAME\
                WHERE tablename = '\WA_SEGM-TABLENAME\' AND
                   tablekey = WA_T\WA_SEGM-TABLENAME\-\WA_SEGM-KEYFIELD\ AND
                   tablefield = '\WA_MAPP-SFLD_NAME\'.
    *@        ENDIF.
              ENDIF.
    *@       ENDLOOP.
              APPEND WA_S\WA_SEGM-GEN_NUM\ TO MBO_STR-\WA_SEGM-SEGM_NAME\.
             ENDLOOP.
           ENDIF.   " table LT_T\WA_SEGM-TABLENAME\ not initial.
    *@     IF WA_SEGM-HIERARCHY NE 1.
          ENDIF.
    *@     ENDIF.
    *@    ENDLOOP.
        ENDIF.
      ENDIF.   " Object list not initial.
    *@    LOOP AT LT_SEGM INTO WA_SEGM WHERE HIERARCHY EQ 1.
      IF MBO_STR-\WA_SEGM-SEGM_NAME\ IS NOT INITIAL.
        MBO_MESSAGE = MBO_STR.
      Filling Header of the MBO message if it is not empty.
        DESCRIBE TABLE MBO_STR-\WA_SEGM-SEGM_NAME\ LINES LV_COUNT.
    *@    ENDLOOP.
        CALL FUNCTION 'SYSTEM_UUID_C_CREATE'
             IMPORTING
               uuid = MBO_COMM_HEADER-MESSAGE_ID.
        MBO_COMM_HEADER-SWCV_NAME    = '\LS_HDR-SWCV_NAME\'.
        MBO_COMM_HEADER-VERSION      = '\LS_HDR-VERSION\'.
        MBO_COMM_HEADER-MBO_NAME     = '\LS_HDR-NAME\'.
       GET TIME STAMP FIELD MBO_COMM_HEADER-SEND_TSTMP.
      This vale SEND_TSTMP filling involves some problem...
        MBO_COMM_HEADER-SEND_USR     = SY-UNAME.
        IF LV_COUNT EQ 1.
          MBO_COMM_HEADER-MESSAGE_TYPE = 'I'.
          READ TABLE OBJ_LIST INDEX 1 INTO WA_OBJ_LIST.
          IF SY-SUBRC = 0.
           MBO_COMM_HEADER-EXTRACT_KEY = WA_OBJ_LIST-EXTRACTKEY.
          ENDIF.
        ELSE.
          MBO_COMM_HEADER-MESSAGE_TYPE = 'B'.
        ENDIF.
      ENDIF.
    *@   ENDIF.
    *@  ENDIF.
    I dont understand the notation *@ here...
    Why is it used??
    Regards,
    Ravi

  • WebDynpro for ABAP iview

    Hi All,
    In my client portal there is no iview template of type "SAP WebDynpro iview" .
    I created one from the list of PAR templates of type com.sap.portal.appintegrator.sap.WebDynpro
    and embedded it in a webdynpro proxy page
    i have given the following parameters.
    Application
    Application Namespace
    configuration name
    platform 'webdynpro for ABAP'
    WebDynpro client 'plain HTML'
    system
    But at runtime when i login with the end user it gives a blank page.
    Please advise.
    Thanks,
    VV

    What happens when you try to test the same application you put in the iView from SE80.  Sounds like the developer of the application might have forgotten to embed their default view in the window.  A very common mistake on older support packge levels before the workbench started embedding the default view automatically.

  • WebDynpro for Abap Test failed (System Admin/Support/WD)

    Hello,
    I'm using EP 7.0 and I'm trying to test travel&expenses (Ehp3) WD for Abap from System Admin/Support Desk: Integration of SAP Applications/WebDynpro and we get the following error: Exception in SAP Application Integrator occured: Unable to parse template...the problem occured at position 275. Cannot process expression &lt;IView.PCDUnit.ShortID&gt; because Unable to get PCD Unit com.sap.portal.appintegrator.sap.WebDynpro.
    System contector test is ok. Please, could you help me?
    Thank you

    Hello Michael,
    Ok, I forget system connector and support tests. Web AS parameter are supposed to be ok:
    Web AS Host Name: host.domain:port (from smicm tx)
    Web AS Host Name: /sap/bc/webdynpro/sap/
    Web AS Protocol:     http
    but the SAP Web AS Connection test fails. When trying to execute the iView it works. Does it mean that is it correct? Why WAS connection test fails?
    In the other hand, when iView is displayed, it asks for user and password because the R/3 user is locked. Why R/3 user is locking everytime?
    Thank you&Regards

  • Template for LSMW

    Can any one forward me the Template for Uploading Balances of Customer , Vendor & GIL Account and Asset on my mail id.
        [email protected]
    Thanks&Regards,
    Kapex.

    ur collegues in ABAP will give u this
    warm regards
    Manjunath

  • How to create Transaction code for ABAP and execution by other user

    Hi All,
    Could someone please let me know how to create transaction code in detail for ABAP program. Step by step procedure expected. I would like to know how other user can execute the report using same transaction code which I have created.
    More about authorization.
    Thanks in advance.

    Hello,
    You can create transaction code from se80 as well.In object navigator,right click on your program name and create->transaction code.You can create transaction and select if it is only a report,a report with selection-screen depending on your requirement.You can run your report directly by entering the transaction code in the command field.
    You can authorise the users who can use your transaction:
    <b>Authorisation objects</b> are used to restrict certain transactions to users.Critical data must be protected from unauthorised users.For example,the head has access to certain data.But it cannot be accessed by his subordinate.For this we need to define <b>roles</b>.
    •Create an authorization object with transaction SU21.
    An object usually consists of the ACTVT (activity) field and one other field,which specifies the data type to be protected.By ACTVT, we can decide if the data is accessible for change,display only etc.
    •Add authorization fields to the authorization object created.
    •Assign the authorization object to the transaction using SE93.
    Attach the authorization object to the role using transaction PFCG.
    If you want <b>to assign roles</b>,use transaction PFCG.Create a new role.In the AUTHORIZATIONS tab,you can get a self generated profile name and a profile text by clicking on the icon next to it.Then go to the "Change Authorization data" and choose an authorization template.Then you can choose to display/change/create an activity and after the selection,click on the red and white circle.The profile will now be created.
    In the user tab,you can give the user details who can use this role.
    <b>Also check this link:</b>
    http://www.*********************/r3_security/r3_security_tips.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/52/6716a6439b11d1896f0000e8322d00/content.htm
    <b>Very helpful guide:</b>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c
    Regards,
    Beejal
    **Reward if answer is helpful

  • Setting up Default web template for BeX 7.0 queries.

    Hi Experts,
    I am running a web-report based on a query created using Query Designer 7.0. I have a default web-template that I have been using for BeX 3.x queries [which has been created using WAD 3.X] and I tried to set the same template as default for the BeX 7.0 in SPRO>SAP Netweaver>Business Intelligence>Settings for Reporting and Analysis>BeX Web>Set Standard Web Templates>Ad Hoc Analysis.
    But I can't see the changes being reflected in the web report after I made the change.I still see that the default template 0ANALYSIS_PATTERN is being used. Can we set a web template created using WAD 3.x as the default template for 7.0 Queries?If yes, do I need to do something else apart from the changes I did in SPRO?
    Thanks
    Arvind
    Edited by: Arvind Pattabiraman on Apr 29, 2009 8:51 PM

    Arvind,
    Have you migrated your template to 7.0 ? you cannot use a 3.x template as the default for  a 7.0 template... unless you are using the EP6.0 iView / ABAP stack for running your queries on the web...
    Edited by: Arun Varadarajan on Apr 30, 2009 12:29 AM

  • How to Call Transaction iView that calls RRMXP from Web Dynpro for ABAP

    Dear Experts,,
    I'm developing an application in Web Dynpro for ABAP wherein I'm supposed to give a link that should open an SAP Transaction iView that calls  tcode = 'RRMXP' and I pass the application parameter as QUERY/WBID = <BI query/Workbook ID>.
    I tried calling com.sap.portal.appintegrator.sap.bwc.Transaction iView, but it asks for system/application and GUI type parameters. How to pass through the URL?
    Any help would be highly appreciated
    Regds,
    Srini

    Hi Wolfgang,,
    My problem was that I was supposed to call the BeX Web Analyser ( a BI excel based tool - client installation) on click of a button in my WD-ABAP application. I solved it as follows :
    In the portal pcd, I cam across a folder content provided by SAP. Here, you'll find standard template iViews that can be used to call applications ( for which you make iViews). I had to call an SAP TCode : RRMXP so as to call a BI Workbook/Query.
    So, I called the standard iView template for sap_transaction_iView as follows :
    irj/servlet/prt/portal/prtmode/preview/prtroot/'
               'pcd!3aportal_content!2fcom.sap.pct!2ftemplates'
               '!2fiviews!2fcom.sap.portal.sap_transaction_iview?'
               'sap-config-mode=true&System=BWR3System&TCode=RRMXP'
               '&GuiType=WinGui&OkCode=y&ApplicationParameter='  <appnm>  into url.
          l_popup =
             l_window_manager->create_external_window( url = url
                                          has_menubar = ' '
                                         has_statusbar = ' '
                                          has_toolbar = ' '
                                          has_location = ' ').
          l_popup->open( ).
    And , it worked.
    Any more help pls feel free to revert.
    Regds,
    Srini

  • Web Dynpro For ABAP Question

    Hi all,
    I'm creating Adobe Interactive forms in Web Dynpro for ABAP.
    <b>Problem:</b>
    <b>Context defined in the created "View" is not displayed in the 'templates' (Adobe Interactive Form in the "Data View" tab.</b>
    I'm following the exact steps used in the following e-learning class:
    <b>https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3</b>
    Except I'm creating 'string' fields instead of numeric fields like in the above e-learning class and creating my forms in Adobe Livecycle designer first then importing them to the web dynpro for abap - 'templates'.
    The 1st form I created went well and works fine.
    <b>Question:</b>
    For my second and third form I'm unable to map my context fields they are not displayed in the "Data View" anyone know why this is not possible?
    Cheers,
    Dharm

    Hello,
    are you creating the form via forward navigation from webdynpro abap?
    When you do that the context of the form should be created automaticaly.
    What Basis SP level are you using?
    Best regards,
    Dezso

  • Default template for Information broadcasting

    Hi,
    I got the info that template 0BROADCASTING_TEMPLATE70 is the default template for Broadcasting but when i try to open it in WAD then it outputs 'No object Found'.
    Even if i try to find it in BI Content, i do not found the one with the specified name.
    any idea which default template is used in for Infoarmation Broadcasting.
    Its very urgent.

    Hi Satish,
    Unfortunately It is not possible in standard. I also checked ECM_EXIT but I was not able to find any specifc interface for long text. You can try this is General abap forum as Long texts generally belong to Basis more then an appication area itself.
    Thanks
    Amber

Maybe you are looking for

  • Acrobat 9 - Can I...?

    Hello all, I'm using a trial of Acrobat 9 Pro Extended, and I do plan to purchase it based on what I've seen so far. I do have a couple of "Can I" or "How do I?" questions that I haven't been able to figure out... -1- Let's say I have a portfolio cal

  • Burning to DVD to watch on my telle

    Hi first of all thanks in advanced for any help you can offer. I have purchased Video off of itunes and i was wondering if i can burn the video to a DVD and watch the Video i have bought off itunes on my T.V. Thanks for your help Bye Advent   Windows

  • ORA-01446 when selecting ROWID from View with Union

    I have a View that uses a Union to select from 3 tables. I would like the View to return the ROWID for the record that is returned so that I can update it in my form. The View compiles fine but when I select from the View I get ORA-01446 error. Examp

  • Store user data row in modle session

    All, My use case is after successful login, i get a row in the VO. i don't want to store separate attributes in the model layer session and HTTP Session. How can i store the entire Row in the session and how do i access it. In my model layer i can do

  • Real Fourier Transformation: confusing phase spectrum

    When setting sample rate and block size both to 1024, the Real Fourier Transformation of a sin-wave with Frequency=1 and PhaseAngel=0 calculates the phase spectrum as displayed in the left part of the image. Setting sample rate and block size both to