TEM Business event problem

Hi Experts,
I need help regarding TEM - Business Events.
In the Dynamic Attendance Menu (PSV1) interface, when I check for the Attendee List, the Cost Center column does not appear.(Cost center of each attendee) How do i make it appear? This is also the case when I use report RHXTEILN.
The attendees were booked using Booking with Allocation, so the fee and the cost center is already recorded.
2nd Problem
An emplyee was in the same BE but when I looked it up on the Attendee list, the record of the employee under column ∑Bookings is 0. All the others are 1.
The fee is also 00.00. What could have gone wrong?
Thanks. Point to those who can help.
Regards,
Noob

Hi Zsolt,
Thanks for your reply. Problem no. 1 is solved.
2) When you right-click on the business event where the employee was booked, there is an option called "Attendee List". When you chose this option, the list of Employees booked for that particular Business event is shown along with the columns Attendee Name, ∑Bookings, BP, Booking Date, Org Assignment, Cost Center, etc.
Under ∑Bookings column one attendee has a "0", all the other attendees has 1. What are the possible cause of this?
Also the number of booked attendees is counted incorrectly. Even if there are only 4 booked persons, ‘5’ are displayed since the booking of 1 person is not counted. (value is 0)

Similar Messages

  • TEM-Attendee & Business Event Appraisal

    Hi All,
    We are using SAP 5.0 and implementing TEM, when we try to create appraisal using T-code PV34(Attendee Appraisal), PV33(Business Appraisal) we are not routed to Generate “To-Do” List screen, instead it is going to a screen where we need to select the Appraiser and Appraiser mannually, which is quite un usual. It will remain same even if I go through Business Event Menu or Attendance Menu.
    Any help in this regard is hightly appreciated.
    Thanks
    Ramakrishna Ramadurgam

    Hi.
    I have now the some problem. When I run tcode PV33/PV34 the list of the appraisal templates contain not only the temlates for business events and attendees but also for employees.
    Did you solve the problem?
    If yes, please give me some hints.
    Thanks a lot.

  • Report showing "Notes" from Business Event in TEM

    Hi,
    Do you know a standard report which can show the Notes for Business Events?
    Many thanks
    Svetoslava

    Hi!
    There is one option to do so, however this report has not exactly the purpose you mentioned, but with some tirick you can have the notes )
    Report: Business Event Brochure -> TA Code: S_AHR_61016218  (you can find it under the node Information/Events... in TEM in SAP menu)
    Here you can choose an event type or an event group and set the following under "Formatting options":
    Extended formatting options -> delete here all the fields they are not necessary for your query and leave only the "Notes on event" there.
    After clicking on execution you will receive the notes exist on this object and you can tranform the SAP report into Winword format clicking the button above in the menu on the left-hand side.
    This issue needs some resources but works fine.
    Unfortunately there aren't any other standard reports but ad-hoc queries.
    Hope this helps.
    best regards,
    Zsolt

  • Intermittent Problem with Business Event.

    Hi,
    I have a problem with a BES Event. My suspicions are that the event is intermittently nor firing. It's custom code subscribed to '*.apps.ar.hz.PersonProfileExtAttr.Update' (an EBS Person Profile Extensible Attribute Update).
    In the first lines of the custom code an audit is written to a table. For some one the updates to the Extensible Attribute no audit is written.
    The table HZ_PARAM_TAB is cleared for the item
    Q: Is there a way to prove that the BES Event did/did not fire?
    Thanks in Advance,
    Kieran.

    Kieran,
    Never experienced any performance issues when setting this profile option. However, you may review the following documents.
    Note: 280849.1 - How To Purge/Delete The Information From HZ_PARAM_TAB Table ?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=280849.1
    Note: 187275.1 - TCA API Callouts/Workflow 2.6 Business Event System: Performance Issue
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=187275.1
    Note: 171703.1 - 11.5.x: Implementing Oracle Workflow Directory Service Synchronization
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=171703.1
    Regards,
    Hussein

  • HELPL ! BPEL reading business events (WF_DEFERRED queue) problem

    Hi all,
    I'm actually trying to catch a CDH (TCA) business event using the Bpel Oracle applications adapter. The problem is that there is no visible bpel instance in the console, but in other hand i can see events being raised by CDH in WF_DEFERRED queue (messages). The event that my bpel service is listenning to is "oracle.apps.ar.hz.Person.create". The WF_DEFERRED agent statuts is "Enabled" in workflow administrator console. I'm using Jdeveloper 10.1.3.3 and EBS R12. So, did i forget any steps ? Where can i find detailed documentation about this subject ? Any help would be apreciated. Thank you,
    Edmundo
    I'm using Jdeveloper 10.1.3.3 and E-Business suite R12.

    Yes. It's running. I checked it out in the Oracle Workflow Adminstrator console. It says status: Enabled. Thank you again for any help.

  • TEM Eror when Book business event

    Hi,
    i need help from all of you.
    i try to book a business event for a list of attendee.
    But face 'cancel' and 'error' message.
    After check, i found that this attendee can book for business event has been past e.g. 08.10.2007 -10.10.2007 EN:ALI3213 but couldn't book for business event in future date 22.10.2007- 23.10.2007 EN:ALI3213.
    Business event date : 22.10.2007- 23.10.2007 EN:ALI3213 8:00-17:00
    Planned Working Time (IT007) : 22.10.2007- 23.10.2007 8:30 - 17:30
    To solve it, I try to do substitution for this attendee , as the planned working time is differ from business event time, so i substitute this attendee to 8:00- 17:00 for date above. After that, it works, TEM allows me to book this attendee
    However, i need advice from expert, how come i need to do substitution just can book for future business event? it is not logically that if i have 100 attendee, then i need to do 100 transaction of substitution.
    Is that relate to configuration? FYI , that's all ‘W’ warning in table V_T77KV_1
    Thanks advance for advice.

    Thanks for reply. Can i clarify something with you ?
    In your reply, you mention that i have set Warning in V_T77KV_1 to control the employee booking, byright the system could proceed the booking with 'Warning' only. However, now the system still prompt with error and cancel message.
    Is any standard BADI control for this ? Check the infotype 0007 of the attendee ?
    There's more than 7 attendee with different planing working time, i still fail to book these attendees in future event which start time and end time of the bussiness event is different with their planning working time.
    Could you help to send me up the Configuration Note for TEM ?
    [email protected]

  • Business Event Content.in TEM

    Dear All,
    When a Business Event is created in Training & Event Management module, we find that there is a
    an option called " Further Information " to enter CONTENS of the Business Event. I would like to know the significance of the " CONTENTS " data entered here.
    I would also like to know if we can call this data in the NOTIFICATIONS which will be sent to an Attendees.Is it possible? If yes what is the procedure to configure this scenario?
    Regards
    Jai Ram

    try recording and uploading data via LSMW.

  • TEM: Relationship between External Person and Business Event

    Hi,
    The requirment is to have External Person to be related to Business Events.
    Please let me know whether it will be ideal to relate External Person to Business Events or External Person to Business Event Type?
    NOTE:As per the standard the relationship exist only between External Person(H) and Business Event Type (D).
    Will appreciate a quick reply.
    Thanks and Regards,
    Dev

    Hi Dev,
    U can create this relation through PP01. Select  Business event in the object type and go to relationship infotype and create the same...
    Regards,
    Sushil Soni

  • TEM - Cost Transfer Posting to CO(Business Event Cost)

    Dear All,
    Kindly suggest solution for the following issue
    I have maintained all the cost items with cost elements
    I have booked an empolyee for a business event with resources
    I have maintained receivers cost center in  SEMIN SCOST (T77S0)
    I have created the senders cost center while maintaining the Business Event type
    Event is also Firmly booked
    When i try to  post the cost  by PV1C - Cost Transfer Posting , the posting is neither complete nor giving error
    when i  click  Create cost transfer in Tcode PV1C i am getting this message"S BK 186 Document has no errors."
    But really the document is not created in CO.
    While transferring it is not giving the option of the traffic lights(Red,green and Amber).
    Thanks in Advance
    Shekar

    Hi Mr.Shekar,
    Can you please share the solution. I wanted details about how it is viewed in CO.
    Thanks in advance.
    Regards,
    Pavan

  • FM to creat business event(course) in TEM /LSO

    Hi,
    I need to upload the business event(course) in our R/3 system.I have an idea of developing a bdc of t-code PO05 OR PP01.
    Is there any FM to create business event(course)?
    Kindly suggest.

    Hi
       check this  FM
    HR_INFTY_DDIC_CREATE
    RHCT_OBJECT_CREATE

  • FM to creat business event(course) in TEM

    Hi,
    I need to upload the business event(course) in our R/3 system.I have an idea of developing a bdc of t-code PO05 OR PP01.
    Is there any FM to create business event(course)?
    Kindly suggest.

    try recording and uploading data via LSMW.

  • Business Event Appraisal - Not showing in PA30

    Hi All,
    We are implementing TEM on SAP 5.0 and replaced the old appraisal system with new appraisal system.
    I have prepared the Appraisal for Business Event, by selecting Attendee as appraiser and Business Event as Apraisee, the problem I am encountering here is after the preparation the document is not shown in any of the following areas in PA30 for infotype 25.
    1) Appraisal where Apraiser
    2) Objective setting & Appraisal(Open)
    But the Appraisal templates which are created under Personnel Appraisal(in PHAP_CATALOG), is shown but not the Appraisal templates which are created under SAP Learning Solution(in PHAP_CATALOG).
    Is there any configuration inorder to get this done?
    Any help in this regard is highly appreciated.
    Thanks
    Ramakrishna Ramadurgam

    Lincoln,
    Can you be precise, I mean which Integration settings your asking me to look into?
    One thing I noticed while debugging the code, it is getting Add On Application as 'PA', and passing this parameter to get the Personel Appraisal templates, in case if I modify as 'PD' in the debugging mode, it is fetching the Business Event Appraisal along with Personel Appraisal. Is there any setting for this to have PD passed in to the Add on Application variable.
    Thanks
    Ramakrishna
    Thanks
    Ramakrishna Ramadurgam

  • Business Event Appraisal in Training and event management

    Hi
    I am facing issue releated to Business Event Appraisal Functionality in ESS. I have maintained value as blank in field HAP00 REPLA switch.
    We have created I View of transacion PV7I in ESS. When i am selecting "APPRAISAL" button for attended event , i can select appraisal form from appraisal form list. On next screen i don't get Appraisal Form where i have to give feedback on different criteria's. I get Rating column and four buttons: Save, Check data, back, Complete.
    When i am executing PV7i through R3 then it's working properly. Why it is not working properly in ESS. Kindly help me ?
    Other issue..... :
    My client needs INSTRCUCTOR feedback functionality means feedback for instructors by participants for particular event. How we can configure in the system for TEM module not for LSO.
    KINDLY help me ...
    Thanks and Best Regards
    Puneet

    Good Day !
    Unfortunately the appraisal services (my_appraisals, my_app_create, my_appraisalsm) have not been migrated for the use with integrated ITS.
    Please review SAP notes 870126 and 771196
    Note:
    Since the appraisal services (My_appraisals, My_app_create) have not
    been migrated, you can no longer use the appraisal function from the
    services PV7I and PV8I with the integrated ITS.
    At the same time I am afraid the succession product is not an option
    for you as the TEM functionality is not integrated with the new
    appraisal functionality of 'Performance Management'. Performance
    Management only offers an integration with the succession product of
    TEM, i.e. LSO (Learning Solution).
    Hope this information helps you.
    Best Regards
    Chetan

  • Training & Event Management - Business event appraisal

    Dear all,
    Wish you all a very Happy new year.
    I hve two questions.
    1. For e.g. there is one trainer who has conducted many training program in an org and business event appraisal has been performed where there is criteria to capture instructor information. Then how I can get a report for that trainer only. There is one selection criteria in the report of business event appraisal where I can select the instructor(appraisee) id. But it is not working.
    2. When there are more than one instructor in one business event, then how attendee appraisal and business event appraisal are done?
    3. In training & event mgt is it possible to perform periodic appraisal?
    Thanks,
    Have a happy weekend.
    Daniel

    Hi Daniel,
    There is no SAP standard report on Trainer wise attendance history for this purpose you have to define the Adhoc query.
    When there are more than one instructor in one business event it is a tough scenario to have attendee appraisal .
    In TEM it is possible to have periodic Appraisals.
    Warm Regards,
    Kapil Kaushal

  • 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

  • Apple loops shrinks creating a gap when Flex mode is on

    I've notice this happens me always with any apple loop. when drag to the arrange window, it behaves at it should, (say, 8 beats, occupy 2 measures and loop correctly), after flex is applied on that same track/loop, it shortens and doesn't loop correc

  • [URGENT] Performance problem with BC4J and partioned data

    Hi all, I have a big performance probelm with BC4J and partitioned data. As as partitioned table shouldn't have a primary key like a sequence (or something else) my partitioned table doesn't have any primary key. When I debug my BC4J application I ca

  • Anyone own Mac Mini and MacBook Air?

    Looking for shopping advice from people owning a particular configuration of Apple devices. I currently have a white MacBook and iPad. Thinking of upgrading/shifting to one of these configurations: 1. 15" MacBook Pro, iPad 2. 15" MacBook Pro, iPhone

  • How to Get the

    How to find Filter the list of SAP Mentors for SAP BASIS NETWEAVER on SDN  ? and Also, How to browse the "ideas" category, for Getting Ideas related to SAP BASIS  Netweaver Domain ? Thanks in Advance

  • Re-allocating Actual Costs and Actual Work from one project to multiple projects

    My company would like to track costs in one project and then re-allocate those costs to multiple projects.  Example: An end user would submit a timesheet against a task named 'Analysis' for Project A.  Once accepted and published, the costs for those