Business Event Group

Dear all
When i am going in S_AHR_61011889 to create a new business group i am able to create a business event group but it is not showing in PSV2 i.e. business event menu. Instead it is showing in S_AHR_61011887 - Master Data Catalog .
When i am creating a new Business event type and assigning the same to the above created Business event group then it disappears from S_AHR_61011887 - Master Data Catalog .
Ideally when a new business event group is created it should be shown in PSV2 i.e. business event menu but it is not showing.
Please help me out to solve this issue. Its urgent.
Regards
HarshVardhan

Dear mam
Creating a business event group is not a problem. T Code which you have given, business event group can be created but is is still being shown in Master Data Catalog and not in business event menu.
Creating a relationhip of event type & event group cvan be done but as soon as it is created it disappears from mastr data catalog.
In the past when ever i have created event group & event type it was shown in PSV2 i.e. business event menu.
Please guide me.
Regards
Harsh vardhan

Similar Messages

  • Business event group in an appraisal template catalog

    HI all,
    Is there any way to include the catalog of training in an appraisal template catalog? ie, a column where you can select a business event group (object L).
    thanks, regards

    Hello Sergio,
    I guess your post is in the wrong forum - this forum is about Supply Chain Event Management.
    Regards
    Berthold

  • Short Dumps in standard HR Business Event Group/Event creation transactions

    Dear All,
    I m getting short dumps whlile executing standard HR transactions for Creation of Business Event Groups and Business Event Types. Attaching the Short Dump text herewith. Can anyone plz. help...
      An exception occurred that is explained in detail below.
      The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was
       not caught in
      procedure "RH_BASE_READ_INFTY_NNNN" "(FUNCTION)", nor was it propagated by a
       RAISING clause.
      Since the caller of the procedure could not have anticipated that the
      exception would occur, the current program is terminated.
      The reason for the exception is:
      Eine Open SQL-Klausel wurde dynamisch angegeben. Der darin auftretende
      Feldname "SUBTY" kommt in keiner der Datenbanktabellen aus der
      FROM-Klausel vor.
    Thanks and Regards,
    Sudipto.

    Hi,
    Check whether the OSS note 207515 is suitable for the below situation.
    Summary
    Symptom
    A dump occurs in program SAPLRHDB: DBIF_NTAB_TABLE_NOT_FOUND
    Additional key words
    RH_BASE_READ_INFTY_NNNN, LRHDBU16
    Cause and prerequisites
    The system wants to access table HRPnnnn  particularly by means of an entry in the infotype check table T777D. This access can be processed in various places, including in the profile generator. Here, a termination occurs if the 'ent' table/structure in the dictionary is no longer available. This generally affcts customer-specific infotypes. These have been created and possibly deleted again. However, the entry in table T777D is not available. You can also import the entry into another system with a transport of the table. If the HRP table/structure is then missing, a termination may also occur in this case.
    Solution
    You must check on an individual basis which infotype the termination refers to. If it is a customer-specific infotype, the customer is responsible for removing the cause of the termination. If the table entry is a 'remnant', the entry can simply be deleted.
    If the termination refers to an SAP structure, you should consult SAP before carrying out any further activities.
    Source code corrections
    Header Data
    Release Status: Released for Customer
    Released on: 23.03.2000  23:00:00
    Priority: Recommendations/additional info
    Category: Customizing
    Primary Component: PA-BC Basis
    Releases
    Release Independant
    Satya

  • Business event group in transaction PSV2

    Hi
    I have created a business event group under current plan version using Transaction OOEG.
    But I am unable to make it displayed in transaction code PSV2.
    If i create some other group under an already existing one, it is getting displayed.
    But if I create in the first level, the problem occurs.
    Can somebody help to resolve this....
    Thanks
    Raghu.

    Hi
    Thanks for the response.
    current plan version date ranges from 01.10.2010 to 31.12.9999
    The date for the created Business group is 01.01.2011.
    Since it was well within the plan date, I didn't changed the settings in "change settings".
    Later I tried with date range from 01.01.1900 to 31.12.9999.
    Now it's getting displayed !.
    rgds
    Raghu

  • "Subject Area" in Info Business Event Group

    What is the application "Training Center" in ESS? Why shoul I check/uncheck "Subject Area" check box so that a Business Event Group displays/not displays in the Training Center?
    Points assured!
    Thanks,
    Nivedita.

    Hi Niveditha
       The way you view the training courses in you portal can be simulated in your R/3 system using
       transactions PV7I & PV8I.  If you want to refine your searches with one particular course group, then
       the subject area is useful. When you check this option for a course group, you will be able to search
      courses under this particular course group only from the portal. 
    Regards
    Vivek

  • Business Event groups and types.

    Dear Experts
    Following is the case where user is end up with the existing no. range for the Event groups and types.
    How can i assign new no. range for the both?
    Below is the current situation:
                                                    Int                                                      Ext
                                      From         To            Current                      From         To
    Business event type     70002100  70009999
    Course                        71000000  79999999  71001849      
    Location                      70010200  70010399  0      
    Resource                     70010400  70010999  70010424      
    External person            70011000  70019999 0      
    Business event group    70000100  70002099
    Your help will be really appreciated
    Regards
    Jayeeta

    Hi nalla
    thank u so much for your reply
    but what i want to know is that all existing number ranges are exhausted
    how do i now assign new number ranges to the Business Event groups & types
    please help
    Regards
    jayeeta

  • Collaboration Room in Business Event Group

    When I create a Business Event Group, in the tab Further Information, there is something called Collaboration Room. What is it?
    Points assured!
    Thanks,
    Nivedita

    Hi nivedita,
    This is an integration point between TEM and LSO (Learning solution) modules.
    Collaboration room are used in LSO.
    First you need to have opened the integration switch via:
    SPRO : SAP Learning solution -> TEM -> Integration -> Collaboration for Netweaver.
    Regards,
    Dilek

  • Business event (HR) -- follow up

    Hi,
    how can I know the business event group and business event type of a business event?
    Thanks.

    Hi Joseph,
    If you have a BusinessEvent .. you can find out the Type and Group with a Relationship it holds in table HRP1001.
    Business Event Group is of Object Type "L"
    Business Event Type is of Object Type "D"
    and Business Event is of Object Type  "E"
    Business Event "E" is Linked BEType "D" with a Relationship <b>A020</b>
    BEType "D" is linked with BEGroup "L" with a Relationship <b>A003</b>
    Hope this helps you.

  • Training & Event Management: Restrict Change to Business Event

    Hi,
    Does anyone know if there is a way to restrict change to Business Event (eg. changes to the Event Schedule) based on certain business criteria? My criteria cannot restrict by authorization.
    For eg. let say if something happens (based on business scenario), then my program will restrict the users to change details in Business Event, but they can still book Personnels to the event- so that means I can't use the LOCK/UNLOCK function.
    Thank you for your help.
    Regards,

    Dear,
    Oh! Sorry I did not noticed your initial post date, any how at least we can share knowledge.
    Regarding your concern about the FM, we have created function module ZHR_TRAINING_AUTH and table ZHR_TRAINING_AUTH to restrict authorization related to respective department secretaries and business event group.
    Then in Customization to create and configure the profile: go to Human Resources > Personal Management > Personal Development > Settings > Current Settings > Define Authorization Profile
    Then later on you can “Assign” this newly created profile to the users, then you are able to restrict.
    I hope this small information will help,
    Good luck

  • Training & Event Management - ERROR while creating a Business Event

    Dear All,
    My issue is - i have created my Business event groups n event types. when i right click on BET (or PV10) and create With/WIthout resources i am unable to save. i.e. i am unable to create a Business Event. when i click on save the screen doesnt get saved and the business event is not created under BET.
    But the icon pops at the Location. i have created few Locations via OOLC too
    Is there any setting iam missing?? Request your help to get this resolved.
    Thanks
    Priya R

    Hello Experts,
    Can you help me in creating a job in HR.
    I am trying to create job through Expert Mode, but I am
    getting an error as “object type C info type 1000 cannot maintained via basic transactions”
      Waiting for your valuable reply…

  • Business Event (HR)

    Hi,
    What database table can I find the following information?
    Business event group
    Business event type
    Business event ID
    Thanks

    Check HRP1000
    Objtct types -
    Business event group   L
    Business event type     D
    Business event ID        E
    Regards,
    Amit

  • Training and Event Management Business Events

    Hi Experts,
    I would like to know if there is any BAPI/ FM available to create a Business Event Under particular Busness Group and Type.
    I have Some more things to have a clarification on
    1. When we create Business Event in PV10, Where all the data is stored? is there any master table which holds the all values in that screen? or values are stored in separate tables? if they are in separate tables, may i now what are them and the associated infotypes also.
    I debugged the Tcode to find out which FM?BAPI is getting Called while saving the data, but could not find the exact one
    Please let me know the FM/BAPI to create a business Event
    Thanks in Advance

    Hi ,
    I am facing this issue in LSMW.
    Is there a way to capture the below BDC code in the LSMW recording itself?
    Tips,
      PERFORM bdc_dynpro      USING 'SAPLRHSV'  '1001'.
       PERFORM bdc_field       USING    'BDC_CURSOR'
                                                          'PLOG-PLVAR'.
       PERFORM bdc_field       USING    'BDC_OKCODE'
                                                          '=CONF'.
       PERFORM bdc_field       USING    'PLOG-PLVAR'
                                                          '01'.                               " Current plan

  • Business Event System in Workflow

    Hi,
    I am having difficulties with the Business Event System (BES).
    Actually, I've read the Oracle documentation about BES. Still I don't understand much.
    There are little documentation about the BES, and I still get blank point.
    Here are my questions :
    1. What the Business Event System is?
    2. Some of documentations show that using the BES, the workflow can interact with
    different system.
    What does 'different system' mean?
    Does it mean to another computer (perhaps Client Server type)?
    Or to another system (like headquarter which has several branches) located in
    different location?
    Or to another database service in the same computer (perhaps ORCL and ORCL2)?
    Or with another database applications (i.e Microsoft SQL Server, MySQL)?
    3. How do we use the BES?
    How do we define BES?
    Where do we use the BES?
    Is it using PL/SQL?
    Or the BES itself is a PL/SQL which is inside a procedure or function or trigger (used
    to manipulate the database)?
    What does the BES look like? Is it a PL/SQL code, an e-mail, or ...?
    4. Some documentations said that using the Event (with Receive type) as a start node
    (in Workflow Builder), the process will wait and respon <u>until</u> a Business
    Event is detected?
    How do we interact with BES?
    How do we know what kind of BES to start the process?
    Do we use the Oracle Advanced Queuing?
    Is it using an e-mail to start the Event?
    5. There is a statement from the "Feature Overview Oracel9i Application Server : Oracle Workflow" (from Oracle site)
    "Business event messages from Oracle Workflow can be placed on or received from Oracle9i Advanced Queues, providing support for Oracle Net as well as HTTP and HTTPS communication protocols."
    and
    "The Business Event System uses Oracle Advanced Queuing to propagate messages between communication points on systems, called agents, using a specified protocol. Events received from external systems are processed by an agent listener that runs on the agent's queue."
    Actually what the Advanced Queuing is?
    Is it the mechanism of scheduling activites such as sending a message?
    Is it use to start the Workflow Background Engine periodically?
    What does the Events received from external system is? Is it an e-mail?
    If it is True, so the workflow process could be start using an e-mail?
    6. There is also a documentation stated that the Event can be raised using the PL/SQL WF_EVENT.Raise() API.
    The Event also could be launch using the Workflow Home Page (Workflow monitor) in Event link?
    So what does the BES is used for, if the Event could be launch using a PL/SQL?
    Is the process of raising the Event called BES?
    Such as a procedure to manipulate database tables that consist the WF_EVENT.Raise().
    What is Generate Function is?
    7. What Agent is?
    What Subscription is?
    What Event group is?
    8. Perhaps there is a guide book of using the Business Event System?
    Any light would be grateful.
    Many many thanks,
    Buntoro

    Hi
    I am in exactly the same position...
    Have queued up my events using wf_event and the subscription is putting them in WF_OUT ok.
    So, I guess that WF_OUT is a multisubscriber queue, so when we register with it in BPEL it asks for us to identify ourselves using the consumer and/or correlation ID.
    However, I'm with you in that I have no idea how to specify the consumer.
    There is a CORRID column in WF_OUT and I'm banking on that being the correlation ID at the moment....
    I'll let you know if I crack it!
    Chris

  • Creating Business event in training and event management

    Hi Gurus!!!,
       can you please instruct me the steps involved in creating business events in Training and Event Management.(HR Module)
    Thanks and regards,
    Prosper

    Hi Prosper,
    You need to configure lot of settings, prior to Business Event, because one BE is based on various elements like Location, Attendee type, Instructor, Fees, Resources, Time Schedule, Services, BE type, BE Group.
    After configuring all these for BE type, you need to create a BE for the BE type. Then, you can go for day to day activities like Booking, Pre Booking, Cancellation.
    I hope, this link will help you
    http://help.sap.com/saphelp_47x200/helpdata/en/26/865738c185f50ce10000009b38f8cf/frameset.htm
    Good Luck
    Om
    Reward it, if u feel helpful.

  • Badi and Business event( Urgent)

    Hi experts,
          I am new to badi and business event 1120P. Please post how this business event exactly comes in to picture in this badi. also how to find this business event?
    And also Post the logic or code. The requirement is given below . Pls Post the solution. Its very urgent.
    Enhancement Summary
    Two user exits are needed to determine the correct G/L Account and Cost Center on Shipment Cost documents and post the Material Group on the Accounting document. BADI_SCD_ACCTG and Business Event 1120P can be used to accommodate the new functionality.
    Business Process
    Specific G/L Accounts and Cost Centers have to be determined to post on the Shipment Cost document. This is needed to provide accurate management reporting capabilities on shipments for Sales Order or Stock Transfer Order. A new custom table must be created which contains the following information: Distribution, Mode of Transport, Account, Cost Center Material group. Distribution is an identifier here if this shipment originated from an SO or STO.
    There are no screens involved in this enhancement.
    Components
    Table: ZTABLE1
    Field     Data Element     Type     Length     Description
    MANDT     MANDT     CLNT (key)     3     Client
    DISTRIBUTION     Z_DISTRIBUTION     CHAR (key)     1     Distribution
    MOT     ZZDEF_MOT     CHAR (key)     2     Mode of Transportation
    MATKL     MATKL     CHAR (key)     9     Material group
    SAKNR     SAKNR     CHAR     10     G/L Account Number
    KOSTL     KOSTL     CHAR     10     Cost Center
    This table gets updated manually by the FI team.
    Values for Distribution are:
    ‘1’  =  Primary Distribution to Refinery
    ‘2’ = Primary and Secondary– Excluding refinery
    All entries must be checked against SAP config and master tables
    User exit BADI BADI_SCD_ACCTG will be used to determine the correct G/L Account, Cost Center and Product Group based on Distribution and Mode of Transport. This BADI gets called only when a new Shipment Cost document get created.
    Once the BADI determined the new values it populates field c_vfkn-sakto with the G/L account, field c_vfkn-kostl with the Cost Center and exports the Product group to memory.
    There is no field on the Shipment Cost Document to store the Product group. Therefore another mechanism must be used to get the Product Group on the accounting document.
    Business Event 1120P can be used to import the Product group out of memory and put it on BSEG-MATNR. Structure BSEG_SUBST must be enhanced with field MATNR for this purpose.
    Function, Rules, Exits      Description of Functionality, Rules, Exits
    BADI_SCD_ACCTG     Business Add-In for Shipment Cost Account Assignment
    Business Framework     Business Event 1120P can be used to import the Product Group from memory and to populate field BSEG_SUBST-MATNR.
    This event gets called from different places. It needs to be ensured that it only populates the value when it was called from BADI_SCD_ACCTG.
    Custom Table     A look-up Table needs to be maintained for Distribution, Mode of Transport, G/L Account, Cost Center and Material Group
    Transaction code     To maintain the new table
    Append Structure     To enhance structure BSEG_SUBST with MATNR
          Business Add-In BADI_SCD_ACCTG can be used to determine the account assignments for a shipment cost item to set the G/L Account and Cost Center. All data needed to determine the new information gets provided in this BADI.
    Logic:
    •     Determine if STO or SO based on Document Category from internal table I_REFOBJ-VTRLP field VGTYP If is C then Distribution type is Sales Order (Primary and Secondary – Excluding Refinery – ‘2’ ) else we need to check the receiving plant. If the receiving plant (I_REFOBJ-VTRLK field WERKS) is a refinery the Distribution type is Primary (1) else it’s a (Primary and Secondary – Excluding Refinery – ‘2’ ). Refineries can be identified via Function Module ZPLANTCLASSIFICATION. The plant must be passed into Import Parameter IP_SAPPLANT and field INT_PLANTCHAR-ATNAM must be looked up with value SAPTYPE. If it exists and field ATWRT contains ‘RFY’, the plant is a refinery.
    •     Product Group can be determined from the Material master through Material group field MARA-MATKL.
    •     Mode of Transport will be passed in the BADI in VTRLK-OIC_MOT.
    •     Select single entry from table ZTABLE1based on Distribution, Mode of Transport and Material Group. If nothing gets selected, error message ‘No entry exists in table ZTABLE1for Distribution (distribution), MOT (MOT) & Mat. Group (material group)’ should be triggered.
    •     Move ZTABLE1-SAKNR  to c_vfkn-sakto and ZTABLE1-KOSTL to c_vfkn-kostl
    •     The Material group must be exported to memory in BADI_SCD_ACCTG
    •     The Material group must be imported from memory in Business Event BP1120P
    •     Free Memory in Business Event BP1120P
    This is VI01 – Creation of Freight Cost Item screen
    and also code for function module ZPLANTCLASSIFICATION below
    FUNCTION zplantclassification .
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(IP_SAPPLANT) LIKE  AUSP-OBJEK OPTIONAL
    *"     REFERENCE(IP_CPSPLANT) LIKE  AUSP-ATWRT OPTIONAL
    *"     REFERENCE(IP_SISLOC) LIKE  AUSP-ATWRT OPTIONAL
    *"  EXPORTING
    *"     VALUE(EP_SAPPLANT) LIKE  AUSP-OBJEK
    *"     VALUE(EP_CPSPLANT) LIKE  AUSP-ATWRT
    *"     VALUE(EP_SISLOC) LIKE  AUSP-ATWRT
    *"     VALUE(EP_OWNERSHIP) LIKE  AUSP-ATWRT
    *"     VALUE(EP_SMISTYPE) LIKE  AUSP-ATWRT
    *"     VALUE(EP_SPOTREF) LIKE  AUSP-ATWRT
    *"     VALUE(EP_SUBTYPE) LIKE  AUSP-ATWRT
    *"     VALUE(EP_SUPPLYREGION) LIKE  AUSP-ATWRT
    *"     VALUE(EP_TYPE) LIKE  AUSP-ATWRT
    *"     VALUE(EP_DISTAREA) LIKE  AUSP-ATWRT
    *"     VALUE(EP_GEOGAREA) LIKE  AUSP-ATWRT
    *"     VALUE(EP_HMF) LIKE  AUSP-ATWRT
    *"     VALUE(EP_IATACODE) LIKE  AUSP-ATWRT
    *"     VALUE(EP_IRSTCN) LIKE  AUSP-ATWRT
    *"     VALUE(EP_OPSAREA) LIKE  AUSP-ATWRT
    *"     VALUE(EP_PLANTSTAT) LIKE  AUSP-ATWRT
    *"     VALUE(EP_PORTCODE) LIKE  AUSP-ATWRT
    *"     VALUE(EP_REFAREA) LIKE  AUSP-ATWRT
    *"     VALUE(EP_SAPTYPE) LIKE  AUSP-ATWRT
    *"     VALUE(EP_MFGWARRANTY) LIKE  AUSP-ATWRT
    *"     VALUE(EP_USERTYPE) LIKE  AUSP-ATWRT
    *"     VALUE(EP_TRMCENTER) LIKE  AUSP-ATWRT
    *"     VALUE(EP_TRANSCENTER) LIKE  AUSP-ATWRT
    *"     VALUE(EP_FEIN) LIKE  AUSP-ATWRT
    *"  TABLES
    *"      INT_PLANTCHAR STRUCTURE  ZPLANTCLASSIFICATION OPTIONAL
    *"  EXCEPTIONS
    *"      NO_OBJEK_FOUND
    *"      NO_CPSPLANT_FOUND
    *"      NO_SISLOC_FOUND
    *"      NO_INPUT_FOUND
    *"      VALID_PLANT_NO_CHARACTERISTIC
    *"      ONE_TO_MANY_ISSUE
    *"      PLANT_NOT_FOUND_ZDEF_DELPLANT
    *"      UNKNOWN_ERRORS
    FM Name: ZPLANTCLASSIFICATION     
    Created By  :  SYUB                                                  *
    Description : Function Module to retrieve plant characteristics      *
    The function module has two capabilities:
    1. Retrieve only the necessary characteristics
    2. Retrieve the whole characteristics into an internal table.
    Parameter Description                                                *
    In the future, if there is a new characteristic added to the
    plant classification tables, the characteristic has to be added
    to the list of the export parameters and the loop statement.
      TABLES: ausp, cabn, ksml, zdef_delplant.
      DATA: ws_objek LIKE ausp-objek,
            ws_countchar TYPE i,
            ws_countplant TYPE i.
    *Internal table for SAP plant
      DATA: BEGIN OF int_plant OCCURS 0,
            plant LIKE ausp-objek,
            END OF int_plant.
    *sap plant code is the input parameter.Move objek, atnam, and atwrt to
    *internal table PLANTCHAR using inner join of AUSP, CABN, and KSML to
    *synch up the internal characteristic numbers throughout the 3 tables.
      IF NOT ip_sapplant IS INITIAL.
        SELECT auspobjek cabnatnam ausp~atwrt
          INTO CORRESPONDING FIELDS OF TABLE int_plantchar
          FROM ksml AS ksml
          INNER JOIN cabn AS cabn
            ON cabnatinn = ksmlimerk
          INNER JOIN ausp AS ausp
            ON ausp~objek = ip_sapplant
            AND auspatinn = cabnatinn
            AND ausp~mafid = 'O'
            AND ausp~klart = 'Z01'.
    *Checking the existence of ip_sapplant in the table, if it doesn't
    *exist, raise the exception else if it exists, check if it has
    *characteristic values.
        IF sy-subrc NE 0.
          RAISE no_objek_found.
        ELSE.
          DESCRIBE TABLE int_plantchar LINES ws_countchar.
          IF ws_countchar LT 2.
            RAISE valid_plant_no_characteristic.
          ENDIF.
        ENDIF.
    *cps plant code is the input parameter. Move objek from table AUSP to
    *ws_objek using inner join of CABN and AUSP to match up the internal
    *characteristic numbers from the 2 tables.
      ELSEIF NOT ip_cpsplant IS INITIAL.
        SELECT ausp~objek
          INTO TABLE int_plant
          FROM ausp AS ausp
          INNER JOIN cabn AS cabn
            ON cabn~atnam = 'OLDCODE'
              WHERE auspatinn = cabnatinn
                AND ausp~mafid = 'O'
                AND ausp~klart = 'Z01'
                AND ausp~atwrt = ip_cpsplant.
    *Checking the existence of ip_cpsplant in the table
        IF sy-subrc EQ 0.
    *Counting the number of SAP plants in the internal table int_plant
          DESCRIBE TABLE int_plant LINES ws_countplant.
    *Moving the values of objek, atnam, and atwrt to PLANTCHAR using objek
    *from ws_objek.
          IF ws_countplant EQ 1.
            LOOP AT int_plant.
              SELECT auspobjek cabnatnam ausp~atwrt
                INTO CORRESPONDING FIELDS OF TABLE int_plantchar
                FROM ksml AS ksml
                INNER JOIN cabn AS cabn
                  ON cabnatinn = ksmlimerk
                INNER JOIN ausp AS ausp
                  ON ausp~objek = int_plant-plant
                  AND auspatinn = cabnatinn
                  AND ausp~mafid = 'O'
                  AND ausp~klart = 'Z01'.
            ENDLOOP.
    *If there more than one SAP Plants, then raise an exception.
          ELSEIF ws_countplant GT 1.
            RAISE one_to_many_issue.
          ENDIF.
        ELSE.
          SELECT SINGLE werks FROM zdef_delplant
            INTO ws_objek
            WHERE cpsloc = ip_cpsplant.
          SELECT auspobjek cabnatnam ausp~atwrt
           INTO CORRESPONDING FIELDS OF TABLE int_plantchar
           FROM ksml AS ksml
           INNER JOIN cabn AS cabn
             ON cabnatinn = ksmlimerk
           INNER JOIN ausp AS ausp
             ON ausp~objek = ws_objek
             AND auspatinn = cabnatinn
             AND ausp~mafid = 'O'
             AND ausp~klart = 'Z01'.
          if sy-subrc ne 0.
            raise plant_not_found_zdef_delplant.
          endif.
        ENDIF.
    *cps plant code is the input parameter. Move objek from table AUSP to
    *ws_objek using inner join of CABN and AUSP to match up the internal
    *characteristic numbers from the 2 tables.
      ELSEIF NOT ip_sisloc IS INITIAL.
        SELECT ausp~objek
          INTO TABLE int_plant
          FROM ausp AS ausp
          INNER JOIN cabn AS cabn
            ON cabn~atnam = 'SISLOC'
              WHERE auspatinn = cabnatinn
                AND ausp~mafid = 'O'
                AND ausp~klart = 'Z01'
                AND ausp~atwrt = ip_sisloc.
    *Checking the existence of ip_sapplant in the table
        IF sy-subrc EQ 0.
          DESCRIBE TABLE int_plant LINES ws_countplant.
    *Moving the values of objek, atnam, and atwrt to PLANTCHAR using objek
    *from ws_objek.
          IF ws_countplant EQ 1.
            LOOP AT int_plant.
              SELECT auspobjek cabnatnam ausp~atwrt
                INTO CORRESPONDING FIELDS OF TABLE int_plantchar
                FROM ksml AS ksml
                INNER JOIN cabn AS cabn
                  ON cabnatinn = ksmlimerk
                INNER JOIN ausp AS ausp
                  ON ausp~objek = int_plant-plant
                  AND auspatinn = cabnatinn
                  AND ausp~mafid = 'O'
                  AND ausp~klart = 'Z01'.
            ENDLOOP.
    *If there more than one SAP Plants, then raise an exception.
          ELSEIF ws_countplant GT 1.
            RAISE one_to_many_issue.
          ENDIF.
        ELSE.
          SELECT SINGLE werks FROM zdef_delplant
            INTO ws_objek
            WHERE sisloc = ip_sisloc.
          SELECT auspobjek cabnatnam ausp~atwrt
           INTO CORRESPONDING FIELDS OF TABLE int_plantchar
           FROM ksml AS ksml
           INNER JOIN cabn AS cabn
             ON cabnatinn = ksmlimerk
           INNER JOIN ausp AS ausp
             ON ausp~objek = ws_objek
             AND auspatinn = cabnatinn
             AND ausp~mafid = 'O'
             AND ausp~klart = 'Z01'.
          if sy-subrc ne 0.
            raise plant_not_found_zdef_delplant.
          endif.
        ENDIF.
      ELSE.
    *Checking if there is an input parameter entered.
        RAISE no_input_found.
      ENDIF.
    Modified 7/30 by RFOR to validate SAP plant is in plant master
      data: wa_t001w like t001w.
      read table int_plantchar.
      SELECT SINGLE * from t001w into wa_t001w where
      werks = int_plantchar-objek.
      if sy-subrc ne 0.
        raise NO_OBJEK_FOUND.
      endif.
    *Moving all the characteristic values to the export parameters
      LOOP AT int_plantchar.
        MOVE int_plantchar-objek TO ep_sapplant.
        CASE int_plantchar-atnam.
          WHEN 'OLDCODE'.
            MOVE int_plantchar-atwrt TO ep_cpsplant.
          WHEN 'SISLOC'.
            MOVE int_plantchar-atwrt TO ep_sisloc.
          WHEN 'OWNERSHIP'.
            MOVE int_plantchar-atwrt TO ep_ownership.
          WHEN 'SMISTYPE'.
            MOVE int_plantchar-atwrt TO ep_smistype.
          WHEN 'SPOTREF'.
            MOVE int_plantchar-atwrt TO ep_spotref.
          WHEN 'SUBTYPE'.
            MOVE int_plantchar-atwrt TO ep_subtype.
          WHEN 'SUPPLYREGION'.
            MOVE int_plantchar-atwrt TO ep_supplyregion.
          WHEN 'TYPE'.
            MOVE int_plantchar-atwrt TO ep_type.
          WHEN 'DISTAREA'.
            MOVE int_plantchar-atwrt TO ep_distarea.
          WHEN 'GEOGAREA'.
            MOVE int_plantchar-atwrt TO ep_geogarea.
          WHEN 'HMF'.
            MOVE int_plantchar-atwrt TO ep_hmf.
          WHEN 'IATACODE'.
            MOVE int_plantchar-atwrt TO ep_iatacode.
          WHEN 'IRSTCN'.
            MOVE int_plantchar-atwrt TO ep_irstcn.
          WHEN 'OPSAREA'.
            MOVE int_plantchar-atwrt TO ep_opsarea.
          WHEN 'PLANTSTAT'.
            MOVE int_plantchar-atwrt TO ep_plantstat.
          WHEN 'PORTCODE'.
            MOVE int_plantchar-atwrt TO ep_portcode.
          WHEN 'REFAREA'.
            MOVE int_plantchar-atwrt TO ep_refarea.
          WHEN 'SAPTYPE'.
            MOVE int_plantchar-atwrt TO ep_saptype.
          WHEN 'MFG_WARRANTY'.
            MOVE int_plantchar-atwrt TO ep_mfgwarranty.
          WHEN 'USER_TYPE'.
            MOVE int_plantchar-atwrt TO ep_usertype.
          WHEN 'TERMINALCENTER'.
            MOVE int_plantchar-atwrt TO ep_trmcenter.
          WHEN 'TRANSPORTATIONCENTER'.
            MOVE int_plantchar-atwrt TO ep_transcenter.
          when 'FEIN'.
            move int_plantchar-atwrt to ep_fein.
        ENDCASE.
      ENDLOOP.
    ENDFUNCTION.
    Pls help me out from this problem its very urgent.
    Thanks

    hi SK ,
    process like this .
    in BADI
    method.
    1.Here u have to put ur logic based on the Requirement.
    2.then u have to call BTE like this
    <b>call function 'OPEN_FI_PERFORM_00001020_E'
          tables
            t_bseg = xbseg
            t_bkpf = xbkpf.</b>
    3.Update Ztables.
    endmethod.
    this is sample logic only.First get logic of TS then u will come to know how to do?
    regards
    prabhu

Maybe you are looking for