Routine-Active-deactive

Hi,
Here is a case where a developer has created a routine A,activated it and moved to QA(activated using RV80HGEN) and Production(for some reason business don't need this development so the same was not activated in Prod using RV80HGEN).
After that in Development the same routine was deactivated and deleted from Dev and QA but not in Production.So,now routine A is not available in Dev and QA but available in Prod in deactive state.
Now,a new routine B (for a different scenario) is created and moved to QA and Production.When RV80HGEN is executed it activated even the Previous routines ie Routine A.
If we move the request containing the deletion of routine A to Prod,the problem will be solved.
My question is when we are executing RV80HGEN can't we get an option to show a list of deactivated routines so that we can have an option to choose which one needs to be activated.
Kiran.

Hi Kiran,
sorry, this is not provided. Probably to ensure system consistency you can only activate all.
You should transport the request with the deletion to production as well. If it is already deleted from the input queue, STMS should be able to repeat the transport after appending it to import queue via menu Extras -> Other Requests  > ADD.
Regards,
Clemens

Similar Messages

  • Can old Macromedia versions still be activated/deactivated?  Problems connecting to server.

    Can old Macromedia versions still be activated/deactivated?
    I am trying to deactivate StudioMX 2004 on one computer and activate on another, but the server does not respond.
    Thanks.

    http://helpx.adobe.com/x-productkb/policy-pricing/macromedia-legacy-activation-error.html

  • Back end activities for Activation & Deactivation of Aggregates

    Hi ,
    Could any body help me to understand the back-end activites performed at the time of activation and deactivation of aggregates.
    Is filling of Agreegate is same as Roll up?
    What is the diffrence between de-activation and deletion of Aggregate?
    Thanks.
    Santanu

    Hi Bose,
    Activation:
    In order to use an aggregate in the first place, it must be defined activated and filled.When you activate it, the required tables are created in the database from theaggregate definition. Technically speaking, an aggregate is actually a separate BasicCube with its own fact table and dimension tables. Dimension tables that agree with the InfoCube are used together. Upon creation, every aggregate is given a six-digit number that starts with the figure1. The table names that make up the logical object that is the aggregate are then derived in a similar manner, as are the table names of an InfoCube. For example, if the aggregate has the technical name 100001, the fact tables are called: /BIC/E100001 and /BIC/F100001. Its dimensions, which are not the same as those in the InfoCube,have the table names /BIC/D100001P, /BIC/D100001T and so on.
    Rollup:
    New data packets / requests that are loaded into the InfoCube cannot be used at first for reporting if there are aggregates that are already filled. The new packets must first be written to the aggregates by a so-called “roll-up”. In other words, data that has been recently loaded into an InfoCube is not visible for reporting, from the InfoCube or aggregates, until an aggregate roll-up takes place. During this process you can continue to report using the data that existed prior to the recent data load. The new data is only displayed by queries that are executed after a successful roll-up.
    Go for the below link for more information.
    http://sapbibw2010.blogspot.in/2010/10/aggregates.html
    Naresh

  • 0IC_C03: 2LIS_03_BF Transformation Start Routine Activation error

    Hi all,
    Iam getting activation error (Start Routine) while activating the transformation for the 2LIS_03_BF (Material Movements) data source for 0IC_C03 INFO CUBE. Iam getting an error for the Start Routine  and the error message is as follows:
    + E:In PERFORM or CALL FUNCTION "ROUTINE_9998", the actual parameter "SOURCE_PACKAGE" is incompatible with the formal parameter "DATA_PACKAGE".+
    Scenario: As per my client requirment i have tried to add on info object in to the existing info cube i.e., Movement Type which is an existing field in the info source and the data source and i have tried to map the same in the transformations between the info source and the info cube and activated the transformation. Then iam getting the above said start routine error, so to avoid this i have removed that object i.e., movement type from the info cube and tried to reactivate the transformations still iam getting the same routine error.
    Please suggest me th approach to resolve this issue.
    Regards,
    Prabhakar

    Hi Chandu,
    Please find below is the routine:
    PROGRAM trans_routine.
          CLASS routine DEFINITION
    CLASS lcl_transform DEFINITION.
      PUBLIC SECTION.
    Attributs
        DATA:
          p_check_master_data_exist
                TYPE RSODSOCHECKONLY READ-ONLY,
    *-    Instance for getting request runtime attributs;
        Available information: Refer to methods of
        interface 'if_rsbk_request_admintab_view'
          p_r_request
                TYPE REF TO if_rsbk_request_admintab_view READ-ONLY.
      PRIVATE SECTION.
        TYPE-POOLS: rsd, rstr.
      Rule specific types
        TYPES:
          BEGIN OF tys_SC_1,
         InfoObject: 0STORNO Reversal Indicator.
            STORNO           TYPE /BI0/OISTORNO,
         InfoObject: 0RT_PROMO promotion.
            RT_PROMO           TYPE /BI0/OIRT_PROMO,
         InfoObject: 0VAL_CLASS Valuation  class.
            VAL_CLASS           TYPE /BI0/OIVAL_CLASS,
         InfoObject: 0DOC_DATE Document Date.
            DOC_DATE           TYPE /BI0/OIDOC_DATE,
         InfoObject: 0STOCKTYPE StockType.
            STOCKTYPE           TYPE /BI0/OISTOCKTYPE,
         InfoObject: 0STOCKCAT Stock  Categories.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0PSTNG_DATE Posting date in the document.
            PSTNG_DATE           TYPE /BI0/OIPSTNG_DATE,
         InfoObject: 0COMP_CODE Company Code.
            COMP_CODE           TYPE /BI0/OICOMP_CODE,
         InfoObject: 0BWAPPLNM Application component.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0MOVETYPE movement Type (Inventory Management).
            MOVETYPE           TYPE /BI0/OIMOVETYPE,
         InfoObject: 0STOCKRELEV BW: Relevance to Stock.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0CPPVLC BW: Purchase Value in Local currency.
            CPPVLC           TYPE /BI0/OICPPVLC,
         InfoObject: 0CPSVLC BW: Sales Value in Local currency.
            CPSVLC           TYPE /BI0/OICPSVLC,
         InfoObject: 0CPSTLC BW: Sales Value in Local currency.
            CPSTLC           TYPE /BI0/OICPSTLC,
         InfoObject: 0CPQUABU BW: Amount in base unit of Measure.
            CPQUABU           TYPE /BI0/OICPQUABU,
         InfoObject: 0VAL_TYPE Valuation Type.
            VAL_TYPE           TYPE /BI0/OIVAL_TYPE,
         InfoObject: 0PROCESSKEY BW: Transaction Key.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0BATCH Batch number.
            BATCH           TYPE /BI0/OIBATCH,
         InfoObject: 0MATMREA Reason for Goods Movement.
            MATMREA           TYPE /BI0/OIMATMREA,
         InfoObject: 0BUS_AREA Business Area.
            BUS_AREA           TYPE /BI0/OIBUS_AREA,
         InfoObject: 0COSTCENTER Cost Center.
            COSTCENTER           TYPE /BI0/OICOSTCENTER,
         InfoObject: 0SOLD_TO Sold-to Party.
            SOLD_TO           TYPE /BI0/OISOLD_TO,
         InfoObject: 0WHSE_NUM Warehouse Number / warehouse complex.
            WHSE_NUM           TYPE /BI0/OIWHSE_NUM,
         InfoObject: 0STOR_LOC Storage Location.
            STOR_LOC           TYPE /BI0/OISTOR_LOC,
         InfoObject: 0STRGE_BIN Storage Bin.
            STRGE_BIN           TYPE /BI0/OISTRGE_BIN,
         InfoObject: 0STRGE_TYPE Storage Type.
            STRGE_TYPE           TYPE /BI0/OISTRGE_TYPE,
         InfoObject: 0VENDOR  Vendor.
            VENDOR           TYPE /BI0/OIVENDOR,
         InfoObject: 0MATERIAL Material.
            MATERIAL           TYPE /BI0/OIMATERIAL,
         InfoObject: 0DOC_NUM BW: Document Number.
            DOC_NUM           TYPE /BI0/OIDOC_NUM,
         InfoObject: 0BASE_UOM Base Unit of Measure.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
         InfoObject: 0DOC_YEAR BW: Document Year.
            DOC_YEAR           TYPE /BI0/OIDOC_YEAR,
         InfoObject: 0PROFIT_CTR Profit center.
            PROFIT_CTR           TYPE /BI0/OIPROFIT_CTR,
         InfoObject: 0DCINDIC Debit/Credit Indicator.
            DCINDIC           TYPE /BI0/OIDCINDIC,
         InfoObject: 0LOC_CURRCY Local currency.
            LOC_CURRCY           TYPE /BI0/OILOC_CURRCY,
         InfoObject: 0PLANT Plant.
            PLANT           TYPE /BI0/OIPLANT,
         InfoObject: 0FISCVARNT Fiscal year variant.
            FISCVARNT           TYPE /BI0/OIFISCVARNT,
         InfoObject: 0CPNOITEMS BW: Number of activities.
            CPNOITEMS           TYPE /BI0/OICPNOITEMS,
         InfoObject: 0CO_AREA Controlling Area.
            CO_AREA           TYPE /BI0/OICO_AREA,
         InfoObject: 0DOC_ITEM BW: Document Line Number.
            DOC_ITEM           TYPE /BI0/OIDOC_ITEM,
         InfoObject: 0VALUE_LC Amount in local currency.
            VALUE_LC           TYPE /BI0/OIVALUE_LC,
         InfoObject: 0QUANT_B Quantity in base units of Measure.
            QUANT_B           TYPE /BI0/OIQUANT_B,
         InfoObject: 0MOVE_PLANT Receiving Plant/Issuing Plant.
            MOVE_PLANT           TYPE /BI0/OIMOVE_PLANT,
         InfoObject: 0RECORDMODE BW Delta Process: Update Mode.
            RECORDMODE           TYPE RODMUPDMOD,
         InfoObject: 0RT_RMAPIDA RMA Physical Inventory Date.
            RT_RMAPIDA           TYPE /BI0/OIRT_RMAPIDA,
         InfoObject: 0BWCOUNTER Additional Key Field Revaluation Document
    *Record.
            BWCOUNTER           TYPE /BI0/OIBWCOUNTER,
         InfoObject: 0INDSPECSTK Indicator: Valuation of Special stock.
            INDSPECSTK           TYPE /BI0/OIINDSPECSTK,
         InfoObject: 0GN_R3_SSY Source System for  R/3 Entity.
            GN_R3_SSY           TYPE /BI0/OIGN_R3_SSY,
         InfoObject: 0RT_MOVINV movement Type is Physical Inventory.
            RT_MOVINV           TYPE /BI0/OIRT_MOVINV,
         InfoObject: 0RT_MOVADJ movement Type is Stock Adjustment.
            RT_MOVADJ           TYPE /BI0/OIRT_MOVADJ,
         InfoObject: 0RSL_STMAT Structured  Article.
            RSL_STMAT           TYPE /BI0/OIRSL_STMAT,
         InfoObject: 0RT_MOVRET movement Type is Return.
            RT_MOVRET           TYPE /BI0/OIRT_MOVRET,
         InfoObject: 0RSL_STAUTO Automatically Completed Component.
            RSL_STAUTO           TYPE /BI0/OIRSL_STAUTO,
         InfoObject: 0RT_MOVTRAN movement Type is Stock Transfer.
            RT_MOVTRAN           TYPE /BI0/OIRT_MOVTRAN,
         InfoObject: 0RT_MATPOST Transfer Posting from  Article to Article
            RT_MATPOST           TYPE /BI0/OIRT_MATPOST,
         InfoObject: 0RT_SASTSV Share of Business Volume for Set Sales Val
    *ue in Local crcy.
            RT_SASTSV           TYPE /BI0/OIRT_SASTSV,
         InfoObject: 0RT_SASTST Share of Business Volume for Set with Tax
    *in Local currency.
            RT_SASTST           TYPE /BI0/OIRT_SASTST,
         InfoObject: 0COORDER order number.
            COORDER           TYPE /BI0/OICOORDER,
         InfoObject: 0RMA_LNK RMA Stock Transfer Reference Item.
            RMA_LNK           TYPE /BI0/OIRMA_LNK,
         InfoObject: 0RMA_RFLG RMA Relevance Flag.
            RMA_RFLG           TYPE /BI0/OIRMA_RFLG,
         InfoObject: 0RTHFEES Stock Transfer Fees.
            RTHFEES           TYPE /BI0/OIRTHFEES,
         Field: RECORD.
            RECORD           TYPE RSARECORD,
          END   OF tys_SC_1.
        TYPES:
    tyt_SC_1        TYPE STANDARD TABLE OF tys_SC_1
                            WITH NON-UNIQUE DEFAULT KEY.
    $$ begin of global - insert your declaration only below this line  -
    ... "insert your code here
    $$ end of global - insert your declaration only before this line   -
        METHODS
          start_routine
            IMPORTING
              request                  type rsrequest
              datapackid               type rsdatapid
            EXPORTING
              monitor                  type rstr_ty_t_monitors
            CHANGING
              SOURCE_PACKAGE              type tyt_SC_1
            RAISING
              cx_rsrout_abort.
        METHODS
          inverse_start_routine
            IMPORTING
              i_th_fields_outbound         TYPE rstran_t_field_inv
              i_r_selset_outbound          TYPE REF TO cl_rsmds_set
              i_is_main_selection          TYPE rs_bool
              i_r_selset_outbound_complete TYPE REF TO cl_rsmds_set
              i_r_universe_inbound         TYPE REF TO cl_rsmds_universe
            CHANGING
              c_th_fields_inbound          TYPE rstran_t_field_inv
              c_r_selset_inbound           TYPE REF TO cl_rsmds_set
              c_exact                      TYPE rs_bool.
    ENDCLASS.                    "routine DEFINITION
    $$ begin of 2nd part global - insert your code only below this line  *
        TYPES:
          BEGIN OF tys_SC_1_full,
         InfoObject: 0STORNO Stornokennzeichen.
            STORNO           TYPE /BI0/OISTORNO,
         InfoObject: 0RT_PROMO Aktion.
            RT_PROMO           TYPE /BI0/OIRT_PROMO,
         InfoObject: 0VAL_CLASS Bewertungsklasse.
            VAL_CLASS           TYPE /BI0/OIVAL_CLASS,
         InfoObject: 0DOC_DATE Belegdatum.
            DOC_DATE           TYPE /BI0/OIDOC_DATE,
         InfoObject: 0STOCKTYPE Bestandsausprägung.
            STOCKTYPE           TYPE /BI0/OISTOCKTYPE,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0PSTNG_DATE Buchungsdatum im Beleg.
            PSTNG_DATE           TYPE /BI0/OIPSTNG_DATE,
         InfoObject: 0COMP_CODE Buchungskreis.
            COMP_CODE           TYPE /BI0/OICOMP_CODE,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0MOVETYPE Bewegungsart (Bestandsführung).
            MOVETYPE           TYPE /BI0/OIMOVETYPE,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0CPPVLC BW: Einkaufswert in Hauswährung.
            CPPVLC           TYPE /BI0/OICPPVLC,
         InfoObject: 0CPSVLC BW: Verkaufswert in Hauswährung.
            CPSVLC           TYPE /BI0/OICPSVLC,
         InfoObject: 0CPSTLC BW: VerkWmS Hauswährung.
            CPSTLC           TYPE /BI0/OICPSTLC,
         InfoObject: 0CPQUABU BW: Menge in Basismengeneinheit.
            CPQUABU           TYPE /BI0/OICPQUABU,
         InfoObject: 0VAL_TYPE Bewertungsart.
            VAL_TYPE           TYPE /BI0/OIVAL_TYPE,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0BATCH Chargennummer.
            BATCH           TYPE /BI0/OIBATCH,
         InfoObject: 0MATMREA Grund für die Warenbewegung.
            MATMREA           TYPE /BI0/OIMATMREA,
         InfoObject: 0BUS_AREA Geschäftsbereich.
            BUS_AREA           TYPE /BI0/OIBUS_AREA,
         InfoObject: 0COSTCENTER Kostenstelle.
            COSTCENTER           TYPE /BI0/OICOSTCENTER,
         InfoObject: 0SOLD_TO Auftraggeber.
            SOLD_TO           TYPE /BI0/OISOLD_TO,
         InfoObject: 0WHSE_NUM Lagernummer/Lagerkomplex.
            WHSE_NUM           TYPE /BI0/OIWHSE_NUM,
         InfoObject: 0STOR_LOC Lagerort.
            STOR_LOC           TYPE /BI0/OISTOR_LOC,
         InfoObject: 0STRGE_BIN Lagerplatz.
            STRGE_BIN           TYPE /BI0/OISTRGE_BIN,
         InfoObject: 0STRGE_TYPE Lagertyp.
            STRGE_TYPE           TYPE /BI0/OISTRGE_TYPE,
         InfoObject: 0VENDOR Lieferant.
            VENDOR           TYPE /BI0/OIVENDOR,
         InfoObject: 0MATERIAL Material.
            MATERIAL           TYPE /BI0/OIMATERIAL,
         InfoObject: 0DOC_NUM BW: Belegnummer.
            DOC_NUM           TYPE /BI0/OIDOC_NUM,
         InfoObject: 0BASE_UOM Basismengeneinheit.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
         InfoObject: 0DOC_YEAR BW: Belegjahr.
            DOC_YEAR           TYPE /BI0/OIDOC_YEAR,
         InfoObject: 0PROFIT_CTR Profit Center.
            PROFIT_CTR           TYPE /BI0/OIPROFIT_CTR,
         InfoObject: 0DCINDIC Soll-/Haben-Kennzeichen.
            DCINDIC           TYPE /BI0/OIDCINDIC,
         InfoObject: 0LOC_CURRCY Hauswährung.
            LOC_CURRCY           TYPE /BI0/OILOC_CURRCY,
         InfoObject: 0PLANT Werk.
            PLANT           TYPE /BI0/OIPLANT,
         InfoObject: 0FISCVARNT Geschäftsjahresvariante.
            FISCVARNT           TYPE /BI0/OIFISCVARNT,
         InfoObject: 0CPNOITEMS BW: Anzahl Vorgänge.
            CPNOITEMS           TYPE /BI0/OICPNOITEMS,
         InfoObject: 0CO_AREA Kostenrechnungskreis.
            CO_AREA           TYPE /BI0/OICO_AREA,
         InfoObject: 0DOC_ITEM BW: Belegpositionsnummer.
            DOC_ITEM           TYPE /BI0/OIDOC_ITEM,
         InfoObject: 0VALUE_LC Betrag in Hauswährung.
            VALUE_LC           TYPE /BI0/OIVALUE_LC,
         InfoObject: 0COORDER Auftragsnummer.
            COORDER           TYPE /BI0/OICOORDER,
         InfoObject: 0QUANT_B Menge in Basismengeneinheiten.
            QUANT_B           TYPE /BI0/OIQUANT_B,
         InfoObject: 0MOVE_PLANT Empfangendes/Abgebendes Werk.
            MOVE_PLANT           TYPE /BI0/OIMOVE_PLANT,
         InfoObject: 0RECORDMODE BW Deltaverfahren: Update Modus.
            RECORDMODE           TYPE RODMUPDMOD,
         InfoObject: 0RT_RMAPIDA RMA Inventurdatum.
            RT_RMAPIDA           TYPE /BI0/OIRT_RMAPIDA,
         InfoObject: 0BWCOUNTER Zusätzliches Schlüsselfeld Umbewertungsbel
    *egsatz.
            BWCOUNTER           TYPE /BI0/OIBWCOUNTER,
         InfoObject: 0INDSPECSTK Kennzeichen Bewertung Sonderbestand.
            INDSPECSTK           TYPE /BI0/OIINDSPECSTK,
         InfoObject: 0GN_R3_SSY Quellsystem der R/3 Entität.
            GN_R3_SSY           TYPE /BI0/OIGN_R3_SSY,
         InfoObject: 0RT_MOVINV Bewegungsart ist Inventur.
            RT_MOVINV           TYPE /BI0/OIRT_MOVINV,
         InfoObject: 0RT_MOVADJ Bewegungsart ist Bestandskorrektur.
            RT_MOVADJ           TYPE /BI0/OIRT_MOVADJ,
         InfoObject: 0RSL_STMAT Strukturierter Artikel.
            RSL_STMAT           TYPE /BI0/OIRSL_STMAT,
         InfoObject: 0RT_MOVRET Bewegungsart ist Retoure.
            RT_MOVRET           TYPE /BI0/OIRT_MOVRET,
         InfoObject: 0RSL_STAUTO Automatisch ergänzte Komponente.
            RSL_STAUTO           TYPE /BI0/OIRSL_STAUTO,
         InfoObject: 0RT_MOVTRAN Bewegungsart ist Umlagerung.
            RT_MOVTRAN           TYPE /BI0/OIRT_MOVTRAN,
         InfoObject: 0RT_MATPOST Umbuchung Artikel an Artikel.
            RT_MATPOST           TYPE /BI0/OIRT_MATPOST,
         InfoObject: 0RT_SASTSV Umsatzanteil am Set Verkaufswert in Hauswä
    *hrung.
            RT_SASTSV           TYPE /BI0/OIRT_SASTSV,
         InfoObject: 0RT_SASTST Umsatzanteil am Set Verkaufswert mit Steue
    *r in Hauswährung.
            RT_SASTST           TYPE /BI0/OIRT_SASTST,
         Field: RECORD.
            RECORD           TYPE RSARECORD,      END   OF tys_SC_1_full.
        TYPES:
    tyt_SC_1_full        TYPE STANDARD TABLE OF tys_SC_1_full
                            WITH NON-UNIQUE DEFAULT KEY.
        TYPES:
          BEGIN OF tys_TG_1_full,
         InfoObject: 0CHNGID Änderungslauf ID.
            CHNGID           TYPE /BI0/OICHNGID,
         InfoObject: 0RECORDTP Satztyp.
            RECORDTP           TYPE /BI0/OIRECORDTP,
         InfoObject: 0REQUID Request ID.
            REQUID           TYPE /BI0/OIREQUID,
         InfoObject: 0CALDAY Kalendertag.
            CALDAY           TYPE /BI0/OICALDAY,
         InfoObject: 0CALMONTH Kalenderjahr / Monat.
            CALMONTH           TYPE /BI0/OICALMONTH,
         InfoObject: 0CALWEEK Kalenderjahr / Woche.
            CALWEEK           TYPE /BI0/OICALWEEK,
         InfoObject: 0CALYEAR Kalenderjahr.
            CALYEAR           TYPE /BI0/OICALYEAR,
         InfoObject: 0MATERIAL Material.
            MATERIAL           TYPE /BI0/OIMATERIAL,
         InfoObject: 0PLANT Werk.
            PLANT           TYPE /BI0/OIPLANT,
         InfoObject: 0STOR_LOC Lagerort.
            STOR_LOC           TYPE /BI0/OISTOR_LOC,
         InfoObject: 0BATCH Chargennummer.
            BATCH           TYPE /BI0/OIBATCH,
         InfoObject: 0STOCKTYPE Bestandsausprägung.
            STOCKTYPE           TYPE /BI0/OISTOCKTYPE,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0GN_VENDOR Lieferant.
            GN_VENDOR           TYPE /BI0/OIGN_VENDOR,
         InfoObject: 0RECVS_VAL Zugangswert Bewerteter Bestand.
            RECVS_VAL           TYPE /BI0/OIRECVS_VAL,
         InfoObject: 0ISSVS_VAL Abgangswert Bewerteter Bestand.
            ISSVS_VAL           TYPE /BI0/OIISSVS_VAL,
         InfoObject: 0ISSBLOSTCK Abgangsmenge Gesperrter Bestand.
            ISSBLOSTCK           TYPE /BI0/OIISSBLOSTCK,
         InfoObject: 0ISSCNSSTCK Abgangsmenge Konsignationsbestand.
            ISSCNSSTCK           TYPE /BI0/OIISSCNSSTCK,
         InfoObject: 0ISSQMSTCK Abgangsmenge Qualitätsbestand.
            ISSQMSTCK           TYPE /BI0/OIISSQMSTCK,
         InfoObject: 0ISSTRANSST Abgangsmenge Transitbestand.
            ISSTRANSST           TYPE /BI0/OIISSTRANSST,
         InfoObject: 0RECBLOSTCK Zugangsmenge Gesperrter Bestand.
            RECBLOSTCK           TYPE /BI0/OIRECBLOSTCK,
         InfoObject: 0RECCNSSTCK Zugangsmenge Konsignationsbestand.
            RECCNSSTCK           TYPE /BI0/OIRECCNSSTCK,
         InfoObject: 0RECQMSTCK Zugangsmenge Qualitätsbestand.
            RECQMSTCK           TYPE /BI0/OIRECQMSTCK,
         InfoObject: 0RECTRANSST Zugangsmenge Transitbestand.
            RECTRANSST           TYPE /BI0/OIRECTRANSST,
         InfoObject: 0ISSSCRP Abgangsmenge Ausschuss.
            ISSSCRP           TYPE /BI0/OIISSSCRP,
         InfoObject: 0ISSVALSCRP Abgangswert Ausschuss.
            ISSVALSCRP           TYPE /BI0/OIISSVALSCRP,
         InfoObject: 0RECTOTSTCK Zugangsmenge Gesamt Bestand.
            RECTOTSTCK           TYPE /BI0/OIRECTOTSTCK,
         InfoObject: 0ISSTOTSTCK Abgangsmenge Gesamtbestand.
            ISSTOTSTCK           TYPE /BI0/OIISSTOTSTCK,
         InfoObject: 0ISSVALSTCK Abgangsmenge Bewerteter Bestand.
            ISSVALSTCK           TYPE /BI0/OIISSVALSTCK,
         InfoObject: 0RECVALSTCK Zugangsmenge Bewerteter Bestand.
            RECVALSTCK           TYPE /BI0/OIRECVALSTCK,
         InfoObject: 0VENCONCON Verbrauchswerte Lieferantenkonsignationsbe
    *stand.
            VENCONCON           TYPE /BI0/OIVENCONCON,
         InfoObject: 0LOC_CURRCY Hauswährung.
            LOC_CURRCY           TYPE /BI0/OILOC_CURRCY,
         InfoObject: 0BASE_UOM Basismengeneinheit.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
         Field: RECORD Nummer des Datensatzes.
            RECORD           TYPE RSARECORD,
          END   OF tys_TG_1_full.
        TYPES:
          BEGIN OF tys_SC_1__RULE_9,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPQUABU BW: Menge in Basismengeneinheit.
            CPQUABU           TYPE /BI0/OICPQUABU,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0STOCKTYPE Bestandsausprägung.
            STOCKTYPE           TYPE /BI0/OISTOCKTYPE,
         InfoObject: 0BASE_UOM Basismengeneinheit.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
          END   OF tys_SC_1__RULE_9.
        TYPES:
          BEGIN OF tys_SC_1__RULE_10,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPQUABU BW: Menge in Basismengeneinheit.
            CPQUABU           TYPE /BI0/OICPQUABU,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0STOCKTYPE Bestandsausprägung.
            STOCKTYPE           TYPE /BI0/OISTOCKTYPE,
         InfoObject: 0BASE_UOM Basismengeneinheit.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
          END   OF tys_SC_1__RULE_10.
        TYPES:
          BEGIN OF tys_SC_1__RULE_11,
         InfoObject: 0GN_R3_SSY Quellsystem der R/3 Entität.
            GN_R3_SSY           TYPE /BI0/OIGN_R3_SSY,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0VENDOR Lieferant.
            VENDOR           TYPE /BI0/OIVENDOR,
          END   OF tys_SC_1__RULE_11.
        TYPES:
          BEGIN OF tys_SC_1__RULE_12,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPPVLC BW: Einkaufswert in Hauswährung.
            CPPVLC           TYPE /BI0/OICPPVLC,
         InfoObject: 0INDSPECSTK Kennzeichen Bewertung Sonderbestand.
            INDSPECSTK           TYPE /BI0/OIINDSPECSTK,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0LOC_CURRCY Hauswährung.
            LOC_CURRCY           TYPE /BI0/OILOC_CURRCY,
          END   OF tys_SC_1__RULE_12.
        TYPES:
          BEGIN OF tys_SC_1__RULE_13,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPPVLC BW: Einkaufswert in Hauswährung.
            CPPVLC           TYPE /BI0/OICPPVLC,
         InfoObject: 0INDSPECSTK Kennzeichen Bewertung Sonderbestand.
            INDSPECSTK           TYPE /BI0/OIINDSPECSTK,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0LOC_CURRCY Hauswährung.
            LOC_CURRCY           TYPE /BI0/OILOC_CURRCY,
          END   OF tys_SC_1__RULE_13.
        TYPES:
          BEGIN OF tys_SC_1__RULE_15,
         InfoObject: 0GN_R3_SSY Quellsystem der R/3 Entität.
            GN_R3_SSY           TYPE /BI0/OIGN_R3_SSY,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0STOCKTYPE Bestandsausprägung.
            STOCKTYPE           TYPE /BI0/OISTOCKTYPE,
         InfoObject: 0VENDOR Lieferant.
            VENDOR           TYPE /BI0/OIVENDOR,
          END   OF tys_SC_1__RULE_15.
        TYPES:
          BEGIN OF tys_SC_1__RULE_19,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPQUABU BW: Menge in Basismengeneinheit.
            CPQUABU           TYPE /BI0/OICPQUABU,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0BASE_UOM Basismengeneinheit.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
          END   OF tys_SC_1__RULE_19.
        TYPES:
          BEGIN OF tys_SC_1__RULE_20,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPQUABU BW: Menge in Basismengeneinheit.
            CPQUABU           TYPE /BI0/OICPQUABU,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0BASE_UOM Basismengeneinheit.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
          END   OF tys_SC_1__RULE_20.
        TYPES:
          BEGIN OF tys_SC_1__RULE_21,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPQUABU BW: Menge in Basismengeneinheit.
            CPQUABU           TYPE /BI0/OICPQUABU,
         InfoObject: 0INDSPECSTK Kennzeichen Bewertung Sonderbestand.
            INDSPECSTK           TYPE /BI0/OIINDSPECSTK,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0BASE_UOM Basismengeneinheit.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
          END   OF tys_SC_1__RULE_21.
        TYPES:
          BEGIN OF tys_SC_1__RULE_22,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPQUABU BW: Menge in Basismengeneinheit.
            CPQUABU           TYPE /BI0/OICPQUABU,
         InfoObject: 0INDSPECSTK Kennzeichen Bewertung Sonderbestand.
            INDSPECSTK           TYPE /BI0/OIINDSPECSTK,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0BASE_UOM Basismengeneinheit.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
          END   OF tys_SC_1__RULE_22.
        TYPES:
          BEGIN OF tys_SC_1__RULE_25,
         InfoObject: 0GN_R3_SSY Quellsystem der R/3 Entität.
            GN_R3_SSY           TYPE /BI0/OIGN_R3_SSY,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0STOCKTYPE Bestandsausprägung.
            STOCKTYPE           TYPE /BI0/OISTOCKTYPE,
         InfoObject: 0VENDOR Lieferant.
            VENDOR           TYPE /BI0/OIVENDOR,
          END   OF tys_SC_1__RULE_25.
        TYPES:
          BEGIN OF tys_SC_1__RULE_31,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPPVLC BW: Einkaufswert in Hauswährung.
            CPPVLC           TYPE /BI0/OICPPVLC,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0LOC_CURRCY Hauswährung.
            LOC_CURRCY           TYPE /BI0/OILOC_CURRCY,
          END   OF tys_SC_1__RULE_31.
        TYPES:
          BEGIN OF tys_SC_1__RULE_37,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPQUABU BW: Menge in Basismengeneinheit.
            CPQUABU           TYPE /BI0/OICPQUABU,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0STOCKTYPE Bestandsausprägung.
            STOCKTYPE           TYPE /BI0/OISTOCKTYPE,
         InfoObject: 0BASE_UOM Basismengeneinheit.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
          END   OF tys_SC_1__RULE_37.
        TYPES:
          BEGIN OF tys_SC_1__RULE_38,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPQUABU BW: Menge in Basismengeneinheit.
            CPQUABU           TYPE /BI0/OICPQUABU,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0STOCKTYPE Bestandsausprägung.
            STOCKTYPE           TYPE /BI0/OISTOCKTYPE,
         InfoObject: 0BASE_UOM Basismengeneinheit.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
          END   OF tys_SC_1__RULE_38.
        TYPES:
          BEGIN OF tys_SC_1__RULE_39,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPQUABU BW: Menge in Basismengeneinheit.
            CPQUABU           TYPE /BI0/OICPQUABU,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0STOCKTYPE Bestandsausprägung.
            STOCKTYPE           TYPE /BI0/OISTOCKTYPE,
         InfoObject: 0BASE_UOM Basismengeneinheit.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
          END   OF tys_SC_1__RULE_39.
        TYPES:
          BEGIN OF tys_SC_1__RULE_40,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPQUABU BW: Menge in Basismengeneinheit.
            CPQUABU           TYPE /BI0/OICPQUABU,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0STOCKTYPE Bestandsausprägung.
            STOCKTYPE           TYPE /BI0/OISTOCKTYPE,
         InfoObject: 0BASE_UOM Basismengeneinheit.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
          END   OF tys_SC_1__RULE_40.
        TYPES:
          BEGIN OF tys_SC_1__RULE_41,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPQUABU BW: Menge in Basismengeneinheit.
            CPQUABU           TYPE /BI0/OICPQUABU,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0STOCKCAT Bestandstypen.
            STOCKCAT           TYPE /BI0/OISTOCKCAT,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0STOCKTYPE Bestandsausprägung.
            STOCKTYPE           TYPE /BI0/OISTOCKTYPE,
         InfoObject: 0BASE_UOM Basismengeneinheit.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
          END   OF tys_SC_1__RULE_41.
        TYPES:
          BEGIN OF tys_SC_1__RULE_42,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPQUABU BW: Menge in Basismengeneinheit.
            CPQUABU           TYPE /BI0/OICPQUABU,
         InfoObject: 0PROCESSKEY BW:Vorgangsschlüssel.
            PROCESSKEY           TYPE /BI0/OIPROCESSKEY,
         InfoObject: 0STOCKRELEV BW: Best.Relevanz.
            STOCKRELEV           TYPE /BI0/OISTOCKRELEV,
         InfoObject: 0STOCKTYPE Bestandsausprägung.
            STOCKTYPE           TYPE /BI0/OISTOCKTYPE,
         InfoObject: 0BASE_UOM Basismengeneinheit.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
          END   OF tys_SC_1__RULE_42.
        TYPES:
          BEGIN OF tys_SC_1__RULE_43,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPQUABU BW: Menge in Basismengeneinheit.
            CPQUABU           TYPE /BI0/OICPQUABU,
         InfoObject: 0MOVETYPE Bewegungsart (Bestandsführung).
            MOVETYPE           TYPE /BI0/OIMOVETYPE,
         InfoObject: 0BASE_UOM Basismengeneinheit.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
          END   OF tys_SC_1__RULE_43.
        TYPES:
          BEGIN OF tys_SC_1__RULE_51,
         InfoObject: 0BWAPPLNM Anwendungskomponente.
            BWAPPLNM           TYPE /BI0/OIBWAPPLNM,
         InfoObject: 0CPPVLC BW: Einkaufswert in Hauswährung.
            CPPVLC           TYPE /BI0/OICPPVLC,
         InfoObject: 0MOVETYPE Bewegungsart (Bestandsführung).
            MOVETYPE           TYPE /BI0/OIMOVETYPE,
         InfoObject: 0LOC_CURRCY Hauswährung.
            LOC_CURRCY           TYPE /BI0/OILOC_CURRCY,
          END   OF tys_SC_1__RULE_51.
    Additional types for start routine interface
      TYPES:
        data_package_structure type tys_SC_1_full.
    Additional declaration for update rule interface
      DATA:
        MONITOR       type standard table of rsmonitor  WITH HEADER LINE,
        MONITOR_RECNO type standard table of rsmonitors WITH HEADER LINE,
        RECORD_NO     LIKE SY-TABIX,
        RECORD_ALL    LIKE SY-TABIX,
        SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS.
    global definitions from update rules
    INCLUDE rsbctgn_top.
    INCLUDE rsbctgn_update_rules.
    FORM routine_9998
      TABLES DATA_PACKAGE TYPE tyt_SC_1_full
      CHANGING
        ABORT          LIKE sy-subrc
      RAISING
        cx_sy_arithmetic_error
        cx_sy_conversion_error.
    init variables
    fill the internal table "MONITOR", to make monitor entries
    see OSS note 571669
      LOOP AT DATA_PACKAGE.
        IF DATA_PACKAGE-stockcat EQ 'V' OR
           DATA_PACKAGE-stocktype EQ 'V'.
          DELETE DATA_PACKAGE.
        ENDIF.
      ENDLOOP.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    ENDFORM.                    "routine_9998
    FORM routine_0012
      USING
        COMM_STRUCTURE type tys_SC_1__RULE_9
      CHANGING
        RESULT         TYPE tys_TG_1_full-ISSCNSSTCK
        RETURNCODE     LIKE sy-subrc
        ABORT          LIKE sy-subrc
      RAISING
        cx_sy_arithmetic_error
        cx_sy_conversion_error.
    init variables
    fill the internal table "MONITOR", to make monitor entries
    only goods issue is considered
      IF ( COMM_STRUCTURE-processkey EQ '100'   "Other Issues
        OR COMM_STRUCTURE-processkey EQ '101'   "Returns / Vendor
        OR COMM_STRUCTURE-processkey EQ '104'   "Material Transfer
        OR COMM_STRUCTURE-processkey EQ '105'   "Stock Adjustment InvD
        OR COMM_STRUCTURE-processkey EQ '106'   "Stock Adjustment Other
        OR COMM_STRUCTURE-processkey EQ '110' ) "Issue from Stock Transfer
       AND COMM_STRUCTURE-bwapplnm EQ 'MM'
    only movements which are relevant for stock control
       AND COMM_STRUCTURE-stockrelev EQ '1'
       AND COMM_STRUCTURE-cpquabu <> 0.
    only consignment stock is considered
        CASE COMM_STRUCTURE-stockcat.
          WHEN 'K'.
            RESULT = COMM_STRUCTURE-cpquabu.
            RETURNCODE = 0.
          WHEN space.
            IF COMM_STRUCTURE-stocktype CA 'KLM'.
              RESULT = COMM_STRUCTURE-cpquabu.
              RETURNCODE = 0.
            ELSE.
              RETURNCODE = 4.
            ENDIF.
          WHEN OTHERS.
            RETURNCODE = 4.
        ENDCASE.
      ELSE.
    if the returncode is not equal zero, the result will not be updated
        RETURNCODE = 4.
      ENDIF.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    ENDFORM.                    "routine_0012
    FORM routine_0014
      USING
        COMM_STRUCTURE type tys_SC_1__RULE_10
      CHANGING
        RESULT         TYPE tys_TG_1_full-RECCNSSTCK
        RETURNCODE     LIKE sy-subrc
        ABORT          LIKE sy-subrc
      RAISING
        cx_sy_arithmetic_error
        cx_sy_conversion_error.
    init variables
    fill the internal table "MONITOR", to make monitor entries
    only goods receipt is considered
      IF ( COMM_STRUCTURE-processkey EQ '000'   "Other Receipts
        OR COMM_STRUCTURE-processkey EQ '001'   "Goods Receipt / Vendor
        OR COMM_STRUCTURE-processkey EQ '004'   "Material Transfer
        OR COMM_STRUCTURE-processkey EQ '005'   "Stock Adjustment InvD
        OR COMM_STRUCTURE-processkey EQ '006'   "Stock Adjustment Other
        OR COMM_STRUCTURE-processkey EQ '010' ) "Receipt from Stock Transfer
       AND COMM_STRUCTURE-bwapplnm EQ 'MM'
    only movements which are relevant for stock control
       AND COMM_STRUCTURE-stockrelev EQ '1'
       AND COMM_STRUCTURE-cpquabu <> 0.
    only consignment stock is considered
        CASE COMM_STRUCTURE-stockcat.
          WHEN 'K'.
            RESULT = COMM_STRUCTURE-cpquabu.
            RETURNCODE = 0.
          WHEN space.
            IF COMM_STRUCTURE-stocktype CA 'KLM'.
              RESULT = COMM_STRUCTURE-cpquabu.
              RETURNCODE = 0.
            ELSE.
              RETURNCODE = 4.
            ENDIF.
          WHEN OTHERS.
            RETURNCODE = 4.
        ENDCASE.
      ELSE.
    if the returncode is not equal zero, the result will not be updated
        RETURNCODE = 4.
      ENDIF.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    ENDFORM.                    "routine_0014
    FORM routine_0041
      USING
        COMM_STRUCTURE type tys_SC_1__RULE_11
      CHANGING
        RESULT         TYPE tys_TG_1_full-GN_VENDOR
        RETURNCODE     LIKE sy-subrc
        ABORT          LIKE sy-subrc
      RAISING
        cx_sy_arithmetic_error
        cx_sy_conversion_error.
    init variables
    fill the internal table "MONITOR", to make monitor entries
    ... determine consolidated key
      IF COMM_STRUCTURE-stockcat EQ 'K'.
        PERFORM  gn_get_global_key TABLES MONITOR
                              USING    COMM_STRUCTURE-gn_r3_ssy
                                       g_c_bwbeoty_r3vendor
                                       COMM_STRUCTURE-vendor
                                       RECORD_NO
                                       RECORD_ALL
                              CHANGING RESULT
                                       ABORT.
    if the returncode is not equal zero, the result will not be updated
      Endif.
      RETURNCODE = 0.
    ENDFORM.                    "routine_0041
    FORM routine_0010
      USING
        COMM_STRUCTURE type tys_SC_1__RULE_12
      CHANGING
        RESULT         TYPE tys_TG_1_full-ISSVS_VAL
        RETURNCODE     LIKE sy-subrc
        ABORT          LIKE sy-subrc
      RAISING
        cx_sy_arithmetic_error
        cx_sy_conversion_error.
    init variables
    fill the internal table "MONITOR", to make monitor entries
    only goods issue is considered
      IF ( COMM_STRUCTURE-processkey EQ '100'   "Other Issues
        OR COMM_STRUCTURE-processkey EQ '101'   "Returns / Vendor
        OR COMM_STRUCTURE-processkey EQ '104'   "Material Transfer
        OR COMM_STRUCTURE-processkey EQ '105'   "Stock Adjustment InvD
        OR COMM_STRUCTURE-processkey EQ '106

  • TCS4 + CS5.5 + *3* machines + Activation/Deactivation - Question Jumble

    I apologize in advance if this seems convoluted -- I have *tried* to make sure I'm saying only what needs to be said :-) Any help would be appreciated. [Note: I *did* try to 'chat' with a representative, but didn't even get through the deactivation question before they got stuck in scripted answer limbo.]
    On machine #1, I had previously installed TCS2.5 and CS5.5 (Design Standard). Thus I Acrobat X Pro (amongst many other apps, including Acrobat 9 Pro Extended) available.
    I recently installed TCS4 on machine #1 (which includes Acrobat XI Pro), but Acrobat X Pro and Acrobat 9 Pro are no longer available (error message: action is only valid for products that are currently installed).
    I also installed TCS4 on machine #2.
    I now need to use TCS4 on machine #3 (and machine #2). I can live without it on machine #1 for the time being, but would like to be able to use it again later.
    So...
    I need to deactivate TCS4 on machine #1 and activate it on machine #3. According to a page in the adobe help, I should be able to do this *without* removing the software from machine #1.
    Question: Is that correct?
    Question: Is there a time limit within which I have to reactivate, or am I good anytime?
    Question: Is there a limit to the number of times I can deactivate and reactivate the software, and/or a minimum period between deactivation and reactivation?
    When I deactivate TCS4 on machine #1, I will no longer have Acrobat available.
    Question: Can I *reinstall* Acrobat 9 Pro (from the TCS2.5 install) or Acrobat X Pro (from the CS5.5 install)?
    Question: Will installing this older version of Acrobat interfere with the Acrobat XI Pro that is already installed (which I will want to be able to use again later)?
    In a nutshell, I'm doing this because I need to keep confidential client information on machines #2 and #3 (cannot share the information on the same machine). They are the main clients for the TCS software. But, I will also need to use the TCS software, on occasion, for other clients using machine #1 (again, cannot share info on common machines). So... I need to be able to turn off the software on one machine and turn it back on on the other. (As you can infer, the issue of Acrobat versions (and other adobe software) applies to each machine -- I want to be able to keep two machines running current software, and have the third running my licensed extra copy of Acrobat.)
    Thanks all :-)

    Installation and activation are separate and distinct actions, completely independent.
    You can have installed Adobe software that is deactivated - it's still fully there but won't run.
    Don't tie yourself in knots - the easiest thing to do would be to contact Adobe customer service and have them reset the activation counts for all your product serial numbers to zero.  Then you can reactivate them exactly on the systems you want (just start the programs to do this).
    For more details, see:
    How to Move Adobe Software Between Computers, or from PC to Mac
    Hope this helps!

  • PSN hack, system activation/deactivation and a foreboding of DRM restrictions to come.

    I have had an ongoing issue since yesterday which has now escalated due to the terrible customer service at sony's call centres. My account has clearly been tampered with in some way and no one seems to believe me at customer support.Let me start by stating that this is my ONLY ps4. I purchased it 2 weeks ago and  activated it as my primary console upon initilisation. There are no other users accessing it at any time, no sub accounts or otherwise. i am the SOLE user. According to the ignorant staff member i spoke to and i quote 'you have activated consoles 60 times in the last week. several ps3's and 2 ps4's' alarmed by this i replied; 'Well clearly that shows evidence of account tampering as i am categorically stating to you that i have only 1 ps4 and 1 ps3 and have only activated devices of any kind once for almost 2 years; That being my ps4. There are no other users on my PS4 or psn account, no friends or family accessing my content in any way. My ps4 is currently listed as not being the primary in my account details. So obviously there is either an error on your end or someone has hacked my account. Could i please gain assistance with shutting down whoever has manipulated my account privelages? So far no unauthorised transactions have been made as i updated my security details almost immediately after this occured. But as this is a recent circumstance i do not feel comfortable about my account security.' the rep was attempting to interrupt me the entire time despite not having a grasp of the full situation. ultimately his response, condescending throughout was: 'As i have just explained several times, your ps4 has been deactivated on one console and activated on another as a primary. As no fraudulent purchases have been made i conclude that no one has tampered with your account and that you have deactivated your console and activated another. You need to have an active connection to the internet to play or use any digital content purchased through PSN, regardless of whether you are the primary user or not. We are going round in circles so unless you have any other questions pertaining to anything that does not relate to this subject or PSN i will have to terminate this call.' Firstly, you do NOT have to have a constant connection to PSN to play your games. This is one of the deciding factors in me actually purchasing this over an x box ( slowly regretting this decision). DRM only takes effect if a SECONDARY ps4 is trying to access content downloaded on the primary with your account. So not only did he attempt to misinform me in order to shut the call down, he outright refused to take my issue further, simply repeating his earlier statement as a default response to pretty much anything i suggested. Secondly. You DO NOT hang up on a customer simply because you personally are refusing to solve the problem. I wasn't rude or inflammatory towards him in any way, which was difficult to accomplish with just how ignorant and stand offish he was behaving ( unacceptable behaviour from someone who represents a company that just received over 600 pounds worth of money from a loyal customer once again).When i asked him if i could speak to a senior staff member or if i could be redirected to another department he simply stated:'I will not be doing that, my decision is final and you will not be able to change your activation for the next 6 months.' when i suggested that it's highly unusual for ANYONE to activate/deactivate multiple consoles 60 times within one week he replied with; 'no that's not unusual at all, either yourself or someone in the household has done this. I am terminating this call.'  Seriously, i have never received such flagrant, atrocious customer service in my life. By some miracle after my 3rd phone call i got through to someone named Arctur who was extremely helpful. Instead of assuming i have 50 consoles he actually used his brain and assessed the details with common sense. he concluded that someone HAD in fact been on my account and had locked me out as the primary user in order to gain access to privelages and ultimately shut down my account entirely. He deactivated the 'fake' ps4. Which according to the rep from before they had no power to do (go figure). And apologised to me personally.  is this the future of SEN? DRM policies convulted to the nth degree, content lock for games i've purchased with MY money unless i am connected to the internet? and customer service staff refusing to adhere to thier own job roles? I don't feel secure enough to even sign in at the moment let alone purchase anything else from this company. I've never experienced such an awful situation as this when i had my ps3. 2 weeks after i purchase my ps4 this happens.  I never paid much credence to all the transcripts online of people having constant problems with PSN and PS4. I just assumed the stories were either over exaggerated or there were just disgruntled customers using twitter as a knee jerk reaction to an interruption in thier service. But after yesterday/today. I really think Sony need to slow down the aggressive marketing wagon and reallocate some funds to hire competent staff members for both thier online security/customer service. If this happens again i will be getting a full refund for this and simply returning to my PS3. I'd rather have a secure last -gen console than a next-gen one that's about as secure as a straw house.  Being inadvertently 'locked 'out of all digital content that belongs to ME due to this issue has me seriously doubting Sony's assurance that the 'always online' ideology will be far from restrictive. If your servers are soo easy to breach, then surely you should allow your customers to verify themselves and thier ps4 through it's serial ID and simply waive the 6 month restriction on deactivation no? Instead i get locked out of my own content for your failings to fix your errors or protect your company from online attacks.i could play anything on my ps3 anytime i wanted, internet connection or no. So whichever way you look at it, this is a step back, not forward.  I truly believe issues like this need widespread coverage so that new customers know exactly what they could potentially be getting into. it's unnacceptable that a decent portion of your consumer base gets ignored just because the majority face no problems. 

    Is anyone still having this problem? I had a similar experience this afternoon, I was logged out of my system because another PS4 had been logged in with my credetials. I phoned the two people in my family who's PS4s I've logged in on and one had already deleted the account months ago and the other was not at home.When I updated my password it still happened, so I updated my email address aswell, within a minute of updating my email address I receive a PSN message from an account I don't know saying they were named Denis, 10 yrs old and could the please play my games.

  • Activation & Deactivation of Condition type in Sales order

    Hi friends,
    I have below requirement and need help on the same.
    While creating or changing the sales order, if order qty is less than 5, we need to activate condition type 'ZD03'  for pricing. if it is more than 5 it should be deactivated.
    Kindly suggest on this.
    Thanks in advance.
    Regards,
    Bharat.

    Dear Bharat,
    Did you try with VOFM ?
    Visit the following link:
    http://www.sap-img.com/sap-sd/quantity-based-discounts-in-bulk-quantities.htm (Routines and Pricing Procedure)
    Hope this will help.
    Regards,
    Naveen.

  • Vofm fomula routin activation error.

    i have complete a formula via tc:'VOFM', and i would like to active the routin, but get error message" Report/Program statement missing, or program type is i (include)". what can i do?

    Hi,
    You have to create the routine via VOFM, an include will automatically be created in the required main include/program. Put you your codes in the routine/form activate it. then got back to VOFM :
    - select routine
    - Click on EDIT and activate
    This will activate your codes and routine.
    Regrads,
    Dev.

  • Photoshop is not affected by installation or activation/deactivation of fonts. What am I missing?

    I want to use HelveticaNeue Light in a psd file. I have tried activating it in Suitcase Fusion 4 and installing it under Windows (Windows 7 Ultimate). I have restarted Photoshop several times and I deleted C:\Users\username\AppData\Local\Adobe\TypeSupport as a possible solution. I have no idea what the problem could be.
    I even tried searching for fonts that are appearing in the list to see what's the difference compared to other fonts, but I didn't get smarter. I also deleted the preferences.
    It just won't appear in the list. I am sure it is a working font because I am using it daily in InDesign.
    I know of only 2 ways how Photoshop should be able to see fonts: Installing into the Windows fonts folder or Fonts management software. As far as I know it doesn't have a Fonts folder, like let's say Indesign. But still when deactivating all fonts in Suitcase and checking the Windows fonts folder, I saw that there are fonts in the Photoshop fonts list that are not in the systems folder nor activated in Suitcase. So I guess I am missing something here.
    I would appreciate any input.
    I am using Photoshop CS5
    Suitcase Fusion 4
    Windows 7 Ultimate

    Do you have the Suitcase Fusion Auto-Activation Plugin for Photoshop?
    Nancy O.

  • Photoshop is not affected by installation or activation/deactivation of fonts.

    I want to use HelveticaNeue Light in a psd file. I have tried activating it in Suitcase Fusion 4 and installing it under Windows (Windows 7 Ultimate). I have restarted Photoshop several times and I deleted C:\Users\username\AppData\Local\Adobe\TypeSupport as a possible solution. I have no idea what the problem could be.
    I even tried searching for fonts that are appearing in the list to see what's the difference compared to other fonts, but I didn't get smarter. I also deleted the preferences.
    It just won't appear in the list. I am sure it is a working font because I am using it daily in InDesign.
    I know of only 2 ways how Photoshop should be able to see fonts: Installing into the Windows fonts folder or Fonts management software. As far as I know it doesn't have a Fonts folder, like let's say Indesign. But still when deactivating all fonts in Suitcase and checking the Windows fonts folder, I saw that there are fonts in the Photoshop fonts list that are not in the systems folder nor activated in Suitcase. So I guess I am missing something here.
    I would appreciate any input.
    I am using Photoshop CS5
    Suitcase Fusion 4
    Windows 7 Ultimate

    Do you have the Suitcase Fusion Auto-Activation Plugin for Photoshop?
    Nancy O.

  • Has Adobe stopped activating/deactivating PSE7?

    I have been using PSE7 on Windows 7 for years and never had a problem. Recently, I installed a new Windows 7 system drive and attempted to install my trusty PSE7. Prior to installing the new system drive, I ensured that all my software with activations were deactivated, but there was no option under the PSE7 Help menu for deactivation. (Ironically, there is a deactivation on a non-activated install but it is obviously grayed out and it wasn't in my original, activated PSE7 help menu.)
    PSE7 installed correctly to my new Windows 7 (same Windows version and install disk I was using with PSE7 previously), but when I got to the activation screen, it just showed a red "X". After logging into Adobe and confirming my activation code, I contacted Adobe Support and was told that PSE7 was never tested on Windows 7 so they couldn't give any support, and that they could not even look up my activations in their computer to see if they were still 'active'. They did tell me that PSE7 was suppose to be automatically deactivated when it was uninstalled.
    So, I did the following:
    Restored a backup copy of my old Windows 7 and perfectly working PSE7 system (I'd already re-purposed the old drive)
    Uninstalled PSE7 (as I remembered, there is no "Deactivate" in my working PSE7)
    Re-installed Windows 7, updated it and installed PSE7, but PSE7 still wouldn't accept the activation
    Re-formatted and re-installed Windows 7 but did not run Windows update in case it was a recent update the broke activation
    Installed PSE7 but failed to get past the activation screen again
    As I installed a fresh copy of Windows 7 and attempted PSE7 activation before I ran Windows update, the conditions were nearly identical to my original Windows 7 system when I successfully installed PSE7 all those years ago. If it installed and accepted activation in my original system but not in my last test, it leads me to think that Adobe is no longer releasing the activations for PSE7.
    Anyone have any idea if Adobe is still releasing the activations or activating new installs for software they don't support anymore? I'm only assuming they don't support any PSE7, not just on the unsupported Windows 7, as they can't look up my activations for it. Seems strange that their support staff would not have access a older product's activations for troubleshooting, provided that they still have a server managing those activations?
    Thanks

    Ah ha, there is life on my thread. Maybe I should have ignored posting etiquette and bumped the thread a few times to get it back on the main page before throwing in the towel. Thanks, Michel.
    MichelBParis wrote:
    As another user like you, I have still old versions of Elements installed on my computer together with PSE13. I have version 6 active. Versions 4,5 and 10 I can reinstall if needed to help solve other users problems.The registration/activation of PSE versions has changed and I can find the registration keys and downloads for the versions 10 and newer. For my PSE6 and older versions, all I need is the original CD and original key. Those keys are linked specifically to the original CD. There is no activation servers for those.
    Too bad, you have almost every version except 7. I purchased a download version and confirmed the S/N on my purchased software page, so I assume it is correct. Unfortunately, each and every time I get to the the activation screen, on multiple PSE installs and Windows 7 installs in various states of update, it spits out the dreaded red "X".
    ... pause for thought...
    However, your comment about the original CD got me thinking, so just in case my originally downloaded install file was corrupted, I re-downloaded a copy of PSE7 from my account on Adobe, and it was a completely different installer! Gone was the S/N input page with a bunch of boxes to input the numbers in groups of 4 and there was simply a single input box that you can cut-and-paste the whole S/N into (you don't know how many times I retyped my S/N, 4 digits at a time, to make sure I didn't make a typo).
    Even better than the S/N new input box is that it accepted my S/N without a hiccup! No red "X", or anything. PSE7 is installed and life is good again! Yay!
    I kept my old install of PSE7 updated, but I never thought of the possibility of an updated installer. Possibly Adobe has changed how it expects the S/N to be transmitted, thus creating a different installer than my original one. Below the S/N input boxes on the old but not the new installer, there was a trial option that I also tried and failed to activate after install, but most software that have both options generally accept both options. Too bad the Adobe tech didn't know there were different versions of the installer, but not being supported any more, I guess I was lucky he tried.

  • Activation/Deactivation issues with CS 6 install on new PC

    I wish to install my CS 6.0 application onto a new workstation.  It is currently installed on a PC that will be retired as a back-up machine should my new one need repairs.  Since my work will now only be done on the new workstation do I need to "Deactivate" the CS 6.0 application on the retired PC?   I understand that the application can be installed on two computers as long as they are not using the application at the same time but not sure how this works with your "Deactivation" and "Activation" procedure.
    Also, in November 2012  I upgraded my CS 6.0 to a monthly subscription plan for $29.99 via the Creative Cloud program to make sure my suite was up to date.  Will this complicate how I install the CS 6.0 application onto my new workstation?

    Actually, it will make it easier. Just install the apps you need from creative.adobe.com. Sign in there with your Adobe ID and then click on the download center.
    All of the CS6 and newer CC apps will be available to you.

  • Help for activating & deactivating a window.

    Here beelow, I have written the code.
    Asper the code, I have created window1, that has a button "ok",clicking "ok", window2 appears.window2 has a "close" button.
    So, the no. of times, I click the button "ok", the same no. of instances of window2 appears.But, I want after clicking the button "ok" in window1, window1 should be deactivated,and after clicking window2's "close" button, then window1 should be activated again.It means,only one instance of window2 should be visible,clicking the "ok" button.
    If anybody has idea about this, please write me the updated version of the code given bellow.
    Regards.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class window1 extends JFrame
    JButton b;
    window1()
    Container con=getContentPane();
    addWindowListener(new WindowAdapter(){
    public void windowClosing(WindowEvent e)
    System.exit(0);
    JPanel p1=new JPanel();
    b=new JButton("ok");
    b.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent e)
    if(e.getSource()==b)
    new window2();
    p1.add(b);
    con.add(p1,BorderLayout.SOUTH);
    setSize(200,150);
    setVisible(true);
    public static void main(String arg[])
    window1 obj=new window1();
    class window2 extends JFrame
    JButton b2;
    window2()
    Container con=getContentPane();
    JPanel p2=new JPanel();
    b2=new JButton("close");
    b2.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent e){
    if(e.getSource()==b2)
    dispose();
    p2.add(b2);
    con.add(p2, BorderLayout.SOUTH);
    setSize(200,150);
    setVisible(true);

    A.
    Keep the instance of the Window1 as global to the class.
    e.g.
    private window1 myWindow;
    B.
    In the constructor assign to the instance.
    public window1 () {
    myWindow = this;
    C.
    On click of "ok" set
    myWindow.setVisible(false);
    or
    myWindow.setEnabled(false);
    D.
    In your window2's close button call the myWindow.setVisible (true) or myWindow.setEnabled (true)
    I assume you have both the windows declared in one file.
    Chintan

  • Activating/Deactivating Invoicing Functions

    Hi Experts,
    We have activated the BI content data source 0FC_INVDOC_00 for Invoicing data. When i execute the data source from RSA3 it gives 0 records. Based on my analysis found the following links.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/43/1ed395e57d2be8e10000000a1553f7/frameset.htm
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/43/540445c277321ae10000000a422035/frameset.htm
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/43/4d3eb20420321ae10000000a422035/frameset.htm
    But its interesting i am not able to find the below path from SPRO settings to activate / Deactive invoicing functions...
    see Implementation Guide for Contract Accounts Receivable and Payable -> Integration ->Invoicing in Contract Accounts Receivable and Payable -> Invoicing ->Invoicing Processes ->Define Invoicing Processes
    Can any one help me.
    Regards,
    Ravi Kumar Garre

    Hi
    Thanks for your help.
    However, finally i need to assign invoicing functions to invoicing processes and types by using Define nvocing Process tab which i could not see there.
    Any further assist highly appreciated.
    Regards,
    Ravi Kumar Garre

  • Activating & deactivating a window.

    Here beelow, I have written the code.
    Asper the code, I have created window1, that has a button "ok",clicking "ok", window2 appears.window2 has a "close" button.
    So, the no. of times, I click the button "ok", the same no. of instances of window2 appears.But, I want after clicking the button "ok" in window1 then window1 should be deactivated,and after clicking window2's "close" button, then window1 should be activated again.It means,only once the window2 becomes visible, then after clicking the "close", if I again click the "ok", the same action should be held.
    If anybody has idea about this, please write me the updated version of the code given bellow.
    Regards.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class window1 extends JFrame
         JButton b;
         window1()
              Container con=getContentPane();
              addWindowListener(new WindowAdapter(){
                   public void windowClosing(WindowEvent e)
                        System.exit(0);
              JPanel p1=new JPanel();
              b=new JButton("ok");
              b.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent e)
                        if(e.getSource()==b)
                             new window2();
              p1.add(b);
              con.add(p1,BorderLayout.SOUTH);
              setSize(200,150);
              setVisible(true);
         public static void main(String arg[])
              window1 obj=new window1();
    class window2 extends JFrame
         JButton b2;
         window2()
              Container con=getContentPane();
              JPanel p2=new JPanel();
              b2=new JButton("close");
              b2.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent e){
                        if(e.getSource()==b2)
                             dispose();
              p2.add(b2);
              con.add(p2, BorderLayout.SOUTH);
              setSize(200,150);     
              setVisible(true);
              

    A.
    Keep the instance of the Window1 as global to the class.
    e.g.
    private window1 myWindow;
    B.
    In the constructor assign to the instance.
    public window1 () {
    myWindow = this;
    C.
    On click of "ok" set
    myWindow.setVisible(false);
    or
    myWindow.setEnabled(false);
    D.
    In your window2's close button call the myWindow.setVisible (true) or myWindow.setEnabled (true)
    I assume you have both the windows declared in one file.
    Chintan

Maybe you are looking for

  • How can I delete all the music from my iPhone and reinstall it?

    I am trying to delete all the music from my iPhone 5 and reinstall it.  The names of some of the albums and the artists did not import correctly from my CDs.  I went back into iTunes and made corrections, synced my phone and no changes were made to t

  • Choosing the Right Network Protocol for CRIO 9024 to PXI over Ethernet

    We are in the design phase of setting up a CRIO 9024 Embedded Controller to send data captured to a PXIe-8105 Controller over ethernet. The data will be be 2D arrays of double precision. This data will need to be sent to the pxi at the end of each te

  • Upgrade fromm 4.6C to ECC 6.0 - Substitution in Acounting Documents

    Hi gurus, My client it's upgrading from version 4.6C to ECC 6.0. As far as i know in teh Ecc &.0 verison the substituion of accounting documents are a little bit limited at Complete Document Level. In our 4.6C version we have several substitutions at

  • Grouping of PO line items as a single unit

    Hi...The Requirement is to group 3 line items of a PO as an entity so that the middleware transportation system (ETM) understands it as a single entity as thus should craete a single shipment instead of creating three 3 different shipments..Please pr

  • PowerView Dashboard Connect to Perspective

    Hi All,         We are working on a BI solution using PowerView for SharePoint connect to SSAS (Tabular). We would like to filter out the data to present to users when browse data from PowerView dashboard (in SharePoint) while remove the filtering wh