Steps to create a custom Window component?

What steps do I need to take to create a custom Window component? My approach now results in the component being uneditable in design view. What I do is simply select "New > MXML component", base it on spark.components.Window and supply a filename. I tried with a Panel component and that works fine.

Hi,
Step by Step creation of SAP Payroll Funcitons:
1) Follow the menu path
   Human Resources>>Time Management>>Administration>>Tools>>Funtions/Operations
   or transaction PE04. Enter a four digit name for e.g ZIABC, and press the create
   button, enter the description. On creation the system proposes the name of
   the routine use it, or enter a name of your choice by selecting the option 'Self-defined'.
2) During the execution of payroll some tables are filled with wage types and there amounts
   to make these tables available to your routine enter the name of the table for e.g (RT or
   CRT) in the input parameters, and to make the changes done to the data in the tables
   avaiable to the payroll enter the name of the table in the Output parameters as well.
   Input Parameters
   Ctry                                         Num     Object Name
   99                                           1       RT
   99                                           2       CRT
  and same shall be done in the Output Paramters if required.
3) Create an include in the program PCBURZ990 (using Transaction:
SE38), in which create a subroutine with the name supplied by SAP or the
name selected by you during Funtion creation,
in our case, it is FUZIABC.
Note: The program PCBURZ990 is in SAP Namespace, so an Access Key
will be required before you can proceed. But it will not be overwritten during any upgrade.
*Example of the subroutine
   FORM FUZIABC.
*enter the code
   ENDFORM.
4) After this activate the program the Funtion and add it in the schema used for payroll processing.
Reward points if helpful.
Regards,
Manoj.

Similar Messages

  • Create a custom JSF component

    Hi,
    I want to create a custom JSF component. I've setup a new application containing 2 projects:
    - a 'components' project, containing all the custom components
    - a 'view' project, to test the created custom components.
    There is dependency between the components project and the view project. In the view project, I added the
    the Tld, in order to use my components in the project.
    From the component palette, I can drop a component onto a .jspx page but after running the page, no output
    is printed onto the screen. The HTML source code only contains my 'tag-name' (eg: <ctb:mytag/>)
    Am I doing something wrong?
    UIComponent:
    import java.io.IOException;
    import javax.faces.component.UIComponentBase;
    import javax.faces.context.FacesContext;
    import javax.faces.context.ResponseWriter;
    public class BasicComponent extends UIComponentBase {
        public String getFamily() {
            return "BasicComponent";
        public void encodeBegin(FacesContext context) throws IOException {
            ResponseWriter out = context.getResponseWriter();
            out.write("Hello World");
    }Tag
    import javax.faces.component.UIComponent;
    import javax.faces.webapp.UIComponentTag;
    public class BasicComponentTag extends UIComponentTag {
        public String getComponentType() {
            return "BasicComponent";
        public String getRendererType() {
            return null;
    }Tld entry:
      <tag>
        <name>BasicComponent</name>
        <tag-class>BasicComponentTag</tag-class>
        <body-content>JSP</body-content>
      </tag>Thanks in advance,
    Koen Verhulst

    The body tag should be as follows
    <bodycontent>JSP</bodycontent>
    but the JSP will not work. Here is the file:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable"
    xmlns:cf="/WEB_INF/helloWorldLib.tld">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>List of Values</title>
    </head>
    <body><h:form>
    <cf:jsfhello hellomsg="This is it" />
    </h:form></body>
    </html>
    </f:view>
    </jsp:root>
    Edited by: bongo2 on Oct 28, 2008 2:58 PM

  • Creating a custom JSF Component

    Hi,
    I am trying to create a custom JSF Component. My ultimate goal is to pass a bean to my custom component and have the component render some HTML output based on the info contained in the bean. Before I attempt that I am trying to get a simple custom component to just work. This component is based on the tutorial found here: http://www.jsftutorials.net/components/index.html
    This tutorial just creates a component that outputs a <div> tag around the body contents of the custom component.
    To keep this short I have done the following items from the tutorial link above:
    1) I have created the tld file defining the tag class, name, uri and shortname
    2) I have also created the tag class called TickerTag.java along with the component class UITicker.java. These classes are straight copy-and-paste jobs from the tutorial link and compile fine.
    3)My faces-config.xml file has the proper component definition of
    <component>
    <component-type>ticker</component-type>
    <component-class>ticker.UITicker</component-class>
    </component>
    This was the easy part. The example then goes on to use the custom component in a JSP page. I managed to get the custom component to work in a JSP page BUT my problem is getting the custom component to work in an XHTML file.
    I thought all I had to do was define an xml namespace using the uri from my tld file like so:
    Note: My uri is www.fubar.com/tags and is defined in the tld file.
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:t="http://myfaces.apache.org/tomahawk"
    xmlns:u="http://www.fubar.com/tags">
    I then try to use the tag like so <u:ticker> <f:verbatim>Hello JSF Component</f:verbatim></u:ticker>
    I am expecting the following output: <div>Hello JSF Component
    </div>
    but instead I get
    <u:ticker>Hello JSF Component</u:ticker>
    It seems the tag is not even processed. This is my first jump into custom components. I have done custom JSP tags in the past but I never tried to display them on an XHTML page.
    If you are wondering why I am using XHTML pages, this was setup a while back by a previous developer. Changing everything to a JSP would take a long time and probably break some stuff I am not aware of yet. As such the web.xml file of this JSF web app has the following:
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.xhtml</param-value>
    </context-param>
    So all *.jsf files are processed and sent to the corresponding .xhtml file.
    I have looked up creating custom components on google and every last example uses their newly created components in a jsp file. No XHTML uses so far.
    Below are my tld files and xhtml file if that helps:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>u</short-name>
    <uri>http://www.fubar.com/tags</uri>
    <tag>
    <name>ticker</name>
    <tag-class>ticker.TickerTag</tag-class>
    <body-content>JSP</body-content>
    </tag>
    </taglib>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:t="http://myfaces.apache.org/tomahawk"
    xmlns:u="http://www.fubar.com/tags">
    <html>
    <head>
    <title>Show Custom Component</title>
    </head>
    <body>
    <f:view>
    <u:ticker> <f:verbatim>Hello JSF Component</f:verbatim></u:ticker>
    </f:view>
    </body>
    </html>
    Any suggestions/help are much appreciated,
    Nick
    </div>

    Thanks Ray. I'll take a look at that site.
    I managed to figure out my problem. I never created a .taglib.xml file that reference the component I defined in the faces-config.xml file. Once I did that everything work perfectly.
    I managed to use this forum post as a guide.
    http://osdir.com/ml/java.facelets.user/2006-12/msg00042.html
    I hope this helps anyone else.
    Nick

  • Steps to create a custom UI control in mobile 7.1 ?

    Hello Arvind ,
    What exactly you mean by signature pad here?
    I understood that you want many custom controls in your view.
    For this , to start off ,  you need to create one custom control dc first.
    And then you can re use the same for any number of custom controls in the view.
    Steps will be :
    1) Take a fresh IDE with new workspace
    2) Create a new DC (for custom control) of type JAVA  .The lik which you gave also speaks about this only
    3) Create an application component , bind it with custom control dc.
    4) Create a ui component and go ahead with your design of view. Rest all will be the same as simple oca application creation.
    For elobarate steps on step-2 (custom control DC creation ), there is a very good document with screen shots which explains everything in detail.
    I am not sure if the document is released, will just check that out and provide you the link.
    Regards,
    Lakshmi
    Edited by: Lakshmi Reddi on May 25, 2009 12:22 PM

    Vidyadhar,
                     I have created a custom control DC and added added as dependency to a Application component("testapp").Created a new UI component("test_ui) and added "testapp" as depedency in Dev. Infra. view. when i add the "testapp" as depedency to "test_ui" MCD file(<dependency><dependency_name>testapp</dependency_name><dependency_version>1.0</dependency_version></dependency>) , build fails(COMPONENT NOT FOUND) with the following error:(from build.log)
    Dependencies in mcd.xml:
              MCD name: testapp MCD version: 1.0
    Comparing data in MCD and DPI files.
    Error: com.sap.tc.mobile.dt.oca.bp.exception.OCABuildPluginException: Validation of MCD file failed. Component 'testapp' version '1.0' not found.  Please check version of used components.
         at com.sap.tc.mobile.dt.oca.bp.impl.cfs.provider.MCDDescription.checkDependencies(MCDDescription.java:139)
         at com.sap.tc.mobile.dt.oca.bp.impl.cfs.provider.CFSDataContextProvider.checkMCDDependencies(CFSDataContextProvider.java:156)
         at com.sap.tc.mobile.dt.oca.bp.impl.cfs.provider.CFSDataContextProvider.execute(CFSDataContextProvider.java:126)
         at com.sap.tc.buildplugin.PrepareContextBuildStep.prepareTechnologySpecificData(PrepareContextBuildStep.java:186)
                    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1779)
         at com.sap.ide.dii05.util.internal.job.InternalJdiJob$3.run(InternalJdiJob.java:233)
         at com.sap.ide.dii05.util.internal.job.BusyBackgroundIndicator.showWhile(BusyBackgroundIndicator.java:74)
         at com.sap.ide.dii05.util.internal.job.InternalJdiJob.internalRun(InternalJdiJob.java:214)
         at com.sap.ide.dii05.util.internal.job.InternalDiiJob.run(InternalDiiJob.java:275)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Error: Build stopped due to an error: Validation of MCD file failed. Component 'testapp' version '1.0' not found.  Please check version of used components.
    Error: Build stopped due to an error: Validation of MCD file failed. Component 'testapp' version '1.0' not found.  Please check version of used components.
    Also, when i add "interactive form" to the view, the properties bounded to interactive form control are for configuring adobe forms. Can i ignore those properties which are not related to my custom control , for which i'll be setting the properties in the code?
    Thanks & Regards,
    Arvind

  • Steps to create a custom responsibility in Oracle applications R12

    Hi All,
    I need to define and create a new custom responsibility in Front end applications. Can you let me know the steps to create it or any links through which I can work on it.
    Data group
    Menu
    Request group
    with step by step procedure
    Regards,
    Kalyan

    Please see these links/docs.
    http://forums.oracle.com/forums/search.jspa?threadID=&q=Create+AND+Custom+AND+Responsibility&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Oracle Applications System Administrator's Guide Documentation Set
    http://download.oracle.com/docs/cd/B53825_03/current/html/docset.html
    Thanks,
    Hussein

  • Steps to create a custom function in pe04 and to create the code include

    I am new to HR time management.i require to create a custom quota
    function in pe04 .
    I believe it requires me to first include the source code under
    the include RPTMOZ00..Its not editable and throws mesage that
    its lckd by some other 'client'..Do i need some access key
    there? moreover without this i do not know how to proceed in
    pe04.I dont evn have any idea what all should be put in the
    paramaters in the pe04 attributes.Just have been told about the
    countries to specify there. please suggest what all inputs
    should i ask my functional people to provide on this and what
    all can i handle technically and how..any help would be
    appreciated.Thanks

    Hi,
    Step by Step creation of SAP Payroll Funcitons:
    1) Follow the menu path
       Human Resources>>Time Management>>Administration>>Tools>>Funtions/Operations
       or transaction PE04. Enter a four digit name for e.g ZIABC, and press the create
       button, enter the description. On creation the system proposes the name of
       the routine use it, or enter a name of your choice by selecting the option 'Self-defined'.
    2) During the execution of payroll some tables are filled with wage types and there amounts
       to make these tables available to your routine enter the name of the table for e.g (RT or
       CRT) in the input parameters, and to make the changes done to the data in the tables
       avaiable to the payroll enter the name of the table in the Output parameters as well.
       Input Parameters
       Ctry                                         Num     Object Name
       99                                           1       RT
       99                                           2       CRT
      and same shall be done in the Output Paramters if required.
    3) Create an include in the program PCBURZ990 (using Transaction:
    SE38), in which create a subroutine with the name supplied by SAP or the
    name selected by you during Funtion creation,
    in our case, it is FUZIABC.
    Note: The program PCBURZ990 is in SAP Namespace, so an Access Key
    will be required before you can proceed. But it will not be overwritten during any upgrade.
    *Example of the subroutine
       FORM FUZIABC.
    *enter the code
       ENDFORM.
    4) After this activate the program the Funtion and add it in the schema used for payroll processing.
    Reward points if helpful.
    Regards,
    Manoj.

  • Steps for creating a custom outbound idoc

    Hi,
            Can u please each and every step wise for the creation of the custom outbound idoc.
    Thanks
    Kiran Prasad.

    friend before posting ur query, try to utilize the search tab in the forum, u can find the answer for ur query if not continue with postings.
    Follow this link for step by step tutorial with screen shots
    http://www.****************/Tutorials/ALE/ALEMainPage.htm
    1. Create an IDOC Type.
    The next step is to create an IDOC type by associating the extension type that you created with the Basic IDOC type. This is a simple process:
    u2022 From transaction WE30 or WEDI go to Development -> IDOC Types.
    u2022 Enter ZDEBMASZ for Object Name.
    u2022 Click on IDOC Type.
    u2022 Click on Create.
    u2022 Enter DEBMAS02 for Basic IDOC type.
    u2022 Enter ZDEBMASX for extension type.
    u2022 Enter a description.
    u2022 Enter.
    u2022 You will see a display of the composite IDOC type with all segments, including Z1SADRX (see Figure 3).
    It is possible to associate only one extension type with a Basic IDOC type for a given IDOC type. However, you can have multiple new segments in an extension type.
    2. Link IDOC Type to Message Type.
    The next step is to link the new IDOC type to its corresponding message type. This is important, because this relationship is referenced in the partner profile parameters where you specify the message type and IDOC type to be used for that particular representative system. To link the message type:
    u2022 Use transaction WE82, or from WE30, go to Environment -> IDOC Type / Message Type, or from WEDI go to Development -> IDOC Type -> Environment Î IDOC Type / Message Type.
    u2022 Click on Display <-> Change.
    u2022 Click on New Entries.
    u2022 Enter DEBMAS for message type.
    u2022 Enter DEBMAS02 for Basic IDOC type.
    u2022 Enter ZDEBMASX for extension type.
    u2022 Enter your SAP R/3 release number for Release.
    u2022 Save.
    This data is stored on the EDIMSG table and is accessed by several ALE processes to relate the message type to the IDOC type.
    3. Check the IDOC Type.
    Before checking the IDOC type for consistency, it is important to perform another step that releases the extension type to the IDOC type:
    u2022 From WEDI go to Development -> IDOC Types -> Extras -> Release Type, or from transaction WE30 go to Extras -> Release Type.
    u2022 For the Object Name ZDEBMASX and radio button Extension Type, click Yes.
    u2022 The extension type has now been "released."
    You canât edit the extension type once itâs released. To cancel the release for further editing or deactivation, go to WE30 Î Extras Î Cancel release. The final step in the IDOC extension process is checking the validity of the IDOC type:
    u2022 From transaction WE30 or WEDI go to Development -> IDOC types.
    u2022 Enter ZDEBMASX for Object name.
    u2022 Click on Extension Type.
    u2022 From the Development Object menu select Check.
    u2022 Repeat the operation for IDOC type ZDEBMASZ.

  • Create complex custom component

    Hi everyone!
    I'm trying to create my own custom component in JSF. However I have several questions :
    - It is not mandatory to create a renderer class, right ? the component can draw itself ?
    - How can I create a custom component which would have several "values" inside ? for example let us supppose I want to create a custom JSF component to enter a IBAN. The IBAN is divided into several parts : BBAN, country code, key, Bank adresse,... but any tutorial I've found explain how to create a input component with only one simple value (for example the classical "CreditCardInputComponent").
    Josselin

    Hi,
    did you find a solution for your "composite" component problem?
    I am also trying to create a custom component that contains several standard jsf components such as HtmlCommandLink and HtmlInputText.
    I build all the standard components within my component programmatically using things like:
    HtmlCommandLink link = (HtmlCommandLink) application.createComponent(HtmlCommandLink.COMPONENT_TYPE);
    Also at the beginning of the encodeBegin I clear all children from my custom component using getChildren().clear()
    and rerender the component based on my new internal model which I updated during the previous decoding of my component.
    As a simple jsf custom tag it works ok, however, I am facing deep problems with action events as soon as I use the component within a jsf HtmlDataTable tag.
    Am I missing something here?
    Any ideas? Help is really really appreciated. This different behavior in different contexts is slowly but constantly driving me nuts.
    cheers
    hans

  • Create custom declarative component like container

    Hi all,
    I'm using Jdev 12c.
    I wanna create a custom declarative component like this:
    container.jsf :
    <af:panelGroupLayout id="#{attrs.Name}_VIEWPORT" layout="scroll" binding="#{attrs.Binding}"
                             inlineStyle="position:absolute;width:#{attrs.ViewportWidth}px;height:#{attrs.ViewportHeight}px;top:#{attrs.ViewportY}px;left:#{attrs.ViewportX}px;border:1px solid;background:#c6c6ff;z-index:#{attrs.ZIndex};">
            <af:panelGroupLayout id="#{attrs.Name}" layout="scroll"
                                 inlineStyle="position:absolute;width:#{attrs.Width}px;height:#{attrs.Height}px;">
            </af:panelGroupLayout>
        </af:panelGroupLayout>
    <af:xmlContent>
            <afc:component>
                <afc:description/>
    </af:xmlContent>
    I use this custom component to group some child components like this:
    <abc:container ...>
         <af:inputText ... />
         <af:inputText ... />
    </abc:container>
    But the things is in Java code, I cannot get RichInputText components :
    this is my function:
        private void getFacetAndChild(UIComponent parent) {
            Iterator childrens = parent.getFacetsAndChildren();
            while (childrens.hasNext()) {
                UIComponent child = (UIComponent)childrens.next();
                System.out.println("Log child >> " + child);
                getFacetAndChild(child);
    this function only print the second RichPanelGroupLayout.
    Any ideas to help me to get all RichInputText ?
    Thanks and Best Regards!

    Hi All,
    I found the solution. Just add one facet to Custom Container
    <af:panelGroupLayout id="#{attrs.Name}_VIEWPORT" layout="scroll" binding="#{attrs.Binding}" 
                             inlineStyle="position:absolute;width:#{attrs.ViewportWidth}px;height:#{attrs.ViewportHeight}px;top:#{attrs.ViewportY}px;left:#{attrs.ViewportX}px;border:1px solid;background:#c6c6ff;z-index:#{attrs.ZIndex};"> 
            <af:panelGroupLayout id="#{attrs.Name}" layout="scroll" 
                                 inlineStyle="position:absolute;width:#{attrs.Width}px;height:#{attrs.Height}px;"> 
                           <af:facetRef facetName="child"/>
            </af:panelGroupLayout> 
        </af:panelGroupLayout> 
    <af:xmlContent> 
            <afc:component> 
                <afc:description/> 
    </af:xmlContent> 
    And the used page:
    <abc:container ...>
         <f:facet name="child">
              <af:inputText ... />
              <af:inputText ... />
         </f:facet>
    </abc:container>
    Maybe this solution will help others to create a custom container
    Thanks and Best Regards!

  • Steps to create BAPI

    could anyone tell me the exact steps to create a custom BAPI?
    (any example will be appreciated).
    thanks in advance
    nikhil

    Hi,
    BAPI stands for Business Application Programming Interface.
    There are 5 different steps in BAPI.
    Create BAPI Structure
    Create BAPI Function Module or API Method.
    Create BAPI object
    Release BAPI Function Module.
    Release BAPI object.
    Step1. Creating BAPI Structure:
    Go to <SE11>.
    Select Data Type & Enter a name.
    Click on Create.
    Note: Always BAPI should be in a development class with request number (Not Local Object).
    Select Structure & hit ENTER.
    Enter the fields from your database. Make sure that the first field is the Primary Key Field.
    Then SAVE & ACTIVATE.
    Step 2. Creating BAPI module:
    Enter TR.CODE <SE37>.
    Before entering any thing, from the present screen that you are in, select the menu
    Goto -> Function Groups -> Create Group.
    Enter a name (Note: This name Must start with ZBAPI)
    Let this screen be as it is and open another window and there, enter TR.CODE <SE80).
    Click on the Third ICON that says Inactive Objects.
    Select the group that you just created and click on Activate.
    Notice that the group you created will disappear from the list of inactive objects.
    Go back to ><SE37> screen and enter a name and hit <ENTER>. Then enter the group name that you just created and activated.
    NOTE: When you release a function module the respective group will be attached to that particular application. It cannot be used for any other application. NEVER include an already existing group that is attached to another module.
    Now click on the first Tab that says ATTRIBUTES and select the radio button that says remote-enabled module since we will be accessing this from any external system.
    Then click on the second tab that says IMPORT.
    Enter a PARAMETER NAME, TYPE and the structure you created in the first step. Also select the check box ‘Pa’. All remotely enabled functional modules MUST be Pa enabled, where Pa means ‘Passed by Value’ and if you don’t select ‘Pa’, then that means it will be passed by reference..
    Then click on tab that says EXPORT.
    Enter the following as is in the first three fields
    RETURN TYPE BAPIRETURN (These 3 field values are always same)
    Here also select ‘Pa’ meaning Pass by value.
    Note: BAPIRETURN contains structure with message fields.
    Then SAVE and ACTIVATE.
    Step 3. Creating BAPI object:
    Enter Tr.Code <SWO1> (Note. It is letter ‘O’ and not Zero).
    Enter a name and then click on create. Enter details.
    NOTE: Make sure that that Object Type and Program name are SAME.
    Enter Application ‘M’, if you are using standard table Mara. If you are using your own database then select ‘Z’ at the bottom.
    Then hit <ENTER>.
    Now we have to add ‘Methods’. High light METHODS and then select the following from the menu:
    Goto Utilities -> API Methods -> Add Methods.
    Enter function Module name and hit <ENTER>.
    Select the second FORWARD ARROW button (>)to go to next step.
    Check if every thing looks ok and again click on FORWARD ARROW button (>).
    Then select ‘YES’ and click on <SAVE>.
    Now on a different screen goto TR.CODE <SE37>. Enter Function Module name and select from the top menu Function Module -> Release -> Release.
    Goback to TR.CODE <SWO1>.
    Here select the menu combination shown below in the same order.
    Edit -> Change Release Status -> Object Type Component -> To Implemented.
    Edit -> Change Release Status -> Object Type Component -> To Released.
    Edit -> Change Release Status -> Object Type -> To Implemented.
    Edit -> Change Release Status -> Object Type -> To Released.
    Then click on <SAVE>.
    Then click on Generate Button (4th button from left hand side looks like spinning wheel).
    Then Click on the button that says ‘PROGRAM’ to see the source code.
    To check if this is present in work flow goto TR.CODE <BAPI>.
    Here it shows business object repository.
    First click on the middle button and then select “ALL” and hit ENTER.
    Goto tab ALPHABETICAL and look for the object that you created. This shows that the BAPI object has been created successfully.
                or
    1. Go to transaction SWO1. Enter object interface type. Eg.(ZOBJ)
    2.Change the object type release status to implemented and save the object type.
    3. Using Z_BAPI (created from SE37) create an API method in the new object type.
    4. In the created BOR object ZOBJ, create a new method using the function module template.
    5. Input as function module name Z_BAPI.
    6.Check the Instance Independent checkbox and click on the next button to continue.
    7. On the parameters screen validate whether all the needed parameters are present and click on next.
    8. Click Yes on the Extend program dialog to generate the call in the new method.
    9. Change the release status of the object type to “To released”
    10. Change also the release status of the method type to “To released”
    11. Double-click on the new method ZBAPI and go to the tab ABAP and change the ABAP type from Function Module to API method.
    12. Finally click on Generate button to generate the object interface and save the object type.
    Hope it somehow gets you an idea how to implement a BAPI based on a FM created in SE37.
    Check the below link..
    http://www.sap-img.com/abap/bapi-step-by-step-guidance.htm
    http://www.erpgenie.com/abap/bapi/example.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://www.allsaplinks.com/bapi_example.html
    Reward if helpful.
    Regards,
    Harini.S

  • Custom List component in Flash builder 4.5

    Hi,
    Am new to Flash builder 4.5. I want to create a custom list component. In that i have some queries.
    They are,
    1. What are the basic procedures/steps to be followed for Component development in Flash builder 4.5
    2. What are the approaches to the component development in Fladh builder 4.5?
    3. Is there any reference sutes available?
    Thanks,
    Manikandan

    http://www.adobe.com/devnet/flex/videotraining/exercises/ex1_06.html
    you could also search blogs for custom component creation. There might be many implementations for your learning/usage.

  • Unable to add the Custom Pipeline component in to the Visual Studio Tool Box

    I have tried to create the custom Pipeline component to transfer the large message in Receive side,
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Xml;
    using System.IO;
    using Microsoft.BizTalk.Message.Interop;
    using Microsoft.BizTalk.Component.Interop;
    namespace Sample.LargeFilesDecoder
    [ComponentCategory(CategoryTypes.CATID_PipelineComponent)]
    [ComponentCategory(CategoryTypes.CATID_Encoder)]
    [System.Runtime.InteropServices.Guid("25984614-BCFD-4c47-82FC-4A2300B76411")]
    public class LargeFilesDecoder : IBaseComponent,
    IComponentUI,
    IComponent,
    IPersistPropertyBag
    #region IBaseComponent Members
    public string Description
    get
    return "Pipeline component used to receive Larger Files through SFTP Ports";
    public string Name
    get
    return "LargeFilesDecoder";
    public string Version
    get
    return "1.0.0.0";
    #endregion
    #region IComponentUI Members
    public IntPtr Icon
    get
    return new System.IntPtr();
    public System.Collections.IEnumerator Validate(object projectSystem)
    return null;
    #endregion
    #region IPersistPropertyBag Members
    private string _largeFileLocation;
    private int _thresholdSize;
    public string LargeFileLocation
    get { return _largeFileLocation; }
    set { _largeFileLocation = value; }
    public int ThresholdSize
    get { return _thresholdSize; }
    set { _thresholdSize = value; }
    public void GetClassID(out Guid classID)
    classID = new Guid("DBA77DFA-5D3E-4B85-8F78-1D6330B6BCA0");
    public void InitNew()
    public void Load(IPropertyBag propertyBag, int errorLog)
    object val1 = null;
    object val2 = null;
    try
    propertyBag.Read("LargeFileLocation", out val1, 0);
    propertyBag.Read("ThresholdSize", out val2, 0);
    catch (ArgumentException)
    catch (Exception ex)
    throw new ApplicationException("Error reading PropertyBag: " + ex.Message);
    if (val1 != null)
    _largeFileLocation = (string)val1;
    if (val2 != null)
    _thresholdSize = (int)val2;
    public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties)
    object val1 = (object)_largeFileLocation;
    propertyBag.Write("LargeFileLocation", ref val1);
    object val2 = (object)_thresholdSize;
    propertyBag.Write("ThresholdSize", ref val2);
    #endregion
    #region IComponent Member
    public IBaseMessage Execute(IPipelineContext pContext, IBaseMessage pInMsg)
    if (_largeFileLocation == null || _largeFileLocation.Length == 0)
    _largeFileLocation = Path.GetTempPath();
    if (_thresholdSize == null || _thresholdSize == 0)
    _thresholdSize = 4096;
    if (pInMsg.BodyPart.GetOriginalDataStream().Length > _thresholdSize)
    Stream originalStream = pInMsg.BodyPart.GetOriginalDataStream();
    string largeFilePath = _largeFileLocation + pInMsg.MessageID.ToString() + ".msg";
    FileStream fs = new FileStream(largeFilePath, FileMode.Create);
    // Write message to disk
    byte[] buffer = new byte[1];
    int bytesRead = originalStream.Read(buffer, 0, buffer.Length);
    while (bytesRead != 0)
    fs.Flush();
    fs.Write(buffer, 0, buffer.Length);
    bytesRead = originalStream.Read(buffer, 0, buffer.Length);
    fs.Flush();
    fs.Close();
    // Create a small xml file
    string xmlInfo = "<MsgInfo xmlns='http://Sample.LargeFilesDecoder'><LargeFilePath>" + largeFilePath + "</LargeFilePath></MsgInfo>";
    byte[] byteArray = System.Text.Encoding.UTF8.GetBytes(xmlInfo);
    MemoryStream ms = new MemoryStream(byteArray);
    pInMsg.BodyPart.Data = ms;
    return pInMsg;
    #endregion
    I have
    Added .dll file in to the Global Assembly Cache (use gacutil)
    Copied it the Pipeline Components folder (E:\Program Files (x86)\Microsoft BizTalk Server 2013\Pipeline Components)
    Everything was successful, when I try to add the component to the Toolbox I get the message like below and cannot find the component in Toolbox.
    Tried several times but still getting stuck in the same place. I am using Visual Studio 2013. Any help is greatly appreciated.

    Do not put the Assembly in the %\Pipeline Components folder.  Pipeline Component Assemblies should be in the GAC only.
    To correctly deploy a custom Pipeline Component, you can follow the steps in this Wiki Article:
    http://social.technet.microsoft.com/wiki/contents/articles/26404.biztalk-deploying-custom-pipeline-components-in-biztalk-server-2006-and-higher.aspx
    I have never seen that specific error before.  Are you sure you're browsing from the Pipeline Components tab?

  • Main Custom window

    What's the best way to have a Custom window component for your main app window in AIR (built in Flex)? Is it within the mxml, or created dynamically, if so as a NativeWindow?
    Thanks

    1. "org.eclipse.core.runtime.products" extension point can help u to branding your product.
    2. u need to modify the config.ini file in the configuration directory to let the eclipse know that
    u want to start your own product.
    3. I think u want this: after eclipse started, choose "perspective A" then window image
    shows up with a.gif. and choose "perspective B" shows b.gif. If u want this, I dont know how.
    If u figure it out, plz post a solution here,

  • How to create new Custom XML Report without using Form Builder

    Hi,
    What are the steps to create new Custom XML Report without using Report Builder ?
    Thanks and Regards,
    Abhi

    Hi,
    Steps we now follow
    1)Create Data Model in Reports Builder
    2)Create xml
    3)Insert xml in Publisher to build Fomat
    4)FTp rdf
    5)Create Data Definition and Template
    6)Create executable and Concurrent Program
    Is there any way we can build reports without use of Report Builder ? By writing PL SQL Package for Before Report and After Report etc ...
    Thanks and Regards,
    Abhijit Rode

  • "An unexpected error occurred while creating a custom installer."

    All;
    I—and I've seen several others in older posts—have been reported received the error "An unexpected error occurred while creating a custom installer" while attampting to build a customer ARD client installer.  My guess is that this is do to a issue related to 10.8.X (10.8.4, in my case) based console Mac but I cannot confirm this. I have verified that there are no outstanding OS, client or application updates or hot fixes, as well.
    Has anyone built an successful installer from Mountain Lion-installed Mac?  Is there any know workarounds?
    Thanks in advance, for any help. 

    Have the exact same problem.
    iMac running 10.8.4
    Got through the steps of creating a custom client installer.
    if I choose not to customize and just save an installer I don't get the error but it creates a file of Zero bytes in size.
    If I chose to configure, when I try to save I get:
    An unexpected error occurred while creating a custom installer. Please try again....
    Console log reports:
    9/1/13 12:32:29.603 AM Remote Desktop[1306]: open on /private/tmp/RemoteDesktopClientInstaller_HEATyAJ5CR/extracted/RemoteDesktopCli ent.pkg/Scripts/RemoteDesktopClient.pkg: No such file or directory
    I have tried to save this in several location, with no effect on the error or the information logged, with the exception of the name of the temp directory that DOES contains the file (zero bytes):
    RemoteDesktopClient.pkg
    Need help with this someone...!
    APPLE...I JUST purchase this Applciation for $80.....it just flat out does not work....

Maybe you are looking for

  • How to know 'parent-child relationship' of equipments

    Hello experts, I am currently having a problem here. How can I know if a certain equipment has a child/subordinate equipemt under it? for example, I typed in the value 000000345534 for the 'ILOAN' field in EQUZ table to get it's EQUNR and HEQUI. Now,

  • What are some cool ways to use my iPhone 5 with my MacBook Pro ?

    I just bought a new MacBook Pro and was wondering what types of cool ways I could use my iPhone 5 with my new Mac.

  • How to write this sql code ?

    for example below shows: create table temp order_type varchar2(30), order_num number); insert into temp values('apple',000001); insert into temp values('banana',000002); insert into temp values('chair',000003); select * from temp where instr(order_ty

  • ActiveX with LabView error 0x80070002

    trying to use LabView to control another program which has a COM interface.  I can select the Interface from the Ref control and I can see the methods associated with it but the Invoke call always returns an error and the errors are different. 0x8007

  • Error 50 in iTunes 9.0.2

    For the past several days I am unable to access the iTunes store from iTunes. As soon as I start iTunes and click on the iTunes store link on the left, I get a "One Moment Please, Connecting to the iTunes Store...Loading" and it just sits there. If I