Logic creation to package

I have created a customer logic package, which has mainly  'REC' statement on the basis of calculation specified.
I need to call this logic in package and execute it.
Which process chain needs to be used for this custom package?

Hi,
You need to create a package as follows:
Access BPC excel ->Manage Data -> Maintain Data Management -> Manage Package (Organize List)
In the comanyy folder Select the button Add package - Select the process chain as /CPMB/DEFAULT_FORMULAS
Have a name for your package and make sure the package folder is right. Add the package and save. The package would get added successfully.
Now you need modify the package as that would run the default.lgf script. Go back to the organise package list anb choose the package you have created and right click and modify . Next to the process chain there would be view package  and click and open the advanced script, there you would need to replace the 'DEFAULT.LGF' with your script logic file name.
If you want additionally change the data manager prompts, you need appropriately edit your prompt statement.
Thanks,
Sreeni

Similar Messages

  • What principle of creation of packages?

    Hi!
    What principle of creation of packages in java?
    E.g.
    I hava classes:
    SystemSettings.class
    UserSettings.class
    In this classes I set system and user settings. E.g. user settings are: language, look&feel and so on.
    In what packet I must put this classes?
    com.myproject.options is a good packet?
    Have anywhere documentation of principle of creation of packeges in java?

    Package names usually start with the reversed domain name of the organization that "owns" them. So if your company is acme, and you own the domain acme.com, then your package names would start with com.acme. You'd probably further break them down by product or project. So you might have something like
    com.acme.common
    com.acme.common.net
    com.acme.common.preferences
    and so on for libraries used by all products, and then for your Whiz Bang Gimcrack product, you might have
    com.acme.gimcrack
    com.acme.gimcrack.server
    and so on for the different parts of that product.
    If you're just developing your own private code, then you can just start your package names with your name or whatever is convenient for you.

  • Execute custom script Logic from a package.

    Hye!
    I'm working with 7.0 NW.
    I have a custom scriplogic and I would like to execute it from a  package of Datamanager.
    Is posible?  Could you gime me an example code?.
    Thanks.

    Hi Martin,
    This is feasible.
    Once you have created a script logic, you need to create a process chain and the script logic will be linked with this process chain. Then you need to create the DM and link the process chain with this DM.
    There is one document on SDN "How to Run a Top Down Allocation within BPC NW". Please refer to this. This will take you through the process of linking a script logic to a process chain and then to link the process chain to a DM.
    Hope this helps.

  • Creation of package in 4.6C

    Hi,
    I want to create a package in 4.6C.. Is there any transaction for creating a package, apart from SE80..
    In my requirement, i need to run a BDC for creating a package and for that reason i cannot use SE80.
    Suggest if any other tranx is there.. In ECC 6.0 im using SE21 but that is not applicable in 4.6C..
    Is there any alternate way of creating a package ?
    Thanks
    rohith

    Check this transaction.
    SPAK

  • Creation of package in apps

    I am trying to create package in Apps .. but is giving me error
    PLS-00103: Encountered the symbol ")" when expecting one of the following:
    <an identifier> <a double-quoted delimited-identifier>
    current
    package code is
    CREATE OR REPLACE PACKAGE XXEDPONT_OUT_ASN_PKG AS
    PROCEDURE XXEDPONT_OUT_ASN_PRC();
    END XXEDPONT_OUT_ASN_PKG;
    /*------End of Package Specification----------------------*/
    can any body where i am doing wrong

    Try removing the '()' in the procedure declaration

  • Creation of package structure for ABAP proxy scenario

    Hi All,
    I have a doubt on package structure used for ABAP proxy scenario. What is the specific reason to create a four level package structure? Can some one please explain? Thanks in advance.
    Regards,
    Sudheer.

    Hi Sudheer,
    Can you pls clarify what do you mean by 'four level package structure' ?
    Are you referring to the ABAP structures that get created during creating the proxy by SPROXY transaction ? These structures get automatically created. We simply have to write the code using these structures.
    Or do you mean the 'package' which is mandatory to create a transportable ABAP object ? i.e. transport from Development to Staging and then Production.
    Regards,

  • Creation of Package

    Hi Experts
    Could u please guide me in Creating a Package - What Transport Layer and Package Type stand for?
    What is the difference in the Package Types - like Main Package, Not Main Package, etc?
    Thx
    Santo

    Hello,
             You might be aware of Transportable & Non-Transportable Objects. All the Non-Transportable Objects (Local Objects) are stored in $tmp.
            Now, assigning the Transport Layer identifies the Package whether the Objects are Transportable or non-Transportable. These transport Layers are maintained at the CTS (Change & Transport System).
    Hope it was helpful.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Logic in determining package sequence in maintenance planning

    Hi,
    I have created a performance based strategy, with the package containing 2 cycles and 2 levels of hierarchy.
    cycle 1        500H
    cycle 2      1000H
    So, the package sequence is showing
    500H     1000H      1500H     2000H    2500H etc
    1           2              1            2           1         etc
    When I tested with measuring documents, I noticed that the package due always following the sequence of the cycle 1,2,1,2,1,2, regardless of the the measurement reading. The example I tested with the measuring document is as follows:-
                                                  SAP assigned package due in IP10
    1st measdoc = 600H                1
    2nd measdoc = 1500H              2
    3rd measdoc = 2500H              1
    4th measdoc = 2520H              2
    I thought, based on the packages defined in the strategy, I should be getting the package due as 1,1, 2,1, which is based on the difference between last reading and current reading.
    Can someone shed some light on how SAP determine the Package due ?
    Thanks !
    Lip Huey

    Hi Lip,
    My start counter for the plan is 0
    I schedule the plan in IP10
    Now IN IP10 if i see the scheduling list it will show me the following list
    Next planned counter reading, total counter reading, and completed counter reading.
    So  when you schedule the plan system will calculate what will be the next planned reading for which maintenance will be due that is the column next planned counter reading. in  this case it will be 500
    Now i enter a measuring doc for 600.
    If i schedule again if you see the above columns it will show next planned reading as 500 but total counter reading as 600.
    If you save this system will generate order and if you TECO the order and  schedule again ain IP10 and see the columns
    It will show as completed counter reading as 600, next planned counter reading as 1100 and total counter reading as 600.
    Next planned counter reading is calculated  as completed counter reading + 500 which is the next package 2 (If you have maintained shift factor late completion as 100%) If the shift factor is not maintained then sys will add 500 to previous planned reading to give next planned reading as 1000.
    Please check all parameters in the tab page scheduling parameters in your plan
    And for strategies check column hierarchy this will have an effect on what operations from task list are copied to order.
    Regards
    Pankaj

  • Where on the Academic Logic Studio 8 Package is the Serial Number?

    there's a window asking me for the serial number but it's been about 2 years since i installed it and don't remember which one of these numbers is the right one. i already tried three of them. where in the package is the right number located?

    It is printed on a piece of paper which is inside the box and states "serial number"

  • Transport package creation

    Hi,
    what are the settings that i have to specify at the time of creation of package in se80 in BI system.
    best regards

    Just enter a package name and press enter.  A message box will prompt you stating there is no package by that name do you want to create.
    Regards,
    Dae Jin

  • Problem in Packaging Process

    Hello Experts,
    I am working on a Packaging Scenario.
    I am using a packaging material PACK100 to pack material RICE100.
    I have done an initial stock entry of 500 nos. of PACK100 in the Partner Storage location.
    Now, I want that every time when packing is done during Inbound delivery creation, the packaging material should be picked from the Partner Storage location.
    What is happening right now is that, the packing material is getting created in the Partner storage location. Therefore, instead of decrease in qty. of the packing material in the partner storage location, there is an increase in the number.
    Can you help me in telling where exactly do we tell the system that Packing material used for packaging has to be picked from a specific Storage location.
    TIA,
    Ankur

    As per my best knowledge:
    - the packed (main) item is in the storage location for which HU requirement is set
    - the packaging material is in the partner storage location (unpacked main items can be in the partner storage location too).
    If you remove the packed material from the HU storage location,--> you CAN consume the belonging packaging material from the partner storage location
    If you receive the packed item into the HU storage location --> you CAN increase its stock.
    Normally, handling units are not built into the main item, so consuming them via packaging, I'm not sure it is the best solution - e.g. you loose information on your packaging material inventory (pallet).
    If you want to have a different logic from the standard, you have to investigate the possible solutions.
    I'm not sure mixed items (e.g. GI for main item and GR for packing item) will work at the same time in outbound delivery (or the opposite scenario in inbound delivery)...
    Edited by: Csaba Szommer on Jan 2, 2012 5:29 PM

  • Info Package ABAP Routine

    Hi
    For FIGL_4 there is both open items and closed items. i want to filter only Open Items Accounting doc no's records for Customers,Vendors,GL account at info package level.
    There are 3 ODS's in BW side for Open items Customers,Vendors,GL accounts. i want to filter open items based on these 3 ODS's Active data table.But i am getting error when i execute the request in Info Package.
    *Error Message "For sel. field 'BELNR ', no selection with SIGN = ' '; OPTION ' ' allowed     RSM1     607     *
    Below is the Info package Routine code
    program conversion_routine.
    Type pools used by conversion program
    type-pools: rsarc, rsarr, rssm.
    tables: rssdlrange.
    Global code used by conversion rules
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    TABLES: /BIC/AZOCFFIGL00,/BIC/AZOCFBSID00,/BIC/AZOCFBSIS00
            ,/BIC/AZOCFBSIK00.
    DATA:   ...
    TYPES : BEGIN OF TY_ZOCFBSID,
            /BIC/ZMCFADCNO LIKE /BIC/AZOCFBSID00-/BIC/ZMCFADCNO,
            END OF TY_ZOCFBSID.
    TYPES : BEGIN OF TY_ZOCFBSIS,
            /BIC/ZMCFADCNO LIKE /BIC/AZOCFBSIS00-/BIC/ZMCFADCNO,
            END OF TY_ZOCFBSIS.
    TYPES : BEGIN OF TY_ZOCFBSIK,
            /BIC/ZMCFADCNO LIKE /BIC/AZOCFBSIK00-/BIC/ZMCFADCNO,
            END OF TY_ZOCFBSIK.
    DATA : TB_ZOCFBSIS TYPE TABLE OF TY_ZOCFBSIS WITH HEADER LINE,
           WA_ZOCFBSIS TYPE TY_ZOCFBSIS.
    DATA : TB_ZOCFBSID TYPE TABLE OF TY_ZOCFBSID WITH HEADER LINE,
           WA_ZOCFBSID TYPE TY_ZOCFBSID.
    DATA : TB_ZOCFBSIK TYPE TABLE OF TY_ZOCFBSIK WITH HEADER LINE,
           WA_ZOCFBSIK TYPE TY_ZOCFBSIK,
           FLAG TYPE I.
    $$ end of global - insert your declaration only before this line   -
        InfoObject      = ZMCFADCNO
        Fieldname       = BELNR
        data type       = CHAR
        length          = 000010
        convexit        = ALPHA
    form compute_BELNR
      tables   l_t_range      structure rssdlrange
      using    p_infopackage  type rslogdpid
               p_fieldname    type rsfnm
      changing p_subrc        like sy-subrc.
          Insert source code to current selection field
    $$ begin of routine - insert your code only below this line        -
    data: l_idx like sy-tabix.
              read table l_t_range with key
                   fieldname = 'BELNR'.
              l_idx = sy-tabix.
           SELECT
           /BIC/ZMCFADCNO
           FROM /BIC/AZOCFBSID00
           INTO TABLE TB_ZOCFBSID.
            SELECT
            /BIC/ZMCFADCNO
            FROM /BIC/AZOCFBSIK00
            INTO TABLE TB_ZOCFBSIK.
            SELECT
            /BIC/ZMCFADCNO
            FROM /BIC/AZOCFBSIS00
            INTO TABLE TB_ZOCFBSIS.
           LOOP AT TB_ZOCFBSID INTO WA_ZOCFBSID.
           l_t_range-sign = 'I'.
           l_t_range-option = 'EQ'.
           l_t_range-low = WA_ZOCFBSID-/BIC/ZMCFADCNO.
           Append l_t_range.
           CLEAR l_t_range.
           ENDLOOP.
           LOOP AT TB_ZOCFBSIK INTO WA_ZOCFBSIK.
           l_t_range-sign = 'I'.
           l_t_range-option = 'EQ'.
           l_t_range-low = WA_ZOCFBSIK-/BIC/ZMCFADCNO.
           Append l_t_range.
           CLEAR l_t_range.
           ENDLOOP.
           LOOP AT TB_ZOCFBSIS INTO WA_ZOCFBSIK.
           l_t_range-sign = 'I'.
           l_t_range-option = 'EQ'.
           l_t_range-low = WA_ZOCFBSIS-/BIC/ZMCFADCNO.
           Append l_t_range.
           CLEAR l_t_range.
           ENDLOOP.
              modify l_t_range index l_idx.
              p_subrc = 0.
    $$ end of routine - insert your code only before this line         -
    Edited by: AtulMohan Mishra on Dec 27, 2010 1:11 PM

    Hi
    Now i am facing an error during data extraction from Source system
    error message in BW system "Error occurred in the data selection " Data Package 1 : arrived in BW ; Processing : 2nd processing step not yet finished
    when i checked in  SM37 (R3 system) i found the job has been cancelled and Log of this job says
    "Asynchronous sending of InfoIDOCs 2 in task 0001 (0 parallel tasks) DATASOURCE = 0FI_GL_4 
    ABAP/4 processor: SAPSQL_WHERE_CANT_SCAN                                   
    Job cancelled      "   
    it seems to me the Problem in Routine at Info Package level.
    My Requirement is to fetch only those Accounting Doc. No. RECORDS from 0FI_GL_4 data source which are present in Active data table of BSID,BSIK,BSIS ODS's.
    So i want to put logic at Info Package routine .
    1) fetch all Accounting Doc. No.  from Active data table of BSID,BSIK,BSIS Ods's and Match those Accounting Doc. No.'s with the 0FI_GL_4 data source Accounting Doc. No's.if a Accounting Doc. No. match with 0FI_GL_4 data source Accounting Doc no then that corresponding record from 0FI_GL_4 will go to the ODS
    Regards
    Atul

  • Cannot extend package Error while saving changes in Query

    Dear Gurus
    When i am trying to save changes made in the query i get an error message Cannot extend package YBW. kindly help me in resolving this as the changes are required in multiple queries.

    thanks for your relpy Jaya..i checked the properties...the check box package not extendable check box is unchecked and the main package checkbox is also unchecked.
    i check the below post...not exactly related to my issue
    creation of package(Package can not be extended)
    Edited by: SAP Learner license on Mar 30, 2011 9:16 AM

  • My version of Logic Pro X is like a glorified version of Garageband, how do I change this ?

    I've just finished downloading the full Logic Pro X package with all additional content. Upon opening a project, it appears to be just like Garageband with a small amount of extras (even the layout is the same - brown strips on either side of the window).
    For example, I cannot group my channel strips, I have very limited options within the Preferences window, and some functions are limited. I run Logic Pro X at work and haven't had this issue.
    I'd like to change my view from this :
    https://www.apple.com/mac/garageband/images/gallery_studio_mix.jpg
    To this :
    http://macprovid.vo.llnwd.net/o43/hub/media/1074/8255/Logic_Pro_X_Mixer.png
    Thanks

    Logic Pro X menu Bar
    Logic Pro X > Preferences/Advanced
    Check all items

  • Same variable declaration in package

    Hi
    Please go through below lines of code where I have declared same variable 2 times, which got compiled successfully. But If I do the same in stand alone procedure it throws an error. In case of creation of package it says package created. Can anyone justify to this .....
    SQL> create or replace package
    2 may221
    3 as
    4 a number := 10 ;
    5 a number := 20 ;
    6 procedure p1(a number) ;
    7 end ;
    8 /
    Package created.
    SQL> create or replace package body may221
    2 as
    3 procedure p1(a number)
    4 as
    5 begin
    6 dbms_output.put_line(a) ;
    7 end ;
    8 end ;
    9 /
    Package body created.
    SQL> set serverout on
    SQL> exec may221.p1(20);
    20
    PL/SQL procedure successfully completed.
    SQL> begin
    2 dbms_output.put_line(may221.a) ;
    3 end ;
    4 /
    dbms_output.put_line(may221.a) ;
    ERROR at line 2:
    ORA-06550: line 2, column 32:
    PLS-00371: at most one declaration for 'MAY221.A' is permitted in the declaration section
    ORA-06550: line 2, column 4:
    PL/SQL: Statement ignored
    Thanks and Regards
    JC

    > I checked it's working fine.. no errors..
    Oracle version?
    There is an error as there are two definitions of variable a. This will generate a run-time error when that variable is used.
    However, the result of procedure P1 is not an error.
    It is all a matter of scope. Scope determines the resolution of a reference (like a variable name, object name, column name, table name, etc.)
    The scope is first local - which means the local code block is checked for resolution. And the variable a is found. In o-o terms, when you refer to variable a it is first resolved as self.a - and only when that fails, the scope changes to the "encapsulating" unit which is the package.
    The following code illustrates:
    SQL> create or replace package FooPackage is
    2 a number := 10;
    3 a number := 11;
    4
    5 procedure Show( a number );
    6 end;
    7 /
    Package created.
    SQL> show errors
    No errors.
    SQL>
    SQL>
    SQL> create or replace package body FooPackage is
    2 procedure Show( a number ) is
    3 begin
    4 DBMS_OUTPUT.put_line( a ); -- <= resolved as self.a
    5 end;
    6 end;
    7 /
    Package body created.
    SQL> show errors
    No errors.
    SQL>
    SQL>
    SQL> exec FooPackage.Show( 12 )
    12
    PL/SQL procedure successfully completed.
    SQL> exec DBMS_OUTPUT.put_line( FooPackage.a );
    BEGIN DBMS_OUTPUT.put_line( FooPackage.a ); END;
    ERROR at line 1:
    ORA-06550: line 1, column 40:
    PLS-00371: at most one declaration for 'FOOPACKAGE.A' is permitted
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

Maybe you are looking for