Steps before creating aggregates

Hi GURUS
I got an requirement for creation of aggregates for a customized cube.Need to know what are the considerations need to take before creating aggregates.
Thanks

Hi,
If you  want to creat aggregates based in system proposal be sure that you are gathering statistical information for your infoprovider.
aggregates:
[http://help.sap.com/saphelp_nw04/helpdata/en/7d/eb683cc5e8ca68e10000000a114084/frameset.htm]
Bw statistics:
[http://help.sap.com/saphelp_nw04/helpdata/en/72/e91c3b85e6e939e10000000a11402f/frameset.htm]
regards

Similar Messages

  • Calculate PSAPTEMP size before creating aggregate?

    Hi Experts,
    While i am creating aggregate job is ended with error.
    SQL Error: 12801
    I checked in SM21 and meaning of error is "Overflow of database objects " so while creating aggregate PSAPTEMP become overflow.
    My question is how much exact size it requires while creating aggregate, now we our PSAPTEMP table space size is 10 GB.
    How to calculate the required size to increase PSAPTEMP tablespace?
    Thanks &&& Regrs,
    KD.

    hi,
    PSAPTEMP is primarily used  temporarily to store results of the aggregation and final data is typically stored in a user tablespace. So if your PSAPTEMP tablespace is too small you can only increase its size.
    i think that will solve your purpose
    Also, there can be a scenario when are unable to do the same, so you need to rearrange your aggregates.
    In that case the aggregates will be activated. First the aggregates with more data  and then with less data
    generally PSAPTEMP tablespace should be at least twice as large as the largest index.
    please refer SAP Note 659946 and 600513 for more details
    regards
    laksh.

  • Errors when Creating Aggregate Tables in OBIEE 11.1.1.6 within SQL server

    Hi All,
    I was trying to create an aggregate table in OBIEE 11.1.1.6 within SQL Server. The sql was generated successfully as below. But an error occurred when I use NQCMD to execute the sql and the following error showed:
    1. SQL for creating Aggregate Table:
    create aggregates
    "ag_Measure"
    for "ASOBI_DTT_Demo"."Measure"("ValidVIPCnt")
    at levels ("ASOBI_DTT_Demo"."日期"."月", "ASOBI_DTT_Demo"."門市品牌"."門市品牌", "ASOBI_DTT_Demo"."門市類別"."門市類別", "ASOBI_DTT_Demo"."內創門市"."內創門市", "ASOBI_DTT_Demo"."門市/倉庫"."門市/倉庫", "ASOBI_DTT_Demo"."門市群組"."門市群組", "ASOBI_DTT_Demo"."門市行政區課"."行政區", "ASOBI_DTT_Demo"."門市地區"."城市")
    using connection pool "ASOBI_DTT_Demo"."ASOBI_System10"
    in "ASOBI_DTT_Demo"."ASOBI"."dbo";
    2. Error Message:
    "ag_Measure"
    for "ASOBI_DTT_Demo"."Measure"("ValidVIPCnt")
    at levels ("ASOBI_DTT_Demo"."日期"."月", "ASOBI_DTT_Demo"."門市品牌"."門市品牌"
    , "ASOBI_DTT_Demo"."門市類別"."門市類別", "ASOBI_DTT_Demo"."內創門市"."內創門市"
    , "ASOBI_DTT_Demo"."門市/倉庫"."門市/倉庫", "ASOBI_DTT_Demo"."門市群組"."門市群
    組", "ASOBI_DTT_Demo"."門市行政區課"."行政區", "ASOBI_DTT_Demo"."門市地區"."城市
    using connection pool "ASOBI_DTT_Demo"."ASOBI_System10"
    in "ASOBI_DTT_Demo"."ASOBI"."dbo"
    [343][State: 37000] [Microsoft][SQL Server Native Client 10.0][SQL Server]CREATE
    、DROP or ALTER 陳述式中使用未知的物件類型 'aggregates'。
    Statement execute failed
    Which means "Using unknown object type 'aggregates' in CREATE. DROP or ALTER statements" in English.
    Can anyone give me a suggestion for this error?? Many thanks!!!

    Hi Martin,
    I guess, I was not clear enough. Let me try again
    How Aggregate Persistence works in OBIEE?
    Once you are done choosing options in the Aggregate Persistence wizard, it generates an intelligent Query.
    What query is it?
    If you happen to understand the query, it is not like any ANSI standard SQL (I would say DDL) query. As you might have noticed there are no SQL Server datatypes, lengths, keys, constraints etc. This query can only be understood by the BI Server.
    How do I issue this query?
    Since the logical query could only be understood by BI Server, it has to be issued only to BI Server Engine using some tool viz NQCMD in this case.
    What does issuing this query using NQCMD do?
    The execution steps are as follows, the moment the query is issue via NQCMD
    Aggregate Persistent Wiz Generate Query ----- Issued to ---> NQCMD ----- Passes the logical query to ---> BI Server ----- Parses the query ---> Builds the corresponding physical DDL statements Issued --->To the Database --- If successful ---> .RPD is automatically updated with the aggregated sources etc.
    How do I pass the query to BI Server using NQCMD?
    The format of issuing this logical query to BI Server using NQCMD is
    nqcmd -d <Data Source Name> -u <Analytics UserId> -p <Password> -s <command> > output.log
    where
    <Data Source Name> : Is the DSN name which OBIPS uses to talk to Oracle BI Server. Yes, it's the very same DSN that can be found in InstanceConfig.xml
    <Analytics UserID> : Any user in obiee with admin privileges.
    <Password> : Password of the obiee UserId
    <Command> : Logical SQL Command which you already have handy.
    Hope I was good this time..
    Dhar

  • Steps to create tabstrip for subscreen in selection screen

    hi,
    can let me know the steps taken to create subscreen in selection screen and put in tabstrip?
    i need to have 3 screens. 1000 being the tabstrip, 2000 being first subscreen and 3000 being the second subscreen.
    i have the abap code but i do not know the steps to create especially 1000 screen.
    for 2000 and 3000, once i activated the program, these 2 screens added but i do not know where can i create the 1000 screen.
    also, should i use wizard to create tabstrip?
    please advise. thanks
    SELECTION-SCREEN BEGIN OF SCREEN 2000 AS SUBSCREEN.        SELECTION-SCREEN BEGIN OF BLOCK x WITH FRAME TITLE text-001.
    SELECT-OPTIONS: para1 FOR  field1 ,     
                                  para2 FOR field2.            
    SELECTION-SCREEN END OF BLOCK x.
    SELECTION-SCREEN END OF SCREEN 2000.
    SELECTION-SCREEN BEGIN OF SCREEN 3000 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK y WITH FRAME TITLE text-002.
    SELECT-OPTIONS: para3 FOR  field3 ,     
                                  para4 FOR field4.      
    SELECTION-SCREEN END OF BLOCK y.
    SELECTION-SCREEN:SKIP.
    SELECTION-SCREEN END OF SCREEN 3000.

    e_l,
      See the total doc.. with example.
    Assigning a Subscreen Area to a Tab Title
    You must assign a subscreen area to each tab title. There are two ways of doing this:
    Paging in the SAPgui
    You need to assign a separate subscreen area to each tab title, and define the function codes of the tab titles with type P (local GUI function). In the screen flow logic, you call all the subscreens in the PBO event. This means that all of the tab pages reside locally on the SAPgui.
    When the user chooses a tab title, paging takes place within the SAPgui. In this respect, the tabstrip control behaves like a single screen. In particular, the PAI event is not triggered when the user chooses a tab title, and no data is transported. While this improves the performance of your tabstrip control, it also has the negative effect that when the user does trigger the PAI event, all of the input checks for all of the subscreens are performed. This means that when the user is working on one tab page, the input checks may jump to an unfilled mandatory field on another page.
    Local paging at the SAPgui is therefore most appropriate for screens that display data rather than for input screens.
    Paging on the Application Server
    One subscreen area is shared by all tab titles and called in the PBO event. You define the function codes of the individual tab titles without a special function type. When the user chooses a tab page, the PAI event is triggered, and you must include a module in your flow logic that activates the appropriate tab page and assigns the correct subscreen to the subscreen area.
    Since the PAI event is triggered each time the user chooses a tab title, this method is less economical for the application server, but the input checks that are performed only affect the current tab page.
    Procedure in Either Case
    You create the subscreen areas within the tabstrip area. You assign the subscreen areas to one or more tab titles in the Screen Painter by selecting one or more titles. You can also assign a subscreen area to a tab title in the tab title attributes by entering the name of the subscreen area in the Reference field attribute.
    The procedure for the alphanumeric Screen Painter is described under Creating Tabstrip Controls.
    If you are paging at the SAPgui, create a subscreen area for each tab title. If you are paging at the application server, select all tab titles and create a single subscreen area. The subscreen areas may not cover the top line of the tab area. However, within a tab area, more than one subscreen area can overlap.
    Programming the Flow Logic
    In the flow logic, all you have to do by hand is include the correct subscreens. The screen flow and data transport to the ABAP program is the same as for normal subscreens. There are two ways of programming the screen flow logic, depending on how you have decided to page through the tabstrip control.
    Paging in the SAPgui
    When you page in the SAPgui, you must include a subscreen for each subscreen area:
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN: <area1> INCLUDING [<prog 1>] <dynp 1>,
                      <area2> INCLUDING [<prog 2>] <dynp 2>,
                      <area3> INCLUDING [<prog 3>] <dynp 3>,
    PROCESS AFTER INPUT.
      CALL SUBSCREEN: <area1>,
                      <area2>,
                      <area3>,
    Paging on the Application Server
    When you page on the application server, you only have to include a subscreen for the one subscreen area:
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN <area> INCLUDING [<prog>] <dynp>.
    PROCESS AFTER INPUT.
      CALL SUBSCREEN <area>.
    Handling in the ABAP Program
    Before you can use a tabstrip control in your ABAP program, you must create a control for each control in the declaration part of your program using the following statement:
    CONTROLS <ctrl> TYPE TABSTRIP.
    where <ctrl> is the name of the tabstrip area on a screen in the ABAP program. The control allows the ABAP program to work with the tabstrip control. The statement declares a structure with the name <ctrl> . The only component of this structure that you need in your program is called ACTIVETAB.
    Use in the PBO event
    Before the screen is displayed, you use the control to set the tab page that is currently active. To do this, assign the function code of the corresponding tab title to the component ACTIVETAB:
    <ctrl>-ACTIVETAB = <fcode>.
    When you page at the SAPgui, you only need to do this once before the screen is displayed. This initializes the tabstrip control. The default active tab page is the first page. After this, the page activated when the user chooses a tab title is set within SAPgui.
    When you page on the application server, you must assign the active page both before the screen is displayed for the first time, and each time the user pages. At the same time, you must set the required subscreen screen.
    You can suppress a tab page dynamically by setting the ACTIVE field of table SCREEN to 0 for the corresponding tab title.
    Use in the PAI event
    In the PAI event, ACTIVETAB contains the function code of the last active tab title on the screen.
    When you page in the SAPgui, this allows you to find out the page that the user can currently see. When you page at the application server, the active tab page is controlled by the ABAP program anyway.
    The OK_CODE field behaves differently according to the paging method:
    Paging in the SAPgui
    When you page in the SAPgui, the PAI event is not triggered when the user chooses a tab title, and the OK_CODE field is not filled. The OK_CODE field is only filled by user actions in the GUI status or when the user chooses a pushbutton either outside the tabstrip control or on one of the subscreens.
    Paging on the application server
    If you are paging at the application server, the PAI event is triggered when the user chooses a tab title, and the OK_CODE field is filled with the corresponding function code.
    To page through the tabstrip control, you must assign the function code to the ACTIVETAB component of the control:
    <ctrl>-ACTIVETAB = <ok_code>.
    This statement overwrites the function code of the last active tab page with that of the new tab title. At the same time, you must ensure that the correct subscreen is inserted in the subscreen area.
    Otherwise, tabstrip controls are handled like normal subscrens in ABAP programs, that is, the ABAP program of a subscreen screen must contain the dialog modules called from the flow logic of the subscreen.
    Examples
    Tabstrip control, paging at SAPgui
    REPORT DEMO_DYNPRO_TABSTRIP_LOCAL.
    CONTROLS MYTABSTRIP TYPE TABSTRIP.
    DATA: OK_CODE TYPE SY-UCOMM,
          SAVE_OK TYPE SY-UCOMM.
    MYTABSTRIP-ACTIVETAB = 'PUSH2'.
    CALL SCREEN 100.
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE CANCEL INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE USER_COMMAND INPUT.
      SAVE_OK = OK_CODE.
      CLEAR OK_CODE.
      IF SAVE_OK = 'OK'.
        MESSAGE I888(SABAPDOCU) WITH 'MYTABSTRIP-ACTIVETAB ='
                                      MYTABSTRIP-ACTIVETAB.
      ENDIF.
    ENDMODULE.
    The next screen (statically defined) for screen 100 is itself. It has the following layout:
    The screen contains a tabstrip area called MYTABSTRIP with three tab titles PUSH1, PUSH2 and PUSH3. The function codes have the same name, and all have the function type P. One of the subscreen areas SUB1 to SUB3 is assigned to each tab title. The pushbutton has the name BUTTON and the function code ‘OK’.
    In the same ABAP program, there are three subscreen screens 110 to 130. Each of these fits the subscreen area exactly. The layout is:
    The screen flow logic for screen 100 is as follows:
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0100.
      CALL SUBSCREEN: SUB1 INCLUDING SY-REPID '0110',
                      SUB2 INCLUDING SY-REPID '0120',
                      SUB3 INCLUDING SY-REPID '0130'.
    PROCESS AFTER INPUT.
      MODULE CANCEL AT EXIT-COMMAND.
      CALL SUBSCREEN: SUB1,
                      SUB2,
                      SUB3.
      MODULE USER_COMMAND.
    The screen flow logic of subscreens 110 to 130 does not contain any module calls.
    When you run the program, a screen appears on which the second tab page is active, since the program sets the ACTIVETAB component of the structure MYTABSTRIP to PUSH2 before the screen is displayed. The user can page through the tabstrip control without the PAI event being triggered. One of the three subscreens is included on each tab page.
    When the user chooses Continue, the PAI event is triggered, and an information message displays the function code of the tab title of the page that is currently active.
    Tabstrip control with paging on the application server.
    REPORT DEMO_DYNPRO_TABSTRIP_LOCAL.
    CONTROLS MYTABSTRIP TYPE TABSTRIP.
    DATA: OK_CODE TYPE SY-UCOMM,
          SAVE_OK TYPE SY-UCOMM.
    DATA  NUMBER TYPE SY-DYNNR.
    MYTABSTRIP-ACTIVETAB = 'PUSH2'.
    NUMBER = '0120'.
    CALL SCREEN 100.
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE CANCEL INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE USER_COMMAND INPUT.
      SAVE_OK = OK_CODE.
      CLEAR OK_CODE.
      IF SAVE_OK = 'OK'.
        MESSAGE I888(SABAPDOCU) WITH 'MYTABSTRIP-ACTIVETAB ='
                                      MYTABSTRIP-ACTIVETAB.
      ELSE.
        MYTABSTRIP-ACTIVETAB = SAVE_OK.
        CASE SAVE_OK.
          WHEN 'PUSH1'.
            NUMBER = '0110'.
          WHEN 'PUSH2'.
            NUMBER = '0120'.
          WHEN 'PUSH3'.
            NUMBER = '0130'.
        ENDCASE.
      ENDIF.
    ENDMODULE.
    The statically-defined next screen for screen 100 is itself, and its layout is the same as in the above example. However, the function codes of the three tab titles have the function type <blank> and they all share a single subscreen area SUB.
    The same subscreen screens 110 to 130 are defined as in the last example.
    The screen flow logic for screen 100 is as follows:
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0100.
      CALL SUBSCREEN SUB INCLUDING SY-REPID NUMBER.
    PROCESS AFTER INPUT.
      MODULE CANCEL AT EXIT-COMMAND.
      CALL SUBSCREEN SUB.
      MODULE USER_COMMAND.
    In this example, the program includes a subscreen screen in the subscreen area SUB dynamically during the PBO event.
    The screen flow logic of subscreens 110 to 130 does not contain any module calls.
    This example has the same function as the previous example, but the paging within the tabstrip control is implemented on the application server. Each time the user chooses a tab title, the function code from the OK_CODE field is assigned to the ACTIVETAB component of structure MYTABSTRIP. At the same time, the variable NUMBER is filled with the screen number of the subscreen that has to be displayed in the subscreen area SUB of the tabstrip control
    Pls. reward if useful

  • Steps to create ess/mss applications in hr abap

    Hi guys,
    Could you please let me know the steps to create ess and mss applications in HR ABAP.
    I want some tutorial with detailed steps of creating these applications.
    Thanks
    Aditya
    Moderator message - Please search before asing and then ask a specific question - post locked
    Edited by: Rob Burbank on Jun 19, 2009 11:51 AM

    HR Renewal 2.0 FP1 Available
    Employee Self-Service (SAPUI5) - SAP Library
    Employee Self-Service on SAPUI5 (New)- HCM_ESS_UI5_1/EHP7

  • Steps to create an error DTP

    Hello,
    What are the precise steps to create an error DTP?
    I tried this by going to my DTP > Update tab > click on button "Creating Error DTPs" > provide package and transport number
    BUT, I get error:
    "Invalid call sequence for interfaces when recording changes"
    Message no. TK425
    Diagnosis
    The function you selected uses interfaces to record changes made to your objects in requests and tasks.
    Before you save the changes, a check needs to be carried out to establish whether the objects may be changed. This check must be performed before you begin to make changes.
    System Response
    The function terminates.
    Procedure
    The function you have used must correct the two Transport Organizer interfaces required. Contact your system administrator
    I have BI 7.0, SP 7
    Thank you.
    Mario

    Hi ,
    Pls check this blog on 'Error DTP' - BI@2004s
    /people/kamaljeet.kharbanda/blog/2006/12/07/error-dtp--bi2004s
    Hope this helps,
    regards
    CSM Reddy

  • Steps to create a SOLMAN key for NW2004s installation in AIX Machine

    I have installed a  SOLMAN in a Windows system
    I need to install SAP NW200s in a AIX Machine.
    Pls let me know the steps to create SOLMAN key for the installation.

    Hi Balaji,
    Before doing the steps said by Kanthi, you have register that system. Please follow the steps to do:
    SMSY>Server>Create new system with assistant
    Here you have to specify the details like System ID, Instance number etc.,
    Then follow the steps:
    System Landscape>other object>Specify the System ID(Which you have registered as i said in the provious step)-->select the generate key icon.
    Hope it is helpful for you!!
    Thanks & Regards,
    Santhosh P

  • Creating aggregate tables

    Hi gurus,
    I have problem with creating aggregate tables. I use Oracle business intelligence 11g R1 cookbook book for help but I think author forget some important things and I can't create it.
    I have fact table and dimension (fact_table, group_product_dim). I summery them and now I got  fact aggregate table and  aggregate dimension  (fact_table_agg, group_product_dim_agg):
    summary:
    fact_table
    fact_table_agg
    group_product_dim
    group_product_dim_agg
    After I create physical diagram for base and aggregate combination in physical layer.
    Now I need to move this tables in BMM. Which combination I need to bring in BMM layer? Both, basic combination or aggregate combination?
    I move basic combination (fact_table, group_product_dim) and try two add two logical table source in dimension group_product_dim. Create a new logical table source by right-clicking on the group_product_dim logical
    table and selecting the New Object | Logical Table Source option. This will bring up the new window Logical Table Source.
    I select the physical table by clicking the + sign and select (group_product_dim_agg) the aggregate dimension table. Now I make the column mapping on the Column Mapping tab of the same Logical Table Source. Only few columns are mapped and all the others are unmapped. This is because the aggregate dimension table doesn't store all columns from basic dimension group_product_dim. The last modification I do on the Content tab of the Logical Table Source.
    I need define the levels at which this logical table source can satisfy queries. This step is very important. Making any kind of mistake will cause the BI server to use a wrong logical table source for the queries.
    Here I have a problem because I can't put Logical Level into Aggregation content, group by menu. I can't put anyting else then the default value Column.
    Tnx,
    best regards

    1.) http://www.amazon.com/Oracle-Business-Intelligence-Cookbook-ebook/dp/B00DHCKTXQ/ref=wl_it_dp_o_pC_nS_nC?ie=UTF8&colid=322X8WO18RFEG&coliid=I13QJ38KK8PYTB
    2.)  I create NEW business model in BMM and after drag a fact_table and group_product_dim into it. Do I need drag aggregate objects into New business model, also?
         I don't, I drag only fact_table and group_product_dim and create New Logical Table Source on group_product_dim where I try make new source.
    Can you tell me what I need to do in background? Do I need map columns from dimension to aggregate dimension?

  • Change the Deadline -latest end from step before or other WF

    Hi,
    I have the following situation.
    We create a wait event step with a lasted end calculated previously.
    The problem is that the values for calculate changes after the wait step is created, so we need to change the lasted end too.
    How this lastest end be modified from other step or Workflow?
    Thanks in advance.

    Hi Francisco,
    What is the exact problem
    You have a Wait step with the Latest end - set with reference to the "Work Item" and the Time set as "x" hours or days.
    Now when the workflow reaches the Wait step, u want to change the "x" hours into "y" hours .
    Is this requirement.?
    May b u can try the following
    U can calculate the Latest Time for the Wait step , in a background activity , before the Wait step and then use the calculated value as "Expression" (i.e. calculate "x" from the expression) for Time in Latest end.
    Hope this helps.
    Raj

  • What is Cycle or steps to create Stock transfer between plants.

    What is Cycle or steps to create Stock transfer between plants.
    Reply with T Codes & Justify

    Hello RM
    We can transfer stocks within a company code between 2 plants using 3 methods:
    1) Using single step simple stock transfer (Mvt Type 301).
    2) Using two step stock transfer (Mvt Types 303 and then 305).
    3) Using a stock transport order(STO) again it is based on 2 things:
    a) r u using STO with delivery or
    b) without delivery.
    Though the first two steps are very simple to process but using STO has its own advantages: 1) Quantity in transit can be monitored 2) delivery costs can be entered in the STO.
    First 2 steps (single step and 2 step plant to plant transfer) can be done using MIGO tcode , selecting stock transfer and entering the relevant mvt types.
    would like to tell you about STO as it is an important process.
    STO without delivery, the following functions are provided to support the Internal Stock Transfer without Delivery :
    #Create Stock Transport Order
    #Post goods issue for stock transport order
    #Post goods receipt for stock transport order
    Config Step required before processing above steps:
    Setting Up Stock Transport Order: Purchasing Document Type, the purpose of this activity is to specify which document type is to be used for a certain combination of supplying (issuing) plant and receiving plant.
    Path go to SPRO--MM-Purchasing---PO-Set up STO-----assign doc type, one step procedure, underdelivery tolerances.
    There you have to enter your supplying and receving plant with the Purchasing doc type( UB).
    Now the process:
    1) Receiving plant will create a STO towards issuing plant.
    2) Issuing plant will transfer material from their unrestricted use stock to stokc in transit using mvt type 351.
    3) Receiving plant receives the goods using MIGO mvt type 101.
    Regards
    Yogesh

  • Steps to create OO alv

    Hi
    can any body tell me Steps to create OO alv?
    regards,
    dhananjaa

    hi
    Please serach in SDN before posting.There are lot of threads and wiki pages available.Please check it.
    http://wiki.sdn.sap.com/wiki/display/Snippets/AsimpleprogramonALV+OOPS
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=61243570

  • 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

  • Can't create aggregate device in SL

    Just installed SL and i'm having problems with Audio MIDI Setup, i need to create a new aggregate device to use my mixer etc but when i click the + symbol, the new device will flash in the list and immediately disappear. Is this a bug or am i doing something wrong? This worked fine for me with the same setup in Leopard.

    SOLVED!!!!! I spend about 5 hours one the phone with Cameron at AppleCare as well as some time on my own, and we FINALLY figured it out!
    The important thing is that you can ONLY add aggregate devices from an admin account, but that may not be the only problem. It certainly wasn't in my case. So, here are the steps to follow:
    1. Try adding/removing aggregate devices from an ADMIN account. If this works, you're good. If it doesn't, or if you're already on an admin account, try creating a new admin account.
    2. If even a new admin account doesn't work, REINSTALL SNOW LEOPARD. If you just use the default install, it does an Archive and Install. It only takes about an hour, and you won't even notice OS X has been reinstalled except for the fact you'll have to reinstall the 10.6.1 update and any other misc. updates. Besides, it'll run a lot faster. It's so easy in fact that I'm going to start recommending you reinstall like this every couple months or so just to keep your Mac running in top condition.
    3. NOW try creating aggregate devices from one or more admin account. It should work now. If it doesn't, then you have a different problem and I can't really help you much.
    Hope this helps someone!

  • Before Creating Database

    I'm a beginner in Oracle World so i need more to learn about this world,
    I'm ready to creating the tables in my database but i read some complex articles which talking about Tablespaces,Redo Log Files,Control Files...
    and when i'm ready to create My database i encountered some of these,so i need your help to tell me the steps i need before creating database ,,,
    More thankful for every one can help me...

    I'm a beginner in Oracle World so i need more to learn about this world,There's some useful guidance (from myself amongst others) in Re: I am newbie, please advise..
    Cheers, APC

  • FREE TRIAL ON PAGEMAKER INSTALLED, BUT REQUIRES STUFFIT FOR FINAL STEP.  CAN'T SEEM TO MANAGE THIS STEP. NEED HELP MANAGING THE FINAL STEPS BEFORE PAGEMAKER IS USEABLE.  THANK YOU

    HAVE INSTALLED PAGEMAKER, BUT BECAME CONFUSED WHEN "STUFFIT" SEEMED TO BE REQUIRED FOR NEXT STEP.  NEED HELP IN FINAL STEPS IN DOWNLOADING PAGEMAKER FOR USE.

    >I would like to purchase a new mac with the appropriate operating system that will
    run pagemaker 7.  If not, I understand that my current mac, Mac OS X, version
    10.6.8, processor 2.8 GHz Intel Core i7, Memory 4GB 1067 MHz DDR3 will not support
    either Pagemaker 7 or InDesign.  My question is what package can I purchase that
    will satisfy one or both of these needs?  Thank you for any guidance.
    R_Kelly  created the discussion
    "FREE TRIAL ON PAGEMAKER INSTALLED, BUT REQUIRES STUFFIT FOR FINAL STEP. 
    CAN'T SEEM TO MANAGE THIS STEP. NEED HELP MANAGING THE FINAL STEPS BEFORE PAGEMAKER
    IS USEABLE.  THANK YOU"
    To view the discussion, visit: https://forums.adobe.com/message/6607524#6607524
    >

Maybe you are looking for

  • Can you copy music and apps from one iTunes account to another?

    My nephew got an iPod touch for Christmas and for some reason my husband decided to add it as a new device to my iTunes account and purchased games and music and put these onto the iPod.  So now he has access to my password, etc. What I really want t

  • How do I move iPhoto albums off of my computer?

    I have made some albums in iPhoto that I want to move to an external hard drive. Just the albums, not the whole LIBRARY. However, I cant drag them or do anything with them. I tried copying and pasting the pictures into a new folder on my hard drive.

  • Dowloading tab delimited .txt file

    Hello friends, I am downloading one tab delimited .txt file from internal table using OPEN dataset , READ dataset. But output looks like... 4500603096     20081008[]4500603095     20081003[]4500603087     20080924[]4500603083     20080910[]4500603084

  • Is there any higly  skilled professional or Expert in SAP BI/BW

    My Dear Friends Is there any higly skilled professional or Expert in SAP BI/BW I only see the simple problems & solution with assigned points but not the questions raised to you ppl. Thank you  for not getting the solution of my queries.

  • E7 does not connect to Ovi

    When I try to connect my E7 via USB or Bluetooth to my Windows 7 computer Ovi says connecting but never connects.  I have uninstalled and reinstalled all Nokia software on the computer to no avail,  I can access the mass storage device directly via t