Help is needed regarding PACKAGE -- Transport Layer

Dear,
I am working on CRM upgrade ,where i found one z-package
in their production system.but if i look into it one z transport layer was defined and if i search for F4 i am not able to find that Trasport layer. how can it be possible to That package without existing Trasport layer.
Please treat as urgent.
Thanks in advance.
with  regards,
Rajesh c

Dear,
problem is regarding SAP SPI provided  by HP .
i  am working on CRM 2007 upgrade project .in CRM 4.0 SPI package is present.
but in this i am confused.
as All dictionary objects , FM are starting with customer name space i.e Z---
even package they are using is ZSPI for which Transport layer is ZLPO.
but if i search for F4 i am not able to find ZLPO.
and comment in FM is
Copyright(c) 1998 by Hewlett-Packard Company.                       *
All rights reserved.                      
so shall i go for manual creation of these object .
Please treate it as urgent.
Thanks in advance.
with  regards,
Rajesh c

Similar Messages

  • How to add new package in SAP transport layer?

    hello,
    as part of requirement, i have to add a new package to SAP transport layer.
    can anyone tell how it is done?
    as in STMs,add new package is not coming.
    Regards,
    Chaitanya

    Hi
    go thru the below links
    http://help.sap.com/saphelp_nw04/helpdata/en/57/38de0c4eb711d182bf0000e829fbfe/content.htm
    http://help.sap.com/saphelp_sm32/helpdata/en/57/38de194eb711d182bf0000e829fbfe/content.htm
    Regards
    S

  • How to change transport layer in a package

    Hi,
         I would like to change transport layer wrongly assigned to the one availble in the present system without any local change request being created. Please help!!

    Hi,
             Go to attribute of program there is an option for object directory entry click on that go to change mode now change package assigned on that and save it will change package for that.
    You can also use SE03 for this purpose.
    Rewards if helpful.
    Regards
    Gagan

  • Updating Transport Layer in Packages

    Hi all, I have a question on Transport Layers and that set in Packages.
    The situation is a system that has been copied and renamed in 4.6 (System was copied from a combined install to a new install with all the customisations kept to provide a separated system with the same functionality) and then upgraded to ECC6.  Now the existing customer packages are still assigned to the old Transport layers and thus if any changes are made the system insists on a Local Change Request.  I know I can individually change each package to the new Transport Layer this then wants a Local Change Request to do this which can then be modified to the right Transport layer, and the package now allows the correct Transport Layer to be used when doing further modifications.
    My question is basically Is there a SAP program that will enmass change old Transport Layer assignment to a new valid Transport Layer?
    Was there a step missed in the original 4.6 conversion, and can that step be executed now the system has been upgraded to ECC 6?
    An example of the entries in the table TDEVC: (sorry for the horrible format)
                            OLD     .    NEW
    DEVCLASS     ZCCO    . ZCO-MAIN
    INTSYS            (blank)  . (blank)
    CONSYS          (blank)  . (blank)
    CTEXT              (blank)  . (blank)
    KORRFLAG           X     .    X
    AS4USER       USER     .  USER
    PDEVCLASS   ZCSD     .  ZFED
    DLVUNIT          HOME   .  HOME
    COMPONENT   (blank)  . (blank)
    NAMESPACE /0CUST/  . /0CUST/
    Where the layer ZCSD is no longer valid and ZFED is a new Layer that is functioning correctly for cross system transporting.

    Hi Jason,
    I am not sure if there is a program after system copy to change, from old transport layers to new transport layers.
    Have you already run BDLS after the system copy. It helps you in change the logical system name and client number as required.
    Also the following link provides some insite to your query:
    http://help.sap.com/saphelp_nw04/helpdata/en/3d/ad5bcf4ebc11d182bf0000e829fbfe/frameset.htm
    ctc stands for Client Transport Control and represents a method of configuration for transport routes.
    Kindly let me know if this was helpful
    Regards,
    Manomeet

  • Transport layer and transport package

    I have a fundamental query on transport package and layer.
    Objects are classified in packages depending on the project and put in $TMP or test package else they are local ? Only objects belonging to a transport package can be transported , others are not ? How transport package is defined ? All objects must be a part of transport package else can not be transported ?
    ABout transport layer, I understand this is used to define which path objects will take during transport particularly when there are multiple transport routes. But what are the advantages of it ? How we can define it (trx code/menu path) ?
    Is it mandatory to use transport package and layers ?

    Hi Mike,
    Just to clarify a few basic concepts:
    A transport package (formerly called a "development class", a term you may still encounter) groups related development objects. Whenever you create a new development object (table, program, ...) you have to assign it to a package; the object is then placed into a transport request. Alternatively you can indicate it is a local object (its package is then "$TMP") but such an object is non-transportable.
    A transport layer identifies the route that transportable devmt objects must follow. Typically in your system you will have two layers: a layer usually called Zxxx (with xxx = SID of your development system) is used for your own developments. Another layer called "SAP" is used for transporting SAP objects, for example changes to standard SAP code implemented via transaction SNOTE and recorded in repairs. Without the "SAP" layer in place, repairs would be non-transportable.
    Each transport package belongs to a layer. You assign the layer when you create a new package in transaction SE80. You can change the layer later on, but this is rarely needed and can cause quite a few side-effects. SAP objects always have layer "SAP". The layers themselves are managed in STMS, under "Transport Routes".
    Hope this clarifies things,
    Rgds, Mark

  • Need help with testing a package with Junit

    Hi guys,
    I am currently testing a bunch of files under a particular package. I have compiled all the files in this package successfully. I have written a testcase file which is in the folder above the package folder. I am using Junit to test this. I am getting errors stating that Java cannot find the package.
    To explain in detail.....My package name is coinbox which contain some classes which need to be tested. These files are in the folder "coinbox". My testcase file is in the folder which is directly above this folder. My testcase file has the statement import coinbox.* which will import all the classes in the coinbox package;
    But I am getting an error stating that the package coinbox cannot be found. I tried adding the package path to the CLASSPATH variable but still it isnt working.
    The command am using to run the Junit test cases is as follows:
    javac -cp junit.jar;junit.samples.CoinBoxTest-d CoinBoxTest.java
    Any help or suggestions regarding will be appreciated. The coinbox package is not being detected by java.
    Thanks in advance.
    Edited by: calvin_nr on Sep 30, 2007 5:12 PM

    It smells like a classpath problem. Post a sample of the code you are testing, the package statement in particular and the directory structure where the .class files are.

  • Impact of the Transport Layer changes in the package

    Dear Experts,
    We are in the process of the Upgrade. As a part of the upgrade from 3.1to BI7. We have two Dev systems one is with the 3.1 - BWD   and the other one is with the BI7- CBD now. We have transported all the objects with the Package : ZBWD (Where the transport Layer of this Package ZBWD).
    And we have introduced the new Integration system(CBQ) in the landscape now and we have changed the Package ZBWD properties(We have changed the Transport Layer of this Package from ZBWD to ZCBD).
    Can anyone please tell me the consequencies of this change in the package. We are planning to move this changed package, once the upgrade is finished.
    Can any one tell me the consequencies of this change and also if we dont transport this package change in the other systems, then what wil be the consequences.?
    Thanks
    Raman
    Edited by: Raman R on Aug 12, 2008 5:42 PM

    Hi,
    We have the package exists in the production which is with the earlier Transport layer called ZBWD.
    As we have the new development system now, we need to change the Transport layer in that same package: to ZCBD.
    Can anyone tell me will there be any impact of this change on the objects in the further landscapes? and also please explain me what are all the steps which needs to be carriedout if the transport layer got changed in the package?
    Thanks
    Raman.....

  • Package assigned to wrong transport layer

    I've changed transport routes in my system from 2 to 3 systems landscape.
    unfortunately somehow a package(development class) was assinged to the wrong transport layer & as a result when users release their request its taken to  Local Change Request i.e. dosen't appear in the import queue of the QA system
    using SE80 I assinged the package to the correct transport layer & was prompted for a change request . The request goes to the local change request queue when I try to release I get the message Not All Objects In The Request Could Be Locked
    Kindly assist

    Hi,
    After you made changes to your TMS make sure you have updated and distrubuted the configuration.
    First release the request with previous package and You create another package with the transport layer.
    Regards
    Ashok

  • Imported Objects - Package has a different Transport Layer

    Hi,
    We imported SAP objects into our DEV environment.  All the objects are in a Package where the transport layer is ZB60 which does not exist in our DEV environment.  I did a Request Consistency Check on the transport and I got the error "Only edit objects from package ZIVARA_SAP in local requests".  I tried to change the transport layer to what we have in our DEV system which is Z9EV but it only created a local Workbench request.
    How do I go about changing it to our DEV Transport Layer (Z9EV).  The objects that we imported are NOT going to be a one time import/installation.  We may be making some changes to the objects in the future and we want it to be transportable just like our own SAP objects.  Your reply is greatly appreciated.
    Thanks.
    Giscard

    Dear Giscard,
    Try importing the objects with Transport of Copies, then you should be able to edit them in your DEV system.
    Regards
    Shailesh Mamidwar

  • Why transport layer has package defined for it?

    I double click a transport layer on txn STMS. The popup is a "package overview", some entries show up here:
    YWM                            ZTRL      Warehouse Management Repositor
    YBW                            ZTRL     BI Development Package
    YCRM                           ZTRL      CRM Development Class
    Could you help explain:
    1) how was them defined?
    2) what's the  purpose to do so?
    I have verified that the number of the  package is the same as the number of the DEV clients created after installation.
    So are there any relation between them?
    Thanks!

    Hi,
    Whenever your create some program then you have to assign a package to it like a container.
    For more information, check below link:
    http://help.sap.com/saphelp_sm32/helpdata/EN/57/38de194eb711d182bf0000e829fbfe/content.htm
    Thanks
    Sunny

  • Windows 8 RDP error security package error occurred in the transport layer.

    We have an issue where in windows 7 this rdp works fine but windows 8 gives this error on all machines.
    Your computer can't connect to the remote computer because a security package error occurred in the transport layer.  Retry the connection or contact your network administrator for assistance.

    Hi,
    Thanks for your post.
    Please elaborate your scenario. Which OS version you trying to access? Windows Server 2012 or earlier version? Trying to access Session Host, RemoteApp or VM?
    Please install latest Windows update on both side. Verify the port 3389 was not blocked by firewall, anti-virus or intermediate device. In addition, check the event viewer, to see if any related error was recorded.
    Best Regards,
    Aiden
    If you have any feedback on our support, please click
    here
    Aiden Cao
    TechNet Community Support

  • I need help to run this package and i got some error

    create or replace
    PACKAGE BODY SUBS_INS_API_sun
    AS
    PROCEDURE SUBSCRIBER_INS_sun
        (SOURCE_SYS_ID IN VARCHAR2,
        TRACKING_ID IN VARCHAR2,
        ACCOUNT_NO IN VARCHAR2,
        prepaidActDevDetails_tab IN prepaidactdvcdetailsobj_sun,
        ERROR_CODE OUT VARCHAR2)
    IS
    Input_Parameter_Is_Null EXCEPTION;
    pragma exception_init(Input_Parameter_Is_Null,-2000);
    prepaidAccountDetails prepaidActDevDetails_tab:= prepaidActDevDetails_tab(NULL,NULL,NULL,NULL,NULL);
    STATUS VARCHAR2(1):='1';
    cust_no VARCHAR(10);
    m_mac_id VARCHAR2(20);
      subscriber_master_Rec subscriber_master%ROWTYPE                 :=NULL;
      flg NUMBER(1);
    BEGIN
       IF(Source_Sys_Id IS NULL OR Tracking_Id IS NULL OR ACCOUNT_NO IS NULL OR prepaidAccountDetails.LAST=0) THEN
        RAISE Input_Parameter_Is_Null;
      END IF;
      BEGIN
             select cm_cust_no into cust_no from customer_master where cm_cust_id=ACCOUNT_NO and cm_status in('A','P','0');
          EXCEPTION
          WHEN NO_DATA_FOUND THEN
            DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
                   STATUS:='0';
        END;
      BEGIN
         FOR i IN prepaidAccountDetails.FIRST .. (prepaidAccountDetails.LAST) LOOP
         prepaidAccountDetails1:=prepaidActDevDetails_tab(i);
         prepaidAccountDetails1.Status_of_device:='1';
         IF (prepaidAccountDetails.Account_id is NULL OR prepaidAccountDetails.Mac_Id is NULL or prepaidAccountDetails.LOB_value is NULL) THEN
          RAISE Input_Parameter_Is_Null;
                END IF;
                IF(prepaidAccountDetails.LOB_value = 'VDO') THEN
                 IF(prepaidAccountDetails.Channel_Line_Up is NULL) THEN
                  Error_code :='SI002';
                 DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
                 STATUS:=0;
                  prepaidAccountDetails.Status_of_device:='0';
                 END IF;
                END IF;
                begin
                   select 1 into flg from subscriber_master where pm_phone_no=prepaidAccountDetails.Mac_Id and pm_status in('P','0','A','B');
                EXCEPTION
                 WHEN NO_DATA_FOUND THEN
                  flg:=0;
                 END;
                 if(flg=1) then
                  DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
                  STATUS:=0;
                  prepaidAccountDetails.Status_of_device:='0';
                 END IF;
                 begin
                  select md_mac_id into m_mac_id from mac_details where md_mac_id=prepaidAccountDetails.Mac_Id and md_start_date<=sysdate
                  and md_status='A';
                EXCEPTION when OTHERS then
                  Error_code :='SI004';
                 DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
                  STATUS:=0;
                  prepaidAccountDetails.Status_of_device:='0';
                 end;
              if(STATUS= 1 and prepaidAccountDetails.Status_of_device='1') then
               SELECT PM_SUBS_ACT_NO_SEQ.nextval
               INTO subscriber_master_rec.PM_SUBS_ACT_NO
               FROM dual;
              subscriber_master_Rec.pm_phone_no          :=prepaidAccountDetails.Mac_Id;
            subscriber_master_Rec.pm_open_date         :=sysdate;
              subscriber_master_rec.pm_status            :='P';
              subscriber_master_rec.PM_CUST_LVL_YN:='S';
             subscriber_master_rec.PM_EQUP_CODE:=prepaidAccountDetails.LOB_value;
             subscriber_master_rec.PM_HOME_AREA:='HOM';
             subscriber_master_rec.PM_USG_CODE:='USG';
             subscriber_master_rec.PM_NO_TYPE:='S';
             subscriber_master_rec.PM_TCG_CODE:='DEF';
             subscriber_master_rec.PM_APLN_DATE:=sysdate;
              subscriber_master_rec.PM_USER2:=prepaidAccountDetails.LOB_value;
              subscriber_master_rec.PM_USER3:=prepaidAccountDetails.Channel_Line_Up;
              subscriber_master_rec.pm_cust_no:=cust_no;
              INSERT INTO subscriber_master VALUES subscriber_master_rec;
            END IF;
         END LOOP;
        END;
      END SUBSCRIBER_INS_sun;
    END SUBS_INS_API_sun;
    and
    i got this error
    Package Body PREPAID_TESTNEW.SUBS_INS_API@PREPAID_TESTNEW
    Error(73,4): PL/SQL: Statement ignored
    Error(73,99): PLS-00302: component 'LAST' must be declared
    Error(87,6): PL/SQL: Statement ignored
    Error(87,37): PLS-00302: component 'FIRST' must be declared
    please help to run this package if anyone knows

    now i corrected my package. It working fine. But, how to run this package via procedure. my procedure check below. I give all the details about my package check below.
    ---pkg specification
    create or replace
    PACKAGE SUBS_INS_API_SS
    IS
    PROCEDURE SUBSCRIBER_INS_SS
        (SOURCE_SYS_ID IN VARCHAR2,
        TRACKING_ID   IN VARCHAR2,
        ACCOUNT_NO IN VARCHAR2,
        prepaidActDevDetails_tab IN prepaidActDeviceDetails_tabobj,
        ERROR_CODE OUT VARCHAR2);
    END SUBS_INS_API_SS;
    -----pkg body
    create or replace
    PACKAGE BODY SUBS_INS_API_SS
    AS
       PROCEDURE log_error (ip_code          IN VARCHAR2,
                            ip_message       IN VARCHAR2,
                            ip_description   IN VARCHAR2)
       IS
       BEGIN
          INSERT INTO ERR_LOG (IEL_REF_ID,
                               IEL_DATE,
                               IEL_CODE,
                               IEL_MSG,
                               IEL_DESC)
               VALUES (IVRS_ERR_LOG_SEQ.NEXTVAL,
                       SYSDATE,
                       ip_code,
                       ip_message,
                       ip_description);
       EXCEPTION
          WHEN OTHERS
          THEN
             ROLLBACK;
       END log_error;
       PROCEDURE INSERT_WS_LOG (SOURCE_SYS_ID   IN VARCHAR2,
                                STATUS          IN VARCHAR2,
                                TRACKING_ID     IN VARCHAR2,
                                ACCOUNT_ID      IN VARCHAR2,
                                MAC_ID          IN VARCHAR2)
       IS
          ws_log_rec   WS_LOG%ROWTYPE := NULL;
       BEGIN
          SELECT WS_LOG#REC#ID.NEXTVAL INTO ws_log_rec.rec#id FROM DUAL;
          ws_log_rec.VER#ID := 1;
          ws_log_rec.CRE#TS := SYSDATE;
          ws_log_rec.wl_source := SOURCE_SYS_ID;
          ws_log_rec.wl_status := Status;
          ws_log_rec.wl_tracking_id := tracking_id;
          ws_log_rec.wl_account_id := account_id;
          ws_log_rec.wl_mac_id := mac_id;
          INSERT INTO ws_log
               VALUES ws_log_rec;
       EXCEPTION
          WHEN OTHERS
          THEN
             ROLLBACK;
       END INSERT_WS_LOG;
        PROCEDURE REPLICO_DEV_INFO( Acc_id IN VARCHAR2, Mc_Id IN VARCHAR2,channel IN VARCHAR2,
                                     LOB_VAL IN VARCHAR2, outlet1 IN VARCHAR2, kit_cod IN VARCHAR2,
                                     serial_No IN VARCHAR2, shipperr IN VARCHAR2, estm_recived_date IN date)                                                                
        IS
                  Replico_device_info_det_Rec   Replico_device_info_det%ROWTYPE := NULL;
                  REC_ID  NUMBER;
        BEGIN
                  SELECT REPLICO_DEVICE_INFO_DET#RECID.nextval INTO REC_ID FROM dual; 
                   Replico_device_info_det_Rec.REC#ID := REC_ID;                 
                   Replico_device_info_det_Rec.ACCOUNT_ID := Acc_id;
                   Replico_device_info_det_Rec.MAC_ID := Mc_Id;               
                   Replico_device_info_det_Rec.CHANNEL_LINE_UP := channel;
                   Replico_device_info_det_Rec.LOB_VALUE := LOB_VAL;  
                   Replico_device_info_det_Rec.OUTLET := outlet1;
                   Replico_device_info_det_Rec.KIT_CODE := kit_cod;                
                   Replico_device_info_det_Rec.SERIAL_NUMBER := serial_No;                
                   Replico_device_info_det_Rec.SHIPPER := shipperr;                
                   Replico_device_info_det_Rec.ESTIMATED_RECIVED_DATE := estm_recived_date;
                  INSERT INTO replico_device_info_det
                        VALUES Replico_device_info_det_Rec;
                  EXCEPTION
                          WHEN OTHERS
                          THEN
                              ROLLBACK;
        END REPLICO_DEV_INFO;
       PROCEDURE SUBSCRIBER_INS_SS (
          SOURCE_SYS_ID              IN     VARCHAR2,
          TRACKING_ID                IN     VARCHAR2,
          ACCOUNT_NO                 IN     VARCHAR2,
          prepaidActDevDetails_tab   IN     prepaidActDeviceDetails_tabobj,
          ERROR_CODE                    OUT VARCHAR2)
       IS
          Input_Parameter_Is_Null       EXCEPTION;
          PRAGMA EXCEPTION_INIT (Input_Parameter_Is_Null, -2000);
          prepaidAccountDetails         prepaid_act_dvc_details_obj
                                           := prepaid_act_dvc_details_obj  (NULL,
                                                                              NULL,
                                                                              NULL,
                                                                              NULL,
                                                                              NULL,
                                                                              NULL,
                                                                              NULL,
                                                                              NULL,
                                                                              NULL,
                                                                              NULL);
          STATUS                        VARCHAR2 (1) := '1';
          cust_no                       VARCHAR (10);
          m_mac_id                      VARCHAR2 (20);
          channel_lineup                VARCHAR2 (25);
          LOB_VALUE                     VARCHAR2 (25);
          subscriber_master_Rec         subscriber_master%ROWTYPE := NULL;
        Replico_device_info_det_Rec   Replico_device_info_det%ROWTYPE := NULL;
          flg                           NUMBER (1);
          plan_code                     VARCHAR2(10);
          subs_aact_no                 NUMBER(20);
          m_plan_code1               payment_transaction_history.TH_PLAN_CODE%type;
          m_payment_mode1           payment_transaction_history.TH_PAYMENT_MODE%type;
          pm_phone_no_cur        subscriber_master.pm_phone_no%type;
          pm_status_cur          subscriber_master.pm_status%type;
          pm_user2_cur          subscriber_master.pm_user2%type;
          pm_user9_cur        subscriber_master.pm_user9%type;
          pm_cust_no_cur       subscriber_master.pm_cust_no%type;
          pm_cust_1            subscriber_master.pm_cust_no%type;
          cm_i                 customer_master.cm_status%type;
         CURSOR subs_rec is select pm_cust_no, pm_phone_no, pm_status, pm_user2, pm_user9 from subscriber_master
         where pm_cust_no = cust_no and pm_status= 'S';
       BEGIN
          IF (   Source_Sys_Id IS NULL
              OR Tracking_Id IS NULL
              OR ACCOUNT_NO IS NULL
              OR prepaidActDevDetails_tab.LAST = 0)
          THEN
             RAISE Input_Parameter_Is_Null;
          END IF;
          BEGIN
             SELECT cm_cust_no
               INTO cust_no
               FROM customer_master
              WHERE cm_cust_id = ACCOUNT_NO AND cm_status IN ('A', 'P', '0');
          EXCEPTION
             WHEN NO_DATA_FOUND
             THEN
                ERROR_CODE := 'SI001';
                log_error ('SI001',
                           SQLERRM,
                           'No Customer exist with Active or Pre Actiavted');
                INSERT_WS_LOG (Source_Sys_Id,
                               'F',
                               Tracking_Id,
                               Account_No,
                               prepaidAccountDetails.Mac_Id);
                STATUS := '0';
          END;
          BEGIN
             FOR i IN prepaidActDevDetails_tab.FIRST ..
                      (prepaidActDevDetails_tab.LAST)
             LOOP
                prepaidAccountDetails := prepaidActDevDetails_tab (i);
                prepaidAccountDetails.Status_of_device := '1';
                IF (   prepaidAccountDetails.Account_id IS NULL
                    OR prepaidAccountDetails.Mac_Id IS NULL
                    OR prepaidAccountDetails.LOB_value IS NULL)
                THEN
                   RAISE Input_Parameter_Is_Null;
                END IF;
                IF (prepaidAccountDetails.LOB_value = 'VIDEO')
                THEN
                   /* Commented as channel lineup is not coming from the input request */
                   /*IF(prepaidAccountDetails.Channel_Line_Up is NULL) THEN
                    Error_code :='SI002';
                   log_error ('SI002', SQLERRM, 'Channel line up is mandatory for Video');
                   INSERT_WS_LOG(Source_Sys_Id,'F',Tracking_Id,Account_No,prepaidAccountDetails.Mac_Id);
                   STATUS:=0;
                    prepaidAccountDetails.Status_of_device:='0';
                   END IF;*/
                   SELECT EC_CHANNEL_LINEUP
                     INTO channel_lineup
                     FROM ELIGIBLE_CUSTOMER
                    WHERE EC_CUSTOMER_NO = cust_no;
                END IF;
                BEGIN
                   SELECT 1
                     INTO flg
                     FROM subscriber_master
                    WHERE     pm_phone_no = prepaidAccountDetails.Mac_Id
                          AND pm_status IN ('P', '0', 'A', 'B');
                EXCEPTION
                   WHEN NO_DATA_FOUND
                   THEN
                      flg := 0;
                END;
                IF (flg = 1)
                THEN
                   ERROR_CODE := 'SI003';
                   log_error ('SI003',
                              SQLERRM,
                              'Customer Already Exist with given Mac Id');
                   INSERT_WS_LOG (Source_Sys_Id,
                                  'F',
                                  Tracking_Id,
                                  Account_No,
                                  prepaidAccountDetails.Mac_Id);
                   STATUS := 0;
                   prepaidAccountDetails.Status_of_device := '0';
                END IF;
                BEGIN
                   SELECT md_mac_id
                     INTO m_mac_id
                     FROM mac_details
                    WHERE     md_mac_id = prepaidAccountDetails.Mac_Id
                          AND md_start_date <= SYSDATE
                          AND md_status = 'A';
                EXCEPTION
                   WHEN OTHERS
                   THEN
                      ERROR_CODE := 'SI004';
                      log_error ('SI004', SQLERRM, 'Invalid Mac Id');
                      INSERT_WS_LOG (Source_Sys_Id,
                                     'F',
                                     Tracking_Id,
                                     Account_No,
                                     prepaidAccountDetails.Mac_Id);
                      STATUS := 0;
                      prepaidAccountDetails.Status_of_device := '0';
                END;
                 select pm_cust_no into pm_cust_1 from subscriber_master where pm_cust_no = cust_no;
                IF (STATUS = 1 AND prepaidAccountDetails.Status_of_device = '1')
                THEN
                     SELECT DECODE (prepaidAccountDetails.LOB_value,
                                  'HSD', 'HSD',
                                  'VIDEO', 'VDO')
                     INTO LOB_VALUE
                     FROM DUAL;
            OPEN subs_rec;
            LOOP
            FETCH subs_rec into pm_cust_no_cur, pm_phone_no_cur, pm_status_cur, pm_user2_cur, pm_user9_cur;
              IF subs_rec%FOUND THEN
                 IF
                  ( pm_cust_1 = pm_cust_no_cur and pm_user2_cur= LOB_VALUE and pm_user9_cur = prepaidAccountDetails.outlet and pm_status_cur = 'S')
                    THEN
                        update subscriber_master set pm_phone_no = prepaidAccountDetails.Mac_Id, pm_status = 'P', pm_name = prepaidAccountDetails.Mac_Id
                        where pm_cust_no = pm_cust_no_cur and pm_user9 = prepaidAccountDetails.outlet;
                         select cm_status into cm_i from customer_master where cm_cust_no = pm_cust_no_cur;
                            IF( cm_i = '0')
                            THEN
                                update customer_master set cm_status = 'P' where cm_cust_no = pm_cust_no_cur;
                             END IF;
                             REPLICO_DEV_INFO( prepaidAccountDetails.Account_id, prepaidAccountDetails.Mac_Id,channel_lineup,
                                               prepaidAccountDetails.LOB_value, prepaidAccountDetails.outlet, prepaidAccountDetails.kit_code,
                                               prepaidAccountDetails.serial_Number, prepaidAccountDetails.shipper,prepaidAccountDetails.estimated_recived_date);
                    ELSIF
                        ( pm_cust_1 = pm_cust_no_cur and pm_user2_cur= LOB_VALUE and pm_user9_cur = null and pm_status_cur = 'S')
                          THEN
                             update subscriber_master set pm_phone_no = prepaidAccountDetails.Mac_Id, pm_status = 'P', pm_name = prepaidAccountDetails.Mac_Id, pm_user9 = prepaidAccountDetails.outlet
                             where pm_cust_no = pm_cust_no_cur and pm_user9 = NULL;
                             update customer_master set cm_status = 'P' where cm_cust_no = pm_cust_no_cur;
                             REPLICO_DEV_INFO( prepaidAccountDetails.Account_id, prepaidAccountDetails.Mac_Id,channel_lineup,
                                               prepaidAccountDetails.LOB_value, prepaidAccountDetails.outlet, prepaidAccountDetails.kit_code,
                                               prepaidAccountDetails.serial_Number, prepaidAccountDetails.shipper,prepaidAccountDetails.estimated_recived_date);
                    END IF;
                 ELSIF subs_rec%NOTFOUND THEN
                       SELECT PM_SUBS_ACT_NO_SEQ.NEXTVAL
                       INTO subs_aact_no
                       FROM DUAL;
                       subscriber_master_rec.PM_SUBS_ACT_NO := subs_aact_no;
                       subscriber_master_Rec.pm_phone_no :=
                        prepaidAccountDetails.Mac_Id;
                       subscriber_master_Rec.pm_open_date := SYSDATE;
                       subscriber_master_rec.pm_status := 'P';
                       subscriber_master_rec.PM_CUST_LVL_YN := 'S';
                       subscriber_master_rec.PM_EQUP_CODE := LOB_VALUE;
                       subscriber_master_rec.PM_HOME_AREA := 'HOM';
                       subscriber_master_rec.PM_USG_CODE := 'USG';
                       subscriber_master_rec.PM_NO_TYPE := 'S';
                       subscriber_master_rec.PM_TCG_CODE := 'DEF';
                       subscriber_master_rec.PM_APLN_DATE := SYSDATE;
                       subscriber_master_Rec.PM_NAME := prepaidAccountDetails.Mac_Id;
                       subscriber_master_Rec.PM_STAFF_id := '16';
                       subscriber_master_rec.PM_USER2 := LOB_VALUE;
                       subscriber_master_rec.PM_USER3 := channel_lineup;
                       subscriber_master_rec.pm_cust_no := cust_no;
                       subscriber_master_rec.PM_USER8 := 'Y';
                       INSERT INTO subscriber_master
                       VALUES subscriber_master_rec;
                       REPLICO_DEV_INFO( prepaidAccountDetails.Account_id, prepaidAccountDetails.Mac_Id,channel_lineup,
                                         prepaidAccountDetails.LOB_value, prepaidAccountDetails.outlet, prepaidAccountDetails.kit_code,
                                         prepaidAccountDetails.serial_Number, prepaidAccountDetails.shipper,prepaidAccountDetails.estimated_recived_date);
             END IF;
             END LOOP;
             CLOSE subs_rec;
                  SELECT TH_PLAN_CODE,TH_PAYMENT_MODE
                   INTO m_plan_code1,m_payment_mode1
                   FROM PAYMENT_TRANSACTION_HISTORY
                   WHERE TH_CUSTOMER_NO = cust_no
                   AND TH_LOB = LOB_VALUE
                   AND TH_SUBSCRIBER_NO IS NULL;
                   IF(LOB_VALUE = 'HSD') THEN
                    IF(m_plan_code1 = 'SIKI') THEN
                          plan_code := 'SIKI';
                                             ELSE
                      plan_code := 'KIT';
                    END IF;
                   ELSE
                    IF(m_plan_code1 = 'SIKT') THEN
                             plan_code := 'SIKT';
                    ELSE
                          plan_code := 'TV';
                    END IF;
                   END IF;               
                          UPDATE PAYMENT_TRANSACTION_HISTORY SET TH_SUBSCRIBER_NO = subs_aact_no, th_writeback_status = 'Y' WHERE TH_CUSTOMER_NO = cust_no AND TH_PLAN_CODE = plan_code;
                          COMMIT;
                END IF;
             END LOOP;
          END;
       END SUBSCRIBER_INS_SS;
    END SUBS_INS_API_SS;
    --- type object
    create or replace
    TYPE   prepaid_act_dvc_details_obj--prepaidAccountDeviceDetailsObj
    AS     OBJECT ( Account_id VARCHAR2 ( 25 )
           , Mac_Id VARCHAR2 ( 25 )
           , Channel_Line_Up VARCHAR2 ( 25 )
           , LOB_value VARCHAR2 ( 25 )
           , Status_of_device VARCHAR2 ( 25 )
            , outlet VARCHAR2(25)
            , kit_code VARCHAR2(25)
            , serial_Number VARCHAR2(25)
            , shipper VARCHAR2(25)
            , estimated_recived_date date )
    type---
    create or replace
    TYPE prepaidActDeviceDetails_tabobj as table of prepaid_act_dvc_details_obj
    ---- i need to run this package via separate procedure. but i don't know how to pass the variable. because the passing argument contain object tab variable. please help me.. give me suggestion or procedure to run this pkg.

  • Help needed regarding Dynamic Programming

    Hi,
    While doing dynamic programming , we bind the context variable with two types of
    values .
    1 . ddic
    2 . extern
    My doubt is in which case we should use ddic and where to use extern .
    Can anybody help me out regarding this.
    Thanks a lot.

    Hi Ki,
    Predefined, Web Dynpro UI-specific, and user-defined Dictionary types all have the
    prefix ddic:.
    wdContext.getNodeInfo()
    .addAttribute(
    "Visibility",
    "ddic:com.sap.ide.webdynpro.uielementdefinitions.Visbility")
    •&#61472;Logical Dictionary types from Adaptive RFC models have the prefix extern:.
    Check this links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9214b1e5-0601-0010-fdb0-ec32d43b06e0
    /people/dipankar.saha3/blog/2007/05/31/how-to-create-dynamic-approval-process-using-conditional-loop-block-in-guided-procedure
    Regards,
    Mithu

  • Help needed regarding ESS,MSS

    Hi All,
    I want to know about ESS and MSS .Can anybody please help me out regarding how to work with ESS,MSS in SAP Netweaver Portal .
    Where it comes into action in EP and how to configure it inside Portal.
    Thanks a lot.

    Hi,
    Check these links they maybe helpful to you
    http://help.sap.com/saphelp_nw04/helpdata/en/1f/1b1041a0f6f16fe10000000a1550b0/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e534c990-0201-0010-a6b3-ce6ad5ce83a0
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/business%2bpackage%2bfor%2bmanager%2bself-services%2b(MSS)
    Regards
    SURYA

  • 2 consolidation routes, one transport layer - not possible

    Hello everyone,
    I have one DEV system and two QAS systems. Some of my development need to go to both of two systems, however some of them need to go to only one of my QAS.
    So I have set up two transport groups: one link to both of two QAS and another one link to one of them. Because it is not possible for 2 consolidation routes with one transport layer, so there would be much of trouble when I need to transport my own development into that one QAS------I need to manually change the object directory entry/package for it first.
    So I would like to know is there any way easier to set up the landscape so that the developer can easily choose the correct transport target in our situation?
    Thank you very much in advance for your help!
    Best regards,
    Keith

    Hi Keith,
    please do not mix up transport groups (systems sharing one transport directory) with transport target groups.
    If you have one development system DEV and two QA-Systems QA1 / QA2 then there are 3 options: Transport from DEV to QA1 only, transport from DEV to QA2 only and transport from DEV to both QA1 and QA2. To realize this, you need three consolidation routes starting in DEV. One with transport layer (say) ZQA1 pointing to QA1, one with transport layer (say) ZQA2 pointing to QA2 and on with transport layer (say) ZALL pointing to the transport target group which in turn points to QA1 and QA2. Then you need to create 3 packages (formerly: development classes) poining to one of these three transport layers. For example ZPACKZQA1, ZPACKZQA2, ZPACKZALL. Then when you create a programm you need to specify a package. Depending on the package you choose, the program will be transported to either QA1 only, QA2 only or both QA1 and QA2.
    Best regards
    Thomas

Maybe you are looking for

  • My swing Application has to start..

    hi all I have an application which has to be started once the system is started. ie it has to be set up as an startup item and my application has to run in the task bar. do help me.. regards Pradheep

  • Error while deploying DataSpace project

    Hi, I have migrated an dataservice project from ALDSP2.5 to 3.0. using the upgrade tool as described on the BEA docs site. While i try to deploy this EAR file i get the following error: > <Mar 26, 2008 5:55:45 PM IST> <Warning> <Deployer> <BEA-149004

  • Problem with a flash site...

    Hi I've got a myspace, which has a www.lovemyflash.com layout on it. All was working well untill a few days ago. It stopped animating just for me on my computer. I also can not view the www.lovemyflash.com website anymore however know that it is view

  • Lenovo Solution Center - silent install command?

    I'm probably not the first to ask, but is there a silent install command for lsc.exe? I'd like to integrate it into an MDT deployment: for system update the /verysilent option works, but I cannot find anything on lsc. All help appreciated, Bavo PS: a

  • Repwizard.bat problem in 10gR2

    When I installed OLite 10gR2, the repository wizard failed to run and I cannot create the repository. So I mnaually run %olite_home%\Mobile\Server\admin\repwizard.bat, I encountered the following error: Installation mode is : STANDALONE Exception in